diff --git a/frontend/bun.lockb b/frontend/bun.lockb index 650c497..5302c18 100755 Binary files a/frontend/bun.lockb and b/frontend/bun.lockb differ diff --git a/frontend/package.json b/frontend/package.json index fe43a53..c212169 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -44,13 +44,13 @@ "@prgm/sveltekit-progress-bar": "^2.0.0", "@types/he": "^1.2.3", "apexcharts": "^3.44.0", - "bits-ui": "^0.21.4", + "bits-ui": "^0.21.12", "clsx": "^2.0.0", "cmdk-sv": "^0.0.13", "drizzle-orm": "latest", "formsnap": "^1.0.0", "he": "^1.2.0", - "lucide-svelte": "^0.356.0", + "lucide-svelte": "^0.412.0", "magic-regexp": "^0.8.0", "mode-watcher": "^0.1.2", "nanoid": "^5.0.3", diff --git a/frontend/src/lib/components/ui/select/index.ts b/frontend/src/lib/components/ui/select/index.ts index d300b68..327541c 100644 --- a/frontend/src/lib/components/ui/select/index.ts +++ b/frontend/src/lib/components/ui/select/index.ts @@ -1,15 +1,16 @@ -import { Select as SelectPrimitive } from 'bits-ui' +import { Select as SelectPrimitive } from "bits-ui"; -import Root from './select.svelte' -import Label from './select-label.svelte' -import Item from './select-item.svelte' -import Content from './select-content.svelte' -import Trigger from './select-trigger.svelte' -import Separator from './select-separator.svelte' +import Label from "./select-label.svelte"; +import Item from "./select-item.svelte"; +import Content from "./select-content.svelte"; +import Trigger from "./select-trigger.svelte"; +import Separator from "./select-separator.svelte"; + +const Root = SelectPrimitive.Root; +const Group = SelectPrimitive.Group; +const Input = SelectPrimitive.Input; +const Value = SelectPrimitive.Value; -const Group = SelectPrimitive.Group -const Input = SelectPrimitive.Input -const Value = SelectPrimitive.Value export { Root, Group, @@ -30,4 +31,4 @@ export { Content as SelectContent, Trigger as SelectTrigger, Separator as SelectSeparator, -} +}; diff --git a/frontend/src/lib/components/ui/select/select-content.svelte b/frontend/src/lib/components/ui/select/select-content.svelte index 8b18b91..93d758e 100644 --- a/frontend/src/lib/components/ui/select/select-content.svelte +++ b/frontend/src/lib/components/ui/select/select-content.svelte @@ -1,22 +1,23 @@ + on:keydown +>
diff --git a/frontend/src/lib/components/ui/select/select-item.svelte b/frontend/src/lib/components/ui/select/select-item.svelte index 4d6d225..2cd00a7 100644 --- a/frontend/src/lib/components/ui/select/select-item.svelte +++ b/frontend/src/lib/components/ui/select/select-item.svelte @@ -1,16 +1,16 @@ - + on:pointermove +> + - + + {label || value} + diff --git a/frontend/src/lib/components/ui/select/select-label.svelte b/frontend/src/lib/components/ui/select/select-label.svelte index 5ed7c8d..d966450 100644 --- a/frontend/src/lib/components/ui/select/select-label.svelte +++ b/frontend/src/lib/components/ui/select/select-label.svelte @@ -1,15 +1,16 @@ + class={cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className)} + {...$$restProps} +> diff --git a/frontend/src/lib/components/ui/select/select-separator.svelte b/frontend/src/lib/components/ui/select/select-separator.svelte index 3d4f76e..bc518e6 100644 --- a/frontend/src/lib/components/ui/select/select-separator.svelte +++ b/frontend/src/lib/components/ui/select/select-separator.svelte @@ -1,13 +1,11 @@ - + diff --git a/frontend/src/lib/components/ui/select/select-trigger.svelte b/frontend/src/lib/components/ui/select/select-trigger.svelte index f8d9c84..f5b9306 100644 --- a/frontend/src/lib/components/ui/select/select-trigger.svelte +++ b/frontend/src/lib/components/ui/select/select-trigger.svelte @@ -1,33 +1,27 @@ span]:line-clamp-1 data-[placeholder]:[&>span]:text-muted-foreground", + className )} {...$$restProps} let:builder on:click - on:keydown> + on:keydown +>
- {#if customIcon} - - {:else} - - {/if} +
diff --git a/frontend/src/routes/(app)/links/+page.svelte b/frontend/src/routes/(app)/links/+page.svelte index 96d2e7a..f7538a2 100644 --- a/frontend/src/routes/(app)/links/+page.svelte +++ b/frontend/src/routes/(app)/links/+page.svelte @@ -93,7 +93,7 @@ - + @@ -283,7 +283,7 @@ - + diff --git a/frontend/src/routes/(app)/projects/[id]/+page.svelte b/frontend/src/routes/(app)/projects/[id]/+page.svelte index 37246d1..4e9f672 100644 --- a/frontend/src/routes/(app)/projects/[id]/+page.svelte +++ b/frontend/src/routes/(app)/projects/[id]/+page.svelte @@ -77,7 +77,7 @@ - + @@ -124,7 +124,7 @@