@ark-ui/svelte 5.1.0 → 5.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,27 +8,81 @@ export interface UseListCollectionProps<T> extends Omit<CollectionOptions<T>, 'i
8
8
  /**
9
9
  * The filter function to use to filter the items.
10
10
  */
11
- filter?: (itemText: string, filterText: string) => boolean;
11
+ filter?: (itemText: string, filterText: string, item: T) => boolean;
12
12
  /**
13
13
  * The maximum number of items to display in the collection.
14
14
  * Useful for performance when you have a large number of items.
15
15
  */
16
16
  limit?: number;
17
17
  }
18
- export declare function useListCollection<T>(inProps: MaybeFunction<UseListCollectionProps<T>>): {
19
- collection(): ListCollection<T>;
18
+ export declare function useListCollection<T>(props: MaybeFunction<UseListCollectionProps<T>>): UseListCollectionReturn<T>;
19
+ export interface UseListCollectionReturn<T> {
20
+ /**
21
+ * The collection of items.
22
+ */
23
+ collection: () => ListCollection<T>;
24
+ /**
25
+ * The function to filter the items.
26
+ */
20
27
  filter: (inputValue: string) => void;
28
+ /**
29
+ * The function to set the items.
30
+ */
21
31
  set: (items: T[]) => void;
32
+ /**
33
+ * The function to reset the items.
34
+ */
22
35
  reset: () => void;
36
+ /**
37
+ * The function to clear the items.
38
+ */
23
39
  clear: () => void;
40
+ /**
41
+ * The function to insert items at a specific index.
42
+ */
24
43
  insert: (index: number, ...items: T[]) => void;
44
+ /**
45
+ * The function to insert items before a specific value.
46
+ */
25
47
  insertBefore: (value: string, ...items: T[]) => void;
48
+ /**
49
+ * The function to insert items after a specific value.
50
+ */
26
51
  insertAfter: (value: string, ...items: T[]) => void;
27
- remove: (...itemOrValues: T[]) => void;
52
+ /**
53
+ * The function to remove items.
54
+ */
55
+ remove: (...itemOrValues: Array<T | string>) => void;
56
+ /**
57
+ * The function to move an item to a specific index.
58
+ */
28
59
  move: (value: string, to: number) => void;
60
+ /**
61
+ * The function to move an item before a specific value.
62
+ */
29
63
  moveBefore: (value: string, ...values: string[]) => void;
64
+ /**
65
+ * The function to move an item after a specific value.
66
+ */
30
67
  moveAfter: (value: string, ...values: string[]) => void;
68
+ /**
69
+ * The function to reorder items.
70
+ */
31
71
  reorder: (from: number, to: number) => void;
72
+ /**
73
+ * The function to append items.
74
+ */
75
+ append: (...items: T[]) => void;
76
+ /**
77
+ * The function to upsert an item.
78
+ */
79
+ upsert: (value: string, item: T, mode?: 'append' | 'prepend') => void;
80
+ /**
81
+ * The function to prepend items.
82
+ */
32
83
  prepend: (...items: T[]) => void;
84
+ /**
85
+ * The function to update an item.
86
+ */
33
87
  update: (value: string, item: T) => void;
34
- };
88
+ }
@@ -1,67 +1,94 @@
1
1
  import { runIfFn } from '@zag-js/utils';
2
- import { flushSync, untrack } from 'svelte';
2
+ import { untrack } from 'svelte';
3
3
  import { createListCollection } from './list-collection';
