@ark-ui/solid 5.16.1 → 5.18.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.
Files changed (78) hide show
  1. package/dist/chunk/{KIDL2HC3.jsx → 4L4266PL.jsx} +4 -4
  2. package/dist/chunk/{WBYGZCTU.jsx → 6XAZQVOY.jsx} +4 -4
  3. package/dist/chunk/7HON4OS6.js +217 -0
  4. package/dist/chunk/{EIA3BZ33.jsx → 7OXBQSIZ.jsx} +4 -4
  5. package/dist/chunk/{FC67EFPW.jsx → D2MI7N5P.jsx} +1 -1
  6. package/dist/chunk/{5PKZLVXE.jsx → DLZTFD37.jsx} +4 -4
  7. package/dist/chunk/{JPJUQ5CI.jsx → H4MJ4254.jsx} +1 -1
  8. package/dist/chunk/{P7WR6WX5.js → HJFJPRY5.js} +1 -1
  9. package/dist/chunk/{FQGMWBGA.js → HSBJVWHB.js} +1 -1
  10. package/dist/chunk/{KNVMVQG6.jsx → L22RABDV.jsx} +10 -0
  11. package/dist/chunk/{ACABJNIJ.jsx → L5XYJCAK.jsx} +1 -1
  12. package/dist/chunk/{KJ353BY6.jsx → LBI4ZRKN.jsx} +2 -0
  13. package/dist/chunk/{4T2T3PMU.jsx → UYFUB47A.jsx} +2 -0
  14. package/dist/chunk/{FRSNRGQK.jsx → VXQNQSLM.jsx} +4 -4
  15. package/dist/chunk/{ZB7AEDAJ.jsx → XENPQFEN.jsx} +1 -1
  16. package/dist/chunk/XFW6RT6G.js +321 -0
  17. package/dist/chunk/{C46RVY7A.jsx → XOIHVYJ7.jsx} +4 -4
  18. package/dist/chunk/{L4PQJRRA.js → XZJYSF6N.js} +15 -1
  19. package/dist/chunk/{G3JCG6HD.jsx → Y2LC36B4.jsx} +1 -1
  20. package/dist/chunk/{BBWRZLB6.jsx → YJX4W6VT.jsx} +1 -1
  21. package/dist/chunk/{NVETRSKA.jsx → YM35RFYG.jsx} +1 -1
  22. package/dist/chunk/YRHUWQ7U.jsx +237 -0
  23. package/dist/chunk/ZHSHZ7SJ.jsx +240 -0
  24. package/dist/components/checkbox/index.d.ts +17 -8
  25. package/dist/components/checkbox/index.js +1 -1
  26. package/dist/components/checkbox/index.jsx +3 -1
  27. package/dist/components/collection/index.d.ts +106 -4
  28. package/dist/components/collection/index.js +1 -1
  29. package/dist/components/collection/index.jsx +5 -3
  30. package/dist/components/color-picker/index.d.ts +1 -1
  31. package/dist/components/color-picker/index.jsx +3 -3
  32. package/dist/components/combobox/index.d.ts +1 -1
  33. package/dist/components/combobox/index.js +1 -1
  34. package/dist/components/combobox/index.jsx +6 -6
  35. package/dist/components/date-picker/index.d.ts +1 -1
  36. package/dist/components/date-picker/index.jsx +3 -3
  37. package/dist/components/dialog/index.jsx +3 -3
  38. package/dist/components/field/index.d.ts +1 -1
  39. package/dist/components/fieldset/index.d.ts +1 -1
  40. package/dist/components/file-upload/index.d.ts +6 -3
  41. package/dist/components/file-upload/index.js +1 -1
  42. package/dist/components/file-upload/index.jsx +1 -1
  43. package/dist/components/floating-panel/index.jsx +3 -3
  44. package/dist/components/hover-card/index.jsx +3 -3
  45. package/dist/components/index.d.ts +7 -4
  46. package/dist/components/index.js +26 -25
  47. package/dist/components/index.jsx +416 -402
  48. package/dist/components/json-tree-view/index.d.ts +69 -0
  49. package/dist/components/json-tree-view/index.js +1 -0
  50. package/dist/components/json-tree-view/index.jsx +26 -0
  51. package/dist/components/listbox/index.js +1 -1
  52. package/dist/components/listbox/index.jsx +1 -1
  53. package/dist/components/menu/index.jsx +3 -3
  54. package/dist/components/popover/index.jsx +3 -3
  55. package/dist/components/presence/index.jsx +2 -2
  56. package/dist/components/select/index.d.ts +1 -1
  57. package/dist/components/select/index.js +1 -1
  58. package/dist/components/select/index.jsx +6 -6
  59. package/dist/components/signature-pad/index.js +1 -1
  60. package/dist/components/signature-pad/index.jsx +1 -1
  61. package/dist/components/tabs/index.jsx +3 -3
  62. package/dist/components/time-picker/index.jsx +3 -3
  63. package/dist/components/tooltip/index.jsx +3 -3
  64. package/dist/components/tour/index.jsx +3 -3
  65. package/dist/components/tree-view/index.d.ts +9 -39
  66. package/dist/components/tree-view/index.js +1 -1
  67. package/dist/components/tree-view/index.jsx +1 -1
  68. package/dist/index.d.ts +8 -5
  69. package/dist/index.js +26 -25
  70. package/dist/index.jsx +416 -402
  71. package/dist/tree-view-tree-CbBeWSwi.d.ts +41 -0
  72. package/dist/{use-list-collection-C2rvMTSM.d.ts → use-list-collection-Dk2gVdQ2.d.ts} +1 -1
  73. package/package.json +65 -64
  74. package/dist/chunk/AQUEJK4Z.jsx +0 -122
  75. package/dist/chunk/XL4VFEPW.js +0 -104
  76. package/dist/chunk/{BJ3QT4LE.jsx → H7TJLB3R.jsx} +0 -0
  77. package/dist/chunk/{QBN5FEQF.js → NWXJCBMN.js} +0 -0
  78. package/dist/chunk/{H6ODLFPJ.jsx → WC2HBDLJ.jsx} +3 -3
