@ark-ui/svelte 5.10.1 → 5.11.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.
Files changed (38) hide show
  1. package/dist/components/collapsible/split-collapsible-props.svelte.d.ts +1 -1
  2. package/dist/components/collapsible/split-collapsible-props.svelte.js +2 -0
  3. package/dist/components/combobox/combobox-root.svelte +3 -1
  4. package/dist/components/combobox/combobox-root.svelte.d.ts +2 -1
  5. package/dist/components/combobox/combobox.d.ts +1 -1
  6. package/dist/components/combobox/index.d.ts +1 -1
  7. package/dist/components/field/field-input.svelte +11 -2
  8. package/dist/components/field/field-input.svelte.d.ts +1 -1
  9. package/dist/components/field/field-select.svelte +14 -2
  10. package/dist/components/field/field-select.svelte.d.ts +1 -1
  11. package/dist/components/field/field-textarea.svelte +13 -7
  12. package/dist/components/field/field-textarea.svelte.d.ts +1 -1
  13. package/dist/components/listbox/index.d.ts +1 -1
  14. package/dist/components/listbox/listbox-root.svelte +6 -1
  15. package/dist/components/listbox/listbox-root.svelte.d.ts +2 -1
  16. package/dist/components/listbox/listbox.d.ts +1 -1
  17. package/dist/components/pagination/index.d.ts +1 -1
  18. package/dist/components/pagination/pagination-root.svelte +1 -0
  19. package/dist/components/pagination/pagination.d.ts +1 -1
  20. package/dist/components/password-input/password-input-input.svelte +11 -2
  21. package/dist/components/password-input/password-input-input.svelte.d.ts +1 -1
  22. package/dist/components/presence/use-presence.svelte.js +0 -2
  23. package/dist/components/select/index.d.ts +1 -1
  24. package/dist/components/select/select-hidden-select.svelte +4 -1
  25. package/dist/components/select/select-root.svelte +6 -1
  26. package/dist/components/select/select-root.svelte.d.ts +2 -1
  27. package/dist/components/select/select.d.ts +1 -1
  28. package/dist/components/tree-view/index.d.ts +3 -2
  29. package/dist/components/tree-view/index.js +1 -0
  30. package/dist/components/tree-view/tree-view-node-rename-input.svelte +21 -0
  31. package/dist/components/tree-view/tree-view-node-rename-input.svelte.d.ts +8 -0
  32. package/dist/components/tree-view/tree-view-root.svelte +3 -1
  33. package/dist/components/tree-view/tree-view-root.svelte.d.ts +2 -1
  34. package/dist/components/tree-view/tree-view-split-props.d.ts +1 -1
  35. package/dist/components/tree-view/tree-view-split-props.js +4 -0
  36. package/dist/components/tree-view/tree-view.d.ts +3 -2
  37. package/dist/components/tree-view/tree-view.js +1 -0
  38. package/package.json +78 -76
@@ -1,2 +1,2 @@
1
1
  import type { UseCollapsibleProps } from './use-collapsible.svelte';
2
- export declare const splitCollapsibleProps: <T extends UseCollapsibleProps>(props: T) => [UseCollapsibleProps, Omit<T, "lazyMount" | "unmountOnExit" | "open" | "ids" | "defaultOpen" | "onOpenChange" | "onExitComplete" | "disabled" | "id">];
2
+ export declare const splitCollapsibleProps: <T extends UseCollapsibleProps>(props: T) => [UseCollapsibleProps, Omit<T, "lazyMount" | "unmountOnExit" | "open" | "ids" | "defaultOpen" | "onOpenChange" | "onExitComplete" | "disabled" | "collapsedHeight" | "collapsedWidth" | "id">];
@@ -1,6 +1,8 @@
1
1
  import { createSplitProps } from '../../utils/create-split-props';
2
2
  const splitFn = createSplitProps();
