@ark-ui/solid 5.30.0 → 5.31.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/{checkbox.anatomy-CuzDSmDj.d.ts → checkbox.anatomy-YlC7nNXs.d.ts} +1 -1
- package/dist/chunk/{2S7Z6JX4.jsx → 2KCVIKG7.jsx} +7 -7
- package/dist/chunk/{Z5L7ULFZ.js → 2SGHC324.js} +2 -2
- package/dist/chunk/{KEZ2WH2A.jsx → 2TPQPUX6.jsx} +6 -6
- package/dist/chunk/{Z5ZRFFPU.js → 37BRFTCN.js} +2 -2
- package/dist/chunk/{S7F5ETXJ.js → 3JI3LEL3.js} +3 -3
- package/dist/chunk/{5QLLQM7E.js → 3P5T77QU.js} +6 -5
- package/dist/chunk/{HWHAUHQ5.jsx → 4GELDCEE.jsx} +7 -7
- package/dist/chunk/{3BRVNFB3.js → 4GOETTVP.js} +29 -32
- package/dist/chunk/{W7YDKZGP.js → 4UQ4BNTC.js} +3 -3
- package/dist/chunk/{M3S2UEA7.js → 52P3DPTR.js} +3 -3
- package/dist/chunk/{SH4J3NPA.jsx → 5LDIC54T.jsx} +6 -6
- package/dist/chunk/{WUBTAV2O.js → 5LGVYTH5.js} +4 -4
- package/dist/chunk/{XXP27BHC.jsx → 5O3D32XK.jsx} +8 -8
- package/dist/chunk/{K32NALIW.js → 5QVNY35H.js} +2 -2
- package/dist/chunk/{76KFR2EJ.jsx → 5SEYLBQQ.jsx} +7 -7
- package/dist/chunk/{372PVMNT.js → 5WXM756C.js} +3 -3
- package/dist/chunk/{UHWLTCQZ.jsx → 65QK7XXR.jsx} +6 -3
- package/dist/chunk/{J5ODILBT.jsx → 6N44QPMY.jsx} +13 -13
- package/dist/chunk/{XH4Y4U2G.jsx → 76UE3KN4.jsx} +8 -8
- package/dist/chunk/{B434DN6B.js → 7LBRKLXW.js} +2 -2
- package/dist/chunk/{G2THT6E6.js → 7LG5FPBU.js} +19 -15
- package/dist/chunk/{NZQO4OJP.jsx → A7ULUG37.jsx} +17 -14
- package/dist/chunk/{RSWPJEWK.js → AFGSUR6R.js} +3 -3
- package/dist/chunk/{XNAQLSZW.jsx → AOAGDS53.jsx} +3 -3
- package/dist/chunk/{HCQSZULR.js → BHJYCERG.js} +4 -4
- package/dist/chunk/{HI7OENS5.js → BV6RNXMH.js} +27 -5
- package/dist/chunk/{7HLG62OR.jsx → C56T2HRV.jsx} +7 -7
- package/dist/chunk/{FDE3GI6Q.js → CCBSY5FU.js} +4 -4
- package/dist/chunk/{LQGHLGPW.jsx → CG273YBB.jsx} +4 -4
- package/dist/chunk/{7B5HD3HF.js → CKMDA3R6.js} +2 -2
- package/dist/chunk/{RRFWSRAD.jsx → CMGVBYH6.jsx} +47 -12
- package/dist/chunk/{W33NQFXF.js → CTYC3XVM.js} +3 -3
- package/dist/chunk/{IYZ6XUM5.js → CXS7DDU2.js} +2 -2
- package/dist/chunk/{IEJ4RWIV.jsx → D4GWWUQY.jsx} +7 -7
- package/dist/chunk/{BX734ZD7.js → DFHJBZM6.js} +3 -3
- package/dist/chunk/{UOTT3RUB.jsx → DLQR7VNM.jsx} +7 -7
- package/dist/chunk/{MNZUELWU.jsx → DM5NMT5Y.jsx} +7 -7
- package/dist/chunk/{QTWOIUHU.jsx → DNRJCAR4.jsx} +7 -7
- package/dist/chunk/{DR7CHNBO.jsx → DON7WJR6.jsx} +6 -6
- package/dist/chunk/{FDGWBBJ3.jsx → DYFALYJE.jsx} +4 -4
- package/dist/chunk/{J6B3R7PY.jsx → EMHNANVE.jsx} +6 -6
- package/dist/chunk/{P2OA7NSB.js → EOQC4OFF.js} +2 -2
- package/dist/chunk/{6UXNGS66.jsx → EQKTJ63X.jsx} +1 -1
- package/dist/chunk/{NPSTVZUG.jsx → EV7COIUN.jsx} +8 -7
- package/dist/chunk/{JNBFQ7ZP.jsx → FQY342YD.jsx} +13 -13
- package/dist/chunk/{B7OY6YTK.js → G2UMJWTM.js} +2 -2
- package/dist/chunk/{IGSOSLB3.jsx → GOJHNXPD.jsx} +7 -7
- package/dist/chunk/{O5M2FPMH.js → GXLS3QZ4.js} +3 -3
- package/dist/chunk/{CGW54HAQ.jsx → HDGILMRT.jsx} +4 -1
- package/dist/chunk/{P7BXFWK5.js → HMG7R2BF.js} +40 -38
- package/dist/chunk/{OVPRCDDL.jsx → IHT5Q6Q3.jsx} +8 -7
- package/dist/chunk/{VRCOVKZM.jsx → IM2L53FZ.jsx} +7 -7
- package/dist/chunk/{23JPD2DE.js → J6D7JUCJ.js} +2 -5
- package/dist/chunk/{CCK5XI24.jsx → KH2XV4KM.jsx} +7 -7
- package/dist/chunk/{ZYFWVVTC.js → KMYFS63G.js} +66 -22
- package/dist/chunk/{FXYVJXLF.jsx → KQGHYOLW.jsx} +6 -6
- package/dist/chunk/{4EK6Z2KK.js → KXKOMCVA.js} +2 -2
- package/dist/chunk/{52VYWTHF.js → LYCTCPBV.js} +4 -4
- package/dist/chunk/{GCQCOMQH.js → MDSG7I6V.js} +2 -2
- package/dist/chunk/{SZNFUIJQ.jsx → MMBOU3ZC.jsx} +7 -7
- package/dist/chunk/{F7OI3RZ3.js → NHSNBGCC.js} +46 -19
- package/dist/chunk/{UMVZZL45.js → NMYA3JZ5.js} +1 -1
- package/dist/chunk/{LNZGGTI5.js → NT6ZYH25.js} +3 -3
- package/dist/chunk/{K3TLO6S6.js → NYBDSWDH.js} +2 -2
- package/dist/chunk/{UDBRICA6.js → O6CMUPUG.js} +2 -2
- package/dist/chunk/{DBNXBHAT.js → OSFE5N7D.js} +3 -3
- package/dist/chunk/{VVD4LKC6.jsx → OWH3LOUE.jsx} +4 -1
- package/dist/chunk/{3WOFDSWV.jsx → PSH3YKBU.jsx} +4 -4
- package/dist/chunk/{CNHYYRWI.jsx → Q2EC4X24.jsx} +7 -7
- package/dist/chunk/{WT5KEZUJ.js → Q67V4SSK.js} +8 -12
- package/dist/chunk/{TP32AKQX.js → RBYLWQEE.js} +3 -3
- package/dist/chunk/{FKF6FOYL.jsx → RLUEXDAM.jsx} +7 -7
- package/dist/chunk/{RYD4Z3LT.jsx → RY7KBPRA.jsx} +6 -6
- package/dist/chunk/{GBGTOFYC.js → S3VN2YFH.js} +2 -2
- package/dist/chunk/{6QF5SDIE.jsx → S7ILHA7C.jsx} +7 -7
- package/dist/chunk/{JEKNEIFC.jsx → SCMBWJVC.jsx} +6 -6
- package/dist/chunk/{UTULIPW7.js → SLOK7RQU.js} +3 -3
- package/dist/chunk/{2MDYHAEL.js → SU6SNXFK.js} +7 -6
- package/dist/chunk/{4A6UNZ4T.jsx → T4C4OLH5.jsx} +8 -8
- package/dist/chunk/{AH5KB6LR.js → TAEJBOHF.js} +3 -3
- package/dist/chunk/{NHEM6XZR.jsx → TEKM4RER.jsx} +6 -6
- package/dist/chunk/{SYNEPEHD.js → TJ7E237D.js} +2 -2
- package/dist/chunk/{GCEYGQPA.jsx → TQCLH765.jsx} +13 -13
- package/dist/chunk/{5RT2MFUK.jsx → TYHUUGLH.jsx} +3 -3
- package/dist/chunk/{ORJXW4SC.jsx → TZA2XQYK.jsx} +38 -18
- package/dist/chunk/{OF7DNWIQ.jsx → UGCFDJSO.jsx} +6 -6
- package/dist/chunk/{HVXJLFJY.jsx → UGSFGPFW.jsx} +7 -7
- package/dist/chunk/{AQ27SOWE.jsx → V6TUJPSE.jsx} +6 -6
- package/dist/chunk/{2BFJIRAK.js → VPKUVVDM.js} +3 -3
- package/dist/chunk/{YENHTIT6.js → VQAY7ALM.js} +3 -3
- package/dist/chunk/{TWZUCWKG.js → VUOC2LCL.js} +2 -2
- package/dist/chunk/{UXUJ2LD6.js → VUSRNP23.js} +3 -3
- package/dist/chunk/{QGXWXVZ5.js → VVSGL3B5.js} +3 -3
- package/dist/chunk/{Z4EBWHQF.js → WJ3SED2J.js} +3 -3
- package/dist/chunk/{VH6MDPEX.jsx → WMMVKZHK.jsx} +7 -7
- package/dist/chunk/{QARPXWDS.js → WYVADPK7.js} +2 -2
- package/dist/chunk/{JRY66LXS.jsx → XMIVUAEB.jsx} +7 -7
- package/dist/chunk/{HYQNCIWP.js → XTL34GZH.js} +2 -2
- package/dist/chunk/{6HVSV6OM.js → YA3LD5QR.js} +1 -1
- package/dist/chunk/{JLPPHEZV.js → YJZT56R5.js} +2 -2
- package/dist/chunk/{VDRVAOKQ.js → YQOHTJFL.js} +3 -3
- package/dist/chunk/{2JSSDQEE.jsx → YRAJJHEJ.jsx} +7 -7
- package/dist/chunk/{HNIBOZUS.jsx → YTEBGEQ4.jsx} +39 -11
- package/dist/chunk/{2V2P2JZV.js → Z326BLVT.js} +5 -5
- package/dist/chunk/{VIKFXGE5.jsx → ZOKZFKHJ.jsx} +7 -7
- package/dist/chunk/{3ZDGZCBV.jsx → ZQJU3MNB.jsx} +11 -11
- package/dist/chunk/{DH3KPRGA.jsx → ZSFOKQ3Z.jsx} +10 -7
- package/dist/chunk/{UOOMXEJO.jsx → ZYS6A6GV.jsx} +6 -6
- package/dist/{color-picker.anatomy-CMDtAoEh.d.ts → color-picker.anatomy-Dxw1DJ2S.d.ts} +1 -1
- package/dist/{combobox.anatomy-DBsVyPqM.d.ts → combobox.anatomy-CW3VXK4N.d.ts} +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/accordion/index.jsx +7 -7
- package/dist/components/anatomy.d.ts +7 -7
- package/dist/components/anatomy.js +18 -18
- package/dist/components/anatomy.jsx +52 -52
- package/dist/components/angle-slider/index.js +1 -1
- package/dist/components/angle-slider/index.jsx +5 -5
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/avatar/index.jsx +5 -5
- package/dist/components/bottom-sheet/index.js +1 -1
- package/dist/components/bottom-sheet/index.jsx +6 -6
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/carousel/index.jsx +5 -5
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.jsx +8 -8
- package/dist/components/clipboard/index.js +1 -1
- package/dist/components/clipboard/index.jsx +5 -5
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/collapsible/index.jsx +6 -6
- 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 +10 -10
- package/dist/components/combobox/index.d.ts +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/combobox/index.jsx +10 -10
- package/dist/components/date-picker/index.d.ts +30 -4
- package/dist/components/date-picker/index.js +2 -2
- package/dist/components/date-picker/index.jsx +10 -8
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dialog/index.jsx +8 -8
- package/dist/components/download-trigger/index.js +1 -1
- package/dist/components/download-trigger/index.jsx +4 -4
- package/dist/components/editable/index.js +1 -1
- package/dist/components/editable/index.jsx +8 -8
- package/dist/components/field/index.d.ts +1 -1
- package/dist/components/field/index.js +1 -1
- package/dist/components/field/index.jsx +7 -7
- package/dist/components/fieldset/index.d.ts +1 -1
- package/dist/components/fieldset/index.js +1 -1
- package/dist/components/fieldset/index.jsx +6 -6
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/file-upload/index.jsx +8 -8
- package/dist/components/floating-panel/index.js +1 -1
- package/dist/components/floating-panel/index.jsx +8 -8
- package/dist/components/format/index.jsx +3 -2
- package/dist/components/frame/index.js +1 -1
- package/dist/components/frame/index.jsx +4 -3
- package/dist/components/highlight/index.js +1 -1
- package/dist/components/highlight/index.jsx +2 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/hover-card/index.jsx +8 -8
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/image-cropper/index.jsx +5 -5
- package/dist/components/index.d.ts +10 -10
- package/dist/components/index.js +71 -71
- package/dist/components/index.jsx +434 -424
- package/dist/components/json-tree-view/index.d.ts +16 -13
- package/dist/components/json-tree-view/index.js +1 -1
- package/dist/components/json-tree-view/index.jsx +8 -8
- package/dist/components/listbox/index.d.ts +1 -1
- package/dist/components/listbox/index.js +1 -1
- package/dist/components/listbox/index.jsx +5 -5
- package/dist/components/marquee/index.js +1 -1
- package/dist/components/marquee/index.jsx +5 -5
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/index.jsx +8 -8
- package/dist/components/navigation-menu/index.d.ts +1 -1
- package/dist/components/navigation-menu/index.js +24 -19
- package/dist/components/navigation-menu/index.jsx +27 -16
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/index.jsx +8 -8
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/index.jsx +5 -5
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/password-input/index.jsx +8 -8
- package/dist/components/pin-input/index.js +1 -1
- package/dist/components/pin-input/index.jsx +8 -8
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/index.jsx +8 -8
- package/dist/components/presence/index.js +1 -1
- package/dist/components/presence/index.jsx +2 -2
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress/index.jsx +5 -5
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/qr-code/index.jsx +5 -5
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radio-group/index.jsx +7 -7
- package/dist/components/rating-group/index.js +1 -1
- package/dist/components/rating-group/index.jsx +8 -8
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/index.jsx +5 -5
- package/dist/components/segment-group/index.js +1 -1
- package/dist/components/segment-group/index.jsx +5 -5
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/index.jsx +10 -10
- package/dist/components/signature-pad/index.js +1 -1
- package/dist/components/signature-pad/index.jsx +8 -8
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/index.jsx +5 -5
- package/dist/components/splitter/index.js +1 -1
- package/dist/components/splitter/index.jsx +5 -5
- package/dist/components/steps/index.js +1 -1
- package/dist/components/steps/index.jsx +5 -5
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/index.jsx +8 -8
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/index.jsx +8 -8
- package/dist/components/tags-input/index.js +1 -1
- package/dist/components/tags-input/index.jsx +8 -8
- package/dist/components/timer/index.js +1 -1
- package/dist/components/timer/index.jsx +5 -5
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toast/index.jsx +4 -4
- package/dist/components/toggle/index.js +1 -1
- package/dist/components/toggle/index.jsx +2 -2
- package/dist/components/toggle-group/index.js +1 -1
- package/dist/components/toggle-group/index.jsx +5 -5
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/index.jsx +8 -8
- package/dist/components/tour/index.d.ts +9 -3
- package/dist/components/tour/index.js +1 -1
- package/dist/components/tour/index.jsx +18 -10
- package/dist/components/tree-view/index.js +1 -1
- package/dist/components/tree-view/index.jsx +7 -7
- package/dist/date-picker.anatomy-DPHKzZh7.d.ts +5 -0
- package/dist/field.anatomy-BA_rbPae.d.ts +5 -0
- package/dist/{fieldset.anatomy-BHBXaVuM.d.ts → fieldset.anatomy-ByHwSFid.d.ts} +1 -1
- package/dist/index.d.ts +10 -10
- package/dist/index.js +73 -73
- package/dist/index.jsx +439 -429
- package/dist/{listbox.anatomy-CuSvGz29.d.ts → listbox.anatomy-ogRrsXMY.d.ts} +1 -1
- package/dist/providers/environment/index.js +1 -1
- package/dist/providers/environment/index.jsx +2 -1
- package/dist/providers/index.js +1 -1
- package/dist/providers/index.jsx +3 -2
- package/package.json +75 -74
- package/dist/date-picker.anatomy-C7QaSOwg.d.ts +0 -5
- package/dist/field.anatomy-BkeW0gbI.d.ts +0 -5
- package/dist/chunk/{FW6EZLZL.js → 2WRCIBVP.js} +1 -1
- package/dist/chunk/{2P5Y3YCK.jsx → VTTFCXVC.jsx} +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _zag_js_anatomy from '@zag-js/anatomy';
|
|
2
2
|
|
|
3
|
-
declare const checkboxAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "
|
|
3
|
+
declare const checkboxAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "group" | "root" | "control" | "indicator">;
|
|
4
4
|
|
|
5
5
|
export { checkboxAnatomy as c };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSplitProps
|
|
3
3
|
} from "./6WEDGJKQ.jsx";
|
|
4
|
+
import {
|
|
5
|
+
useEnvironmentContext
|
|
6
|
+
} from "./HDGILMRT.jsx";
|
|
7
|
+
import {
|
|
8
|
+
runIfFn
|
|
9
|
+
} from "./KGOB2IMX.jsx";
|
|
4
10
|
import {
|
|
5
11
|
ark
|
|
6
12
|
} from "./UFYZ7HLU.jsx";
|
|
7
|
-
import {
|
|
8
|
-
useEnvironmentContext
|
|
9
|
-
} from "./CGW54HAQ.jsx";
|
|
10
13
|
import {
|
|
11
14
|
useLocaleContext
|
|
12
15
|
} from "./JFOWNFC7.jsx";
|
|
13
|
-
import {
|
|
14
|
-
runIfFn
|
|
15
|
-
} from "./KGOB2IMX.jsx";
|
|
16
16
|
import {
|
|
17
17
|
createContext
|
|
18
18
|
} from "./UZJJWJQM.jsx";
|
|
@@ -141,7 +141,7 @@ var SliderRoot = (props) => {
|
|
|
141
141
|
"readOnly",
|
|
142
142
|
"step",
|
|
143
143
|
"thumbAlignment",
|
|
144
|
-
"
|
|
144
|
+
"thumbCollisionBehavior",
|
|
145
145
|
"thumbSize",
|
|
146
146
|
"value"
|
|
147
147
|
]);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { listboxAnatomy } from './3I7TGCD3.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
|
-
import { ark } from './EPLBB4QN.js';
|
|
4
|
-
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
5
3
|
import { useLocaleContext } from './RVOPDSQY.js';
|
|
4
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
6
5
|
import { runIfFn } from './DT73WLR4.js';
|
|
6
|
+
import { ark } from './EPLBB4QN.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
9
9
|
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSplitProps
|
|
3
3
|
} from "./6WEDGJKQ.jsx";
|
|
4
|
+
import {
|
|
5
|
+
useEnvironmentContext
|
|
6
|
+
} from "./HDGILMRT.jsx";
|
|
7
|
+
import {
|
|
8
|
+
runIfFn
|
|
9
|
+
} from "./KGOB2IMX.jsx";
|
|
4
10
|
import {
|
|
5
11
|
ark
|
|
6
12
|
} from "./UFYZ7HLU.jsx";
|
|
7
|
-
import {
|
|
8
|
-
useEnvironmentContext
|
|
9
|
-
} from "./CGW54HAQ.jsx";
|
|
10
13
|
import {
|
|
11
14
|
useLocaleContext
|
|
12
15
|
} from "./JFOWNFC7.jsx";
|
|
13
|
-
import {
|
|
14
|
-
runIfFn
|
|
15
|
-
} from "./KGOB2IMX.jsx";
|
|
16
16
|
import {
|
|
17
17
|
createContext
|
|
18
18
|
} from "./UZJJWJQM.jsx";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { composeRefs } from './ROP6QZQ7.js';
|
|
2
2
|
import { parts } from './FCMJTSIR.js';
|
|
3
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
|
-
import {
|
|
5
|
-
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
4
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
6
5
|
import { runIfFn } from './DT73WLR4.js';
|
|
6
|
+
import { ark } from './EPLBB4QN.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
9
9
|
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './
|
|
1
|
+
import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './2WRCIBVP.js';
|
|
2
2
|
import { composeRefs } from './ROP6QZQ7.js';
|
|
3
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
|
-
import { ark } from './EPLBB4QN.js';
|
|
5
|
-
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
6
4
|
import { useLocaleContext } from './RVOPDSQY.js';
|
|
5
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
7
6
|
import { runIfFn } from './DT73WLR4.js';
|
|
7
|
+
import { ark } from './EPLBB4QN.js';
|
|
8
8
|
import { createContext } from './THN5C4U6.js';
|
|
9
9
|
import { __export } from './ESLJRKWD.js';
|
|
10
10
|
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { runIfFn } from './DT73WLR4.js';
|
|
2
|
+
import { ark } from './EPLBB4QN.js';
|
|
2
3
|
import { createContext } from './THN5C4U6.js';
|
|
3
|
-
import { createComponent, memo
|
|
4
|
+
import { createComponent, memo } from 'solid-js/web';
|
|
4
5
|
import { getWindow, getDocument } from '@zag-js/dom-query';
|
|
5
6
|
import { createSignal, createMemo, Show } from 'solid-js';
|
|
6
7
|
|
|
@@ -17,7 +18,6 @@ var [EnvironmentContextProvider, useEnvironmentContext] = createContext({
|
|
|
17
18
|
});
|
|
18
19
|
|
|
19
20
|
// src/providers/environment/environment-provider.tsx
|
|
20
|
-
var _tmpl$ = /* @__PURE__ */ template(`<span hidden>`);
|
|
21
21
|
var EnvironmentProvider = (props) => {
|
|
22
22
|
const [spanRef, setSpanRef] = createSignal();
|
|
23
23
|
const getRootNode = () => runIfFn(props.value) ?? spanRef()?.getRootNode() ?? document;
|
|
@@ -34,9 +34,10 @@ var EnvironmentProvider = (props) => {
|
|
|
34
34
|
return !props.value;
|
|
35
35
|
},
|
|
36
36
|
get children() {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
return createComponent(ark.span, {
|
|
38
|
+
hidden: true,
|
|
39
|
+
ref: setSpanRef
|
|
40
|
+
});
|
|
40
41
|
}
|
|
41
42
|
})];
|
|
42
43
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collapsible_exports
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ZYS6A6GV.jsx";
|
|
4
4
|
import {
|
|
5
5
|
RenderStrategyProvider,
|
|
6
6
|
splitRenderStrategyProps,
|
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
createSplitProps
|
|
11
11
|
} from "./6WEDGJKQ.jsx";
|
|
12
|
+
import {
|
|
13
|
+
useEnvironmentContext
|
|
14
|
+
} from "./HDGILMRT.jsx";
|
|
15
|
+
import {
|
|
16
|
+
runIfFn
|
|
17
|
+
} from "./KGOB2IMX.jsx";
|
|
12
18
|
import {
|
|
13
19
|
ark
|
|
14
20
|
} from "./UFYZ7HLU.jsx";
|
|
15
|
-
import {
|
|
16
|
-
useEnvironmentContext
|
|
17
|
-
} from "./CGW54HAQ.jsx";
|
|
18
21
|
import {
|
|
19
22
|
useLocaleContext
|
|
20
23
|
} from "./JFOWNFC7.jsx";
|
|
21
|
-
import {
|
|
22
|
-
runIfFn
|
|
23
|
-
} from "./KGOB2IMX.jsx";
|
|
24
24
|
import {
|
|
25
25
|
createContext
|
|
26
26
|
} from "./UZJJWJQM.jsx";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './S3VN2YFH.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
|
-
import { ark } from './EPLBB4QN.js';
|
|
4
|
-
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
5
3
|
import { useLocaleContext } from './RVOPDSQY.js';
|
|
4
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
6
5
|
import { runIfFn } from './DT73WLR4.js';
|
|
6
|
+
import { ark } from './EPLBB4QN.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
9
|
-
import { createComponent, mergeProps as mergeProps$1
|
|
9
|
+
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
10
10
|
import { mergeProps, useMachine, normalizeProps } from '@zag-js/solid';
|
|
11
11
|
import * as signaturePad from '@zag-js/signature-pad';
|
|
12
12
|
import { For, Show, createUniqueId, createMemo } from 'solid-js';
|
|
@@ -98,38 +98,35 @@ var SignaturePadRootProvider = (props) => {
|
|
|
98
98
|
}
|
|
99
99
|
});
|
|
100
100
|
};
|
|
101
|
-
var _tmpl$ = /* @__PURE__ */ template(`<title>Signature`);
|
|
102
|
-
var _tmpl$2 = /* @__PURE__ */ template(`<svg><path></svg>`, false, true, false);
|
|
103
101
|
var SignaturePadSegment = (props) => {
|
|
104
102
|
const signaturePad2 = useSignaturePadContext();
|
|
105
103
|
const mergedProps = mergeProps(() => signaturePad2().getSegmentProps(), props);
|
|
106
|
-
return
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
104
|
+
return (
|
|
105
|
+
// biome-ignore lint/a11y/noSvgWithoutTitle: <ark.title> is used here
|
|
106
|
+
createComponent(ark.svg, mergeProps$1(mergedProps, {
|
|
107
|
+
get children() {
|
|
108
|
+
return [createComponent(ark.title, {
|
|
109
|
+
children: "Signature"
|
|
110
|
+
}), createComponent(For, {
|
|
111
|
+
get each() {
|
|
112
|
+
return signaturePad2().paths;
|
|
113
|
+
},
|
|
114
|
+
children: (path) => createComponent(ark.path, mergeProps$1(() => signaturePad2().getSegmentPathProps({
|
|
115
115
|
path
|
|
116
|
-
}))
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
})];
|
|
131
|
-
}
|
|
132
|
-
}));
|
|
116
|
+
})))
|
|
117
|
+
}), createComponent(Show, {
|
|
118
|
+
get when() {
|
|
119
|
+
return signaturePad2().currentPath;
|
|
120
|
+
},
|
|
121
|
+
get children() {
|
|
122
|
+
return createComponent(ark.path, mergeProps$1(() => signaturePad2().getSegmentPathProps({
|
|
123
|
+
path: signaturePad2().currentPath
|
|
124
|
+
})));
|
|
125
|
+
}
|
|
126
|
+
})];
|
|
127
|
+
}
|
|
128
|
+
}))
|
|
129
|
+
);
|
|
133
130
|
};
|
|
134
131
|
|
|
135
132
|
// src/components/signature-pad/signature-pad.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './S3VN2YFH.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
|
-
import { ark } from './EPLBB4QN.js';
|
|
4
|
-
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
5
3
|
import { useLocaleContext } from './RVOPDSQY.js';
|
|
4
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
6
5
|
import { runIfFn } from './DT73WLR4.js';
|
|
6
|
+
import { ark } from './EPLBB4QN.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
9
9
|
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './
|
|
1
|
+
import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './2WRCIBVP.js';
|
|
2
2
|
import { composeRefs } from './ROP6QZQ7.js';
|
|
3
3
|
import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './GUFIKGZ6.js';
|
|
4
4
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
5
|
-
import { ark } from './EPLBB4QN.js';
|
|
6
|
-
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
7
5
|
import { useLocaleContext } from './RVOPDSQY.js';
|
|
6
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
8
7
|
import { runIfFn } from './DT73WLR4.js';
|
|
8
|
+
import { ark } from './EPLBB4QN.js';
|
|
9
9
|
import { createContext } from './THN5C4U6.js';
|
|
10
10
|
import { __export } from './ESLJRKWD.js';
|
|
11
11
|
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSplitProps
|
|
3
3
|
} from "./6WEDGJKQ.jsx";
|
|
4
|
+
import {
|
|
5
|
+
useEnvironmentContext
|
|
6
|
+
} from "./HDGILMRT.jsx";
|
|
7
|
+
import {
|
|
8
|
+
runIfFn
|
|
9
|
+
} from "./KGOB2IMX.jsx";
|
|
4
10
|
import {
|
|
5
11
|
ark
|
|
6
12
|
} from "./UFYZ7HLU.jsx";
|
|
7
|
-
import {
|
|
8
|
-
useEnvironmentContext
|
|
9
|
-
} from "./CGW54HAQ.jsx";
|
|
10
13
|
import {
|
|
11
14
|
useLocaleContext
|
|
12
15
|
} from "./JFOWNFC7.jsx";
|
|
13
|
-
import {
|
|
14
|
-
runIfFn
|
|
15
|
-
} from "./KGOB2IMX.jsx";
|
|
16
16
|
import {
|
|
17
17
|
createContext
|
|
18
18
|
} from "./UZJJWJQM.jsx";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './S3VN2YFH.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
|
-
import { ark } from './EPLBB4QN.js';
|
|
4
|
-
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
5
3
|
import { useLocaleContext } from './RVOPDSQY.js';
|
|
4
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
6
5
|
import { runIfFn } from './DT73WLR4.js';
|
|
6
|
+
import { ark } from './EPLBB4QN.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
9
9
|
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
@@ -167,7 +167,7 @@ var useFileUpload = (props) => {
|
|
|
167
167
|
|
|
168
168
|
// src/components/file-upload/file-upload-root.tsx
|
|
169
169
|
var FileUploadRoot = (props) => {
|
|
170
|
-
const [fileUploadProps, localProps] = createSplitProps()(props, ["accept", "acceptedFiles", "allowDrop", "capture", "defaultAcceptedFiles", "directory", "disabled", "id", "ids", "invalid", "locale", "maxFiles", "maxFileSize", "minFileSize", "name", "onFileAccept", "onFileChange", "onFileReject", "preventDocumentDrop", "required", "translations", "transformFiles", "validate"]);
|
|
170
|
+
const [fileUploadProps, localProps] = createSplitProps()(props, ["accept", "acceptedFiles", "allowDrop", "capture", "defaultAcceptedFiles", "directory", "disabled", "id", "ids", "invalid", "locale", "maxFiles", "maxFileSize", "minFileSize", "name", "onFileAccept", "onFileChange", "onFileReject", "preventDocumentDrop", "readOnly", "required", "translations", "transformFiles", "validate"]);
|
|
171
171
|
const fileUpload2 = useFileUpload(fileUploadProps);
|
|
172
172
|
const mergedProps = mergeProps(() => fileUpload2().getRootProps(), localProps);
|
|
173
173
|
return createComponent(FileUploadProvider, {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createSplitProps
|
|
3
|
+
} from "./6WEDGJKQ.jsx";
|
|
1
4
|
import {
|
|
2
5
|
listboxAnatomy
|
|
3
6
|
} from "./4WBPEARW.jsx";
|
|
4
7
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
8
|
+
useEnvironmentContext
|
|
9
|
+
} from "./HDGILMRT.jsx";
|
|
10
|
+
import {
|
|
11
|
+
runIfFn
|
|
12
|
+
} from "./KGOB2IMX.jsx";
|
|
7
13
|
import {
|
|
8
14
|
ark
|
|
9
15
|
} from "./UFYZ7HLU.jsx";
|
|
10
|
-
import {
|
|
11
|
-
useEnvironmentContext
|
|
12
|
-
} from "./CGW54HAQ.jsx";
|
|
13
16
|
import {
|
|
14
17
|
useLocaleContext
|
|
15
18
|
} from "./JFOWNFC7.jsx";
|
|
16
|
-
import {
|
|
17
|
-
runIfFn
|
|
18
|
-
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
createContext
|
|
21
21
|
} from "./UZJJWJQM.jsx";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
2
|
-
import { ark } from './EPLBB4QN.js';
|
|
3
|
-
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
4
2
|
import { useLocaleContext } from './RVOPDSQY.js';
|
|
3
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
5
4
|
import { runIfFn } from './DT73WLR4.js';
|
|
5
|
+
import { ark } from './EPLBB4QN.js';
|
|
6
6
|
import { createContext } from './THN5C4U6.js';
|
|
7
7
|
import { __export } from './ESLJRKWD.js';
|
|
8
8
|
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./C56T2HRV.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
7
|
+
import {
|
|
8
|
+
useEnvironmentContext
|
|
9
|
+
} from "./HDGILMRT.jsx";
|
|
10
|
+
import {
|
|
11
|
+
runIfFn
|
|
12
|
+
} from "./KGOB2IMX.jsx";
|
|
7
13
|
import {
|
|
8
14
|
ark
|
|
9
15
|
} from "./UFYZ7HLU.jsx";
|
|
10
|
-
import {
|
|
11
|
-
useEnvironmentContext
|
|
12
|
-
} from "./CGW54HAQ.jsx";
|
|
13
16
|
import {
|
|
14
17
|
useLocaleContext
|
|
15
18
|
} from "./JFOWNFC7.jsx";
|
|
16
|
-
import {
|
|
17
|
-
runIfFn
|
|
18
|
-
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
createContext
|
|
21
21
|
} from "./UZJJWJQM.jsx";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useCollapsibleContext, collapsible_exports } from './
|
|
1
|
+
import { useCollapsibleContext, collapsible_exports } from './VUOC2LCL.js';
|
|
2
2
|
import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './GUFIKGZ6.js';
|
|
3
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
|
-
import { ark } from './EPLBB4QN.js';
|
|
5
|
-
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
6
4
|
import { useLocaleContext } from './RVOPDSQY.js';
|
|
5
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
7
6
|
import { runIfFn } from './DT73WLR4.js';
|
|
7
|
+
import { ark } from './EPLBB4QN.js';
|
|
8
8
|
import { createContext } from './THN5C4U6.js';
|
|
9
9
|
import { __export } from './ESLJRKWD.js';
|
|
10
10
|
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
@@ -3,7 +3,10 @@ import {
|
|
|
3
3
|
} from "./PT2CJE3O.jsx";
|
|
4
4
|
import {
|
|
5
5
|
EnvironmentProvider
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./HDGILMRT.jsx";
|
|
7
|
+
import {
|
|
8
|
+
ark
|
|
9
|
+
} from "./UFYZ7HLU.jsx";
|
|
7
10
|
|
|
8
11
|
// src/components/frame/frame.tsx
|
|
9
12
|
import { Show, createEffect as createEffect2, createMemo, createSignal, onCleanup as onCleanup2, splitProps } from "solid-js";
|
|
@@ -70,7 +73,7 @@ var Frame = (props) => {
|
|
|
70
73
|
});
|
|
71
74
|
});
|
|
72
75
|
return <EnvironmentProvider value={() => frameRef()?.contentDocument ?? document}>
|
|
73
|
-
<iframe {...localProps} ref={composeRefs(setFrameRef, localProps.ref)}>
|
|
76
|
+
<ark.iframe {...localProps} ref={composeRefs(setFrameRef, localProps.ref)}>
|
|
74
77
|
<Show when={mountNode()}>
|
|
75
78
|
{(node) => <Portal mount={node()}>
|
|
76
79
|
<FrameContent onMount={frameProps.onMount} onUnmount={frameProps.onUnmount}>
|
|
@@ -81,7 +84,7 @@ var Frame = (props) => {
|
|
|
81
84
|
<Show when={mountNode()}>
|
|
82
85
|
<Portal mount={frameRef().contentDocument.head}>{frameProps.head}</Portal>
|
|
83
86
|
</Show>
|
|
84
|
-
</iframe>
|
|
87
|
+
</ark.iframe>
|
|
85
88
|
</EnvironmentProvider>;
|
|
86
89
|
};
|
|
87
90
|
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useFieldContext
|
|
3
|
-
} from "./7HLG62OR.jsx";
|
|
4
|
-
import {
|
|
5
|
-
comboboxAnatomy
|
|
6
|
-
} from "./VQPWR4W5.jsx";
|
|
7
1
|
import {
|
|
8
2
|
PresenceProvider,
|
|
9
3
|
splitPresenceProps,
|
|
10
4
|
usePresence,
|
|
11
5
|
usePresenceContext
|
|
12
|
-
} from "./
|
|
6
|
+
} from "./VTTFCXVC.jsx";
|
|
7
|
+
import {
|
|
8
|
+
useFieldContext
|
|
9
|
+
} from "./C56T2HRV.jsx";
|
|
13
10
|
import {
|
|
14
11
|
composeRefs
|
|
15
12
|
} from "./PT2CJE3O.jsx";
|
|
@@ -17,17 +14,20 @@ import {
|
|
|
17
14
|
createSplitProps
|
|
18
15
|
} from "./6WEDGJKQ.jsx";
|
|
19
16
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
17
|
+
comboboxAnatomy
|
|
18
|
+
} from "./VQPWR4W5.jsx";
|
|
22
19
|
import {
|
|
23
20
|
useEnvironmentContext
|
|
24
|
-
} from "./
|
|
25
|
-
import {
|
|
26
|
-
useLocaleContext
|
|
27
|
-
} from "./JFOWNFC7.jsx";
|
|
21
|
+
} from "./HDGILMRT.jsx";
|
|
28
22
|
import {
|
|
29
23
|
runIfFn
|
|
30
24
|
} from "./KGOB2IMX.jsx";
|
|
25
|
+
import {
|
|
26
|
+
ark
|
|
27
|
+
} from "./UFYZ7HLU.jsx";
|
|
28
|
+
import {
|
|
29
|
+
useLocaleContext
|
|
30
|
+
} from "./JFOWNFC7.jsx";
|
|
31
31
|
import {
|
|
32
32
|
createContext
|
|
33
33
|
} from "./UZJJWJQM.jsx";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createSplitProps
|
|
3
|
+
} from "./6WEDGJKQ.jsx";
|
|
1
4
|
import {
|
|
2
5
|
carouselAnatomy
|
|
3
6
|
} from "./BYLUEJKC.jsx";
|
|
4
7
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
8
|
+
useEnvironmentContext
|
|
9
|
+
} from "./HDGILMRT.jsx";
|
|
10
|
+
import {
|
|
11
|
+
runIfFn
|
|
12
|
+
} from "./KGOB2IMX.jsx";
|
|
7
13
|
import {
|
|
8
14
|
ark
|
|
9
15
|
} from "./UFYZ7HLU.jsx";
|
|
10
|
-
import {
|
|
11
|
-
useEnvironmentContext
|
|
12
|
-
} from "./CGW54HAQ.jsx";
|
|
13
16
|
import {
|
|
14
17
|
useLocaleContext
|
|
15
18
|
} from "./JFOWNFC7.jsx";
|
|
16
|
-
import {
|
|
17
|
-
runIfFn
|
|
18
|
-
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
createContext
|
|
21
21
|
} from "./UZJJWJQM.jsx";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
2
|
-
import { ark } from './EPLBB4QN.js';
|
|
3
|
-
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
4
2
|
import { useLocaleContext } from './RVOPDSQY.js';
|
|
3
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
5
4
|
import { runIfFn } from './DT73WLR4.js';
|
|
5
|
+
import { ark } from './EPLBB4QN.js';
|
|
6
6
|
import { createContext } from './THN5C4U6.js';
|
|
7
7
|
import { __export } from './ESLJRKWD.js';
|
|
8
8
|
import { createComponent } from 'solid-js/web';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './
|
|
2
|
-
import { useFieldContext } from './
|
|
1
|
+
import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './2WRCIBVP.js';
|
|
2
|
+
import { useFieldContext } from './S3VN2YFH.js';
|
|
3
3
|
import { composeRefs } from './ROP6QZQ7.js';
|
|
4
4
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
5
|
-
import { ark } from './EPLBB4QN.js';
|
|
6
|
-
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
7
5
|
import { useLocaleContext } from './RVOPDSQY.js';
|
|
6
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
8
7
|
import { runIfFn } from './DT73WLR4.js';
|
|
8
|
+
import { ark } from './EPLBB4QN.js';
|
|
9
9
|
import { createContext } from './THN5C4U6.js';
|
|
10
10
|
import { __export } from './ESLJRKWD.js';
|
|
11
|
-
import { createComponent, mergeProps as mergeProps$1
|
|
11
|
+
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
12
12
|
import { mergeProps, useMachine, normalizeProps } from '@zag-js/solid';
|
|
13
13
|
import { Show, createUniqueId, createMemo, Index } from 'solid-js';
|
|
14
14
|
import * as select from '@zag-js/select';
|
|
@@ -51,8 +51,6 @@ var SelectControl = (props) => {
|
|
|
51
51
|
const mergedProps = mergeProps(() => select2().getControlProps(), props);
|
|
52
52
|
return createComponent(ark.div, mergedProps);
|
|
53
53
|
};
|
|
54
|
-
var _tmpl$ = /* @__PURE__ */ template(`<option value>`);
|
|
55
|
-
var _tmpl$2 = /* @__PURE__ */ template(`<option>`);
|
|
56
54
|
var SelectHiddenSelect = (props) => {
|
|
57
55
|
const select2 = useSelectContext();
|
|
58
56
|
const mergedProps = mergeProps(() => select2().getHiddenSelectProps(), props);
|
|
@@ -69,19 +67,25 @@ var SelectHiddenSelect = (props) => {
|
|
|
69
67
|
return isValueEmpty();
|
|
70
68
|
},
|
|
71
69
|
get children() {
|
|
72
|
-
return
|
|
70
|
+
return createComponent(ark.option, {
|
|
71
|
+
value: ""
|
|
72
|
+
});
|
|
73
73
|
}
|
|
74
74
|
}), createComponent(Index, {
|
|
75
75
|
get each() {
|
|
76
76
|
return select2().collection.items;
|
|
77
77
|
},
|
|
78
|
-
children: (item) => (
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
78
|
+
children: (item) => createComponent(ark.option, {
|
|
79
|
+
get value() {
|
|
80
|
+
return select2().collection.getItemValue(item()) ?? "";
|
|
81
|
+
},
|
|
82
|
+
get disabled() {
|
|
83
|
+
return select2().collection.getItemDisabled(item());
|
|
84
|
+
},
|
|
85
|
+
get children() {
|
|
86
|
+
return select2().collection.stringifyItem(item());
|
|
87
|
+
}
|
|
88
|
+
})
|
|
85
89
|
})];
|
|
86
90
|
}
|
|
87
91
|
}));
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./C56T2HRV.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
7
|
+
import {
|
|
8
|
+
useEnvironmentContext
|
|
9
|
+
} from "./HDGILMRT.jsx";
|
|
10
|
+
import {
|
|
11
|
+
runIfFn
|
|
12
|
+
} from "./KGOB2IMX.jsx";
|
|
7
13
|
import {
|
|
8
14
|
ark
|
|
9
15
|
} from "./UFYZ7HLU.jsx";
|
|
10
|
-
import {
|
|
11
|
-
useEnvironmentContext
|
|
12
|
-
} from "./CGW54HAQ.jsx";
|
|
13
16
|
import {
|
|
14
17
|
useLocaleContext
|
|
15
18
|
} from "./JFOWNFC7.jsx";
|
|
16
|
-
import {
|
|
17
|
-
runIfFn
|
|
18
|
-
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
createContext
|
|
21
21
|
} from "./UZJJWJQM.jsx";
|
|
@@ -145,16 +145,19 @@ import { For, Show } from "solid-js";
|
|
|
145
145
|
var SignaturePadSegment = (props) => {
|
|
146
146
|
const signaturePad2 = useSignaturePadContext();
|
|
147
147
|
const mergedProps = mergeProps8(() => signaturePad2().getSegmentProps(), props);
|
|
148
|
-
return
|
|
149
|
-
|
|
150
|
-
|
|
148
|
+
return (
|
|
149
|
+
// biome-ignore lint/a11y/noSvgWithoutTitle: <ark.title> is used here
|
|
150
|
+
<ark.svg {...mergedProps}>
|
|
151
|
+
<ark.title>Signature</ark.title>
|
|
152
|
+
<For each={signaturePad2().paths}>{(path) => <ark.path {...signaturePad2().getSegmentPathProps({ path })} />}</For>
|
|
151
153
|
<Show when={signaturePad2().currentPath}>
|
|
152
154
|
{
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
<path {...signaturePad2().getSegmentPathProps({ path: signaturePad2().currentPath })} />
|
|
155
|
+
/* @ts-expect-error */
|
|
156
|
+
}
|
|
157
|
+
<ark.path {...signaturePad2().getSegmentPathProps({ path: signaturePad2().currentPath })} />
|
|
156
158
|
</Show>
|
|
157
|
-
</ark.svg
|
|
159
|
+
</ark.svg>
|
|
160
|
+
);
|
|
158
161
|
};
|
|
159
162
|
|
|
160
163
|
// src/components/signature-pad/signature-pad.ts
|