@@ -0,0 +1,240 @@
1
+ // src/components/collection/grid-collection.ts
2
+ import {
3
+ GridCollection
4
+ } from "@zag-js/collection";
5
+ var createGridCollection = (options) => new GridCollection(options);
6
+
7
+ // src/components/collection/list-collection.ts
8
+ import { ListCollection } from "@zag-js/collection";
9
+ var createListCollection = (options) => new ListCollection(options);
10
+
11
+ // src/components/collection/tree-collection.ts
12
+ import {
13
+ TreeCollection,
14
+ filePathToTree
15
+ } from "@zag-js/collection";
16
+ var createTreeCollection = (options) => new TreeCollection(options);
17
+ var createFileTreeCollection = (paths) => filePathToTree(paths);
18
+
19
+ // src/components/collection/use-list-collection.ts
20
+ import { createMemo, createSignal, splitProps } from "solid-js";
21
+ function useListCollection(props) {
22
+ const splittedProps = createMemo(() => {
23
+ const rawProps = typeof props === "function" ? props() : props;
24
+ return splitProps(rawProps, ["initialItems", "filter", "limit"]);
25
+ });
26
+ const init = () => {
27
+ const [localProps] = splittedProps();
28
+ return localProps.initialItems;
29
+ };
30
+ const [items, setItemsImpl] = createSignal(init());
31
+ const [filterText, setFilterText] = createSignal("");
32
+ const setItems = (newItems) => {
33
+ setItemsImpl(newItems);
34
+ setFilterText("");
35
+ };
36
+ const create = (itemsToCreate) => {
37
+ const [, collectionOptions] = splittedProps();
38
+ return createListCollection({ ...collectionOptions, items: itemsToCreate });
39
+ };
40
+ const collection = createMemo(() => {
41
+ const [localProps, collectionOptions] = splittedProps();
42
+ const filter = localProps.filter;
43
+ let activeItems = items();
44
+ if (filterText() && filter) {
45
+ activeItems = create(items()).filter((itemString, _index, item) => filter(itemString, filterText(), item)).items;
46
+ }
47
+ const limitedItems = localProps.limit == null ? activeItems : activeItems.slice(0, localProps.limit);
48
+ return createListCollection({ ...collectionOptions, items: limitedItems });
49
+ });
50
+ return {
51
+ collection,
52
+ filter: (inputValue = "") => {
53
+ setFilterText(inputValue);
54
+ },
55
+ set: (newItems) => {
56
+ setItems(newItems);
57
+ },
58
+ reset: () => {
59
+ const [localProps] = splittedProps();
60
+ setItems(localProps.initialItems);
61
+ },
62
+ clear: () => {
63
+ setItems([]);
64
+ },
65
+ insert: (index, ...itemsToInsert) => {
66
+ const newItems = create(items()).insert(index, ...itemsToInsert).items;
67
+ setItems(newItems);
68
+ },
69
+ insertBefore: (value, ...itemsToInsert) => {
70
+ const newItems = create(items()).insertBefore(value, ...itemsToInsert).items;
71
+ setItems(newItems);
72
+ },
73
+ insertAfter: (value, ...itemsToInsert) => {
74
+ const newItems = create(items()).insertAfter(value, ...itemsToInsert).items;
75
+ setItems(newItems);
76
+ },
77
+ remove: (...itemOrValues) => {
78
+ const newItems = create(items()).remove(...itemOrValues).items;
79
+ setItems(newItems);
80
+ },
81
+ move: (value, to) => {
82
+ const newItems = create(items()).move(value, to).items;
83
+ setItems(newItems);
84
+ },
85
+ moveBefore: (value, ...values) => {
86
+ const newItems = create(items()).moveBefore(value, ...values).items;
87
+ setItems(newItems);
88
+ },
89
+ moveAfter: (value, ...values) => {
90
+ const newItems = create(items()).moveAfter(value, ...values).items;
91
+ setItems(newItems);
92
+ },
93
+ reorder: (from, to) => {
94
+ const newItems = create(items()).reorder(from, to).items;
95
+ setItems(newItems);
96
+ },
97
+ append: (...itemsToAppend) => {
98
+ const newItems = create(items()).append(...itemsToAppend).items;
99
+ setItems(newItems);
100
+ },
101
+ upsert: (value, item, mode = "append") => {
102
+ const newItems = create(items()).upsert(value, item, mode).items;
103
+ setItems(newItems);
104
+ },
105
+ prepend: (...itemsToPrepend) => {
106
+ const newItems = create(items()).prepend(...itemsToPrepend).items;
107
+ setItems(newItems);
108
+ },
109
+ update: (value, item) => {
110
+ const newItems = create(items()).update(value, item).items;
111
+ setItems(newItems);
112
+ }
113
+ };
114
+ }
115
+
116
+ // src/components/collection/use-list-selection.ts
117
+ import { Selection } from "@zag-js/collection";
118
+ import { createEffect, createMemo as createMemo2, createSignal as createSignal2, on, splitProps as splitProps2 } from "solid-js";
119
+ function useListSelection(props) {
120
+ const splittedProps = createMemo2(() => {
121
+ const rawProps = typeof props === "function" ? props() : props;
122
+ return splitProps2(rawProps, [
123
+ "collection",
124
+ "selectionMode",
125
+ "deselectable",
126
+ "initialSelectedValues",
127
+ "resetOnCollectionChange"
128
+ ]);
129
+ });
130
+ const createSelection = (values = []) => {
131
+ const [localProps] = splittedProps();
132
+ const selection2 = new Selection(values);
133
+ selection2.selectionMode = localProps.selectionMode ?? "single";
134
+ selection2.deselectable = localProps.deselectable ?? true;
135
+ return selection2;
136
+ };
137
+ const init = () => {
138
+ const [localProps] = splittedProps();
139
+ return createSelection(localProps.initialSelectedValues ?? []);
140
+ };
141
+ const [selection, setSelection] = createSignal2(init());
142
+ const watchDeps = () => {
143
+ const [{ collection, resetOnCollectionChange }] = splittedProps();
144
+ return [collection.getValues(), resetOnCollectionChange];
145
+ };
146
+ createEffect(
147
+ on(
148
+ watchDeps,
149
+ ([, resetOnCollectionChange]) => {
150
+ if (resetOnCollectionChange) {
151
+ setSelection(createSelection());
152
+ }
153
+ },
154
+ { defer: true }
155
+ )
156
+ );
157
+ const selectedValues = createMemo2(() => Array.from(selection()));
158
+ const isEmpty = createMemo2(() => selection().isEmpty());
159
+ const firstSelectedValue = createMemo2(() => {
160
+ const [localProps] = splittedProps();
161
+ return selection().firstSelectedValue(localProps.collection);
162
+ });
163
+ const lastSelectedValue = createMemo2(() => {
164
+ const [localProps] = splittedProps();
165
+ return selection().lastSelectedValue(localProps.collection);
166
+ });
167
+ return {
168
+ selectedValues,
169
+ isEmpty,
170
+ firstSelectedValue,
171
+ lastSelectedValue,
172
+ isSelected: (value) => {
173
+ return selection().isSelected(value);
174
+ },
175
+ isAllSelected: () => {
176
+ const [localProps] = splittedProps();
177
+ const allValues = localProps.collection.getValues();
178
+ return allValues.length > 0 && allValues.every((value) => selection().isSelected(value));
179
+ },
180
+ isSomeSelected: () => {
181
+ const [localProps] = splittedProps();
182
+ const allValues = localProps.collection.getValues();
183
+ return allValues.some((value) => selection().isSelected(value));
184
+ },
185
+ canSelect: (value) => {
186
+ const [localProps] = splittedProps();
187
+ return selection().canSelect(localProps.collection, value);
188
+ },
189
+ select: (value, forceToggle) => {
190
+ const [localProps] = splittedProps();
191
+ setSelection(selection().select(localProps.collection, value, forceToggle));
192
+ },
193
+ deselect: (value) => {
194
+ setSelection(selection().deselect(value));
195
+ },
196
+ toggle: (value) => {
197
+ const [localProps] = splittedProps();
198
+ setSelection(selection().toggleSelection(localProps.collection, value));
199
+ },
200
+ replace: (value) => {
201
+ const [localProps] = splittedProps();
202
+ setSelection(selection().replaceSelection(localProps.collection, value));
203
+ },
204
+ extend: (anchorValue, targetValue) => {
205
+ const [localProps] = splittedProps();
206
+ setSelection(selection().extendSelection(localProps.collection, anchorValue, targetValue));
207
+ },
208
+ setSelectedValues: (values) => {
209
+ setSelection(selection().setSelection(values));
210
+ },
211
+ clear: () => {
212
+ setSelection(selection().clearSelection());
213
+ },
214
+ resetSelection: () => {
215
+ setSelection(createSelection());
216
+ },
217
+ setSelection: (newSelection) => {
218
+ setSelection(selection().setSelection(newSelection));
219
+ },
220
+ setSelectionMode: (mode) => {
221
+ const newSelection = selection().copy();
222
+ newSelection.selectionMode = mode;
223
+ setSelection(newSelection);
224
+ },
225
+ setDeselectable: (deselectable) => {
226
+ const newSelection = selection().copy();
227
+ newSelection.deselectable = deselectable;
228
+ setSelection(newSelection);
229
+ }
230
+ };
231
+ }
232
+
233
+ export {
234
+ createGridCollection,
235
+ createListCollection,
236
+ createTreeCollection,
237
+ createFileTreeCollection,
238
+ useListCollection,
239
+ useListSelection
240
+ };
@@ -4,7 +4,7 @@ export { CheckedChangeDetails as CheckboxCheckedChangeDetails, CheckedState as C
4
4
  import * as solid_js from 'solid-js';
5
5
  import { Accessor, JSX } from 'solid-js';
6
6
  import { PropTypes } from '@zag-js/solid';
7
- import { O as Optional, M as MaybeAccessor } from '../../types-Bc0WfPsv.js';
7
+ import { O as Optional, M as MaybeAccessor, A as Assign } from '../../types-Bc0WfPsv.js';
8
8
  import { HTMLProps, PolymorphicProps } from '../factory.js';
9
9
  import * as _zag_js_anatomy from '@zag-js/anatomy';
10
10
 
@@ -90,6 +90,19 @@ interface CheckboxGroupProps extends HTMLProps<'div'>, CheckboxGroupBaseProps {
90
90
  }
91
91
  declare const CheckboxGroup: (props: CheckboxGroupProps) => solid_js.JSX.Element;
92
92
 
93
+ interface UseCheckboxGroupContext extends UseCheckboxGroupReturn {
94
+ }
95
+ declare const useCheckboxGroupContext: () => UseCheckboxGroupContext | undefined;
96
+
97
+ interface ProviderProps {
98
+ value: UseCheckboxGroupContext;
99
+ }
100
+ interface CheckboxGroupProviderBaseProps extends ProviderProps, PolymorphicProps<'div'> {
101
+ }
102
+ interface CheckboxGroupProviderProps extends Assign<HTMLProps<'div'>, CheckboxGroupProviderBaseProps> {
103
+ }
104
+ declare const CheckboxGroupProvider: (props: CheckboxGroupProviderProps) => solid_js.JSX.Element;
105
+
93
106
  interface CheckboxHiddenInputBaseProps extends PolymorphicProps<'input'> {
94
107
  }
95
108
  interface CheckboxHiddenInputProps extends HTMLProps<'input'>, CheckboxHiddenInputBaseProps {
@@ -126,16 +139,12 @@ interface CheckboxRootProviderProps extends HTMLProps<'label'>, RootProviderProp
126
139
  }
127
140
  declare const CheckboxRootProvider: (props: CheckboxRootProviderProps) => solid_js.JSX.Element;
128
141
 
129
- declare const checkboxAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "root" | "group" | "control" | "indicator">;
130
-
131
- interface UseCheckboxGroupContext extends UseCheckboxGroupReturn {
132
- }
133
- declare const useCheckboxGroupContext: () => UseCheckboxGroupContext | undefined;
142
+ declare const checkboxAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "group" | "root" | "control" | "indicator">;
134
143
 
135
144
  declare const checkbox_CheckedChangeDetails: typeof CheckedChangeDetails;
136
145
  declare const checkbox_CheckedState: typeof CheckedState;
137
146
  declare namespace checkbox {
138
- export { checkbox_CheckedChangeDetails as CheckedChangeDetails, checkbox_CheckedState as CheckedState, CheckboxContext as Context, type CheckboxContextProps as ContextProps, CheckboxControl as Control, type CheckboxControlBaseProps as ControlBaseProps, type CheckboxControlProps as ControlProps, CheckboxGroup as Group, type CheckboxGroupBaseProps as GroupBaseProps, type CheckboxGroupProps as GroupProps, CheckboxHiddenInput as HiddenInput, type CheckboxHiddenInputBaseProps as HiddenInputBaseProps, type CheckboxHiddenInputProps as HiddenInputProps, CheckboxIndicator as Indicator, type CheckboxIndicatorBaseProps as IndicatorBaseProps, type CheckboxIndicatorProps as IndicatorProps, CheckboxLabel as Label, type CheckboxLabelBaseProps as LabelBaseProps, type CheckboxLabelProps as LabelProps, CheckboxRoot as Root, type CheckboxRootBaseProps as RootBaseProps, type CheckboxRootProps as RootProps, CheckboxRootProvider as RootProvider, type CheckboxRootProviderBaseProps as RootProviderBaseProps, type CheckboxRootProviderProps as RootProviderProps };
147
+ export { checkbox_CheckedChangeDetails as CheckedChangeDetails, checkbox_CheckedState as CheckedState, CheckboxContext as Context, type CheckboxContextProps as ContextProps, CheckboxControl as Control, type CheckboxControlBaseProps as ControlBaseProps, type CheckboxControlProps as ControlProps, CheckboxGroup as Group, type CheckboxGroupBaseProps as GroupBaseProps, type CheckboxGroupProps as GroupProps, CheckboxGroupProvider as GroupProvider, type CheckboxGroupProviderBaseProps as GroupProviderBaseProps, type CheckboxGroupProviderProps as GroupProviderProps, CheckboxHiddenInput as HiddenInput, type CheckboxHiddenInputBaseProps as HiddenInputBaseProps, type CheckboxHiddenInputProps as HiddenInputProps, CheckboxIndicator as Indicator, type CheckboxIndicatorBaseProps as IndicatorBaseProps, type CheckboxIndicatorProps as IndicatorProps, CheckboxLabel as Label, type CheckboxLabelBaseProps as LabelBaseProps, type CheckboxLabelProps as LabelProps, CheckboxRoot as Root, type CheckboxRootBaseProps as RootBaseProps, type CheckboxRootProps as RootProps, CheckboxRootProvider as RootProvider, type CheckboxRootProviderBaseProps as RootProviderBaseProps, type CheckboxRootProviderProps as RootProviderProps };
139
148
  }
140
149
 
141
- export { checkbox as Checkbox, CheckboxContext, type CheckboxContextProps, CheckboxControl, type CheckboxControlBaseProps, type CheckboxControlProps, CheckboxGroup, type CheckboxGroupBaseProps, type CheckboxGroupProps, CheckboxHiddenInput, type CheckboxHiddenInputBaseProps, type CheckboxHiddenInputProps, CheckboxIndicator, type CheckboxIndicatorBaseProps, type CheckboxIndicatorProps, CheckboxLabel, type CheckboxLabelBaseProps, type CheckboxLabelProps, CheckboxRoot, type CheckboxRootBaseProps, type CheckboxRootProps, CheckboxRootProvider, type CheckboxRootProviderBaseProps, type CheckboxRootProviderProps, type UseCheckboxContext, type UseCheckboxGroupContext, type UseCheckboxGroupProps, type UseCheckboxGroupReturn, type UseCheckboxProps, type UseCheckboxReturn, checkboxAnatomy, useCheckbox, useCheckboxContext, useCheckboxGroup, useCheckboxGroupContext };
150
+ export { checkbox as Checkbox, CheckboxContext, type CheckboxContextProps, CheckboxControl, type CheckboxControlBaseProps, type CheckboxControlProps, CheckboxGroup, type CheckboxGroupBaseProps, type CheckboxGroupProps, CheckboxGroupProvider, type CheckboxGroupProviderBaseProps, type CheckboxGroupProviderProps, CheckboxHiddenInput, type CheckboxHiddenInputBaseProps, type CheckboxHiddenInputProps, CheckboxIndicator, type CheckboxIndicatorBaseProps, type CheckboxIndicatorProps, CheckboxLabel, type CheckboxLabelBaseProps, type CheckboxLabelProps, CheckboxRoot, type CheckboxRootBaseProps, type CheckboxRootProps, CheckboxRootProvider, type CheckboxRootProviderBaseProps, type CheckboxRootProviderProps, type UseCheckboxContext, type UseCheckboxGroupContext, type UseCheckboxGroupProps, type UseCheckboxGroupReturn, type UseCheckboxProps, type UseCheckboxReturn, checkboxAnatomy, useCheckbox, useCheckboxContext, useCheckboxGroup, useCheckboxGroupContext };
@@ -1 +1 @@
1
- export { checkbox_exports as Checkbox, CheckboxContext, CheckboxControl, CheckboxGroup, CheckboxHiddenInput, CheckboxIndicator, CheckboxLabel, CheckboxRoot, CheckboxRootProvider, checkboxAnatomy, useCheckbox, useCheckboxContext, useCheckboxGroup, useCheckboxGroupContext } from '../../chunk/L4PQJRRA.js';
1
+ export { checkbox_exports as Checkbox, CheckboxContext, CheckboxControl, CheckboxGroup, CheckboxGroupProvider, CheckboxHiddenInput, CheckboxIndicator, CheckboxLabel, CheckboxRoot, CheckboxRootProvider, checkboxAnatomy, useCheckbox, useCheckboxContext, useCheckboxGroup, useCheckboxGroupContext } from '../../chunk/XZJYSF6N.js';
@@ -2,6 +2,7 @@ import {
2
2
  CheckboxContext,
3
3
  CheckboxControl,
4
4
  CheckboxGroup,
5
+ CheckboxGroupProvider,
5
6
  CheckboxHiddenInput,
6
7
  CheckboxIndicator,
7
8
  CheckboxLabel,
@@ -13,7 +14,7 @@ import {
13
14
  useCheckboxContext,
14
15
  useCheckboxGroup,
15
16
  useCheckboxGroupContext
16
- } from "../../chunk/KNVMVQG6.jsx";
17
+ } from "../../chunk/L22RABDV.jsx";
17
18
  import "../../chunk/HQOIDGRU.jsx";
18
19
  import "../../chunk/JY6PMVAK.jsx";
19
20
  import "../../chunk/DOBZPYAN.jsx";
@@ -30,6 +31,7 @@ export {
30
31
  CheckboxContext,
31
32
  CheckboxControl,
32
33
  CheckboxGroup,
34
+ CheckboxGroupProvider,
33
35
  CheckboxHiddenInput,
34
36
  CheckboxIndicator,
35
37
  CheckboxLabel,
@@ -1,11 +1,113 @@
1
- import { CollectionItem, GridCollectionOptions, GridCollection } from '@zag-js/collection';
1
+ import { CollectionItem, GridCollectionOptions, GridCollection, SelectionMode, ListCollection } from '@zag-js/collection';
2
2
  export { CollectionItem, CollectionOptions, FilePathTreeNode, FlatTreeNode, GridCollection, GridCollectionOptions, ListCollection, TreeCollection, TreeCollectionOptions, TreeNode } from '@zag-js/collection';
3
3
  export { c as createListCollection } from '../../list-collection-nOYDJvsQ.js';
4
4
  export { c as createFileTreeCollection, a as createTreeCollection } from '../../tree-collection-BGrnj3vg.js';
5
- export { U as UseListCollectionProps, u as useListCollection } from '../../use-list-collection-C2rvMTSM.js';
6
- import '../../types-Bc0WfPsv.js';
5
+ export { U as UseListCollectionProps, a as UseListCollectionReturn, u as useListCollection } from '../../use-list-collection-Dk2gVdQ2.js';
6
+ import { M as MaybeAccessor } from '../../types-Bc0WfPsv.js';
7
7
  import 'solid-js';
8
8
 
9
9
  declare const createGridCollection: <T extends CollectionItem>(options: GridCollectionOptions<T>) => GridCollection<T>;
10
10
 
11
- export { createGridCollection };
11
+ interface UseListSelectionProps<T extends CollectionItem> {
12
+ /**
13
+ * The selection mode.
14
+ */
15
+ selectionMode?: SelectionMode;
16
+ /**
17
+ * Whether the selection is deselectable.
18
+ */
19
+ deselectable?: boolean;
20
+ /**
21
+ * The initial selected values.
22
+ */
23
+ initialSelectedValues?: string[];
24
+ /**
25
+ * Whether to reset the selection when the collection changes.
26
+ */
27
+ resetOnCollectionChange?: boolean;
28
+ /**
29
+ * The collection to use.
30
+ */
31
+ collection: ListCollection<T>;
32
+ }
33
+ declare function useListSelection<T extends CollectionItem>(props: MaybeAccessor<UseListSelectionProps<T>>): UseListSelectionReturn;
34
+ interface UseListSelectionReturn {
35
+ /**
36
+ * The selected values as an array.
37
+ */
38
+ selectedValues: () => string[];
39
+ /**
40
+ * Whether the selection is empty.
41
+ */
42
+ isEmpty: () => boolean;
43
+ /**
44
+ * The first selected value.
45
+ */
46
+ firstSelectedValue: () => string | null;
47
+ /**
48
+ * The last selected value.
49
+ */
50
+ lastSelectedValue: () => string | null;
51
+ /**
52
+ * Check if a value is selected.
53
+ */
54
+ isSelected: (value: string | null) => boolean;
55
+ /**
56
+ * Check if a value can be selected.
57
+ */
58
+ canSelect: (value: string) => boolean;
59
+ /**
60
+ * Select a value.
61
+ */
62
+ select: (value: string, forceToggle?: boolean) => void;
63
+ /**
64
+ * Deselect a value.
65
+ */
66
+ deselect: (value: string) => void;
67
+ /**
68
+ * Toggle selection of a value.
69
+ */
70
+ toggle: (value: string) => void;
71
+ /**
72
+ * Replace the selection with a single value.
73
+ */
74
+ replace: (value: string | null) => void;
75
+ /**
76
+ * Extend the selection from anchor to target.
77
+ */
78
+ extend: (anchorValue: string, targetValue: string) => void;
79
+ /**
80
+ * Set the selected values.
81
+ */
82
+ setSelectedValues: (values: string[]) => void;
83
+ /**
84
+ * Clear the selection.
85
+ */
86
+ clear: () => void;
87
+ /**
88
+ * Clear all selections.
89
+ */
90
+ resetSelection: () => void;
91
+ /**
92
+ * Returns true if all items from the collection are selected.
93
+ */
94
+ isAllSelected: () => boolean;
95
+ /**
96
+ * Returns true if at least one item from the collection is selected.
97
+ */
98
+ isSomeSelected: () => boolean;
99
+ /**
100
+ * Set the selection to a specific array of items.
101
+ */
102
+ setSelection: (selection: string[]) => void;
103
+ /**
104
+ * Set the selection mode.
105
+ */
106
+ setSelectionMode: (mode: SelectionMode) => void;
107
+ /**
108
+ * Set whether the selection is deselectable.
109
+ */
110
+ setDeselectable: (deselectable: boolean) => void;
111
+ }
112
+
113
+ export { type UseListSelectionProps, type UseListSelectionReturn, createGridCollection, useListSelection };
@@ -1 +1 @@
1
- export { createFileTreeCollection, createGridCollection, createListCollection, createTreeCollection, useListCollection } from '../../chunk/XL4VFEPW.js';
1
+ export { createFileTreeCollection, createGridCollection, createListCollection, createTreeCollection, useListCollection, useListSelection } from '../../chunk/7HON4OS6.js';
@@ -3,13 +3,15 @@ import {
3
3
  createGridCollection,
4
4
  createListCollection,
5
5
  createTreeCollection,
6
- useListCollection
7
- } from "../../chunk/AQUEJK4Z.jsx";
6
+ useListCollection,
7
+ useListSelection
8
+ } from "../../chunk/ZHSHZ7SJ.jsx";
8
9
  import "../../chunk/7IUG3E2V.jsx";
9
10
  export {
10
11
  createFileTreeCollection,
11
12
  createGridCollection,
12
13
  createListCollection,
13
14
  createTreeCollection,
14
- useListCollection
15
+ useListCollection,
16
+ useListSelection
15
17
  };
@@ -206,7 +206,7 @@ interface ColorPickerViewProps extends HTMLProps<'div'>, ColorPickerViewBaseProp
206
206
  }
