@ark-ui/solid 5.13.0 → 5.14.1
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/{P5ZRUIVB.jsx → 2UVDYZIY.jsx} +4 -4
- package/dist/chunk/{XSDPU3EV.jsx → 2WR5J3OZ.jsx} +6 -6
- package/dist/chunk/{5UVX33V2.jsx → 35XSFKD5.jsx} +4 -4
- package/dist/chunk/{5FW3VV3B.jsx → 3DOPQCHJ.jsx} +4 -4
- package/dist/chunk/{QNNABUNA.jsx → 3PBR4DTC.jsx} +12 -7
- package/dist/chunk/{XSBZIIQM.jsx → 3VOFK5T4.jsx} +19 -13
- package/dist/chunk/{NUPYPPGN.jsx → 4FUKCXPR.jsx} +5 -5
- package/dist/chunk/{PNYN26W7.jsx → 4UNGYCFT.jsx} +4 -4
- package/dist/chunk/{B4ZXV6YG.jsx → 5U4KEVIU.jsx} +4 -4
- package/dist/chunk/{LHJM3X56.jsx → AKYIM67Z.jsx} +5 -5
- package/dist/chunk/{5XIPATMW.js → ASEDJSVN.js} +9 -1
- package/dist/chunk/{SXZY4NGI.jsx → AUVF4L3Q.jsx} +5 -5
- package/dist/chunk/{6Q4ZZUWZ.jsx → GKS4JQZJ.jsx} +4 -4
- package/dist/chunk/{OIG52XTL.jsx → HDKSS6KE.jsx} +1 -1
- package/dist/chunk/{WYNHVCCC.jsx → HP3ZGMDZ.jsx} +4 -4
- package/dist/chunk/{O2Q7MOG6.jsx → HQOIDGRU.jsx} +2 -2
- package/dist/chunk/{CWTELADB.js → I3E4ZWU3.js} +6 -2
- package/dist/chunk/{7AMCFBJH.jsx → JEPST7BN.jsx} +5 -5
- package/dist/chunk/{TTZNIVIU.jsx → JUBTXT4B.jsx} +5 -5
- package/dist/chunk/{FS6GEMRM.jsx → JY6PMVAK.jsx} +4 -4
- package/dist/chunk/{2Z37DOO5.jsx → KAYDBHSW.jsx} +5 -5
- package/dist/chunk/{Y46NS2RB.jsx → L64MXP66.jsx} +21 -19
- package/dist/chunk/{EL2ORF75.js → LFGIIHQP.js} +1 -1
- package/dist/chunk/{TILCNQZF.jsx → LKPEYZZO.jsx} +5 -5
- package/dist/chunk/{J4VOAZA3.jsx → MM6NNI6M.jsx} +4 -4
- package/dist/chunk/{XKDJ2JV3.jsx → MSK7JMDZ.jsx} +6 -6
- package/dist/chunk/{XWFAYRYW.jsx → MTT5ESIK.jsx} +5 -5
- package/dist/chunk/{JWPRFVT7.jsx → N3H47LNB.jsx} +4 -4
- package/dist/chunk/{A6XGGK7D.jsx → NPHS6PVV.jsx} +4 -4
- package/dist/chunk/{VSLHNUS2.jsx → OKNWZYMH.jsx} +5 -5
- package/dist/chunk/{LY6KT2RR.jsx → POJRD725.jsx} +4 -4
- package/dist/chunk/{GTT47L2X.jsx → PPQSRJ6X.jsx} +6 -6
- package/dist/chunk/{7BS7ZITV.jsx → QC5C6JJA.jsx} +5 -5
- package/dist/chunk/{P5YRDHKG.jsx → RC4UV6HP.jsx} +5 -5
- package/dist/chunk/{ZF7UP5R3.jsx → RULCXX3A.jsx} +4 -4
- package/dist/chunk/{NLGFQW27.jsx → S4OS4UYL.jsx} +5 -5
- package/dist/chunk/{BANMH5LL.jsx → SRW6BLJ4.jsx} +5 -5
- package/dist/chunk/{VALZYT6I.js → TECDLRTB.js} +17 -12
- package/dist/chunk/{ZMXVBUJS.jsx → TTIVTOWQ.jsx} +1 -1
- package/dist/chunk/{5OA4XEHW.jsx → UW5WJ2LL.jsx} +4 -4
- package/dist/chunk/{3HYU2MCP.jsx → V2GDFVDR.jsx} +1 -1
- package/dist/chunk/{WCLRKV7H.jsx → WG67YHCV.jsx} +5 -5
- package/dist/chunk/{XOVDOF3R.jsx → WHXDBQDP.jsx} +4 -4
- package/dist/chunk/{N5PC6SPR.jsx → WOUVNHGI.jsx} +5 -5
- package/dist/chunk/{RKHQB2WQ.jsx → XIT3ASUI.jsx} +6 -6
- package/dist/chunk/{C2TYPWCS.jsx → XKBIT7L5.jsx} +5 -5
- package/dist/chunk/{OCZWTABP.jsx → XUH2TAUG.jsx} +5 -5
- package/dist/chunk/{UBCF5HI7.jsx → YAOPG62Z.jsx} +4 -4
- package/dist/chunk/{YIQG5BP3.jsx → ZNBZTQ46.jsx} +5 -5
- package/dist/chunk/{MOOX4K4V.jsx → ZTNABPZL.jsx} +5 -5
- 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/color-picker/index.d.ts +1 -1
- package/dist/components/color-picker/index.jsx +7 -7
- package/dist/components/combobox/index.jsx +7 -7
- package/dist/components/date-picker/index.d.ts +1 -1
- package/dist/components/date-picker/index.js +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 +1 -1
- package/dist/components/index.js +19 -19
- package/dist/components/index.jsx +421 -419
- package/dist/components/listbox/index.d.ts +24 -19
- package/dist/components/listbox/index.js +1 -1
- package/dist/components/listbox/index.jsx +6 -4
- package/dist/components/menu/index.js +1 -1
- 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.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.jsx +7 -7
- 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 +2 -2
- package/dist/components/tree-view/index.js +1 -1
- package/dist/components/tree-view/index.jsx +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +19 -19
- package/dist/index.jsx +421 -419
- package/dist/providers/environment/index.jsx +2 -2
- package/dist/providers/index.jsx +2 -2
- package/package.json +65 -70
- package/dist/chunk/{6J5H27AQ.jsx → E2L62MKC.jsx} +3 -3
- package/dist/chunk/{RHCMSWDF.jsx → WC2HBDLJ.jsx} +3 -3
|
@@ -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";
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
16
|
import {
|
|
17
17
|
useEnvironmentContext
|
|
18
|
-
} from "./
|
|
19
|
-
import {
|
|
20
|
-
runIfFn
|
|
21
|
-
} from "./KGOB2IMX.jsx";
|
|
18
|
+
} from "./E2L62MKC.jsx";
|
|
22
19
|
import {
|
|
23
20
|
useLocaleContext
|
|
24
21
|
} from "./YUC6JE7K.jsx";
|
|
25
22
|
import {
|
|
26
23
|
createContext
|
|
27
24
|
} from "./TVCIHLER.jsx";
|
|
25
|
+
import {
|
|
26
|
+
runIfFn
|
|
27
|
+
} from "./KGOB2IMX.jsx";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
30
|
} from "./7IUG3E2V.jsx";
|
|
@@ -65,9 +65,9 @@ var [MenuItemProvider, useMenuItemContext] = createContext({
|
|
|
65
65
|
});
|
|
66
66
|
|
|
67
67
|
// src/components/menu/use-menu-option-item-props-context.ts
|
|
68
|
-
var [
|
|
69
|
-
hookName: "
|
|
70
|
-
providerName: "<
|
|
68
|
+
var [MenuItemPropsProvider, useMenuItemPropsContext] = createContext({
|
|
69
|
+
hookName: "useMenuItemPropsContext",
|
|
70
|
+
providerName: "<MenuItemPropsProvider />"
|
|
71
71
|
});
|
|
72
72
|
|
|
73
73
|
// src/components/menu/menu-checkbox-item.tsx
|
|
@@ -86,11 +86,11 @@ var MenuCheckboxItem = (props) => {
|
|
|
86
86
|
const context = useMenuContext();
|
|
87
87
|
const mergedProps = mergeProps3(() => context().getOptionItemProps(optionItemProps), localProps);
|
|
88
88
|
const optionItemState = createMemo(() => context().getItemState(optionItemProps));
|
|
89
|
-
return <
|
|
89
|
+
return <MenuItemPropsProvider value={optionItemProps}>
|
|
90
90
|
<MenuItemProvider value={optionItemState}>
|
|
91
91
|
<ark.div {...mergedProps} />
|
|
92
92
|
</MenuItemProvider>
|
|
93
|
-
</
|
|
93
|
+
</MenuItemPropsProvider>;
|
|
94
94
|
};
|
|
95
95
|
|
|
96
96
|
// src/components/menu/menu-content.tsx
|
|
@@ -146,9 +146,11 @@ var MenuItem = (props) => {
|
|
|
146
146
|
const cleanup = context().addItemListener({ id: itemState().id, onSelect: itemProps.onSelect });
|
|
147
147
|
onCleanup(() => cleanup?.());
|
|
148
148
|
});
|
|
149
|
-
return <
|
|
150
|
-
<
|
|
151
|
-
|
|
149
|
+
return <MenuItemPropsProvider value={itemProps}>
|
|
150
|
+
<MenuItemProvider value={itemState}>
|
|
151
|
+
<ark.div {...mergedProps} />
|
|
152
|
+
</MenuItemProvider>
|
|
153
|
+
</MenuItemPropsProvider>;
|
|
152
154
|
};
|
|
153
155
|
|
|
154
156
|
// src/components/menu/menu-item-context.tsx
|
|
@@ -188,8 +190,8 @@ var MenuItemGroupLabel = (props) => {
|
|
|
188
190
|
import { mergeProps as mergeProps10 } from "@zag-js/solid";
|
|
189
191
|
var MenuItemIndicator = (props) => {
|
|
190
192
|
const context = useMenuContext();
|
|
191
|
-
const
|
|
192
|
-
const mergedProps = mergeProps10(() => context().getItemIndicatorProps(
|
|
193
|
+
const itemProps = useMenuItemPropsContext();
|
|
194
|
+
const mergedProps = mergeProps10(() => context().getItemIndicatorProps(itemProps), props);
|
|
193
195
|
return <ark.div {...mergedProps} />;
|
|
194
196
|
};
|
|
195
197
|
|
|
@@ -197,8 +199,8 @@ var MenuItemIndicator = (props) => {
|
|
|
197
199
|
import { mergeProps as mergeProps11 } from "@zag-js/solid";
|
|
198
200
|
var MenuItemText = (props) => {
|
|
199
201
|
const context = useMenuContext();
|
|
200
|
-
const
|
|
201
|
-
const mergedProps = mergeProps11(() => context().getItemTextProps(
|
|
202
|
+
const itemProps = useMenuItemPropsContext();
|
|
203
|
+
const mergedProps = mergeProps11(() => context().getItemTextProps(itemProps), props);
|
|
202
204
|
return <ark.div {...mergedProps} />;
|
|
203
205
|
};
|
|
204
206
|
|
|
@@ -233,11 +235,11 @@ var MenuRadioItem = (props) => {
|
|
|
233
235
|
}));
|
|
234
236
|
const mergedProps = mergeProps13(() => context().getOptionItemProps(optionItemProps), localProps);
|
|
235
237
|
const optionItemState = createMemo3(() => context().getOptionItemState(optionItemProps));
|
|
236
|
-
return <
|
|
238
|
+
return <MenuItemPropsProvider value={optionItemProps}>
|
|
237
239
|
<MenuItemProvider value={optionItemState}>
|
|
238
240
|
<ark.div {...mergedProps} />
|
|
239
241
|
</MenuItemProvider>
|
|
240
|
-
</
|
|
242
|
+
</MenuItemPropsProvider>;
|
|
241
243
|
};
|
|
242
244
|
|
|
243
245
|
// src/components/menu/menu-radio-item-group.tsx
|
|
@@ -116,7 +116,7 @@ var TreeViewItemText = (props) => {
|
|
|
116
116
|
var TreeViewLabel = (props) => {
|
|
117
117
|
const treeView2 = useTreeViewContext();
|
|
118
118
|
const mergedProps = mergeProps(() => treeView2().getLabelProps(), props);
|
|
119
|
-
return createComponent(ark.
|
|
119
|
+
return createComponent(ark.h3, mergedProps);
|
|
120
120
|
};
|
|
121
121
|
|
|
122
122
|
// src/components/tree-view/tree-view-node-context.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./HQOIDGRU.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 "./
|
|
13
|
-
import {
|
|
14
|
-
runIfFn
|
|
15
|
-
} from "./KGOB2IMX.jsx";
|
|
12
|
+
} from "./E2L62MKC.jsx";
|
|
16
13
|
import {
|
|
17
14
|
useLocaleContext
|
|
18
15
|
} from "./YUC6JE7K.jsx";
|
|
19
16
|
import {
|
|
20
17
|
createContext
|
|
21
18
|
} 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 "./
|
|
10
|
-
import {
|
|
11
|
-
runIfFn
|
|
12
|
-
} from "./KGOB2IMX.jsx";
|
|
9
|
+
} from "./E2L62MKC.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useLocaleContext
|
|
15
12
|
} from "./YUC6JE7K.jsx";
|
|
16
13
|
import {
|
|
17
14
|
createContext
|
|
18
15
|
} 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
|
collapsible_exports
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./WHXDBQDP.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 "./
|
|
18
|
-
import {
|
|
19
|
-
runIfFn
|
|
20
|
-
} from "./KGOB2IMX.jsx";
|
|
17
|
+
} from "./E2L62MKC.jsx";
|
|
21
18
|
import {
|
|
22
19
|
useLocaleContext
|
|
23
20
|
} from "./YUC6JE7K.jsx";
|
|
24
21
|
import {
|
|
25
22
|
createContext
|
|
26
23
|
} from "./TVCIHLER.jsx";
|
|
24
|
+
import {
|
|
25
|
+
runIfFn
|
|
26
|
+
} from "./KGOB2IMX.jsx";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
29
|
} from "./7IUG3E2V.jsx";
|
|
@@ -162,7 +162,7 @@ import { mergeProps as mergeProps11 } from "@zag-js/solid";
|
|
|
162
162
|
var TreeViewLabel = (props) => {
|
|
163
163
|
const treeView2 = useTreeViewContext();
|
|
164
164
|
const mergedProps = mergeProps11(() => treeView2().getLabelProps(), props);
|
|
165
|
-
return <ark.
|
|
165
|
+
return <ark.h3 {...mergedProps} />;
|
|
166
166
|
};
|
|
167
167
|
|
|
168
168
|
// src/components/tree-view/tree-view-node-context.ts
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./ETB2BIQZ.jsx";
|
|
4
4
|
import {
|
|
5
5
|
useFieldContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./HQOIDGRU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
createSplitProps
|
|
9
9
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -12,16 +12,16 @@ import {
|
|
|
12
12
|
} from "./UFYZ7HLU.jsx";
|
|
13
13
|
import {
|
|
14
14
|
useEnvironmentContext
|
|
15
|
-
} from "./
|
|
16
|
-
import {
|
|
17
|
-
runIfFn
|
|
18
|
-
} from "./KGOB2IMX.jsx";
|
|
15
|
+
} from "./E2L62MKC.jsx";
|
|
19
16
|
import {
|
|
20
17
|
useLocaleContext
|
|
21
18
|
} from "./YUC6JE7K.jsx";
|
|
22
19
|
import {
|
|
23
20
|
createContext
|
|
24
21
|
} from "./TVCIHLER.jsx";
|
|
22
|
+
import {
|
|
23
|
+
runIfFn
|
|
24
|
+
} from "./KGOB2IMX.jsx";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
27
|
} from "./7IUG3E2V.jsx";
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
runIfFn
|
|
12
|
-
} from "./KGOB2IMX.jsx";
|
|
9
|
+
} from "./E2L62MKC.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useLocaleContext
|
|
15
12
|
} from "./YUC6JE7K.jsx";
|
|
16
13
|
import {
|
|
17
14
|
createContext
|
|
18
15
|
} 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 "./
|
|
10
|
-
import {
|
|
11
|
-
runIfFn
|
|
12
|
-
} from "./KGOB2IMX.jsx";
|
|
9
|
+
} from "./E2L62MKC.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useLocaleContext
|
|
15
12
|
} from "./YUC6JE7K.jsx";
|
|
16
13
|
import {
|
|
17
14
|
createContext
|
|
18
15
|
} 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 "./HQOIDGRU.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 "./
|
|
13
|
-
import {
|
|
14
|
-
runIfFn
|
|
15
|
-
} from "./KGOB2IMX.jsx";
|
|
12
|
+
} from "./E2L62MKC.jsx";
|
|
16
13
|
import {
|
|
17
14
|
useLocaleContext
|
|
18
15
|
} from "./YUC6JE7K.jsx";
|
|
19
16
|
import {
|
|
20
17
|
createContext
|
|
21
18
|
} 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 "./
|
|
10
|
-
import {
|
|
11
|
-
runIfFn
|
|
12
|
-
} from "./KGOB2IMX.jsx";
|
|
9
|
+
} from "./E2L62MKC.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useLocaleContext
|
|
15
12
|
} from "./YUC6JE7K.jsx";
|
|
16
13
|
import {
|
|
17
14
|
createContext
|
|
18
15
|
} from "./TVCIHLER.jsx";
|
|
16
|
+
import {
|
|
17
|
+
runIfFn
|
|
18
|
+
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
21
|
} from "./7IUG3E2V.jsx";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./HQOIDGRU.jsx";
|
|
4
4
|
import {
|
|
5
5
|
PresenceProvider,
|
|
6
6
|
splitPresenceProps,
|
|
7
7
|
usePresence,
|
|
8
8
|
usePresenceContext
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./WC2HBDLJ.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 "./
|
|
22
|
-
import {
|
|
23
|
-
runIfFn
|
|
24
|
-
} from "./KGOB2IMX.jsx";
|
|
21
|
+
} from "./E2L62MKC.jsx";
|
|
25
22
|
import {
|
|
26
23
|
useLocaleContext
|
|
27
24
|
} from "./YUC6JE7K.jsx";
|
|
28
25
|
import {
|
|
29
26
|
createContext
|
|
30
27
|
} 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 "./HQOIDGRU.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 "./
|
|
13
|
-
import {
|
|
14
|
-
runIfFn
|
|
15
|
-
} from "./KGOB2IMX.jsx";
|
|
12
|
+
} from "./E2L62MKC.jsx";
|
|
16
13
|
import {
|
|
17
14
|
useLocaleContext
|
|
18
15
|
} from "./YUC6JE7K.jsx";
|
|
19
16
|
import {
|
|
20
17
|
createContext
|
|
21
18
|
} 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 "./WC2HBDLJ.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 "./
|
|
19
|
-
import {
|
|
20
|
-
runIfFn
|
|
21
|
-
} from "./KGOB2IMX.jsx";
|
|
18
|
+
} from "./E2L62MKC.jsx";
|
|
22
19
|
import {
|
|
23
20
|
useLocaleContext
|
|
24
21
|
} from "./YUC6JE7K.jsx";
|
|
25
22
|
import {
|
|
26
23
|
createContext
|
|
27
24
|
} from "./TVCIHLER.jsx";
|
|
25
|
+
import {
|
|
26
|
+
runIfFn
|
|
27
|
+
} from "./KGOB2IMX.jsx";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
30
|
} from "./7IUG3E2V.jsx";
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
runIfFn
|
|
12
|
-
} from "./KGOB2IMX.jsx";
|
|
9
|
+
} from "./E2L62MKC.jsx";
|
|
13
10
|
import {
|
|
14
11
|
createContext
|
|
15
12
|
} from "./TVCIHLER.jsx";
|
|
13
|
+
import {
|
|
14
|
+
runIfFn
|
|
15
|
+
} from "./KGOB2IMX.jsx";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
18
|
} from "./7IUG3E2V.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";
|
|
@@ -20,16 +20,16 @@ import {
|
|
|
20
20
|
} from "./UFYZ7HLU.jsx";
|
|
21
21
|
import {
|
|
22
22
|
useEnvironmentContext
|
|
23
|
-
} from "./
|
|
24
|
-
import {
|
|
25
|
-
runIfFn
|
|
26
|
-
} from "./KGOB2IMX.jsx";
|
|
23
|
+
} from "./E2L62MKC.jsx";
|
|
27
24
|
import {
|
|
28
25
|
useLocaleContext
|
|
29
26
|
} from "./YUC6JE7K.jsx";
|
|
30
27
|
import {
|
|
31
28
|
createContext
|
|
32
29
|
} from "./TVCIHLER.jsx";
|
|
30
|
+
import {
|
|
31
|
+
runIfFn
|
|
32
|
+
} from "./KGOB2IMX.jsx";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
35
|
} from "./7IUG3E2V.jsx";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
splitPresenceProps,
|
|
8
8
|
usePresence,
|
|
9
9
|
usePresenceContext
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./WC2HBDLJ.jsx";
|
|
11
11
|
import {
|
|
12
12
|
createSplitProps
|
|
13
13
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -16,16 +16,16 @@ import {
|
|
|
16
16
|
} from "./UFYZ7HLU.jsx";
|
|
17
17
|
import {
|
|
18
18
|
useEnvironmentContext
|
|
19
|
-
} from "./
|
|
20
|
-
import {
|
|
21
|
-
runIfFn
|
|
22
|
-
} from "./KGOB2IMX.jsx";
|
|
19
|
+
} from "./E2L62MKC.jsx";
|
|
23
20
|
import {
|
|
24
21
|
useLocaleContext
|
|
25
22
|
} from "./YUC6JE7K.jsx";
|
|
26
23
|
import {
|
|
27
24
|
createContext
|
|
28
25
|
} from "./TVCIHLER.jsx";
|
|
26
|
+
import {
|
|
27
|
+
runIfFn
|
|
28
|
+
} from "./KGOB2IMX.jsx";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
31
|
} from "./7IUG3E2V.jsx";
|
|
@@ -39,9 +39,9 @@ var [MenuItemProvider, useMenuItemContext] = createContext({
|
|
|
39
39
|
});
|
|
40
40
|
|
|
41
41
|
// src/components/menu/use-menu-option-item-props-context.ts
|
|
42
|
-
var [
|
|
43
|
-
hookName: "
|
|
44
|
-
providerName: "<
|
|
42
|
+
var [MenuItemPropsProvider, useMenuItemPropsContext] = createContext({
|
|
43
|
+
hookName: "useMenuItemPropsContext",
|
|
44
|
+
providerName: "<MenuItemPropsProvider />"
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
// src/components/menu/menu-checkbox-item.tsx
|
|
@@ -53,7 +53,7 @@ var MenuCheckboxItem = (props) => {
|
|
|
53
53
|
const context = useMenuContext();
|
|
54
54
|
const mergedProps = mergeProps(() => context().getOptionItemProps(optionItemProps), localProps);
|
|
55
55
|
const optionItemState = createMemo(() => context().getItemState(optionItemProps));
|
|
56
|
-
return createComponent(
|
|
56
|
+
return createComponent(MenuItemPropsProvider, {
|
|
57
57
|
value: optionItemProps,
|
|
58
58
|
get children() {
|
|
59
59
|
return createComponent(MenuItemProvider, {
|
|
@@ -108,10 +108,15 @@ var MenuItem = (props) => {
|
|
|
108
108
|
});
|
|
109
109
|
onCleanup(() => cleanup?.());
|
|
110
110
|
});
|
|
111
|
-
return createComponent(
|
|
112
|
-
value:
|
|
111
|
+
return createComponent(MenuItemPropsProvider, {
|
|
112
|
+
value: itemProps,
|
|
113
113
|
get children() {
|
|
114
|
-
return createComponent(
|
|
114
|
+
return createComponent(MenuItemProvider, {
|
|
115
|
+
value: itemState,
|
|
116
|
+
get children() {
|
|
117
|
+
return createComponent(ark.div, mergedProps);
|
|
118
|
+
}
|
|
119
|
+
});
|
|
115
120
|
}
|
|
116
121
|
});
|
|
117
122
|
};
|
|
@@ -150,14 +155,14 @@ var MenuItemGroupLabel = (props) => {
|
|
|
150
155
|
};
|
|
151
156
|
var MenuItemIndicator = (props) => {
|
|
152
157
|
const context = useMenuContext();
|
|
153
|
-
const
|
|
154
|
-
const mergedProps = mergeProps(() => context().getItemIndicatorProps(
|
|
158
|
+
const itemProps = useMenuItemPropsContext();
|
|
159
|
+
const mergedProps = mergeProps(() => context().getItemIndicatorProps(itemProps), props);
|
|
155
160
|
return createComponent(ark.div, mergedProps);
|
|
156
161
|
};
|
|
157
162
|
var MenuItemText = (props) => {
|
|
158
163
|
const context = useMenuContext();
|
|
159
|
-
const
|
|
160
|
-
const mergedProps = mergeProps(() => context().getItemTextProps(
|
|
164
|
+
const itemProps = useMenuItemPropsContext();
|
|
165
|
+
const mergedProps = mergeProps(() => context().getItemTextProps(itemProps), props);
|
|
161
166
|
return createComponent(ark.div, mergedProps);
|
|
162
167
|
};
|
|
163
168
|
var MenuPositioner = (props) => {
|
|
@@ -186,7 +191,7 @@ var MenuRadioItem = (props) => {
|
|
|
186
191
|
}));
|
|
187
192
|
const mergedProps = mergeProps(() => context().getOptionItemProps(optionItemProps), localProps);
|
|
188
193
|
const optionItemState = createMemo(() => context().getOptionItemState(optionItemProps));
|
|
189
|
-
return createComponent(
|
|
194
|
+
return createComponent(MenuItemPropsProvider, {
|
|
190
195
|
value: optionItemProps,
|
|
191
196
|
get children() {
|
|
192
197
|
return createComponent(MenuItemProvider, {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./DOBZPYAN.jsx";
|
|
4
4
|
import {
|
|
5
5
|
EnvironmentProvider
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./E2L62MKC.jsx";
|
|
7
7
|
|
|
8
8
|
// src/components/frame/frame.tsx
|
|
9
9
|
import { Show, createEffect as createEffect2, createMemo, createSignal, onCleanup as onCleanup2, splitProps } from "solid-js";
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
runIfFn
|
|
12
|
-
} from "./KGOB2IMX.jsx";
|
|
9
|
+
} from "./E2L62MKC.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useLocaleContext
|
|
15
12
|
} from "./YUC6JE7K.jsx";
|
|
16
13
|
import {
|
|
17
14
|
createContext
|
|
18
15
|
} from "./TVCIHLER.jsx";
|
|
16
|
+
import {
|
|
17
|
+
runIfFn
|
|
18
|
+
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
21
|
} from "./7IUG3E2V.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";
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
16
|
import {
|
|
17
17
|
useEnvironmentContext
|
|
18
|
-
} from "./
|
|
19
|
-
import {
|
|
20
|
-
runIfFn
|
|
21
|
-
} from "./KGOB2IMX.jsx";
|
|
18
|
+
} from "./E2L62MKC.jsx";
|
|
22
19
|
import {
|
|
23
20
|
useLocaleContext
|
|
24
21
|
} from "./YUC6JE7K.jsx";
|
|
25
22
|
import {
|
|
26
23
|
createContext
|
|
27
24
|
} from "./TVCIHLER.jsx";
|
|
25
|
+
import {
|
|
26
|
+
runIfFn
|
|
27
|
+
} from "./KGOB2IMX.jsx";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
30
|
} from "./7IUG3E2V.jsx";
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
10
|
import {
|
|
11
11
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
runIfFn
|
|
15
|
-
} from "./KGOB2IMX.jsx";
|
|
12
|
+
} from "./E2L62MKC.jsx";
|
|
16
13
|
import {
|
|
17
14
|
useLocaleContext
|
|
18
15
|
} from "./YUC6JE7K.jsx";
|
|
19
16
|
import {
|
|
20
17
|
createContext
|
|
21
18
|
} from "./TVCIHLER.jsx";
|
|
19
|
+
import {
|
|
20
|
+
runIfFn
|
|
21
|
+
} from "./KGOB2IMX.jsx";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./7IUG3E2V.jsx";
|