@ark-ui/solid 5.1.1 → 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.
Files changed (180) hide show
  1. package/dist/chunk/{D6BC5RCX.jsx → 2FDSOAL6.jsx} +9 -6
  2. package/dist/chunk/{MKI4DBPU.jsx → 2ZNYOQIC.jsx} +5 -5
  3. package/dist/chunk/{5T73FAJY.jsx → 356AM4NT.jsx} +4 -4
  4. package/dist/chunk/{WIVJD73Q.jsx → 4G65Z7EU.jsx} +5 -5
  5. package/dist/chunk/{WDXH3NHK.jsx → 4GAEMXVU.jsx} +9 -6
  6. package/dist/chunk/{Y7EY3OTU.jsx → 53HPEI6C.jsx} +15 -8
  7. package/dist/chunk/{JC46XP74.jsx → 5KEAUWCK.jsx} +1 -1
  8. package/dist/chunk/{ZGXZNLX2.js → 5N6RITOU.js} +15 -4
  9. package/dist/chunk/{MOQT5762.js → 7QS2CMYY.js} +8 -2
  10. package/dist/chunk/{DJ375Z4C.jsx → 7XUWO7NR.jsx} +12 -9
  11. package/dist/chunk/{LJAETAOB.jsx → BJVPZDAL.jsx} +12 -9
  12. package/dist/chunk/{LK5627GR.js → BPPSBY3Z.js} +8 -2
  13. package/dist/chunk/BUX3MXSX.js +40 -0
  14. package/dist/chunk/{WNIFZKTJ.jsx → DQKYYDJY.jsx} +4 -4
  15. package/dist/chunk/{3FYZXSQZ.jsx → DQTWKOSF.jsx} +9 -6
  16. package/dist/chunk/{MDJAL2LV.jsx → DVSH7A7L.jsx} +14 -8
  17. package/dist/chunk/{BOR2APHS.jsx → DXGRBGHM.jsx} +5 -5
  18. package/dist/chunk/{DU2LAUIJ.jsx → FEUZDHU2.jsx} +5 -5
  19. package/dist/chunk/{GLMPR4B7.js → GP7PBPSV.js} +8 -2
  20. package/dist/chunk/{S6TQNQE6.js → HRBMLTL6.js} +8 -2
  21. package/dist/chunk/{RUFFRSXB.jsx → IJHRDDI5.jsx} +5 -5
  22. package/dist/chunk/{XZZ6TULR.jsx → ILQH74NT.jsx} +4 -4
  23. package/dist/chunk/{2LZKFXR5.jsx → IYFZDL3F.jsx} +5 -5
  24. package/dist/chunk/{CHLRHJV2.jsx → JBBHDVFZ.jsx} +4 -4
  25. package/dist/chunk/{AD2EIGNX.jsx → JDKXSGP6.jsx} +4 -4
  26. package/dist/chunk/{OY4ARTMM.js → JSBTYBVG.js} +6 -1
  27. package/dist/chunk/{EI7I4DR6.js → KVZN5EIK.js} +9 -3
  28. package/dist/chunk/{F5GOQFKX.js → L6IGMFHF.js} +9 -3
  29. package/dist/chunk/{K4MFB3SM.jsx → LJ6EHJR3.jsx} +5 -5
  30. package/dist/chunk/{Z2XFIGHD.jsx → LYAU75M2.jsx} +5 -5
  31. package/dist/chunk/{RY6GW37O.jsx → MNHPXDZV.jsx} +4 -4
  32. package/dist/chunk/{CSDXHOTM.jsx → MTZNXILF.jsx} +5 -5
  33. package/dist/chunk/{GMNTJ5KE.js → N3FF6O2Y.js} +3 -3
  34. package/dist/chunk/{Z254KIAA.jsx → NQLZI36R.jsx} +4 -4
  35. package/dist/chunk/{C745EVQO.js → OF3ALDDY.js} +3 -3
  36. package/dist/chunk/{MA35L6TV.jsx → OPRWSVMJ.jsx} +4 -4
  37. package/dist/chunk/{B2KZ5VSW.jsx → ORM2J7MT.jsx} +9 -6
  38. package/dist/chunk/{A4744EEE.jsx → PHH4JVAQ.jsx} +8 -5
  39. package/dist/chunk/{2EXNPKDT.jsx → PJMEM6IP.jsx} +5 -5
  40. package/dist/chunk/{R5NPBVOA.js → QCBVLVTA.js} +9 -3
  41. package/dist/chunk/{YPH7FBUN.jsx → QVLKI3LC.jsx} +4 -4
  42. package/dist/chunk/QYAKJNEK.jsx +38 -0
  43. package/dist/chunk/{JRMTU7C7.jsx → R6OIHEOD.jsx} +1 -1
  44. package/dist/chunk/{TZDLUIKR.jsx → SIMDMQSR.jsx} +4 -4
  45. package/dist/chunk/{EEG3DZXG.jsx → TDJM3IRG.jsx} +4 -4
  46. package/dist/chunk/{26K66CRD.js → TVG6ZU7O.js} +9 -3
  47. package/dist/chunk/{7IHVZWMT.jsx → UN6AEOOQ.jsx} +9 -6
  48. package/dist/chunk/{CABZW4BQ.jsx → USB7GKYK.jsx} +9 -6
  49. package/dist/chunk/{IKA3JJFV.jsx → V5BZ3V7L.jsx} +4 -4
  50. package/dist/chunk/{F7JP3DGZ.js → WEP4LIH4.js} +16 -2
  51. package/dist/chunk/{JUYBJNX6.js → WXY3QNZF.js} +9 -3
  52. package/dist/chunk/{KZCXBFHA.jsx → XPKZUA4I.jsx} +9 -6
  53. package/dist/chunk/{2XUYX7MZ.jsx → XQTUHUMS.jsx} +12 -9
  54. package/dist/chunk/{YIVTZ7BP.jsx → XWB4HZV3.jsx} +4 -4
  55. package/dist/chunk/{KBHIJYMD.jsx → XWXTZFLM.jsx} +4 -4
  56. package/dist/chunk/{65ORPGOJ.jsx → YQSWID53.jsx} +5 -5
  57. package/dist/chunk/{65SQKHCI.jsx → ZVGO7HAT.jsx} +10 -7
  58. package/dist/chunk/{UODFV2GS.js → ZVM34F6R.js} +9 -3
  59. package/dist/components/accordion/index.d.ts +1 -1
  60. package/dist/components/accordion/index.jsx +5 -5
  61. package/dist/components/avatar/index.d.ts +1 -1
  62. package/dist/components/avatar/index.jsx +4 -4
  63. package/dist/components/carousel/index.d.ts +1 -1
  64. package/dist/components/carousel/index.jsx +4 -4
  65. package/dist/components/checkbox/index.d.ts +1 -1
  66. package/dist/components/checkbox/index.jsx +6 -6
  67. package/dist/components/clipboard/index.d.ts +1 -1
  68. package/dist/components/clipboard/index.jsx +4 -4
  69. package/dist/components/collapsible/index.d.ts +1 -1
  70. package/dist/components/collapsible/index.jsx +4 -4
  71. package/dist/components/color-picker/index.d.ts +2 -2
  72. package/dist/components/color-picker/index.js +1 -1
  73. package/dist/components/color-picker/index.jsx +7 -7
  74. package/dist/components/combobox/index.d.ts +2 -2
  75. package/dist/components/combobox/index.js +1 -1
  76. package/dist/components/combobox/index.jsx +9 -9
  77. package/dist/components/date-picker/index.d.ts +2 -2
  78. package/dist/components/date-picker/index.js +1 -1
  79. package/dist/components/date-picker/index.jsx +6 -5
  80. package/dist/components/dialog/index.d.ts +2 -2
  81. package/dist/components/dialog/index.js +1 -1
  82. package/dist/components/dialog/index.jsx +6 -5
  83. package/dist/components/download-trigger/index.d.ts +25 -0
  84. package/dist/components/download-trigger/index.js +1 -0
  85. package/dist/components/download-trigger/index.jsx +13 -0
  86. package/dist/components/editable/index.d.ts +1 -1
  87. package/dist/components/editable/index.jsx +6 -6
  88. package/dist/components/factory.d.ts +1 -1
  89. package/dist/components/field/index.d.ts +1 -1
  90. package/dist/components/field/index.jsx +3 -3
  91. package/dist/components/fieldset/index.d.ts +1 -1
  92. package/dist/components/fieldset/index.jsx +2 -2
  93. package/dist/components/file-upload/index.d.ts +1 -1
  94. package/dist/components/file-upload/index.jsx +6 -6
  95. package/dist/components/focus-trap/index.d.ts +1 -1
  96. package/dist/components/format/index.jsx +2 -2
  97. package/dist/components/frame/index.d.ts +1 -1
  98. package/dist/components/frame/index.jsx +3 -3
  99. package/dist/components/highlight/index.d.ts +1 -1
  100. package/dist/components/hover-card/index.d.ts +2 -2
  101. package/dist/components/hover-card/index.js +1 -1
  102. package/dist/components/hover-card/index.jsx +6 -5
  103. package/dist/components/index.d.ts +5 -3
  104. package/dist/components/index.js +24 -23
  105. package/dist/components/index.jsx +295 -291
  106. package/dist/components/menu/index.d.ts +2 -2
  107. package/dist/components/menu/index.js +1 -1
  108. package/dist/components/menu/index.jsx +6 -5
  109. package/dist/components/number-input/index.d.ts +1 -1
  110. package/dist/components/number-input/index.jsx +6 -6
  111. package/dist/components/pagination/index.d.ts +1 -1
  112. package/dist/components/pagination/index.jsx +4 -4
  113. package/dist/components/pin-input/index.d.ts +1 -1
  114. package/dist/components/pin-input/index.jsx +6 -6
  115. package/dist/components/popover/index.d.ts +2 -2
  116. package/dist/components/popover/index.js +1 -1
  117. package/dist/components/popover/index.jsx +6 -5
  118. package/dist/components/presence/index.d.ts +3 -3
  119. package/dist/components/presence/index.js +1 -1
  120. package/dist/components/presence/index.jsx +3 -2
  121. package/dist/components/progress/index.d.ts +1 -1
  122. package/dist/components/progress/index.jsx +4 -4
  123. package/dist/components/qr-code/index.d.ts +1 -1
  124. package/dist/components/qr-code/index.jsx +4 -4
  125. package/dist/components/radio-group/index.d.ts +1 -1
  126. package/dist/components/radio-group/index.jsx +4 -4
  127. package/dist/components/rating-group/index.d.ts +1 -1
  128. package/dist/components/rating-group/index.jsx +6 -6
  129. package/dist/components/segment-group/index.d.ts +1 -1
  130. package/dist/components/segment-group/index.jsx +4 -4
  131. package/dist/components/select/index.d.ts +2 -2
  132. package/dist/components/select/index.js +1 -1
  133. package/dist/components/select/index.jsx +9 -9
  134. package/dist/components/signature-pad/index.d.ts +1 -1
  135. package/dist/components/signature-pad/index.jsx +6 -6
  136. package/dist/components/slider/index.d.ts +1 -1
  137. package/dist/components/slider/index.jsx +4 -4
  138. package/dist/components/splitter/index.d.ts +9 -6
  139. package/dist/components/splitter/index.js +1 -1
  140. package/dist/components/splitter/index.jsx +4 -4
  141. package/dist/components/steps/index.d.ts +1 -1
  142. package/dist/components/steps/index.jsx +4 -4
  143. package/dist/components/switch/index.d.ts +1 -1
  144. package/dist/components/switch/index.jsx +6 -6
  145. package/dist/components/tabs/index.d.ts +1 -1
  146. package/dist/components/tabs/index.js +1 -1
  147. package/dist/components/tabs/index.jsx +6 -5
  148. package/dist/components/tags-input/index.d.ts +1 -1
  149. package/dist/components/tags-input/index.jsx +6 -6
  150. package/dist/components/time-picker/index.d.ts +2 -2
  151. package/dist/components/time-picker/index.js +1 -1
  152. package/dist/components/time-picker/index.jsx +6 -5
  153. package/dist/components/timer/index.d.ts +1 -1
  154. package/dist/components/timer/index.jsx +4 -4
  155. package/dist/components/toast/index.d.ts +1 -1
  156. package/dist/components/toast/index.js +1 -1
  157. package/dist/components/toast/index.jsx +4 -4
  158. package/dist/components/toggle/index.d.ts +1 -1
  159. package/dist/components/toggle-group/index.d.ts +1 -1
  160. package/dist/components/toggle-group/index.jsx +4 -4
  161. package/dist/components/tooltip/index.d.ts +2 -2
  162. package/dist/components/tooltip/index.js +1 -1
  163. package/dist/components/tooltip/index.jsx +6 -5
  164. package/dist/components/tour/index.d.ts +2 -2
  165. package/dist/components/tour/index.js +1 -1
  166. package/dist/components/tour/index.jsx +6 -5
  167. package/dist/components/tree-view/index.d.ts +1 -1
  168. package/dist/components/tree-view/index.jsx +7 -7
  169. package/dist/index.d.ts +5 -3
  170. package/dist/index.js +24 -23
  171. package/dist/index.jsx +295 -291
  172. package/dist/providers/environment/index.jsx +2 -2
  173. package/dist/providers/index.jsx +2 -2
  174. package/dist/{types-CxryXVkR.d.ts → types-Bc0WfPsv.d.ts} +2 -1
  175. package/dist/{use-presence-B6QV_j94.d.ts → use-presence-BUVPqaFu.d.ts} +2 -2
  176. package/package.json +53 -51
  177. package/dist/chunk/{R2YVXMP7.jsx → 6G6HOPPW.jsx} +0 -0
  178. package/dist/chunk/{D2Z5BEON.jsx → HD73LMEZ.jsx} +3 -3
  179. package/dist/chunk/{ZYF7GVNI.jsx → NLXZ3NC4.jsx} +3 -3
  180. /package/dist/chunk/{ZWNW7ARB.js → XUQC4TSL.js} +0 -0