207
207
  declare const ColorPickerView: (props: ColorPickerViewProps) => solid_js.JSX.Element;
208
208
 
209
- declare const colorPickerAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "root" | "area" | "view" | "content" | "trigger" | "control" | "valueText" | "positioner" | "formatSelect" | "areaThumb" | "channelInput" | "channelSliderTrack" | "channelSliderThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderValueText" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger">;
209
+ declare const colorPickerAnatomy: _zag_js_anatomy.AnatomyInstance<"area" | "label" | "view" | "content" | "root" | "trigger" | "control" | "valueText" | "positioner" | "formatSelect" | "areaThumb" | "channelInput" | "channelSliderTrack" | "channelSliderThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderValueText" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger">;
210
210
 
211
211
  declare const colorPicker_Color: typeof Color;
212
212
  declare const colorPicker_ColorFormat: typeof ColorFormat;
@@ -33,12 +33,12 @@ import {
33
33
  parse,
34
34
  useColorPicker,
35
35
  useColorPickerContext
36
- } from "../../chunk/C46RVY7A.jsx";
37
- import "../../chunk/H6ODLFPJ.jsx";
38
- import "../../chunk/NEBB7COJ.jsx";
36
+ } from "../../chunk/XOIHVYJ7.jsx";
39
37
  import "../../chunk/HQOIDGRU.jsx";
