@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
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ark
|
|
3
|
+
} from "./UFYZ7HLU.jsx";
|
|
4
|
+
import {
|
|
5
|
+
useEnvironmentContext
|
|
6
|
+
} from "./HD73LMEZ.jsx";
|
|
7
|
+
|
|
8
|
+
// src/components/download-trigger/download-trigger.tsx
|
|
9
|
+
import { downloadFile } from "@zag-js/file-utils";
|
|
10
|
+
import { splitProps } from "solid-js";
|
|
11
|
+
function DownloadTrigger(props) {
|
|
12
|
+
const [downloadProps, restProps] = splitProps(props, ["fileName", "data", "mimeType", "onClick"]);
|
|
13
|
+
const env = useEnvironmentContext();
|
|
14
|
+
const download = (data) => {
|
|
15
|
+
downloadFile({ file: data, name: downloadProps.fileName, type: downloadProps.mimeType, win: env().getWindow() });
|
|
16
|
+
};
|
|
17
|
+
const handleClick = (e) => {
|
|
18
|
+
if (typeof downloadProps.onClick === "function") {
|
|
19
|
+
downloadProps.onClick(e);
|
|
20
|
+
}
|
|
21
|
+
if (e.defaultPrevented) return;
|
|
22
|
+
if (typeof downloadProps.data === "function") {
|
|
23
|
+
const maybePromise = downloadProps.data();
|
|
24
|
+
if (maybePromise instanceof Promise) {
|
|
25
|
+
maybePromise.then((data) => download(data));
|
|
26
|
+
} else {
|
|
27
|
+
download(maybePromise);
|
|
28
|
+
}
|
|
29
|
+
} else {
|
|
30
|
+
download(downloadProps.data);
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
return <ark.button {...restProps} type="button" onClick={handleClick} />;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export {
|
|
37
|
+
DownloadTrigger
|
|
38
|
+
};
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./DOBZPYAN.jsx";
|
|
4
4
|
import {
|
|
5
5
|
EnvironmentProvider
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./HD73LMEZ.jsx";
|
|
7
7
|
|
|
8
8
|
// src/components/frame/frame.tsx
|
|
9
9
|
import { Show, createEffect as createEffect2, createMemo, createSignal, onCleanup as onCleanup2, splitProps } from "solid-js";
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
createContext
|
|
12
|
-
} from "./TVCIHLER.jsx";
|
|
9
|
+
} from "./HD73LMEZ.jsx";
|
|
13
10
|
import {
|
|
14
11
|
runIfFn
|
|
15
12
|
} from "./KGOB2IMX.jsx";
|
|
13
|
+
import {
|
|
14
|
+
createContext
|
|
15
|
+
} from "./TVCIHLER.jsx";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
18
|
} 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,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';
|
|
@@ -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 hoverCard from '@zag-js/hover-card';
|
|
@@ -38,7 +39,12 @@ var HoverCardContent = (props) => {
|
|
|
38
39
|
return !presenceApi().unmounted;
|
|
39
40
|
},
|
|
40
41
|
get children() {
|
|
41
|
-
return createComponent(ark.div, mergedProps
|
|
42
|
+
return createComponent(ark.div, mergeProps$1(mergedProps, {
|
|
43
|
+
ref(r$) {
|
|
44
|
+
var _ref$ = composeRefs(presenceApi().ref, props.ref);
|
|
45
|
+
typeof _ref$ === "function" && _ref$(r$);
|
|
46
|
+
}
|
|
47
|
+
}));
|
|
42
48
|
}
|
|
43
49
|
});
|
|
44
50
|
};
|
|
@@ -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";
|
|
@@ -102,7 +105,7 @@ var MenuContent = (props) => {
|
|
|
102
105
|
props
|
|
103
106
|
);
|
|
104
107
|
return <Show when={!presenceContext().unmounted}>
|
|
105
|
-
<ark.div {...mergedProps} />
|
|
108
|
+
<ark.div {...mergedProps} ref={composeRefs(presenceContext().ref, props.ref)} />
|
|
106
109
|
</Show>;
|
|
107
110
|
};
|
|
108
111
|
|
|
@@ -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";
|
|
@@ -57,7 +60,7 @@ var DatePickerContent = (props) => {
|
|
|
57
60
|
props
|
|
58
61
|
);
|
|
59
62
|
return <Show when={!presenceApi().unmounted}>
|
|
60
|
-
<ark.div {...mergedProps} />
|
|
63
|
+
<ark.div {...mergedProps} ref={composeRefs(presenceApi().ref, props.ref)} />
|
|
61
64
|
</Show>;
|
|
62
65
|
};
|
|
63
66
|
|
|
@@ -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,4 +1,5 @@
|
|
|
1
|
-
import { usePresence, splitPresenceProps, PresenceProvider, usePresenceContext } from './
|
|
1
|
+
import { usePresence, splitPresenceProps, PresenceProvider, usePresenceContext } from './JSBTYBVG.js';
|
|
2
|
+
import { composeRefs } from './XN6EERRM.js';
|
|
2
3
|
import { useRenderStrategyContext, splitRenderStrategyProps, RenderStrategyProvider } from './QFAL6GWC.js';
|
|
3
4
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
5
|
import { ark } from './EPLBB4QN.js';
|
|
@@ -68,6 +69,10 @@ var TourBackdrop = (props) => {
|
|
|
68
69
|
return createComponent(ark.div, mergeProps$1(mergedProps, {
|
|
69
70
|
get hidden() {
|
|
70
71
|
return !tour2().step?.backdrop;
|
|
72
|
+
},
|
|
73
|
+
ref(r$) {
|
|
74
|
+
var _ref$ = composeRefs(presence().ref, props.ref);
|
|
75
|
+
typeof _ref$ === "function" && _ref$(r$);
|
|
71
76
|
}
|
|
72
77
|
}));
|
|
73
78
|
}
|
|
@@ -90,7 +95,12 @@ var TourContent = (props) => {
|
|
|
90
95
|
return !presence().unmounted;
|
|
91
96
|
},
|
|
92
97
|
get children() {
|
|
93
|
-
return createComponent(ark.div, mergedProps
|
|
98
|
+
return createComponent(ark.div, mergeProps$1(mergedProps, {
|
|
99
|
+
ref(r$) {
|
|
100
|
+
var _ref$ = composeRefs(presence().ref, props.ref);
|
|
101
|
+
typeof _ref$ === "function" && _ref$(r$);
|
|
102
|
+
}
|
|
103
|
+
}));
|
|
94
104
|
}
|
|
95
105
|
});
|
|
96
106
|
};
|
|
@@ -175,6 +185,10 @@ var TourSpotlight = (props) => {
|
|
|
175
185
|
return createComponent(ark.div, mergeProps$1(mergedProps, {
|
|
176
186
|
get hidden() {
|
|
177
187
|
return !tour2().open || !tour2().step?.target?.();
|
|
188
|
+
},
|
|
189
|
+
ref(r$) {
|
|
190
|
+
var _ref$ = composeRefs(presenceApi().ref, props.ref);
|
|
191
|
+
typeof _ref$ === "function" && _ref$(r$);
|
|
178
192
|
}
|
|
179
193
|
}));
|
|
180
194
|
}
|
|
@@ -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 { createEffect, onMount, createUniqueId, createMemo, Show } from 'solid-js';
|
|
12
13
|
import * as menu from '@zag-js/menu';
|
|
@@ -73,7 +74,12 @@ var MenuContent = (props) => {
|
|
|
73
74
|
return !presenceContext().unmounted;
|
|
74
75
|
},
|
|
75
76
|
get children() {
|
|
76
|
-
return createComponent(ark.div, mergedProps
|
|
77
|
+
return createComponent(ark.div, mergeProps$1(mergedProps, {
|
|
78
|
+
ref(r$) {
|
|
79
|
+
var _ref$ = composeRefs(presenceContext().ref, props.ref);
|
|
80
|
+
typeof _ref$ === "function" && _ref$(r$);
|
|
81
|
+
}
|
|
82
|
+
}));
|
|
77
83
|
}
|
|
78
84
|
});
|
|
79
85
|
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PresenceProvider,
|
|
3
3
|
usePresence
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./PHH4JVAQ.jsx";
|
|
5
|
+
import {
|
|
6
|
+
composeRefs
|
|
7
|
+
} from "./DOBZPYAN.jsx";
|
|
5
8
|
import {
|
|
6
9
|
RenderStrategyProvider,
|
|
7
10
|
splitRenderStrategyProps,
|
|
@@ -15,16 +18,16 @@ import {
|
|
|
15
18
|
} from "./UFYZ7HLU.jsx";
|
|
16
19
|
import {
|
|
17
20
|
useEnvironmentContext
|
|
18
|
-
} from "./
|
|
21
|
+
} from "./HD73LMEZ.jsx";
|
|
22
|
+
import {
|
|
23
|
+
runIfFn
|
|
24
|
+
} from "./KGOB2IMX.jsx";
|
|
19
25
|
import {
|
|
20
26
|
useLocaleContext
|
|
21
27
|
} from "./RCXMZN3G.jsx";
|
|
22
28
|
import {
|
|
23
29
|
createContext
|
|
24
30
|
} from "./TVCIHLER.jsx";
|
|
25
|
-
import {
|
|
26
|
-
runIfFn
|
|
27
|
-
} from "./KGOB2IMX.jsx";
|
|
28
31
|
import {
|
|
29
32
|
__export
|
|
30
33
|
} from "./7IUG3E2V.jsx";
|
|
@@ -57,7 +60,7 @@ var TabContent = (props) => {
|
|
|
57
60
|
);
|
|
58
61
|
return <PresenceProvider value={presenceApi}>
|
|
59
62
|
<Show when={!presenceApi().unmounted}>
|
|
60
|
-
<ark.div {...mergedProps} />
|
|
63
|
+
<ark.div {...mergedProps} ref={composeRefs(presenceApi().ref, props.ref)} />
|
|
61
64
|
</Show>
|
|
62
65
|
</PresenceProvider>;
|
|
63
66
|
};
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useFieldContext
|
|
3
|
-
} from "./UCYPIMZC.jsx";
|
|
4
1
|
import {
|
|
5
2
|
PresenceProvider,
|
|
6
3
|
splitPresenceProps,
|
|
7
4
|
usePresence,
|
|
8
5
|
usePresenceContext
|
|
9
|
-
} from "./
|
|
6
|
+
} from "./PHH4JVAQ.jsx";
|
|
7
|
+
import {
|
|
8
|
+
useFieldContext
|
|
9
|
+
} from "./5KEAUWCK.jsx";
|
|
10
|
+
import {
|
|
11
|
+
composeRefs
|
|
12
|
+
} from "./DOBZPYAN.jsx";
|
|
10
13
|
import {
|
|
11
14
|
createSplitProps
|
|
12
15
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -15,16 +18,16 @@ import {
|
|
|
15
18
|
} from "./UFYZ7HLU.jsx";
|
|
16
19
|
import {
|
|
17
20
|
useEnvironmentContext
|
|
18
|
-
} from "./
|
|
21
|
+
} from "./HD73LMEZ.jsx";
|
|
22
|
+
import {
|
|
23
|
+
runIfFn
|
|
24
|
+
} from "./KGOB2IMX.jsx";
|
|
19
25
|
import {
|
|
20
26
|
useLocaleContext
|
|
21
27
|
} from "./RCXMZN3G.jsx";
|
|
22
28
|
import {
|
|
23
29
|
createContext
|
|
24
30
|
} from "./TVCIHLER.jsx";
|
|
25
|
-
import {
|
|
26
|
-
runIfFn
|
|
27
|
-
} from "./KGOB2IMX.jsx";
|
|
28
31
|
import {
|
|
29
32
|
__export
|
|
30
33
|
} from "./7IUG3E2V.jsx";
|
|
@@ -57,7 +60,7 @@ var ComboboxContent = (props) => {
|
|
|
57
60
|
props
|
|
58
61
|
);
|
|
59
62
|
return <Show when={!presenceApi().unmounted}>
|
|
60
|
-
<ark.div {...mergedProps} />
|
|
63
|
+
<ark.div {...mergedProps} ref={composeRefs(presenceApi().ref, props.ref)} />
|
|
61
64
|
</Show>;
|
|
62
65
|
};
|
|
63
66
|
|
|
@@ -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,7 @@ import {
|
|
|
3
3
|
} from "./UFYZ7HLU.jsx";
|
|
4
4
|
import {
|
|
5
5
|
useEnvironmentContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./HD73LMEZ.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useLocaleContext
|
|
9
9
|
} from "./RCXMZN3G.jsx";
|
|
@@ -90,11 +90,11 @@ var Toaster = (props) => {
|
|
|
90
90
|
store: toasterProps.toaster,
|
|
91
91
|
id: createUniqueId(),
|
|
92
92
|
dir: locale()?.dir,
|
|
93
|
-
getRootNode:
|
|
93
|
+
getRootNode: env()?.getRootNode
|
|
94
94
|
}));
|
|
95
95
|
const api = createMemo(() => toast2.group.connect(service, normalizeProps));
|
|
96
96
|
const toasts = createMemo(() => api().getToasts());
|
|
97
|
-
const mergedProps = mergeProps6(api().getGroupProps(), localProps);
|
|
97
|
+
const mergedProps = mergeProps6(() => api().getGroupProps(), localProps);
|
|
98
98
|
return <ark.div {...mergedProps}>
|
|
99
99
|
<Key each={toasts()} by="id">
|
|
100
100
|
{(toast3, index) => <ToastActor value={toast3} index={index} parent={service}>
|
|
@@ -107,7 +107,7 @@ var ToastActor = (props) => {
|
|
|
107
107
|
const localProps = createMemo(() => ({
|
|
108
108
|
...props.value(),
|
|
109
109
|
parent: props.parent,
|
|
110
|
-
index: props.index
|
|
110
|
+
index: props.index()
|
|
111
111
|
}));
|
|
112
112
|
const service = useMachine(toast2.machine, localProps);
|
|
113
113
|
const api = createMemo(() => toast2.connect(service, normalizeProps));
|
|
@@ -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";
|
|
@@ -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
|
RenderStrategyProvider,
|
|
9
12
|
splitRenderStrategyProps,
|
|
@@ -17,16 +20,16 @@ import {
|
|
|
17
20
|
} from "./UFYZ7HLU.jsx";
|
|
18
21
|
import {
|
|
19
22
|
useEnvironmentContext
|
|
20
|
-
} from "./
|
|
23
|
+
} from "./HD73LMEZ.jsx";
|
|
24
|
+
import {
|
|
25
|
+
runIfFn
|
|
26
|
+
} from "./KGOB2IMX.jsx";
|
|
21
27
|
import {
|
|
22
28
|
useLocaleContext
|
|
23
29
|
} from "./RCXMZN3G.jsx";
|
|
24
30
|
import {
|
|
25
31
|
createContext
|
|
26
32
|
} from "./TVCIHLER.jsx";
|
|
27
|
-
import {
|
|
28
|
-
runIfFn
|
|
29
|
-
} from "./KGOB2IMX.jsx";
|
|
30
33
|
import {
|
|
31
34
|
__export
|
|
32
35
|
} from "./7IUG3E2V.jsx";
|
|
@@ -52,7 +55,7 @@ var DialogBackdrop = (props) => {
|
|
|
52
55
|
props
|
|
53
56
|
);
|
|
54
57
|
return <Show when={!presenceApi().unmounted}>
|
|
55
|
-
<ark.div {...mergedProps} />
|
|
58
|
+
<ark.div {...mergedProps} ref={composeRefs(presenceApi().ref, props.ref)} />
|
|
56
59
|
</Show>;
|
|
57
60
|
};
|
|
58
61
|
|
|
@@ -76,7 +79,7 @@ var DialogContent = (props) => {
|
|
|
76
79
|
props
|
|
77
80
|
);
|
|
78
81
|
return <Show2 when={!presenceApi().unmounted}>
|
|
79
|
-
<ark.div {...mergedProps} />
|
|
82
|
+
<ark.div {...mergedProps} ref={composeRefs(presenceApi().ref, props.ref)} />
|
|
80
83
|
</Show2>;
|
|
81
84
|
};
|
|
82
85
|
|
|
@@ -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';
|
|
@@ -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 tooltip from '@zag-js/tooltip';
|
|
@@ -38,7 +39,12 @@ var TooltipContent = (props) => {
|
|
|
38
39
|
return !presenceApi().unmounted;
|
|
39
40
|
},
|
|
40
41
|
get children() {
|
|
41
|
-
return createComponent(ark.div, mergedProps
|
|
42
|
+
return createComponent(ark.div, mergeProps$1(mergedProps, {
|
|
43
|
+
ref(r$) {
|
|
44
|
+
var _ref$ = composeRefs(presenceApi().ref, props.ref);
|
|
45
|
+
typeof _ref$ === "function" && _ref$(r$);
|
|
46
|
+
}
|
|
47
|
+
}));
|
|
42
48
|
}
|
|
43
49
|
});
|
|
44
50
|
};
|
|
@@ -4,7 +4,7 @@ export { FocusChangeDetails as AccordionFocusChangeDetails, ValueChangeDetails a
|
|
|
4
4
|
import * as solid_js from 'solid-js';
|
|
5
5
|
import { Accessor, JSX } from 'solid-js';
|
|
6
6
|
import { PropTypes } from '@zag-js/solid';
|
|
7
|
-
import { O as Optional, M as MaybeAccessor } from '../../types-
|
|
7
|
+
import { O as Optional, M as MaybeAccessor } from '../../types-Bc0WfPsv.js';
|
|
8
8
|
import { HTMLProps, PolymorphicProps } from '../factory.js';
|
|
9
9
|
import { R as RenderStrategyProps } from '../../render-strategy-B5MqQP3X.js';
|
|
10
10
|
|
|
@@ -12,16 +12,16 @@ import {
|
|
|
12
12
|
useAccordion,
|
|
13
13
|
useAccordionContext,
|
|
14
14
|
useAccordionItemContext
|
|
15
|
-
} from "../../chunk/
|
|
16
|
-
import "../../chunk/
|
|
15
|
+
} from "../../chunk/MTZNXILF.jsx";
|
|
16
|
+
import "../../chunk/DQKYYDJY.jsx";
|
|
17
17
|
import "../../chunk/NEBB7COJ.jsx";
|
|
18
18
|
import "../../chunk/6WEDGJKQ.jsx";
|
|
19
|
-
import "../../chunk/UFYZ7HLU.jsx";
|
|
20
19
|
import "../../chunk/ODQYYKL5.jsx";
|
|
21
|
-
import "../../chunk/
|
|
20
|
+
import "../../chunk/UFYZ7HLU.jsx";
|
|
21
|
+
import "../../chunk/HD73LMEZ.jsx";
|
|
22
|
+
import "../../chunk/KGOB2IMX.jsx";
|
|
22
23
|
import "../../chunk/RCXMZN3G.jsx";
|
|
23
24
|
import "../../chunk/TVCIHLER.jsx";
|
|
24
|
-
import "../../chunk/KGOB2IMX.jsx";
|
|
25
25
|
import "../../chunk/7IUG3E2V.jsx";
|
|
26
26
|
export {
|
|
27
27
|
accordion_exports as Accordion,
|
|
@@ -4,7 +4,7 @@ export { StatusChangeDetails as AvatarStatusChangeDetails, anatomy as avatarAnat
|
|
|
4
4
|
import * as solid_js from 'solid-js';
|
|
5
5
|
import { Accessor, JSX } from 'solid-js';
|
|
6
6
|
import { PropTypes } from '@zag-js/solid';
|
|
7
|
-
import { O as Optional, M as MaybeAccessor } from '../../types-
|
|
7
|
+
import { O as Optional, M as MaybeAccessor } from '../../types-Bc0WfPsv.js';
|
|
8
8
|
import { HTMLProps, PolymorphicProps } from '../factory.js';
|
|
9
9
|
|
|
10
10
|
interface UseAvatarProps extends Optional<Omit<avatar$1.Props, 'dir' | 'getRootNode'>, 'id'> {
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
avatar_exports,
|
|
9
9
|
useAvatar,
|
|
10
10
|
useAvatarContext
|
|
11
|
-
} from "../../chunk/
|
|
11
|
+
} from "../../chunk/OPRWSVMJ.jsx";
|
|
12
12
|
import "../../chunk/6WEDGJKQ.jsx";
|
|
13
|
-
import "../../chunk/UFYZ7HLU.jsx";
|
|
14
13
|
import "../../chunk/ODQYYKL5.jsx";
|
|
15
|
-
import "../../chunk/
|
|
14
|
+
import "../../chunk/UFYZ7HLU.jsx";
|
|
15
|
+
import "../../chunk/HD73LMEZ.jsx";
|
|
16
|
+
import "../../chunk/KGOB2IMX.jsx";
|
|
16
17
|
import "../../chunk/RCXMZN3G.jsx";
|
|
17
18
|
import "../../chunk/TVCIHLER.jsx";
|
|
18
|
-
import "../../chunk/KGOB2IMX.jsx";
|
|
19
19
|
import "../../chunk/7IUG3E2V.jsx";
|
|
20
20
|
export {
|
|
21
21
|
avatar_exports as Avatar,
|
|
@@ -5,7 +5,7 @@ import * as solid_js from 'solid-js';
|
|
|
5
5
|
import { Accessor, JSX } from 'solid-js';
|
|
6
6
|
import { HTMLProps, PolymorphicProps } from '../factory.js';
|
|
7
7
|
import { PropTypes } from '@zag-js/solid';
|
|
8
|
-
import { O as Optional, M as MaybeAccessor } from '../../types-
|
|
8
|
+
import { O as Optional, M as MaybeAccessor } from '../../types-Bc0WfPsv.js';
|
|
9
9
|
|
|
10
10
|
interface CarouselAutoplayTriggerBaseProps extends PolymorphicProps<'button'> {
|
|
11
11
|
}
|