@@ -1,4 +1,5 @@
1
- import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './OY4ARTMM.js';
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 "./A4744EEE.jsx";
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 "./D2Z5BEON.jsx";
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 "./A4744EEE.jsx";
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 "./D2Z5BEON.jsx";
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 "./D2Z5BEON.jsx";
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 './OY4ARTMM.js';
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 './OY4ARTMM.js';
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 "./A4744EEE.jsx";
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 "./D2Z5BEON.jsx";
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 "./JC46XP74.jsx";
4
1
  import {
5
2
  PresenceProvider,
6
3
  splitPresenceProps,
7
4
  usePresence,
8
5
  usePresenceContext
9
- } from "./A4744EEE.jsx";
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 "./D2Z5BEON.jsx";
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 "./D2Z5BEON.jsx";
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 "./D2Z5BEON.jsx";
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: () => env()?.getDocument()
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 "./JC46XP74.jsx";
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 "./D2Z5BEON.jsx";
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 "./A4744EEE.jsx";
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 "./D2Z5BEON.jsx";
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 './OY4ARTMM.js';
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-CxryXVkR.js';
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/CSDXHOTM.jsx";
16
- import "../../chunk/WNIFZKTJ.jsx";
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/D2Z5BEON.jsx";
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-CxryXVkR.js';
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/MA35L6TV.jsx";
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/D2Z5BEON.jsx";
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-CxryXVkR.js';
8
+ import { O as Optional, M as MaybeAccessor } from '../../types-Bc0WfPsv.js';
9
9
 
