@ark-ui/solid 4.2.1 → 4.3.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/{QZBKZO47.js → 2HGEDMNF.js} +2 -2
- package/dist/chunk/2PEBPAD5.jsx +15 -0
- package/dist/chunk/{35W72PCD.jsx → 3FKZ6KJD.jsx} +2 -2
- package/dist/chunk/{ZTGL23QZ.js → 4DPMLML4.js} +1 -1
- package/dist/chunk/{W7ARB4RD.jsx → 4ICFJW2D.jsx} +1 -1
- package/dist/chunk/{QPV7P3RM.jsx → 4TNW4LNT.jsx} +1 -1
- package/dist/chunk/{MVL2JW5G.js → 5G6GUK6S.js} +1 -1
- package/dist/chunk/{OYTB5QWY.js → 5JS7LFUQ.js} +11 -11
- package/dist/chunk/{52UPAMUX.jsx → 6EY2Z73Y.jsx} +1 -1
- package/dist/chunk/{VN3OG575.js → 7WAPCEAY.js} +2 -2
- package/dist/chunk/{X3GDAQGM.js → AK2LUFHG.js} +14 -3
- package/dist/chunk/{276CD5ZR.jsx → AOG74HPY.jsx} +1 -1
- package/dist/chunk/{DNNMKWRH.js → BNMRTYLU.js} +1 -1
- package/dist/chunk/{KWJ6UCDT.js → CYRK6TAN.js} +2 -2
- package/dist/chunk/{RAMP76RX.jsx → E4USRLNU.jsx} +1 -1
- package/dist/chunk/{2C6A32GV.js → ENHIBLQ6.js} +1 -1
- package/dist/chunk/{QYFVBX63.js → F66KWWUN.js} +2 -2
- package/dist/chunk/FE2WXPJR.js +23 -0
- package/dist/chunk/{2ZTI3KY5.jsx → FGNZD6WP.jsx} +2 -2
- package/dist/chunk/{RKKIRTHU.jsx → GLJ4SETU.jsx} +2 -2
- package/dist/chunk/{HSUP2TTG.jsx → GTGJTQN4.jsx} +1 -1
- package/dist/chunk/{N7QLMQKV.js → HEKFQEI5.js} +2 -2
- package/dist/chunk/{OMSDY5OI.jsx → HQFEUYOV.jsx} +1 -1
- package/dist/chunk/{4QFM6QV6.jsx → HXSFGTUH.jsx} +1 -1
- package/dist/chunk/{QK4E7K6M.js → IFXE5SWX.js} +1 -1
- package/dist/chunk/{QESOHNJZ.jsx → IZYDGYQY.jsx} +2 -2
- package/dist/chunk/{6N62F7GL.js → JS3C64H5.js} +2 -2
- package/dist/chunk/{DROJC4BX.js → JSMOACQ5.js} +1 -1
- package/dist/chunk/{QYMDDEMZ.js → KJ3FKIIK.js} +2 -2
- package/dist/chunk/{DY4JCG75.js → KKCBAUHZ.js} +1 -1
- package/dist/chunk/{QJASL3TD.js → KQLVMRLF.js} +1 -1
- package/dist/chunk/{B7JXC4RB.js → KUTJELYB.js} +1 -1
- package/dist/chunk/{WW54SYIV.js → L6HRKS4V.js} +1 -1
- package/dist/chunk/{E24BRDL3.jsx → LKZXE4D5.jsx} +1 -1
- package/dist/chunk/{47KR5N4Y.jsx → LMMNUVZG.jsx} +1 -1
- package/dist/chunk/{YJ7NNN57.jsx → LS7TV3SH.jsx} +21 -2
- package/dist/chunk/{AEONTAXJ.js → NCE7GTLS.js} +2 -2
- package/dist/chunk/{SMWURVP2.jsx → OAZ77M7Q.jsx} +2 -2
- package/dist/chunk/{XOMMWT5J.jsx → OEWX5CKM.jsx} +2 -2
- package/dist/chunk/{LOR2W6S2.js → OKMXOUR3.js} +1 -1
- package/dist/chunk/{DI6H2YIE.jsx → OTMHVJ6C.jsx} +1 -1
- package/dist/chunk/{RIBPOJCE.jsx → OX5YYZLK.jsx} +2 -2
- package/dist/chunk/{5WUHQS6Z.jsx → POMWY2MG.jsx} +2 -2
- package/dist/chunk/{3DRWVGGU.jsx → PQ3UNZE4.jsx} +1 -1
- package/dist/chunk/{OBGOP5NZ.js → PTS474GD.js} +2 -2
- package/dist/chunk/{VHCWCT42.jsx → PZEZKJF3.jsx} +1 -1
- package/dist/chunk/{M4DS7MOB.jsx → Q3STMYMV.jsx} +1 -1
- package/dist/chunk/{B2OPFF7J.js → Q5KLHHE3.js} +32 -6
- package/dist/chunk/{X7HQ6AMW.jsx → QX424BJV.jsx} +1 -1
- package/dist/chunk/{BCFU7H7W.js → R3KGHDYR.js} +1 -1
- package/dist/chunk/{6YHAMTNY.jsx → R5ZNIQWU.jsx} +1 -1
- package/dist/chunk/{TOA67336.js → RFPBNMT7.js} +2 -2
- package/dist/chunk/{Q3GD7QM3.js → SPA64RV2.js} +1 -1
- package/dist/chunk/{ERLD5LJI.jsx → SWSA36TD.jsx} +2 -2
- package/dist/chunk/{F3S42GVW.js → SYODOK2B.js} +2 -2
- package/dist/chunk/{3RQAXTAW.jsx → T7DQP6DT.jsx} +1 -1
- package/dist/chunk/{YQYOROY7.jsx → UPYUPAKW.jsx} +2 -2
- package/dist/chunk/{55M5FJ22.js → UW63M5GW.js} +1 -1
- package/dist/chunk/{H6DC7RQL.js → UZJR5LMS.js} +1 -1
- package/dist/chunk/{WTIOAOZ4.jsx → VDX7IT74.jsx} +2 -2
- package/dist/chunk/{7HCCUF5N.jsx → VI2C2YY7.jsx} +1 -1
- package/dist/chunk/{NPI5WNO3.js → VQXL4BNM.js} +1 -1
- package/dist/chunk/{VFUEJBXC.js → WEGHFH3B.js} +1 -1
- package/dist/chunk/{MHHYBEM2.js → WLUB7JYL.js} +1 -1
- package/dist/chunk/{BLPPWNTR.js → YBEQIVOS.js} +1 -1
- package/dist/chunk/{3CKNAJLS.jsx → YCYZZGN2.jsx} +18 -18
- package/dist/chunk/{VDEU2H3V.jsx → YJZDRWMW.jsx} +1 -1
- package/dist/chunk/{R2IA2NWU.js → YN36NFIE.js} +1 -1
- package/dist/chunk/{HHXZ2XZQ.jsx → YQ7OK72K.jsx} +1 -1
- package/dist/chunk/{IYVZTV3F.jsx → ZSWRRXUI.jsx} +34 -21
- package/dist/components/accordion/index.d.ts +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/accordion/index.jsx +2 -2
- package/dist/components/avatar/index.d.ts +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/avatar/index.jsx +1 -1
- package/dist/components/carousel/index.d.ts +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/carousel/index.jsx +1 -1
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.jsx +2 -2
- package/dist/components/clipboard/index.d.ts +1 -1
- package/dist/components/clipboard/index.js +1 -1
- package/dist/components/clipboard/index.jsx +1 -1
- package/dist/components/collapsible/index.d.ts +1 -1
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/collapsible/index.jsx +1 -1
- package/dist/components/color-picker/index.d.ts +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/color-picker/index.jsx +2 -2
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/combobox/index.jsx +2 -2
- 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 +1 -1
- package/dist/components/dialog/index.d.ts +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dialog/index.jsx +1 -1
- package/dist/components/editable/index.d.ts +1 -1
- package/dist/components/editable/index.js +1 -1
- package/dist/components/editable/index.jsx +2 -2
- package/dist/components/field/index.d.ts +15 -3
- package/dist/components/field/index.js +1 -1
- package/dist/components/field/index.jsx +3 -1
- package/dist/components/file-upload/index.d.ts +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/file-upload/index.jsx +2 -2
- package/dist/components/hover-card/index.d.ts +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/hover-card/index.jsx +1 -1
- package/dist/components/index.d.ts +11 -3
- package/dist/components/index.js +35 -34
- package/dist/components/index.jsx +176 -169
- package/dist/components/menu/index.d.ts +1 -1
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/index.jsx +1 -1
- package/dist/components/number-input/index.d.ts +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/index.jsx +2 -2
- package/dist/components/pin-input/index.d.ts +1 -1
- package/dist/components/pin-input/index.js +1 -1
- package/dist/components/pin-input/index.jsx +2 -2
- package/dist/components/popover/index.d.ts +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/index.jsx +1 -1
- package/dist/components/progress/index.d.ts +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress/index.jsx +1 -1
- package/dist/components/qr-code/index.d.ts +1 -1
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/qr-code/index.jsx +1 -1
- package/dist/components/radio-group/index.d.ts +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radio-group/index.jsx +1 -1
- package/dist/components/rating-group/index.d.ts +1 -1
- package/dist/components/rating-group/index.js +1 -1
- package/dist/components/rating-group/index.jsx +2 -2
- package/dist/components/segment-group/index.d.ts +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 +2 -2
- package/dist/components/signature-pad/index.d.ts +1 -1
- package/dist/components/signature-pad/index.js +1 -1
- package/dist/components/signature-pad/index.jsx +2 -2
- package/dist/components/slider/index.d.ts +9 -3
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/index.jsx +3 -1
- package/dist/components/splitter/index.d.ts +1 -1
- package/dist/components/splitter/index.js +1 -1
- package/dist/components/splitter/index.jsx +1 -1
- package/dist/components/switch/index.d.ts +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/index.jsx +2 -2
- package/dist/components/tabs/index.d.ts +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/index.jsx +1 -1
- package/dist/components/tags-input/index.d.ts +1 -1
- package/dist/components/tags-input/index.js +1 -1
- package/dist/components/tags-input/index.jsx +2 -2
- package/dist/components/timer/index.d.ts +13 -13
- package/dist/components/timer/index.js +1 -1
- package/dist/components/timer/index.jsx +1 -1
- package/dist/components/toggle-group/index.d.ts +1 -1
- package/dist/components/toggle-group/index.js +1 -1
- package/dist/components/toggle-group/index.jsx +1 -1
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/index.jsx +1 -1
- package/dist/components/tree-view/index.d.ts +1 -1
- package/dist/components/tree-view/index.js +1 -1
- package/dist/components/tree-view/index.jsx +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +35 -34
- package/dist/index.jsx +176 -169
- package/package.json +58 -58
- package/dist/chunk/EZ2HOZZM.js +0 -1
- package/dist/chunk/P5DFHJ7G.jsx +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './Q5KLHHE3.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
3
|
import { ark } from './EPLBB4QN.js';
|
|
4
4
|
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
@@ -61,7 +61,7 @@ var EditablePreview = (props) => {
|
|
|
61
61
|
const mergedProps = mergeProps(() => api().getPreviewProps(), props);
|
|
62
62
|
return createComponent(ark.span, mergedProps);
|
|
63
63
|
};
|
|
64
|
-
var useEditable = (props) => {
|
|
64
|
+
var useEditable = (props = {}) => {
|
|
65
65
|
const locale = useLocaleContext();
|
|
66
66
|
const environment = useEnvironmentContext();
|
|
67
67
|
const id = createUniqueId();
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/client-only/client-only.tsx
|
|
2
|
+
import { Show, createSignal, onMount } from "solid-js";
|
|
3
|
+
function ClientOnly(props) {
|
|
4
|
+
const [isClient, setIsClient] = createSignal(false);
|
|
5
|
+
onMount(() => {
|
|
6
|
+
setIsClient(true);
|
|
7
|
+
});
|
|
8
|
+
return <Show when={isClient()} fallback={props.fallback}>
|
|
9
|
+
{props.children}
|
|
10
|
+
</Show>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export {
|
|
14
|
+
ClientOnly
|
|
15
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./LS7TV3SH.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -95,7 +95,7 @@ import { mergeProps as mergeProps8 } from "@zag-js/solid";
|
|
|
95
95
|
import * as editable from "@zag-js/editable";
|
|
96
96
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
97
97
|
import { createMemo, createUniqueId } from "solid-js";
|
|
98
|
-
var useEditable = (props) => {
|
|
98
|
+
var useEditable = (props = {}) => {
|
|
99
99
|
const locale = useLocaleContext();
|
|
100
100
|
const environment = useEnvironmentContext();
|
|
101
101
|
const id = createUniqueId();
|
|
@@ -86,7 +86,7 @@ var SegmentGroupLabel = (props) => {
|
|
|
86
86
|
const mergedProps = mergeProps(() => segmentGroup2().getLabelProps(), parts.label.attrs, props);
|
|
87
87
|
return createComponent(ark.label, mergedProps);
|
|
88
88
|
};
|
|
89
|
-
var useSegmentGroup = (props) => {
|
|
89
|
+
var useSegmentGroup = (props = {}) => {
|
|
90
90
|
const locale = useLocaleContext();
|
|
91
91
|
const environment = useEnvironmentContext();
|
|
92
92
|
const id = createUniqueId();
|
|
@@ -117,7 +117,7 @@ import { mergeProps as mergeProps9 } from "@zag-js/solid";
|
|
|
117
117
|
import * as popover from "@zag-js/popover";
|
|
118
118
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
119
119
|
import { createMemo, createUniqueId } from "solid-js";
|
|
120
|
-
var usePopover = (props) => {
|
|
120
|
+
var usePopover = (props = {}) => {
|
|
121
121
|
const locale = useLocaleContext();
|
|
122
122
|
const environment = useEnvironmentContext();
|
|
123
123
|
const id = createUniqueId();
|
|
@@ -49,7 +49,7 @@ import { mergeProps as mergeProps3 } from "@zag-js/solid";
|
|
|
49
49
|
import * as avatar from "@zag-js/avatar";
|
|
50
50
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
51
51
|
import { createMemo, createUniqueId } from "solid-js";
|
|
52
|
-
var useAvatar = (props) => {
|
|
52
|
+
var useAvatar = (props = {}) => {
|
|
53
53
|
const locale = useLocaleContext();
|
|
54
54
|
const environment = useEnvironmentContext();
|
|
55
55
|
const id = createUniqueId();
|
|
@@ -139,7 +139,7 @@ var TreeViewLabel = (props) => {
|
|
|
139
139
|
const mergedProps = mergeProps(() => api().getLabelProps(), props);
|
|
140
140
|
return createComponent(ark.label, mergedProps);
|
|
141
141
|
};
|
|
142
|
-
var useTreeView = (props) => {
|
|
142
|
+
var useTreeView = (props = {}) => {
|
|
143
143
|
const locale = useLocaleContext();
|
|
144
144
|
const environment = useEnvironmentContext();
|
|
145
145
|
const id = createUniqueId();
|
|
@@ -21,9 +21,19 @@ var TimerActionTrigger = (props) => {
|
|
|
21
21
|
const mergedProps = mergeProps(() => timer2().getActionTriggerProps(props), props);
|
|
22
22
|
return createComponent(ark.button, mergedProps);
|
|
23
23
|
};
|
|
24
|
+
var TimerArea = (props) => {
|
|
25
|
+
const timer2 = useTimerContext();
|
|
26
|
+
const mergedProps = mergeProps(() => timer2().getAreaProps(), props);
|
|
27
|
+
return createComponent(ark.div, mergedProps);
|
|
28
|
+
};
|
|
24
29
|
|
|
25
30
|
// src/components/timer/timer-context.tsx
|
|
26
31
|
var TimerContext = (props) => props.children(useTimerContext());
|
|
32
|
+
var TimerControl = (props) => {
|
|
33
|
+
const timer2 = useTimerContext();
|
|
34
|
+
const mergedProps = mergeProps(() => timer2().getControlProps(), props);
|
|
35
|
+
return createComponent(ark.div, mergedProps);
|
|
36
|
+
};
|
|
27
37
|
var TimerItem = (props) => {
|
|
28
38
|
const [itemProps, localProps] = createSplitProps()(props, ["type"]);
|
|
29
39
|
const timer2 = useTimerContext();
|
|
@@ -34,17 +44,7 @@ var TimerItem = (props) => {
|
|
|
34
44
|
}
|
|
35
45
|
}));
|
|
36
46
|
};
|
|
37
|
-
var
|
|
38
|
-
const timer2 = useTimerContext();
|
|
39
|
-
const mergedProps = mergeProps(() => timer2().getAreaProps(), props);
|
|
40
|
-
return createComponent(ark.div, mergedProps);
|
|
41
|
-
};
|
|
42
|
-
var TimerControl = (props) => {
|
|
43
|
-
const timer2 = useTimerContext();
|
|
44
|
-
const mergedProps = mergeProps(() => timer2().getControlProps(), props);
|
|
45
|
-
return createComponent(ark.div, mergedProps);
|
|
46
|
-
};
|
|
47
|
-
var useTimer = (props) => {
|
|
47
|
+
var useTimer = (props = {}) => {
|
|
48
48
|
const env = useEnvironmentContext();
|
|
49
49
|
const id = createUniqueId();
|
|
50
50
|
const context = createMemo(() => ({
|
|
@@ -137,7 +137,7 @@ import { mergeProps as mergeProps7 } from "@zag-js/solid";
|
|
|
137
137
|
import * as segmentGroup from "@zag-js/radio-group";
|
|
138
138
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
139
139
|
import { createMemo as createMemo2, createUniqueId } from "solid-js";
|
|
140
|
-
var useSegmentGroup = (props) => {
|
|
140
|
+
var useSegmentGroup = (props = {}) => {
|
|
141
141
|
const locale = useLocaleContext();
|
|
142
142
|
const environment = useEnvironmentContext();
|
|
143
143
|
const id = createUniqueId();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './Q5KLHHE3.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
3
|
import { ark } from './EPLBB4QN.js';
|
|
4
4
|
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
@@ -39,7 +39,7 @@ var SwitchLabel = (props) => {
|
|
|
39
39
|
const mergedProps = mergeProps(() => api().getLabelProps(), props);
|
|
40
40
|
return createComponent(ark.span, mergedProps);
|
|
41
41
|
};
|
|
42
|
-
var useSwitch = (props) => {
|
|
42
|
+
var useSwitch = (props = {}) => {
|
|
43
43
|
const locale = useLocaleContext();
|
|
44
44
|
const environment = useEnvironmentContext();
|
|
45
45
|
const id = createUniqueId();
|
|
@@ -30,7 +30,17 @@ var [SliderThumbPropsProvider, useSliderThumbPropsContext] = createContext({
|
|
|
30
30
|
providerName: "<SliderThumbPropsProvider />"
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
// src/components/slider/slider-
|
|
33
|
+
// src/components/slider/slider-dragging-indicator.tsx
|
|
34
|
+
var SliderDraggingIndicator = (props) => {
|
|
35
|
+
const slider2 = useSliderContext();
|
|
36
|
+
const thumbProps = useSliderThumbPropsContext();
|
|
37
|
+
const mergedProps = mergeProps(() => slider2().getDraggingIndicatorProps(thumbProps), props);
|
|
38
|
+
return createComponent(ark.span, mergeProps$1(mergedProps, {
|
|
39
|
+
get children() {
|
|
40
|
+
return props.children || slider2().getThumbValue(thumbProps.index);
|
|
41
|
+
}
|
|
42
|
+
}));
|
|
43
|
+
};
|
|
34
44
|
var SliderHiddenInput = (props) => {
|
|
35
45
|
const slider2 = useSliderContext();
|
|
36
46
|
const thumbProps = useSliderThumbPropsContext();
|
|
@@ -58,7 +68,7 @@ var SliderRange = (props) => {
|
|
|
58
68
|
const mergedProps = mergeProps(() => api().getRangeProps(), props);
|
|
59
69
|
return createComponent(ark.div, mergedProps);
|
|
60
70
|
};
|
|
61
|
-
var useSlider = (props) => {
|
|
71
|
+
var useSlider = (props = {}) => {
|
|
62
72
|
const locale = useLocaleContext();
|
|
63
73
|
const environment = useEnvironmentContext();
|
|
64
74
|
const id = createUniqueId();
|
|
@@ -128,6 +138,7 @@ var slider_exports = {};
|
|
|
128
138
|
__export(slider_exports, {
|
|
129
139
|
Context: () => SliderContext,
|
|
130
140
|
Control: () => SliderControl,
|
|
141
|
+
DraggingIndicator: () => SliderDraggingIndicator,
|
|
131
142
|
HiddenInput: () => SliderHiddenInput,
|
|
132
143
|
Label: () => SliderLabel,
|
|
133
144
|
Marker: () => SliderMarker,
|
|
@@ -140,4 +151,4 @@ __export(slider_exports, {
|
|
|
140
151
|
ValueText: () => SliderValueText
|
|
141
152
|
});
|
|
142
153
|
|
|
143
|
-
export { SliderContext, SliderControl, SliderHiddenInput, SliderLabel, SliderMarker, SliderMarkerGroup, SliderRange, SliderRoot, SliderRootProvider, SliderThumb, SliderTrack, SliderValueText, slider_exports, useSlider, useSliderContext };
|
|
154
|
+
export { SliderContext, SliderControl, SliderDraggingIndicator, SliderHiddenInput, SliderLabel, SliderMarker, SliderMarkerGroup, SliderRange, SliderRoot, SliderRootProvider, SliderThumb, SliderTrack, SliderValueText, slider_exports, useSlider, useSliderContext };
|
|
@@ -57,7 +57,7 @@ var CarouselPrevTrigger = (props) => {
|
|
|
57
57
|
const mergedProps = mergeProps(() => api().getPrevTriggerProps(), props);
|
|
58
58
|
return createComponent(ark.button, mergedProps);
|
|
59
59
|
};
|
|
60
|
-
var useCarousel = (props) => {
|
|
60
|
+
var useCarousel = (props = {}) => {
|
|
61
61
|
const locale = useLocaleContext();
|
|
62
62
|
const environment = useEnvironmentContext();
|
|
63
63
|
const id = createUniqueId();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { collapsible_exports, useCollapsibleContext } from './
|
|
1
|
+
import { collapsible_exports, useCollapsibleContext } from './KQLVMRLF.js';
|
|
2
2
|
import { useRenderStrategyContext, splitRenderStrategyProps, RenderStrategyProvider } from './L7OSYHVR.js';
|
|
3
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
4
|
import { ark } from './EPLBB4QN.js';
|
|
@@ -91,7 +91,7 @@ var AccordionItemTrigger = (props) => {
|
|
|
91
91
|
const [ariaControls, buttonProps] = splitProps(mergedProps, ["aria-controls"]);
|
|
92
92
|
return createComponent(ark.button, mergeProps$1(buttonProps, () => !collapsible().unmounted && ariaControls));
|
|
93
93
|
};
|
|
94
|
-
var useAccordion = (props) => {
|
|
94
|
+
var useAccordion = (props = {}) => {
|
|
95
95
|
const id = createUniqueId();
|
|
96
96
|
const locale = useLocaleContext();
|
|
97
97
|
const environment = useEnvironmentContext();
|
|
@@ -24,7 +24,7 @@ var ToggleGroupItem = (props) => {
|
|
|
24
24
|
const mergedProps = mergeProps(() => api().getItemProps(toggleProps), restProps);
|
|
25
25
|
return createComponent(ark.button, mergedProps);
|
|
26
26
|
};
|
|
27
|
-
var useToggleGroup = (props) => {
|
|
27
|
+
var useToggleGroup = (props = {}) => {
|
|
28
28
|
const locale = useLocaleContext();
|
|
29
29
|
const environment = useEnvironmentContext();
|
|
30
30
|
const id = createUniqueId();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './LCESUDZB.js';
|
|
2
|
-
import { useFieldContext } from './
|
|
2
|
+
import { useFieldContext } from './Q5KLHHE3.js';
|
|
3
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
4
|
import { ark } from './EPLBB4QN.js';
|
|
5
5
|
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
@@ -194,7 +194,7 @@ var ColorPickerPositioner = (props) => {
|
|
|
194
194
|
}
|
|
195
195
|
});
|
|
196
196
|
};
|
|
197
|
-
var useColorPicker = (props) => {
|
|
197
|
+
var useColorPicker = (props = {}) => {
|
|
198
198
|
const locale = useLocaleContext();
|
|
199
199
|
const environment = useEnvironmentContext();
|
|
200
200
|
const field = useFieldContext();
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { createComponent } from 'solid-js/web';
|
|
2
|
+
import { createSignal, onMount, Show } from 'solid-js';
|
|
3
|
+
|
|
4
|
+
// src/components/client-only/client-only.tsx
|
|
5
|
+
function ClientOnly(props) {
|
|
6
|
+
const [isClient, setIsClient] = createSignal(false);
|
|
7
|
+
onMount(() => {
|
|
8
|
+
setIsClient(true);
|
|
9
|
+
});
|
|
10
|
+
return createComponent(Show, {
|
|
11
|
+
get when() {
|
|
12
|
+
return isClient();
|
|
13
|
+
},
|
|
14
|
+
get fallback() {
|
|
15
|
+
return props.fallback;
|
|
16
|
+
},
|
|
17
|
+
get children() {
|
|
18
|
+
return props.children;
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export { ClientOnly };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./LS7TV3SH.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -61,7 +61,7 @@ import { mergeProps as mergeProps4 } from "@zag-js/solid";
|
|
|
61
61
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
62
62
|
import * as zagSwitch from "@zag-js/switch";
|
|
63
63
|
import { createMemo, createUniqueId } from "solid-js";
|
|
64
|
-
var useSwitch = (props) => {
|
|
64
|
+
var useSwitch = (props = {}) => {
|
|
65
65
|
const locale = useLocaleContext();
|
|
66
66
|
const environment = useEnvironmentContext();
|
|
67
67
|
const id = createUniqueId();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./LS7TV3SH.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -85,7 +85,7 @@ import { mergeProps as mergeProps6 } from "@zag-js/solid";
|
|
|
85
85
|
import * as signaturePad from "@zag-js/signature-pad";
|
|
86
86
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
87
87
|
import { createMemo, createUniqueId } from "solid-js";
|
|
88
|
-
var useSignaturePad = (props) => {
|
|
88
|
+
var useSignaturePad = (props = {}) => {
|
|
89
89
|
const locale = useLocaleContext();
|
|
90
90
|
const environment = useEnvironmentContext();
|
|
91
91
|
const id = createUniqueId();
|
|
@@ -163,7 +163,7 @@ import { mergeProps as mergeProps12 } from "@zag-js/solid";
|
|
|
163
163
|
import * as datePicker from "@zag-js/date-picker";
|
|
164
164
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
165
165
|
import { createMemo, createUniqueId } from "solid-js";
|
|
166
|
-
var useDatePicker = (props) => {
|
|
166
|
+
var useDatePicker = (props = {}) => {
|
|
167
167
|
const locale = useLocaleContext();
|
|
168
168
|
const environment = useEnvironmentContext();
|
|
169
169
|
const id = createUniqueId();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './Q5KLHHE3.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
3
|
import { ark } from './EPLBB4QN.js';
|
|
4
4
|
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
@@ -117,7 +117,7 @@ var FileUploadLabel = (props) => {
|
|
|
117
117
|
const mergedProps = mergeProps(() => fileUpload2().getLabelProps(), props);
|
|
118
118
|
return createComponent(ark.label, mergedProps);
|
|
119
119
|
};
|
|
120
|
-
var useFileUpload = (props) => {
|
|
120
|
+
var useFileUpload = (props = {}) => {
|
|
121
121
|
const locale = useLocaleContext();
|
|
122
122
|
const environment = useEnvironmentContext();
|
|
123
123
|
const id = createUniqueId();
|
|
@@ -85,7 +85,7 @@ import { mergeProps as mergeProps5 } from "@zag-js/solid";
|
|
|
85
85
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
86
86
|
import * as tooltip from "@zag-js/tooltip";
|
|
87
87
|
import { createMemo, createUniqueId } from "solid-js";
|
|
88
|
-
var useTooltip = (props) => {
|
|
88
|
+
var useTooltip = (props = {}) => {
|
|
89
89
|
const locale = useLocaleContext();
|
|
90
90
|
const environment = useEnvironmentContext();
|
|
91
91
|
const id = createUniqueId();
|
|
@@ -94,7 +94,7 @@ import { mergeProps as mergeProps5 } from "@zag-js/solid";
|
|
|
94
94
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
95
95
|
import * as tabs from "@zag-js/tabs";
|
|
96
96
|
import { createMemo, createUniqueId } from "solid-js";
|
|
97
|
-
var useTabs = (props) => {
|
|
97
|
+
var useTabs = (props = {}) => {
|
|
98
98
|
const locale = useLocaleContext();
|
|
99
99
|
const environment = useEnvironmentContext();
|
|
100
100
|
const id = createUniqueId();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './LCESUDZB.js';
|
|
2
|
-
import { useFieldContext } from './
|
|
2
|
+
import { useFieldContext } from './Q5KLHHE3.js';
|
|
3
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
4
|
import { ark } from './EPLBB4QN.js';
|
|
5
5
|
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./LS7TV3SH.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -153,7 +153,7 @@ import { mergeProps as mergeProps12 } from "@zag-js/solid";
|
|
|
153
153
|
import * as fileUpload from "@zag-js/file-upload";
|
|
154
154
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
155
155
|
import { createMemo, createUniqueId } from "solid-js";
|
|
156
|
-
var useFileUpload = (props) => {
|
|
156
|
+
var useFileUpload = (props = {}) => {
|
|
157
157
|
const locale = useLocaleContext();
|
|
158
158
|
const environment = useEnvironmentContext();
|
|
159
159
|
const id = createUniqueId();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './Q5KLHHE3.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
3
|
import { ark } from './EPLBB4QN.js';
|
|
4
4
|
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
@@ -109,7 +109,7 @@ var TagsInputLabel = (props) => {
|
|
|
109
109
|
const mergedProps = mergeProps(() => api().getLabelProps(), props);
|
|
110
110
|
return createComponent(ark.label, mergedProps);
|
|
111
111
|
};
|
|
112
|
-
var useTagsInput = (props) => {
|
|
112
|
+
var useTagsInput = (props = {}) => {
|
|
113
113
|
const locale = useLocaleContext();
|
|
114
114
|
const environment = useEnvironmentContext();
|
|
115
115
|
const id = createUniqueId();
|
|
@@ -80,7 +80,7 @@ var RadioGroupLabel = (props) => {
|
|
|
80
80
|
const mergedProps = mergeProps(() => radioGroup().getLabelProps(), props);
|
|
81
81
|
return createComponent(ark.label, mergedProps);
|
|
82
82
|
};
|
|
83
|
-
var useRadioGroup = (props) => {
|
|
83
|
+
var useRadioGroup = (props = {}) => {
|
|
84
84
|
const locale = useLocaleContext();
|
|
85
85
|
const environment = useEnvironmentContext();
|
|
86
86
|
const id = createUniqueId();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './Q5KLHHE3.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
3
|
import { ark } from './EPLBB4QN.js';
|
|
4
4
|
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
@@ -49,7 +49,7 @@ var NumberInputLabel = (props) => {
|
|
|
49
49
|
const mergedProps = mergeProps(() => api().getLabelProps(), props);
|
|
50
50
|
return createComponent(ark.label, mergedProps);
|
|
51
51
|
};
|
|
52
|
-
var useNumberInput = (props) => {
|
|
52
|
+
var useNumberInput = (props = {}) => {
|
|
53
53
|
const locale = useLocaleContext();
|
|
54
54
|
const environment = useEnvironmentContext();
|
|
55
55
|
const id = createUniqueId();
|
|
@@ -45,7 +45,7 @@ var ProgressRange = (props) => {
|
|
|
45
45
|
const mergedProps = mergeProps(() => api().getRangeProps(), props);
|
|
46
46
|
return createComponent(ark.div, mergedProps);
|
|
47
47
|
};
|
|
48
|
-
var useProgress = (props) => {
|
|
48
|
+
var useProgress = (props = {}) => {
|
|
49
49
|
const locale = useLocaleContext();
|
|
50
50
|
const environment = useEnvironmentContext();
|
|
51
51
|
const id = createUniqueId();
|
|
@@ -33,7 +33,7 @@ var CollapsibleContent = (props) => {
|
|
|
33
33
|
|
|
34
34
|
// src/components/collapsible/collapsible-context.tsx
|
|
35
35
|
var CollapsibleContext = (props) => props.children(useCollapsibleContext());
|
|
36
|
-
var useCollapsible = (props) => {
|
|
36
|
+
var useCollapsible = (props = {}) => {
|
|
37
37
|
const locale = useLocaleContext();
|
|
38
38
|
const environment = useEnvironmentContext();
|
|
39
39
|
const [renderStrategyProps, collapsibleProps] = splitRenderStrategyProps(props);
|
|
@@ -28,7 +28,7 @@ var AvatarImage = (props) => {
|
|
|
28
28
|
const mergedProps = mergeProps(() => context().getImageProps(), props);
|
|
29
29
|
return createComponent(ark.img, mergedProps);
|
|
30
30
|
};
|
|
31
|
-
var useAvatar = (props) => {
|
|
31
|
+
var useAvatar = (props = {}) => {
|
|
32
32
|
const locale = useLocaleContext();
|
|
33
33
|
const environment = useEnvironmentContext();
|
|
34
34
|
const id = createUniqueId();
|
|
@@ -42,7 +42,7 @@ import { mergeProps as mergeProps2 } from "@zag-js/solid";
|
|
|
42
42
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
43
43
|
import * as toggleGroup from "@zag-js/toggle-group";
|
|
44
44
|
import { createMemo, createUniqueId } from "solid-js";
|
|
45
|
-
var useToggleGroup = (props) => {
|
|
45
|
+
var useToggleGroup = (props = {}) => {
|
|
46
46
|
const locale = useLocaleContext();
|
|
47
47
|
const environment = useEnvironmentContext();
|
|
48
48
|
const id = createUniqueId();
|
|
@@ -258,7 +258,7 @@ import { createEffect } from "solid-js";
|
|
|
258
258
|
import * as menu from "@zag-js/menu";
|
|
259
259
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
260
260
|
import { createMemo as createMemo4, createUniqueId as createUniqueId3 } from "solid-js";
|
|
261
|
-
var useMenu = (props) => {
|
|
261
|
+
var useMenu = (props = {}) => {
|
|
262
262
|
const locale = useLocaleContext();
|
|
263
263
|
const environment = useEnvironmentContext();
|
|
264
264
|
const id = createUniqueId3();
|
|
@@ -82,7 +82,8 @@ var fieldAnatomy = createAnatomy("field").parts(
|
|
|
82
82
|
"input",
|
|
83
83
|
"label",
|
|
84
84
|
"select",
|
|
85
|
-
"textarea"
|
|
85
|
+
"textarea",
|
|
86
|
+
"requiredIndicator"
|
|
86
87
|
);
|
|
87
88
|
var parts = fieldAnatomy.build();
|
|
88
89
|
|
|
@@ -166,6 +167,10 @@ var useField = (props) => {
|
|
|
166
167
|
...parts.errorText.attrs,
|
|
167
168
|
"aria-live": "polite"
|
|
168
169
|
});
|
|
170
|
+
const getRequiredIndicatorProps = () => ({
|
|
171
|
+
"aria-hidden": true,
|
|
172
|
+
...parts.requiredIndicator.attrs
|
|
173
|
+
});
|
|
169
174
|
return createMemo(() => ({
|
|
170
175
|
ariaDescribedby: labelIds.join(" "),
|
|
171
176
|
ids: {
|
|
@@ -187,7 +192,8 @@ var useField = (props) => {
|
|
|
187
192
|
getTextareaProps,
|
|
188
193
|
getSelectProps,
|
|
189
194
|
getHelperTextProps,
|
|
190
|
-
getErrorTextProps
|
|
195
|
+
getErrorTextProps,
|
|
196
|
+
getRequiredIndicatorProps
|
|
191
197
|
}));
|
|
192
198
|
};
|
|
193
199
|
|
|
@@ -234,6 +240,17 @@ var FieldTextarea = (props) => {
|
|
|
234
240
|
return <ark.textarea {...mergedProps} />;
|
|
235
241
|
};
|
|
236
242
|
|
|
243
|
+
// src/components/field/field-required-indicator.tsx
|
|
244
|
+
import { mergeProps as mergeProps10 } from "@zag-js/solid";
|
|
245
|
+
import { Show as Show2 } from "solid-js";
|
|
246
|
+
var FieldRequiredIndicator = (props) => {
|
|
247
|
+
const field = useFieldContext();
|
|
248
|
+
const mergedProps = mergeProps10(() => field().getRequiredIndicatorProps(), props);
|
|
249
|
+
return <Show2 when={field().required} fallback={props.fallback}>
|
|
250
|
+
<ark.span {...mergedProps}>{props.children ?? "*"}</ark.span>
|
|
251
|
+
</Show2>;
|
|
252
|
+
};
|
|
253
|
+
|
|
237
254
|
// src/components/field/field.ts
|
|
238
255
|
var field_exports = {};
|
|
239
256
|
__export(field_exports, {
|
|
@@ -242,6 +259,7 @@ __export(field_exports, {
|
|
|
242
259
|
HelperText: () => FieldHelperText,
|
|
243
260
|
Input: () => FieldInput,
|
|
244
261
|
Label: () => FieldLabel,
|
|
262
|
+
RequiredIndicator: () => FieldRequiredIndicator,
|
|
245
263
|
Root: () => FieldRoot,
|
|
246
264
|
RootProvider: () => FieldRootProvider,
|
|
247
265
|
Select: () => FieldSelect,
|
|
@@ -260,5 +278,6 @@ export {
|
|
|
260
278
|
FieldRootProvider,
|
|
261
279
|
FieldSelect,
|
|
262
280
|
FieldTextarea,
|
|
281
|
+
FieldRequiredIndicator,
|
|
263
282
|
field_exports
|
|
264
283
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './Q5KLHHE3.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
3
|
import { ark } from './EPLBB4QN.js';
|
|
4
4
|
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
@@ -45,7 +45,7 @@ var PinInputLabel = (props) => {
|
|
|
45
45
|
const mergedProps = mergeProps(() => api().getLabelProps(), props);
|
|
46
46
|
return createComponent(ark.label, mergedProps);
|
|
47
47
|
};
|
|
48
|
-
var usePinInput = (props) => {
|
|
48
|
+
var usePinInput = (props = {}) => {
|
|
49
49
|
const locale = useLocaleContext();
|
|
50
50
|
const environment = useEnvironmentContext();
|
|
51
51
|
const id = createUniqueId();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./LS7TV3SH.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -77,7 +77,7 @@ import { mergeProps as mergeProps6 } from "@zag-js/solid";
|
|
|
77
77
|
import * as numberInput from "@zag-js/number-input";
|
|
78
78
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
79
79
|
import { createMemo, createUniqueId } from "solid-js";
|
|
80
|
-
var useNumberInput = (props) => {
|
|
80
|
+
var useNumberInput = (props = {}) => {
|
|
81
81
|
const locale = useLocaleContext();
|
|
82
82
|
const environment = useEnvironmentContext();
|
|
83
83
|
const id = createUniqueId();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./LS7TV3SH.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -85,7 +85,7 @@ import { mergeProps as mergeProps5 } from "@zag-js/solid";
|
|
|
85
85
|
import * as rating from "@zag-js/rating-group";
|
|
86
86
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
87
87
|
import { createMemo as createMemo2, createUniqueId } from "solid-js";
|
|
88
|
-
var useRatingGroup = (props) => {
|
|
88
|
+
var useRatingGroup = (props = {}) => {
|
|
89
89
|
const locale = useLocaleContext();
|
|
90
90
|
const environment = useEnvironmentContext();
|
|
91
91
|
const id = createUniqueId();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './LCESUDZB.js';
|
|
2
|
-
import { useFieldContext } from './
|
|
2
|
+
import { useFieldContext } from './Q5KLHHE3.js';
|
|
3
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
4
|
import { ark } from './EPLBB4QN.js';
|
|
5
5
|
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
@@ -172,7 +172,7 @@ import { mergeProps as mergeProps11 } from "@zag-js/solid";
|
|
|
172
172
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
173
173
|
import * as treeView from "@zag-js/tree-view";
|
|
174
174
|
import { createMemo as createMemo2, createUniqueId } from "solid-js";
|
|
175
|
-
var useTreeView = (props) => {
|
|
175
|
+
var useTreeView = (props = {}) => {
|
|
176
176
|
const locale = useLocaleContext();
|
|
177
177
|
const environment = useEnvironmentContext();
|
|
178
178
|
const id = createUniqueId();
|