Skip to content

Commit c093cee

Browse files
committed
Updated shadcn
1 parent 36683af commit c093cee

File tree

5 files changed

+14
-32
lines changed

5 files changed

+14
-32
lines changed

src/Exceptionless.Web/ClientApp/README.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,8 @@
1-
# create-svelte
2-
3-
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte).
4-
5-
## Creating a project
6-
7-
If you're seeing this, you've probably already done this step. Congrats!
8-
9-
```bash
10-
# create a new project in the current directory
11-
npm create svelte@latest
12-
13-
# create a new project in my-app
14-
npm create svelte@latest my-app
15-
```
1+
# Exceptionless User Interface
162

173
## Developing
184

19-
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
5+
Once you've created a project and installed dependencies with `npm install`, start a development server:
206

217
```bash
228
npm run dev
@@ -35,8 +21,6 @@ npm run build
3521

3622
You can preview the production build with `npm run preview`.
3723

38-
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
39-
4024
## Upgrading components
4125

4226
You can upgrade [shadcn-svelte components](https://www.shadcn-svelte.com/) by running the following command
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"$schema": "https://next.shadcn-svelte.com/schema.json",
3-
"aliases": {
4-
"components": "$comp",
5-
"hooks": "$lib/hooks",
6-
"ui": "$lib/features/shared/components/ui",
7-
"utils": "$lib/utils"
8-
},
9-
"registry": "https://next.shadcn-svelte.com/registry",
103
"style": "new-york",
114
"tailwind": {
12-
"baseColor": "zinc",
135
"config": "tailwind.config.js",
14-
"css": "src/app.css"
6+
"css": "src/app.css",
7+
"baseColor": "zinc"
8+
},
9+
"aliases": {
10+
"components": "$comp",
11+
"utils": "$lib/utils",
12+
"ui": "$lib/features/shared/components/ui",
13+
"hooks": "$lib/hooks"
1514
},
16-
"typescript": true
15+
"typescript": true,
16+
"registry": "https://next.shadcn-svelte.com/registry"
1717
}

src/Exceptionless.Web/ClientApp/src/lib/features/shared/components/ui/command/command-input.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<Search class="mr-2 size-4 shrink-0 opacity-50" />
1616
<CommandPrimitive.Input
1717
class={cn(
18-
"placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none disabled:cursor-not-allowed disabled:opacity-50",
18+
"placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-base outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
1919
className
2020
)}
2121
bind:ref

src/Exceptionless.Web/ClientApp/src/lib/features/shared/components/ui/input/input.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<input
1515
bind:this={ref}
1616
class={cn(
17-
"border-input placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 w-full rounded-md border bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50",
17+
"border-input placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 w-full rounded-md border bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
1818
className
1919
)}
2020
bind:value

src/Exceptionless.Web/ClientApp/src/lib/features/shared/components/ui/radio-group/radio-group.svelte

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
value = $bindable(),
99
...restProps
1010
}: RadioGroupPrimitive.RootProps = $props();
11-
12-
export { className as class };
1311
</script>
1412

1513
<RadioGroupPrimitive.Root bind:value class={cn("grid gap-2", className)} {...restProps} bind:ref />

0 commit comments

Comments
 (0)