10
10
  interface CarouselAutoplayTriggerBaseProps extends PolymorphicProps<'button'> {
11
11
  }
@@ -14,14 +14,14 @@ import {
14
14
  carousel_exports,
15
15
  useCarousel,
16
16
  useCarouselContext
17
- } from "../../chunk/CHLRHJV2.jsx";
17
+ } from "../../chunk/JBBHDVFZ.jsx";
18
18
  import "../../chunk/6WEDGJKQ.jsx";
19
- import "../../chunk/UFYZ7HLU.jsx";
20
19
  import "../../chunk/ODQYYKL5.jsx";
21
- import "../../chunk/D2Z5BEON.jsx";
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
  carousel_exports as Carousel,
@@ -4,7 +4,7 @@ export { CheckedChangeDetails as CheckboxCheckedChangeDetails, CheckedState as C
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-CxryXVkR.js';
7
+ import { O as Optional, M as MaybeAccessor } from '../../types-Bc0WfPsv.js';
8
8
  import { HTMLProps, PolymorphicProps } from '../factory.js';
9
9
  import * as _zag_js_anatomy from '@zag-js/anatomy';
10
10
 
@@ -13,17 +13,17 @@ import {
13
13
  useCheckboxContext,
14
14
  useCheckboxGroup,
15
15
  useCheckboxGroupContext
16
- } from "../../chunk/WIVJD73Q.jsx";
17
- import "../../chunk/JC46XP74.jsx";
18
- import "../../chunk/ZYF7GVNI.jsx";
16
+ } from "../../chunk/4G65Z7EU.jsx";
17
+ import "../../chunk/5KEAUWCK.jsx";
18
+ import "../../chunk/NLXZ3NC4.jsx";
19
19
  import "../../chunk/DOBZPYAN.jsx";
