@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
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./RHCMSWDF.jsx";
|
|
7
7
|
import {
|
|
8
8
|
composeRefs
|
|
9
9
|
} from "./DOBZPYAN.jsx";
|
|
@@ -20,16 +20,16 @@ import {
|
|
|
20
20
|
} from "./UFYZ7HLU.jsx";
|
|
21
21
|
import {
|
|
22
22
|
useEnvironmentContext
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./6J5H27AQ.jsx";
|
|
24
|
+
import {
|
|
25
|
+
runIfFn
|
|
26
|
+
} from "./KGOB2IMX.jsx";
|
|
24
27
|
import {
|
|
25
28
|
useLocaleContext
|
|
26
29
|
} from "./YUC6JE7K.jsx";
|
|
27
30
|
import {
|
|
28
31
|
createContext
|
|
29
32
|
} from "./TVCIHLER.jsx";
|
|
30
|
-
import {
|
|
31
|
-
runIfFn
|
|
32
|
-
} from "./KGOB2IMX.jsx";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
35
|
} from "./7IUG3E2V.jsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./O2Q7MOG6.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
10
|
import {
|
|
11
11
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./6J5H27AQ.jsx";
|
|
13
|
+
import {
|
|
14
|
+
runIfFn
|
|
15
|
+
} from "./KGOB2IMX.jsx";
|
|
13
16
|
import {
|
|
14
17
|
useLocaleContext
|
|
15
18
|
} from "./YUC6JE7K.jsx";
|
|
16
19
|
import {
|
|
17
20
|
createContext
|
|
18
21
|
} from "./TVCIHLER.jsx";
|
|
19
|
-
import {
|
|
20
|
-
runIfFn
|
|
21
|
-
} from "./KGOB2IMX.jsx";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./7IUG3E2V.jsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldsetContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./FS6GEMRM.jsx";
|
|
4
4
|
import {
|
|
5
5
|
composeRefs
|
|
6
6
|
} from "./DOBZPYAN.jsx";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./UFYZ7HLU.jsx";
|
|
13
13
|
import {
|
|
14
14
|
useEnvironmentContext
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./6J5H27AQ.jsx";
|
|
16
16
|
import {
|
|
17
17
|
createContext
|
|
18
18
|
} from "./TVCIHLER.jsx";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./RHCMSWDF.jsx";
|
|
7
7
|
import {
|
|
8
8
|
composeRefs
|
|
9
9
|
} from "./DOBZPYAN.jsx";
|
|
@@ -20,16 +20,16 @@ import {
|
|
|
20
20
|
} from "./UFYZ7HLU.jsx";
|
|
21
21
|
import {
|
|
22
22
|
useEnvironmentContext
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./6J5H27AQ.jsx";
|
|
24
|
+
import {
|
|
25
|
+
runIfFn
|
|
26
|
+
} from "./KGOB2IMX.jsx";
|
|
24
27
|
import {
|
|
25
28
|
useLocaleContext
|
|
26
29
|
} from "./YUC6JE7K.jsx";
|
|
27
30
|
import {
|
|
28
31
|
createContext
|
|
29
32
|
} from "./TVCIHLER.jsx";
|
|
30
|
-
import {
|
|
31
|
-
runIfFn
|
|
32
|
-
} from "./KGOB2IMX.jsx";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
35
|
} from "./7IUG3E2V.jsx";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./RHCMSWDF.jsx";
|
|
7
7
|
import {
|
|
8
8
|
composeRefs
|
|
9
9
|
} from "./DOBZPYAN.jsx";
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
16
|
import {
|
|
17
17
|
useEnvironmentContext
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./6J5H27AQ.jsx";
|
|
19
|
+
import {
|
|
20
|
+
runIfFn
|
|
21
|
+
} from "./KGOB2IMX.jsx";
|
|
19
22
|
import {
|
|
20
23
|
useLocaleContext
|
|
21
24
|
} from "./YUC6JE7K.jsx";
|
|
22
25
|
import {
|
|
23
26
|
createContext
|
|
24
27
|
} from "./TVCIHLER.jsx";
|
|
25
|
-
import {
|
|
26
|
-
runIfFn
|
|
27
|
-
} from "./KGOB2IMX.jsx";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
30
|
} from "./7IUG3E2V.jsx";
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./6J5H27AQ.jsx";
|
|
10
|
+
import {
|
|
11
|
+
runIfFn
|
|
12
|
+
} from "./KGOB2IMX.jsx";
|
|
10
13
|
import {
|
|
11
14
|
useLocaleContext
|
|
12
15
|
} from "./YUC6JE7K.jsx";
|
|
13
16
|
import {
|
|
14
17
|
createContext
|
|
15
18
|
} from "./TVCIHLER.jsx";
|
|
16
|
-
import {
|
|
17
|
-
runIfFn
|
|
18
|
-
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
21
|
} from "./7IUG3E2V.jsx";
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./6J5H27AQ.jsx";
|
|
10
|
+
import {
|
|
11
|
+
runIfFn
|
|
12
|
+
} from "./KGOB2IMX.jsx";
|
|
10
13
|
import {
|
|
11
14
|
useLocaleContext
|
|
12
15
|
} from "./YUC6JE7K.jsx";
|
|
13
16
|
import {
|
|
14
17
|
createContext
|
|
15
18
|
} from "./TVCIHLER.jsx";
|
|
16
|
-
import {
|
|
17
|
-
runIfFn
|
|
18
|
-
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
21
|
} from "./7IUG3E2V.jsx";
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
10
|
import {
|
|
11
11
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./6J5H27AQ.jsx";
|
|
13
|
+
import {
|
|
14
|
+
runIfFn
|
|
15
|
+
} from "./KGOB2IMX.jsx";
|
|
13
16
|
import {
|
|
14
17
|
useLocaleContext
|
|
15
18
|
} from "./YUC6JE7K.jsx";
|
|
16
19
|
import {
|
|
17
20
|
createContext
|
|
18
21
|
} from "./TVCIHLER.jsx";
|
|
19
|
-
import {
|
|
20
|
-
runIfFn
|
|
21
|
-
} from "./KGOB2IMX.jsx";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./7IUG3E2V.jsx";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./O2Q7MOG6.jsx";
|
|
4
4
|
import {
|
|
5
5
|
PresenceProvider,
|
|
6
6
|
splitPresenceProps,
|
|
7
7
|
usePresence,
|
|
8
8
|
usePresenceContext
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./RHCMSWDF.jsx";
|
|
10
10
|
import {
|
|
11
11
|
composeRefs
|
|
12
12
|
} from "./DOBZPYAN.jsx";
|
|
@@ -18,16 +18,16 @@ import {
|
|
|
18
18
|
} from "./UFYZ7HLU.jsx";
|
|
19
19
|
import {
|
|
20
20
|
useEnvironmentContext
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./6J5H27AQ.jsx";
|
|
22
|
+
import {
|
|
23
|
+
runIfFn
|
|
24
|
+
} from "./KGOB2IMX.jsx";
|
|
22
25
|
import {
|
|
23
26
|
useLocaleContext
|
|
24
27
|
} from "./YUC6JE7K.jsx";
|
|
25
28
|
import {
|
|
26
29
|
createContext
|
|
27
30
|
} from "./TVCIHLER.jsx";
|
|
28
|
-
import {
|
|
29
|
-
runIfFn
|
|
30
|
-
} from "./KGOB2IMX.jsx";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
33
|
} from "./7IUG3E2V.jsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./O2Q7MOG6.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
10
|
import {
|
|
11
11
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./6J5H27AQ.jsx";
|
|
13
|
+
import {
|
|
14
|
+
runIfFn
|
|
15
|
+
} from "./KGOB2IMX.jsx";
|
|
13
16
|
import {
|
|
14
17
|
useLocaleContext
|
|
15
18
|
} from "./YUC6JE7K.jsx";
|
|
16
19
|
import {
|
|
17
20
|
createContext
|
|
18
21
|
} from "./TVCIHLER.jsx";
|
|
19
|
-
import {
|
|
20
|
-
runIfFn
|
|
21
|
-
} from "./KGOB2IMX.jsx";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./7IUG3E2V.jsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./O2Q7MOG6.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
10
|
import {
|
|
11
11
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./6J5H27AQ.jsx";
|
|
13
|
+
import {
|
|
14
|
+
runIfFn
|
|
15
|
+
} from "./KGOB2IMX.jsx";
|
|
13
16
|
import {
|
|
14
17
|
useLocaleContext
|
|
15
18
|
} from "./YUC6JE7K.jsx";
|
|
16
19
|
import {
|
|
17
20
|
createContext
|
|
18
21
|
} from "./TVCIHLER.jsx";
|
|
19
|
-
import {
|
|
20
|
-
runIfFn
|
|
21
|
-
} from "./KGOB2IMX.jsx";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./7IUG3E2V.jsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./O2Q7MOG6.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
10
|
import {
|
|
11
11
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./6J5H27AQ.jsx";
|
|
13
|
+
import {
|
|
14
|
+
runIfFn
|
|
15
|
+
} from "./KGOB2IMX.jsx";
|
|
13
16
|
import {
|
|
14
17
|
useLocaleContext
|
|
15
18
|
} from "./YUC6JE7K.jsx";
|
|
16
19
|
import {
|
|
17
20
|
createContext
|
|
18
21
|
} from "./TVCIHLER.jsx";
|
|
19
|
-
import {
|
|
20
|
-
runIfFn
|
|
21
|
-
} from "./KGOB2IMX.jsx";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./7IUG3E2V.jsx";
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./6J5H27AQ.jsx";
|
|
10
|
+
import {
|
|
11
|
+
runIfFn
|
|
12
|
+
} from "./KGOB2IMX.jsx";
|
|
10
13
|
import {
|
|
11
14
|
useLocaleContext
|
|
12
15
|
} from "./YUC6JE7K.jsx";
|
|
13
16
|
import {
|
|
14
17
|
createContext
|
|
15
18
|
} from "./TVCIHLER.jsx";
|
|
16
|
-
import {
|
|
17
|
-
runIfFn
|
|
18
|
-
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
21
|
} from "./7IUG3E2V.jsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./O2Q7MOG6.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
10
|
import {
|
|
11
11
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./6J5H27AQ.jsx";
|
|
13
|
+
import {
|
|
14
|
+
runIfFn
|
|
15
|
+
} from "./KGOB2IMX.jsx";
|
|
13
16
|
import {
|
|
14
17
|
useLocaleContext
|
|
15
18
|
} from "./YUC6JE7K.jsx";
|
|
16
19
|
import {
|
|
17
20
|
createContext
|
|
18
21
|
} from "./TVCIHLER.jsx";
|
|
19
|
-
import {
|
|
20
|
-
runIfFn
|
|
21
|
-
} from "./KGOB2IMX.jsx";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./7IUG3E2V.jsx";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./RHCMSWDF.jsx";
|
|
7
7
|
import {
|
|
8
8
|
composeRefs
|
|
9
9
|
} from "./DOBZPYAN.jsx";
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
16
|
import {
|
|
17
17
|
useEnvironmentContext
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./6J5H27AQ.jsx";
|
|
19
|
+
import {
|
|
20
|
+
runIfFn
|
|
21
|
+
} from "./KGOB2IMX.jsx";
|
|
19
22
|
import {
|
|
20
23
|
useLocaleContext
|
|
21
24
|
} from "./YUC6JE7K.jsx";
|
|
22
25
|
import {
|
|
23
26
|
createContext
|
|
24
27
|
} from "./TVCIHLER.jsx";
|
|
25
|
-
import {
|
|
26
|
-
runIfFn
|
|
27
|
-
} from "./KGOB2IMX.jsx";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
30
|
} from "./7IUG3E2V.jsx";
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./6J5H27AQ.jsx";
|
|
10
|
+
import {
|
|
11
|
+
runIfFn
|
|
12
|
+
} from "./KGOB2IMX.jsx";
|
|
10
13
|
import {
|
|
11
14
|
useLocaleContext
|
|
12
15
|
} from "./YUC6JE7K.jsx";
|
|
13
16
|
import {
|
|
14
17
|
createContext
|
|
15
18
|
} from "./TVCIHLER.jsx";
|
|
16
|
-
import {
|
|
17
|
-
runIfFn
|
|
18
|
-
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
21
|
} from "./7IUG3E2V.jsx";
|
|
@@ -0,0 +1,104 @@
|
|
|
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 create = (items) => {
|
|
27
|
+
const [, collectionProps] = splittedProps();
|
|
28
|
+
return createListCollection({ ...collectionProps, items });
|
|
29
|
+
};
|
|
30
|
+
const init = () => {
|
|
31
|
+
const [localProps] = splittedProps();
|
|
32
|
+
return create(
|
|
33
|
+
localProps.limit != null ? localProps.initialItems.slice(0, localProps.limit) : localProps.initialItems
|
|
34
|
+
);
|
|
35
|
+
};
|
|
36
|
+
const [collection, setCollectionImpl] = createSignal(init());
|
|
37
|
+
const setCollection = (collection2) => {
|
|
38
|
+
const [localProps] = splittedProps();
|
|
39
|
+
setCollectionImpl(
|
|
40
|
+
localProps.limit == null ? collection2 : collection2.copy(collection2.items.slice(0, localProps.limit))
|
|
41
|
+
);
|
|
42
|
+
};
|
|
43
|
+
return {
|
|
44
|
+
collection,
|
|
45
|
+
filter: (inputValue) => {
|
|
46
|
+
const [localProps] = splittedProps();
|
|
47
|
+
const filter = localProps.filter;
|
|
48
|
+
if (!filter) return;
|
|
49
|
+
const filtered = create(localProps.initialItems).filter((itemString) => filter(itemString, inputValue));
|
|
50
|
+
setCollection(filtered);
|
|
51
|
+
},
|
|
52
|
+
set: (items) => {
|
|
53
|
+
setCollection(create(items));
|
|
54
|
+
},
|
|
55
|
+
reset: () => {
|
|
56
|
+
const [localProps] = splittedProps();
|
|
57
|
+
setCollection(create(localProps.initialItems));
|
|
58
|
+
},
|
|
59
|
+
clear: () => {
|
|
60
|
+
setCollection(create([]));
|
|
61
|
+
},
|
|
62
|
+
insert: (index, ...items) => {
|
|
63
|
+
setCollection(collection().insert(index, ...items));
|
|
64
|
+
},
|
|
65
|
+
insertBefore: (value, ...items) => {
|
|
66
|
+
setCollection(collection().insertBefore(value, ...items));
|
|
67
|
+
},
|
|
68
|
+
insertAfter: (value, ...items) => {
|
|
69
|
+
setCollection(collection().insertAfter(value, ...items));
|
|
70
|
+
},
|
|
71
|
+
remove: (...itemOrValues) => {
|
|
72
|
+
setCollection(collection().remove(...itemOrValues));
|
|
73
|
+
},
|
|
74
|
+
move: (value, to) => {
|
|
75
|
+
setCollection(collection().move(value, to));
|
|
76
|
+
},
|
|
77
|
+
moveBefore: (value, ...values) => {
|
|
78
|
+
setCollection(collection().moveBefore(value, ...values));
|
|
79
|
+
},
|
|
80
|
+
moveAfter: (value, ...values) => {
|
|
81
|
+
setCollection(collection().moveAfter(value, ...values));
|
|
82
|
+
},
|
|
83
|
+
reorder: (from, to) => {
|
|
84
|
+
setCollection(collection().reorder(from, to));
|
|
85
|
+
},
|
|
86
|
+
append: (...items) => {
|
|
87
|
+
setCollection(collection().append(...items));
|
|
88
|
+
},
|
|
89
|
+
prepend: (...items) => {
|
|
90
|
+
setCollection(collection().prepend(...items));
|
|
91
|
+
},
|
|
92
|
+
update: (value, item) => {
|
|
93
|
+
setCollection(collection().update(value, item));
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export {
|
|
99
|
+
createGridCollection,
|
|
100
|
+
createListCollection,
|
|
101
|
+
createTreeCollection,
|
|
102
|
+
createFileTreeCollection,
|
|
103
|
+
useListCollection
|
|
104
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collapsible_exports
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./XOVDOF3R.jsx";
|
|
4
4
|
import {
|
|
5
5
|
RenderStrategyProvider,
|
|
6
6
|
splitRenderStrategyProps,
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
} from "./UFYZ7HLU.jsx";
|
|
15
15
|
import {
|
|
16
16
|
useEnvironmentContext
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./6J5H27AQ.jsx";
|
|
18
|
+
import {
|
|
19
|
+
runIfFn
|
|
20
|
+
} from "./KGOB2IMX.jsx";
|
|
18
21
|
import {
|
|
19
22
|
useLocaleContext
|
|
20
23
|
} from "./YUC6JE7K.jsx";
|
|
21
24
|
import {
|
|
22
25
|
createContext
|
|
23
26
|
} from "./TVCIHLER.jsx";
|
|
24
|
-
import {
|
|
25
|
-
runIfFn
|
|
26
|
-
} from "./KGOB2IMX.jsx";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
29
|
} from "./7IUG3E2V.jsx";
|
|
@@ -38,6 +38,12 @@ var [TreeViewProvider, useTreeViewContext] = createContext({
|
|
|
38
38
|
providerName: "<TreeViewProvider />"
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
+
// src/components/tree-view/use-tree-view-node-context.ts
|
|
42
|
+
var [TreeViewNodeStateProvider, useTreeViewNodeContext] = createContext({
|
|
43
|
+
hookName: "useTreeViewNodeContext",
|
|
44
|
+
providerName: "<TreeViewNodeProvider />"
|
|
45
|
+
});
|
|
46
|
+
|
|
41
47
|
// src/components/tree-view/use-tree-view-node-props-context.ts
|
|
42
48
|
var [TreeViewNodePropsProvider, useTreeViewNodePropsContext] = createContext({
|
|
43
49
|
hookName: "useTreeViewNodePropsContext",
|
|
@@ -48,13 +54,13 @@ var [TreeViewNodePropsProvider, useTreeViewNodePropsContext] = createContext({
|
|
|
48
54
|
var TreeViewBranch = (props) => {
|
|
49
55
|
const treeView2 = useTreeViewContext();
|
|
50
56
|
const nodeProps = useTreeViewNodePropsContext();
|
|
57
|
+
const nodeState = useTreeViewNodeContext();
|
|
51
58
|
const renderStrategyProps = useRenderStrategyContext();
|
|
52
|
-
const
|
|
53
|
-
const branchContentProps = treeView2().getBranchContentProps(nodeProps);
|
|
59
|
+
const branchContentProps = createMemo(() => treeView2().getBranchContentProps(nodeProps));
|
|
54
60
|
const mergedProps = mergeProps(() => treeView2().getBranchProps(nodeProps), props);
|
|
55
61
|
return <collapsible_exports.Root
|
|
56
62
|
open={nodeState().expanded}
|
|
57
|
-
ids={{ content: branchContentProps.id }}
|
|
63
|
+
ids={{ content: branchContentProps().id }}
|
|
58
64
|
{...renderStrategyProps}
|
|
59
65
|
{...mergedProps}
|
|
60
66
|
/>;
|
|
@@ -159,19 +165,18 @@ var TreeViewLabel = (props) => {
|
|
|
159
165
|
return <ark.label {...mergedProps} />;
|
|
160
166
|
};
|
|
161
167
|
|
|
162
|
-
// src/components/tree-view/use-tree-view-node-context.ts
|
|
163
|
-
var [TreeViewNodeProvider, useTreeViewNodeContext] = createContext({
|
|
164
|
-
hookName: "useTreeViewNodeContext",
|
|
165
|
-
providerName: "<TreeViewNodeProvider />"
|
|
166
|
-
});
|
|
167
|
-
|
|
168
168
|
// src/components/tree-view/tree-view-node-context.ts
|
|
169
169
|
var TreeViewNodeContext = (props) => props.children(useTreeViewNodeContext());
|
|
170
170
|
|
|
171
171
|
// src/components/tree-view/tree-view-node-provider.tsx
|
|
172
|
-
|
|
172
|
+
import { createMemo as createMemo3 } from "solid-js";
|
|
173
|
+
function TreeViewNodeProvider(props) {
|
|
173
174
|
const [nodeProps, localProps] = createSplitProps()(props, ["indexPath", "node"]);
|
|
174
|
-
|
|
175
|
+
const treeView2 = useTreeViewContext();
|
|
176
|
+
const nodeState = createMemo3(() => treeView2().getNodeState(nodeProps));
|
|
177
|
+
return <TreeViewNodeStateProvider value={nodeState}>
|
|
178
|
+
<TreeViewNodePropsProvider value={nodeProps}>{localProps.children}</TreeViewNodePropsProvider>
|
|
179
|
+
</TreeViewNodeStateProvider>;
|
|
175
180
|
}
|
|
176
181
|
|
|
177
182
|
// src/components/tree-view/tree-view-root.tsx
|
|
@@ -180,19 +185,19 @@ import { mergeProps as mergeProps12 } from "@zag-js/solid";
|
|
|
180
185
|
// src/components/tree-view/use-tree-view.ts
|
|
181
186
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
182
187
|
import * as treeView from "@zag-js/tree-view";
|
|
183
|
-
import { createMemo as
|
|
188
|
+
import { createMemo as createMemo4, createUniqueId } from "solid-js";
|
|
184
189
|
var useTreeView = (props) => {
|
|
185
190
|
const id = createUniqueId();
|
|
186
191
|
const locale = useLocaleContext();
|
|
187
192
|
const environment = useEnvironmentContext();
|
|
188
|
-
const machineProps =
|
|
193
|
+
const machineProps = createMemo4(() => ({
|
|
189
194
|
id,
|
|
190
195
|
dir: locale().dir,
|
|
191
196
|
getRootNode: environment().getRootNode,
|
|
192
197
|
...runIfFn(props)
|
|
193
198
|
}));
|
|
194
199
|
const service = useMachine(treeView.machine, machineProps);
|
|
195
|
-
return
|
|
200
|
+
return createMemo4(() => treeView.connect(service, normalizeProps));
|
|
196
201
|
};
|
|
197
202
|
|
|
198
203
|
// src/components/tree-view/tree-view-root.tsx
|
|
@@ -212,7 +217,9 @@ var TreeViewRoot = (props) => {
|
|
|
212
217
|
"onSelectionChange",
|
|
213
218
|
"selectedValue",
|
|
214
219
|
"selectionMode",
|
|
215
|
-
"typeahead"
|
|
220
|
+
"typeahead",
|
|
221
|
+
"loadChildren",
|
|
222
|
+
"onLoadChildrenComplete"
|
|
216
223
|
]);
|
|
217
224
|
const treeView2 = useTreeView(useTreeViewProps);
|
|
218
225
|
const mergedProps = mergeProps12(() => treeView2().getRootProps(), localProps);
|
|
@@ -263,13 +270,15 @@ __export(tree_view_exports, {
|
|
|
263
270
|
ItemText: () => TreeViewItemText,
|
|
264
271
|
Label: () => TreeViewLabel,
|
|
265
272
|
NodeContext: () => TreeViewNodeContext,
|
|
266
|
-
NodeProvider: () =>
|
|
273
|
+
NodeProvider: () => TreeViewNodeProvider,
|
|
267
274
|
Root: () => TreeViewRoot,
|
|
268
275
|
RootProvider: () => TreeViewRootProvider,
|
|
269
276
|
Tree: () => TreeViewTree
|
|
270
277
|
});
|
|
271
278
|
|
|
272
279
|
export {
|
|
280
|
+
useTreeViewContext,
|
|
281
|
+
useTreeViewNodeContext,
|
|
273
282
|
TreeViewBranch,
|
|
274
283
|
TreeViewBranchContent,
|
|
275
284
|
TreeViewBranchControl,
|
|
@@ -283,7 +292,7 @@ export {
|
|
|
283
292
|
TreeViewItemText,
|
|
284
293
|
TreeViewLabel,
|
|
285
294
|
TreeViewNodeContext,
|
|
286
|
-
|
|
295
|
+
TreeViewNodeProvider,
|
|
287
296
|
useTreeView,
|
|
288
297
|
TreeViewRoot,
|
|
289
298
|
TreeViewRootProvider,
|