40
38
  import "../../chunk/JY6PMVAK.jsx";
39
+ import "../../chunk/WC2HBDLJ.jsx";
41
40
  import "../../chunk/DOBZPYAN.jsx";
41
+ import "../../chunk/NEBB7COJ.jsx";
42
42
  import "../../chunk/6WEDGJKQ.jsx";
43
43
  import "../../chunk/UFYZ7HLU.jsx";
44
44
  import "../../chunk/ODQYYKL5.jsx";
@@ -4,7 +4,7 @@ export { HighlightChangeDetails as ComboboxHighlightChangeDetails, InputValueCha
4
4
  import { ListCollection, CollectionItem as CollectionItem$1 } from '@zag-js/collection';
5
5
  export { CollectionItem, ListCollection } from '@zag-js/collection';
6
6
  export { c as createListCollection } from '../../list-collection-nOYDJvsQ.js';
7
- export { U as UseListCollectionProps, u as useListCollection } from '../../use-list-collection-C2rvMTSM.js';
7
+ export { U as UseListCollectionProps, u as useListCollection } from '../../use-list-collection-Dk2gVdQ2.js';
8
8
  import * as solid_js from 'solid-js';
9
9
  import { Accessor, JSX } from 'solid-js';
10
10
  import { HTMLProps, PolymorphicProps } from '../factory.js';
@@ -1,2 +1,2 @@
1
1
  export { combobox_exports as Combobox, ComboboxClearTrigger, ComboboxContent, ComboboxContext, ComboboxControl, ComboboxInput, ComboboxItem, ComboboxItemContext, ComboboxItemGroup, ComboboxItemGroupLabel, ComboboxItemIndicator, ComboboxItemText, ComboboxLabel, ComboboxList, ComboboxPositioner, ComboboxRoot, ComboboxRootProvider, ComboboxTrigger, anatomy as comboboxAnatomy, useCombobox, useComboboxContext, useComboboxItemContext } from '../../chunk/5UKLBKNF.js';
2
- export { createListCollection, useListCollection } from '../../chunk/XL4VFEPW.js';
2
+ export { createListCollection, useListCollection } from '../../chunk/7HON4OS6.js';
@@ -21,16 +21,16 @@ import {
21
21
  useCombobox,
22
22
  useComboboxContext,
23
23
  useComboboxItemContext
24
- } from "../../chunk/WBYGZCTU.jsx";
24
+ } from "../../chunk/6XAZQVOY.jsx";
25
+ import "../../chunk/HQOIDGRU.jsx";
26
+ import "../../chunk/JY6PMVAK.jsx";
25
27
  import {
26
28
  createListCollection,
27
29
  useListCollection
28
- } from "../../chunk/AQUEJK4Z.jsx";
29
- import "../../chunk/H6ODLFPJ.jsx";
30
- import "../../chunk/NEBB7COJ.jsx";
31
- import "../../chunk/HQOIDGRU.jsx";
32
- import "../../chunk/JY6PMVAK.jsx";
30
+ } from "../../chunk/ZHSHZ7SJ.jsx";
31
+ import "../../chunk/WC2HBDLJ.jsx";
33
32
  import "../../chunk/DOBZPYAN.jsx";
