@ark-ui/solid 5.30.0 → 5.32.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/{G2THT6E6.js → 25QG5G6C.js} +22 -17
- package/dist/chunk/{Z5ZRFFPU.js → 37BRFTCN.js} +2 -2
- package/dist/chunk/{TWZUCWKG.js → 3EUGCOMV.js} +3 -3
- package/dist/chunk/{5QLLQM7E.js → 3P5T77QU.js} +6 -5
- package/dist/chunk/{G7BHQPOC.js → 3WVUTGI5.js} +1 -1
- package/dist/chunk/{VDRVAOKQ.js → 5ATP7B75.js} +4 -4
- package/dist/chunk/5BSMJBO7.jsx +136 -0
- package/dist/chunk/{GCEYGQPA.jsx → 5GO6NUQR.jsx} +16 -13
- package/dist/chunk/{ZYFWVVTC.js → 5IIB2LYP.js} +83 -23
- package/dist/chunk/{BX734ZD7.js → 5V7JAJ5W.js} +5 -4
- package/dist/chunk/{76KFR2EJ.jsx → 5ZAKDNMV.jsx} +6 -6
- package/dist/chunk/{UHWLTCQZ.jsx → 65QK7XXR.jsx} +6 -3
- package/dist/chunk/{UDBRICA6.js → 6C2FCXTS.js} +3 -3
- package/dist/chunk/{HVXJLFJY.jsx → 6FX4SECK.jsx} +6 -6
- package/dist/chunk/{DBNXBHAT.js → 6QV6SS6W.js} +4 -4
- package/dist/chunk/{DH3KPRGA.jsx → 77IURBLR.jsx} +9 -6
- package/dist/chunk/{OF7DNWIQ.jsx → 7YVDASKP.jsx} +5 -5
- package/dist/chunk/{J5ODILBT.jsx → 7Z6YKSMY.jsx} +15 -13
- package/dist/chunk/{6QF5SDIE.jsx → 7ZEKGJLZ.jsx} +9 -7
- package/dist/chunk/{AH5KB6LR.js → A5BBGDPW.js} +4 -4
- package/dist/chunk/{RYD4Z3LT.jsx → ABFLCPUB.jsx} +5 -5
- package/dist/chunk/{SZNFUIJQ.jsx → ACLCLMIV.jsx} +6 -6
- package/dist/chunk/{NHEM6XZR.jsx → AIK4SKXT.jsx} +7 -7
- package/dist/chunk/{P2OA7NSB.js → BGKLKY77.js} +3 -3
- package/dist/chunk/BTUFV5YJ.jsx +306 -0
- package/dist/chunk/{VRCOVKZM.jsx → BUMQJLFN.jsx} +9 -7
- package/dist/chunk/{3BRVNFB3.js → BVQ6NO6X.js} +30 -33
- package/dist/chunk/{K32NALIW.js → CBYVQ7YD.js} +3 -3
- package/dist/chunk/{2JSSDQEE.jsx → CC4VXMN5.jsx} +6 -6
- package/dist/chunk/{IYZ6XUM5.js → CXS7DDU2.js} +2 -2
- package/dist/chunk/{HWHAUHQ5.jsx → DGI75TEJ.jsx} +6 -6
- package/dist/chunk/{FDGWBBJ3.jsx → DYFALYJE.jsx} +4 -4
- package/dist/chunk/{RRFWSRAD.jsx → E54U43LI.jsx} +77 -14
- package/dist/chunk/{RVOPDSQY.js → EM5SH6A3.js} +12 -1
- package/dist/chunk/{6UXNGS66.jsx → EQKTJ63X.jsx} +1 -1
- package/dist/chunk/{OVPRCDDL.jsx → ESQ2KC4M.jsx} +7 -6
- package/dist/chunk/{IGSOSLB3.jsx → G7XBXLRA.jsx} +6 -6
- package/dist/chunk/{XH4Y4U2G.jsx → GSOOONDM.jsx} +5 -5
- package/dist/chunk/{UOOMXEJO.jsx → GYKEGNPI.jsx} +5 -5
- package/dist/chunk/{CGW54HAQ.jsx → HDGILMRT.jsx} +4 -1
- package/dist/chunk/{WUBTAV2O.js → HFIUYKXK.js} +5 -5
- package/dist/chunk/{K3TLO6S6.js → HJJ6M6JE.js} +3 -3
- package/dist/chunk/{W7YDKZGP.js → HKJ2U4GE.js} +4 -4
- package/dist/chunk/{P7BXFWK5.js → HMG7R2BF.js} +40 -38
- package/dist/chunk/{JFOWNFC7.jsx → HOPBYFHD.jsx} +20 -3
- package/dist/chunk/{NZQO4OJP.jsx → HSKAUH3N.jsx} +16 -13
- package/dist/chunk/{JLPPHEZV.js → HUB2Z2WJ.js} +3 -3
- package/dist/chunk/{B7OY6YTK.js → IKIPTYFY.js} +3 -3
- package/dist/chunk/{XXP27BHC.jsx → IPJK2PWY.jsx} +5 -5
- package/dist/chunk/{O5M2FPMH.js → IRBAVIVZ.js} +5 -4
- package/dist/chunk/{23JPD2DE.js → J6D7JUCJ.js} +2 -5
- package/dist/chunk/{FW6EZLZL.js → JBLHW7IM.js} +4 -29
- package/dist/chunk/{HI7OENS5.js → JLP6NZTO.js} +29 -6
- package/dist/chunk/{TP32AKQX.js → JR3CTJ4R.js} +4 -4
- package/dist/chunk/KWLZPDF4.jsx +6 -0
- package/dist/chunk/{4EK6Z2KK.js → KXKOMCVA.js} +2 -2
- package/dist/chunk/{CGB5YI3F.jsx → LBXPKVCB.jsx} +1 -1
- package/dist/chunk/LRDE5RNI.js +239 -0
- package/dist/chunk/{XNAQLSZW.jsx → M2R7NELL.jsx} +5 -5
- package/dist/chunk/{DR7CHNBO.jsx → MLPK6MO2.jsx} +5 -5
- package/dist/chunk/{KEZ2WH2A.jsx → MU5CM6ZP.jsx} +5 -5
- package/dist/chunk/{HYQNCIWP.js → N2ACHFKW.js} +3 -3
- package/dist/chunk/NEU4F4NG.jsx +52 -0
- package/dist/chunk/NJVZNV63.js +121 -0
- package/dist/chunk/{W33NQFXF.js → NMS6DWX3.js} +5 -4
- package/dist/chunk/{UMVZZL45.js → NMYA3JZ5.js} +1 -1
- package/dist/chunk/{S7F5ETXJ.js → NTHXB7S3.js} +5 -4
- package/dist/chunk/{2P5Y3YCK.jsx → OEGORBLT.jsx} +1 -47
- package/dist/chunk/{QGXWXVZ5.js → ONLLL7WZ.js} +4 -4
- package/dist/chunk/{4A6UNZ4T.jsx → ONZ5KPSW.jsx} +5 -5
- package/dist/chunk/ORFQCCEF.js +7 -0
- package/dist/chunk/{AQ27SOWE.jsx → ORZMPJPC.jsx} +5 -5
- package/dist/chunk/{VVD4LKC6.jsx → OWH3LOUE.jsx} +4 -1
- package/dist/chunk/{MNZUELWU.jsx → P466TCYN.jsx} +9 -7
- package/dist/chunk/{NPSTVZUG.jsx → P7K6CA55.jsx} +7 -6
- package/dist/chunk/{YENHTIT6.js → PDHNW6SC.js} +5 -4
- package/dist/chunk/{Z4EBWHQF.js → PEIMGDXM.js} +4 -4
- package/dist/chunk/{JRY66LXS.jsx → PKRIUPWN.jsx} +6 -6
- package/dist/chunk/{7HLG62OR.jsx → PPH4D7AF.jsx} +7 -7
- package/dist/chunk/{3WOFDSWV.jsx → PSH3YKBU.jsx} +4 -4
- package/dist/chunk/{UXUJ2LD6.js → PSO6FY3T.js} +5 -4
- package/dist/chunk/{FXYVJXLF.jsx → PWV2MRRH.jsx} +5 -5
- package/dist/chunk/{2V2P2JZV.js → QC2RXUV4.js} +12 -9
- package/dist/chunk/{372PVMNT.js → QUQ6VBQO.js} +4 -4
- package/dist/chunk/{UTULIPW7.js → RDZRRODO.js} +4 -4
- package/dist/chunk/{2BFJIRAK.js → RJPVNWZG.js} +5 -4
- package/dist/chunk/{SYNEPEHD.js → RL5TZPAG.js} +3 -3
- package/dist/chunk/{VH6MDPEX.jsx → RNGP6PKE.jsx} +6 -6
- package/dist/chunk/{F7OI3RZ3.js → RSDHPGPT.js} +46 -19
- package/dist/chunk/RT4GKNE7.js +1 -0
- package/dist/chunk/{ORJXW4SC.jsx → RVP446XN.jsx} +38 -18
- package/dist/chunk/{GBGTOFYC.js → S3VN2YFH.js} +2 -2
- package/dist/chunk/{B434DN6B.js → SCCZRXWX.js} +3 -3
- package/dist/chunk/{CCK5XI24.jsx → SCJBXRUZ.jsx} +9 -7
- package/dist/chunk/{2MDYHAEL.js → SU6SNXFK.js} +7 -6
- package/dist/chunk/{SH4J3NPA.jsx → TD72MSSI.jsx} +5 -5
- package/dist/chunk/{QTWOIUHU.jsx → TG3BV4FJ.jsx} +9 -9
- package/dist/chunk/{IEJ4RWIV.jsx → TPTP4FRI.jsx} +9 -7
- package/dist/chunk/{5RT2MFUK.jsx → TYHUUGLH.jsx} +3 -3
- package/dist/chunk/{WT5KEZUJ.js → UJ4FU6HV.js} +8 -12
- package/dist/chunk/{VIKFXGE5.jsx → V62PHVT3.jsx} +6 -6
- package/dist/chunk/{LNZGGTI5.js → VIERJSCF.js} +4 -4
- package/dist/chunk/{HCQSZULR.js → WGHZEJIT.js} +6 -5
- package/dist/chunk/{FDE3GI6Q.js → WLWKI62C.js} +6 -5
- package/dist/chunk/{RSWPJEWK.js → WTS7KK6L.js} +4 -4
- package/dist/chunk/{GCQCOMQH.js → WX3PPB36.js} +3 -3
- package/dist/chunk/{LQGHLGPW.jsx → WZBYH43M.jsx} +1 -1
- package/dist/chunk/X22PRPOR.js +31 -0
- package/dist/chunk/{JNBFQ7ZP.jsx → X63FZDID.jsx} +15 -13
- package/dist/chunk/{FKF6FOYL.jsx → XLKDWQZ2.jsx} +9 -7
- package/dist/chunk/{QARPXWDS.js → XNIXPFXJ.js} +2 -2
- package/dist/chunk/{HNIBOZUS.jsx → XRBGB3XP.jsx} +41 -11
- package/dist/chunk/XVU3GCCX.jsx +9 -0
- package/dist/chunk/{6HVSV6OM.js → YA3LD5QR.js} +1 -1
- package/dist/chunk/{CNHYYRWI.jsx → YLT3EBQZ.jsx} +9 -7
- package/dist/chunk/{7B5HD3HF.js → YVERN3NM.js} +3 -3
- package/dist/chunk/{2S7Z6JX4.jsx → YW4KS3S5.jsx} +6 -6
- package/dist/chunk/{52VYWTHF.js → YXEZ562D.js} +5 -5
- package/dist/chunk/{JEKNEIFC.jsx → Z253N6GA.jsx} +5 -5
- package/dist/chunk/{Z5L7ULFZ.js → ZJOFPTIM.js} +3 -3
- package/dist/chunk/{3ZDGZCBV.jsx → ZLSYUPYN.jsx} +15 -11
- package/dist/chunk/{J6B3R7PY.jsx → ZOCG4ZHL.jsx} +5 -5
- 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-5H6l0CJs.d.ts} +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/accordion/index.jsx +6 -6
- package/dist/components/anatomy.d.ts +10 -9
- package/dist/components/anatomy.js +20 -19
- package/dist/components/anatomy.jsx +58 -54
- package/dist/components/angle-slider/index.js +1 -1
- package/dist/components/angle-slider/index.jsx +4 -4
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/avatar/index.jsx +4 -4
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/carousel/index.jsx +4 -4
- package/dist/components/checkbox/index.d.ts +5 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.jsx +7 -7
- package/dist/components/clipboard/index.js +1 -1
- package/dist/components/clipboard/index.jsx +4 -4
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/collapsible/index.jsx +5 -5
- 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 +9 -8
- package/dist/components/combobox/index.d.ts +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/combobox/index.jsx +9 -8
- package/dist/components/date-picker/index.d.ts +50 -5
- package/dist/components/date-picker/index.js +2 -2
- package/dist/components/date-picker/index.jsx +14 -7
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dialog/index.jsx +7 -6
- package/dist/components/download-trigger/index.js +1 -1
- package/dist/components/download-trigger/index.jsx +4 -4
- package/dist/components/drawer/index.d.ts +121 -0
- package/dist/components/drawer/index.js +2 -0
- package/dist/components/drawer/index.jsx +56 -0
- package/dist/components/editable/index.js +1 -1
- package/dist/components/editable/index.jsx +7 -7
- package/dist/components/field/index.d.ts +1 -1
- package/dist/components/field/index.js +1 -1
- package/dist/components/field/index.jsx +6 -6
- package/dist/components/fieldset/index.d.ts +1 -1
- package/dist/components/fieldset/index.js +1 -1
- package/dist/components/fieldset/index.jsx +5 -5
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/file-upload/index.jsx +7 -7
- package/dist/components/floating-panel/index.js +1 -1
- package/dist/components/floating-panel/index.jsx +7 -6
- package/dist/components/format/index.js +1 -1
- package/dist/components/format/index.jsx +4 -3
- 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 +7 -6
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/image-cropper/index.jsx +4 -4
- package/dist/components/index.d.ts +16 -14
- package/dist/components/index.js +77 -74
- package/dist/components/index.jsx +582 -538
- 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 +7 -7
- package/dist/components/listbox/index.d.ts +1 -1
- package/dist/components/listbox/index.js +1 -1
- package/dist/components/listbox/index.jsx +4 -4
- package/dist/components/marquee/index.js +1 -1
- package/dist/components/marquee/index.jsx +4 -4
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/index.jsx +7 -6
- package/dist/components/navigation-menu/index.d.ts +1 -1
- package/dist/components/navigation-menu/index.js +26 -20
- package/dist/components/navigation-menu/index.jsx +28 -15
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/index.jsx +7 -7
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/index.jsx +4 -4
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/password-input/index.jsx +7 -7
- package/dist/components/pin-input/index.js +1 -1
- package/dist/components/pin-input/index.jsx +7 -7
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/index.jsx +7 -6
- package/dist/components/presence/index.js +2 -1
- package/dist/components/presence/index.jsx +5 -3
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress/index.jsx +4 -4
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/qr-code/index.jsx +4 -4
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radio-group/index.jsx +6 -6
- package/dist/components/rating-group/index.js +1 -1
- package/dist/components/rating-group/index.jsx +7 -7
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/index.jsx +4 -4
- package/dist/components/segment-group/index.js +1 -1
- package/dist/components/segment-group/index.jsx +4 -4
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/index.jsx +9 -8
- package/dist/components/signature-pad/index.js +1 -1
- package/dist/components/signature-pad/index.jsx +7 -7
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/index.jsx +4 -4
- package/dist/components/splitter/index.js +1 -1
- package/dist/components/splitter/index.jsx +4 -4
- package/dist/components/steps/index.js +1 -1
- package/dist/components/steps/index.jsx +4 -4
- package/dist/components/swap/index.d.ts +74 -0
- package/dist/components/swap/index.js +2 -0
- package/dist/components/swap/index.jsx +28 -0
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/index.jsx +7 -7
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/index.jsx +7 -6
- package/dist/components/tags-input/index.js +1 -1
- package/dist/components/tags-input/index.jsx +7 -7
- package/dist/components/timer/index.js +1 -1
- package/dist/components/timer/index.jsx +4 -4
- 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 +1 -1
- package/dist/components/toggle-group/index.js +1 -1
- package/dist/components/toggle-group/index.jsx +4 -4
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/index.jsx +7 -6
- package/dist/components/tour/index.d.ts +10 -4
- package/dist/components/tour/index.js +1 -1
- package/dist/components/tour/index.jsx +17 -8
- package/dist/components/tree-view/index.js +1 -1
- package/dist/components/tree-view/index.jsx +6 -6
- package/dist/date-picker.anatomy-DMDOrz3v.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 +18 -15
- package/dist/index.js +79 -76
- package/dist/index.jsx +586 -540
- 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.d.ts +3 -1
- package/dist/providers/index.js +2 -2
- package/dist/providers/index.jsx +5 -2
- package/dist/providers/locale/index.d.ts +10 -1
- package/dist/providers/locale/index.js +1 -1
- package/dist/providers/locale/index.jsx +4 -1
- package/dist/swap.anatomy-BTCTOTbL.d.ts +5 -0
- package/dist/{tour.anatomy-BwE3XSIU.d.ts → tour.anatomy-B2Ub0NWQ.d.ts} +1 -1
- package/package.json +81 -79
- package/dist/chunk/2R6SK2X3.js +0 -1
- package/dist/chunk/M3S2UEA7.js +0 -178
- package/dist/chunk/UOTT3RUB.jsx +0 -231
- package/dist/chunk/WMZBRARY.jsx +0 -6
- package/dist/components/bottom-sheet/index.d.ts +0 -92
- package/dist/components/bottom-sheet/index.js +0 -2
- package/dist/components/bottom-sheet/index.jsx +0 -45
- package/dist/date-picker.anatomy-C7QaSOwg.d.ts +0 -5
- package/dist/field.anatomy-BkeW0gbI.d.ts +0 -5
- /package/dist/chunk/{PJLQLDQ3.js → PMEYD5LG.js} +0 -0
- /package/dist/chunk/{EDXDNGEO.jsx → S6EAXNU4.jsx} +0 -0
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PresenceProvider,
|
|
3
3
|
splitPresenceProps,
|
|
4
|
-
usePresence,
|
|
5
4
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
5
|
+
} from "./NEU4F4NG.jsx";
|
|
6
|
+
import {
|
|
7
|
+
usePresence
|
|
8
|
+
} from "./OEGORBLT.jsx";
|
|
7
9
|
import {
|
|
8
10
|
composeRefs
|
|
9
11
|
} from "./PT2CJE3O.jsx";
|
|
10
12
|
import {
|
|
11
13
|
createSplitProps
|
|
12
14
|
} from "./6WEDGJKQ.jsx";
|
|
13
|
-
import {
|
|
14
|
-
ark
|
|
15
|
-
} from "./UFYZ7HLU.jsx";
|
|
16
15
|
import {
|
|
17
16
|
useEnvironmentContext
|
|
18
|
-
} from "./
|
|
17
|
+
} from "./HDGILMRT.jsx";
|
|
19
18
|
import {
|
|
20
19
|
useLocaleContext
|
|
21
|
-
} from "./
|
|
20
|
+
} from "./HOPBYFHD.jsx";
|
|
22
21
|
import {
|
|
23
22
|
runIfFn
|
|
24
23
|
} from "./KGOB2IMX.jsx";
|
|
24
|
+
import {
|
|
25
|
+
ark
|
|
26
|
+
} from "./UFYZ7HLU.jsx";
|
|
25
27
|
import {
|
|
26
28
|
createContext
|
|
27
29
|
} from "./UZJJWJQM.jsx";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
2
2
|
import { runIfFn } from './DT73WLR4.js';
|
|
3
|
-
import {
|
|
3
|
+
import { ark } from './EPLBB4QN.js';
|
|
4
|
+
import { createComponent, mergeProps } from 'solid-js/web';
|
|
4
5
|
import { createMemo, For, Show } from 'solid-js';
|
|
5
6
|
import { highlightWord } from '@zag-js/highlight-word';
|
|
6
7
|
|
|
@@ -9,7 +10,6 @@ var useHighlight = (props) => {
|
|
|
9
10
|
};
|
|
10
11
|
|
|
11
12
|
// src/components/highlight/highlight.tsx
|
|
12
|
-
var _tmpl$ = /* @__PURE__ */ template(`<mark>`);
|
|
13
13
|
var Highlight = (props) => {
|
|
14
14
|
if (typeof props.text !== "string") {
|
|
15
15
|
throw new Error("[ark-ui/highlight] text must be a string");
|
|
@@ -28,10 +28,11 @@ var Highlight = (props) => {
|
|
|
28
28
|
return chunk.text;
|
|
29
29
|
},
|
|
30
30
|
get children() {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
return createComponent(ark.mark, mergeProps(localProps, {
|
|
32
|
+
get children() {
|
|
33
|
+
return chunk.text;
|
|
34
|
+
}
|
|
35
|
+
}));
|
|
35
36
|
}
|
|
36
37
|
})
|
|
37
38
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSplitProps
|
|
3
3
|
} from "./6WEDGJKQ.jsx";
|
|
4
|
-
import {
|
|
5
|
-
ark
|
|
6
|
-
} from "./UFYZ7HLU.jsx";
|
|
7
4
|
import {
|
|
8
5
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
6
|
+
} from "./HDGILMRT.jsx";
|
|
10
7
|
import {
|
|
11
8
|
useLocaleContext
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./HOPBYFHD.jsx";
|
|
13
10
|
import {
|
|
14
11
|
runIfFn
|
|
15
12
|
} from "./KGOB2IMX.jsx";
|
|
13
|
+
import {
|
|
14
|
+
ark
|
|
15
|
+
} from "./UFYZ7HLU.jsx";
|
|
16
16
|
import {
|
|
17
17
|
createContext
|
|
18
18
|
} from "./UZJJWJQM.jsx";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ark
|
|
3
|
-
} from "./UFYZ7HLU.jsx";
|
|
4
1
|
import {
|
|
5
2
|
useEnvironmentContext
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./HDGILMRT.jsx";
|
|
7
4
|
import {
|
|
8
5
|
useLocaleContext
|
|
9
|
-
} from "./
|
|
6
|
+
} from "./HOPBYFHD.jsx";
|
|
7
|
+
import {
|
|
8
|
+
ark
|
|
9
|
+
} from "./UFYZ7HLU.jsx";
|
|
10
10
|
import {
|
|
11
11
|
createContext
|
|
12
12
|
} from "./UZJJWJQM.jsx";
|
|
@@ -60,11 +60,11 @@ import { mergeProps as mergeProps4 } from "@zag-js/solid";
|
|
|
60
60
|
var ToastRoot = (props) => {
|
|
61
61
|
const toast3 = useToastContext();
|
|
62
62
|
const mergedProps = mergeProps4(() => toast3().getRootProps(), props);
|
|
63
|
-
return <div {...mergedProps}>
|
|
64
|
-
<div {...toast3().getGhostBeforeProps()} />
|
|
63
|
+
return <ark.div {...mergedProps}>
|
|
64
|
+
<ark.div {...toast3().getGhostBeforeProps()} />
|
|
65
65
|
{props.children}
|
|
66
|
-
<div {...toast3().getGhostAfterProps()} />
|
|
67
|
-
</div>;
|
|
66
|
+
<ark.div {...toast3().getGhostAfterProps()} />
|
|
67
|
+
</ark.div>;
|
|
68
68
|
};
|
|
69
69
|
|
|
70
70
|
// src/components/toast/toast-title.tsx
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
PresenceProvider
|
|
2
|
+
PresenceProvider
|
|
3
|
+
} from "./NEU4F4NG.jsx";
|
|
4
|
+
import {
|
|
3
5
|
usePresence
|
|
4
|
-
} from "./
|
|
6
|
+
} from "./OEGORBLT.jsx";
|
|
5
7
|
import {
|
|
6
8
|
composeRefs
|
|
7
9
|
} from "./PT2CJE3O.jsx";
|
|
@@ -13,18 +15,18 @@ import {
|
|
|
13
15
|
import {
|
|
14
16
|
createSplitProps
|
|
15
17
|
} from "./6WEDGJKQ.jsx";
|
|
16
|
-
import {
|
|
17
|
-
ark
|
|
18
|
-
} from "./UFYZ7HLU.jsx";
|
|
19
18
|
import {
|
|
20
19
|
useEnvironmentContext
|
|
21
|
-
} from "./
|
|
20
|
+
} from "./HDGILMRT.jsx";
|
|
22
21
|
import {
|
|
23
22
|
useLocaleContext
|
|
24
|
-
} from "./
|
|
23
|
+
} from "./HOPBYFHD.jsx";
|
|
25
24
|
import {
|
|
26
25
|
runIfFn
|
|
27
26
|
} from "./KGOB2IMX.jsx";
|
|
27
|
+
import {
|
|
28
|
+
ark
|
|
29
|
+
} from "./UFYZ7HLU.jsx";
|
|
28
30
|
import {
|
|
29
31
|
createContext
|
|
30
32
|
} from "./UZJJWJQM.jsx";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useEnvironmentContext
|
|
3
|
+
} from "./HDGILMRT.jsx";
|
|
1
4
|
import {
|
|
2
5
|
ark
|
|
3
6
|
} from "./UFYZ7HLU.jsx";
|
|
4
|
-
import {
|
|
5
|
-
useEnvironmentContext
|
|
6
|
-
} from "./CGW54HAQ.jsx";
|
|
7
7
|
|
|
8
8
|
// src/components/download-trigger/download-trigger.tsx
|
|
9
9
|
import { downloadFile } from "@zag-js/file-utils";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
2
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
1
3
|
import { ark } from './EPLBB4QN.js';
|
|
2
|
-
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
3
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
4
4
|
import { createContext } from './THN5C4U6.js';
|
|
5
5
|
import { __export } from './ESLJRKWD.js';
|
|
6
6
|
import * as toast2 from '@zag-js/toast';
|
|
7
|
-
import { createComponent,
|
|
7
|
+
import { createComponent, mergeProps as mergeProps$1, memo } from 'solid-js/web';
|
|
8
8
|
import { mergeProps, useMachine, normalizeProps, Key } from '@zag-js/solid';
|
|
9
9
|
import { splitProps, createUniqueId, createMemo } from 'solid-js';
|
|
10
10
|
|
|
@@ -37,18 +37,14 @@ var ToastDescription = (props) => {
|
|
|
37
37
|
const mergedProps = mergeProps(() => toast3().getDescriptionProps(), props);
|
|
38
38
|
return createComponent(ark.div, mergedProps);
|
|
39
39
|
};
|
|
40
|
-
var _tmpl$ = /* @__PURE__ */ template(`<div><div></div><div>`);
|
|
41
40
|
var ToastRoot = (props) => {
|
|
42
41
|
const toast3 = useToastContext();
|
|
43
42
|
const mergedProps = mergeProps(() => toast3().getRootProps(), props);
|
|
44
|
-
return ((
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
spread(_el$3, mergeProps$1(() => toast3().getGhostAfterProps()), false, false);
|
|
50
|
-
return _el$;
|
|
51
|
-
})();
|
|
43
|
+
return createComponent(ark.div, mergeProps$1(mergedProps, {
|
|
44
|
+
get children() {
|
|
45
|
+
return [createComponent(ark.div, mergeProps$1(() => toast3().getGhostBeforeProps())), memo(() => props.children), createComponent(ark.div, mergeProps$1(() => toast3().getGhostAfterProps()))];
|
|
46
|
+
}
|
|
47
|
+
}));
|
|
52
48
|
};
|
|
53
49
|
var ToastTitle = (props) => {
|
|
54
50
|
const toast3 = useToastContext();
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./PPH4D7AF.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
7
|
-
import {
|
|
8
|
-
ark
|
|
9
|
-
} from "./UFYZ7HLU.jsx";
|
|
10
7
|
import {
|
|
11
8
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./HDGILMRT.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useLocaleContext
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./HOPBYFHD.jsx";
|
|
16
13
|
import {
|
|
17
14
|
runIfFn
|
|
18
15
|
} from "./KGOB2IMX.jsx";
|
|
16
|
+
import {
|
|
17
|
+
ark
|
|
18
|
+
} from "./UFYZ7HLU.jsx";
|
|
19
19
|
import {
|
|
20
20
|
createContext
|
|
21
21
|
} 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 {
|
|
4
|
-
import { useEnvironmentContext } from './
|
|
5
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
3
|
+
import { useLocaleContext } from './EM5SH6A3.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,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { useFieldContext } from './S3VN2YFH.js';
|
|
2
|
+
import { splitPresenceProps, PresenceProvider, usePresenceContext } from './JBLHW7IM.js';
|
|
3
|
+
import { usePresence } from './X22PRPOR.js';
|
|
3
4
|
import { composeRefs } from './ROP6QZQ7.js';
|
|
4
5
|
import { colorPickerAnatomy } from './7ANKVUWM.js';
|
|
5
6
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
6
|
-
import {
|
|
7
|
-
import { useEnvironmentContext } from './
|
|
8
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
7
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
8
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
9
9
|
import { runIfFn } from './DT73WLR4.js';
|
|
10
|
+
import { ark } from './EPLBB4QN.js';
|
|
10
11
|
import { createContext } from './THN5C4U6.js';
|
|
11
12
|
import { __export } from './ESLJRKWD.js';
|
|
12
13
|
import * as colorPicker from '@zag-js/color-picker';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { useFieldContext } from './S3VN2YFH.js';
|
|
2
|
+
import { splitPresenceProps, PresenceProvider, usePresenceContext } from './JBLHW7IM.js';
|
|
3
|
+
import { usePresence } from './X22PRPOR.js';
|
|
3
4
|
import { composeRefs } from './ROP6QZQ7.js';
|
|
4
5
|
import { comboboxAnatomy } from './POIATK64.js';
|
|
5
6
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
6
|
-
import {
|
|
7
|
-
import { useEnvironmentContext } from './
|
|
8
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
7
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
8
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
9
9
|
import { runIfFn } from './DT73WLR4.js';
|
|
10
|
+
import { ark } from './EPLBB4QN.js';
|
|
10
11
|
import { createContext } from './THN5C4U6.js';
|
|
11
12
|
import { __export } from './ESLJRKWD.js';
|
|
12
13
|
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './S3VN2YFH.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
|
-
import {
|
|
4
|
-
import { useEnvironmentContext } from './
|
|
5
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
3
|
+
import { useLocaleContext } from './EM5SH6A3.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,8 +1,8 @@
|
|
|
1
1
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
2
|
-
import {
|
|
3
|
-
import { useEnvironmentContext } from './
|
|
4
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
2
|
+
import { useLocaleContext } from './EM5SH6A3.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 * as splitter from '@zag-js/splitter';
|
|
@@ -69,7 +69,7 @@ var ToggleRoot = (props) => {
|
|
|
69
69
|
const toggle2 = useToggle(useToggleProps);
|
|
70
70
|
const mergedProps = mergeProps2(() => toggle2().getRootProps(), localProps);
|
|
71
71
|
return <ToggleProvider value={toggle2}>
|
|
72
|
-
<button {...mergedProps} />
|
|
72
|
+
<ark.button {...mergedProps} />
|
|
73
73
|
</ToggleProvider>;
|
|
74
74
|
};
|
|
75
75
|
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { splitRenderStrategyProps } from './GUFIKGZ6.js';
|
|
2
|
+
import { runIfFn } from './DT73WLR4.js';
|
|
3
|
+
import * as presence from '@zag-js/presence';
|
|
4
|
+
import { useMachine, normalizeProps } from '@zag-js/solid';
|
|
5
|
+
import { createSignal, createMemo, createEffect } from 'solid-js';
|
|
6
|
+
|
|
7
|
+
var usePresence = (props) => {
|
|
8
|
+
const [renderStrategyProps, localProps] = splitRenderStrategyProps(runIfFn(props));
|
|
9
|
+
const [wasEverPresent, setWasEverPresent] = createSignal(false);
|
|
10
|
+
const service = useMachine(presence.machine, props);
|
|
11
|
+
const api = createMemo(() => presence.connect(service, normalizeProps));
|
|
12
|
+
createEffect(() => {
|
|
13
|
+
const present = api().present;
|
|
14
|
+
if (present) setWasEverPresent(true);
|
|
15
|
+
});
|
|
16
|
+
const setNode = (node) => {
|
|
17
|
+
if (!node) return;
|
|
18
|
+
service.send({ type: "NODE.SET", node });
|
|
19
|
+
};
|
|
20
|
+
return createMemo(() => ({
|
|
21
|
+
unmounted: !api().present && !wasEverPresent() && renderStrategyProps.lazyMount || renderStrategyProps.unmountOnExit && !api().present && wasEverPresent(),
|
|
22
|
+
present: api().present,
|
|
23
|
+
ref: setNode,
|
|
24
|
+
presenceProps: {
|
|
25
|
+
hidden: !api().present,
|
|
26
|
+
"data-state": api().skip && localProps.skipAnimationOnMount ? void 0 : localProps.present ? "open" : "closed"
|
|
27
|
+
}
|
|
28
|
+
}));
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export { usePresence };
|
|
@@ -1,33 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useFieldContext
|
|
3
|
-
} from "./7HLG62OR.jsx";
|
|
4
|
-
import {
|
|
5
|
-
colorPickerAnatomy
|
|
6
|
-
} from "./4ZHXHGFF.jsx";
|
|
7
1
|
import {
|
|
8
2
|
PresenceProvider,
|
|
9
3
|
splitPresenceProps,
|
|
10
|
-
usePresence,
|
|
11
4
|
usePresenceContext
|
|
12
|
-
} from "./
|
|
5
|
+
} from "./NEU4F4NG.jsx";
|
|
6
|
+
import {
|
|
7
|
+
usePresence
|
|
8
|
+
} from "./OEGORBLT.jsx";
|
|
9
|
+
import {
|
|
10
|
+
useFieldContext
|
|
11
|
+
} from "./PPH4D7AF.jsx";
|
|
13
12
|
import {
|
|
14
13
|
composeRefs
|
|
15
14
|
} from "./PT2CJE3O.jsx";
|
|
15
|
+
import {
|
|
16
|
+
colorPickerAnatomy
|
|
17
|
+
} from "./4ZHXHGFF.jsx";
|
|
16
18
|
import {
|
|
17
19
|
createSplitProps
|
|
18
20
|
} from "./6WEDGJKQ.jsx";
|
|
19
|
-
import {
|
|
20
|
-
ark
|
|
21
|
-
} from "./UFYZ7HLU.jsx";
|
|
22
21
|
import {
|
|
23
22
|
useEnvironmentContext
|
|
24
|
-
} from "./
|
|
23
|
+
} from "./HDGILMRT.jsx";
|
|
25
24
|
import {
|
|
26
25
|
useLocaleContext
|
|
27
|
-
} from "./
|
|
26
|
+
} from "./HOPBYFHD.jsx";
|
|
28
27
|
import {
|
|
29
28
|
runIfFn
|
|
30
29
|
} from "./KGOB2IMX.jsx";
|
|
30
|
+
import {
|
|
31
|
+
ark
|
|
32
|
+
} from "./UFYZ7HLU.jsx";
|
|
31
33
|
import {
|
|
32
34
|
createContext
|
|
33
35
|
} from "./UZJJWJQM.jsx";
|
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PresenceProvider,
|
|
3
3
|
splitPresenceProps,
|
|
4
|
-
usePresence,
|
|
5
4
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
5
|
+
} from "./NEU4F4NG.jsx";
|
|
6
|
+
import {
|
|
7
|
+
usePresence
|
|
8
|
+
} from "./OEGORBLT.jsx";
|
|
7
9
|
import {
|
|
8
10
|
composeRefs
|
|
9
11
|
} from "./PT2CJE3O.jsx";
|
|
10
12
|
import {
|
|
11
13
|
createSplitProps
|
|
12
14
|
} from "./6WEDGJKQ.jsx";
|
|
13
|
-
import {
|
|
14
|
-
ark
|
|
15
|
-
} from "./UFYZ7HLU.jsx";
|
|
16
15
|
import {
|
|
17
16
|
useEnvironmentContext
|
|
18
|
-
} from "./
|
|
17
|
+
} from "./HDGILMRT.jsx";
|
|
19
18
|
import {
|
|
20
19
|
useLocaleContext
|
|
21
|
-
} from "./
|
|
20
|
+
} from "./HOPBYFHD.jsx";
|
|
22
21
|
import {
|
|
23
22
|
runIfFn
|
|
24
23
|
} from "./KGOB2IMX.jsx";
|
|
24
|
+
import {
|
|
25
|
+
ark
|
|
26
|
+
} from "./UFYZ7HLU.jsx";
|
|
25
27
|
import {
|
|
26
28
|
createContext
|
|
27
29
|
} from "./UZJJWJQM.jsx";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
2
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
3
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
2
4
|
import { ark } from './EPLBB4QN.js';
|
|
3
|
-
import { useEnvironmentContext } from './5QLLQM7E.js';
|
|
4
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
5
5
|
import { createContext } from './THN5C4U6.js';
|
|
6
6
|
import { __export } from './ESLJRKWD.js';
|
|
7
7
|
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
tourAnatomy
|
|
3
|
-
} from "./YNAVZVCW.jsx";
|
|
4
1
|
import {
|
|
5
2
|
PresenceProvider,
|
|
6
3
|
splitPresenceProps,
|
|
7
|
-
usePresence,
|
|
8
4
|
usePresenceContext
|
|
9
|
-
} from "./
|
|
5
|
+
} from "./NEU4F4NG.jsx";
|
|
6
|
+
import {
|
|
7
|
+
usePresence
|
|
8
|
+
} from "./OEGORBLT.jsx";
|
|
10
9
|
import {
|
|
11
10
|
composeRefs
|
|
12
11
|
} from "./PT2CJE3O.jsx";
|
|
12
|
+
import {
|
|
13
|
+
tourAnatomy
|
|
14
|
+
} from "./YNAVZVCW.jsx";
|
|
13
15
|
import {
|
|
14
16
|
RenderStrategyProvider,
|
|
15
17
|
splitRenderStrategyProps,
|
|
@@ -18,18 +20,18 @@ import {
|
|
|
18
20
|
import {
|
|
19
21
|
createSplitProps
|
|
20
22
|
} from "./6WEDGJKQ.jsx";
|
|
21
|
-
import {
|
|
22
|
-
ark
|
|
23
|
-
} from "./UFYZ7HLU.jsx";
|
|
24
23
|
import {
|
|
25
24
|
useEnvironmentContext
|
|
26
|
-
} from "./
|
|
25
|
+
} from "./HDGILMRT.jsx";
|
|
27
26
|
import {
|
|
28
27
|
useLocaleContext
|
|
29
|
-
} from "./
|
|
28
|
+
} from "./HOPBYFHD.jsx";
|
|
30
29
|
import {
|
|
31
30
|
runIfFn
|
|
32
31
|
} from "./KGOB2IMX.jsx";
|
|
32
|
+
import {
|
|
33
|
+
ark
|
|
34
|
+
} from "./UFYZ7HLU.jsx";
|
|
33
35
|
import {
|
|
34
36
|
createContext
|
|
35
37
|
} from "./UZJJWJQM.jsx";
|
|
@@ -37,6 +39,30 @@ import {
|
|
|
37
39
|
__export
|
|
38
40
|
} from "./7IUG3E2V.jsx";
|
|
39
41
|
|
|
42
|
+
// src/components/tour/index.tsx
|
|
43
|
+
import { waitForElement, waitForElementValue, waitForPromise } from "@zag-js/tour";
|
|
44
|
+
|
|
45
|
+
// src/components/tour/wait-for-event.ts
|
|
46
|
+
function waitForEvent(target, event, options) {
|
|
47
|
+
let cleanup;
|
|
48
|
+
const { predicate, ...listenerOptions } = options ?? {};
|
|
49
|
+
const promise = new Promise((resolve) => {
|
|
50
|
+
const element = target?.();
|
|
51
|
+
if (!element) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
const handler = (e) => {
|
|
55
|
+
if (!predicate || predicate(element)) {
|
|
56
|
+
resolve(e);
|
|
57
|
+
cleanup?.();
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
element.addEventListener(event, handler, listenerOptions);
|
|
61
|
+
cleanup = () => element.removeEventListener(event, handler, listenerOptions);
|
|
62
|
+
});
|
|
63
|
+
return [promise, () => cleanup?.()];
|
|
64
|
+
}
|
|
65
|
+
|
|
40
66
|
// src/components/tour/tour-action-trigger.tsx
|
|
41
67
|
import { mergeProps } from "@zag-js/solid";
|
|
42
68
|
|
|
@@ -240,6 +266,7 @@ __export(tour_exports, {
|
|
|
240
266
|
});
|
|
241
267
|
|
|
242
268
|
export {
|
|
269
|
+
waitForEvent,
|
|
243
270
|
useTourContext,
|
|
244
271
|
TourActionTrigger,
|
|
245
272
|
TourActions,
|
|
@@ -257,5 +284,8 @@ export {
|
|
|
257
284
|
TourSpotlight,
|
|
258
285
|
TourTitle,
|
|
259
286
|
useTour,
|
|
260
|
-
tour_exports
|
|
287
|
+
tour_exports,
|
|
288
|
+
waitForElement,
|
|
289
|
+
waitForElementValue,
|
|
290
|
+
waitForPromise
|
|
261
291
|
};
|
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PresenceProvider,
|
|
3
3
|
splitPresenceProps,
|
|
4
|
-
usePresence,
|
|
5
4
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
5
|
+
} from "./NEU4F4NG.jsx";
|
|
6
|
+
import {
|
|
7
|
+
usePresence
|
|
8
|
+
} from "./OEGORBLT.jsx";
|
|
7
9
|
import {
|
|
8
10
|
createSplitProps
|
|
9
11
|
} from "./6WEDGJKQ.jsx";
|
|
10
|
-
import {
|
|
11
|
-
ark
|
|
12
|
-
} from "./UFYZ7HLU.jsx";
|
|
13
12
|
import {
|
|
14
13
|
useEnvironmentContext
|
|
15
|
-
} from "./
|
|
14
|
+
} from "./HDGILMRT.jsx";
|
|
16
15
|
import {
|
|
17
16
|
useLocaleContext
|
|
18
|
-
} from "./
|
|
17
|
+
} from "./HOPBYFHD.jsx";
|
|
19
18
|
import {
|
|
20
19
|
runIfFn
|
|
21
20
|
} from "./KGOB2IMX.jsx";
|
|
21
|
+
import {
|
|
22
|
+
ark
|
|
23
|
+
} from "./UFYZ7HLU.jsx";
|
|
22
24
|
import {
|
|
23
25
|
createContext
|
|
24
26
|
} from "./UZJJWJQM.jsx";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
2
|
-
import {
|
|
3
|
-
import { useEnvironmentContext } from './
|
|
4
|
-
import { useLocaleContext } from './RVOPDSQY.js';
|
|
2
|
+
import { useLocaleContext } from './EM5SH6A3.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,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSplitProps
|
|
3
3
|
} from "./6WEDGJKQ.jsx";
|
|
4
|
-
import {
|
|
5
|
-
ark
|
|
6
|
-
} from "./UFYZ7HLU.jsx";
|
|
7
4
|
import {
|
|
8
5
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
6
|
+
} from "./HDGILMRT.jsx";
|
|
10
7
|
import {
|
|
11
8
|
useLocaleContext
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./HOPBYFHD.jsx";
|
|
13
10
|
import {
|
|
14
11
|
runIfFn
|
|
15
12
|
} from "./KGOB2IMX.jsx";
|
|
13
|
+
import {
|
|
14
|
+
ark
|
|
15
|
+
} from "./UFYZ7HLU.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
|
]);
|