4
- export function useListCollection(inProps) {
5
- const [props, collectionOptions] = $derived.by(() => {
6
- const { initialItems = [], filter, limit, ...collectionOptions } = runIfFn(inProps);
4
+ export function useListCollection(props) {
5
+ const [localProps, collectionOptions] = $derived.by(() => {
6
+ const { initialItems = [], filter, limit, ...collectionOptions } = runIfFn(props);
7
7
  return [{ initialItems, filter, limit }, collectionOptions];
8
8
  });
9
- const create = (items) => {
10
- return createListCollection({ ...collectionOptions, items });
9
+ let items = $state(untrack(() => localProps.initialItems));
10
+ let filterText = $state('');
11
+ const setItems = (newItems) => {
12
+ items = newItems;
13
+ filterText = '';
11
14
  };
12
- let collection = $state(untrack(() => create(props.limit != null ? props.initialItems.slice(0, props.limit) : props.initialItems)));
13
- const setCollection = (v) => {
14
- collection = props.limit == null ? v : v.copy(v.items.slice(0, props.limit));
15
+ const create = (itemsToCreate) => {
16
+ return createListCollection({ ...collectionOptions, items: itemsToCreate });
15
17
  };
18
+ const collection = $derived.by(() => {
19
+ let activeItems = items;
20
+ // Apply filter if we have filter text and a filter function
21
+ const filter = localProps.filter;
22
+ if (filterText && filter) {
23
+ activeItems = create(items).filter((itemString, _index, item) => filter(itemString, filterText, item)).items;
24
+ }
25
+ // Apply limit
26
+ const limitedItems = localProps.limit == null ? activeItems : activeItems.slice(0, localProps.limit);
27
+ return createListCollection({ ...collectionOptions, items: limitedItems });
28
+ });
16
29
  return {
17
30
  collection() {
18
31
  return collection;
19
32
  },
20
- filter: (inputValue) => {
21
- const filterFn = props.filter;
22
- if (!filterFn)
23
- return;
24
- const filtered = create(props.initialItems).filter((itemString) => filterFn(itemString, inputValue));
25
- setCollection(filtered);
33
+ filter: (inputValue = '') => {
34
+ filterText = inputValue;
26
35
  },
27
- set: (items) => {
28
- setCollection(create(items));
36
+ set: (newItems) => {
37
+ setItems(newItems);
29
38
  },
30
39
  reset: () => {
31
- setCollection(create(props.initialItems));
40
+ setItems(localProps.initialItems);
32
41
  },
33
42
  clear: () => {
34
- setCollection(create([]));
43
+ setItems([]);
35
44
  },
36
- insert: (index, ...items) => {
37
- setCollection(collection.insert(index, ...items));
45
+ insert: (index, ...itemsToInsert) => {
46
+ const newItems = create(items).insert(index, ...itemsToInsert).items;
47
+ setItems(newItems);
38
48
  },
39
- insertBefore: (value, ...items) => {
40
- setCollection(collection.insertBefore(value, ...items));
49
+ insertBefore: (value, ...itemsToInsert) => {
50
+ const newItems = create(items).insertBefore(value, ...itemsToInsert).items;
51
+ setItems(newItems);
41
52
  },
42
- insertAfter: (value, ...items) => {
43
- setCollection(collection.insertAfter(value, ...items));
53
+ insertAfter: (value, ...itemsToInsert) => {
54
+ const newItems = create(items).insertAfter(value, ...itemsToInsert).items;
55
+ setItems(newItems);
44
56
  },
45
57
  remove: (...itemOrValues) => {
46
- setCollection(collection.remove(...itemOrValues));
58
+ const newItems = create(items).remove(...itemOrValues).items;
59
+ setItems(newItems);
47
60
  },
48
61
  move: (value, to) => {
49
- setCollection(collection.move(value, to));
62
+ const newItems = create(items).move(value, to).items;
63
+ setItems(newItems);
50
64
  },
51
65
  moveBefore: (value, ...values) => {
52
- setCollection(collection.moveBefore(value, ...values));
66
+ const newItems = create(items).moveBefore(value, ...values).items;
67
+ setItems(newItems);
53
68
  },
54
69
  moveAfter: (value, ...values) => {
55
- setCollection(collection.moveAfter(value, ...values));
70
+ const newItems = create(items).moveAfter(value, ...values).items;
71
+ setItems(newItems);
56
72
  },
57
73
  reorder: (from, to) => {
58
- setCollection(collection.reorder(from, to));
74
+ const newItems = create(items).reorder(from, to).items;
75
+ setItems(newItems);
76
+ },
77
+ append: (...itemsToAppend) => {
78
+ const newItems = create(items).append(...itemsToAppend).items;
79
+ setItems(newItems);
80
+ },
81
+ upsert: (value, item, mode = 'append') => {
82
+ const newItems = create(items).upsert(value, item, mode).items;
83
+ setItems(newItems);
59
84
  },
60
- prepend: (...items) => {
61
- setCollection(collection.prepend(...items));
85
+ prepend: (...itemsToPrepend) => {
86
+ const newItems = create(items).prepend(...itemsToPrepend).items;
87
+ setItems(newItems);
62
88
  },
63
89
  update: (value, item) => {
64
- setCollection(collection.update(value, item));
90
+ const newItems = create(items).update(value, item).items;
91
+ setItems(newItems);
65
92
  },
66
93
  };
67
94
  }
@@ -11,7 +11,7 @@
11
11
  import { usePresenceContext } from '../presence'
12
12
  import { useColorPickerContext } from './use-color-picker-context'
13
13
 
14
- let { ref = $bindable<Element | null>(), ...props }: ColorPickerContentProps = $props()
14
+ let { ref = $bindable(null), ...props }: ColorPickerContentProps = $props()
15
15
 
16
16
  const colorPicker = useColorPickerContext()
17
17
  const presence = usePresenceContext()
@@ -11,7 +11,7 @@
11
11
  import { useComboboxContext } from './use-combobox-context'
12
12
  import { usePresenceContext } from '../presence'
13
13
 
14
- let { ref = $bindable<Element | null>(), ...props }: ComboboxContentProps = $props()
14
+ let { ref = $bindable(null), ...props }: ComboboxContentProps = $props()
15
15
 
16
16
  const combobox = useComboboxContext()
17
17
  const presence = usePresenceContext()
@@ -22,6 +22,6 @@
22
22
  }
23
23
  </script>
24
24
 
25
- {#if presence().present}
25
+ {#if !presence().unmounted}
26
26
  <Ark as="div" bind:ref {...mergedProps} {@attach setNode} />
27
27
  {/if}
@@ -9,11 +9,15 @@
9
9
  import { mergeProps } from '@zag-js/svelte'
10
10
  import { Ark } from '../factory'
11
11
  import { useComboboxContext } from './use-combobox-context'
12
+ import { usePresenceContext } from '../presence'
12
13
 
13
14
  let { ref = $bindable(null), ...props }: ComboboxPositionerProps = $props()
14
15
 
15
16
  const combobox = useComboboxContext()
17
+ const presence = usePresenceContext()
16
18
  const mergedProps = $derived(mergeProps(combobox().getPositionerProps(), props))
17
19
  </script>
18
20
 
19
- <Ark as="div" bind:ref {...mergedProps} />
21
+ {#if !presence().unmounted}
22
+ <Ark as="div" bind:ref {...mergedProps} />
23
+ {/if}
@@ -14,7 +14,7 @@
14
14
  import { usePresence } from '../presence'
15
15
  import { useDialogContext } from './use-dialog-context'
16
16
 
17
- let { ref = $bindable<Element | null>(), ...props }: DialogBackdropProps = $props()
17
+ let { ref = $bindable(null), ...props }: DialogBackdropProps = $props()
18
18
 
19
19
  const dialog = useDialogContext()
20
20
  const renderStrategyProps = useRenderStrategyPropsContext()
@@ -13,7 +13,7 @@
13
13
  import { usePresenceContext } from '../presence'
14
14
  import { useDialogContext } from './use-dialog-context'
15
15
 
16
- let { ref = $bindable<Element | null>(), ...props }: DialogContentProps = $props()
16
+ let { ref = $bindable(null), ...props }: DialogContentProps = $props()
17
17
 
18
18
  const dialog = useDialogContext()
19
19
  const presence = usePresenceContext()
@@ -10,7 +10,7 @@
10
10
  ref?: Element | null
11
11
  }
12
12
 
13
- let { as, ref = $bindable<Element | null>(null), ...props }: Props = $props()
13
+ let { as, ref = $bindable(null), ...props }: Props = $props()
14
14
  </script>
15
15
 
16
16
  <svelte:element this={as} {...props} bind:this={ref} />
@@ -13,7 +13,7 @@
13
13
  import { FieldProvider } from './use-field-context'
14
14
  import { useField } from './use-field.svelte'
15
15
 
16
- let { ref = $bindable<Element | null>(null), ...props }: FieldRootProps = $props()
16
+ let { ref = $bindable(null), ...props }: FieldRootProps = $props()
17
17
 
18
18
  const [useFieldProps, localProps] = $derived(
19
19
  createSplitProps<UseFieldProps>()(props, ['id', 'ids', 'disabled', 'invalid', 'readOnly', 'required']),
@@ -13,7 +13,7 @@
13
13
  import { FieldsetProvider } from './use-fieldset-context'
14
14
  import { useFieldset } from './use-fieldset.svelte'
15
15
 
16
- let { ref = $bindable<Element | null>(null), ...props }: FieldsetRootProps = $props()
16
+ let { ref = $bindable(null), ...props }: FieldsetRootProps = $props()
17
17
 
18
18
  const [useFieldsetProps, localProps] = $derived(
19
19
  createSplitProps<UseFieldsetProps>()(props, ['id', 'disabled', 'invalid']),
@@ -18,7 +18,7 @@
18
18
  export interface FocusTrapBaseProps extends PolymorphicProps<'div'>, RefAttribute, TrapOptions {}
19
19
  export interface FocusTrapProps extends Assign<HTMLProps<'div'>, FocusTrapBaseProps> {}
20
20
 
21
- let { ref = $bindable<Element | null>(), ...props }: FocusTrapProps = $props()
21
+ let { ref = $bindable(null), ...props }: FocusTrapProps = $props()
22
22
 
23
23
  const [trapProps, localProps] = $derived(
24
24
  createSplitProps<TrapOptions>()(props, [
@@ -1,19 +1,21 @@
1
- export { default as Root, type SelectRootProps as RootProps, type SelectRootBaseProps as RootBaseProps, } from './select-root.svelte';
2
- export { default as RootProvider, type SelectRootProviderProps as RootProviderProps, type SelectRootProviderBaseProps as RootProviderBaseProps, } from './select-root-provider.svelte';
3
- export { default as Context, type SelectContextProps as ContextProps } from './select-context.svelte';
4
- export { default as Control, type SelectControlProps as ControlProps, type SelectControlBaseProps as ControlBaseProps, } from './select-control.svelte';
5
- export { default as Trigger, type SelectTriggerProps as TriggerProps } from './select-trigger.svelte';
6
- export { default as Label, type SelectLabelProps as LabelProps } from './select-label.svelte';
1
+ export type { HighlightChangeDetails, OpenChangeDetails, ValueChangeDetails } from '@zag-js/select';
2
+ export type { CollectionItem, ListCollection } from '../collection';
7
3
  export { default as ClearTrigger, type SelectClearTriggerProps as ClearTriggerProps, } from './select-clear-trigger.svelte';
8
- export { default as Indicator, type SelectIndicatorProps as IndicatorProps } from './select-indicator.svelte';
9
- export { default as ValueText, type SelectValueTextProps as ValueTextProps } from './select-value-text.svelte';
10
- export { default as Positioner, type SelectPositionerProps as PositionerProps } from './select-positioner.svelte';
11
4
  export { default as Content, type SelectContentProps as ContentProps } from './select-content.svelte';
12
- export { default as List, type SelectListProps as ListProps } from './select-list.svelte';
5
+ export { default as Context, type SelectContextProps as ContextProps } from './select-context.svelte';
6
+ export { default as Control, type SelectControlBaseProps as ControlBaseProps, type SelectControlProps as ControlProps, } from './select-control.svelte';
13
7
  export { default as HiddenSelect, type SelectHiddenSelectProps as HiddenSelectProps, } from './select-hidden-select.svelte';
14
- export { default as Item, type SelectItemProps as ItemProps } from './select-item.svelte';
8
+ export { default as Indicator, type SelectIndicatorProps as IndicatorProps } from './select-indicator.svelte';
15
9
  export { default as ItemContext, type SelectItemContextProps as ItemContextProps } from './select-item-context.svelte';
16
- export { default as ItemGroup, type SelectItemGroupProps as ItemGroupProps } from './select-item-group.svelte';
17
10
  export { default as ItemGroupLabel, type SelectItemGroupLabelProps as ItemGroupLabelProps, } from './select-item-group-label.svelte';
18
- export { default as ItemText, type SelectItemTextProps as ItemTextProps } from './select-item-text.svelte';
11
+ export { default as ItemGroup, type SelectItemGroupProps as ItemGroupProps } from './select-item-group.svelte';
19
12
  export { default as ItemIndicator, type SelectItemIndicatorProps as ItemIndicatorProps, } from './select-item-indicator.svelte';
13
+ export { default as ItemText, type SelectItemTextProps as ItemTextProps } from './select-item-text.svelte';
14
+ export { default as Item, type SelectItemProps as ItemProps } from './select-item.svelte';
15
+ export { default as Label, type SelectLabelProps as LabelProps } from './select-label.svelte';
16
+ export { default as List, type SelectListProps as ListProps } from './select-list.svelte';
17
+ export { default as Positioner, type SelectPositionerProps as PositionerProps } from './select-positioner.svelte';
18
+ export { default as RootProvider, type SelectRootProviderBaseProps as RootProviderBaseProps, type SelectRootProviderProps as RootProviderProps, } from './select-root-provider.svelte';
19
+ export { default as Root, type SelectRootBaseProps as RootBaseProps, type SelectRootProps as RootProps, } from './select-root.svelte';
20
+ export { default as Trigger, type SelectTriggerProps as TriggerProps } from './select-trigger.svelte';
21
+ export { default as ValueText, type SelectValueTextProps as ValueTextProps } from './select-value-text.svelte';
@@ -1,19 +1,19 @@
1
- export { default as Root, } from './select-root.svelte';
2
- export { default as RootProvider, } from './select-root-provider.svelte';
3
- export { default as Context } from './select-context.svelte';
4
- export { default as Control, } from './select-control.svelte';
5
- export { default as Trigger } from './select-trigger.svelte';
6
- export { default as Label } from './select-label.svelte';
7
1
  export { default as ClearTrigger, } from './select-clear-trigger.svelte';
8
- export { default as Indicator } from './select-indicator.svelte';
9
- export { default as ValueText } from './select-value-text.svelte';
10
- export { default as Positioner } from './select-positioner.svelte';
11
2
  export { default as Content } from './select-content.svelte';
12
- export { default as List } from './select-list.svelte';
3
+ export { default as Context } from './select-context.svelte';
4
+ export { default as Control, } from './select-control.svelte';
13
5
  export { default as HiddenSelect, } from './select-hidden-select.svelte';
14
- export { default as Item } from './select-item.svelte';
6
+ export { default as Indicator } from './select-indicator.svelte';
15
7
  export { default as ItemContext } from './select-item-context.svelte';
16
- export { default as ItemGroup } from './select-item-group.svelte';
17
8
  export { default as ItemGroupLabel, } from './select-item-group-label.svelte';
18
- export { default as ItemText } from './select-item-text.svelte';
9
+ export { default as ItemGroup } from './select-item-group.svelte';
19
10
  export { default as ItemIndicator, } from './select-item-indicator.svelte';
11
+ export { default as ItemText } from './select-item-text.svelte';
12
+ export { default as Item } from './select-item.svelte';
13
+ export { default as Label } from './select-label.svelte';
14
+ export { default as List } from './select-list.svelte';
15
+ export { default as Positioner } from './select-positioner.svelte';
16
+ export { default as RootProvider, } from './select-root-provider.svelte';
17
+ export { default as Root, } from './select-root.svelte';
18
+ export { default as Trigger } from './select-trigger.svelte';
19
+ export { default as ValueText } from './select-value-text.svelte';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ark-ui/svelte",
3
3
  "type": "module",
4
- "version": "5.1.0",
4
+ "version": "5.1.1",
5
5
  "description": "A collection of unstyled, accessible UI components for Svelte",
6
6
  "keywords": [
7
7
  "accordion",
@@ -120,85 +120,85 @@
120
120
  "sideEffects": false,
121
121
  "dependencies": {
122
122
  "@internationalized/date": "3.8.2",
123
- "@zag-js/accordion": "1.18.0",
124
- "@zag-js/angle-slider": "1.18.0",
125
- "@zag-js/anatomy": "1.18.0",
126
- "@zag-js/auto-resize": "1.18.0",
127
- "@zag-js/avatar": "1.18.0",
128
- "@zag-js/carousel": "1.18.0",
129
- "@zag-js/checkbox": "1.18.0",
130
- "@zag-js/clipboard": "1.18.0",
131
- "@zag-js/collapsible": "1.18.0",
132
- "@zag-js/collection": "1.18.0",
133
- "@zag-js/color-picker": "1.18.0",
134
- "@zag-js/color-utils": "1.18.0",
135
- "@zag-js/combobox": "1.18.0",
136
- "@zag-js/core": "1.18.0",
137
- "@zag-js/date-picker": "1.18.0",
138
- "@zag-js/date-utils": "1.18.0",
139
- "@zag-js/dialog": "1.18.0",
140
- "@zag-js/dom-query": "1.18.0",
141
- "@zag-js/editable": "1.18.0",
142
- "@zag-js/file-upload": "1.18.0",
143
- "@zag-js/file-utils": "1.18.0",
144
- "@zag-js/focus-trap": "1.18.0",
145
- "@zag-js/floating-panel": "1.18.0",
146
- "@zag-js/highlight-word": "1.18.0",
147
- "@zag-js/hover-card": "1.18.0",
148
- "@zag-js/i18n-utils": "1.18.0",
149
- "@zag-js/listbox": "1.18.0",
150
- "@zag-js/menu": "1.18.0",
151
- "@zag-js/number-input": "1.18.0",
152
- "@zag-js/pagination": "1.18.0",
153
- "@zag-js/password-input": "1.18.0",
154
- "@zag-js/pin-input": "1.18.0",
155
- "@zag-js/popover": "1.18.0",
156
- "@zag-js/presence": "1.18.0",
157
- "@zag-js/progress": "1.18.0",
158
- "@zag-js/qr-code": "1.18.0",
159
- "@zag-js/radio-group": "1.18.0",
160
- "@zag-js/rating-group": "1.18.0",
161
- "@zag-js/svelte": "1.18.0",
162
- "@zag-js/select": "1.18.0",
163
- "@zag-js/signature-pad": "1.18.0",
164
- "@zag-js/slider": "1.18.0",
165
- "@zag-js/splitter": "1.18.0",
166
- "@zag-js/steps": "1.18.0",
167
- "@zag-js/switch": "1.18.0",
168
- "@zag-js/tabs": "1.18.0",
169
- "@zag-js/tags-input": "1.18.0",
170
- "@zag-js/time-picker": "1.18.0",
171
- "@zag-js/timer": "1.18.0",
172
- "@zag-js/toast": "1.18.0",
173
- "@zag-js/toggle": "1.18.0",
174
- "@zag-js/toggle-group": "1.18.0",
175
- "@zag-js/tooltip": "1.18.0",
176
- "@zag-js/tour": "1.18.0",
177
- "@zag-js/tree-view": "1.18.0",
178
- "@zag-js/types": "1.18.0",
179
- "@zag-js/utils": "1.18.0"
123
+ "@zag-js/accordion": "1.18.2",
124
+ "@zag-js/angle-slider": "1.18.2",
125
+ "@zag-js/anatomy": "1.18.2",
126
+ "@zag-js/auto-resize": "1.18.2",
127
+ "@zag-js/avatar": "1.18.2",
128
+ "@zag-js/carousel": "1.18.2",
129
+ "@zag-js/checkbox": "1.18.2",
130
+ "@zag-js/clipboard": "1.18.2",
131
+ "@zag-js/collapsible": "1.18.2",
132
+ "@zag-js/collection": "1.18.2",
133
+ "@zag-js/color-picker": "1.18.2",
134
+ "@zag-js/color-utils": "1.18.2",
135
+ "@zag-js/combobox": "1.18.2",
136
+ "@zag-js/core": "1.18.2",
137
+ "@zag-js/date-picker": "1.18.2",
138
+ "@zag-js/date-utils": "1.18.2",
139
+ "@zag-js/dialog": "1.18.2",
140
+ "@zag-js/dom-query": "1.18.2",
141
+ "@zag-js/editable": "1.18.2",
142
+ "@zag-js/file-upload": "1.18.2",
143
+ "@zag-js/file-utils": "1.18.2",
144
+ "@zag-js/focus-trap": "1.18.2",
145
+ "@zag-js/floating-panel": "1.18.2",
146
+ "@zag-js/highlight-word": "1.18.2",
147
+ "@zag-js/hover-card": "1.18.2",
148
+ "@zag-js/i18n-utils": "1.18.2",
149
+ "@zag-js/listbox": "1.18.2",
150
+ "@zag-js/menu": "1.18.2",
151
+ "@zag-js/number-input": "1.18.2",
152
+ "@zag-js/pagination": "1.18.2",
153
+ "@zag-js/password-input": "1.18.2",
154
+ "@zag-js/pin-input": "1.18.2",
155
+ "@zag-js/popover": "1.18.2",
156
+ "@zag-js/presence": "1.18.2",
157
+ "@zag-js/progress": "1.18.2",
158
+ "@zag-js/qr-code": "1.18.2",
159
+ "@zag-js/radio-group": "1.18.2",
160
+ "@zag-js/rating-group": "1.18.2",
161
+ "@zag-js/svelte": "1.18.2",
162
+ "@zag-js/select": "1.18.2",
163
+ "@zag-js/signature-pad": "1.18.2",
164
+ "@zag-js/slider": "1.18.2",
165
+ "@zag-js/splitter": "1.18.2",
166
+ "@zag-js/steps": "1.18.2",
167
+ "@zag-js/switch": "1.18.2",
168
+ "@zag-js/tabs": "1.18.2",
169
+ "@zag-js/tags-input": "1.18.2",
170
+ "@zag-js/time-picker": "1.18.2",
171
+ "@zag-js/timer": "1.18.2",
172
+ "@zag-js/toast": "1.18.2",
173
+ "@zag-js/toggle": "1.18.2",
174
+ "@zag-js/toggle-group": "1.18.2",
175
+ "@zag-js/tooltip": "1.18.2",
176
+ "@zag-js/tour": "1.18.2",
177
+ "@zag-js/tree-view": "1.18.2",
178
+ "@zag-js/types": "1.18.2",
179
+ "@zag-js/utils": "1.18.2"
180
180
  },
181
181
  "devDependencies": {
182
- "@storybook/addon-a11y": "9.0.10",
183
- "@storybook/sveltekit": "9.0.10",
182
+ "@storybook/addon-a11y": "9.0.15",
183
+ "@storybook/sveltekit": "9.0.15",
184
184
  "@sveltejs/adapter-auto": "6.0.1",
185
- "@sveltejs/kit": "2.21.5",
186
- "@sveltejs/package": "2.3.11",
185
+ "@sveltejs/kit": "2.22.2",
186
+ "@sveltejs/package": "2.3.12",
187
187
  "@sveltejs/vite-plugin-svelte": "5.1.0",
188
- "@tanstack/svelte-form": "1.12.3",
188
+ "@tanstack/svelte-form": "1.12.4",
189
189
  "@testing-library/jest-dom": "6.6.3",
190
190
  "@testing-library/svelte": "5.2.8",
191
191
  "@testing-library/user-event": "14.6.1",
192
- "@vitest/coverage-v8": "3.2.3",
192
+ "@vitest/coverage-v8": "3.2.4",
193
193
  "clean-package": "2.2.0",
194
- "lucide-svelte": "0.515.0",
195
- "storybook": "9.0.10",
196
- "svelte": "5.34.3",
197
- "svelte-check": "4.2.1",
194
+ "lucide-svelte": "0.525.0",
195
+ "storybook": "9.0.15",
196
+ "svelte": "5.35.2",
197
+ "svelte-check": "4.2.2",
198
198
  "tslib": "2.8.1",
199
199
  "typescript": "5.8.3",
200
- "vite": "6.3.5",
201
- "vitest": "3.2.3"
200
+ "vite": "7.0.2",
201
+ "vitest": "3.2.4"
202
202
  },
203
203
  "peerDependencies": {
204
204
  "svelte": ">=5.20.0"