33
+ import "../../chunk/NEBB7COJ.jsx";
34
34
  import "../../chunk/6WEDGJKQ.jsx";
35
35
  import "../../chunk/UFYZ7HLU.jsx";
36
36
  import "../../chunk/ODQYYKL5.jsx";
@@ -186,7 +186,7 @@ interface DatePickerYearSelectProps extends HTMLProps<'select'>, DatePickerYearS
186
186
  }
187
187
  declare const DatePickerYearSelect: (props: DatePickerYearSelectProps) => solid_js.JSX.Element;
188
188
 
189
- declare const datePickerAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "input" | "root" | "table" | "view" | "content" | "trigger" | "control" | "nextTrigger" | "prevTrigger" | "positioner" | "clearTrigger" | "tableHeader" | "tableBody" | "tableRow" | "viewTrigger" | "monthSelect" | "yearSelect" | "presetTrigger" | "rangeText" | "tableCell" | "tableCellTrigger" | "tableHead" | "viewControl">;
189
+ declare const datePickerAnatomy: _zag_js_anatomy.AnatomyInstance<"input" | "label" | "table" | "view" | "content" | "root" | "trigger" | "control" | "nextTrigger" | "prevTrigger" | "positioner" | "clearTrigger" | "tableHeader" | "tableBody" | "tableRow" | "viewTrigger" | "monthSelect" | "yearSelect" | "presetTrigger" | "rangeText" | "tableCell" | "tableCellTrigger" | "tableHead" | "viewControl">;
190
190
 