3
3
  export const splitCollapsibleProps = (props) => splitFn(props, [
4
+ 'collapsedHeight',
5
+ 'collapsedWidth',
4
6
  'defaultOpen',
5
7
  'disabled',
6
8
  'id',
@@ -14,8 +14,10 @@
14
14
  export interface ComboboxRootProps<T extends CollectionItem>
15
15
  extends Assign<HTMLProps<'div'>, ComboboxRootBaseProps<T>> {}
16
16
 
17
+ export type ComboboxRootComponentProps<T extends CollectionItem = CollectionItem, P = {}> = Assign<ComboboxRootProps<T>, P>
18
+
17
19
  export type ComboboxRootComponent<P = {}> = <T extends CollectionItem>(
18
- props: Assign<ComboboxRootProps<T>, P>,
20
+ props: ComboboxRootComponentProps<T, P>,
19
21
  ) => Snippet
20
22
  </script>
21
23
 
@@ -7,7 +7,8 @@ export interface ComboboxRootBaseProps<T extends CollectionItem> extends UseComb
7
7
  }
8
8
  export interface ComboboxRootProps<T extends CollectionItem> extends Assign<HTMLProps<'div'>, ComboboxRootBaseProps<T>> {
9
9
  }
10
- export type ComboboxRootComponent<P = {}> = <T extends CollectionItem>(props: Assign<ComboboxRootProps<T>, P>) => Snippet;
10
+ export type ComboboxRootComponentProps<T extends CollectionItem = CollectionItem, P = {}> = Assign<ComboboxRootProps<T>, P>;
11
+ export type ComboboxRootComponent<P = {}> = <T extends CollectionItem>(props: ComboboxRootComponentProps<T, P>) => Snippet;
11
12
  declare function $$render<T extends CollectionItem>(): {
12
13
  props: ComboboxRootProps<T>;
13
14
  exports: {};
@@ -14,6 +14,6 @@ export { default as ItemText, type ComboboxItemTextProps as ItemTextProps, type
14
14
  export { default as Label, type ComboboxLabelProps as LabelProps, type ComboboxLabelBaseProps as LabelBaseProps, } from './combobox-label.svelte';
15
15
  export { default as List, type ComboboxListProps as ListProps, type ComboboxListBaseProps as ListBaseProps, } from './combobox-list.svelte';
16
16
  export { default as Positioner, type ComboboxPositionerProps, type ComboboxPositionerBaseProps, } from './combobox-positioner.svelte';
17
- export { default as Root, type ComboboxRootBaseProps as RootBaseProps, type ComboboxRootProps as RootProps, type ComboboxRootComponent as RootComponent, } from './combobox-root.svelte';
17
+ export { default as Root, type ComboboxRootBaseProps as RootBaseProps, type ComboboxRootProps as RootProps, type ComboboxRootComponent as RootComponent, type ComboboxRootComponentProps as RootComponentProps, } from './combobox-root.svelte';
18
18
  export { default as RootProvider, type ComboboxRootProviderBaseProps as RootProviderBaseProps, type ComboboxRootProviderProps as RootProviderProps, type ComboboxRootProviderComponent as RootProviderComponent, } from './combobox-root-provider.svelte';
19
19
  export { default as Trigger, type ComboboxTriggerProps as TriggerProps, type ComboboxTriggerBaseProps as TriggerBaseProps, } from './combobox-trigger.svelte';
@@ -15,7 +15,7 @@ export { default as ComboboxItemText, type ComboboxItemTextProps, type ComboboxI
15
15
  export { default as ComboboxLabel, type ComboboxLabelProps, type ComboboxLabelBaseProps } from './combobox-label.svelte';
16
16
  export { default as ComboboxList, type ComboboxListProps, type ComboboxListBaseProps } from './combobox-list.svelte';
17
17
  export { default as ComboboxPositioner, type ComboboxPositionerProps, type ComboboxPositionerBaseProps, } from './combobox-positioner.svelte';
18
- export { default as ComboboxRoot, type ComboboxRootBaseProps, type ComboboxRootProps, type ComboboxRootComponent, } from './combobox-root.svelte';
18
+ export { default as ComboboxRoot, type ComboboxRootBaseProps, type ComboboxRootProps, type ComboboxRootComponent, type ComboboxRootComponentProps, } from './combobox-root.svelte';
19
19
  export { default as ComboboxRootProvider, type ComboboxRootProviderBaseProps, type ComboboxRootProviderProps, type ComboboxRootProviderComponent, } from './combobox-root-provider.svelte';
20
20
  export { default as ComboboxTrigger, type ComboboxTriggerProps, type ComboboxTriggerBaseProps, } from './combobox-trigger.svelte';
21
21
  export { comboboxAnatomy } from './combobox.anatomy';
@@ -9,10 +9,19 @@
9
9
  import { mergeProps } from '@zag-js/svelte'
10
10
  import { Ark } from '../factory'
11
11
  import { useFieldContext } from './use-field-context'
12
+ import type { HTMLInputAttributes } from 'svelte/elements'
12
13
 
13
- let { ref = $bindable(null), ...props }: FieldInputProps = $props()
14
+ let { ref = $bindable(null), value = $bindable(), ...props }: FieldInputProps = $props()
14
15
  const field = useFieldContext()
15
- const mergedProps = $derived(mergeProps(field?.().getInputProps() ?? {}, props))
16
+
17
+ const nativeInputProps: HTMLInputAttributes = $derived({
18
+ value,
19
+ oninput(e) {
20
+ value = e.currentTarget.value
21
+ },
22
+ })
23
+
24
+ const mergedProps = $derived(mergeProps(field?.().getInputProps() ?? {}, nativeInputProps, props))
16
25
  </script>
17
26
 
18
27
  <Ark as="input" bind:ref {...mergedProps} />
@@ -3,6 +3,6 @@ export interface FieldInputBaseProps extends PolymorphicProps<'input'>, RefAttri
3
3
  }
4
4
  export interface FieldInputProps extends Assign<HTMLProps<'input'>, FieldInputBaseProps> {
5
5
  }
6
- declare const FieldInput: import("svelte").Component<FieldInputProps, {}, "ref">;
6
+ declare const FieldInput: import("svelte").Component<FieldInputProps, {}, "ref" | "value">;
7
7
  type FieldInput = ReturnType<typeof FieldInput>;
8
8
  export default FieldInput;
@@ -10,9 +10,21 @@
10
10
  import { Ark } from '../factory'
11
11
  import { useFieldContext } from './use-field-context'
12
12
 
13
- let { ref = $bindable(null), ...props }: FieldSelectProps = $props()
13
+ let { ref = $bindable(null), value = $bindable(), multiple, ...props }: FieldSelectProps = $props()
14
+
14
15
  const field = useFieldContext()
15
- const mergedProps = $derived(mergeProps(field?.().getSelectProps() ?? {}, props))
16
+
17
+ const nativeSelectProps: HTMLProps<'select'> = $derived({
18
+ value,
19
+ multiple,
20
+ oninput(e) {
21
+ value = multiple
22
+ ? Array.from(e.currentTarget.selectedOptions).map((option) => option.value)
23
+ : e.currentTarget.value
24
+ },
25
+ })
26
+
27
+ const mergedProps = $derived(mergeProps(field?.().getSelectProps() ?? {}, nativeSelectProps, props))
16
28
  </script>
17
29
 
18
30
  <Ark as="select" bind:ref {...mergedProps} />
@@ -3,6 +3,6 @@ export interface FieldSelectBaseProps extends PolymorphicProps<'select'>, RefAtt
3
3
  }
4
4
  export interface FieldSelectProps extends Assign<HTMLProps<'select'>, FieldSelectBaseProps> {
5
5
  }
6
- declare const FieldSelect: import("svelte").Component<FieldSelectProps, {}, "ref">;
6
+ declare const FieldSelect: import("svelte").Component<FieldSelectProps, {}, "ref" | "value">;
7
7
  type FieldSelect = ReturnType<typeof FieldSelect>;
8
8
  export default FieldSelect;
@@ -17,20 +17,26 @@
17
17
  import { Ark } from '../factory'
18
18
  import { useFieldContext } from './use-field-context'
19
19
 
20
- let { ref = $bindable(null), autoresize, ...props }: FieldTextareaProps = $props()
20
+ let { ref = $bindable(null), value = $bindable(), autoresize, ...props }: FieldTextareaProps = $props()
21
21
 
22
22
  let textareaRef = $state<HTMLTextAreaElement | null>(null)
23
-
24
- const field = useFieldContext()
25
- const mergedProps = $derived(
26
- mergeProps(field?.().getTextareaProps() ?? {}, { style: { resize: autoresize ? 'none' : undefined } }, props),
27
- )
28
-
29
23
  $effect(() => {
30
24
  if (!autoresize) return
31
25
  return autoresizeTextarea(textareaRef)
32
26
  })
33
27
 
28
+ const field = useFieldContext()
29
+
30
+ const nativeTextareaProps: HTMLProps<'textarea'> = $derived({
31
+ value,
32
+ oninput(e) {
33
+ value = e.currentTarget.value
34
+ },
35
+ style: autoresize ? 'resize: none' : undefined,
36
+ })
37
+
38
+ const mergedProps = $derived(mergeProps(field?.().getTextareaProps() ?? {}, nativeTextareaProps, props))
39
+
34
40
  function setNode(node: HTMLTextAreaElement | null) {
35
41
  textareaRef = node
36
42
  }
@@ -8,6 +8,6 @@ export interface FieldTextareaBaseProps extends PolymorphicProps<'textarea'>, Re
8
8
  }
9
9
  export interface FieldTextareaProps extends Assign<HTMLProps<'textarea'>, FieldTextareaBaseProps> {
10
10
  }
11
- declare const FieldTextarea: import("svelte").Component<FieldTextareaProps, {}, "ref">;
11
+ declare const FieldTextarea: import("svelte").Component<FieldTextareaProps, {}, "ref" | "value">;
12
12
  type FieldTextarea = ReturnType<typeof FieldTextarea>;
13
13
  export default FieldTextarea;
@@ -11,7 +11,7 @@ export { default as ListboxItemGroupLabel, type ListboxItemGroupLabelBaseProps,
11
11
  export { default as ListboxItemIndicator, type ListboxItemIndicatorBaseProps, type ListboxItemIndicatorProps, } from './listbox-item-indicator.svelte';
12
12
  export { default as ListboxItemText, type ListboxItemTextBaseProps, type ListboxItemTextProps, } from './listbox-item-text.svelte';
13
13
  export { default as ListboxLabel, type ListboxLabelBaseProps, type ListboxLabelProps } from './listbox-label.svelte';
14
- export { default as ListboxRoot, type ListboxRootBaseProps, type ListboxRootProps, type ListboxRootComponent, } from './listbox-root.svelte';
14
+ export { default as ListboxRoot, type ListboxRootBaseProps, type ListboxRootProps, type ListboxRootComponent, type ListboxRootComponentProps, } from './listbox-root.svelte';
15
15
  export { default as ListboxRootProvider, type ListboxRootProviderBaseProps, type ListboxRootProviderProps, type ListboxRootProviderComponent, } from './listbox-root-provider.svelte';
16
16
  export { default as ListboxValueText, type ListboxValueTextBaseProps, type ListboxValueTextProps, } from './listbox-value-text.svelte';
17
17
  export { listboxAnatomy } from './listbox.anatomy.js';
@@ -9,8 +9,13 @@
9
9
  export interface ListboxRootProps<T extends CollectionItem>
10
10
  extends Assign<HTMLProps<'div'>, ListboxRootBaseProps<T>> {}
11
11
 
12
+ export type ListboxRootComponentProps<T extends CollectionItem = CollectionItem, P = {}> = Assign<
13
+ ListboxRootProps<T>,
14
+ P
15
+ >
16
+
12
17
  export type ListboxRootComponent<P = {}> = <T extends CollectionItem>(
13
- props: Assign<ListboxRootProps<T>, P>,
18
+ props: ListboxRootComponentProps<T, P>,
14
19
  ) => Snippet
15
20
  </script>
16
21
 
@@ -6,7 +6,8 @@ export interface ListboxRootBaseProps<T extends CollectionItem> extends UseListb
6
6
  }
7
7
  export interface ListboxRootProps<T extends CollectionItem> extends Assign<HTMLProps<'div'>, ListboxRootBaseProps<T>> {
8
8
  }
9
- export type ListboxRootComponent<P = {}> = <T extends CollectionItem>(props: Assign<ListboxRootProps<T>, P>) => Snippet;
9
+ export type ListboxRootComponentProps<T extends CollectionItem = CollectionItem, P = {}> = Assign<ListboxRootProps<T>, P>;
10
+ export type ListboxRootComponent<P = {}> = <T extends CollectionItem>(props: ListboxRootComponentProps<T, P>) => Snippet;
10
11
  declare function $$render<T extends CollectionItem>(): {
11
12
  props: ListboxRootProps<T>;
12
13
  exports: {};
@@ -9,6 +9,6 @@ export { default as ItemGroupLabel, type ListboxItemGroupLabelBaseProps as ItemG
9
9
  export { default as ItemIndicator, type ListboxItemIndicatorBaseProps as ItemIndicatorBaseProps, type ListboxItemIndicatorProps as ItemIndicatorProps, } from './listbox-item-indicator.svelte';
10
10
  export { default as ItemText, type ListboxItemTextBaseProps as ItemTextBaseProps, type ListboxItemTextProps as ItemTextProps, } from './listbox-item-text.svelte';
11
11
  export { default as Label, type ListboxLabelBaseProps as LabelBaseProps, type ListboxLabelProps as LabelProps, } from './listbox-label.svelte';
12
- export { default as Root, type ListboxRootBaseProps as RootBaseProps, type ListboxRootProps as RootProps, type ListboxRootComponent as RootComponent, } from './listbox-root.svelte';
12
+ export { default as Root, type ListboxRootBaseProps as RootBaseProps, type ListboxRootProps as RootProps, type ListboxRootComponent as RootComponent, type ListboxRootComponentProps as RootComponentProps, } from './listbox-root.svelte';
13
13
  export { default as RootProvider, type ListboxRootProviderBaseProps as RootProviderBaseProps, type ListboxRootProviderProps as RootProviderProps, type ListboxRootProviderComponent as RootProviderComponent, } from './listbox-root-provider.svelte';
14
14
  export { default as ValueText, type ListboxValueTextBaseProps as ValueTextBaseProps, type ListboxValueTextProps as ValueTextProps, } from './listbox-value-text.svelte';
@@ -1,4 +1,4 @@
1
- export type { ItemLabelDetails as PaginationItemLabelDetails, PageChangeDetails as PaginationPageChangeDetails, PageSizeChangeDetails as PaginationPageSizeChangeDetails, } from '@zag-js/pagination';
1
+ export type { ItemLabelDetails as PaginationItemLabelDetails, PageChangeDetails as PaginationPageChangeDetails, PageSizeChangeDetails as PaginationPageSizeChangeDetails, PageUrlDetails as PaginationPageUrlDetails, } from '@zag-js/pagination';
2
2
  export { default as PaginationContext, type PaginationContextProps } from './pagination-context.svelte';
3
3
  export { default as PaginationEllipsis, type PaginationEllipsisBaseProps, type PaginationEllipsisProps, } from './pagination-ellipsis.svelte';
4
4
  export { default as PaginationItem, type PaginationItemBaseProps, type PaginationItemProps, } from './pagination-item.svelte';
@@ -21,6 +21,7 @@
21
21
  'count',
22
22
  'defaultPage',
23
23
  'defaultPageSize',
24
+ 'getPageUrl',
24
25
  'id',
25
26
  'ids',
26
27
  'onPageChange',
@@ -1,4 +1,4 @@
1
- export type { ItemLabelDetails, PageChangeDetails, PageSizeChangeDetails } from '@zag-js/pagination';
1
+ export type { ItemLabelDetails, PageChangeDetails, PageSizeChangeDetails, PageUrlDetails } from '@zag-js/pagination';
2
2
  export { default as Context, type PaginationContextProps as ContextProps } from './pagination-context.svelte';
3
3
  export { default as Ellipsis, type PaginationEllipsisBaseProps as EllipsisBaseProps, type PaginationEllipsisProps as EllipsisProps, } from './pagination-ellipsis.svelte';
4
4
  export { default as Item, type PaginationItemBaseProps as ItemBaseProps, type PaginationItemProps as ItemProps, } from './pagination-item.svelte';
@@ -10,9 +10,18 @@
10
10
  import { Ark } from '../factory'
11
11
  import { usePasswordInputContext } from './use-password-input-context'
12
12
 
13
- let { ref = $bindable(null), ...props }: PasswordInputInputProps = $props()
13
+ let { ref = $bindable(null), value = $bindable(), ...props }: PasswordInputInputProps = $props()
14
+
14
15
  const passwordInput = usePasswordInputContext()
15
- const mergedProps = $derived(mergeProps(passwordInput().getInputProps(), props))
16
+
17
+ const nativeInputProps: HTMLProps<'input'> = $derived({
18
+ value,
19
+ oninput(e) {
20
+ value = e.currentTarget.value
21
+ },
22
+ })
23
+
24
+ const mergedProps = $derived(mergeProps(passwordInput().getInputProps(), nativeInputProps, props))
16
25
  </script>
17
26
 
18
27
  <Ark as="input" bind:ref {...mergedProps} />
@@ -3,6 +3,6 @@ export interface PasswordInputInputBaseProps extends PolymorphicProps<'input'>,
3
3
  }
4
4
  export interface PasswordInputInputProps extends Assign<HTMLProps<'input'>, PasswordInputInputBaseProps> {
5
5
  }
6
- declare const PasswordInputInput: import("svelte").Component<PasswordInputInputProps, {}, "ref">;
6
+ declare const PasswordInputInput: import("svelte").Component<PasswordInputInputProps, {}, "ref" | "value">;
7
7
  type PasswordInputInput = ReturnType<typeof PasswordInputInput>;
8
8
  export default PasswordInputInput;
@@ -16,8 +16,6 @@ export const usePresence = (props) => {
16
16
  const setNode = (node) => {
17
17
  if (!node)
18
18
  return;
19
- if (service.refs.get('node'))
20
- return;
21
19
  service.send({ type: 'NODE.SET', node });
22
20
  };
23
21
  const unmounted = $derived((!api.present && !wasEverPresent && renderStrategyProps.lazyMount) ||
@@ -15,7 +15,7 @@ export { default as SelectItemText, type SelectItemTextBaseProps, type SelectIte
15
15
  export { default as SelectLabel, type SelectLabelBaseProps, type SelectLabelProps } from './select-label.svelte';
16
16
  export { default as SelectList, type SelectListBaseProps, type SelectListProps } from './select-list.svelte';
17
17
  export { default as SelectPositioner, type SelectPositionerBaseProps, type SelectPositionerProps, } from './select-positioner.svelte';
18
- export { default as SelectRoot, type SelectRootBaseProps, type SelectRootProps, type SelectRootComponent, } from './select-root.svelte';
18
+ export { default as SelectRoot, type SelectRootBaseProps, type SelectRootProps, type SelectRootComponent, type SelectRootComponentProps, } from './select-root.svelte';
19
19
  export { default as SelectRootProvider, type SelectRootProviderBaseProps, type SelectRootProviderProps, type SelectRootProviderComponent, } from './select-root-provider.svelte';
20
20
  export { default as SelectTrigger, type SelectTriggerBaseProps, type SelectTriggerProps } from './select-trigger.svelte';
21
21
  export { default as SelectValueText, type SelectValueTextBaseProps, type SelectValueTextProps, } from './select-value-text.svelte';
@@ -16,8 +16,11 @@
16
16
  </script>
17
17
 
18
18
  <Ark as="select" bind:ref {...mergedProps}>
19
+ {#if select().value.length === 0}
20
+ <option value=""></option>
21
+ {/if}
19
22
  {#each select().collection.items as item}
20
- <option value={select().collection.stringifyItem(item)}>
23
+ <option value={select().collection.getItemValue(item) ?? ''} disabled={select().collection.getItemDisabled(item)}>
21
24
  {select().collection.stringifyItem(item)}
22
25
  </option>
23
26
  {/each}
@@ -13,7 +13,12 @@
13
13
  export interface SelectRootProps<T extends CollectionItem = CollectionItem>
14
14
  extends Assign<HTMLProps<'div'>, SelectRootBaseProps<T>> {}
15
15
 
16
- export type SelectRootComponent<P = {}> = <T extends CollectionItem>(props: Assign<SelectRootProps<T>, P>) => Snippet
16
+ export type SelectRootComponentProps<T extends CollectionItem = CollectionItem, P = {}> = Assign<
17
+ SelectRootProps<T>,
18
+ P
19
+ >
20
+
21
+ export type SelectRootComponent<P = {}> = <T extends CollectionItem>(props: SelectRootComponentProps<T, P>) => Snippet
17
22
  </script>
18
23
 
19
24
  <script lang="ts" generics="T extends CollectionItem = CollectionItem">
@@ -6,7 +6,8 @@ export interface SelectRootBaseProps<T extends CollectionItem = CollectionItem>
6
6
  }
7
7
  export interface SelectRootProps<T extends CollectionItem = CollectionItem> extends Assign<HTMLProps<'div'>, SelectRootBaseProps<T>> {
8
8
  }
9
- export type SelectRootComponent<P = {}> = <T extends CollectionItem>(props: Assign<SelectRootProps<T>, P>) => Snippet;
9
+ export type SelectRootComponentProps<T extends CollectionItem = CollectionItem, P = {}> = Assign<SelectRootProps<T>, P>;
10
+ export type SelectRootComponent<P = {}> = <T extends CollectionItem>(props: SelectRootComponentProps<T, P>) => Snippet;
10
11
  import { type UsePresenceProps } from '../presence';
11
12
  declare function $$render<T extends CollectionItem = CollectionItem>(): {
12
13
  props: SelectRootProps<T>;
@@ -16,6 +16,6 @@ export { default as Label, type SelectLabelProps as LabelProps } from './select-
16
16
  export { default as List, type SelectListProps as ListProps } from './select-list.svelte';
17
17
  export { default as Positioner, type SelectPositionerProps as PositionerProps } from './select-positioner.svelte';
18
18
  export { default as RootProvider, type SelectRootProviderBaseProps as RootProviderBaseProps, type SelectRootProviderProps as RootProviderProps, type SelectRootProviderComponent as RootProviderComponent, } from './select-root-provider.svelte';
19
- export { default as Root, type SelectRootBaseProps as RootBaseProps, type SelectRootProps as RootProps, type SelectRootComponent as RootComponent, } from './select-root.svelte';
19
+ export { default as Root, type SelectRootBaseProps as RootBaseProps, type SelectRootProps as RootProps, type SelectRootComponent as RootComponent, type SelectRootComponentProps as RootComponentProps, } from './select-root.svelte';
20
20
  export { default as Trigger, type SelectTriggerProps as TriggerProps } from './select-trigger.svelte';
21
21
  export { default as ValueText, type SelectValueTextProps as ValueTextProps } from './select-value-text.svelte';
@@ -1,4 +1,4 @@
1
- export type { ExpandedChangeDetails as TreeViewExpandedChangeDetails, FocusChangeDetails as TreeViewFocusChangeDetails, SelectionChangeDetails as TreeViewSelectionChangeDetails, LoadChildrenDetails as TreeViewLoadChildrenDetails, LoadChildrenCompleteDetails as TreeViewLoadChildrenCompleteDetails, NodeState as TreeViewNodeState, NodeProps as TreeViewNodeProps, } from '@zag-js/tree-view';
1
+ export type { CheckedChangeDetails as TreeViewCheckedChangeDetails, ExpandedChangeDetails as TreeViewExpandedChangeDetails, FocusChangeDetails as TreeViewFocusChangeDetails, LoadChildrenCompleteDetails as TreeViewLoadChildrenCompleteDetails, LoadChildrenDetails as TreeViewLoadChildrenDetails, LoadChildrenErrorDetails as TreeViewLoadChildrenErrorDetails, NodeProps as TreeViewNodeProps, NodeState as TreeViewNodeState, RenameCompleteDetails as TreeViewRenameCompleteDetails, RenameStartDetails as TreeViewRenameStartDetails, SelectionChangeDetails as TreeViewSelectionChangeDetails, } from '@zag-js/tree-view';
2
2
  export { createFileTreeCollection, createTreeCollection, type TreeCollection, type TreeNode } from '../collection';
3
3
  export { default as TreeViewBranch, type TreeViewBranchBaseProps, type TreeViewBranchProps, } from './tree-view-branch.svelte';
4
4
  export { default as TreeViewBranchContent, type TreeViewBranchContentBaseProps, type TreeViewBranchContentProps, } from './tree-view-branch-content.svelte';
@@ -15,8 +15,9 @@ export { default as TreeViewLabel, type TreeViewLabelBaseProps, type TreeViewLab
15
15
  export { default as TreeViewNodeContext, type TreeViewNodeContextProps } from './tree-view-node-context.svelte';
16
16
  export { default as TreeViewNodeCheckbox, type TreeViewNodeCheckboxBaseProps, type TreeViewNodeCheckboxProps, } from './tree-view-node-checkbox.svelte';
17
17
  export { default as TreeViewNodeCheckboxIndicator, type TreeViewNodeCheckboxIndicatorBaseProps, type TreeViewNodeCheckboxIndicatorProps, } from './tree-view-node-checkbox-indicator.svelte';
18
+ export { default as TreeViewNodeRenameInput, type TreeViewNodeRenameInputBaseProps, type TreeViewNodeRenameInputProps, } from './tree-view-node-rename-input.svelte';
18
19
  export { default as TreeViewNodeProvider, type TreeViewNodeProviderBaseProps, type TreeViewNodeProviderProps, } from './tree-view-node-provider.svelte';
19
- export { default as TreeViewRoot, type TreeViewRootBaseProps, type TreeViewRootComponent, type TreeViewRootProps, } from './tree-view-root.svelte';
20
+ export { default as TreeViewRoot, type TreeViewRootBaseProps, type TreeViewRootComponent, type TreeViewRootComponentProps, type TreeViewRootProps, } from './tree-view-root.svelte';
20
21
  export { default as TreeViewRootProvider, type TreeViewRootProviderBaseProps, type TreeViewRootProviderComponent, type TreeViewRootProviderProps, } from './tree-view-root-provider.svelte';
21
22
  export { default as TreeViewTree, type TreeViewTreeBaseProps, type TreeViewTreeProps } from './tree-view-tree.svelte';
22
23
  export { treeViewAnatomy } from './tree-view.anatomy';
@@ -14,6 +14,7 @@ export { default as TreeViewLabel, } from './tree-view-label.svelte';
14
14
  export { default as TreeViewNodeContext } from './tree-view-node-context.svelte';
15
15
  export { default as TreeViewNodeCheckbox, } from './tree-view-node-checkbox.svelte';
16
16
  export { default as TreeViewNodeCheckboxIndicator, } from './tree-view-node-checkbox-indicator.svelte';
17
+ export { default as TreeViewNodeRenameInput, } from './tree-view-node-rename-input.svelte';
17
18
  export { default as TreeViewNodeProvider, } from './tree-view-node-provider.svelte';
18
19
  export { default as TreeViewRoot, } from './tree-view-root.svelte';
19
20
  export { default as TreeViewRootProvider, } from './tree-view-root-provider.svelte';
@@ -0,0 +1,21 @@
1
+ <script module lang="ts">
2
+ import type { Assign, HTMLProps, PolymorphicProps, RefAttribute } from '../../types'
3
+
4
+ export interface TreeViewNodeRenameInputBaseProps extends PolymorphicProps<'input'>, RefAttribute {}
5
+ export interface TreeViewNodeRenameInputProps extends Assign<HTMLProps<'input'>, TreeViewNodeRenameInputBaseProps> {}
6
+ </script>
7
+
8
+ <script lang="ts">
9
+ import { mergeProps } from '@zag-js/svelte'
10
+ import { Ark } from '../factory'
11
+ import { useTreeViewContext } from './use-tree-view-context'
12
+ import { useTreeViewNodePropsContext } from './use-tree-view-node-props-context'
13
+
14
+ let { ref = $bindable(null), ...props }: TreeViewNodeRenameInputProps = $props()
15
+
16
+ const treeView = useTreeViewContext()
17
+ const nodeProps = useTreeViewNodePropsContext()
18
+ const mergedProps = $derived(mergeProps(treeView().getNodeRenameInputProps(nodeProps()), props))
19
+ </script>
20
+
21
+ <Ark as="input" bind:ref {...mergedProps} />
@@ -0,0 +1,8 @@
1
+ import type { Assign, HTMLProps, PolymorphicProps, RefAttribute } from '../../types';
2
+ export interface TreeViewNodeRenameInputBaseProps extends PolymorphicProps<'input'>, RefAttribute {
3
+ }
4
+ export interface TreeViewNodeRenameInputProps extends Assign<HTMLProps<'input'>, TreeViewNodeRenameInputBaseProps> {
5
+ }
6
+ declare const TreeViewNodeRenameInput: import("svelte").Component<TreeViewNodeRenameInputProps, {}, "ref">;
7
+ type TreeViewNodeRenameInput = ReturnType<typeof TreeViewNodeRenameInput>;
8
+ export default TreeViewNodeRenameInput;
@@ -12,7 +12,9 @@
12
12
 
13
13
  export interface TreeViewRootProps<T extends TreeNode> extends Assign<HTMLProps<'div'>, TreeViewRootBaseProps<T>> {}
14
14
 
15
- export type TreeViewRootComponent<P = {}> = <T extends TreeNode>(props: Assign<TreeViewRootProps<T>, P>) => Snippet
15
+ export type TreeViewRootComponentProps<T extends TreeNode = TreeNode, P = {}> = Assign<TreeViewRootProps<T>, P>
16
+
17
+ export type TreeViewRootComponent<P = {}> = <T extends TreeNode>(props: TreeViewRootComponentProps<T, P>) => Snippet
16
18
  </script>
17
19
 
18
20
  <script lang="ts" generics="T extends TreeNode">
@@ -6,7 +6,8 @@ export interface TreeViewRootBaseProps<T extends TreeNode> extends UseTreeViewPr
6
6
  }
7
7
  export interface TreeViewRootProps<T extends TreeNode> extends Assign<HTMLProps<'div'>, TreeViewRootBaseProps<T>> {
8
8
  }
9
- export type TreeViewRootComponent<P = {}> = <T extends TreeNode>(props: Assign<TreeViewRootProps<T>, P>) => Snippet;
9
+ export type TreeViewRootComponentProps<T extends TreeNode = TreeNode, P = {}> = Assign<TreeViewRootProps<T>, P>;
10
+ export type TreeViewRootComponent<P = {}> = <T extends TreeNode>(props: TreeViewRootComponentProps<T, P>) => Snippet;
10
11
  import { type RenderStrategyProps } from '../../utils/render-strategy';
11
12
  declare function $$render<T extends TreeNode>(): {
12
13
  props: TreeViewRootProps<T>;
@@ -1,3 +1,3 @@
1
1
  import type { TreeNode } from '../collection';
2
2
  import type { UseTreeViewProps } from './use-tree-view.svelte';
3
- export declare function splitTreeViewProps<T extends UseTreeViewProps<TreeNode>>(props: T): [UseTreeViewProps<any>, Omit<T, "ids" | "id" | "onFocusChange" | "onCheckedChange" | "collection" | "selectionMode" | "focusedValue" | "defaultFocusedValue" | "expandedValue" | "defaultExpandedValue" | "selectedValue" | "defaultSelectedValue" | "defaultCheckedValue" | "checkedValue" | "onExpandedChange" | "onSelectionChange" | "onLoadChildrenComplete" | "onLoadChildrenError" | "expandOnClick" | "typeahead" | "loadChildren">];
3
+ export declare function splitTreeViewProps<T extends UseTreeViewProps<TreeNode>>(props: T): [UseTreeViewProps<any>, Omit<T, "ids" | "id" | "onFocusChange" | "onCheckedChange" | "collection" | "selectionMode" | "focusedValue" | "defaultFocusedValue" | "expandedValue" | "defaultExpandedValue" | "selectedValue" | "defaultSelectedValue" | "defaultCheckedValue" | "checkedValue" | "onExpandedChange" | "onSelectionChange" | "canRename" | "onRenameStart" | "onBeforeRename" | "onRenameComplete" | "onLoadChildrenComplete" | "onLoadChildrenError" | "expandOnClick" | "typeahead" | "loadChildren">];
@@ -2,6 +2,7 @@ import { createSplitProps } from '../../utils/create-split-props';
2
2
  const splitFn = createSplitProps();
3
3
  export function splitTreeViewProps(props) {
4
4
  return splitFn(props, [
5
+ 'canRename',
5
6
  'checkedValue',
6
7
  'collection',
7
8
  'defaultCheckedValue',
@@ -14,11 +15,14 @@ export function splitTreeViewProps(props) {
14
15
  'id',
15
16
  'ids',
16
17
  'loadChildren',
18
+ 'onBeforeRename',
17
19
  'onCheckedChange',
18
20
  'onExpandedChange',
19
21
  'onFocusChange',
20
22
  'onLoadChildrenComplete',
21
23
  'onLoadChildrenError',
24
+ 'onRenameComplete',
25
+ 'onRenameStart',
22
26
  'onSelectionChange',
23
27
  'selectedValue',
24
28
  'selectionMode',
@@ -1,4 +1,4 @@
1
- export type { ExpandedChangeDetails, FocusChangeDetails, SelectionChangeDetails, LoadChildrenDetails, LoadChildrenCompleteDetails, NodeState, NodeProps, } from '@zag-js/tree-view';
1
+ export type { CheckedChangeDetails, ExpandedChangeDetails, FocusChangeDetails, LoadChildrenCompleteDetails, LoadChildrenDetails, LoadChildrenErrorDetails, NodeProps, NodeState, RenameCompleteDetails, RenameStartDetails, SelectionChangeDetails, } from '@zag-js/tree-view';
2
2
  export { default as Branch, type TreeViewBranchBaseProps as BranchBaseProps, type TreeViewBranchProps as BranchProps, } from './tree-view-branch.svelte';
3
3
  export { default as BranchContent, type TreeViewBranchContentBaseProps as BranchContentBaseProps, type TreeViewBranchContentProps as BranchContentProps, } from './tree-view-branch-content.svelte';
4
4
  export { default as BranchControl, type TreeViewBranchControlBaseProps as BranchControlBaseProps, type TreeViewBranchControlProps as BranchControlProps, } from './tree-view-branch-control.svelte';
@@ -13,8 +13,9 @@ export { default as ItemText, type TreeViewItemTextBaseProps as ItemTextBaseProp
13
13
  export { default as Label, type TreeViewLabelBaseProps as LabelBaseProps, type TreeViewLabelProps as LabelProps, } from './tree-view-label.svelte';
14
14
  export { default as NodeCheckbox, type TreeViewNodeCheckboxBaseProps as NodeCheckboxBaseProps, type TreeViewNodeCheckboxProps as NodeCheckboxProps, } from './tree-view-node-checkbox.svelte';
15
15
  export { default as NodeCheckboxIndicator, type TreeViewNodeCheckboxIndicatorBaseProps as NodeCheckboxIndicatorBaseProps, type TreeViewNodeCheckboxIndicatorProps as NodeCheckboxIndicatorProps, } from './tree-view-node-checkbox-indicator.svelte';
16
+ export { default as NodeRenameInput, type TreeViewNodeRenameInputBaseProps as NodeRenameInputBaseProps, type TreeViewNodeRenameInputProps as NodeRenameInputProps, } from './tree-view-node-rename-input.svelte';
16
17
  export { default as NodeContext, type TreeViewNodeContextProps as NodeContextProps, } from './tree-view-node-context.svelte';
17
18
  export { default as NodeProvider, type TreeViewNodeProviderBaseProps as NodeProviderBaseProps, type TreeViewNodeProviderProps as NodeProviderProps, } from './tree-view-node-provider.svelte';
18
- export { default as Root, type TreeViewRootBaseProps as RootBaseProps, type TreeViewRootComponent as RootComponent, type TreeViewRootProps as RootProps, } from './tree-view-root.svelte';
19
+ export { default as Root, type TreeViewRootBaseProps as RootBaseProps, type TreeViewRootComponent as RootComponent, type TreeViewRootComponentProps as RootComponentProps, type TreeViewRootProps as RootProps, } from './tree-view-root.svelte';
19
20
  export { default as RootProvider, type TreeViewRootProviderBaseProps as RootProviderBaseProps, type TreeViewRootProviderComponent as RootProviderComponent, type TreeViewRootProviderProps as RootProviderProps, } from './tree-view-root-provider.svelte';
20
21
  export { default as Tree, type TreeViewTreeBaseProps as TreeBaseProps, type TreeViewTreeProps as TreeProps, } from './tree-view-tree.svelte';
@@ -12,6 +12,7 @@ export { default as ItemText, } from './tree-view-item-text.svelte';
12
12
  export { default as Label, } from './tree-view-label.svelte';
13
13
  export { default as NodeCheckbox, } from './tree-view-node-checkbox.svelte';
14
14
  export { default as NodeCheckboxIndicator, } from './tree-view-node-checkbox-indicator.svelte';
15
+ export { default as NodeRenameInput, } from './tree-view-node-rename-input.svelte';
15
16
  export { default as NodeContext, } from './tree-view-node-context.svelte';
16
17
  export { default as NodeProvider, } from './tree-view-node-provider.svelte';
17
18
  export { default as Root, } from './tree-view-root.svelte';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ark-ui/svelte",
3
3
  "type": "module",
4
- "version": "5.10.1",
4
+ "version": "5.11.1",
5
5
  "description": "A collection of unstyled, accessible UI components for Svelte",
6
6
  "keywords": [
7
7
  "accordion",
@@ -136,91 +136,93 @@
136
136
  },
137
137
  "sideEffects": false,
138
138
  "dependencies": {
139
- "@internationalized/date": "3.9.0",
140
- "@zag-js/accordion": "1.24.2",
141
- "@zag-js/anatomy": "1.24.2",
142
- "@zag-js/angle-slider": "1.24.2",
143
- "@zag-js/async-list": "1.24.2",
144
- "@zag-js/auto-resize": "1.24.2",
145
- "@zag-js/avatar": "1.24.2",
146
- "@zag-js/bottom-sheet": "1.24.2",
147
- "@zag-js/carousel": "1.24.2",
148
- "@zag-js/checkbox": "1.24.2",
149
- "@zag-js/clipboard": "1.24.2",
150
- "@zag-js/collapsible": "1.24.2",
151
- "@zag-js/collection": "1.24.2",
152
- "@zag-js/color-picker": "1.24.2",
153
- "@zag-js/color-utils": "1.24.2",
154
- "@zag-js/combobox": "1.24.2",
155
- "@zag-js/core": "1.24.2",
156
- "@zag-js/date-picker": "1.24.2",
157
- "@zag-js/date-utils": "1.24.2",
158
- "@zag-js/dialog": "1.24.2",
159
- "@zag-js/dom-query": "1.24.2",
160
- "@zag-js/editable": "1.24.2",
161
- "@zag-js/file-upload": "1.24.2",
162
- "@zag-js/file-utils": "1.24.2",
163
- "@zag-js/floating-panel": "1.24.2",
164
- "@zag-js/focus-trap": "1.24.2",
165
- "@zag-js/highlight-word": "1.24.2",
166
- "@zag-js/hover-card": "1.24.2",
167
- "@zag-js/i18n-utils": "1.24.2",
168
- "@zag-js/json-tree-utils": "1.24.2",
169
- "@zag-js/listbox": "1.24.2",
170
- "@zag-js/menu": "1.24.2",
171
- "@zag-js/number-input": "1.24.2",
172
- "@zag-js/pagination": "1.24.2",
173
- "@zag-js/password-input": "1.24.2",
174
- "@zag-js/pin-input": "1.24.2",
175
- "@zag-js/popover": "1.24.2",
176
- "@zag-js/presence": "1.24.2",
177
- "@zag-js/progress": "1.24.2",
178
- "@zag-js/qr-code": "1.24.2",
179
- "@zag-js/radio-group": "1.24.2",
180
- "@zag-js/rating-group": "1.24.2",
181
- "@zag-js/scroll-area": "1.24.2",
182
- "@zag-js/select": "1.24.2",
183
- "@zag-js/signature-pad": "1.24.2",
184
- "@zag-js/slider": "1.24.2",
185
- "@zag-js/splitter": "1.24.2",
186
- "@zag-js/steps": "1.24.2",
187
- "@zag-js/svelte": "1.24.2",
188
- "@zag-js/switch": "1.24.2",
189
- "@zag-js/tabs": "1.24.2",
190
- "@zag-js/tags-input": "1.24.2",
191
- "@zag-js/timer": "1.24.2",
192
- "@zag-js/toast": "1.24.2",
193
- "@zag-js/toggle": "1.24.2",
194
- "@zag-js/toggle-group": "1.24.2",
195
- "@zag-js/tooltip": "1.24.2",
196
- "@zag-js/tour": "1.24.2",
197
- "@zag-js/tree-view": "1.24.2",
198
- "@zag-js/types": "1.24.2",
199
- "@zag-js/utils": "1.24.2"
139
+ "@internationalized/date": "3.10.0",
140
+ "@zag-js/accordion": "1.26.2",
141
+ "@zag-js/anatomy": "1.26.2",
142
+ "@zag-js/angle-slider": "1.26.2",
143
+ "@zag-js/async-list": "1.26.2",
144
+ "@zag-js/auto-resize": "1.26.2",
145
+ "@zag-js/avatar": "1.26.2",
146
+ "@zag-js/bottom-sheet": "1.26.2",
147
+ "@zag-js/carousel": "1.26.2",
148
+ "@zag-js/checkbox": "1.26.2",
149
+ "@zag-js/clipboard": "1.26.2",
150
+ "@zag-js/collapsible": "1.26.2",
151
+ "@zag-js/collection": "1.26.2",
152
+ "@zag-js/color-picker": "1.26.2",
153
+ "@zag-js/color-utils": "1.26.2",
154
+ "@zag-js/combobox": "1.26.2",
155
+ "@zag-js/core": "1.26.2",
156
+ "@zag-js/date-picker": "1.26.2",
157
+ "@zag-js/date-utils": "1.26.2",
158
+ "@zag-js/dialog": "1.26.2",
159
+ "@zag-js/dom-query": "1.26.2",
160
+ "@zag-js/editable": "1.26.2",
161
+ "@zag-js/file-upload": "1.26.2",
162
+ "@zag-js/file-utils": "1.26.2",
163
+ "@zag-js/floating-panel": "1.26.2",
164
+ "@zag-js/focus-trap": "1.26.2",
165
+ "@zag-js/highlight-word": "1.26.2",
166
+ "@zag-js/hover-card": "1.26.2",
167
+ "@zag-js/i18n-utils": "1.26.2",
168
+ "@zag-js/json-tree-utils": "1.26.2",
169
+ "@zag-js/listbox": "1.26.2",
170
+ "@zag-js/menu": "1.26.2",
171
+ "@zag-js/number-input": "1.26.2",
172
+ "@zag-js/pagination": "1.26.2",
173
+ "@zag-js/password-input": "1.26.2",
174
+ "@zag-js/pin-input": "1.26.2",
175
+ "@zag-js/popover": "1.26.2",
176
+ "@zag-js/presence": "1.26.2",
177
+ "@zag-js/progress": "1.26.2",
178
+ "@zag-js/qr-code": "1.26.2",
179
+ "@zag-js/radio-group": "1.26.2",
180
+ "@zag-js/rating-group": "1.26.2",
181
+ "@zag-js/scroll-area": "1.26.2",
182
+ "@zag-js/select": "1.26.2",
183
+ "@zag-js/signature-pad": "1.26.2",
184
+ "@zag-js/slider": "1.26.2",
185
+ "@zag-js/splitter": "1.26.2",
186
+ "@zag-js/steps": "1.26.2",
187
+ "@zag-js/svelte": "1.26.2",
188
+ "@zag-js/switch": "1.26.2",
189
+ "@zag-js/tabs": "1.26.2",
190
+ "@zag-js/tags-input": "1.26.2",
191
+ "@zag-js/timer": "1.26.2",
192
+ "@zag-js/toast": "1.26.2",
193
+ "@zag-js/toggle": "1.26.2",
194
+ "@zag-js/toggle-group": "1.26.2",
195
+ "@zag-js/tooltip": "1.26.2",
196
+ "@zag-js/tour": "1.26.2",
197
+ "@zag-js/tree-view": "1.26.2",
198
+ "@zag-js/types": "1.26.2",
199
+ "@zag-js/utils": "1.26.2"
200
200
  },
201
201
  "devDependencies": {
202
- "@storybook/addon-a11y": "9.1.7",
203
- "@storybook/sveltekit": "9.1.7",
204
- "@sveltejs/adapter-auto": "6.1.0",
205
- "@sveltejs/kit": "2.42.2",
206
- "@sveltejs/package": "2.5.3",
207
- "@sveltejs/vite-plugin-svelte": "6.2.0",
208
- "@tanstack/svelte-form": "1.23.0",
202
+ "@storybook/addon-a11y": "9.1.10",
203
+ "@storybook/svelte": "9.1.10",
204
+ "@storybook/sveltekit": "9.1.10",
205
+ "@sveltejs/adapter-auto": "6.1.1",
206
+ "@sveltejs/kit": "2.46.5",
207
+ "@sveltejs/package": "2.5.4",
208
+ "@sveltejs/vite-plugin-svelte": "6.2.1",
209
+ "@tanstack/svelte-form": "1.23.7",
209
210
  "@testing-library/dom": "10.4.1",
210
- "@testing-library/jest-dom": "6.8.0",
211
+ "@testing-library/jest-dom": "6.9.1",
211
212
  "@testing-library/svelte": "5.2.8",
212
213
  "@testing-library/user-event": "14.6.1",
213
214
  "@vitest/coverage-v8": "3.2.4",
215
+ "check-password-strength": "3.0.0",
214
216
  "clean-package": "2.2.0",
215
217
  "image-conversion": "2.1.1",
216
218
  "jsdom": "26.1.0",
217
- "lucide-svelte": "0.544.0",
218
- "storybook": "9.1.7",
219
- "svelte": "5.39.4",
220
- "svelte-check": "4.3.1",
219
+ "lucide-svelte": "0.545.0",
220
+ "storybook": "9.1.10",
221
+ "svelte": "5.39.12",
222
+ "svelte-check": "4.3.3",
221
223
  "tslib": "2.8.1",
222
- "typescript": "5.9.2",
223
- "vite": "7.1.6",
224
+ "typescript": "5.9.3",
225
+ "vite": "7.1.9",
224
226
  "vitest": "3.2.4",
225
227
  "vitest-axe": "1.0.0-pre.5"
226
228
  },