@ark-ui/solid 5.1.0 → 5.2.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/{D6BC5RCX.jsx → 2FDSOAL6.jsx} +9 -6
- package/dist/chunk/{FUS6GOJL.jsx → 2ZNYOQIC.jsx} +5 -5
- package/dist/chunk/{5T73FAJY.jsx → 356AM4NT.jsx} +4 -4
- package/dist/chunk/{V564AMKR.jsx → 4G65Z7EU.jsx} +5 -5
- package/dist/chunk/{WDXH3NHK.jsx → 4GAEMXVU.jsx} +9 -6
- package/dist/chunk/{Y7EY3OTU.jsx → 53HPEI6C.jsx} +15 -8
- package/dist/chunk/{KFJJXGK6.js → 5GDLVWNX.js} +1 -1
- package/dist/chunk/{UCYPIMZC.jsx → 5KEAUWCK.jsx} +2 -1
- package/dist/chunk/{ZGXZNLX2.js → 5N6RITOU.js} +15 -4
- package/dist/chunk/{7S7524Q3.js → 7QS2CMYY.js} +9 -3
- package/dist/chunk/{72UBZBQP.jsx → 7XUWO7NR.jsx} +12 -9
- package/dist/chunk/{IYMTFLF3.jsx → BJVPZDAL.jsx} +12 -9
- package/dist/chunk/{LK5627GR.js → BPPSBY3Z.js} +8 -2
- package/dist/chunk/BUX3MXSX.js +40 -0
- package/dist/chunk/{KVVYU5Z3.js → CIIDKCDP.js} +1 -1
- package/dist/chunk/{WNIFZKTJ.jsx → DQKYYDJY.jsx} +4 -4
- package/dist/chunk/{3FYZXSQZ.jsx → DQTWKOSF.jsx} +9 -6
- package/dist/chunk/{MDJAL2LV.jsx → DVSH7A7L.jsx} +14 -8
- package/dist/chunk/{CGBS64C2.jsx → DXGRBGHM.jsx} +5 -5
- package/dist/chunk/{ZPSBF7S2.jsx → FEUZDHU2.jsx} +5 -5
- package/dist/chunk/{4QFED3VE.js → FMI5WHH2.js} +1 -1
- package/dist/chunk/{TRUQMF25.js → FZIYLDQP.js} +1 -1
- package/dist/chunk/{VLQWCBZM.js → GP7PBPSV.js} +9 -3
- package/dist/chunk/{I2RQ2435.js → HRBMLTL6.js} +9 -3
- package/dist/chunk/{GCDTOEZN.jsx → IJHRDDI5.jsx} +5 -5
- package/dist/chunk/{XZZ6TULR.jsx → ILQH74NT.jsx} +4 -4
- package/dist/chunk/{2LZKFXR5.jsx → IYFZDL3F.jsx} +5 -5
- package/dist/chunk/{CHLRHJV2.jsx → JBBHDVFZ.jsx} +4 -4
- package/dist/chunk/{AD2EIGNX.jsx → JDKXSGP6.jsx} +4 -4
- package/dist/chunk/{OY4ARTMM.js → JSBTYBVG.js} +6 -1
- package/dist/chunk/{EI7I4DR6.js → KVZN5EIK.js} +9 -3
- package/dist/chunk/{F5GOQFKX.js → L6IGMFHF.js} +9 -3
- package/dist/chunk/{CA4LWAR2.jsx → LJ6EHJR3.jsx} +5 -5
- package/dist/chunk/{U3J33PVO.jsx → LYAU75M2.jsx} +5 -5
- package/dist/chunk/{GJSXT6PD.js → MBJCX2DE.js} +1 -1
- package/dist/chunk/{RY6GW37O.jsx → MNHPXDZV.jsx} +4 -4
- package/dist/chunk/{CSDXHOTM.jsx → MTZNXILF.jsx} +5 -5
- package/dist/chunk/{GMNTJ5KE.js → N3FF6O2Y.js} +3 -3
- package/dist/chunk/{Z254KIAA.jsx → NQLZI36R.jsx} +4 -4
- package/dist/chunk/{C745EVQO.js → OF3ALDDY.js} +3 -3
- package/dist/chunk/{MA35L6TV.jsx → OPRWSVMJ.jsx} +4 -4
- package/dist/chunk/{B2KZ5VSW.jsx → ORM2J7MT.jsx} +9 -6
- package/dist/chunk/{A4744EEE.jsx → PHH4JVAQ.jsx} +8 -5
- package/dist/chunk/{NEYCBIOW.jsx → PJMEM6IP.jsx} +5 -5
- package/dist/chunk/{NF3HZO6T.js → QB2OYQ6F.js} +1 -1
- package/dist/chunk/{R5NPBVOA.js → QCBVLVTA.js} +9 -3
- package/dist/chunk/{YPH7FBUN.jsx → QVLKI3LC.jsx} +4 -4
- package/dist/chunk/QYAKJNEK.jsx +38 -0
- package/dist/chunk/{JRMTU7C7.jsx → R6OIHEOD.jsx} +1 -1
- package/dist/chunk/{7RR233CD.js → RIHGRA4D.js} +1 -1
- package/dist/chunk/{TZDLUIKR.jsx → SIMDMQSR.jsx} +4 -4
- package/dist/chunk/{VNK2NPTS.js → SPF2T7O4.js} +1 -1
- package/dist/chunk/{E4A5DGUC.js → T7DC3WIE.js} +1 -1
- package/dist/chunk/{EEG3DZXG.jsx → TDJM3IRG.jsx} +4 -4
- package/dist/chunk/{26K66CRD.js → TVG6ZU7O.js} +9 -3
- package/dist/chunk/{7IHVZWMT.jsx → UN6AEOOQ.jsx} +9 -6
- package/dist/chunk/{CABZW4BQ.jsx → USB7GKYK.jsx} +9 -6
- package/dist/chunk/{IKA3JJFV.jsx → V5BZ3V7L.jsx} +4 -4
- package/dist/chunk/{F7JP3DGZ.js → WEP4LIH4.js} +16 -2
- package/dist/chunk/{JUYBJNX6.js → WXY3QNZF.js} +9 -3
- package/dist/chunk/{WGFUGTWA.js → XF64K6LQ.js} +1 -1
- package/dist/chunk/{KZCXBFHA.jsx → XPKZUA4I.jsx} +9 -6
- package/dist/chunk/{MERJALY6.jsx → XQTUHUMS.jsx} +12 -9
- package/dist/chunk/{YIVTZ7BP.jsx → XWB4HZV3.jsx} +4 -4
- package/dist/chunk/{KBHIJYMD.jsx → XWXTZFLM.jsx} +4 -4
- package/dist/chunk/{3VO34CGN.jsx → YQSWID53.jsx} +5 -5
- package/dist/chunk/{65SQKHCI.jsx → ZVGO7HAT.jsx} +10 -7
- package/dist/chunk/{UODFV2GS.js → ZVM34F6R.js} +9 -3
- package/dist/components/accordion/index.d.ts +1 -1
- package/dist/components/accordion/index.jsx +5 -5
- package/dist/components/avatar/index.d.ts +1 -1
- package/dist/components/avatar/index.jsx +4 -4
- package/dist/components/carousel/index.d.ts +1 -1
- package/dist/components/carousel/index.jsx +4 -4
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.jsx +6 -6
- package/dist/components/clipboard/index.d.ts +1 -1
- package/dist/components/clipboard/index.jsx +4 -4
- package/dist/components/collapsible/index.d.ts +1 -1
- package/dist/components/collapsible/index.jsx +4 -4
- package/dist/components/color-picker/index.d.ts +2 -2
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/color-picker/index.jsx +7 -7
- package/dist/components/combobox/index.d.ts +2 -2
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/combobox/index.jsx +9 -9
- package/dist/components/date-picker/index.d.ts +2 -2
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-picker/index.jsx +6 -5
- package/dist/components/dialog/index.d.ts +2 -2
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dialog/index.jsx +6 -5
- package/dist/components/download-trigger/index.d.ts +25 -0
- package/dist/components/download-trigger/index.js +1 -0
- package/dist/components/download-trigger/index.jsx +13 -0
- package/dist/components/editable/index.d.ts +1 -1
- package/dist/components/editable/index.js +1 -1
- package/dist/components/editable/index.jsx +6 -6
- package/dist/components/factory.d.ts +1 -1
- package/dist/components/field/index.d.ts +2 -2
- package/dist/components/field/index.js +1 -1
- package/dist/components/field/index.jsx +5 -3
- package/dist/components/fieldset/index.d.ts +1 -1
- package/dist/components/fieldset/index.jsx +2 -2
- 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 +6 -6
- package/dist/components/focus-trap/index.d.ts +1 -1
- package/dist/components/format/index.jsx +2 -2
- package/dist/components/frame/index.d.ts +1 -1
- package/dist/components/frame/index.jsx +3 -3
- package/dist/components/highlight/index.d.ts +1 -1
- package/dist/components/hover-card/index.d.ts +2 -2
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/hover-card/index.jsx +6 -5
- package/dist/components/index.d.ts +6 -4
- package/dist/components/index.js +32 -31
- package/dist/components/index.jsx +318 -312
- package/dist/components/menu/index.d.ts +2 -2
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/index.jsx +6 -5
- 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 +6 -6
- package/dist/components/pagination/index.d.ts +1 -1
- package/dist/components/pagination/index.jsx +4 -4
- 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 +6 -6
- package/dist/components/popover/index.d.ts +2 -2
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/index.jsx +6 -5
- package/dist/components/presence/index.d.ts +3 -3
- package/dist/components/presence/index.js +1 -1
- package/dist/components/presence/index.jsx +3 -2
- package/dist/components/progress/index.d.ts +1 -1
- package/dist/components/progress/index.jsx +4 -4
- package/dist/components/qr-code/index.d.ts +1 -1
- package/dist/components/qr-code/index.jsx +4 -4
- package/dist/components/radio-group/index.d.ts +1 -1
- package/dist/components/radio-group/index.jsx +4 -4
- 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 +6 -6
- package/dist/components/segment-group/index.d.ts +1 -1
- package/dist/components/segment-group/index.jsx +4 -4
- package/dist/components/select/index.d.ts +2 -2
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/index.jsx +9 -9
- 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 +6 -6
- package/dist/components/slider/index.d.ts +1 -1
- package/dist/components/slider/index.jsx +4 -4
- package/dist/components/splitter/index.d.ts +9 -6
- package/dist/components/splitter/index.js +1 -1
- package/dist/components/splitter/index.jsx +4 -4
- package/dist/components/steps/index.d.ts +1 -1
- package/dist/components/steps/index.jsx +4 -4
- package/dist/components/switch/index.d.ts +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/index.jsx +6 -6
- package/dist/components/tabs/index.d.ts +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/index.jsx +6 -5
- 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 +6 -6
- package/dist/components/time-picker/index.d.ts +2 -2
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/time-picker/index.jsx +6 -5
- package/dist/components/timer/index.d.ts +1 -1
- package/dist/components/timer/index.jsx +4 -4
- package/dist/components/toast/index.d.ts +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toast/index.jsx +4 -4
- package/dist/components/toggle/index.d.ts +1 -1
- package/dist/components/toggle-group/index.d.ts +1 -1
- package/dist/components/toggle-group/index.jsx +4 -4
- package/dist/components/tooltip/index.d.ts +2 -2
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/index.jsx +6 -5
- package/dist/components/tour/index.d.ts +2 -2
- package/dist/components/tour/index.js +1 -1
- package/dist/components/tour/index.jsx +6 -5
- package/dist/components/tree-view/index.d.ts +1 -1
- package/dist/components/tree-view/index.jsx +7 -7
- package/dist/index.d.ts +6 -4
- package/dist/index.js +32 -31
- package/dist/index.jsx +318 -312
- package/dist/providers/environment/index.jsx +2 -2
- package/dist/providers/index.jsx +2 -2
- package/dist/{types-CxryXVkR.d.ts → types-Bc0WfPsv.d.ts} +2 -1
- package/dist/{use-presence-B6QV_j94.d.ts → use-presence-BUVPqaFu.d.ts} +2 -2
- package/package.json +62 -60
- package/dist/chunk/{R2YVXMP7.jsx → 6G6HOPPW.jsx} +0 -0
- package/dist/chunk/{D2Z5BEON.jsx → HD73LMEZ.jsx} +3 -3
- package/dist/chunk/{ZYF7GVNI.jsx → NLXZ3NC4.jsx} +3 -3
- /package/dist/chunk/{ZWNW7ARB.js → XUQC4TSL.js} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { useFieldContext } from './CIIDKCDP.js';
|
|
2
|
+
import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './JSBTYBVG.js';
|
|
3
|
+
import { composeRefs } from './XN6EERRM.js';
|
|
3
4
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
5
|
import { ark } from './EPLBB4QN.js';
|
|
5
6
|
import { useEnvironmentContext } from './YMMMHJJS.js';
|
|
@@ -34,7 +35,12 @@ var ComboboxContent = (props) => {
|
|
|
34
35
|
return !presenceApi().unmounted;
|
|
35
36
|
},
|
|
36
37
|
get children() {
|
|
37
|
-
return createComponent(ark.div, mergedProps
|
|
38
|
+
return createComponent(ark.div, mergeProps$1(mergedProps, {
|
|
39
|
+
ref(r$) {
|
|
40
|
+
var _ref$ = composeRefs(presenceApi().ref, props.ref);
|
|
41
|
+
typeof _ref$ === "function" && _ref$(r$);
|
|
42
|
+
}
|
|
43
|
+
}));
|
|
38
44
|
}
|
|
39
45
|
});
|
|
40
46
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { useFieldContext } from './CIIDKCDP.js';
|
|
2
|
+
import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './JSBTYBVG.js';
|
|
3
|
+
import { composeRefs } from './XN6EERRM.js';
|
|
3
4
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
5
|
import { ark } from './EPLBB4QN.js';
|
|
5
6
|
import { useEnvironmentContext } from './YMMMHJJS.js';
|
|
@@ -126,7 +127,12 @@ var ColorPickerContent = (props) => {
|
|
|
126
127
|
return !presenceApi().unmounted;
|
|
127
128
|
},
|
|
128
129
|
get children() {
|
|
129
|
-
return createComponent(ark.div, mergedProps
|
|
130
|
+
return createComponent(ark.div, mergeProps$1(mergedProps, {
|
|
131
|
+
ref(r$) {
|
|
132
|
+
var _ref$ = composeRefs(presenceApi().ref, props.ref);
|
|
133
|
+
typeof _ref$ === "function" && _ref$(r$);
|
|
134
|
+
}
|
|
135
|
+
}));
|
|
130
136
|
}
|
|
131
137
|
});
|
|
132
138
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./5KEAUWCK.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
10
|
import {
|
|
11
11
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./HD73LMEZ.jsx";
|
|
13
|
+
import {
|
|
14
|
+
runIfFn
|
|
15
|
+
} from "./KGOB2IMX.jsx";
|
|
13
16
|
import {
|
|
14
17
|
useLocaleContext
|
|
15
18
|
} from "./RCXMZN3G.jsx";
|
|
16
19
|
import {
|
|
17
20
|
createContext
|
|
18
21
|
} from "./TVCIHLER.jsx";
|
|
19
|
-
import {
|
|
20
|
-
runIfFn
|
|
21
|
-
} from "./KGOB2IMX.jsx";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./7IUG3E2V.jsx";
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./HD73LMEZ.jsx";
|
|
10
|
+
import {
|
|
11
|
+
runIfFn
|
|
12
|
+
} from "./KGOB2IMX.jsx";
|
|
10
13
|
import {
|
|
11
14
|
useLocaleContext
|
|
12
15
|
} from "./RCXMZN3G.jsx";
|
|
13
16
|
import {
|
|
14
17
|
createContext
|
|
15
18
|
} from "./TVCIHLER.jsx";
|
|
16
|
-
import {
|
|
17
|
-
runIfFn
|
|
18
|
-
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
21
|
} from "./7IUG3E2V.jsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collapsible_exports
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./DQKYYDJY.jsx";
|
|
4
4
|
import {
|
|
5
5
|
RenderStrategyProvider,
|
|
6
6
|
splitRenderStrategyProps,
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
} from "./UFYZ7HLU.jsx";
|
|
15
15
|
import {
|
|
16
16
|
useEnvironmentContext
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./HD73LMEZ.jsx";
|
|
18
|
+
import {
|
|
19
|
+
runIfFn
|
|
20
|
+
} from "./KGOB2IMX.jsx";
|
|
18
21
|
import {
|
|
19
22
|
useLocaleContext
|
|
20
23
|
} from "./RCXMZN3G.jsx";
|
|
21
24
|
import {
|
|
22
25
|
createContext
|
|
23
26
|
} from "./TVCIHLER.jsx";
|
|
24
|
-
import {
|
|
25
|
-
runIfFn
|
|
26
|
-
} from "./KGOB2IMX.jsx";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
29
|
} from "./7IUG3E2V.jsx";
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./HD73LMEZ.jsx";
|
|
10
|
+
import {
|
|
11
|
+
runIfFn
|
|
12
|
+
} from "./KGOB2IMX.jsx";
|
|
10
13
|
import {
|
|
11
14
|
useLocaleContext
|
|
12
15
|
} from "./RCXMZN3G.jsx";
|
|
13
16
|
import {
|
|
14
17
|
createContext
|
|
15
18
|
} from "./TVCIHLER.jsx";
|
|
16
|
-
import {
|
|
17
|
-
runIfFn
|
|
18
|
-
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
21
|
} from "./7IUG3E2V.jsx";
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./HD73LMEZ.jsx";
|
|
10
|
+
import {
|
|
11
|
+
runIfFn
|
|
12
|
+
} from "./KGOB2IMX.jsx";
|
|
10
13
|
import {
|
|
11
14
|
useLocaleContext
|
|
12
15
|
} from "./RCXMZN3G.jsx";
|
|
13
16
|
import {
|
|
14
17
|
createContext
|
|
15
18
|
} from "./TVCIHLER.jsx";
|
|
16
|
-
import {
|
|
17
|
-
runIfFn
|
|
18
|
-
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
21
|
} from "./7IUG3E2V.jsx";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { composeRefs } from './XN6EERRM.js';
|
|
1
2
|
import { splitRenderStrategyProps } from './QFAL6GWC.js';
|
|
2
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
4
|
import { ark } from './EPLBB4QN.js';
|
|
@@ -22,8 +23,8 @@ var usePresence = (props) => {
|
|
|
22
23
|
return createMemo(() => ({
|
|
23
24
|
unmounted: !api().present && !wasEverPresent() && renderStrategyProps.lazyMount || renderStrategyProps.unmountOnExit && !api().present && wasEverPresent(),
|
|
24
25
|
present: api().present,
|
|
26
|
+
ref: api().setNode,
|
|
25
27
|
presenceProps: {
|
|
26
|
-
ref: api().setNode,
|
|
27
28
|
hidden: !api().present,
|
|
28
29
|
"data-state": context.present ? "open" : "closed"
|
|
29
30
|
}
|
|
@@ -41,6 +42,10 @@ var Presence = (props) => {
|
|
|
41
42
|
},
|
|
42
43
|
get children() {
|
|
43
44
|
return createComponent(ark.div, mergeProps$1(mergedProps, {
|
|
45
|
+
ref(r$) {
|
|
46
|
+
var _ref$ = composeRefs(api().ref, props.ref);
|
|
47
|
+
typeof _ref$ === "function" && _ref$(r$);
|
|
48
|
+
},
|
|
44
49
|
"data-scope": "presence",
|
|
45
50
|
"data-part": "root"
|
|
46
51
|
}));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './
|
|
1
|
+
import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './JSBTYBVG.js';
|
|
2
|
+
import { composeRefs } from './XN6EERRM.js';
|
|
2
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
4
|
import { ark } from './EPLBB4QN.js';
|
|
4
5
|
import { useEnvironmentContext } from './YMMMHJJS.js';
|
|
@@ -7,7 +8,7 @@ import { createContext } from './TROPIN4C.js';
|
|
|
7
8
|
import { runIfFn } from './DT73WLR4.js';
|
|
8
9
|
import { __export } from './ESLJRKWD.js';
|
|
9
10
|
export { parseTime } from '@internationalized/date';
|
|
10
|
-
import { createComponent } from 'solid-js/web';
|
|
11
|
+
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
11
12
|
import { mergeProps, useMachine, normalizeProps } from '@zag-js/solid';
|
|
12
13
|
import { Show, createUniqueId, createMemo } from 'solid-js';
|
|
13
14
|
import * as timePicker from '@zag-js/time-picker';
|
|
@@ -64,7 +65,12 @@ var TimePickerContent = (props) => {
|
|
|
64
65
|
return !presenceApi().unmounted;
|
|
65
66
|
},
|
|
66
67
|
get children() {
|
|
67
|
-
return createComponent(ark.div, mergedProps
|
|
68
|
+
return createComponent(ark.div, mergeProps$1(mergedProps, {
|
|
69
|
+
ref(r$) {
|
|
70
|
+
var _ref$ = composeRefs(presenceApi().ref, props.ref);
|
|
71
|
+
typeof _ref$ === "function" && _ref$(r$);
|
|
72
|
+
}
|
|
73
|
+
}));
|
|
68
74
|
}
|
|
69
75
|
});
|
|
70
76
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { usePresence, PresenceProvider } from './
|
|
1
|
+
import { usePresence, PresenceProvider } from './JSBTYBVG.js';
|
|
2
|
+
import { composeRefs } from './XN6EERRM.js';
|
|
2
3
|
import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './QFAL6GWC.js';
|
|
3
4
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
5
|
import { ark } from './EPLBB4QN.js';
|
|
@@ -7,7 +8,7 @@ import { useLocaleContext } from './QEMQBM6W.js';
|
|
|
7
8
|
import { createContext } from './TROPIN4C.js';
|
|
8
9
|
import { runIfFn } from './DT73WLR4.js';
|
|
9
10
|
import { __export } from './ESLJRKWD.js';
|
|
10
|
-
import { createComponent } from 'solid-js/web';
|
|
11
|
+
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
11
12
|
import { mergeProps, useMachine, normalizeProps } from '@zag-js/solid';
|
|
12
13
|
import { Show, createUniqueId, createMemo } from 'solid-js';
|
|
13
14
|
import * as tabs from '@zag-js/tabs';
|
|
@@ -37,7 +38,12 @@ var TabContent = (props) => {
|
|
|
37
38
|
return !presenceApi().unmounted;
|
|
38
39
|
},
|
|
39
40
|
get children() {
|
|
40
|
-
return createComponent(ark.div, mergedProps
|
|
41
|
+
return createComponent(ark.div, mergeProps$1(mergedProps, {
|
|
42
|
+
ref(r$) {
|
|
43
|
+
var _ref$ = composeRefs(presenceApi().ref, props.ref);
|
|
44
|
+
typeof _ref$ === "function" && _ref$(r$);
|
|
45
|
+
}
|
|
46
|
+
}));
|
|
41
47
|
}
|
|
42
48
|
});
|
|
43
49
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./5KEAUWCK.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
10
|
import {
|
|
11
11
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./HD73LMEZ.jsx";
|
|
13
|
+
import {
|
|
14
|
+
runIfFn
|
|
15
|
+
} from "./KGOB2IMX.jsx";
|
|
13
16
|
import {
|
|
14
17
|
useLocaleContext
|
|
15
18
|
} from "./RCXMZN3G.jsx";
|
|
16
19
|
import {
|
|
17
20
|
createContext
|
|
18
21
|
} from "./TVCIHLER.jsx";
|
|
19
|
-
import {
|
|
20
|
-
runIfFn
|
|
21
|
-
} from "./KGOB2IMX.jsx";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./7IUG3E2V.jsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./5KEAUWCK.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
10
|
import {
|
|
11
11
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./HD73LMEZ.jsx";
|
|
13
|
+
import {
|
|
14
|
+
runIfFn
|
|
15
|
+
} from "./KGOB2IMX.jsx";
|
|
13
16
|
import {
|
|
14
17
|
useLocaleContext
|
|
15
18
|
} from "./RCXMZN3G.jsx";
|
|
16
19
|
import {
|
|
17
20
|
createContext
|
|
18
21
|
} from "./TVCIHLER.jsx";
|
|
19
|
-
import {
|
|
20
|
-
runIfFn
|
|
21
|
-
} from "./KGOB2IMX.jsx";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./7IUG3E2V.jsx";
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./HD73LMEZ.jsx";
|
|
10
|
+
import {
|
|
11
|
+
runIfFn
|
|
12
|
+
} from "./KGOB2IMX.jsx";
|
|
10
13
|
import {
|
|
11
14
|
useLocaleContext
|
|
12
15
|
} from "./RCXMZN3G.jsx";
|
|
13
16
|
import {
|
|
14
17
|
createContext
|
|
15
18
|
} from "./TVCIHLER.jsx";
|
|
16
|
-
import {
|
|
17
|
-
runIfFn
|
|
18
|
-
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
21
|
} from "./7IUG3E2V.jsx";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collapsible_exports,
|
|
3
3
|
useCollapsibleContext
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./DQKYYDJY.jsx";
|
|
5
5
|
import {
|
|
6
6
|
RenderStrategyProvider,
|
|
7
7
|
splitRenderStrategyProps,
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
16
|
import {
|
|
17
17
|
useEnvironmentContext
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./HD73LMEZ.jsx";
|
|
19
|
+
import {
|
|
20
|
+
runIfFn
|
|
21
|
+
} from "./KGOB2IMX.jsx";
|
|
19
22
|
import {
|
|
20
23
|
useLocaleContext
|
|
21
24
|
} from "./RCXMZN3G.jsx";
|
|
22
25
|
import {
|
|
23
26
|
createContext
|
|
24
27
|
} from "./TVCIHLER.jsx";
|
|
25
|
-
import {
|
|
26
|
-
runIfFn
|
|
27
|
-
} from "./KGOB2IMX.jsx";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
30
|
} from "./7IUG3E2V.jsx";
|
|
@@ -20,13 +20,13 @@ var [SplitterProvider, useSplitterContext] = createContext({
|
|
|
20
20
|
// src/components/splitter/splitter-context.tsx
|
|
21
21
|
var SplitterContext = (props) => props.children(useSplitterContext());
|
|
22
22
|
var SplitterPanel = (props) => {
|
|
23
|
-
const [panelProps, restProps] = createSplitProps()(props, ["id"
|
|
23
|
+
const [panelProps, restProps] = createSplitProps()(props, ["id"]);
|
|
24
24
|
const api = useSplitterContext();
|
|
25
25
|
const mergedProps = mergeProps(() => api().getPanelProps(panelProps), restProps);
|
|
26
26
|
return createComponent(ark.div, mergedProps);
|
|
27
27
|
};
|
|
28
28
|
var SplitterResizeTrigger = (props) => {
|
|
29
|
-
const [resizeTriggerProps, restProps] = createSplitProps()(props, ["disabled", "id"
|
|
29
|
+
const [resizeTriggerProps, restProps] = createSplitProps()(props, ["disabled", "id"]);
|
|
30
30
|
const api = useSplitterContext();
|
|
31
31
|
const mergedProps = mergeProps(() => api().getResizeTriggerProps(resizeTriggerProps), restProps);
|
|
32
32
|
return createComponent(ark.button, mergedProps);
|
|
@@ -47,7 +47,7 @@ var useSplitter = (props) => {
|
|
|
47
47
|
|
|
48
48
|
// src/components/splitter/splitter-root.tsx
|
|
49
49
|
var SplitterRoot = (props) => {
|
|
50
|
-
const [useSplitterProps, localProps] = createSplitProps()(props, ["defaultSize", "id", "ids", "
|
|
50
|
+
const [useSplitterProps, localProps] = createSplitProps()(props, ["defaultSize", "id", "ids", "keyboardResizeBy", "nonce", "onCollapse", "onExpand", "onResize", "onResizeEnd", "onResizeStart", "orientation", "panels", "size"]);
|
|
51
51
|
const api = useSplitter(useSplitterProps);
|
|
52
52
|
const mergedProps = mergeProps(() => api().getRootProps(), localProps);
|
|
53
53
|
return createComponent(SplitterProvider, {
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./HD73LMEZ.jsx";
|
|
10
|
+
import {
|
|
11
|
+
runIfFn
|
|
12
|
+
} from "./KGOB2IMX.jsx";
|
|
10
13
|
import {
|
|
11
14
|
useLocaleContext
|
|
12
15
|
} from "./RCXMZN3G.jsx";
|
|
13
16
|
import {
|
|
14
17
|
createContext
|
|
15
18
|
} from "./TVCIHLER.jsx";
|
|
16
|
-
import {
|
|
17
|
-
runIfFn
|
|
18
|
-
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
21
|
} from "./7IUG3E2V.jsx";
|
|
@@ -64,11 +64,11 @@ var Toaster = (props) => {
|
|
|
64
64
|
store: toasterProps.toaster,
|
|
65
65
|
id: createUniqueId(),
|
|
66
66
|
dir: locale()?.dir,
|
|
67
|
-
getRootNode:
|
|
67
|
+
getRootNode: env()?.getRootNode
|
|
68
68
|
}));
|
|
69
69
|
const api = createMemo(() => toast2.group.connect(service, normalizeProps));
|
|
70
70
|
const toasts = createMemo(() => api().getToasts());
|
|
71
|
-
const mergedProps = mergeProps(api().getGroupProps(), localProps);
|
|
71
|
+
const mergedProps = mergeProps(() => api().getGroupProps(), localProps);
|
|
72
72
|
return createComponent(ark.div, mergeProps$1(mergedProps, {
|
|
73
73
|
get children() {
|
|
74
74
|
return createComponent(Key, {
|
|
@@ -90,7 +90,7 @@ var ToastActor = (props) => {
|
|
|
90
90
|
const localProps = createMemo(() => ({
|
|
91
91
|
...props.value(),
|
|
92
92
|
parent: props.parent,
|
|
93
|
-
index: props.index
|
|
93
|
+
index: props.index()
|
|
94
94
|
}));
|
|
95
95
|
const service = useMachine(toast2.machine, localProps);
|
|
96
96
|
const api = createMemo(() => toast2.connect(service, normalizeProps));
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./HD73LMEZ.jsx";
|
|
10
|
+
import {
|
|
11
|
+
runIfFn
|
|
12
|
+
} from "./KGOB2IMX.jsx";
|
|
10
13
|
import {
|
|
11
14
|
useLocaleContext
|
|
12
15
|
} from "./RCXMZN3G.jsx";
|
|
13
16
|
import {
|
|
14
17
|
createContext
|
|
15
18
|
} from "./TVCIHLER.jsx";
|
|
16
|
-
import {
|
|
17
|
-
runIfFn
|
|
18
|
-
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
21
|
} from "./7IUG3E2V.jsx";
|
|
@@ -3,7 +3,10 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./PHH4JVAQ.jsx";
|
|
7
|
+
import {
|
|
8
|
+
composeRefs
|
|
9
|
+
} from "./DOBZPYAN.jsx";
|
|
7
10
|
import {
|
|
8
11
|
createSplitProps
|
|
9
12
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -12,16 +15,16 @@ import {
|
|
|
12
15
|
} from "./UFYZ7HLU.jsx";
|
|
13
16
|
import {
|
|
14
17
|
useEnvironmentContext
|
|
15
|
-
} from "./
|
|
18
|
+
} from "./HD73LMEZ.jsx";
|
|
19
|
+
import {
|
|
20
|
+
runIfFn
|
|
21
|
+
} from "./KGOB2IMX.jsx";
|
|
16
22
|
import {
|
|
17
23
|
useLocaleContext
|
|
18
24
|
} from "./RCXMZN3G.jsx";
|
|
19
25
|
import {
|
|
20
26
|
createContext
|
|
21
27
|
} from "./TVCIHLER.jsx";
|
|
22
|
-
import {
|
|
23
|
-
runIfFn
|
|
24
|
-
} from "./KGOB2IMX.jsx";
|
|
25
28
|
import {
|
|
26
29
|
__export
|
|
27
30
|
} from "./7IUG3E2V.jsx";
|
|
@@ -90,7 +93,7 @@ var TimePickerContent = (props) => {
|
|
|
90
93
|
props
|
|
91
94
|
);
|
|
92
95
|
return <Show when={!presenceApi().unmounted}>
|
|
93
|
-
<ark.div {...mergedProps} />
|
|
96
|
+
<ark.div {...mergedProps} ref={composeRefs(presenceApi().ref, props.ref)} />
|
|
94
97
|
</Show>;
|
|
95
98
|
};
|
|
96
99
|
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
composeRefs
|
|
3
|
+
} from "./DOBZPYAN.jsx";
|
|
1
4
|
import {
|
|
2
5
|
splitRenderStrategyProps
|
|
3
6
|
} from "./NEBB7COJ.jsx";
|
|
@@ -7,12 +10,12 @@ import {
|
|
|
7
10
|
import {
|
|
8
11
|
ark
|
|
9
12
|
} from "./UFYZ7HLU.jsx";
|
|
10
|
-
import {
|
|
11
|
-
createContext
|
|
12
|
-
} from "./TVCIHLER.jsx";
|
|
13
13
|
import {
|
|
14
14
|
runIfFn
|
|
15
15
|
} from "./KGOB2IMX.jsx";
|
|
16
|
+
import {
|
|
17
|
+
createContext
|
|
18
|
+
} from "./TVCIHLER.jsx";
|
|
16
19
|
|
|
17
20
|
// src/components/presence/presence.tsx
|
|
18
21
|
import { mergeProps } from "@zag-js/solid";
|
|
@@ -37,8 +40,8 @@ var usePresence = (props) => {
|
|
|
37
40
|
return createMemo(() => ({
|
|
38
41
|
unmounted: !api().present && !wasEverPresent() && renderStrategyProps.lazyMount || renderStrategyProps.unmountOnExit && !api().present && wasEverPresent(),
|
|
39
42
|
present: api().present,
|
|
43
|
+
ref: api().setNode,
|
|
40
44
|
presenceProps: {
|
|
41
|
-
ref: api().setNode,
|
|
42
45
|
hidden: !api().present,
|
|
43
46
|
"data-state": context.present ? "open" : "closed"
|
|
44
47
|
}
|
|
@@ -51,7 +54,7 @@ var Presence = (props) => {
|
|
|
51
54
|
const api = usePresence(presenceProps);
|
|
52
55
|
const mergedProps = mergeProps(() => api().presenceProps, localProps);
|
|
53
56
|
return <Show when={!api().unmounted}>
|
|
54
|
-
<ark.div {...mergedProps} data-scope="presence" data-part="root" />
|
|
57
|
+
<ark.div {...mergedProps} ref={composeRefs(api().ref, props.ref)} data-scope="presence" data-part="root" />
|
|
55
58
|
</Show>;
|
|
56
59
|
};
|
|
57
60
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./5KEAUWCK.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
10
|
import {
|
|
11
11
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./HD73LMEZ.jsx";
|
|
13
|
+
import {
|
|
14
|
+
runIfFn
|
|
15
|
+
} from "./KGOB2IMX.jsx";
|
|
13
16
|
import {
|
|
14
17
|
useLocaleContext
|
|
15
18
|
} from "./RCXMZN3G.jsx";
|
|
16
19
|
import {
|
|
17
20
|
createContext
|
|
18
21
|
} from "./TVCIHLER.jsx";
|
|
19
|
-
import {
|
|
20
|
-
runIfFn
|
|
21
|
-
} from "./KGOB2IMX.jsx";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./7IUG3E2V.jsx";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './
|
|
1
|
+
import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './JSBTYBVG.js';
|
|
2
|
+
import { composeRefs } from './XN6EERRM.js';
|
|
2
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
4
|
import { ark } from './EPLBB4QN.js';
|
|
4
5
|
import { useEnvironmentContext } from './YMMMHJJS.js';
|
|
@@ -6,7 +7,7 @@ import { useLocaleContext } from './QEMQBM6W.js';
|
|
|
6
7
|
import { createContext } from './TROPIN4C.js';
|
|
7
8
|
import { runIfFn } from './DT73WLR4.js';
|
|
8
9
|
import { __export } from './ESLJRKWD.js';
|
|
9
|
-
import { createComponent } from 'solid-js/web';
|
|
10
|
+
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
10
11
|
import { mergeProps, useMachine, normalizeProps } from '@zag-js/solid';
|
|
11
12
|
import { Show, createUniqueId, createMemo } from 'solid-js';
|
|
12
13
|
import * as popover from '@zag-js/popover';
|
|
@@ -48,7 +49,12 @@ var PopoverContent = (props) => {
|
|
|
48
49
|
return !presenceApi().unmounted;
|
|
49
50
|
},
|
|
50
51
|
get children() {
|
|
51
|
-
return createComponent(ark.div, mergedProps
|
|
52
|
+
return createComponent(ark.div, mergeProps$1(mergedProps, {
|
|
53
|
+
ref(r$) {
|
|
54
|
+
var _ref$ = composeRefs(presenceApi().ref, props.ref);
|
|
55
|
+
typeof _ref$ === "function" && _ref$(r$);
|
|
56
|
+
}
|
|
57
|
+
}));
|
|
52
58
|
}
|
|
53
59
|
});
|
|
54
60
|
};
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./HD73LMEZ.jsx";
|
|
10
|
+
import {
|
|
11
|
+
runIfFn
|
|
12
|
+
} from "./KGOB2IMX.jsx";
|
|
10
13
|
import {
|
|
11
14
|
useLocaleContext
|
|
12
15
|
} from "./RCXMZN3G.jsx";
|
|
13
16
|
import {
|
|
14
17
|
createContext
|
|
15
18
|
} from "./TVCIHLER.jsx";
|
|
16
|
-
import {
|
|
17
|
-
runIfFn
|
|
18
|
-
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
21
|
} from "./7IUG3E2V.jsx";
|