diff --git a/README.md b/README.md
index 68dcab75..829a12f0 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ npm install ui-ingredients
## Usage
```svelte
-
diff --git a/docs/accordion.md b/docs/accordion.md
index b10cf47d..1224a2c9 100644
--- a/docs/accordion.md
+++ b/docs/accordion.md
@@ -5,7 +5,7 @@ A toggle component for expanding and collapsing sections of content.
## Usage
```svelte
-
```
-
-## Props
-
-### Root
-
-- `ids`
-
- The ids of the elements
-
-- `value`
-
- The `value` of the accordion items that are currently being expanded.
-
-- `disabled`
-
- Whether the accordion items are disabled
-
-- `multiple`
-
- Whether multple accordion items can be expanded at the same time.
-
-- `orientation`
-
- The orientation of the accordion items.
-
-- `collapsible`
-
- Whether an accordion item can be closed after it has been expanded.
-
-- `onFocusChange`
-
- The callback fired when the focused accordion item changes.
-
-- `onValueChange`
-
- The callback fired when the state of expanded/collapsed accordion items changes.
-
-- `lazyMount`
-
- Should the item be mounted only when expanded?
-
-- `keepMounted`
-
- Should the item stays in the DOM when it is not expanded?
-
-### Item
-
-- `value`
-
- The value of the accordion item.
-
-- `disabled`
-
- Whether the accordion item is disabled.
diff --git a/docs/alert.md b/docs/alert.md
index e8ba1ba9..ffc6ffce 100644
--- a/docs/alert.md
+++ b/docs/alert.md
@@ -5,7 +5,7 @@ A component for displaying important messages or notifications.
## Usage
```svelte
-
diff --git a/docs/aschild.md b/docs/aschild.md
index 08696a69..d6137658 100644
--- a/docs/aschild.md
+++ b/docs/aschild.md
@@ -5,7 +5,7 @@ The `asChild` prop lets you render a custom component to ensure consistent styli
## Usage
```svelte
-
@@ -24,7 +24,7 @@ In this example, the `asChild` prop allows the `Button` to be used as the trigge
In some components, you also need to delegate the `action` apart from `attrs` for the component to work properly. See below:
```svelte
-
@@ -14,15 +14,3 @@ A visual component for displaying a user’s profile image or initials.
JD
```
-
-## Props
-
-### Root
-
-- `ids`
-
- The ids of the elements
-
-- `onStatusChange`
-
- Function called when the image loading status changes.
diff --git a/docs/breadcrumbs.md b/docs/breadcrumbs.md
index ccd4e4ce..3bdd0f82 100644
--- a/docs/breadcrumbs.md
+++ b/docs/breadcrumbs.md
@@ -5,7 +5,7 @@ A component for displaying the navigation path or hierarchy of a user's location
## Usage
```svelte
-
diff --git a/docs/carousel.md b/docs/carousel.md
index 3a9f28a0..546dec83 100644
--- a/docs/carousel.md
+++ b/docs/carousel.md
@@ -5,7 +5,7 @@ A rotating component for cycling through images or content slides.
## Usage
```svelte
-
@@ -51,47 +51,3 @@ An interactive component for selecting one or multiple options in a list.
This is an error text
```
-
-## Props
-
-### Root
-
-- `ids`
-
- The ids of the elements
-
-- `form`
-
- The id of the form that the checkbox belongs to.
-
-- `name`
-
- The name of the input field in a checkbox.
-
-- `value`
-
- The value of checkbox input. Useful for form submission.
-
-- `checked`
-
- The checked state of the checkbox
-
-- `invalid`
-
- Whether the checkbox is invalid
-
-- `disabled`
-
- Whether the checkbox is disabled
-
-- `readOnly`
-
- Whether the checkbox is read-only
-
-- `required`
-
- Whether the checkbox is required
-
-- `onCheckedChange`
-
- The callback invoked when the checked state changes.
diff --git a/docs/clipboard.md b/docs/clipboard.md
index f6fbb33a..8bad1995 100644
--- a/docs/clipboard.md
+++ b/docs/clipboard.md
@@ -5,7 +5,7 @@ A component for copying text or content to the user's clipboard.
## Usage
```svelte
-
@@ -27,15 +27,3 @@ A component for copying text or content to the user's clipboard.
```
-
-## Props
-
-### Root
-
-- `ids`
-
-- `value`
-
-- `timeout`
-
-- `onStatusChange`
diff --git a/docs/collapsible.md b/docs/collapsible.md
index 11858e92..dd3459ed 100644
--- a/docs/collapsible.md
+++ b/docs/collapsible.md
@@ -5,7 +5,7 @@ A component that expands or collapses to show or hide content.
## Usage
```svelte
-
diff --git a/docs/color-picker.md b/docs/color-picker.md
index 50fa7872..4f54c64d 100644
--- a/docs/color-picker.md
+++ b/docs/color-picker.md
@@ -5,12 +5,19 @@ A component for selecting and customizing colors.
## Usage
```svelte
-
-
+
{#snippet children(context)}
Label
diff --git a/docs/combobox.md b/docs/combobox.md
index 77fe1e3c..02b9be89 100644
--- a/docs/combobox.md
+++ b/docs/combobox.md
@@ -5,45 +5,35 @@ A component that combines a text input with a dropdown list for selecting or ent
## Usage
```svelte
-
Label
@@ -76,7 +57,7 @@ A component that combines a text input with a dropdown list for selecting or ent
- {#each matches as item (item.value)}
+ {#each collection.items as item}
{item.label}
@@ -92,29 +73,24 @@ A component that combines a text input with a dropdown list for selecting or ent
### Using the `Field` component
```svelte
-
@@ -135,15 +117,6 @@ A component that combines a text input with a dropdown list for selecting or ent
onInputValueChange={function (detail) {
inputValue = detail.inputValue;
}}
- isItemDisabled={function (item) {
- return item.disabled ?? false;
- }}
- itemToString={function (item) {
- return item.label;
- }}
- itemToValue={function (item) {
- return item.value;
- }}
>
Label
diff --git a/docs/date-picker.md b/docs/date-picker.md
index 685627f1..3d50f046 100644
--- a/docs/date-picker.md
+++ b/docs/date-picker.md
@@ -7,18 +7,17 @@ A component for selecting a date from a calendar interface.
### Single
```svelte
-
{#snippet children(context)}
@@ -142,8 +141,8 @@ A component for selecting a date from a calendar interface.
### Range
```svelte
-
+
diff --git a/docs/drawer.md b/docs/drawer.md
index ae2ddb8a..7f3ceeb2 100644
--- a/docs/drawer.md
+++ b/docs/drawer.md
@@ -5,7 +5,7 @@ A component that slides in from the edge of the screen to display additional con
## Usage
```svelte
-
diff --git a/docs/editable.md b/docs/editable.md
index d0ccfcf7..6c584653 100644
--- a/docs/editable.md
+++ b/docs/editable.md
@@ -5,7 +5,7 @@ A component that allows users to modify its content.
## Usage
```svelte
-
diff --git a/docs/field.md b/docs/field.md
index feeab3fe..9c320532 100644
--- a/docs/field.md
+++ b/docs/field.md
@@ -40,7 +40,7 @@ A component for organizing related form elements into a cohesive unit.
Label
-
+ This is a helper textThis is an error text
diff --git a/docs/file-upload.md b/docs/file-upload.md
index 64b4ccaa..bf8f467a 100644
--- a/docs/file-upload.md
+++ b/docs/file-upload.md
@@ -5,7 +5,7 @@ A component for selecting and uploading files from the user's device.
## Usage
```svelte
-
@@ -40,7 +40,7 @@ A component for selecting and uploading files from the user's device.
### Using the `Field` component
```svelte
-
diff --git a/docs/highlight.md b/docs/highlight.md
index dfc982e3..af7a60ff 100644
--- a/docs/highlight.md
+++ b/docs/highlight.md
@@ -5,7 +5,7 @@ A component for emphasizing text or content to draw attention.
## Usage
```svelte
-
diff --git a/docs/menu.md b/docs/menu.md
index bfdd16b1..1887772b 100644
--- a/docs/menu.md
+++ b/docs/menu.md
@@ -7,7 +7,7 @@ A component for navigating through a list of options or actions.
### Basic Menu
```svelte
-
@@ -100,7 +97,7 @@ A component for navigating through a list of options or actions.
### Nested Menu
```svelte
-
@@ -141,7 +138,7 @@ A component for navigating through a list of options or actions.
### Context Menu
```svelte
-
diff --git a/docs/pagination.md b/docs/pagination.md
index 070fb5ee..feffd50c 100644
--- a/docs/pagination.md
+++ b/docs/pagination.md
@@ -5,7 +5,7 @@ A component for navigating through multiple pages of content.
## Usage
```svelte
-
+
diff --git a/docs/popover.md b/docs/popover.md
index caf2bb11..7d41ea11 100644
--- a/docs/popover.md
+++ b/docs/popover.md
@@ -5,7 +5,7 @@ A component that displays additional content or information in a small overlay w
## Usage
```svelte
-
diff --git a/docs/portal.md b/docs/portal.md
index d2c3713d..d7652264 100644
--- a/docs/portal.md
+++ b/docs/portal.md
@@ -5,7 +5,7 @@ A component for rendering content in a different part of the DOM hierarchy, ofte
## Usage
```svelte
-
diff --git a/docs/presence.md b/docs/presence.md
index 4f335597..27f099f0 100644
--- a/docs/presence.md
+++ b/docs/presence.md
@@ -5,7 +5,7 @@ A component that controls content rendering and unmounting based on state.
## Usage
```svelte
-
@@ -24,7 +24,7 @@ A component for displaying the completion status of a task or process.
### Circular Progress
```svelte
-
diff --git a/docs/qr-code.md b/docs/qr-code.md
index 93c74d04..e2e07daa 100644
--- a/docs/qr-code.md
+++ b/docs/qr-code.md
@@ -5,7 +5,7 @@ A component for generating and displaying QR codes for quick scanning and access
## Usage
```svelte
-
diff --git a/docs/radio-group.md b/docs/radio-group.md
index bfc4b7ab..d910953e 100644
--- a/docs/radio-group.md
+++ b/docs/radio-group.md
@@ -5,7 +5,7 @@ A component for selecting one option from a set of mutually exclusive choices.
## Usage
```svelte
-
diff --git a/docs/segment-group.md b/docs/segment-group.md
index 387ce82e..325665e4 100644
--- a/docs/segment-group.md
+++ b/docs/segment-group.md
@@ -5,7 +5,7 @@ A component for grouping and toggling between different sections or options, oft
## Usage
```svelte
-
Label
@@ -46,7 +38,7 @@ A component for choosing an option from a dropdown list.
- {#each items as item}
+ {#each collection.items as item}
@@ -62,30 +54,29 @@ A component for choosing an option from a dropdown list.
### Using the `Field` component
```svelte
-
diff --git a/docs/signature-pad.md b/docs/signature-pad.md
index 33edc635..974b897a 100644
--- a/docs/signature-pad.md
+++ b/docs/signature-pad.md
@@ -5,7 +5,7 @@ A component for capturing and displaying handwritten signatures.
## Usage
```svelte
-
diff --git a/docs/slider.md b/docs/slider.md
index a2502e91..ae17448d 100644
--- a/docs/slider.md
+++ b/docs/slider.md
@@ -5,7 +5,7 @@ A component for adjusting values or selecting ranges through a draggable handle.
## Usage
```svelte
-
diff --git a/docs/steps.md b/docs/steps.md
index 3470f3d5..6942135d 100644
--- a/docs/steps.md
+++ b/docs/steps.md
@@ -5,7 +5,7 @@ A component for displaying a sequence of steps or stages in a process, often use
## Usage
```svelte
-
diff --git a/docs/switch.md b/docs/switch.md
index 9d3c50c4..5a3936b6 100644
--- a/docs/switch.md
+++ b/docs/switch.md
@@ -5,7 +5,7 @@ A component for toggling between two states, such as on/off or enabled/disabled.
## Usage
```svelte
-
diff --git a/docs/tabs.md b/docs/tabs.md
index d80aee95..13907986 100644
--- a/docs/tabs.md
+++ b/docs/tabs.md
@@ -5,7 +5,7 @@ A component for organizing and switching between multiple sections of content wi
## Usage
```svelte
-
+
diff --git a/docs/time-picker.md b/docs/time-picker.md
index 7bc35576..86869919 100644
--- a/docs/time-picker.md
+++ b/docs/time-picker.md
@@ -5,12 +5,27 @@ A component for selecting a time from a dropdown or input interface.
## Usage
```svelte
-
-
+
{#snippet children(context)}
Label
diff --git a/docs/timer.md b/docs/timer.md
index 9d6d5b54..b4d67d8d 100644
--- a/docs/timer.md
+++ b/docs/timer.md
@@ -5,7 +5,7 @@ A component for counting down or tracking elapsed time.
## Usage
```svelte
-
diff --git a/docs/toast.md b/docs/toast.md
index d1e0048a..6ec04dc5 100644
--- a/docs/toast.md
+++ b/docs/toast.md
@@ -20,7 +20,7 @@ export const toaster = createToaster({
```svelte
-