@ark-ui/svelte 5.10.1 → 5.11.0
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.
- package/dist/components/collapsible/split-collapsible-props.svelte.d.ts +1 -1
- package/dist/components/collapsible/split-collapsible-props.svelte.js +2 -0
- package/dist/components/combobox/combobox-root.svelte +3 -1
- package/dist/components/combobox/combobox-root.svelte.d.ts +2 -1
- package/dist/components/combobox/combobox.d.ts +1 -1
- package/dist/components/combobox/index.d.ts +1 -1
- package/dist/components/field/field-input.svelte +11 -2
- package/dist/components/field/field-input.svelte.d.ts +1 -1
- package/dist/components/field/field-select.svelte +14 -2
- package/dist/components/field/field-select.svelte.d.ts +1 -1
- package/dist/components/field/field-textarea.svelte +13 -7
- package/dist/components/field/field-textarea.svelte.d.ts +1 -1
- package/dist/components/listbox/index.d.ts +1 -1
- package/dist/components/listbox/listbox-root.svelte +6 -1
- package/dist/components/listbox/listbox-root.svelte.d.ts +2 -1
- package/dist/components/listbox/listbox.d.ts +1 -1
- package/dist/components/pagination/index.d.ts +1 -1
- package/dist/components/pagination/pagination-root.svelte +1 -0
- package/dist/components/pagination/pagination.d.ts +1 -1
- package/dist/components/password-input/password-input-input.svelte +11 -2
- package/dist/components/password-input/password-input-input.svelte.d.ts +1 -1
- package/dist/components/presence/use-presence.svelte.js +0 -2
- package/dist/components/select/index.d.ts +1 -1
- package/dist/components/select/select-hidden-select.svelte +4 -1
- package/dist/components/select/select-root.svelte +6 -1
- package/dist/components/select/select-root.svelte.d.ts +2 -1
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/tree-view/index.d.ts +3 -2
- package/dist/components/tree-view/index.js +1 -0
- package/dist/components/tree-view/tree-view-node-rename-input.svelte +21 -0
- package/dist/components/tree-view/tree-view-node-rename-input.svelte.d.ts +8 -0
- package/dist/components/tree-view/tree-view-root.svelte +3 -1
- package/dist/components/tree-view/tree-view-root.svelte.d.ts +2 -1
- package/dist/components/tree-view/tree-view-split-props.d.ts +1 -1
- package/dist/components/tree-view/tree-view-split-props.js +4 -0
- package/dist/components/tree-view/tree-view.d.ts +3 -2
- package/dist/components/tree-view/tree-view.js +1 -0
- package/package.json +76 -75
|
@@ -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">];
|
|
@@ -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:
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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:
|
|
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
|
|
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';
|
|
@@ -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
|
-
|
|
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.
|
|
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
|
|
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
|
|
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,
|
|
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
|
|
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
|
|
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,
|
|
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.
|
|
4
|
+
"version": "5.11.0",
|
|
5
5
|
"description": "A collection of unstyled, accessible UI components for Svelte",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"accordion",
|
|
@@ -136,91 +136,92 @@
|
|
|
136
136
|
},
|
|
137
137
|
"sideEffects": false,
|
|
138
138
|
"dependencies": {
|
|
139
|
-
"@internationalized/date": "3.
|
|
140
|
-
"@zag-js/accordion": "1.
|
|
141
|
-
"@zag-js/anatomy": "1.
|
|
142
|
-
"@zag-js/angle-slider": "1.
|
|
143
|
-
"@zag-js/async-list": "1.
|
|
144
|
-
"@zag-js/auto-resize": "1.
|
|
145
|
-
"@zag-js/avatar": "1.
|
|
146
|
-
"@zag-js/bottom-sheet": "1.
|
|
147
|
-
"@zag-js/carousel": "1.
|
|
148
|
-
"@zag-js/checkbox": "1.
|
|
149
|
-
"@zag-js/clipboard": "1.
|
|
150
|
-
"@zag-js/collapsible": "1.
|
|
151
|
-
"@zag-js/collection": "1.
|
|
152
|
-
"@zag-js/color-picker": "1.
|
|
153
|
-
"@zag-js/color-utils": "1.
|
|
154
|
-
"@zag-js/combobox": "1.
|
|
155
|
-
"@zag-js/core": "1.
|
|
156
|
-
"@zag-js/date-picker": "1.
|
|
157
|
-
"@zag-js/date-utils": "1.
|
|
158
|
-
"@zag-js/dialog": "1.
|
|
159
|
-
"@zag-js/dom-query": "1.
|
|
160
|
-
"@zag-js/editable": "1.
|
|
161
|
-
"@zag-js/file-upload": "1.
|
|
162
|
-
"@zag-js/file-utils": "1.
|
|
163
|
-
"@zag-js/floating-panel": "1.
|
|
164
|
-
"@zag-js/focus-trap": "1.
|
|
165
|
-
"@zag-js/highlight-word": "1.
|
|
166
|
-
"@zag-js/hover-card": "1.
|
|
167
|
-
"@zag-js/i18n-utils": "1.
|
|
168
|
-
"@zag-js/json-tree-utils": "1.
|
|
169
|
-
"@zag-js/listbox": "1.
|
|
170
|
-
"@zag-js/menu": "1.
|
|
171
|
-
"@zag-js/number-input": "1.
|
|
172
|
-
"@zag-js/pagination": "1.
|
|
173
|
-
"@zag-js/password-input": "1.
|
|
174
|
-
"@zag-js/pin-input": "1.
|
|
175
|
-
"@zag-js/popover": "1.
|
|
176
|
-
"@zag-js/presence": "1.
|
|
177
|
-
"@zag-js/progress": "1.
|
|
178
|
-
"@zag-js/qr-code": "1.
|
|
179
|
-
"@zag-js/radio-group": "1.
|
|
180
|
-
"@zag-js/rating-group": "1.
|
|
181
|
-
"@zag-js/scroll-area": "1.
|
|
182
|
-
"@zag-js/select": "1.
|
|
183
|
-
"@zag-js/signature-pad": "1.
|
|
184
|
-
"@zag-js/slider": "1.
|
|
185
|
-
"@zag-js/splitter": "1.
|
|
186
|
-
"@zag-js/steps": "1.
|
|
187
|
-
"@zag-js/svelte": "1.
|
|
188
|
-
"@zag-js/switch": "1.
|
|
189
|
-
"@zag-js/tabs": "1.
|
|
190
|
-
"@zag-js/tags-input": "1.
|
|
191
|
-
"@zag-js/timer": "1.
|
|
192
|
-
"@zag-js/toast": "1.
|
|
193
|
-
"@zag-js/toggle": "1.
|
|
194
|
-
"@zag-js/toggle-group": "1.
|
|
195
|
-
"@zag-js/tooltip": "1.
|
|
196
|
-
"@zag-js/tour": "1.
|
|
197
|
-
"@zag-js/tree-view": "1.
|
|
198
|
-
"@zag-js/types": "1.
|
|
199
|
-
"@zag-js/utils": "1.
|
|
139
|
+
"@internationalized/date": "3.10.0",
|
|
140
|
+
"@zag-js/accordion": "1.26.1",
|
|
141
|
+
"@zag-js/anatomy": "1.26.1",
|
|
142
|
+
"@zag-js/angle-slider": "1.26.1",
|
|
143
|
+
"@zag-js/async-list": "1.26.1",
|
|
144
|
+
"@zag-js/auto-resize": "1.26.1",
|
|
145
|
+
"@zag-js/avatar": "1.26.1",
|
|
146
|
+
"@zag-js/bottom-sheet": "1.26.1",
|
|
147
|
+
"@zag-js/carousel": "1.26.1",
|
|
148
|
+
"@zag-js/checkbox": "1.26.1",
|
|
149
|
+
"@zag-js/clipboard": "1.26.1",
|
|
150
|
+
"@zag-js/collapsible": "1.26.1",
|
|
151
|
+
"@zag-js/collection": "1.26.1",
|
|
152
|
+
"@zag-js/color-picker": "1.26.1",
|
|
153
|
+
"@zag-js/color-utils": "1.26.1",
|
|
154
|
+
"@zag-js/combobox": "1.26.1",
|
|
155
|
+
"@zag-js/core": "1.26.1",
|
|
156
|
+
"@zag-js/date-picker": "1.26.1",
|
|
157
|
+
"@zag-js/date-utils": "1.26.1",
|
|
158
|
+
"@zag-js/dialog": "1.26.1",
|
|
159
|
+
"@zag-js/dom-query": "1.26.1",
|
|
160
|
+
"@zag-js/editable": "1.26.1",
|
|
161
|
+
"@zag-js/file-upload": "1.26.1",
|
|
162
|
+
"@zag-js/file-utils": "1.26.1",
|
|
163
|
+
"@zag-js/floating-panel": "1.26.1",
|
|
164
|
+
"@zag-js/focus-trap": "1.26.1",
|
|
165
|
+
"@zag-js/highlight-word": "1.26.1",
|
|
166
|
+
"@zag-js/hover-card": "1.26.1",
|
|
167
|
+
"@zag-js/i18n-utils": "1.26.1",
|
|
168
|
+
"@zag-js/json-tree-utils": "1.26.1",
|
|
169
|
+
"@zag-js/listbox": "1.26.1",
|
|
170
|
+
"@zag-js/menu": "1.26.1",
|
|
171
|
+
"@zag-js/number-input": "1.26.1",
|
|
172
|
+
"@zag-js/pagination": "1.26.1",
|
|
173
|
+
"@zag-js/password-input": "1.26.1",
|
|
174
|
+
"@zag-js/pin-input": "1.26.1",
|
|
175
|
+
"@zag-js/popover": "1.26.1",
|
|
176
|
+
"@zag-js/presence": "1.26.1",
|
|
177
|
+
"@zag-js/progress": "1.26.1",
|
|
178
|
+
"@zag-js/qr-code": "1.26.1",
|
|
179
|
+
"@zag-js/radio-group": "1.26.1",
|
|
180
|
+
"@zag-js/rating-group": "1.26.1",
|
|
181
|
+
"@zag-js/scroll-area": "1.26.1",
|
|
182
|
+
"@zag-js/select": "1.26.1",
|
|
183
|
+
"@zag-js/signature-pad": "1.26.1",
|
|
184
|
+
"@zag-js/slider": "1.26.1",
|
|
185
|
+
"@zag-js/splitter": "1.26.1",
|
|
186
|
+
"@zag-js/steps": "1.26.1",
|
|
187
|
+
"@zag-js/svelte": "1.26.1",
|
|
188
|
+
"@zag-js/switch": "1.26.1",
|
|
189
|
+
"@zag-js/tabs": "1.26.1",
|
|
190
|
+
"@zag-js/tags-input": "1.26.1",
|
|
191
|
+
"@zag-js/timer": "1.26.1",
|
|
192
|
+
"@zag-js/toast": "1.26.1",
|
|
193
|
+
"@zag-js/toggle": "1.26.1",
|
|
194
|
+
"@zag-js/toggle-group": "1.26.1",
|
|
195
|
+
"@zag-js/tooltip": "1.26.1",
|
|
196
|
+
"@zag-js/tour": "1.26.1",
|
|
197
|
+
"@zag-js/tree-view": "1.26.1",
|
|
198
|
+
"@zag-js/types": "1.26.1",
|
|
199
|
+
"@zag-js/utils": "1.26.1"
|
|
200
200
|
},
|
|
201
201
|
"devDependencies": {
|
|
202
|
-
"@storybook/addon-a11y": "9.1.
|
|
203
|
-
"@storybook/sveltekit": "9.1.
|
|
204
|
-
"@sveltejs/adapter-auto": "6.1.
|
|
205
|
-
"@sveltejs/kit": "2.
|
|
206
|
-
"@sveltejs/package": "2.5.
|
|
207
|
-
"@sveltejs/vite-plugin-svelte": "6.2.
|
|
208
|
-
"@tanstack/svelte-form": "1.23.
|
|
202
|
+
"@storybook/addon-a11y": "9.1.10",
|
|
203
|
+
"@storybook/sveltekit": "9.1.10",
|
|
204
|
+
"@sveltejs/adapter-auto": "6.1.1",
|
|
205
|
+
"@sveltejs/kit": "2.44.0",
|
|
206
|
+
"@sveltejs/package": "2.5.4",
|
|
207
|
+
"@sveltejs/vite-plugin-svelte": "6.2.1",
|
|
208
|
+
"@tanstack/svelte-form": "1.23.5",
|
|
209
209
|
"@testing-library/dom": "10.4.1",
|
|
210
|
-
"@testing-library/jest-dom": "6.
|
|
210
|
+
"@testing-library/jest-dom": "6.9.1",
|
|
211
211
|
"@testing-library/svelte": "5.2.8",
|
|
212
212
|
"@testing-library/user-event": "14.6.1",
|
|
213
213
|
"@vitest/coverage-v8": "3.2.4",
|
|
214
|
+
"check-password-strength": "3.0.0",
|
|
214
215
|
"clean-package": "2.2.0",
|
|
215
216
|
"image-conversion": "2.1.1",
|
|
216
217
|
"jsdom": "26.1.0",
|
|
217
218
|
"lucide-svelte": "0.544.0",
|
|
218
|
-
"storybook": "9.1.
|
|
219
|
-
"svelte": "5.39.
|
|
220
|
-
"svelte-check": "4.3.
|
|
219
|
+
"storybook": "9.1.10",
|
|
220
|
+
"svelte": "5.39.9",
|
|
221
|
+
"svelte-check": "4.3.2",
|
|
221
222
|
"tslib": "2.8.1",
|
|
222
|
-
"typescript": "5.9.
|
|
223
|
-
"vite": "7.1.
|
|
223
|
+
"typescript": "5.9.3",
|
|
224
|
+
"vite": "7.1.9",
|
|
224
225
|
"vitest": "3.2.4",
|
|
225
226
|
"vitest-axe": "1.0.0-pre.5"
|
|
226
227
|
},
|