@ark-ui/solid 5.29.1 → 5.30.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/{YIPYNXJY.jsx → 2JSSDQEE.jsx} +20 -6
- package/dist/chunk/{4E5O3DFC.js → 2V2P2JZV.js} +11 -7
- package/dist/chunk/{7U5HG766.js → 372PVMNT.js} +2 -2
- package/dist/chunk/{4HLADW3E.js → 3BRVNFB3.js} +2 -2
- package/dist/chunk/{WKT2SQRV.jsx → 3ZDGZCBV.jsx} +12 -6
- package/dist/chunk/{ZGPHPTSF.jsx → 4A6UNZ4T.jsx} +2 -0
- package/dist/chunk/{BWCRBIWY.js → 52VYWTHF.js} +2 -2
- package/dist/chunk/{JTXFPGYY.jsx → 76KFR2EJ.jsx} +2 -1
- package/dist/chunk/{CCVDHSBF.jsx → 7HLG62OR.jsx} +4 -4
- package/dist/chunk/{YBQYQBZP.js → AH5KB6LR.js} +3 -3
- package/dist/chunk/{KTDBBD3I.js → B434DN6B.js} +15 -3
- package/dist/chunk/{QOPSKJ3A.js → F7OI3RZ3.js} +1 -1
- package/dist/chunk/{PTXD6FJD.js → FDE3GI6Q.js} +2 -2
- package/dist/chunk/{4R3DUS36.js → G2THT6E6.js} +2 -2
- package/dist/chunk/{B37HJ43Y.js → GBGTOFYC.js} +1 -1
- package/dist/chunk/{NERR3PSK.jsx → GCEYGQPA.jsx} +3 -3
- package/dist/chunk/{KPDPHOBC.js → HCQSZULR.js} +2 -2
- package/dist/chunk/{7EJEMGDG.jsx → HVXJLFJY.jsx} +1 -1
- package/dist/chunk/{GG7F5STH.jsx → HWHAUHQ5.jsx} +2 -1
- package/dist/chunk/{SEOZ3YW4.jsx → IGSOSLB3.jsx} +1 -1
- package/dist/chunk/{BIFBSKYL.jsx → J5ODILBT.jsx} +6 -6
- package/dist/chunk/{MO66WHZP.jsx → JNBFQ7ZP.jsx} +6 -6
- package/dist/chunk/{XBXF34UK.jsx → JRY66LXS.jsx} +1 -1
- package/dist/chunk/{UZ7SFAVT.js → K3TLO6S6.js} +2 -2
- package/dist/chunk/{2RLPNMQC.js → LNZGGTI5.js} +2 -2
- package/dist/chunk/{XV2QYX2I.jsx → NHEM6XZR.jsx} +8 -3
- package/dist/chunk/{GNYPPI32.jsx → NPSTVZUG.jsx} +1 -1
- package/dist/chunk/{MMSH3XOE.jsx → NZQO4OJP.jsx} +1 -1
- package/dist/chunk/{BVY3M35Y.jsx → ORJXW4SC.jsx} +1 -1
- package/dist/chunk/{6W3X5JZW.jsx → OVPRCDDL.jsx} +1 -1
- package/dist/chunk/{UFUCDO7B.js → QGXWXVZ5.js} +18 -8
- package/dist/chunk/{F3HHU2RK.jsx → RRFWSRAD.jsx} +8 -6
- package/dist/chunk/{VHH5V6SW.js → RSWPJEWK.js} +2 -2
- package/dist/chunk/{4GEAI2WA.jsx → SH4J3NPA.jsx} +31 -10
- package/dist/chunk/TILTTA4A.js +1 -0
- package/dist/chunk/{HJW3RUPH.js → TP32AKQX.js} +2 -2
- package/dist/chunk/{XNP7QM5Q.jsx → UHWLTCQZ.jsx} +0 -3
- package/dist/chunk/{WDRQQ36P.js → UTULIPW7.js} +2 -2
- package/dist/chunk/{PO54HM6N.jsx → VH6MDPEX.jsx} +1 -1
- package/dist/chunk/{PXFOGFRN.jsx → VIKFXGE5.jsx} +1 -1
- package/dist/chunk/{IT7ZIH75.js → W7YDKZGP.js} +2 -2
- package/dist/chunk/WCB4ISVQ.jsx +6 -0
- package/dist/chunk/{TDHE3VYT.js → WUBTAV2O.js} +2 -2
- package/dist/chunk/{CLO7VA44.js → Z4EBWHQF.js} +3 -3
- package/dist/chunk/{FZWU5W76.js → Z5ZRFFPU.js} +5 -0
- package/dist/chunk/{33WPGMEN.js → ZYFWVVTC.js} +2 -2
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/accordion/index.jsx +1 -1
- package/dist/components/anatomy.d.ts +1 -0
- package/dist/components/anatomy.js +16 -15
- package/dist/components/anatomy.jsx +48 -44
- package/dist/components/angle-slider/index.js +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/bottom-sheet/index.js +1 -1
- package/dist/components/bottom-sheet/index.jsx +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/checkbox/index.d.ts +4 -4
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.jsx +4 -4
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/collapsible/index.jsx +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/color-picker/index.jsx +5 -5
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/combobox/index.jsx +5 -5
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-picker/index.jsx +3 -3
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dialog/index.jsx +2 -2
- package/dist/components/editable/index.js +1 -1
- package/dist/components/editable/index.jsx +4 -4
- package/dist/components/field/index.js +1 -1
- package/dist/components/field/index.jsx +3 -3
- package/dist/components/fieldset/index.d.ts +5 -0
- package/dist/components/fieldset/index.js +1 -1
- package/dist/components/fieldset/index.jsx +2 -2
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/file-upload/index.jsx +4 -4
- package/dist/components/floating-panel/index.js +1 -1
- package/dist/components/floating-panel/index.jsx +2 -2
- package/dist/components/frame/index.jsx +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/hover-card/index.jsx +2 -2
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +62 -62
- package/dist/components/index.jsx +319 -315
- package/dist/components/json-tree-view/index.js +1 -1
- package/dist/components/json-tree-view/index.jsx +4 -4
- package/dist/components/listbox/index.js +1 -1
- package/dist/components/marquee/index.js +1 -1
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/index.jsx +2 -2
- package/dist/components/navigation-menu/index.d.ts +106 -0
- package/dist/components/navigation-menu/index.js +274 -0
- package/dist/components/navigation-menu/index.jsx +304 -0
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/index.jsx +4 -4
- package/dist/components/pagination/index.d.ts +14 -2
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/index.jsx +5 -1
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/password-input/index.jsx +4 -4
- package/dist/components/pin-input/index.js +1 -1
- package/dist/components/pin-input/index.jsx +4 -4
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/index.jsx +2 -2
- package/dist/components/progress/index.js +1 -1
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radio-group/index.jsx +4 -1
- package/dist/components/rating-group/index.js +1 -1
- package/dist/components/rating-group/index.jsx +4 -4
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/segment-group/index.js +1 -1
- package/dist/components/segment-group/index.jsx +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/index.jsx +5 -5
- package/dist/components/signature-pad/index.js +1 -1
- package/dist/components/signature-pad/index.jsx +4 -4
- package/dist/components/slider/index.js +1 -1
- package/dist/components/splitter/index.js +1 -1
- package/dist/components/steps/index.js +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/index.jsx +4 -4
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/index.jsx +2 -2
- package/dist/components/tags-input/index.js +1 -1
- package/dist/components/tags-input/index.jsx +4 -4
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toggle-group/index.js +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/index.jsx +2 -2
- package/dist/components/tour/index.js +1 -1
- package/dist/components/tour/index.jsx +3 -3
- package/dist/components/tree-view/index.js +1 -1
- package/dist/components/tree-view/index.jsx +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +63 -63
- package/dist/index.jsx +319 -315
- package/dist/providers/index.js +1 -1
- package/package.json +67 -66
- package/dist/chunk/{2PUG56L6.js → 2BFJIRAK.js} +1 -1
- package/dist/chunk/{YKTNXZQT.js → 7B5HD3HF.js} +1 -1
- package/dist/chunk/{WGZNF7D4.js → B7OY6YTK.js} +1 -1
- package/dist/chunk/{LQZTXA2V.js → BX734ZD7.js} +1 -1
- package/dist/chunk/{WNAARMIE.js → DBNXBHAT.js} +1 -1
- package/dist/chunk/{VKXIXTM7.js → GCQCOMQH.js} +1 -1
- package/dist/chunk/{CGNUC23H.js → HI7OENS5.js} +1 -1
- package/dist/chunk/{TW456WML.jsx → HNIBOZUS.jsx} +3 -3
- package/dist/chunk/{Q5A3MS3U.js → HYQNCIWP.js} +1 -1
- package/dist/chunk/{EMVS6NWP.js → JLPPHEZV.js} +1 -1
- package/dist/chunk/{AQBFQJ3Q.js → K32NALIW.js} +1 -1
- package/dist/chunk/{4QVZJ5ML.js → M3S2UEA7.js} +1 -1
- package/dist/chunk/{3YPP6L6Q.js → O5M2FPMH.js} +1 -1
- package/dist/chunk/{YWUMEZK2.js → P2OA7NSB.js} +1 -1
- package/dist/chunk/{ZZZCGUS6.js → QARPXWDS.js} +1 -1
- package/dist/chunk/{5JS2MHQE.js → S7F5ETXJ.js} +1 -1
- package/dist/chunk/{JLEHJHHW.js → SYNEPEHD.js} +1 -1
- package/dist/chunk/{CR7T4TQD.js → TWZUCWKG.js} +1 -1
- package/dist/chunk/{3YM53Z6T.js → UDBRICA6.js} +1 -1
- package/dist/chunk/{F4DBA2W2.js → UXUJ2LD6.js} +1 -1
- package/dist/chunk/{M3PQVDTA.js → VDRVAOKQ.js} +1 -1
- package/dist/chunk/{ITAE33UN.js → W33NQFXF.js} +1 -1
- package/dist/chunk/{536HCWLL.js → WT5KEZUJ.js} +1 -1
- package/dist/chunk/{2G3XSL5X.js → YENHTIT6.js} +1 -1
- package/dist/chunk/{2ZJJQCRC.js → Z5L7ULFZ.js} +1 -1
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useFieldsetContext
|
|
3
|
+
} from "./NHEM6XZR.jsx";
|
|
1
4
|
import {
|
|
2
5
|
createSplitProps
|
|
3
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -115,12 +118,21 @@ var useRadioGroup = (props) => {
|
|
|
115
118
|
const id = createUniqueId();
|
|
116
119
|
const locale = useLocaleContext();
|
|
117
120
|
const environment = useEnvironmentContext();
|
|
118
|
-
const
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
121
|
+
const fieldset = useFieldsetContext();
|
|
122
|
+
const machineProps = createMemo2(() => {
|
|
123
|
+
const fieldsetContext = fieldset?.();
|
|
124
|
+
return {
|
|
125
|
+
id,
|
|
126
|
+
ids: {
|
|
127
|
+
label: fieldsetContext?.ids?.legend
|
|
128
|
+
},
|
|
129
|
+
dir: locale().dir,
|
|
130
|
+
disabled: fieldsetContext?.disabled,
|
|
131
|
+
invalid: fieldsetContext?.invalid,
|
|
132
|
+
getRootNode: environment().getRootNode,
|
|
133
|
+
...runIfFn(props)
|
|
134
|
+
};
|
|
135
|
+
});
|
|
124
136
|
const service = useMachine(radio.machine, machineProps);
|
|
125
137
|
return createMemo2(() => radio.connect(service, normalizeProps));
|
|
126
138
|
};
|
|
@@ -133,10 +145,12 @@ var RadioGroupRoot = (props) => {
|
|
|
133
145
|
"form",
|
|
134
146
|
"id",
|
|
135
147
|
"ids",
|
|
148
|
+
"invalid",
|
|
136
149
|
"name",
|
|
137
150
|
"onValueChange",
|
|
138
151
|
"orientation",
|
|
139
152
|
"readOnly",
|
|
153
|
+
"required",
|
|
140
154
|
"value"
|
|
141
155
|
]);
|
|
142
156
|
const radioGroup = useRadioGroup(useRadioGroupProps);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './GBGTOFYC.js';
|
|
2
|
+
import { useFieldsetContext } from './Z5ZRFFPU.js';
|
|
2
3
|
import { checkboxAnatomy } from './G5RHOVDI.js';
|
|
3
4
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
5
|
import { ark } from './EPLBB4QN.js';
|
|
5
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
6
6
|
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
7
|
+
import { useLocaleContext } from './RVOPDSQY.js';
|
|
7
8
|
import { runIfFn } from './DT73WLR4.js';
|
|
8
9
|
import { createContext } from './THN5C4U6.js';
|
|
9
10
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -44,7 +45,10 @@ function useControllableState(props) {
|
|
|
44
45
|
|
|
45
46
|
// src/components/checkbox/use-checkbox-group.ts
|
|
46
47
|
function useCheckboxGroup(props = {}) {
|
|
47
|
-
const
|
|
48
|
+
const fieldset = useFieldsetContext();
|
|
49
|
+
const disabled = () => props.disabled ?? fieldset?.()?.disabled;
|
|
50
|
+
const invalid = () => props.invalid ?? fieldset?.()?.invalid;
|
|
51
|
+
const interactive = createMemo(() => !(disabled() || props.readOnly));
|
|
48
52
|
const [value, setValue] = useControllableState({
|
|
49
53
|
value: props.value,
|
|
50
54
|
defaultValue: props.defaultValue || [],
|
|
@@ -75,18 +79,18 @@ function useCheckboxGroup(props = {}) {
|
|
|
75
79
|
}
|
|
76
80
|
},
|
|
77
81
|
name: props.name,
|
|
78
|
-
disabled:
|
|
82
|
+
disabled: disabled(),
|
|
79
83
|
readOnly: props.readOnly,
|
|
80
|
-
invalid:
|
|
84
|
+
invalid: invalid()
|
|
81
85
|
};
|
|
82
86
|
};
|
|
83
87
|
return {
|
|
84
88
|
isChecked,
|
|
85
89
|
value,
|
|
86
90
|
name: props.name,
|
|
87
|
-
disabled:
|
|
91
|
+
disabled: disabled(),
|
|
88
92
|
readOnly: props.readOnly,
|
|
89
|
-
invalid:
|
|
93
|
+
invalid: invalid(),
|
|
90
94
|
setValue,
|
|
91
95
|
addValue,
|
|
92
96
|
toggleValue,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useCollapsibleContext, collapsible_exports } from './
|
|
1
|
+
import { useCollapsibleContext, collapsible_exports } from './TWZUCWKG.js';
|
|
2
2
|
import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './GUFIKGZ6.js';
|
|
3
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
4
|
import { ark } from './EPLBB4QN.js';
|
|
5
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
6
5
|
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
6
|
+
import { useLocaleContext } from './RVOPDSQY.js';
|
|
7
7
|
import { runIfFn } from './DT73WLR4.js';
|
|
8
8
|
import { createContext } from './THN5C4U6.js';
|
|
9
9
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './GBGTOFYC.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
3
|
import { ark } from './EPLBB4QN.js';
|
|
4
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
5
4
|
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
5
|
+
import { useLocaleContext } from './RVOPDSQY.js';
|
|
6
6
|
import { runIfFn } from './DT73WLR4.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./7HLG62OR.jsx";
|
|
4
|
+
import {
|
|
5
|
+
useFieldsetContext
|
|
6
|
+
} from "./NHEM6XZR.jsx";
|
|
4
7
|
import {
|
|
5
8
|
checkboxAnatomy
|
|
6
9
|
} from "./JCNWK3IN.jsx";
|
|
@@ -67,7 +70,10 @@ function useControllableState(props) {
|
|
|
67
70
|
|
|
68
71
|
// src/components/checkbox/use-checkbox-group.ts
|
|
69
72
|
function useCheckboxGroup(props = {}) {
|
|
70
|
-
const
|
|
73
|
+
const fieldset = useFieldsetContext();
|
|
74
|
+
const disabled = () => props.disabled ?? fieldset?.()?.disabled;
|
|
75
|
+
const invalid = () => props.invalid ?? fieldset?.()?.invalid;
|
|
76
|
+
const interactive = createMemo2(() => !(disabled() || props.readOnly));
|
|
71
77
|
const [value, setValue] = useControllableState({
|
|
72
78
|
value: props.value,
|
|
73
79
|
defaultValue: props.defaultValue || [],
|
|
@@ -98,18 +104,18 @@ function useCheckboxGroup(props = {}) {
|
|
|
98
104
|
}
|
|
99
105
|
},
|
|
100
106
|
name: props.name,
|
|
101
|
-
disabled:
|
|
107
|
+
disabled: disabled(),
|
|
102
108
|
readOnly: props.readOnly,
|
|
103
|
-
invalid:
|
|
109
|
+
invalid: invalid()
|
|
104
110
|
};
|
|
105
111
|
};
|
|
106
112
|
return {
|
|
107
113
|
isChecked,
|
|
108
114
|
value,
|
|
109
115
|
name: props.name,
|
|
110
|
-
disabled:
|
|
116
|
+
disabled: disabled(),
|
|
111
117
|
readOnly: props.readOnly,
|
|
112
|
-
invalid:
|
|
118
|
+
invalid: invalid(),
|
|
113
119
|
setValue,
|
|
114
120
|
addValue,
|
|
115
121
|
toggleValue,
|
|
@@ -136,10 +136,12 @@ var SegmentGroupRoot = (props) => {
|
|
|
136
136
|
"form",
|
|
137
137
|
"id",
|
|
138
138
|
"ids",
|
|
139
|
+
"invalid",
|
|
139
140
|
"name",
|
|
140
141
|
"onValueChange",
|
|
141
142
|
"orientation",
|
|
142
143
|
"readOnly",
|
|
144
|
+
"required",
|
|
143
145
|
"value"
|
|
144
146
|
]);
|
|
145
147
|
const segmentGroup2 = useSegmentGroup(useSegmentGroupProps);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './GBGTOFYC.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
3
|
import { ark } from './EPLBB4QN.js';
|
|
4
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
5
4
|
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
5
|
+
import { useLocaleContext } from './RVOPDSQY.js';
|
|
6
6
|
import { runIfFn } from './DT73WLR4.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./7HLG62OR.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -125,6 +125,7 @@ var NumberInputRoot = (props) => {
|
|
|
125
125
|
"name",
|
|
126
126
|
"onFocusChange",
|
|
127
127
|
"onValueChange",
|
|
128
|
+
"onValueCommit",
|
|
128
129
|
"onValueInvalid",
|
|
129
130
|
"pattern",
|
|
130
131
|
"readOnly",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldsetContext
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
composeRefs
|
|
6
|
-
} from "./PT2CJE3O.jsx";
|
|
3
|
+
} from "./NHEM6XZR.jsx";
|
|
7
4
|
import {
|
|
8
5
|
parts
|
|
9
6
|
} from "./6P2AQNUE.jsx";
|
|
7
|
+
import {
|
|
8
|
+
composeRefs
|
|
9
|
+
} from "./PT2CJE3O.jsx";
|
|
10
10
|
import {
|
|
11
11
|
createSplitProps
|
|
12
12
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { collapsible_exports } from './
|
|
1
|
+
import { collapsible_exports } from './TWZUCWKG.js';
|
|
2
2
|
import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './GUFIKGZ6.js';
|
|
3
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
4
|
import { ark } from './EPLBB4QN.js';
|
|
5
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
6
5
|
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
6
|
+
import { useLocaleContext } from './RVOPDSQY.js';
|
|
7
7
|
import { runIfFn } from './DT73WLR4.js';
|
|
8
8
|
import { createContext } from './THN5C4U6.js';
|
|
9
9
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -176,7 +176,7 @@ var useTreeView = (props) => {
|
|
|
176
176
|
// src/components/tree-view/tree-view-root.tsx
|
|
177
177
|
var TreeViewRoot = (props) => {
|
|
178
178
|
const [renderStrategyProps, treeViewProps] = splitRenderStrategyProps(props);
|
|
179
|
-
const [useTreeViewProps, localProps] = createSplitProps()(treeViewProps, ["canRename", "checkedValue", "collection", "defaultCheckedValue", "defaultExpandedValue", "defaultFocusedValue", "defaultSelectedValue", "expandedValue", "expandOnClick", "focusedValue", "id", "ids", "loadChildren", "onBeforeRename", "onCheckedChange", "onExpandedChange", "onFocusChange", "onLoadChildrenComplete", "onLoadChildrenError", "onRenameComplete", "onRenameStart", "onSelectionChange", "selectedValue", "selectionMode", "typeahead"]);
|
|
179
|
+
const [useTreeViewProps, localProps] = createSplitProps()(treeViewProps, ["canRename", "checkedValue", "collection", "defaultCheckedValue", "defaultExpandedValue", "defaultFocusedValue", "defaultSelectedValue", "expandedValue", "expandOnClick", "focusedValue", "id", "ids", "loadChildren", "onBeforeRename", "onCheckedChange", "onExpandedChange", "onFocusChange", "onLoadChildrenComplete", "onLoadChildrenError", "onRenameComplete", "onRenameStart", "onSelectionChange", "selectedValue", "selectionMode", "typeahead", "scrollToIndexFn"]);
|
|
180
180
|
const treeView2 = useTreeView(useTreeViewProps);
|
|
181
181
|
const mergedProps = mergeProps(() => treeView2().getRootProps(), localProps);
|
|
182
182
|
return createComponent(TreeViewProvider, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
2
2
|
import { ark } from './EPLBB4QN.js';
|
|
3
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
4
3
|
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
4
|
+
import { useLocaleContext } from './RVOPDSQY.js';
|
|
5
5
|
import { runIfFn } from './DT73WLR4.js';
|
|
6
6
|
import { createContext } from './THN5C4U6.js';
|
|
7
7
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -24,12 +24,22 @@ var PaginationEllipsis = (props) => {
|
|
|
24
24
|
const mergedProps = mergeProps(() => api().getEllipsisProps(ellipsisProps), localProps);
|
|
25
25
|
return createComponent(ark.div, mergedProps);
|
|
26
26
|
};
|
|
27
|
+
var PaginationFirstTrigger = (props) => {
|
|
28
|
+
const api = usePaginationContext();
|
|
29
|
+
const mergedProps = mergeProps(() => api().getFirstTriggerProps(), props);
|
|
30
|
+
return createComponent(ark.button, mergedProps);
|
|
31
|
+
};
|
|
27
32
|
var PaginationItem = (props) => {
|
|
28
33
|
const [itemProps, localProps] = createSplitProps()(props, ["value", "type"]);
|
|
29
34
|
const api = usePaginationContext();
|
|
30
35
|
const mergedProps = mergeProps(() => api().getItemProps(itemProps), localProps);
|
|
31
36
|
return createComponent(ark.button, mergedProps);
|
|
32
37
|
};
|
|
38
|
+
var PaginationLastTrigger = (props) => {
|
|
39
|
+
const api = usePaginationContext();
|
|
40
|
+
const mergedProps = mergeProps(() => api().getLastTriggerProps(), props);
|
|
41
|
+
return createComponent(ark.button, mergedProps);
|
|
42
|
+
};
|
|
33
43
|
var PaginationNextTrigger = (props) => {
|
|
34
44
|
const api = usePaginationContext();
|
|
35
45
|
const mergedProps = mergeProps(() => api().getNextTriggerProps(), props);
|
|
@@ -56,7 +66,7 @@ var usePagination = (props) => {
|
|
|
56
66
|
|
|
57
67
|
// src/components/pagination/pagination-root.tsx
|
|
58
68
|
var PaginationRoot = (props) => {
|
|
59
|
-
const [usePaginationProps, localProps] = createSplitProps()(props, ["count", "defaultPage", "defaultPageSize", "getPageUrl", "id", "ids", "onPageChange", "onPageSizeChange", "page", "pageSize", "siblingCount", "translations", "type"]);
|
|
69
|
+
const [usePaginationProps, localProps] = createSplitProps()(props, ["boundaryCount", "count", "defaultPage", "defaultPageSize", "getPageUrl", "id", "ids", "onPageChange", "onPageSizeChange", "page", "pageSize", "siblingCount", "translations", "type"]);
|
|
60
70
|
const api = usePagination(usePaginationProps);
|
|
61
71
|
const mergedProps = mergeProps(() => api().getRootProps(), localProps);
|
|
62
72
|
return createComponent(PaginationProvider, {
|
|
@@ -84,11 +94,13 @@ var pagination_exports = {};
|
|
|
84
94
|
__export(pagination_exports, {
|
|
85
95
|
Context: () => PaginationContext,
|
|
86
96
|
Ellipsis: () => PaginationEllipsis,
|
|
97
|
+
FirstTrigger: () => PaginationFirstTrigger,
|
|
87
98
|
Item: () => PaginationItem,
|
|
99
|
+
LastTrigger: () => PaginationLastTrigger,
|
|
88
100
|
NextTrigger: () => PaginationNextTrigger,
|
|
89
101
|
PrevTrigger: () => PaginationPrevTrigger,
|
|
90
102
|
Root: () => PaginationRoot,
|
|
91
103
|
RootProvider: () => PaginationRootProvider
|
|
92
104
|
});
|
|
93
105
|
|
|
94
|
-
export { PaginationContext, PaginationEllipsis, PaginationItem, PaginationNextTrigger, PaginationPrevTrigger, PaginationRoot, PaginationRootProvider, pagination_exports, usePagination, usePaginationContext };
|
|
106
|
+
export { PaginationContext, PaginationEllipsis, PaginationFirstTrigger, PaginationItem, PaginationLastTrigger, PaginationNextTrigger, PaginationPrevTrigger, PaginationRoot, PaginationRootProvider, pagination_exports, usePagination, usePaginationContext };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useTreeViewContext, tree_view_exports, useTreeView } from './
|
|
1
|
+
import { useTreeViewContext, tree_view_exports, useTreeView } from './AH5KB6LR.js';
|
|
2
2
|
import { createTreeCollection } from './APULXWCH.js';
|
|
3
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
4
|
import { createContext } from './THN5C4U6.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './FW6EZLZL.js';
|
|
2
|
-
import { useFieldContext } from './
|
|
2
|
+
import { useFieldContext } from './GBGTOFYC.js';
|
|
3
3
|
import { composeRefs } from './ROP6QZQ7.js';
|
|
4
4
|
import { comboboxAnatomy } from './POIATK64.js';
|
|
5
5
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
6
6
|
import { ark } from './EPLBB4QN.js';
|
|
7
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
8
7
|
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
8
|
+
import { useLocaleContext } from './RVOPDSQY.js';
|
|
9
9
|
import { runIfFn } from './DT73WLR4.js';
|
|
10
10
|
import { createContext } from './THN5C4U6.js';
|
|
11
11
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './FW6EZLZL.js';
|
|
2
|
-
import { useFieldContext } from './
|
|
2
|
+
import { useFieldContext } from './GBGTOFYC.js';
|
|
3
3
|
import { composeRefs } from './ROP6QZQ7.js';
|
|
4
4
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
5
5
|
import { ark } from './EPLBB4QN.js';
|
|
6
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
7
6
|
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
7
|
+
import { useLocaleContext } from './RVOPDSQY.js';
|
|
8
8
|
import { runIfFn } from './DT73WLR4.js';
|
|
9
9
|
import { createContext } from './THN5C4U6.js';
|
|
10
10
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useFieldContext
|
|
3
|
+
} from "./7HLG62OR.jsx";
|
|
1
4
|
import {
|
|
2
5
|
PresenceProvider,
|
|
3
6
|
splitPresenceProps,
|
|
4
7
|
usePresence,
|
|
5
8
|
usePresenceContext
|
|
6
9
|
} from "./2P5Y3YCK.jsx";
|
|
7
|
-
import {
|
|
8
|
-
useFieldContext
|
|
9
|
-
} from "./CCVDHSBF.jsx";
|
|
10
10
|
import {
|
|
11
11
|
composeRefs
|
|
12
12
|
} from "./PT2CJE3O.jsx";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './FW6EZLZL.js';
|
|
2
|
-
import { useFieldContext } from './
|
|
2
|
+
import { useFieldContext } from './GBGTOFYC.js';
|
|
3
3
|
import { composeRefs } from './ROP6QZQ7.js';
|
|
4
4
|
import { colorPickerAnatomy } from './7ANKVUWM.js';
|
|
5
5
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
6
6
|
import { ark } from './EPLBB4QN.js';
|
|
7
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
8
7
|
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
8
|
+
import { useLocaleContext } from './RVOPDSQY.js';
|
|
9
9
|
import { runIfFn } from './DT73WLR4.js';
|
|
10
10
|
import { createContext } from './THN5C4U6.js';
|
|
11
11
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -260,7 +260,8 @@ var TreeViewRoot = (props) => {
|
|
|
260
260
|
"onSelectionChange",
|
|
261
261
|
"selectedValue",
|
|
262
262
|
"selectionMode",
|
|
263
|
-
"typeahead"
|
|
263
|
+
"typeahead",
|
|
264
|
+
"scrollToIndexFn"
|
|
264
265
|
]);
|
|
265
266
|
const treeView2 = useTreeView(useTreeViewProps);
|
|
266
267
|
const mergedProps = mergeProps14(() => treeView2().getRootProps(), localProps);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useFieldContext
|
|
3
|
+
} from "./7HLG62OR.jsx";
|
|
4
|
+
import {
|
|
5
|
+
comboboxAnatomy
|
|
6
|
+
} from "./VQPWR4W5.jsx";
|
|
1
7
|
import {
|
|
2
8
|
PresenceProvider,
|
|
3
9
|
splitPresenceProps,
|
|
4
10
|
usePresence,
|
|
5
11
|
usePresenceContext
|
|
6
12
|
} from "./2P5Y3YCK.jsx";
|
|
7
|
-
import {
|
|
8
|
-
useFieldContext
|
|
9
|
-
} from "./CCVDHSBF.jsx";
|
|
10
13
|
import {
|
|
11
14
|
composeRefs
|
|
12
15
|
} from "./PT2CJE3O.jsx";
|
|
13
|
-
import {
|
|
14
|
-
comboboxAnatomy
|
|
15
|
-
} from "./VQPWR4W5.jsx";
|
|
16
16
|
import {
|
|
17
17
|
createSplitProps
|
|
18
18
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useFieldContext
|
|
3
|
+
} from "./7HLG62OR.jsx";
|
|
4
|
+
import {
|
|
5
|
+
colorPickerAnatomy
|
|
6
|
+
} from "./4ZHXHGFF.jsx";
|
|
1
7
|
import {
|
|
2
8
|
PresenceProvider,
|
|
3
9
|
splitPresenceProps,
|
|
4
10
|
usePresence,
|
|
5
11
|
usePresenceContext
|
|
6
12
|
} from "./2P5Y3YCK.jsx";
|
|
7
|
-
import {
|
|
8
|
-
useFieldContext
|
|
9
|
-
} from "./CCVDHSBF.jsx";
|
|
10
13
|
import {
|
|
11
14
|
composeRefs
|
|
12
15
|
} from "./PT2CJE3O.jsx";
|
|
13
|
-
import {
|
|
14
|
-
colorPickerAnatomy
|
|
15
|
-
} from "./4ZHXHGFF.jsx";
|
|
16
16
|
import {
|
|
17
17
|
createSplitProps
|
|
18
18
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { parts } from './JHQYEBNS.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
3
|
import { ark } from './EPLBB4QN.js';
|
|
4
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
5
4
|
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
5
|
+
import { useLocaleContext } from './RVOPDSQY.js';
|
|
6
6
|
import { runIfFn } from './DT73WLR4.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -97,7 +97,7 @@ var useSegmentGroup = (props) => {
|
|
|
97
97
|
|
|
98
98
|
// src/components/segment-group/segment-group-root.tsx
|
|
99
99
|
var SegmentGroupRoot = (props) => {
|
|
100
|
-
const [useSegmentGroupProps, localProps] = createSplitProps()(props, ["defaultValue", "disabled", "form", "id", "ids", "name", "onValueChange", "orientation", "readOnly", "value"]);
|
|
100
|
+
const [useSegmentGroupProps, localProps] = createSplitProps()(props, ["defaultValue", "disabled", "form", "id", "ids", "invalid", "name", "onValueChange", "orientation", "readOnly", "required", "value"]);
|
|
101
101
|
const segmentGroup2 = useSegmentGroup(useSegmentGroupProps);
|
|
102
102
|
const mergedProps = mergeProps(() => segmentGroup2().getRootProps(), parts.root.attrs, localProps);
|
|
103
103
|
return createComponent(SegmentGroupProvider, {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './GBGTOFYC.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
3
|
import { ark } from './EPLBB4QN.js';
|
|
4
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
5
4
|
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
5
|
+
import { useLocaleContext } from './RVOPDSQY.js';
|
|
6
6
|
import { runIfFn } from './DT73WLR4.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
composeRefs
|
|
3
|
-
} from "./PT2CJE3O.jsx";
|
|
4
1
|
import {
|
|
5
2
|
parts
|
|
6
3
|
} from "./4YNGVMW2.jsx";
|
|
4
|
+
import {
|
|
5
|
+
composeRefs
|
|
6
|
+
} from "./PT2CJE3O.jsx";
|
|
7
7
|
import {
|
|
8
8
|
createSplitProps
|
|
9
9
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -123,6 +123,11 @@ var useFieldset = (props) => {
|
|
|
123
123
|
refs: {
|
|
124
124
|
rootRef: setRootRef
|
|
125
125
|
},
|
|
126
|
+
ids: {
|
|
127
|
+
legend: legendId,
|
|
128
|
+
errorText: errorTextId,
|
|
129
|
+
helperText: helperTextId
|
|
130
|
+
},
|
|
126
131
|
disabled: mergedProps.disabled,
|
|
127
132
|
invalid: mergedProps.invalid,
|
|
128
133
|
getRootProps,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { useFieldsetContext } from './Z5ZRFFPU.js';
|
|
1
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
2
3
|
import { ark } from './EPLBB4QN.js';
|
|
3
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
4
4
|
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
5
|
+
import { useLocaleContext } from './RVOPDSQY.js';
|
|
5
6
|
import { runIfFn } from './DT73WLR4.js';
|
|
6
7
|
import { createContext } from './THN5C4U6.js';
|
|
7
8
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -84,19 +85,28 @@ var useRadioGroup = (props) => {
|
|
|
84
85
|
const id = createUniqueId();
|
|
85
86
|
const locale = useLocaleContext();
|
|
86
87
|
const environment = useEnvironmentContext();
|
|
87
|
-
const
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
88
|
+
const fieldset = useFieldsetContext();
|
|
89
|
+
const machineProps = createMemo(() => {
|
|
90
|
+
const fieldsetContext = fieldset?.();
|
|
91
|
+
return {
|
|
92
|
+
id,
|
|
93
|
+
ids: {
|
|
94
|
+
label: fieldsetContext?.ids?.legend
|
|
95
|
+
},
|
|
96
|
+
dir: locale().dir,
|
|
97
|
+
disabled: fieldsetContext?.disabled,
|
|
98
|
+
invalid: fieldsetContext?.invalid,
|
|
99
|
+
getRootNode: environment().getRootNode,
|
|
100
|
+
...runIfFn(props)
|
|
101
|
+
};
|
|
102
|
+
});
|
|
93
103
|
const service = useMachine(radio.machine, machineProps);
|
|
94
104
|
return createMemo(() => radio.connect(service, normalizeProps));
|
|
95
105
|
};
|
|
96
106
|
|
|
97
107
|
// src/components/radio-group/radio-group-root.tsx
|
|
98
108
|
var RadioGroupRoot = (props) => {
|
|
99
|
-
const [useRadioGroupProps, localProps] = createSplitProps()(props, ["defaultValue", "disabled", "form", "id", "ids", "name", "onValueChange", "orientation", "readOnly", "value"]);
|
|
109
|
+
const [useRadioGroupProps, localProps] = createSplitProps()(props, ["defaultValue", "disabled", "form", "id", "ids", "invalid", "name", "onValueChange", "orientation", "readOnly", "required", "value"]);
|
|
100
110
|
const radioGroup = useRadioGroup(useRadioGroupProps);
|
|
101
111
|
const mergedProps = mergeProps(() => radioGroup().getRootProps(), localProps);
|
|
102
112
|
return createComponent(RadioGroupProvider, {
|