191
191
  declare const datePicker_DateValue: typeof DateValue;
192
192
  declare const datePicker_FocusChangeDetails: typeof FocusChangeDetails;
@@ -30,10 +30,10 @@ import {
30
30
  parse,
31
31
  useDatePicker,
32
32
  useDatePickerContext
33
- } from "../../chunk/FC67EFPW.jsx";
34
- import "../../chunk/H6ODLFPJ.jsx";
35
- import "../../chunk/NEBB7COJ.jsx";
33
+ } from "../../chunk/D2MI7N5P.jsx";
34
+ import "../../chunk/WC2HBDLJ.jsx";
36
35
  import "../../chunk/DOBZPYAN.jsx";
36
+ import "../../chunk/NEBB7COJ.jsx";
37
37
  import "../../chunk/6WEDGJKQ.jsx";
38
38
  import "../../chunk/UFYZ7HLU.jsx";
39
39
  import "../../chunk/ODQYYKL5.jsx";
@@ -13,10 +13,10 @@ import {
13
13
  dialog_exports,
14
14
  useDialog,
15
15
  useDialogContext
16
- } from "../../chunk/FRSNRGQK.jsx";
17
- import "../../chunk/H6ODLFPJ.jsx";
18
- import "../../chunk/NEBB7COJ.jsx";
16
+ } from "../../chunk/VXQNQSLM.jsx";
17
+ import "../../chunk/WC2HBDLJ.jsx";
19
18
  import "../../chunk/DOBZPYAN.jsx";
19
+ import "../../chunk/NEBB7COJ.jsx";
20
20
  import "../../chunk/6WEDGJKQ.jsx";
21
21
  import "../../chunk/UFYZ7HLU.jsx";
22
22
  import "../../chunk/ODQYYKL5.jsx";
@@ -201,7 +201,7 @@ interface FieldTextareaProps extends HTMLProps<'textarea'>, FieldTextareaBasePro
201
201
  }
202
202
  declare const FieldTextarea: (props: FieldTextareaProps) => solid_js.JSX.Element;
203
203
 
204
- declare const fieldAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "input" | "textarea" | "select" | "root" | "errorText" | "helperText" | "requiredIndicator">;
204
+ declare const fieldAnatomy: _zag_js_anatomy.AnatomyInstance<"input" | "label" | "select" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator">;
205
205
 
