@ark-ui/solid 5.16.1 → 5.17.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/{WBYGZCTU.jsx → 2WR5J3OZ.jsx} +7 -7
- package/dist/chunk/{KNVMVQG6.jsx → 3WT7Q753.jsx} +13 -3
- package/dist/chunk/{C46RVY7A.jsx → AHH5Z3VJ.jsx} +7 -7
- package/dist/chunk/{IDNDLSEV.jsx → KAYDBHSW.jsx} +4 -4
- package/dist/chunk/{G3JCG6HD.jsx → L64MXP66.jsx} +4 -4
- package/dist/chunk/{VR5BNKL7.jsx → NCRPFSNO.jsx} +4 -4
- package/dist/chunk/{5PKZLVXE.jsx → PPQSRJ6X.jsx} +7 -7
- package/dist/chunk/{NVETRSKA.jsx → RC4UV6HP.jsx} +4 -4
- package/dist/chunk/{FRSNRGQK.jsx → S4OS4UYL.jsx} +7 -7
- package/dist/chunk/{ACABJNIJ.jsx → U5CBLW6U.jsx} +4 -4
- package/dist/chunk/{ZB7AEDAJ.jsx → WG67YHCV.jsx} +4 -4
- package/dist/chunk/{JPJUQ5CI.jsx → WOUVNHGI.jsx} +4 -4
- package/dist/chunk/{BBWRZLB6.jsx → XKBIT7L5.jsx} +4 -4
- package/dist/chunk/{KIDL2HC3.jsx → XUH2TAUG.jsx} +7 -7
- package/dist/chunk/{L4PQJRRA.js → XZJYSF6N.js} +15 -1
- package/dist/chunk/{FC67EFPW.jsx → ZSMY7WCA.jsx} +4 -4
- package/dist/chunk/{EIA3BZ33.jsx → ZTNABPZL.jsx} +7 -7
- package/dist/components/accordion/index.jsx +3 -3
- package/dist/components/angle-slider/index.jsx +2 -2
- package/dist/components/avatar/index.jsx +2 -2
- package/dist/components/carousel/index.jsx +2 -2
- package/dist/components/checkbox/index.d.ts +16 -7
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.jsx +4 -2
- package/dist/components/clipboard/index.jsx +1 -1
- package/dist/components/collapsible/index.jsx +2 -2
- package/dist/components/collection/index.d.ts +1 -1
- package/dist/components/color-picker/index.jsx +4 -4
- package/dist/components/combobox/index.d.ts +1 -1
- package/dist/components/combobox/index.jsx +6 -6
- package/dist/components/date-picker/index.jsx +4 -4
- package/dist/components/dialog/index.jsx +4 -4
- package/dist/components/download-trigger/index.jsx +1 -1
- package/dist/components/editable/index.jsx +2 -2
- package/dist/components/field/index.jsx +1 -1
- package/dist/components/fieldset/index.jsx +1 -1
- package/dist/components/file-upload/index.d.ts +6 -3
- package/dist/components/file-upload/index.jsx +2 -2
- package/dist/components/floating-panel/index.jsx +4 -4
- package/dist/components/format/index.jsx +1 -1
- package/dist/components/frame/index.jsx +1 -1
- package/dist/components/hover-card/index.jsx +4 -4
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.js +23 -23
- package/dist/components/index.jsx +353 -351
- package/dist/components/listbox/index.jsx +2 -2
- package/dist/components/menu/index.jsx +4 -4
- package/dist/components/number-input/index.jsx +2 -2
- package/dist/components/pagination/index.jsx +2 -2
- package/dist/components/password-input/index.jsx +2 -2
- package/dist/components/pin-input/index.jsx +2 -2
- package/dist/components/popover/index.jsx +4 -4
- package/dist/components/presence/index.jsx +2 -2
- package/dist/components/progress/index.jsx +2 -2
- package/dist/components/qr-code/index.jsx +2 -2
- package/dist/components/radio-group/index.jsx +2 -2
- package/dist/components/rating-group/index.jsx +2 -2
- package/dist/components/segment-group/index.jsx +2 -2
- package/dist/components/select/index.d.ts +1 -1
- package/dist/components/select/index.jsx +6 -6
- package/dist/components/signature-pad/index.jsx +2 -2
- package/dist/components/slider/index.jsx +2 -2
- package/dist/components/splitter/index.jsx +2 -2
- package/dist/components/steps/index.jsx +2 -2
- package/dist/components/switch/index.jsx +2 -2
- package/dist/components/tabs/index.jsx +4 -4
- package/dist/components/tags-input/index.jsx +2 -2
- package/dist/components/time-picker/index.jsx +4 -4
- package/dist/components/timer/index.jsx +1 -1
- package/dist/components/toast/index.jsx +2 -2
- package/dist/components/toggle-group/index.jsx +2 -2
- package/dist/components/tooltip/index.jsx +4 -4
- package/dist/components/tour/index.jsx +4 -4
- package/dist/components/tree-view/index.jsx +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +23 -23
- package/dist/index.jsx +350 -348
- package/dist/providers/index.jsx +4 -4
- package/dist/{use-list-collection-C2rvMTSM.d.ts → use-list-collection-Dk2gVdQ2.d.ts} +1 -1
- package/package.json +64 -64
- package/dist/chunk/{FOIEK72O.jsx → 2UVDYZIY.jsx} +3 -3
- package/dist/chunk/{CINP4S7J.jsx → 35XSFKD5.jsx} +3 -3
- package/dist/chunk/{ZHLQWQXX.jsx → 3B7I46SI.jsx} +3 -3
- package/dist/chunk/{JK6QXH6B.jsx → 3DOPQCHJ.jsx} +3 -3
- package/dist/chunk/{7UNWOGPT.jsx → 4FUKCXPR.jsx} +3 -3
- package/dist/chunk/{FG427CLW.jsx → 4UNGYCFT.jsx} +3 -3
- package/dist/chunk/{PRA2XFQE.jsx → 5U4KEVIU.jsx} +3 -3
- package/dist/chunk/{4T2T3PMU.jsx → AKYIM67Z.jsx} +3 -3
- package/dist/chunk/{I7VQFKYT.jsx → CBGZAFEX.jsx} +3 -3
- package/dist/chunk/{GLN6WFQR.jsx → HDKSS6KE.jsx} +3 -3
- package/dist/chunk/{7FASJWDK.jsx → HP3ZGMDZ.jsx} +3 -3
- package/dist/chunk/{KJ353BY6.jsx → JEPST7BN.jsx} +3 -3
- package/dist/chunk/{OM7V7VVC.jsx → JUBTXT4B.jsx} +3 -3
- package/dist/chunk/{V75EMOIC.jsx → LKPEYZZO.jsx} +3 -3
- package/dist/chunk/{QXYWHKF7.jsx → MM6NNI6M.jsx} +3 -3
- package/dist/chunk/{XSGHIZ6Q.jsx → N3H47LNB.jsx} +3 -3
- package/dist/chunk/{MJTOTU2A.jsx → NPHS6PVV.jsx} +3 -3
- package/dist/chunk/{OM7DNJ6L.jsx → OKNWZYMH.jsx} +3 -3
- package/dist/chunk/{X5GWQYGE.jsx → POJRD725.jsx} +3 -3
- package/dist/chunk/{V6S3C3U7.jsx → QC5C6JJA.jsx} +3 -3
- package/dist/chunk/{JKM73NGJ.jsx → UW5WJ2LL.jsx} +3 -3
- package/dist/chunk/{H6ODLFPJ.jsx → WC2HBDLJ.jsx} +3 -3
- package/dist/chunk/{Z2BXVXSV.jsx → WHXDBQDP.jsx} +3 -3
- package/dist/chunk/{7RYPC5LL.jsx → YAOPG62Z.jsx} +3 -3
- package/dist/chunk/{WBLWV2L4.jsx → ZNBZTQ46.jsx} +3 -3
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useFieldContext
|
|
3
|
+
} from "./HQOIDGRU.jsx";
|
|
1
4
|
import {
|
|
2
5
|
PresenceProvider,
|
|
3
6
|
splitPresenceProps,
|
|
4
7
|
usePresence,
|
|
5
8
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
useFieldContext
|
|
9
|
-
} from "./HQOIDGRU.jsx";
|
|
9
|
+
} from "./WC2HBDLJ.jsx";
|
|
10
10
|
import {
|
|
11
11
|
composeRefs
|
|
12
12
|
} from "./DOBZPYAN.jsx";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
ark
|
|
18
18
|
} from "./UFYZ7HLU.jsx";
|
|
19
|
-
import {
|
|
20
|
-
useLocaleContext
|
|
21
|
-
} from "./YUC6JE7K.jsx";
|
|
22
19
|
import {
|
|
23
20
|
useEnvironmentContext
|
|
24
21
|
} from "./E2L62MKC.jsx";
|
|
22
|
+
import {
|
|
23
|
+
useLocaleContext
|
|
24
|
+
} from "./YUC6JE7K.jsx";
|
|
25
25
|
import {
|
|
26
26
|
createContext
|
|
27
27
|
} from "./TVCIHLER.jsx";
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
ark
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
|
-
import {
|
|
11
|
-
useLocaleContext
|
|
12
|
-
} from "./YUC6JE7K.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useEnvironmentContext
|
|
15
12
|
} from "./E2L62MKC.jsx";
|
|
13
|
+
import {
|
|
14
|
+
useLocaleContext
|
|
15
|
+
} from "./YUC6JE7K.jsx";
|
|
16
16
|
import {
|
|
17
17
|
createContext
|
|
18
18
|
} from "./TVCIHLER.jsx";
|
|
@@ -143,6 +143,14 @@ var CheckboxGroup = (props) => {
|
|
|
143
143
|
</CheckboxGroupContextProvider>;
|
|
144
144
|
};
|
|
145
145
|
|
|
146
|
+
// src/components/checkbox/checkbox-group-provider.tsx
|
|
147
|
+
var CheckboxGroupProvider = (props) => {
|
|
148
|
+
const [localProps, restProps] = createSplitProps()(props, ["value"]);
|
|
149
|
+
return <CheckboxGroupContextProvider value={localProps.value}>
|
|
150
|
+
<ark.div role="group" {...restProps} {...checkboxAnatomy.build().group.attrs} />
|
|
151
|
+
</CheckboxGroupContextProvider>;
|
|
152
|
+
};
|
|
153
|
+
|
|
146
154
|
// src/components/checkbox/checkbox-hidden-input.tsx
|
|
147
155
|
import { mergeProps as mergeProps2 } from "@zag-js/solid";
|
|
148
156
|
var CheckboxHiddenInput = (props) => {
|
|
@@ -246,6 +254,7 @@ __export(checkbox_exports, {
|
|
|
246
254
|
Context: () => CheckboxContext,
|
|
247
255
|
Control: () => CheckboxControl,
|
|
248
256
|
Group: () => CheckboxGroup,
|
|
257
|
+
GroupProvider: () => CheckboxGroupProvider,
|
|
249
258
|
HiddenInput: () => CheckboxHiddenInput,
|
|
250
259
|
Indicator: () => CheckboxIndicator,
|
|
251
260
|
Label: () => CheckboxLabel,
|
|
@@ -261,6 +270,7 @@ export {
|
|
|
261
270
|
useCheckboxGroup,
|
|
262
271
|
useCheckboxGroupContext,
|
|
263
272
|
CheckboxGroup,
|
|
273
|
+
CheckboxGroupProvider,
|
|
264
274
|
CheckboxHiddenInput,
|
|
265
275
|
CheckboxIndicator,
|
|
266
276
|
CheckboxLabel,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useFieldContext
|
|
3
|
+
} from "./HQOIDGRU.jsx";
|
|
1
4
|
import {
|
|
2
5
|
PresenceProvider,
|
|
3
6
|
splitPresenceProps,
|
|
4
7
|
usePresence,
|
|
5
8
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
useFieldContext
|
|
9
|
-
} from "./HQOIDGRU.jsx";
|
|
9
|
+
} from "./WC2HBDLJ.jsx";
|
|
10
10
|
import {
|
|
11
11
|
composeRefs
|
|
12
12
|
} from "./DOBZPYAN.jsx";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
ark
|
|
18
18
|
} from "./UFYZ7HLU.jsx";
|
|
19
|
-
import {
|
|
20
|
-
useLocaleContext
|
|
21
|
-
} from "./YUC6JE7K.jsx";
|
|
22
19
|
import {
|
|
23
20
|
useEnvironmentContext
|
|
24
21
|
} from "./E2L62MKC.jsx";
|
|
22
|
+
import {
|
|
23
|
+
useLocaleContext
|
|
24
|
+
} from "./YUC6JE7K.jsx";
|
|
25
25
|
import {
|
|
26
26
|
createContext
|
|
27
27
|
} from "./TVCIHLER.jsx";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collapsible_exports,
|
|
3
3
|
useCollapsibleContext
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./WHXDBQDP.jsx";
|
|
5
5
|
import {
|
|
6
6
|
RenderStrategyProvider,
|
|
7
7
|
splitRenderStrategyProps,
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
ark
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
|
-
import {
|
|
17
|
-
useLocaleContext
|
|
18
|
-
} from "./YUC6JE7K.jsx";
|
|
19
16
|
import {
|
|
20
17
|
useEnvironmentContext
|
|
21
18
|
} from "./E2L62MKC.jsx";
|
|
19
|
+
import {
|
|
20
|
+
useLocaleContext
|
|
21
|
+
} from "./YUC6JE7K.jsx";
|
|
22
22
|
import {
|
|
23
23
|
createContext
|
|
24
24
|
} from "./TVCIHLER.jsx";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./WC2HBDLJ.jsx";
|
|
7
7
|
import {
|
|
8
8
|
composeRefs
|
|
9
9
|
} from "./DOBZPYAN.jsx";
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
ark
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
|
-
import {
|
|
17
|
-
useLocaleContext
|
|
18
|
-
} from "./YUC6JE7K.jsx";
|
|
19
16
|
import {
|
|
20
17
|
useEnvironmentContext
|
|
21
18
|
} from "./E2L62MKC.jsx";
|
|
19
|
+
import {
|
|
20
|
+
useLocaleContext
|
|
21
|
+
} from "./YUC6JE7K.jsx";
|
|
22
22
|
import {
|
|
23
23
|
createContext
|
|
24
24
|
} from "./TVCIHLER.jsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collapsible_exports
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./WHXDBQDP.jsx";
|
|
4
4
|
import {
|
|
5
5
|
RenderStrategyProvider,
|
|
6
6
|
splitRenderStrategyProps,
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
ark
|
|
14
14
|
} from "./UFYZ7HLU.jsx";
|
|
15
|
-
import {
|
|
16
|
-
useLocaleContext
|
|
17
|
-
} from "./YUC6JE7K.jsx";
|
|
18
15
|
import {
|
|
19
16
|
useEnvironmentContext
|
|
20
17
|
} from "./E2L62MKC.jsx";
|
|
18
|
+
import {
|
|
19
|
+
useLocaleContext
|
|
20
|
+
} from "./YUC6JE7K.jsx";
|
|
21
21
|
import {
|
|
22
22
|
createContext
|
|
23
23
|
} from "./TVCIHLER.jsx";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useFieldContext
|
|
3
|
+
} from "./HQOIDGRU.jsx";
|
|
1
4
|
import {
|
|
2
5
|
PresenceProvider,
|
|
3
6
|
splitPresenceProps,
|
|
4
7
|
usePresence,
|
|
5
8
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
useFieldContext
|
|
9
|
-
} from "./HQOIDGRU.jsx";
|
|
9
|
+
} from "./WC2HBDLJ.jsx";
|
|
10
10
|
import {
|
|
11
11
|
composeRefs
|
|
12
12
|
} from "./DOBZPYAN.jsx";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
ark
|
|
18
18
|
} from "./UFYZ7HLU.jsx";
|
|
19
|
-
import {
|
|
20
|
-
useLocaleContext
|
|
21
|
-
} from "./YUC6JE7K.jsx";
|
|
22
19
|
import {
|
|
23
20
|
useEnvironmentContext
|
|
24
21
|
} from "./E2L62MKC.jsx";
|
|
22
|
+
import {
|
|
23
|
+
useLocaleContext
|
|
24
|
+
} from "./YUC6JE7K.jsx";
|
|
25
25
|
import {
|
|
26
26
|
createContext
|
|
27
27
|
} from "./TVCIHLER.jsx";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./WC2HBDLJ.jsx";
|
|
7
7
|
import {
|
|
8
8
|
composeRefs
|
|
9
9
|
} from "./DOBZPYAN.jsx";
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
ark
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
|
-
import {
|
|
17
|
-
useLocaleContext
|
|
18
|
-
} from "./YUC6JE7K.jsx";
|
|
19
16
|
import {
|
|
20
17
|
useEnvironmentContext
|
|
21
18
|
} from "./E2L62MKC.jsx";
|
|
19
|
+
import {
|
|
20
|
+
useLocaleContext
|
|
21
|
+
} from "./YUC6JE7K.jsx";
|
|
22
22
|
import {
|
|
23
23
|
createContext
|
|
24
24
|
} from "./TVCIHLER.jsx";
|
|
@@ -3,27 +3,27 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./WC2HBDLJ.jsx";
|
|
7
|
+
import {
|
|
8
|
+
composeRefs
|
|
9
|
+
} from "./DOBZPYAN.jsx";
|
|
7
10
|
import {
|
|
8
11
|
RenderStrategyProvider,
|
|
9
12
|
splitRenderStrategyProps,
|
|
10
13
|
useRenderStrategyContext
|
|
11
14
|
} from "./NEBB7COJ.jsx";
|
|
12
|
-
import {
|
|
13
|
-
composeRefs
|
|
14
|
-
} from "./DOBZPYAN.jsx";
|
|
15
15
|
import {
|
|
16
16
|
createSplitProps
|
|
17
17
|
} from "./6WEDGJKQ.jsx";
|
|
18
18
|
import {
|
|
19
19
|
ark
|
|
20
20
|
} from "./UFYZ7HLU.jsx";
|
|
21
|
-
import {
|
|
22
|
-
useLocaleContext
|
|
23
|
-
} from "./YUC6JE7K.jsx";
|
|
24
21
|
import {
|
|
25
22
|
useEnvironmentContext
|
|
26
23
|
} from "./E2L62MKC.jsx";
|
|
24
|
+
import {
|
|
25
|
+
useLocaleContext
|
|
26
|
+
} from "./YUC6JE7K.jsx";
|
|
27
27
|
import {
|
|
28
28
|
createContext
|
|
29
29
|
} from "./TVCIHLER.jsx";
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./WC2HBDLJ.jsx";
|
|
7
7
|
import {
|
|
8
8
|
createSplitProps
|
|
9
9
|
} from "./6WEDGJKQ.jsx";
|
|
10
10
|
import {
|
|
11
11
|
ark
|
|
12
12
|
} from "./UFYZ7HLU.jsx";
|
|
13
|
-
import {
|
|
14
|
-
useLocaleContext
|
|
15
|
-
} from "./YUC6JE7K.jsx";
|
|
16
13
|
import {
|
|
17
14
|
useEnvironmentContext
|
|
18
15
|
} from "./E2L62MKC.jsx";
|
|
16
|
+
import {
|
|
17
|
+
useLocaleContext
|
|
18
|
+
} from "./YUC6JE7K.jsx";
|
|
19
19
|
import {
|
|
20
20
|
createContext
|
|
21
21
|
} from "./TVCIHLER.jsx";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./WC2HBDLJ.jsx";
|
|
7
7
|
import {
|
|
8
8
|
composeRefs
|
|
9
9
|
} from "./DOBZPYAN.jsx";
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
ark
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
|
-
import {
|
|
17
|
-
useLocaleContext
|
|
18
|
-
} from "./YUC6JE7K.jsx";
|
|
19
16
|
import {
|
|
20
17
|
useEnvironmentContext
|
|
21
18
|
} from "./E2L62MKC.jsx";
|
|
19
|
+
import {
|
|
20
|
+
useLocaleContext
|
|
21
|
+
} from "./YUC6JE7K.jsx";
|
|
22
22
|
import {
|
|
23
23
|
createContext
|
|
24
24
|
} from "./TVCIHLER.jsx";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./WC2HBDLJ.jsx";
|
|
7
7
|
import {
|
|
8
8
|
composeRefs
|
|
9
9
|
} from "./DOBZPYAN.jsx";
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
ark
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
|
-
import {
|
|
17
|
-
useLocaleContext
|
|
18
|
-
} from "./YUC6JE7K.jsx";
|
|
19
16
|
import {
|
|
20
17
|
useEnvironmentContext
|
|
21
18
|
} from "./E2L62MKC.jsx";
|
|
19
|
+
import {
|
|
20
|
+
useLocaleContext
|
|
21
|
+
} from "./YUC6JE7K.jsx";
|
|
22
22
|
import {
|
|
23
23
|
createContext
|
|
24
24
|
} from "./TVCIHLER.jsx";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./WC2HBDLJ.jsx";
|
|
7
7
|
import {
|
|
8
8
|
composeRefs
|
|
9
9
|
} from "./DOBZPYAN.jsx";
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
ark
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
|
-
import {
|
|
17
|
-
useLocaleContext
|
|
18
|
-
} from "./YUC6JE7K.jsx";
|
|
19
16
|
import {
|
|
20
17
|
useEnvironmentContext
|
|
21
18
|
} from "./E2L62MKC.jsx";
|
|
19
|
+
import {
|
|
20
|
+
useLocaleContext
|
|
21
|
+
} from "./YUC6JE7K.jsx";
|
|
22
22
|
import {
|
|
23
23
|
createContext
|
|
24
24
|
} from "./TVCIHLER.jsx";
|
|
@@ -3,27 +3,27 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./WC2HBDLJ.jsx";
|
|
7
|
+
import {
|
|
8
|
+
composeRefs
|
|
9
|
+
} from "./DOBZPYAN.jsx";
|
|
7
10
|
import {
|
|
8
11
|
RenderStrategyProvider,
|
|
9
12
|
splitRenderStrategyProps,
|
|
10
13
|
useRenderStrategyContext
|
|
11
14
|
} from "./NEBB7COJ.jsx";
|
|
12
|
-
import {
|
|
13
|
-
composeRefs
|
|
14
|
-
} from "./DOBZPYAN.jsx";
|
|
15
15
|
import {
|
|
16
16
|
createSplitProps
|
|
17
17
|
} from "./6WEDGJKQ.jsx";
|
|
18
18
|
import {
|
|
19
19
|
ark
|
|
20
20
|
} from "./UFYZ7HLU.jsx";
|
|
21
|
-
import {
|
|
22
|
-
useLocaleContext
|
|
23
|
-
} from "./YUC6JE7K.jsx";
|
|
24
21
|
import {
|
|
25
22
|
useEnvironmentContext
|
|
26
23
|
} from "./E2L62MKC.jsx";
|
|
24
|
+
import {
|
|
25
|
+
useLocaleContext
|
|
26
|
+
} from "./YUC6JE7K.jsx";
|
|
27
27
|
import {
|
|
28
28
|
createContext
|
|
29
29
|
} from "./TVCIHLER.jsx";
|
|
@@ -116,6 +116,19 @@ var CheckboxGroup = (props) => {
|
|
|
116
116
|
}
|
|
117
117
|
});
|
|
118
118
|
};
|
|
119
|
+
var CheckboxGroupProvider = (props) => {
|
|
120
|
+
const [localProps, restProps] = createSplitProps()(props, ["value"]);
|
|
121
|
+
return createComponent(CheckboxGroupContextProvider, {
|
|
122
|
+
get value() {
|
|
123
|
+
return localProps.value;
|
|
124
|
+
},
|
|
125
|
+
get children() {
|
|
126
|
+
return createComponent(ark.div, mergeProps$1({
|
|
127
|
+
role: "group"
|
|
128
|
+
}, restProps, () => checkboxAnatomy.build().group.attrs));
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
};
|
|
119
132
|
var CheckboxHiddenInput = (props) => {
|
|
120
133
|
const checkbox2 = useCheckboxContext();
|
|
121
134
|
const mergedProps = mergeProps(() => checkbox2().getHiddenInputProps(), props);
|
|
@@ -200,6 +213,7 @@ __export(checkbox_exports, {
|
|
|
200
213
|
Context: () => CheckboxContext,
|
|
201
214
|
Control: () => CheckboxControl,
|
|
202
215
|
Group: () => CheckboxGroup,
|
|
216
|
+
GroupProvider: () => CheckboxGroupProvider,
|
|
203
217
|
HiddenInput: () => CheckboxHiddenInput,
|
|
204
218
|
Indicator: () => CheckboxIndicator,
|
|
205
219
|
Label: () => CheckboxLabel,
|
|
@@ -207,4 +221,4 @@ __export(checkbox_exports, {
|
|
|
207
221
|
RootProvider: () => CheckboxRootProvider
|
|
208
222
|
});
|
|
209
223
|
|
|
210
|
-
export { CheckboxContext, CheckboxControl, CheckboxGroup, CheckboxHiddenInput, CheckboxIndicator, CheckboxLabel, CheckboxRoot, CheckboxRootProvider, checkboxAnatomy, checkbox_exports, useCheckbox, useCheckboxContext, useCheckboxGroup, useCheckboxGroupContext };
|
|
224
|
+
export { CheckboxContext, CheckboxControl, CheckboxGroup, CheckboxGroupProvider, CheckboxHiddenInput, CheckboxIndicator, CheckboxLabel, CheckboxRoot, CheckboxRootProvider, checkboxAnatomy, checkbox_exports, useCheckbox, useCheckboxContext, useCheckboxGroup, useCheckboxGroupContext };
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./WC2HBDLJ.jsx";
|
|
7
7
|
import {
|
|
8
8
|
composeRefs
|
|
9
9
|
} from "./DOBZPYAN.jsx";
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
ark
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
|
-
import {
|
|
17
|
-
useLocaleContext
|
|
18
|
-
} from "./YUC6JE7K.jsx";
|
|
19
16
|
import {
|
|
20
17
|
useEnvironmentContext
|
|
21
18
|
} from "./E2L62MKC.jsx";
|
|
19
|
+
import {
|
|
20
|
+
useLocaleContext
|
|
21
|
+
} from "./YUC6JE7K.jsx";
|
|
22
22
|
import {
|
|
23
23
|
createContext
|
|
24
24
|
} from "./TVCIHLER.jsx";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PresenceProvider,
|
|
3
3
|
usePresence
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./WC2HBDLJ.jsx";
|
|
5
|
+
import {
|
|
6
|
+
composeRefs
|
|
7
|
+
} from "./DOBZPYAN.jsx";
|
|
5
8
|
import {
|
|
6
9
|
RenderStrategyProvider,
|
|
7
10
|
splitRenderStrategyProps,
|
|
8
11
|
useRenderStrategyContext
|
|
9
12
|
} from "./NEBB7COJ.jsx";
|
|
10
|
-
import {
|
|
11
|
-
composeRefs
|
|
12
|
-
} from "./DOBZPYAN.jsx";
|
|
13
13
|
import {
|
|
14
14
|
createSplitProps
|
|
15
15
|
} from "./6WEDGJKQ.jsx";
|
|
16
16
|
import {
|
|
17
17
|
ark
|
|
18
18
|
} from "./UFYZ7HLU.jsx";
|
|
19
|
-
import {
|
|
20
|
-
useLocaleContext
|
|
21
|
-
} from "./YUC6JE7K.jsx";
|
|
22
19
|
import {
|
|
23
20
|
useEnvironmentContext
|
|
24
21
|
} from "./E2L62MKC.jsx";
|
|
22
|
+
import {
|
|
23
|
+
useLocaleContext
|
|
24
|
+
} from "./YUC6JE7K.jsx";
|
|
25
25
|
import {
|
|
26
26
|
createContext
|
|
27
27
|
} from "./TVCIHLER.jsx";
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
useAccordion,
|
|
13
13
|
useAccordionContext,
|
|
14
14
|
useAccordionItemContext
|
|
15
|
-
} from "../../chunk/
|
|
16
|
-
import "../../chunk/
|
|
15
|
+
} from "../../chunk/KAYDBHSW.jsx";
|
|
16
|
+
import "../../chunk/WHXDBQDP.jsx";
|
|
17
17
|
import "../../chunk/NEBB7COJ.jsx";
|
|
18
18
|
import "../../chunk/6WEDGJKQ.jsx";
|
|
19
19
|
import "../../chunk/UFYZ7HLU.jsx";
|
|
20
20
|
import "../../chunk/ODQYYKL5.jsx";
|
|
21
|
-
import "../../chunk/YUC6JE7K.jsx";
|
|
22
21
|
import "../../chunk/E2L62MKC.jsx";
|
|
22
|
+
import "../../chunk/YUC6JE7K.jsx";
|
|
23
23
|
import "../../chunk/TVCIHLER.jsx";
|
|
24
24
|
import "../../chunk/KGOB2IMX.jsx";
|
|
25
25
|
import "../../chunk/7IUG3E2V.jsx";
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
angle_slider_exports,
|
|
14
14
|
useAngleSlider,
|
|
15
15
|
useAngleSliderContext
|
|
16
|
-
} from "../../chunk/
|
|
16
|
+
} from "../../chunk/POJRD725.jsx";
|
|
17
17
|
import "../../chunk/6WEDGJKQ.jsx";
|
|
18
18
|
import "../../chunk/UFYZ7HLU.jsx";
|
|
19
19
|
import "../../chunk/ODQYYKL5.jsx";
|
|
20
|
-
import "../../chunk/YUC6JE7K.jsx";
|
|
21
20
|
import "../../chunk/E2L62MKC.jsx";
|
|
21
|
+
import "../../chunk/YUC6JE7K.jsx";
|
|
22
22
|
import "../../chunk/TVCIHLER.jsx";
|
|
23
23
|
import "../../chunk/KGOB2IMX.jsx";
|
|
24
24
|
import "../../chunk/7IUG3E2V.jsx";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
avatar_exports,
|
|
9
9
|
useAvatar,
|
|
10
10
|
useAvatarContext
|
|
11
|
-
} from "../../chunk/
|
|
11
|
+
} from "../../chunk/YAOPG62Z.jsx";
|
|
12
12
|
import "../../chunk/6WEDGJKQ.jsx";
|
|
13
13
|
import "../../chunk/UFYZ7HLU.jsx";
|
|
14
14
|
import "../../chunk/ODQYYKL5.jsx";
|
|
15
|
-
import "../../chunk/YUC6JE7K.jsx";
|
|
16
15
|
import "../../chunk/E2L62MKC.jsx";
|
|
16
|
+
import "../../chunk/YUC6JE7K.jsx";
|
|
17
17
|
import "../../chunk/TVCIHLER.jsx";
|
|
18
18
|
import "../../chunk/KGOB2IMX.jsx";
|
|
19
19
|
import "../../chunk/7IUG3E2V.jsx";
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
carousel_exports,
|
|
15
15
|
useCarousel,
|
|
16
16
|
useCarouselContext
|
|
17
|
-
} from "../../chunk/
|
|
17
|
+
} from "../../chunk/HP3ZGMDZ.jsx";
|
|
18
18
|
import "../../chunk/6WEDGJKQ.jsx";
|
|
19
19
|
import "../../chunk/UFYZ7HLU.jsx";
|
|
20
20
|
import "../../chunk/ODQYYKL5.jsx";
|
|
21
|
-
import "../../chunk/YUC6JE7K.jsx";
|
|
22
21
|
import "../../chunk/E2L62MKC.jsx";
|
|
22
|
+
import "../../chunk/YUC6JE7K.jsx";
|
|
23
23
|
import "../../chunk/TVCIHLER.jsx";
|
|
24
24
|
import "../../chunk/KGOB2IMX.jsx";
|
|
25
25
|
import "../../chunk/7IUG3E2V.jsx";
|
|
@@ -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 {
|
|
@@ -128,14 +141,10 @@ declare const CheckboxRootProvider: (props: CheckboxRootProviderProps) => solid_
|
|
|
128
141
|
|
|
129
142
|
declare const checkboxAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "root" | "group" | "control" | "indicator">;
|
|
130
143
|
|
|
131
|
-
interface UseCheckboxGroupContext extends UseCheckboxGroupReturn {
|
|
132
|
-
}
|
|
133
|
-
declare const useCheckboxGroupContext: () => UseCheckboxGroupContext | undefined;
|
|
134
|
-
|
|
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/
|
|
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,15 +14,15 @@ import {
|
|
|
13
14
|
useCheckboxContext,
|
|
14
15
|
useCheckboxGroup,
|
|
15
16
|
useCheckboxGroupContext
|
|
16
|
-
} from "../../chunk/
|
|
17
|
+
} from "../../chunk/3WT7Q753.jsx";
|
|
17
18
|
import "../../chunk/HQOIDGRU.jsx";
|
|
18
19
|
import "../../chunk/JY6PMVAK.jsx";
|
|
19
20
|
import "../../chunk/DOBZPYAN.jsx";
|
|
20
21
|
import "../../chunk/6WEDGJKQ.jsx";
|
|
21
22
|
import "../../chunk/UFYZ7HLU.jsx";
|
|
22
23
|
import "../../chunk/ODQYYKL5.jsx";
|
|
23
|
-
import "../../chunk/YUC6JE7K.jsx";
|
|
24
24
|
import "../../chunk/E2L62MKC.jsx";
|
|
25
|
+
import "../../chunk/YUC6JE7K.jsx";
|
|
25
26
|
import "../../chunk/TVCIHLER.jsx";
|
|
26
27
|
import "../../chunk/KGOB2IMX.jsx";
|
|
27
28
|
import "../../chunk/7IUG3E2V.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,
|