20
20
  import "../../chunk/6WEDGJKQ.jsx";
21
- import "../../chunk/UFYZ7HLU.jsx";
22
21
  import "../../chunk/ODQYYKL5.jsx";
23
- import "../../chunk/D2Z5BEON.jsx";
22
+ import "../../chunk/UFYZ7HLU.jsx";
23
+ import "../../chunk/HD73LMEZ.jsx";
24
+ import "../../chunk/KGOB2IMX.jsx";
24
25
  import "../../chunk/RCXMZN3G.jsx";
25
26
  import "../../chunk/TVCIHLER.jsx";
26
- import "../../chunk/KGOB2IMX.jsx";
27
27
  import "../../chunk/7IUG3E2V.jsx";
28
28
  export {
29
29
  checkbox_exports as Checkbox,
@@ -4,7 +4,7 @@ export { CopyStatusDetails as ClipboardCopyStatusDetails, anatomy as clipboardAn
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-CxryXVkR.js';
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 UseClipboardProps extends Optional<Omit<clipboard$1.Props, 'dir' | 'getRootNode'>, 'id'> {
@@ -12,14 +12,14 @@ import {
12
12
  clipboard_exports,
13
13
  useClipboard,
14
14
  useClipboardContext
15
- } from "../../chunk/5T73FAJY.jsx";
15
+ } from "../../chunk/356AM4NT.jsx";
16
16
  import "../../chunk/6WEDGJKQ.jsx";
17
- import "../../chunk/UFYZ7HLU.jsx";
18
17
  import "../../chunk/ODQYYKL5.jsx";
19
- import "../../chunk/D2Z5BEON.jsx";
18
+ import "../../chunk/UFYZ7HLU.jsx";
19
+ import "../../chunk/HD73LMEZ.jsx";
20
+ import "../../chunk/KGOB2IMX.jsx";
20
21
  import "../../chunk/RCXMZN3G.jsx";
21
22
  import "../../chunk/TVCIHLER.jsx";
22
- import "../../chunk/KGOB2IMX.jsx";
23
23
  import "../../chunk/7IUG3E2V.jsx";
24
24
  export {
25
25
  clipboard_exports as Clipboard,
@@ -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-CxryXVkR.js';
8
+ import { O as Optional, M as MaybeAccessor } from '../../types-Bc0WfPsv.js';
9
9
  import { R as RenderStrategyProps } from '../../render-strategy-B5MqQP3X.js';
10
10
 
11
11
  interface CollapsibleContentBaseProps extends PolymorphicProps<'div'> {
@@ -8,15 +8,15 @@ import {
8
8
  collapsible_exports,
9
9
  useCollapsible,
10
10
  useCollapsibleContext
11
- } from "../../chunk/WNIFZKTJ.jsx";
11
+ } from "../../chunk/DQKYYDJY.jsx";
12
12
  import "../../chunk/NEBB7COJ.jsx";
13
13
  import "../../chunk/6WEDGJKQ.jsx";
14
- import "../../chunk/UFYZ7HLU.jsx";
15
14
  import "../../chunk/ODQYYKL5.jsx";
16
- import "../../chunk/D2Z5BEON.jsx";
15
+ import "../../chunk/UFYZ7HLU.jsx";
16
+ import "../../chunk/HD73LMEZ.jsx";
17
+ import "../../chunk/KGOB2IMX.jsx";
17
18
  import "../../chunk/RCXMZN3G.jsx";
18
19
  import "../../chunk/TVCIHLER.jsx";
19
- import "../../chunk/KGOB2IMX.jsx";
20
20
  import "../../chunk/7IUG3E2V.jsx";
21
21
  export {
22
22
  collapsible_exports as Collapsible,
@@ -5,8 +5,8 @@ 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, A as Assign } from '../../types-CxryXVkR.js';
9
- import { U as UsePresenceProps } from '../../use-presence-B6QV_j94.js';
8
+ import { O as Optional, M as MaybeAccessor, A as Assign } from '../../types-Bc0WfPsv.js';
9
+ import { U as UsePresenceProps } from '../../use-presence-BUVPqaFu.js';
10
10
  import * as _zag_js_anatomy from '@zag-js/anatomy';
11
11
  import '@zag-js/presence';
12
12
  import '../../render-strategy-B5MqQP3X.js';