@ark-ui/solid 5.11.0 → 5.13.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/chunk/{KAYDBHSW.jsx → 2Z37DOO5.jsx} +5 -5
- package/dist/chunk/{V2GDFVDR.jsx → 3HYU2MCP.jsx} +1 -1
- package/dist/chunk/{3DOPQCHJ.jsx → 5FW3VV3B.jsx} +4 -4
- package/dist/chunk/{UW5WJ2LL.jsx → 5OA4XEHW.jsx} +4 -4
- package/dist/chunk/{35XSFKD5.jsx → 5UVX33V2.jsx} +4 -4
- package/dist/chunk/{GKS4JQZJ.jsx → 6Q4ZZUWZ.jsx} +4 -4
- package/dist/chunk/{JEPST7BN.jsx → 7AMCFBJH.jsx} +5 -5
- package/dist/chunk/{QC5C6JJA.jsx → 7BS7ZITV.jsx} +5 -5
- package/dist/chunk/{NPHS6PVV.jsx → A6XGGK7D.jsx} +4 -4
- package/dist/chunk/{5U4KEVIU.jsx → B4ZXV6YG.jsx} +4 -4
- package/dist/chunk/{SRW6BLJ4.jsx → BANMH5LL.jsx} +5 -5
- package/dist/chunk/{XKBIT7L5.jsx → C2TYPWCS.jsx} +5 -5
- package/dist/chunk/{J3ETCCNJ.js → EL2ORF75.js} +23 -16
- package/dist/chunk/FBAKX74S.js +86 -0
- package/dist/chunk/{JY6PMVAK.jsx → FS6GEMRM.jsx} +4 -4
- package/dist/chunk/{PPQSRJ6X.jsx → GTT47L2X.jsx} +6 -6
- package/dist/chunk/{MM6NNI6M.jsx → J4VOAZA3.jsx} +4 -4
- package/dist/chunk/{N3H47LNB.jsx → JWPRFVT7.jsx} +4 -4
- package/dist/chunk/{AKYIM67Z.jsx → LHJM3X56.jsx} +5 -5
- package/dist/chunk/{POJRD725.jsx → LY6KT2RR.jsx} +4 -4
- package/dist/chunk/{ZTNABPZL.jsx → MOOX4K4V.jsx} +5 -5
- package/dist/chunk/{WOUVNHGI.jsx → N5PC6SPR.jsx} +5 -5
- package/dist/chunk/{S4OS4UYL.jsx → NLGFQW27.jsx} +5 -5
- package/dist/chunk/{4FUKCXPR.jsx → NUPYPPGN.jsx} +5 -5
- package/dist/chunk/{HQOIDGRU.jsx → O2Q7MOG6.jsx} +2 -2
- package/dist/chunk/{XUH2TAUG.jsx → OCZWTABP.jsx} +5 -5
- package/dist/chunk/{HDKSS6KE.jsx → OIG52XTL.jsx} +1 -1
- package/dist/chunk/{RC4UV6HP.jsx → P5YRDHKG.jsx} +5 -5
- package/dist/chunk/{2UVDYZIY.jsx → P5ZRUIVB.jsx} +4 -4
- package/dist/chunk/{4UNGYCFT.jsx → PNYN26W7.jsx} +4 -4
- package/dist/chunk/{JQSSQ4LS.jsx → QNNABUNA.jsx} +4 -4
- package/dist/chunk/{XIT3ASUI.jsx → RKHQB2WQ.jsx} +6 -6
- package/dist/chunk/{AUVF4L3Q.jsx → SXZY4NGI.jsx} +5 -5
- package/dist/chunk/{LKPEYZZO.jsx → TILCNQZF.jsx} +5 -5
- package/dist/chunk/{JUBTXT4B.jsx → TTZNIVIU.jsx} +5 -5
- package/dist/chunk/{YAOPG62Z.jsx → UBCF5HI7.jsx} +4 -4
- package/dist/chunk/{OKNWZYMH.jsx → VSLHNUS2.jsx} +5 -5
- package/dist/chunk/{WG67YHCV.jsx → WCLRKV7H.jsx} +5 -5
- package/dist/chunk/{HP3ZGMDZ.jsx → WYNHVCCC.jsx} +4 -4
- package/dist/chunk/XEXZI6CD.jsx +104 -0
- package/dist/chunk/{C5TKHQPT.jsx → XKDJ2JV3.jsx} +31 -22
- package/dist/chunk/{WHXDBQDP.jsx → XOVDOF3R.jsx} +4 -4
- package/dist/chunk/{GDPPSUOA.jsx → XSBZIIQM.jsx} +5 -5
- package/dist/chunk/{2WR5J3OZ.jsx → XSDPU3EV.jsx} +6 -6
- package/dist/chunk/{MTT5ESIK.jsx → XWFAYRYW.jsx} +5 -5
- package/dist/chunk/{PVGCB42Y.jsx → Y46NS2RB.jsx} +5 -5
- package/dist/chunk/{ZNBZTQ46.jsx → YIQG5BP3.jsx} +5 -5
- package/dist/chunk/{RULCXX3A.jsx → ZF7UP5R3.jsx} +4 -4
- package/dist/chunk/{TTIVTOWQ.jsx → ZMXVBUJS.jsx} +1 -1
- package/dist/components/accordion/index.jsx +5 -5
- package/dist/components/angle-slider/index.jsx +4 -4
- package/dist/components/avatar/index.jsx +4 -4
- package/dist/components/carousel/index.jsx +4 -4
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkbox/index.jsx +6 -6
- package/dist/components/clipboard/index.jsx +4 -4
- package/dist/components/collapsible/index.jsx +4 -4
- package/dist/components/collection/index.d.ts +11 -0
- package/dist/components/collection/index.js +1 -0
- package/dist/components/collection/index.jsx +15 -0
- package/dist/components/color-picker/index.d.ts +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/color-picker/index.jsx +7 -7
- package/dist/components/combobox/index.d.ts +4 -3
- package/dist/components/combobox/index.js +2 -2
- package/dist/components/combobox/index.jsx +13 -11
- package/dist/components/date-picker/index.d.ts +1 -1
- package/dist/components/date-picker/index.jsx +5 -5
- package/dist/components/dialog/index.jsx +5 -5
- package/dist/components/download-trigger/index.jsx +4 -4
- package/dist/components/editable/index.jsx +6 -6
- package/dist/components/field/index.d.ts +1 -1
- package/dist/components/field/index.jsx +5 -5
- package/dist/components/fieldset/index.d.ts +1 -1
- package/dist/components/fieldset/index.jsx +4 -4
- package/dist/components/file-upload/index.jsx +6 -6
- package/dist/components/floating-panel/index.jsx +5 -5
- package/dist/components/format/index.jsx +2 -2
- package/dist/components/frame/index.jsx +3 -3
- package/dist/components/hover-card/index.jsx +5 -5
- package/dist/components/index.d.ts +7 -5
- package/dist/components/index.js +22 -22
- package/dist/components/index.jsx +396 -390
- package/dist/components/listbox/index.d.ts +3 -3
- package/dist/components/listbox/index.js +1 -1
- package/dist/components/listbox/index.jsx +5 -5
- package/dist/components/menu/index.jsx +5 -5
- package/dist/components/number-input/index.jsx +6 -6
- package/dist/components/pagination/index.jsx +4 -4
- package/dist/components/password-input/index.jsx +6 -6
- package/dist/components/pin-input/index.jsx +6 -6
- package/dist/components/popover/index.jsx +5 -5
- package/dist/components/presence/index.jsx +2 -2
- package/dist/components/progress/index.d.ts +6 -4
- package/dist/components/progress/index.jsx +4 -4
- package/dist/components/qr-code/index.jsx +4 -4
- package/dist/components/radio-group/index.jsx +4 -4
- package/dist/components/rating-group/index.jsx +6 -6
- package/dist/components/segment-group/index.jsx +4 -4
- package/dist/components/select/index.d.ts +4 -3
- package/dist/components/select/index.js +2 -2
- package/dist/components/select/index.jsx +12 -10
- package/dist/components/signature-pad/index.jsx +6 -6
- package/dist/components/slider/index.jsx +4 -4
- package/dist/components/splitter/index.jsx +4 -4
- package/dist/components/steps/index.jsx +4 -4
- package/dist/components/switch/index.jsx +6 -6
- package/dist/components/tabs/index.jsx +5 -5
- package/dist/components/tags-input/index.jsx +6 -6
- package/dist/components/time-picker/index.jsx +5 -5
- package/dist/components/timer/index.jsx +4 -4
- package/dist/components/toast/index.jsx +4 -4
- package/dist/components/toggle-group/index.jsx +4 -4
- package/dist/components/tooltip/index.jsx +5 -5
- package/dist/components/tour/index.jsx +5 -5
- package/dist/components/tree-view/index.d.ts +11 -7
- package/dist/components/tree-view/index.js +2 -2
- package/dist/components/tree-view/index.jsx +12 -8
- package/dist/index.d.ts +7 -5
- package/dist/index.js +22 -22
- package/dist/index.jsx +395 -389
- package/dist/list-collection-nOYDJvsQ.d.ts +5 -0
- package/dist/providers/environment/index.jsx +2 -2
- package/dist/providers/index.jsx +2 -2
- package/dist/tree-collection-BGrnj3vg.d.ts +6 -0
- package/dist/use-list-collection-FJyPsrh3.d.ts +39 -0
- package/package.json +53 -53
- package/dist/chunk/MOG4V2NQ.jsx +0 -15
- package/dist/chunk/OAPCRIL5.js +0 -8
- package/dist/components/collection.d.ts +0 -9
- package/dist/components/collection.js +0 -1
- package/dist/components/collection.jsx +0 -11
- package/dist/chunk/{HXBZ7BRX.js → 5UKLBKNF.js} +1 -1
- package/dist/chunk/{E2L62MKC.jsx → 6J5H27AQ.jsx} +3 -3
- package/dist/chunk/{JFFJERKH.js → D6MFUKUH.js} +1 -1
- package/dist/chunk/{WC2HBDLJ.jsx → RHCMSWDF.jsx} +3 -3
- package/dist/chunk/{RFQ7YTWX.js → ZRSPQAUK.js} +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EnvironmentProvider,
|
|
3
3
|
useEnvironmentContext
|
|
4
|
-
} from "../../chunk/
|
|
5
|
-
import "../../chunk/TVCIHLER.jsx";
|
|
4
|
+
} from "../../chunk/6J5H27AQ.jsx";
|
|
6
5
|
import "../../chunk/KGOB2IMX.jsx";
|
|
6
|
+
import "../../chunk/TVCIHLER.jsx";
|
|
7
7
|
import "../../chunk/7IUG3E2V.jsx";
|
|
8
8
|
export {
|
|
9
9
|
EnvironmentProvider,
|
package/dist/providers/index.jsx
CHANGED
|
@@ -2,14 +2,14 @@ import "../chunk/ODQYYKL5.jsx";
|
|
|
2
2
|
import {
|
|
3
3
|
EnvironmentProvider,
|
|
4
4
|
useEnvironmentContext
|
|
5
|
-
} from "../chunk/
|
|
5
|
+
} from "../chunk/6J5H27AQ.jsx";
|
|
6
|
+
import "../chunk/KGOB2IMX.jsx";
|
|
6
7
|
import {
|
|
7
8
|
LocaleProvider,
|
|
8
9
|
useFilter,
|
|
9
10
|
useLocaleContext
|
|
10
11
|
} from "../chunk/YUC6JE7K.jsx";
|
|
11
12
|
import "../chunk/TVCIHLER.jsx";
|
|
12
|
-
import "../chunk/KGOB2IMX.jsx";
|
|
13
13
|
import "../chunk/7IUG3E2V.jsx";
|
|
14
14
|
export {
|
|
15
15
|
EnvironmentProvider,
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TreeCollection, FilePathTreeNode, TreeNode, TreeCollectionOptions } from '@zag-js/collection';
|
|
2
|
+
|
|
3
|
+
declare const createTreeCollection: <T extends TreeNode>(options: TreeCollectionOptions<T>) => TreeCollection<T>;
|
|
4
|
+
declare const createFileTreeCollection: (paths: string[]) => TreeCollection<FilePathTreeNode>;
|
|
5
|
+
|
|
6
|
+
export { createTreeCollection as a, createFileTreeCollection as c };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as solid_js from 'solid-js';
|
|
2
|
+
import { M as MaybeAccessor } from './types-Bc0WfPsv.js';
|
|
3
|
+
import { CollectionOptions, ListCollection } from '@zag-js/collection';
|
|
4
|
+
|
|
5
|
+
interface UseListCollectionProps<T> extends Omit<CollectionOptions<T>, 'items'> {
|
|
6
|
+
/**
|
|
7
|
+
* The initial items to display in the collection.
|
|
8
|
+
*/
|
|
9
|
+
initialItems: T[];
|
|
10
|
+
/**
|
|
11
|
+
* The filter function to use to filter the items.
|
|
12
|
+
*/
|
|
13
|
+
filter?: (itemText: string, filterText: string) => boolean;
|
|
14
|
+
/**
|
|
15
|
+
* The maximum number of items to display in the collection.
|
|
16
|
+
* Useful for performance when you have a large number of items.
|
|
17
|
+
*/
|
|
18
|
+
limit?: number;
|
|
19
|
+
}
|
|
20
|
+
declare function useListCollection<T>(props: MaybeAccessor<UseListCollectionProps<T>>): {
|
|
21
|
+
collection: solid_js.Accessor<ListCollection<T>>;
|
|
22
|
+
filter: (inputValue: string) => void;
|
|
23
|
+
set: (items: T[]) => void;
|
|
24
|
+
reset: () => void;
|
|
25
|
+
clear: () => void;
|
|
26
|
+
insert: (index: number, ...items: T[]) => void;
|
|
27
|
+
insertBefore: (value: string, ...items: T[]) => void;
|
|
28
|
+
insertAfter: (value: string, ...items: T[]) => void;
|
|
29
|
+
remove: (...itemOrValues: T[]) => void;
|
|
30
|
+
move: (value: string, to: number) => void;
|
|
31
|
+
moveBefore: (value: string, ...values: string[]) => void;
|
|
32
|
+
moveAfter: (value: string, ...values: string[]) => void;
|
|
33
|
+
reorder: (from: number, to: number) => void;
|
|
34
|
+
append: (...items: T[]) => void;
|
|
35
|
+
prepend: (...items: T[]) => void;
|
|
36
|
+
update: (value: string, item: T) => void;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export { type UseListCollectionProps as U, useListCollection as u };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ark-ui/solid",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.13.0",
|
|
5
5
|
"description": "A collection of unstyled, accessible UI components for Solid, utilizing state machines for seamless interaction.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"accordion",
|
|
@@ -115,57 +115,57 @@
|
|
|
115
115
|
"sideEffects": false,
|
|
116
116
|
"dependencies": {
|
|
117
117
|
"@internationalized/date": "3.8.1",
|
|
118
|
-
"@zag-js/accordion": "1.
|
|
119
|
-
"@zag-js/angle-slider": "1.
|
|
120
|
-
"@zag-js/anatomy": "1.
|
|
121
|
-
"@zag-js/auto-resize": "1.
|
|
122
|
-
"@zag-js/avatar": "1.
|
|
123
|
-
"@zag-js/carousel": "1.
|
|
124
|
-
"@zag-js/checkbox": "1.
|
|
125
|
-
"@zag-js/clipboard": "1.
|
|
126
|
-
"@zag-js/collapsible": "1.
|
|
127
|
-
"@zag-js/collection": "1.
|
|
128
|
-
"@zag-js/color-picker": "1.
|
|
129
|
-
"@zag-js/combobox": "1.
|
|
130
|
-
"@zag-js/date-picker": "1.
|
|
131
|
-
"@zag-js/dialog": "1.
|
|
132
|
-
"@zag-js/dom-query": "1.
|
|
133
|
-
"@zag-js/editable": "1.
|
|
134
|
-
"@zag-js/file-upload": "1.
|
|
135
|
-
"@zag-js/file-utils": "1.
|
|
136
|
-
"@zag-js/focus-trap": "1.
|
|
137
|
-
"@zag-js/highlight-word": "1.
|
|
138
|
-
"@zag-js/hover-card": "1.
|
|
139
|
-
"@zag-js/i18n-utils": "1.
|
|
140
|
-
"@zag-js/menu": "1.
|
|
141
|
-
"@zag-js/number-input": "1.
|
|
142
|
-
"@zag-js/pagination": "1.
|
|
143
|
-
"@zag-js/pin-input": "1.
|
|
144
|
-
"@zag-js/popover": "1.
|
|
145
|
-
"@zag-js/presence": "1.
|
|
146
|
-
"@zag-js/progress": "1.
|
|
147
|
-
"@zag-js/qr-code": "1.
|
|
148
|
-
"@zag-js/radio-group": "1.
|
|
149
|
-
"@zag-js/rating-group": "1.
|
|
150
|
-
"@zag-js/select": "1.
|
|
151
|
-
"@zag-js/signature-pad": "1.
|
|
152
|
-
"@zag-js/slider": "1.
|
|
153
|
-
"@zag-js/solid": "1.
|
|
154
|
-
"@zag-js/splitter": "1.
|
|
155
|
-
"@zag-js/steps": "1.
|
|
156
|
-
"@zag-js/switch": "1.
|
|
157
|
-
"@zag-js/tabs": "1.
|
|
158
|
-
"@zag-js/tags-input": "1.
|
|
159
|
-
"@zag-js/time-picker": "1.
|
|
160
|
-
"@zag-js/timer": "1.
|
|
161
|
-
"@zag-js/toast": "1.
|
|
162
|
-
"@zag-js/toggle": "1.
|
|
163
|
-
"@zag-js/toggle-group": "1.
|
|
164
|
-
"@zag-js/tooltip": "1.
|
|
165
|
-
"@zag-js/tour": "1.
|
|
166
|
-
"@zag-js/tree-view": "1.
|
|
167
|
-
"@zag-js/types": "1.
|
|
168
|
-
"@zag-js/utils": "1.
|
|
118
|
+
"@zag-js/accordion": "1.15.0",
|
|
119
|
+
"@zag-js/angle-slider": "1.15.0",
|
|
120
|
+
"@zag-js/anatomy": "1.15.0",
|
|
121
|
+
"@zag-js/auto-resize": "1.15.0",
|
|
122
|
+
"@zag-js/avatar": "1.15.0",
|
|
123
|
+
"@zag-js/carousel": "1.15.0",
|
|
124
|
+
"@zag-js/checkbox": "1.15.0",
|
|
125
|
+
"@zag-js/clipboard": "1.15.0",
|
|
126
|
+
"@zag-js/collapsible": "1.15.0",
|
|
127
|
+
"@zag-js/collection": "1.15.0",
|
|
128
|
+
"@zag-js/color-picker": "1.15.0",
|
|
129
|
+
"@zag-js/combobox": "1.15.0",
|
|
130
|
+
"@zag-js/date-picker": "1.15.0",
|
|
131
|
+
"@zag-js/dialog": "1.15.0",
|
|
132
|
+
"@zag-js/dom-query": "1.15.0",
|
|
133
|
+
"@zag-js/editable": "1.15.0",
|
|
134
|
+
"@zag-js/file-upload": "1.15.0",
|
|
135
|
+
"@zag-js/file-utils": "1.15.0",
|
|
136
|
+
"@zag-js/focus-trap": "1.15.0",
|
|
137
|
+
"@zag-js/highlight-word": "1.15.0",
|
|
138
|
+
"@zag-js/hover-card": "1.15.0",
|
|
139
|
+
"@zag-js/i18n-utils": "1.15.0",
|
|
140
|
+
"@zag-js/menu": "1.15.0",
|
|
141
|
+
"@zag-js/number-input": "1.15.0",
|
|
142
|
+
"@zag-js/pagination": "1.15.0",
|
|
143
|
+
"@zag-js/pin-input": "1.15.0",
|
|
144
|
+
"@zag-js/popover": "1.15.0",
|
|
145
|
+
"@zag-js/presence": "1.15.0",
|
|
146
|
+
"@zag-js/progress": "1.15.0",
|
|
147
|
+
"@zag-js/qr-code": "1.15.0",
|
|
148
|
+
"@zag-js/radio-group": "1.15.0",
|
|
149
|
+
"@zag-js/rating-group": "1.15.0",
|
|
150
|
+
"@zag-js/select": "1.15.0",
|
|
151
|
+
"@zag-js/signature-pad": "1.15.0",
|
|
152
|
+
"@zag-js/slider": "1.15.0",
|
|
153
|
+
"@zag-js/solid": "1.15.0",
|
|
154
|
+
"@zag-js/splitter": "1.15.0",
|
|
155
|
+
"@zag-js/steps": "1.15.0",
|
|
156
|
+
"@zag-js/switch": "1.15.0",
|
|
157
|
+
"@zag-js/tabs": "1.15.0",
|
|
158
|
+
"@zag-js/tags-input": "1.15.0",
|
|
159
|
+
"@zag-js/time-picker": "1.15.0",
|
|
160
|
+
"@zag-js/timer": "1.15.0",
|
|
161
|
+
"@zag-js/toast": "1.15.0",
|
|
162
|
+
"@zag-js/toggle": "1.15.0",
|
|
163
|
+
"@zag-js/toggle-group": "1.15.0",
|
|
164
|
+
"@zag-js/tooltip": "1.15.0",
|
|
165
|
+
"@zag-js/tour": "1.15.0",
|
|
166
|
+
"@zag-js/tree-view": "1.15.0",
|
|
167
|
+
"@zag-js/types": "1.15.0",
|
|
168
|
+
"@zag-js/utils": "1.15.0"
|
|
169
169
|
},
|
|
170
170
|
"devDependencies": {
|
|
171
171
|
"@biomejs/biome": "1.9.4",
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
"@testing-library/jest-dom": "6.6.3",
|
|
181
181
|
"@testing-library/user-event": "14.6.1",
|
|
182
182
|
"@types/jsdom": "21.1.7",
|
|
183
|
-
"@zag-js/stringify-state": "1.
|
|
183
|
+
"@zag-js/stringify-state": "1.15.0",
|
|
184
184
|
"clean-package": "2.2.0",
|
|
185
185
|
"esbuild-plugin-solid": "0.6.0",
|
|
186
186
|
"globby": "14.1.0",
|
package/dist/chunk/MOG4V2NQ.jsx
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// src/components/collection.ts
|
|
2
|
-
import {
|
|
3
|
-
ListCollection,
|
|
4
|
-
TreeCollection,
|
|
5
|
-
filePathToTree
|
|
6
|
-
} from "@zag-js/collection";
|
|
7
|
-
var createListCollection = (options) => new ListCollection(options);
|
|
8
|
-
var createTreeCollection = (options) => new TreeCollection(options);
|
|
9
|
-
var createFileTreeCollection = (paths) => filePathToTree(paths);
|
|
10
|
-
|
|
11
|
-
export {
|
|
12
|
-
createListCollection,
|
|
13
|
-
createTreeCollection,
|
|
14
|
-
createFileTreeCollection
|
|
15
|
-
};
|
package/dist/chunk/OAPCRIL5.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ListCollection, TreeCollection, filePathToTree } from '@zag-js/collection';
|
|
2
|
-
|
|
3
|
-
// src/components/collection.ts
|
|
4
|
-
var createListCollection = (options) => new ListCollection(options);
|
|
5
|
-
var createTreeCollection = (options) => new TreeCollection(options);
|
|
6
|
-
var createFileTreeCollection = (paths) => filePathToTree(paths);
|
|
7
|
-
|
|
8
|
-
export { createFileTreeCollection, createListCollection, createTreeCollection };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CollectionItem, CollectionOptions, ListCollection, TreeCollection, FilePathTreeNode, TreeNode, TreeCollectionOptions } from '@zag-js/collection';
|
|
2
|
-
export { CollectionItem, CollectionOptions, GridCollectionOptions, ListCollection, SelectionMode, TreeCollection, TreeCollectionOptions, TreeNode } from '@zag-js/collection';
|
|
3
|
-
|
|
4
|
-
declare const createListCollection: <T extends CollectionItem>(options: CollectionOptions<T>) => ListCollection<T>;
|
|
5
|
-
|
|
6
|
-
declare const createTreeCollection: <T extends TreeNode>(options: TreeCollectionOptions<T>) => TreeCollection<T>;
|
|
7
|
-
declare const createFileTreeCollection: (paths: string[]) => TreeCollection<FilePathTreeNode>;
|
|
8
|
-
|
|
9
|
-
export { createFileTreeCollection, createListCollection, createTreeCollection };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { createFileTreeCollection, createListCollection, createTreeCollection } from '../chunk/OAPCRIL5.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './7S3N5UQH.js';
|
|
2
1
|
import { useFieldContext } from './NC7W2KIE.js';
|
|
2
|
+
import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './7S3N5UQH.js';
|
|
3
3
|
import { composeRefs } from './XN6EERRM.js';
|
|
4
4
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
5
5
|
import { ark } from './EPLBB4QN.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createContext
|
|
3
|
-
} from "./TVCIHLER.jsx";
|
|
4
1
|
import {
|
|
5
2
|
runIfFn
|
|
6
3
|
} from "./KGOB2IMX.jsx";
|
|
4
|
+
import {
|
|
5
|
+
createContext
|
|
6
|
+
} from "./TVCIHLER.jsx";
|
|
7
7
|
|
|
8
8
|
// src/providers/environment/environment-provider.tsx
|
|
9
9
|
import { getDocument, getWindow } from "@zag-js/dom-query";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './7S3N5UQH.js';
|
|
2
1
|
import { useFieldContext } from './NC7W2KIE.js';
|
|
2
|
+
import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './7S3N5UQH.js';
|
|
3
3
|
import { composeRefs } from './XN6EERRM.js';
|
|
4
4
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
5
5
|
import { ark } from './EPLBB4QN.js';
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
ark
|
|
12
12
|
} from "./UFYZ7HLU.jsx";
|
|
13
|
-
import {
|
|
14
|
-
createContext
|
|
15
|
-
} from "./TVCIHLER.jsx";
|
|
16
13
|
import {
|
|
17
14
|
runIfFn
|
|
18
15
|
} from "./KGOB2IMX.jsx";
|
|
16
|
+
import {
|
|
17
|
+
createContext
|
|
18
|
+
} from "./TVCIHLER.jsx";
|
|
19
19
|
|
|
20
20
|
// src/components/presence/presence.tsx
|
|
21
21
|
import { mergeProps } from "@zag-js/solid";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './7S3N5UQH.js';
|
|
2
1
|
import { useFieldContext } from './NC7W2KIE.js';
|
|
2
|
+
import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './7S3N5UQH.js';
|
|
3
3
|
import { composeRefs } from './XN6EERRM.js';
|
|
4
4
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
5
5
|
import { ark } from './EPLBB4QN.js';
|