206
206
  declare namespace field {
207
207
  export { FieldContext as Context, type FieldContextProps as ContextProps, FieldErrorText as ErrorText, type FieldErrorTextBaseProps as ErrorTextBaseProps, type FieldErrorTextProps as ErrorTextProps, FieldHelperText as HelperText, type FieldHelperTextBaseProps as HelperTextBaseProps, type FieldHelperTextProps as HelperTextProps, FieldInput as Input, type FieldInputBaseProps as InputBaseProps, type FieldInputProps as InputProps, FieldLabel as Label, type FieldLabelBaseProps as LabelBaseProps, type FieldLabelProps as LabelProps, FieldRequiredIndicator as RequiredIndicator, type FieldRequiredIndicatorBaseProps as RequiredIndicatorBaseProps, type FieldRequiredIndicatorProps as RequiredIndicatorProps, FieldRoot as Root, type FieldRootBaseProps as RootBaseProps, type FieldRootProps as RootProps, FieldRootProvider as RootProvider, type FieldRootProviderBaseProps as RootProviderBaseProps, type FieldRootProviderProps as RootProviderProps, FieldSelect as Select, type FieldSelectBaseProps as SelectBaseProps, type FieldSelectProps as SelectProps, FieldTextarea as Textarea, type FieldTextareaBaseProps as TextareaBaseProps, type FieldTextareaProps as TextareaProps };
@@ -97,7 +97,7 @@ interface FieldsetRootProviderProps extends HTMLProps<'fieldset'>, FieldsetRootP
97
97
  }
98
98
  declare const FieldsetRootProvider: (props: FieldsetRootProviderProps) => solid_js.JSX.Element;
99
99
 
100
- declare const fieldsetAnatomy: _zag_js_anatomy.AnatomyInstance<"root" | "legend" | "errorText" | "helperText">;
100
+ declare const fieldsetAnatomy: _zag_js_anatomy.AnatomyInstance<"legend" | "root" | "errorText" | "helperText">;
101
101
 
