diff --git a/src/lib/components/ui/accordion/accordion-trigger.svelte b/src/lib/components/ui/accordion/accordion-trigger.svelte
index c919551..027a008 100644
--- a/src/lib/components/ui/accordion/accordion-trigger.svelte
+++ b/src/lib/components/ui/accordion/accordion-trigger.svelte
@@ -1,6 +1,6 @@
-
+
diff --git a/src/lib/components/ui/avatar/avatar-image.svelte b/src/lib/components/ui/avatar/avatar-image.svelte
index bdca79c..6c2863a 100644
--- a/src/lib/components/ui/avatar/avatar-image.svelte
+++ b/src/lib/components/ui/avatar/avatar-image.svelte
@@ -5,8 +5,4 @@
let { ref = $bindable(null), class: className, ...restProps } = $props();
-
+
diff --git a/src/lib/components/ui/badge/badge.svelte b/src/lib/components/ui/badge/badge.svelte
index 633da41..a039016 100644
--- a/src/lib/components/ui/badge/badge.svelte
+++ b/src/lib/components/ui/badge/badge.svelte
@@ -36,7 +36,7 @@
this={href ? "a" : "span"}
bind:this={ref}
{href}
- class={cn(badgeVariants({ variant, className }))}
+ class={cn(badgeVariants({ variant }), className)}
{...restProps}
>
{@render children?.()}
diff --git a/src/lib/components/ui/breadcrumb/breadcrumb-ellipsis.svelte b/src/lib/components/ui/breadcrumb/breadcrumb-ellipsis.svelte
index 48232fb..630c12d 100644
--- a/src/lib/components/ui/breadcrumb/breadcrumb-ellipsis.svelte
+++ b/src/lib/components/ui/breadcrumb/breadcrumb-ellipsis.svelte
@@ -1,5 +1,5 @@
-
+
- import { Command as CommandPrimitive } from "bits-ui";
+ import { Command as CommandPrimitive, useId } from "bits-ui";
import { cn } from "$lib/utils.js";
- let { ref = $bindable(null), class: className, children, heading, ...restProps } = $props();
+ let {
+ ref = $bindable(null),
+ class: className,
+ children,
+ heading,
+ value,
+ ...restProps
+ } = $props();
{#if heading}
diff --git a/src/lib/components/ui/command/command-input.svelte b/src/lib/components/ui/command/command-input.svelte
index 9e60c83..c7f3d95 100644
--- a/src/lib/components/ui/command/command-input.svelte
+++ b/src/lib/components/ui/command/command-input.svelte
@@ -1,6 +1,6 @@
-
+
+
+
diff --git a/src/lib/components/ui/context-menu/context-menu-radio-item.svelte b/src/lib/components/ui/context-menu/context-menu-radio-item.svelte
index 2f89726..e45a712 100644
--- a/src/lib/components/ui/context-menu/context-menu-radio-item.svelte
+++ b/src/lib/components/ui/context-menu/context-menu-radio-item.svelte
@@ -1,6 +1,6 @@
diff --git a/src/lib/components/ui/data-table/render-helpers.js b/src/lib/components/ui/data-table/render-helpers.js
index 8706f0c..a398e2b 100644
--- a/src/lib/components/ui/data-table/render-helpers.js
+++ b/src/lib/components/ui/data-table/render-helpers.js
@@ -15,8 +15,6 @@
* ```
*/
export class RenderComponentConfig {
- component;
- props;
constructor(component, props = {}) {
this.component = component;
this.props = props;
@@ -39,8 +37,6 @@ export class RenderComponentConfig {
* ```
*/
export class RenderSnippetConfig {
- snippet;
- params;
constructor(snippet, params) {
this.snippet = snippet;
this.params = params;
diff --git a/src/lib/components/ui/dialog/dialog-content.svelte b/src/lib/components/ui/dialog/dialog-content.svelte
index 4d096d0..bf8ce7c 100644
--- a/src/lib/components/ui/dialog/dialog-content.svelte
+++ b/src/lib/components/ui/dialog/dialog-content.svelte
@@ -1,13 +1,13 @@
-
+
-
+
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
- import Check from "lucide-svelte/icons/check";
- import Minus from "lucide-svelte/icons/minus";
+ import Check from "@lucide/svelte/icons/check";
+ import Minus from "@lucide/svelte/icons/minus";
import { cn } from "$lib/utils.js";
-
let {
ref = $bindable(null),
checked = $bindable(false),
+ indeterminate = $bindable(false),
class: className,
children: childrenProp,
...restProps
@@ -16,20 +16,21 @@
- {#snippet children({ checked })}
+ {#snippet children({ checked, indeterminate })}
- {#if checked === "indeterminate"}
+ {#if indeterminate}
{:else}
{/if}
- {@render childrenProp?.({ checked })}
+ {@render childrenProp?.()}
{/snippet}
diff --git a/src/lib/components/ui/dropdown-menu/dropdown-menu-content.svelte b/src/lib/components/ui/dropdown-menu/dropdown-menu-content.svelte
index 3dce5a9..be3cee0 100644
--- a/src/lib/components/ui/dropdown-menu/dropdown-menu-content.svelte
+++ b/src/lib/components/ui/dropdown-menu/dropdown-menu-content.svelte
@@ -2,15 +2,23 @@
import { cn } from "$lib/utils.js";
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
- let { ref = $bindable(null), sideOffset = 4, class: className, ...restProps } = $props();
+ let {
+ ref = $bindable(null),
+ sideOffset = 4,
+ portalProps,
+ class: className,
+ ...restProps
+ } = $props();
-
+
+
+
diff --git a/src/lib/components/ui/dropdown-menu/dropdown-menu-label.svelte b/src/lib/components/ui/dropdown-menu/dropdown-menu-label.svelte
index 30e6d8a..1ea039d 100644
--- a/src/lib/components/ui/dropdown-menu/dropdown-menu-label.svelte
+++ b/src/lib/components/ui/dropdown-menu/dropdown-menu-label.svelte
@@ -1,6 +1,5 @@
diff --git a/src/lib/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte b/src/lib/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte
index e30f575..c3d15b1 100644
--- a/src/lib/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte
+++ b/src/lib/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte
@@ -1,6 +1,6 @@
-
+
+
+
diff --git a/src/lib/components/ui/index.js b/src/lib/components/ui/index.js
new file mode 100644
index 0000000..9c04a07
--- /dev/null
+++ b/src/lib/components/ui/index.js
@@ -0,0 +1,15 @@
+import { Collapsible as CollapsiblePrimitive } from "bits-ui";
+
+const Root = CollapsiblePrimitive.Root;
+const Trigger = CollapsiblePrimitive.Trigger;
+const Content = CollapsiblePrimitive.Content;
+
+export {
+ //
+ Root as Collapsible,
+ Content as CollapsibleContent,
+ Trigger as CollapsibleTrigger,
+ Content,
+ Root,
+ Trigger,
+};
diff --git a/src/lib/components/ui/input-otp/input-otp-separator.svelte b/src/lib/components/ui/input-otp/input-otp-separator.svelte
index 90cc65a..d457d40 100644
--- a/src/lib/components/ui/input-otp/input-otp-separator.svelte
+++ b/src/lib/components/ui/input-otp/input-otp-separator.svelte
@@ -1,5 +1,5 @@
diff --git a/src/lib/components/ui/menubar/menubar-checkbox-item.svelte b/src/lib/components/ui/menubar/menubar-checkbox-item.svelte
index 07d0946..b03ff6a 100644
--- a/src/lib/components/ui/menubar/menubar-checkbox-item.svelte
+++ b/src/lib/components/ui/menubar/menubar-checkbox-item.svelte
@@ -1,13 +1,13 @@
-
+
+
+
diff --git a/src/lib/components/ui/menubar/menubar-radio-item.svelte b/src/lib/components/ui/menubar/menubar-radio-item.svelte
index 7e724da..968d509 100644
--- a/src/lib/components/ui/menubar/menubar-radio-item.svelte
+++ b/src/lib/components/ui/menubar/menubar-radio-item.svelte
@@ -1,6 +1,6 @@
-
+
import { RadioGroup as RadioGroupPrimitive } from "bits-ui";
- import Circle from "lucide-svelte/icons/circle";
+ import Circle from "@lucide/svelte/icons/circle";
import { cn } from "$lib/utils.js";
let { ref = $bindable(null), class: className, ...restProps } = $props();
diff --git a/src/lib/components/ui/range-calendar/range-calendar-next-button.svelte b/src/lib/components/ui/range-calendar/range-calendar-next-button.svelte
index 27744bb..19e28da 100644
--- a/src/lib/components/ui/range-calendar/range-calendar-next-button.svelte
+++ b/src/lib/components/ui/range-calendar/range-calendar-next-button.svelte
@@ -1,6 +1,6 @@
-
+
- import Check from "lucide-svelte/icons/check";
+ import Check from "@lucide/svelte/icons/check";
import { Select as SelectPrimitive } from "bits-ui";
import { cn } from "$lib/utils.js";
diff --git a/src/lib/components/ui/select/select-scroll-down-button.svelte b/src/lib/components/ui/select/select-scroll-down-button.svelte
index cbebc60..139918b 100644
--- a/src/lib/components/ui/select/select-scroll-down-button.svelte
+++ b/src/lib/components/ui/select/select-scroll-down-button.svelte
@@ -1,5 +1,5 @@
+
{#snippet children({ thumbs })}
-
-
+
+
- {#each thumbs as thumb}
+ {#each thumbs as thumb (thumb)}
-
+
{@render children?.()}
diff --git a/src/lib/components/ui/textarea/textarea.svelte b/src/lib/components/ui/textarea/textarea.svelte
index dda47d7..873d59b 100644
--- a/src/lib/components/ui/textarea/textarea.svelte
+++ b/src/lib/components/ui/textarea/textarea.svelte
@@ -7,7 +7,7 @@