@ark-ui/solid 5.29.0 → 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/{ZV3HBWS5.jsx → 2JSSDQEE.jsx} +23 -9
- package/dist/chunk/{GFKCCGJB.js → 2V2P2JZV.js} +10 -6
- package/dist/chunk/{EM4XSE5H.js → 3BRVNFB3.js} +1 -1
- package/dist/chunk/{I3MLFUBK.jsx → 3ZDGZCBV.jsx} +15 -9
- package/dist/chunk/{VAEEL2O7.jsx → 4A6UNZ4T.jsx} +5 -3
- package/dist/chunk/{YTFMRBD2.js → 52VYWTHF.js} +1 -1
- package/dist/chunk/{S7S4GNYZ.jsx → 76KFR2EJ.jsx} +5 -4
- package/dist/chunk/{5KPLCG77.jsx → 7HLG62OR.jsx} +4 -4
- package/dist/chunk/{TQYNU5YV.js → AH5KB6LR.js} +1 -1
- package/dist/chunk/{62N4ZDOB.js → B434DN6B.js} +14 -2
- package/dist/chunk/{MZEGYYMT.js → F7OI3RZ3.js} +1 -1
- package/dist/chunk/{HRPXPYHQ.js → FDE3GI6Q.js} +1 -1
- package/dist/chunk/{U7FAF24E.js → G2THT6E6.js} +1 -1
- package/dist/chunk/{TPLBK6KL.js → GBGTOFYC.js} +1 -1
- package/dist/chunk/{TBRRDX3X.jsx → GCEYGQPA.jsx} +6 -6
- package/dist/chunk/{Y66OHGAM.js → HCQSZULR.js} +1 -1
- package/dist/chunk/{TPRSB43T.jsx → HVXJLFJY.jsx} +4 -4
- package/dist/chunk/{IEP4WYW2.jsx → HWHAUHQ5.jsx} +6 -5
- package/dist/chunk/{CCNCOLB2.jsx → IGSOSLB3.jsx} +4 -4
- package/dist/chunk/{WLITP5TP.jsx → J5ODILBT.jsx} +9 -9
- package/dist/chunk/{WOSN63AN.jsx → JNBFQ7ZP.jsx} +9 -9
- package/dist/chunk/{PMI7UADJ.jsx → JRY66LXS.jsx} +4 -4
- package/dist/chunk/{KQ6IUY4K.js → K3TLO6S6.js} +1 -1
- package/dist/chunk/{J3XZT7EL.js → LNZGGTI5.js} +1 -1
- package/dist/chunk/{2UC6SEQ4.jsx → NHEM6XZR.jsx} +21 -10
- package/dist/chunk/{TNKGDI7Y.jsx → NPSTVZUG.jsx} +4 -4
- package/dist/chunk/{CM2ALDJ7.jsx → NZQO4OJP.jsx} +4 -4
- package/dist/chunk/{ARA55KUE.jsx → ORJXW4SC.jsx} +1 -1
- package/dist/chunk/{QRDTSOYR.jsx → OVPRCDDL.jsx} +4 -4
- package/dist/chunk/{FLYTMLX4.js → QGXWXVZ5.js} +17 -7
- package/dist/chunk/{QQMFSE7Q.jsx → RRFWSRAD.jsx} +11 -9
- package/dist/chunk/{3GKO4C5T.js → RSWPJEWK.js} +1 -1
- package/dist/chunk/{7B2MTJPJ.jsx → SH4J3NPA.jsx} +34 -13
- package/dist/chunk/{Y3GFUOZP.jsx → SZNFUIJQ.jsx} +4 -4
- package/dist/chunk/TILTTA4A.js +1 -0
- package/dist/chunk/{RNVRDALA.js → TP32AKQX.js} +1 -1
- package/dist/chunk/{XNP7QM5Q.jsx → UHWLTCQZ.jsx} +0 -3
- package/dist/chunk/{KAO2IPN7.js → UTULIPW7.js} +1 -1
- package/dist/chunk/{SKC2JUHO.jsx → VH6MDPEX.jsx} +4 -4
- package/dist/chunk/{OX3264V7.jsx → VIKFXGE5.jsx} +4 -4
- package/dist/chunk/{BQJK3XJQ.js → W7YDKZGP.js} +1 -1
- package/dist/chunk/WCB4ISVQ.jsx +6 -0
- package/dist/chunk/{7XIUKXCN.js → WUBTAV2O.js} +1 -1
- package/dist/chunk/{CN63YZUE.js → Z4EBWHQF.js} +2 -2
- package/dist/chunk/{UXNQOU36.js → Z5ZRFFPU.js} +40 -15
- package/dist/chunk/{36P5AXKU.js → ZYFWVVTC.js} +1 -1
- package/dist/components/accordion/index.jsx +4 -4
- package/dist/components/anatomy.d.ts +1 -0
- package/dist/components/anatomy.js +20 -19
- package/dist/components/anatomy.jsx +51 -47
- package/dist/components/angle-slider/index.jsx +2 -2
- package/dist/components/avatar/index.jsx +2 -2
- package/dist/components/bottom-sheet/index.jsx +3 -3
- package/dist/components/carousel/index.jsx +2 -2
- package/dist/components/checkbox/index.d.ts +4 -4
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.jsx +5 -5
- package/dist/components/clipboard/index.jsx +1 -1
- package/dist/components/collapsible/index.jsx +3 -3
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/color-picker/index.jsx +6 -6
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/combobox/index.jsx +6 -6
- package/dist/components/date-picker/index.js +1 -1
- 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.js +1 -1
- package/dist/components/editable/index.jsx +5 -5
- package/dist/components/field/index.js +1 -1
- package/dist/components/field/index.jsx +4 -4
- package/dist/components/fieldset/index.d.ts +6 -1
- package/dist/components/fieldset/index.js +1 -1
- package/dist/components/fieldset/index.jsx +3 -2
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/file-upload/index.jsx +5 -5
- package/dist/components/floating-panel/index.jsx +4 -4
- package/dist/components/format/index.jsx +1 -1
- package/dist/components/frame/index.jsx +2 -2
- package/dist/components/hover-card/index.jsx +4 -4
- package/dist/components/image-cropper/index.jsx +2 -2
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +52 -52
- package/dist/components/index.jsx +402 -398
- package/dist/components/json-tree-view/index.js +1 -1
- package/dist/components/json-tree-view/index.jsx +5 -5
- package/dist/components/listbox/index.jsx +2 -2
- package/dist/components/marquee/index.jsx +2 -2
- package/dist/components/menu/index.jsx +4 -4
- 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 +5 -5
- package/dist/components/pagination/index.d.ts +14 -2
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/index.jsx +6 -2
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/password-input/index.jsx +5 -5
- package/dist/components/pin-input/index.js +1 -1
- package/dist/components/pin-input/index.jsx +5 -5
- package/dist/components/popover/index.jsx +4 -4
- package/dist/components/progress/index.jsx +2 -2
- package/dist/components/qr-code/index.jsx +2 -2
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radio-group/index.jsx +5 -2
- package/dist/components/rating-group/index.js +1 -1
- package/dist/components/rating-group/index.jsx +5 -5
- package/dist/components/scroll-area/index.jsx +2 -2
- package/dist/components/segment-group/index.js +1 -1
- package/dist/components/segment-group/index.jsx +2 -2
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/index.jsx +6 -6
- package/dist/components/signature-pad/index.js +1 -1
- package/dist/components/signature-pad/index.jsx +5 -5
- 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.js +1 -1
- package/dist/components/switch/index.jsx +5 -5
- package/dist/components/tabs/index.jsx +4 -4
- package/dist/components/tags-input/index.js +1 -1
- package/dist/components/tags-input/index.jsx +5 -5
- 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.js +1 -1
- package/dist/components/tree-view/index.jsx +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +52 -52
- package/dist/index.jsx +406 -402
- package/dist/providers/index.jsx +4 -4
- package/package.json +67 -66
- package/dist/chunk/{Q7K5GRG2.jsx → 2S7Z6JX4.jsx} +3 -3
- package/dist/chunk/{VC57LYBD.jsx → 6QF5SDIE.jsx} +3 -3
- package/dist/chunk/{JOPZMH6Q.jsx → AQ27SOWE.jsx} +3 -3
- package/dist/chunk/{ZMMBPM35.jsx → CCK5XI24.jsx} +3 -3
- package/dist/chunk/{O4IVFUVT.jsx → CNHYYRWI.jsx} +3 -3
- package/dist/chunk/{D6FFYEZW.jsx → DH3KPRGA.jsx} +3 -3
- package/dist/chunk/{K3ONGLLK.jsx → DR7CHNBO.jsx} +3 -3
- package/dist/chunk/{FJR3IQ57.jsx → FKF6FOYL.jsx} +3 -3
- package/dist/chunk/{B7UDMWBC.jsx → FXYVJXLF.jsx} +3 -3
- package/dist/chunk/{UWQ2GKVZ.jsx → HNIBOZUS.jsx} +6 -6
- package/dist/chunk/{2W623CVF.jsx → IEJ4RWIV.jsx} +3 -3
- package/dist/chunk/{RCX3BG4L.jsx → J6B3R7PY.jsx} +3 -3
- package/dist/chunk/{H55FBH2X.jsx → JEKNEIFC.jsx} +3 -3
- package/dist/chunk/{5MH7IW2U.jsx → KEZ2WH2A.jsx} +3 -3
- package/dist/chunk/{ETBHESWM.jsx → MNZUELWU.jsx} +3 -3
- package/dist/chunk/{XRV7I5LE.jsx → OF7DNWIQ.jsx} +3 -3
- package/dist/chunk/{7UYY44WH.jsx → QTWOIUHU.jsx} +3 -3
- package/dist/chunk/{RTSM3MM5.jsx → RYD4Z3LT.jsx} +3 -3
- package/dist/chunk/{2RZITRBG.jsx → UOOMXEJO.jsx} +3 -3
- package/dist/chunk/{RVZWPVOQ.jsx → UOTT3RUB.jsx} +3 -3
- package/dist/chunk/{4CGGPY3A.jsx → VRCOVKZM.jsx} +3 -3
- package/dist/chunk/{5KWWA73X.jsx → XH4Y4U2G.jsx} +3 -3
- package/dist/chunk/{HKNRED3R.jsx → XNAQLSZW.jsx} +3 -3
- package/dist/chunk/{JLH74767.jsx → XXP27BHC.jsx} +3 -3
|
@@ -1,15 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useFieldsetContext
|
|
3
|
+
} from "./NHEM6XZR.jsx";
|
|
1
4
|
import {
|
|
2
5
|
createSplitProps
|
|
3
6
|
} from "./6WEDGJKQ.jsx";
|
|
4
7
|
import {
|
|
5
8
|
ark
|
|
6
9
|
} from "./UFYZ7HLU.jsx";
|
|
7
|
-
import {
|
|
8
|
-
useLocaleContext
|
|
9
|
-
} from "./JFOWNFC7.jsx";
|
|
10
10
|
import {
|
|
11
11
|
useEnvironmentContext
|
|
12
12
|
} from "./CGW54HAQ.jsx";
|
|
13
|
+
import {
|
|
14
|
+
useLocaleContext
|
|
15
|
+
} from "./JFOWNFC7.jsx";
|
|
13
16
|
import {
|
|
14
17
|
runIfFn
|
|
15
18
|
} from "./KGOB2IMX.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,4 +1,5 @@
|
|
|
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';
|
|
@@ -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,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";
|
|
@@ -10,12 +13,12 @@ import {
|
|
|
10
13
|
import {
|
|
11
14
|
ark
|
|
12
15
|
} from "./UFYZ7HLU.jsx";
|
|
13
|
-
import {
|
|
14
|
-
useLocaleContext
|
|
15
|
-
} from "./JFOWNFC7.jsx";
|
|
16
16
|
import {
|
|
17
17
|
useEnvironmentContext
|
|
18
18
|
} from "./CGW54HAQ.jsx";
|
|
19
|
+
import {
|
|
20
|
+
useLocaleContext
|
|
21
|
+
} from "./JFOWNFC7.jsx";
|
|
19
22
|
import {
|
|
20
23
|
runIfFn
|
|
21
24
|
} from "./KGOB2IMX.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,
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
ark
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
|
-
import {
|
|
11
|
-
useLocaleContext
|
|
12
|
-
} from "./JFOWNFC7.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useEnvironmentContext
|
|
15
12
|
} from "./CGW54HAQ.jsx";
|
|
13
|
+
import {
|
|
14
|
+
useLocaleContext
|
|
15
|
+
} from "./JFOWNFC7.jsx";
|
|
16
16
|
import {
|
|
17
17
|
runIfFn
|
|
18
18
|
} from "./KGOB2IMX.jsx";
|
|
@@ -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,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./7HLG62OR.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
7
7
|
import {
|
|
8
8
|
ark
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
|
-
import {
|
|
11
|
-
useLocaleContext
|
|
12
|
-
} from "./JFOWNFC7.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useEnvironmentContext
|
|
15
12
|
} from "./CGW54HAQ.jsx";
|
|
13
|
+
import {
|
|
14
|
+
useLocaleContext
|
|
15
|
+
} from "./JFOWNFC7.jsx";
|
|
16
16
|
import {
|
|
17
17
|
runIfFn
|
|
18
18
|
} from "./KGOB2IMX.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";
|
|
@@ -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, {
|
|
@@ -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,5 +1,5 @@
|
|
|
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';
|
|
@@ -1,5 +1,5 @@
|
|
|
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';
|
|
@@ -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 "./5KPLCG77.jsx";
|
|
10
10
|
import {
|
|
11
11
|
composeRefs
|
|
12
12
|
} from "./PT2CJE3O.jsx";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
ark
|
|
18
18
|
} from "./UFYZ7HLU.jsx";
|
|
19
|
-
import {
|
|
20
|
-
useLocaleContext
|
|
21
|
-
} from "./JFOWNFC7.jsx";
|
|
22
19
|
import {
|
|
23
20
|
useEnvironmentContext
|
|
24
21
|
} from "./CGW54HAQ.jsx";
|
|
22
|
+
import {
|
|
23
|
+
useLocaleContext
|
|
24
|
+
} from "./JFOWNFC7.jsx";
|
|
25
25
|
import {
|
|
26
26
|
runIfFn
|
|
27
27
|
} from "./KGOB2IMX.jsx";
|
|
@@ -1,5 +1,5 @@
|
|
|
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';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./7HLG62OR.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
7
7
|
import {
|
|
8
8
|
ark
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
|
-
import {
|
|
11
|
-
useLocaleContext
|
|
12
|
-
} from "./JFOWNFC7.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useEnvironmentContext
|
|
15
12
|
} from "./CGW54HAQ.jsx";
|
|
13
|
+
import {
|
|
14
|
+
useLocaleContext
|
|
15
|
+
} from "./JFOWNFC7.jsx";
|
|
16
16
|
import {
|
|
17
17
|
runIfFn
|
|
18
18
|
} from "./KGOB2IMX.jsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collapsible_exports
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./UOOMXEJO.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 "./JFOWNFC7.jsx";
|
|
18
15
|
import {
|
|
19
16
|
useEnvironmentContext
|
|
20
17
|
} from "./CGW54HAQ.jsx";
|
|
18
|
+
import {
|
|
19
|
+
useLocaleContext
|
|
20
|
+
} from "./JFOWNFC7.jsx";
|
|
21
21
|
import {
|
|
22
22
|
runIfFn
|
|
23
23
|
} from "./KGOB2IMX.jsx";
|
|
@@ -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
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./7HLG62OR.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
7
7
|
import {
|
|
8
8
|
ark
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
|
-
import {
|
|
11
|
-
useLocaleContext
|
|
12
|
-
} from "./JFOWNFC7.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useEnvironmentContext
|
|
15
12
|
} from "./CGW54HAQ.jsx";
|
|
13
|
+
import {
|
|
14
|
+
useLocaleContext
|
|
15
|
+
} from "./JFOWNFC7.jsx";
|
|
16
16
|
import {
|
|
17
17
|
runIfFn
|
|
18
18
|
} from "./KGOB2IMX.jsx";
|
|
@@ -1,30 +1,30 @@
|
|
|
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 "./5KPLCG77.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";
|
|
19
19
|
import {
|
|
20
20
|
ark
|
|
21
21
|
} from "./UFYZ7HLU.jsx";
|
|
22
|
-
import {
|
|
23
|
-
useLocaleContext
|
|
24
|
-
} from "./JFOWNFC7.jsx";
|
|
25
22
|
import {
|
|
26
23
|
useEnvironmentContext
|
|
27
24
|
} from "./CGW54HAQ.jsx";
|
|
25
|
+
import {
|
|
26
|
+
useLocaleContext
|
|
27
|
+
} from "./JFOWNFC7.jsx";
|
|
28
28
|
import {
|
|
29
29
|
runIfFn
|
|
30
30
|
} from "./KGOB2IMX.jsx";
|
|
@@ -1,30 +1,30 @@
|
|
|
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 "./5KPLCG77.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";
|
|
19
19
|
import {
|
|
20
20
|
ark
|
|
21
21
|
} from "./UFYZ7HLU.jsx";
|
|
22
|
-
import {
|
|
23
|
-
useLocaleContext
|
|
24
|
-
} from "./JFOWNFC7.jsx";
|
|
25
22
|
import {
|
|
26
23
|
useEnvironmentContext
|
|
27
24
|
} from "./CGW54HAQ.jsx";
|
|
25
|
+
import {
|
|
26
|
+
useLocaleContext
|
|
27
|
+
} from "./JFOWNFC7.jsx";
|
|
28
28
|
import {
|
|
29
29
|
runIfFn
|
|
30
30
|
} from "./KGOB2IMX.jsx";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./7HLG62OR.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
7
7
|
import {
|
|
8
8
|
ark
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
|
-
import {
|
|
11
|
-
useLocaleContext
|
|
12
|
-
} from "./JFOWNFC7.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useEnvironmentContext
|
|
15
12
|
} from "./CGW54HAQ.jsx";
|
|
13
|
+
import {
|
|
14
|
+
useLocaleContext
|
|
15
|
+
} from "./JFOWNFC7.jsx";
|
|
16
16
|
import {
|
|
17
17
|
runIfFn
|
|
18
18
|
} from "./KGOB2IMX.jsx";
|
|
@@ -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, {
|