102
102
  declare namespace fieldset {
103
103
  export { FieldsetContext as Context, type FieldsetContextProps as ContextProps, FieldsetErrorText as ErrorText, type FieldsetErrorTextBaseProps as ErrorTextBaseProps, type FieldsetErrorTextProps as ErrorTextProps, FieldsetHelperText as HelperText, type FieldsetHelperTextBaseProps as HelperTextBaseProps, type FieldsetHelperTextProps as HelperTextProps, FieldsetLegend as Legend, type FieldsetLegendBaseProps as LegendBaseProps, type FieldsetLegendProps as LegendProps, FieldsetRoot as Root, type FieldsetRootBaseProps as RootBaseProps, type FieldsetRootProps as RootProps, FieldsetRootProvider as RootProvider, type FieldsetRootProviderBaseProps as RootProviderBaseProps, type FieldsetRootProviderProps as RootProviderProps };
@@ -1,6 +1,6 @@
1
1
  import * as fileUpload$1 from '@zag-js/file-upload';
2
- import { DropzoneProps, ItemProps, FileAcceptDetails, FileChangeDetails, FileRejectDetails, FileValidateDetails } from '@zag-js/file-upload';
3
- export { FileAcceptDetails as FileUploadFileAcceptDetails, FileChangeDetails as FileUploadFileChangeDetails, FileRejectDetails as FileUploadFileRejectDetails, FileValidateDetails as FileUploadFileValidateDetails, anatomy as fileUploadAnatomy } from '@zag-js/file-upload';
2
+ import { DropzoneProps, ItemProps, FileAcceptDetails, FileChangeDetails, FileError, FileMimeType, FileRejectDetails, FileRejection, FileValidateDetails } from '@zag-js/file-upload';
3
+ export { FileAcceptDetails as FileUploadFileAcceptDetails, FileChangeDetails as FileUploadFileChangeDetails, FileError as FileUploadFileError, FileMimeType as FileUploadFileMimeType, FileRejectDetails as FileUploadFileRejectDetails, FileRejection as FileUploadFileRejection, FileValidateDetails as FileUploadFileValidateDetails, anatomy as fileUploadAnatomy } from '@zag-js/file-upload';
4
4
  import * as solid_js from 'solid-js';
5
5
  import { Accessor, JSX } from 'solid-js';
6
6
  import { HTMLProps, PolymorphicProps } from '../factory.js';
@@ -116,10 +116,13 @@ declare const FileUploadTrigger: (props: FileUploadTriggerProps) => solid_js.JSX
116
116
 
117
117
  declare const fileUpload_FileAcceptDetails: typeof FileAcceptDetails;
118
118
  declare const fileUpload_FileChangeDetails: typeof FileChangeDetails;
119
+ declare const fileUpload_FileError: typeof FileError;
120
+ declare const fileUpload_FileMimeType: typeof FileMimeType;
119
121
  declare const fileUpload_FileRejectDetails: typeof FileRejectDetails;
122
+ declare const fileUpload_FileRejection: typeof FileRejection;
120
123
  declare const fileUpload_FileValidateDetails: typeof FileValidateDetails;
121
124
  declare namespace fileUpload {
122
- export { FileUploadClearTrigger as ClearTrigger, type FileUploadClearTriggerBaseProps as ClearTriggerBaseProps, type FileUploadClearTriggerProps as ClearTriggerProps, FileUploadContext as Context, type FileUploadContextProps as ContextProps, FileUploadDropzone as Dropzone, type FileUploadDropzoneBaseProps as DropzoneBaseProps, type FileUploadDropzoneProps as DropzoneProps, fileUpload_FileAcceptDetails as FileAcceptDetails, fileUpload_FileChangeDetails as FileChangeDetails, fileUpload_FileRejectDetails as FileRejectDetails, fileUpload_FileValidateDetails as FileValidateDetails, FileUploadHiddenInput as HiddenInput, type FileUploadHiddenInputBaseProps as HiddenInputBaseProps, type FileUploadHiddenInputProps as HiddenInputProps, FileUploadItem as Item, type FileUploadItemBaseProps as ItemBaseProps, FileUploadItemDeleteTrigger as ItemDeleteTrigger, type FileUploadItemDeleteTriggerBaseProps as ItemDeleteTriggerBaseProps, type FileUploadItemDeleteTriggerProps as ItemDeleteTriggerProps, FileUploadItemGroup as ItemGroup, type FileUploadItemGroupBaseProps as ItemGroupBaseProps, type FileUploadItemGroupProps as ItemGroupProps, FileUploadItemName as ItemName, type FileUploadItemNameBaseProps as ItemNameBaseProps, type FileUploadItemNameProps as ItemNameProps, FileUploadItemPreview as ItemPreview, type FileUploadItemPreviewBaseProps as ItemPreviewBaseProps, FileUploadItemPreviewImage as ItemPreviewImage, type FileUploadItemPreviewImageBaseProps as ItemPreviewImageBaseProps, type FileUploadItemPreviewImageProps as ItemPreviewImageProps, type FileUploadItemPreviewProps as ItemPreviewProps, type FileUploadItemProps as ItemProps, FileUploadItemSizeText as ItemSizeText, type FileUploadItemSizeTextBaseProps as ItemSizeTextBaseProps, type FileUploadItemSizeTextProps as ItemSizeTextProps, FileUploadLabel as Label, type FileUploadLabelBaseProps as LabelBaseProps, type FileUploadLabelProps as LabelProps, FileUploadRoot as Root, type FileUploadRootBaseProps as RootBaseProps, type FileUploadRootProps as RootProps, FileUploadRootProvider as RootProvider, type FileUploadRootProviderBaseProps as RootProviderBaseProps, type FileUploadRootProviderProps as RootProviderProps, FileUploadTrigger as Trigger, type FileUploadTriggerBaseProps as TriggerBaseProps, type FileUploadTriggerProps as TriggerProps };
125
+ export { FileUploadClearTrigger as ClearTrigger, type FileUploadClearTriggerBaseProps as ClearTriggerBaseProps, type FileUploadClearTriggerProps as ClearTriggerProps, FileUploadContext as Context, type FileUploadContextProps as ContextProps, FileUploadDropzone as Dropzone, type FileUploadDropzoneBaseProps as DropzoneBaseProps, type FileUploadDropzoneProps as DropzoneProps, fileUpload_FileAcceptDetails as FileAcceptDetails, fileUpload_FileChangeDetails as FileChangeDetails, fileUpload_FileError as FileError, fileUpload_FileMimeType as FileMimeType, fileUpload_FileRejectDetails as FileRejectDetails, fileUpload_FileRejection as FileRejection, fileUpload_FileValidateDetails as FileValidateDetails, FileUploadHiddenInput as HiddenInput, type FileUploadHiddenInputBaseProps as HiddenInputBaseProps, type FileUploadHiddenInputProps as HiddenInputProps, FileUploadItem as Item, type FileUploadItemBaseProps as ItemBaseProps, FileUploadItemDeleteTrigger as ItemDeleteTrigger, type FileUploadItemDeleteTriggerBaseProps as ItemDeleteTriggerBaseProps, type FileUploadItemDeleteTriggerProps as ItemDeleteTriggerProps, FileUploadItemGroup as ItemGroup, type FileUploadItemGroupBaseProps as ItemGroupBaseProps, type FileUploadItemGroupProps as ItemGroupProps, FileUploadItemName as ItemName, type FileUploadItemNameBaseProps as ItemNameBaseProps, type FileUploadItemNameProps as ItemNameProps, FileUploadItemPreview as ItemPreview, type FileUploadItemPreviewBaseProps as ItemPreviewBaseProps, FileUploadItemPreviewImage as ItemPreviewImage, type FileUploadItemPreviewImageBaseProps as ItemPreviewImageBaseProps, type FileUploadItemPreviewImageProps as ItemPreviewImageProps, type FileUploadItemPreviewProps as ItemPreviewProps, type FileUploadItemProps as ItemProps, FileUploadItemSizeText as ItemSizeText, type FileUploadItemSizeTextBaseProps as ItemSizeTextBaseProps, type FileUploadItemSizeTextProps as ItemSizeTextProps, FileUploadLabel as Label, type FileUploadLabelBaseProps as LabelBaseProps, type FileUploadLabelProps as LabelProps, FileUploadRoot as Root, type FileUploadRootBaseProps as RootBaseProps, type FileUploadRootProps as RootProps, FileUploadRootProvider as RootProvider, type FileUploadRootProviderBaseProps as RootProviderBaseProps, type FileUploadRootProviderProps as RootProviderProps, FileUploadTrigger as Trigger, type FileUploadTriggerBaseProps as TriggerBaseProps, type FileUploadTriggerProps as TriggerProps };
123
126
  }
124
127
 
125
128
  export { fileUpload as FileUpload, FileUploadClearTrigger, type FileUploadClearTriggerBaseProps, type FileUploadClearTriggerProps, FileUploadContext, type FileUploadContextProps, FileUploadDropzone, type FileUploadDropzoneBaseProps, type FileUploadDropzoneProps, FileUploadHiddenInput, type FileUploadHiddenInputBaseProps, type FileUploadHiddenInputProps, FileUploadItem, type FileUploadItemBaseProps, FileUploadItemDeleteTrigger, type FileUploadItemDeleteTriggerBaseProps, type FileUploadItemDeleteTriggerProps, FileUploadItemGroup, type FileUploadItemGroupBaseProps, type FileUploadItemGroupProps, FileUploadItemName, type FileUploadItemNameBaseProps, type FileUploadItemNameProps, FileUploadItemPreview, type FileUploadItemPreviewBaseProps, FileUploadItemPreviewImage, type FileUploadItemPreviewImageBaseProps, type FileUploadItemPreviewImageProps, type FileUploadItemPreviewProps, type FileUploadItemProps, FileUploadItemSizeText, type FileUploadItemSizeTextBaseProps, type FileUploadItemSizeTextProps, FileUploadLabel, type FileUploadLabelBaseProps, type FileUploadLabelProps, FileUploadRoot, type FileUploadRootBaseProps, type FileUploadRootProps, FileUploadRootProvider, type FileUploadRootProviderBaseProps, type FileUploadRootProviderProps, FileUploadTrigger, type FileUploadTriggerBaseProps, type FileUploadTriggerProps, type UseFileUploadContext, type UseFileUploadProps, type UseFileUploadReturn, useFileUpload, useFileUploadContext };
@@ -1 +1 @@
1
- export { file_upload_exports as FileUpload, FileUploadClearTrigger, FileUploadContext, FileUploadDropzone, FileUploadHiddenInput, FileUploadItem, FileUploadItemDeleteTrigger, FileUploadItemGroup, FileUploadItemName, FileUploadItemPreview, FileUploadItemPreviewImage, FileUploadItemSizeText, FileUploadLabel, FileUploadRoot, FileUploadRootProvider, FileUploadTrigger, anatomy as fileUploadAnatomy, useFileUpload, useFileUploadContext } from '../../chunk/FQGMWBGA.js';
1
+ export { file_upload_exports as FileUpload, FileUploadClearTrigger, FileUploadContext, FileUploadDropzone, FileUploadHiddenInput, FileUploadItem, FileUploadItemDeleteTrigger, FileUploadItemGroup, FileUploadItemName, FileUploadItemPreview, FileUploadItemPreviewImage, FileUploadItemSizeText, FileUploadLabel, FileUploadRoot, FileUploadRootProvider, FileUploadTrigger, anatomy as fileUploadAnatomy, useFileUpload, useFileUploadContext } from '../../chunk/HSBJVWHB.js';
@@ -18,7 +18,7 @@ import {
18
18
  file_upload_exports,
19
19
  useFileUpload,
20
20
  useFileUploadContext
21
- } from "../../chunk/4T2T3PMU.jsx";
21
+ } from "../../chunk/UYFUB47A.jsx";
22
22
  import "../../chunk/HQOIDGRU.jsx";
23
23
  import "../../chunk/JY6PMVAK.jsx";
24
24
  import "../../chunk/DOBZPYAN.jsx";