@ark-ui/solid 5.3.1 → 5.5.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 (191) hide show
  1. package/dist/chunk/{NQLZI36R.jsx → 2ZIPSG6O.jsx} +6 -6
  2. package/dist/chunk/{OPRWSVMJ.jsx → 3GZBI3C7.jsx} +6 -6
  3. package/dist/chunk/{JDKXSGP6.jsx → 3RSBQIQ3.jsx} +6 -6
  4. package/dist/chunk/{5KEAUWCK.jsx → 4HPQVVRP.jsx} +8 -13
  5. package/dist/chunk/{TDJM3IRG.jsx → 5EV3OVL7.jsx} +6 -6
  6. package/dist/chunk/{WXY3QNZF.js → 5FWNSCWP.js} +11 -4
  7. package/dist/chunk/{356AM4NT.jsx → 5T73FAJY.jsx} +4 -4
  8. package/dist/chunk/{T7DC3WIE.js → 5X7KNFCM.js} +2 -2
  9. package/dist/chunk/{LYAU75M2.jsx → 64OEA2DF.jsx} +7 -7
  10. package/dist/chunk/{XF64K6LQ.js → 6NYYJAMS.js} +2 -2
  11. package/dist/chunk/{YGOJI6HV.js → 6VPRFZA4.js} +2 -2
  12. package/dist/chunk/{JSBTYBVG.js → 7S3N5UQH.js} +10 -3
  13. package/dist/chunk/{QYAKJNEK.jsx → A3VC6L75.jsx} +1 -1
  14. package/dist/chunk/{JZ7ZQZT4.jsx → A6A626ZB.jsx} +4 -7
  15. package/dist/chunk/{ZVGO7HAT.jsx → ASFHFF7Y.jsx} +7 -7
  16. package/dist/chunk/{DXGRBGHM.jsx → BWOFNO5N.jsx} +7 -7
  17. package/dist/chunk/{KMH2DP4D.jsx → BZLIWOGC.jsx} +7 -7
  18. package/dist/chunk/{2FDSOAL6.jsx → CLX4TELO.jsx} +7 -7
  19. package/dist/chunk/{LJ6EHJR3.jsx → CMXNP72H.jsx} +7 -7
  20. package/dist/chunk/{QVLKI3LC.jsx → D4UVDNW5.jsx} +6 -6
  21. package/dist/chunk/{V5BZ3V7L.jsx → ENH3JQLY.jsx} +6 -6
  22. package/dist/chunk/{YQSWID53.jsx → EX2VGSCG.jsx} +7 -7
  23. package/dist/chunk/{JBBHDVFZ.jsx → FHEJON2W.jsx} +6 -6
  24. package/dist/chunk/{U67NSVQP.js → FPYZVUFW.js} +2 -2
  25. package/dist/chunk/{YXY2VFNT.jsx → FUGFSIYK.jsx} +6 -6
  26. package/dist/chunk/{MBJCX2DE.js → FVIF7LDE.js} +2 -2
  27. package/dist/chunk/{7QS2CMYY.js → GA7FOJZW.js} +3 -3
  28. package/dist/chunk/{2ZNYOQIC.jsx → HNF2QPQ2.jsx} +7 -7
  29. package/dist/chunk/{L6IGMFHF.js → HQJBHHB6.js} +2 -2
  30. package/dist/chunk/{GP7PBPSV.js → I2ZEUUSZ.js} +4 -4
  31. package/dist/chunk/{SPF2T7O4.js → IMKHRMUF.js} +2 -2
  32. package/dist/chunk/{USB7GKYK.jsx → IOLALG7A.jsx} +10 -9
  33. package/dist/chunk/{MNHPXDZV.jsx → ISCBIWKW.jsx} +6 -6
  34. package/dist/chunk/{R6OIHEOD.jsx → JRMTU7C7.jsx} +1 -1
  35. package/dist/chunk/{BLTYQMQJ.jsx → JZVFV4VZ.jsx} +10 -10
  36. package/dist/chunk/{XPKZUA4I.jsx → KRJNIKO2.jsx} +7 -7
  37. package/dist/chunk/{IJHRDDI5.jsx → KWT5RGLQ.jsx} +7 -7
  38. package/dist/chunk/{ORM2J7MT.jsx → L3SIBBML.jsx} +7 -7
  39. package/dist/chunk/{UN6AEOOQ.jsx → LKX2UAMN.jsx} +16 -11
  40. package/dist/chunk/{WEP4LIH4.js → LPWKZJG2.js} +2 -2
  41. package/dist/chunk/{SDD2HKR3.js → LUMJHQNS.js} +8 -8
  42. package/dist/chunk/{ILQH74NT.jsx → MD7PHDJK.jsx} +6 -6
  43. package/dist/chunk/{ZVM34F6R.js → MPNDTPUK.js} +2 -2
  44. package/dist/chunk/{4G65Z7EU.jsx → MTVAX7XO.jsx} +7 -7
  45. package/dist/chunk/{KVZN5EIK.js → MXJSLVKN.js} +2 -2
  46. package/dist/chunk/{PJMEM6IP.jsx → N26ZXGSY.jsx} +7 -7
  47. package/dist/chunk/{RIHGRA4D.js → OBLSSYMA.js} +2 -2
  48. package/dist/chunk/{TVG6ZU7O.js → OMTG2F6B.js} +2 -2
  49. package/dist/chunk/{XQTUHUMS.jsx → PDTJBVF6.jsx} +11 -10
  50. package/dist/chunk/{5GDLVWNX.js → PDYWOA6Y.js} +2 -2
  51. package/dist/chunk/{QB2OYQ6F.js → QRODT7WM.js} +2 -2
  52. package/dist/chunk/{XWB4HZV3.jsx → QXPKPCGG.jsx} +6 -6
  53. package/dist/chunk/{XWXTZFLM.jsx → R6BII3KO.jsx} +3 -3
  54. package/dist/chunk/{BPPSBY3Z.js → RNLJK7FO.js} +8 -10
  55. package/dist/chunk/{FEUZDHU2.jsx → ROA4DJEO.jsx} +7 -7
  56. package/dist/chunk/{FMI5WHH2.js → RXOSUP6U.js} +2 -2
  57. package/dist/chunk/{BJVPZDAL.jsx → SMZBI5QA.jsx} +10 -10
  58. package/dist/chunk/{U2AFGSZ6.jsx → SPPHU23S.jsx} +7 -7
  59. package/dist/chunk/{FAC6JW4M.js → TANQ4FPM.js} +3 -3
  60. package/dist/chunk/{53HPEI6C.jsx → TKQSSFZN.jsx} +7 -7
  61. package/dist/chunk/{SIMDMQSR.jsx → TZDLUIKR.jsx} +4 -4
  62. package/dist/chunk/{FZIYLDQP.js → UIEL6LO3.js} +2 -2
  63. package/dist/chunk/{CIIDKCDP.js → UL6NTZA6.js} +9 -11
  64. package/dist/chunk/{DQTWKOSF.jsx → VWUOL2OR.jsx} +7 -7
  65. package/dist/chunk/{PHH4JVAQ.jsx → WC2HBDLJ.jsx} +13 -6
  66. package/dist/chunk/{4GAEMXVU.jsx → WKJMOIA7.jsx} +7 -7
  67. package/dist/chunk/{QCBVLVTA.js → YECHEPH3.js} +2 -2
  68. package/dist/chunk/{DVSH7A7L.jsx → YIOS67AB.jsx} +6 -6
  69. package/dist/chunk/{5N6RITOU.js → ZKM4DTGM.js} +2 -2
  70. package/dist/components/accordion/index.js +1 -1
  71. package/dist/components/accordion/index.jsx +5 -5
  72. package/dist/components/avatar/index.js +1 -1
  73. package/dist/components/avatar/index.jsx +4 -4
  74. package/dist/components/carousel/index.js +1 -1
  75. package/dist/components/carousel/index.jsx +4 -4
  76. package/dist/components/checkbox/index.js +1 -1
  77. package/dist/components/checkbox/index.jsx +6 -6
  78. package/dist/components/clipboard/index.jsx +4 -4
  79. package/dist/components/collapsible/index.js +1 -1
  80. package/dist/components/collapsible/index.jsx +4 -4
  81. package/dist/components/color-picker/index.d.ts +1 -1
  82. package/dist/components/color-picker/index.js +1 -1
  83. package/dist/components/color-picker/index.jsx +7 -7
  84. package/dist/components/combobox/index.d.ts +2 -2
  85. package/dist/components/combobox/index.js +1 -1
  86. package/dist/components/combobox/index.jsx +9 -9
  87. package/dist/components/date-picker/index.d.ts +1 -1
  88. package/dist/components/date-picker/index.js +1 -1
  89. package/dist/components/date-picker/index.jsx +5 -5
  90. package/dist/components/dialog/index.d.ts +1 -1
  91. package/dist/components/dialog/index.js +1 -1
  92. package/dist/components/dialog/index.jsx +5 -5
  93. package/dist/components/download-trigger/index.jsx +4 -4
  94. package/dist/components/editable/index.js +1 -1
  95. package/dist/components/editable/index.jsx +6 -6
  96. package/dist/components/field/index.js +1 -1
  97. package/dist/components/field/index.jsx +3 -3
  98. package/dist/components/fieldset/index.jsx +2 -2
  99. package/dist/components/file-upload/index.js +1 -1
  100. package/dist/components/file-upload/index.jsx +6 -6
  101. package/dist/components/format/index.jsx +2 -2
  102. package/dist/components/frame/index.jsx +3 -3
  103. package/dist/components/hover-card/index.d.ts +1 -1
  104. package/dist/components/hover-card/index.js +1 -1
  105. package/dist/components/hover-card/index.jsx +5 -5
  106. package/dist/components/index.d.ts +1 -1
  107. package/dist/components/index.js +40 -40
  108. package/dist/components/index.jsx +315 -315
  109. package/dist/components/menu/index.d.ts +10 -4
  110. package/dist/components/menu/index.js +1 -1
  111. package/dist/components/menu/index.jsx +5 -5
  112. package/dist/components/number-input/index.js +1 -1
  113. package/dist/components/number-input/index.jsx +6 -6
  114. package/dist/components/pagination/index.js +1 -1
  115. package/dist/components/pagination/index.jsx +4 -4
  116. package/dist/components/pin-input/index.js +1 -1
  117. package/dist/components/pin-input/index.jsx +6 -6
  118. package/dist/components/popover/index.d.ts +1 -1
  119. package/dist/components/popover/index.js +1 -1
  120. package/dist/components/popover/index.jsx +5 -5
  121. package/dist/components/presence/index.d.ts +3 -3
  122. package/dist/components/presence/index.js +1 -1
  123. package/dist/components/presence/index.jsx +2 -2
  124. package/dist/components/progress/index.js +1 -1
  125. package/dist/components/progress/index.jsx +4 -4
  126. package/dist/components/qr-code/index.js +1 -1
  127. package/dist/components/qr-code/index.jsx +4 -4
  128. package/dist/components/radio-group/index.js +1 -1
  129. package/dist/components/radio-group/index.jsx +4 -4
  130. package/dist/components/rating-group/index.js +1 -1
  131. package/dist/components/rating-group/index.jsx +6 -6
  132. package/dist/components/segment-group/index.js +1 -1
  133. package/dist/components/segment-group/index.jsx +4 -4
  134. package/dist/components/select/index.d.ts +1 -1
  135. package/dist/components/select/index.js +1 -1
  136. package/dist/components/select/index.jsx +9 -9
  137. package/dist/components/signature-pad/index.js +1 -1
  138. package/dist/components/signature-pad/index.jsx +6 -6
  139. package/dist/components/slider/index.js +1 -1
  140. package/dist/components/slider/index.jsx +4 -4
  141. package/dist/components/splitter/index.js +1 -1
  142. package/dist/components/splitter/index.jsx +4 -4
  143. package/dist/components/steps/index.js +1 -1
  144. package/dist/components/steps/index.jsx +4 -4
  145. package/dist/components/switch/index.js +1 -1
  146. package/dist/components/switch/index.jsx +6 -6
  147. package/dist/components/tabs/index.js +1 -1
  148. package/dist/components/tabs/index.jsx +5 -5
  149. package/dist/components/tags-input/index.js +1 -1
  150. package/dist/components/tags-input/index.jsx +6 -6
  151. package/dist/components/time-picker/index.d.ts +1 -1
  152. package/dist/components/time-picker/index.js +1 -1
  153. package/dist/components/time-picker/index.jsx +5 -5
  154. package/dist/components/timer/index.jsx +4 -4
  155. package/dist/components/toast/index.js +1 -1
  156. package/dist/components/toast/index.jsx +4 -4
  157. package/dist/components/toggle/index.js +1 -1
  158. package/dist/components/toggle/index.jsx +1 -1
  159. package/dist/components/toggle-group/index.js +1 -1
  160. package/dist/components/toggle-group/index.jsx +4 -4
  161. package/dist/components/tooltip/index.d.ts +1 -1
  162. package/dist/components/tooltip/index.js +1 -1
  163. package/dist/components/tooltip/index.jsx +5 -5
  164. package/dist/components/tour/index.d.ts +1 -1
  165. package/dist/components/tour/index.js +1 -1
  166. package/dist/components/tour/index.jsx +5 -5
  167. package/dist/components/tree-view/index.js +1 -1
  168. package/dist/components/tree-view/index.jsx +7 -7
  169. package/dist/index.d.ts +1 -1
  170. package/dist/index.js +41 -41
  171. package/dist/index.jsx +318 -318
  172. package/dist/providers/environment/index.jsx +2 -2
  173. package/dist/providers/index.js +1 -1
  174. package/dist/providers/index.jsx +5 -5
  175. package/dist/{use-presence-BUVPqaFu.d.ts → use-presence-CT1xpuuo.d.ts} +6 -1
  176. package/package.json +62 -62
  177. package/dist/chunk/{OF3ALDDY.js → 45OXUET3.js} +1 -1
  178. package/dist/chunk/{ROXCI3ZP.js → 4ALLEGBR.js} +1 -1
  179. package/dist/chunk/{JWXGONCE.js → ACHQ3WMT.js} +1 -1
  180. package/dist/chunk/{QBFJVUX3.js → ATMLAY2Z.js} +1 -1
  181. package/dist/chunk/{HD73LMEZ.jsx → D2Z5BEON.jsx} +3 -3
  182. package/dist/chunk/{46YZVE6D.js → DBIUMOLI.js} +1 -1
  183. package/dist/chunk/{TKGOCHK5.js → JCVIA4KI.js} +1 -1
  184. package/dist/chunk/{Z2TDX72A.js → K2GRJC27.js} +1 -1
  185. package/dist/chunk/{ZOGAU3AQ.js → L7KH34DE.js} +1 -1
  186. package/dist/chunk/{DW4NU34Z.js → OE7Y5R5I.js} +1 -1
  187. package/dist/chunk/{N3FF6O2Y.js → POK6DGO4.js} +1 -1
  188. package/dist/chunk/{4UD3WT4B.js → XC5EGHL5.js} +1 -1
  189. package/dist/chunk/{C4PG7WMU.js → XME7TKM2.js} +1 -1
  190. package/dist/chunk/{MSLAT5GQ.js → YIY75WWN.js} +1 -1
  191. package/dist/chunk/{NLXZ3NC4.jsx → ZYF7GVNI.jsx} +3 -3
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./5KEAUWCK.jsx";
3
+ } from "./4HPQVVRP.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
7
7
  import {
8
8
  ark
9
9
  } from "./UFYZ7HLU.jsx";
10
- import {
11
- useEnvironmentContext
12
- } from "./HD73LMEZ.jsx";
13
- import {
14
- runIfFn
15
- } from "./KGOB2IMX.jsx";
16
10
  import {
17
11
  useLocaleContext
18
12
  } from "./RCXMZN3G.jsx";
13
+ import {
14
+ useEnvironmentContext
15
+ } from "./D2Z5BEON.jsx";
19
16
  import {
20
17
  createContext
21
18
  } from "./TVCIHLER.jsx";
19
+ import {
20
+ runIfFn
21
+ } from "./KGOB2IMX.jsx";
22
22
  import {
23
23
  __export
24
24
  } from "./7IUG3E2V.jsx";
@@ -1,10 +1,10 @@
1
- import { usePresence, PresenceProvider } from './JSBTYBVG.js';
1
+ import { usePresence, PresenceProvider } from './7S3N5UQH.js';
2
2
  import { composeRefs } from './XN6EERRM.js';
3
3
  import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './QFAL6GWC.js';
4
4
  import { createSplitProps } from './ZMHI4GDJ.js';
5
5
  import { ark } from './EPLBB4QN.js';
6
- import { useEnvironmentContext } from './YMMMHJJS.js';
7
6
  import { useLocaleContext } from './QEMQBM6W.js';
7
+ import { useEnvironmentContext } from './YMMMHJJS.js';
8
8
  import { createContext } from './TROPIN4C.js';
9
9
  import { runIfFn } from './DT73WLR4.js';
10
10
  import { __export } from './ESLJRKWD.js';
@@ -1,10 +1,10 @@
1
- import { useFieldContext } from './CIIDKCDP.js';
2
- import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './JSBTYBVG.js';
1
+ import { useFieldContext } from './UL6NTZA6.js';
2
+ import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './7S3N5UQH.js';
3
3
  import { composeRefs } from './XN6EERRM.js';
4
4
  import { createSplitProps } from './ZMHI4GDJ.js';
5
5
  import { ark } from './EPLBB4QN.js';
6
- import { useEnvironmentContext } from './YMMMHJJS.js';
7
6
  import { useLocaleContext } from './QEMQBM6W.js';
7
+ import { useEnvironmentContext } from './YMMMHJJS.js';
8
8
  import { createContext } from './TROPIN4C.js';
9
9
  import { runIfFn } from './DT73WLR4.js';
10
10
  import { __export } from './ESLJRKWD.js';
@@ -187,7 +187,7 @@ var useCombobox = (props) => {
187
187
  // src/components/combobox/combobox-root.tsx
188
188
  var ComboboxRoot = (props) => {
189
189
  const [presenceProps, comboboxProps] = splitPresenceProps(props);
190
- const [useComboboxProps, localProps] = createSplitProps()(comboboxProps, ["allowCustomValue", "autoFocus", "closeOnSelect", "collection", "composite", "defaultHighlightedValue", "defaultInputValue", "defaultOpen", "defaultValue", "disabled", "disableLayer", "form", "highlightedValue", "id", "ids", "inputBehavior", "inputValue", "invalid", "loopFocus", "multiple", "name", "navigate", "onFocusOutside", "onHighlightChange", "onInputValueChange", "onInteractOutside", "onOpenChange", "onOpenChange", "onPointerDownOutside", "onValueChange", "open", "openOnChange", "openOnClick", "openOnKeyPress", "placeholder", "positioning", "readOnly", "required", "scrollToIndexFn", "selectionBehavior", "translations", "value"]);
190
+ const [useComboboxProps, localProps] = createSplitProps()(comboboxProps, ["allowCustomValue", "autoFocus", "closeOnSelect", "collection", "composite", "defaultHighlightedValue", "defaultInputValue", "defaultOpen", "defaultValue", "disabled", "disableLayer", "form", "highlightedValue", "id", "ids", "inputBehavior", "inputValue", "invalid", "loopFocus", "multiple", "name", "navigate", "onFocusOutside", "onHighlightChange", "onInputValueChange", "onInteractOutside", "onOpenChange", "onOpenChange", "onPointerDownOutside", "onValueChange", "onSelect", "open", "openOnChange", "openOnClick", "openOnKeyPress", "placeholder", "positioning", "readOnly", "required", "scrollToIndexFn", "selectionBehavior", "translations", "value"]);
191
191
  const api = useCombobox(useComboboxProps);
192
192
  const apiPresence = usePresence(mergeProps(presenceProps, () => ({
193
193
  present: api().open
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './CIIDKCDP.js';
1
+ import { useFieldContext } from './UL6NTZA6.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useEnvironmentContext } from './YMMMHJJS.js';
5
4
  import { useLocaleContext } from './QEMQBM6W.js';
5
+ import { useEnvironmentContext } from './YMMMHJJS.js';
6
6
  import { createContext } from './TROPIN4C.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -3,7 +3,7 @@ import {
3
3
  splitPresenceProps,
4
4
  usePresence,
5
5
  usePresenceContext
6
- } from "./PHH4JVAQ.jsx";
6
+ } from "./WC2HBDLJ.jsx";
7
7
  import {
8
8
  composeRefs
9
9
  } from "./DOBZPYAN.jsx";
@@ -13,18 +13,18 @@ import {
13
13
  import {
14
14
  ark
15
15
  } from "./UFYZ7HLU.jsx";
16
- import {
17
- useEnvironmentContext
18
- } from "./HD73LMEZ.jsx";
19
- import {
20
- runIfFn
21
- } from "./KGOB2IMX.jsx";
22
16
  import {
23
17
  useLocaleContext
24
18
  } from "./RCXMZN3G.jsx";
19
+ import {
20
+ useEnvironmentContext
21
+ } from "./D2Z5BEON.jsx";
25
22
  import {
26
23
  createContext
27
24
  } from "./TVCIHLER.jsx";
25
+ import {
26
+ runIfFn
27
+ } from "./KGOB2IMX.jsx";
28
28
  import {
29
29
  __export
30
30
  } from "./7IUG3E2V.jsx";
@@ -258,10 +258,11 @@ var [DatePickerTableProvider, useDatePickerTableContext] = createContext({
258
258
 
259
259
  // src/components/date-picker/date-picker-table.tsx
260
260
  var DatePickerTable = (props) => {
261
- const [{ columns }, localProps] = createSplitProps()(props, ["columns"]);
261
+ const [columnProps, localProps] = createSplitProps()(props, ["columns"]);
262
262
  const api = useDatePickerContext();
263
263
  const viewProps = useDatePickerViewContext();
264
- const tableProps = { columns, id: createUniqueId2(), ...viewProps };
264
+ const id = createUniqueId2();
265
+ const tableProps = mergeProps14(() => ({ columns: columnProps.columns, id }), viewProps);
265
266
  const mergedProps = mergeProps14(() => api().getTableProps(tableProps), localProps);
266
267
  return <DatePickerTableProvider value={tableProps}>
267
268
  <ark.table {...mergedProps} />
@@ -4,18 +4,18 @@ import {
4
4
  import {
5
5
  ark
6
6
  } from "./UFYZ7HLU.jsx";
7
- import {
8
- useEnvironmentContext
9
- } from "./HD73LMEZ.jsx";
10
- import {
11
- runIfFn
12
- } from "./KGOB2IMX.jsx";
13
7
  import {
14
8
  useLocaleContext
15
9
  } from "./RCXMZN3G.jsx";
10
+ import {
11
+ useEnvironmentContext
12
+ } from "./D2Z5BEON.jsx";
16
13
  import {
17
14
  createContext
18
15
  } 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 "./DOBZPYAN.jsx";
4
4
  import {
5
5
  EnvironmentProvider
6
- } from "./HD73LMEZ.jsx";
6
+ } from "./D2Z5BEON.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";
@@ -1,12 +1,12 @@
1
+ import {
2
+ useFieldContext
3
+ } from "./4HPQVVRP.jsx";
1
4
  import {
2
5
  PresenceProvider,
3
6
  splitPresenceProps,
4
7
  usePresence,
5
8
  usePresenceContext
6
- } from "./PHH4JVAQ.jsx";
7
- import {
8
- useFieldContext
9
- } from "./5KEAUWCK.jsx";
9
+ } from "./WC2HBDLJ.jsx";
10
10
  import {
11
11
  composeRefs
12
12
  } from "./DOBZPYAN.jsx";
@@ -16,18 +16,18 @@ import {
16
16
  import {
17
17
  ark
18
18
  } from "./UFYZ7HLU.jsx";
19
- import {
20
- useEnvironmentContext
21
- } from "./HD73LMEZ.jsx";
22
- import {
23
- runIfFn
24
- } from "./KGOB2IMX.jsx";
25
19
  import {
26
20
  useLocaleContext
27
21
  } from "./RCXMZN3G.jsx";
22
+ import {
23
+ useEnvironmentContext
24
+ } from "./D2Z5BEON.jsx";
28
25
  import {
29
26
  createContext
30
27
  } from "./TVCIHLER.jsx";
28
+ import {
29
+ runIfFn
30
+ } from "./KGOB2IMX.jsx";
31
31
  import {
32
32
  __export
33
33
  } from "./7IUG3E2V.jsx";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PresenceProvider,
3
3
  usePresence
4
- } from "./PHH4JVAQ.jsx";
4
+ } from "./WC2HBDLJ.jsx";
5
5
  import {
6
6
  composeRefs
7
7
  } from "./DOBZPYAN.jsx";
@@ -16,18 +16,18 @@ import {
16
16
  import {
17
17
  ark
18
18
  } from "./UFYZ7HLU.jsx";
19
- import {
20
- useEnvironmentContext
21
- } from "./HD73LMEZ.jsx";
22
- import {
23
- runIfFn
24
- } from "./KGOB2IMX.jsx";
25
19
  import {
26
20
  useLocaleContext
27
21
  } from "./RCXMZN3G.jsx";
22
+ import {
23
+ useEnvironmentContext
24
+ } from "./D2Z5BEON.jsx";
28
25
  import {
29
26
  createContext
30
27
  } from "./TVCIHLER.jsx";
28
+ import {
29
+ runIfFn
30
+ } from "./KGOB2IMX.jsx";
31
31
  import {
32
32
  __export
33
33
  } from "./7IUG3E2V.jsx";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./5KEAUWCK.jsx";
3
+ } from "./4HPQVVRP.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
7
7
  import {
8
8
  ark
9
9
  } from "./UFYZ7HLU.jsx";
10
- import {
11
- useEnvironmentContext
12
- } from "./HD73LMEZ.jsx";
13
- import {
14
- runIfFn
15
- } from "./KGOB2IMX.jsx";
16
10
  import {
17
11
  useLocaleContext
18
12
  } from "./RCXMZN3G.jsx";
13
+ import {
14
+ useEnvironmentContext
15
+ } from "./D2Z5BEON.jsx";
19
16
  import {
20
17
  createContext
21
18
  } 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,7 @@ import {
3
3
  splitPresenceProps,
4
4
  usePresence,
5
5
  usePresenceContext
6
- } from "./PHH4JVAQ.jsx";
6
+ } from "./WC2HBDLJ.jsx";
7
7
  import {
8
8
  composeRefs
9
9
  } from "./DOBZPYAN.jsx";
@@ -13,18 +13,18 @@ import {
13
13
  import {
14
14
  ark
15
15
  } from "./UFYZ7HLU.jsx";
16
- import {
17
- useEnvironmentContext
18
- } from "./HD73LMEZ.jsx";
19
- import {
20
- runIfFn
21
- } from "./KGOB2IMX.jsx";
22
16
  import {
23
17
  useLocaleContext
24
18
  } from "./RCXMZN3G.jsx";
19
+ import {
20
+ useEnvironmentContext
21
+ } from "./D2Z5BEON.jsx";
25
22
  import {
26
23
  createContext
27
24
  } from "./TVCIHLER.jsx";
25
+ import {
26
+ runIfFn
27
+ } from "./KGOB2IMX.jsx";
28
28
  import {
29
29
  __export
30
30
  } from "./7IUG3E2V.jsx";
@@ -3,7 +3,7 @@ import {
3
3
  splitPresenceProps,
4
4
  usePresence,
5
5
  usePresenceContext
6
- } from "./PHH4JVAQ.jsx";
6
+ } from "./WC2HBDLJ.jsx";
7
7
  import {
8
8
  composeRefs
9
9
  } from "./DOBZPYAN.jsx";
@@ -13,18 +13,18 @@ import {
13
13
  import {
14
14
  ark
15
15
  } from "./UFYZ7HLU.jsx";
16
- import {
17
- useEnvironmentContext
18
- } from "./HD73LMEZ.jsx";
19
- import {
20
- runIfFn
21
- } from "./KGOB2IMX.jsx";
22
16
  import {
23
17
  useLocaleContext
24
18
  } from "./RCXMZN3G.jsx";
19
+ import {
20
+ useEnvironmentContext
21
+ } from "./D2Z5BEON.jsx";
25
22
  import {
26
23
  createContext
27
24
  } from "./TVCIHLER.jsx";
25
+ import {
26
+ runIfFn
27
+ } from "./KGOB2IMX.jsx";
28
28
  import {
29
29
  __export
30
30
  } from "./7IUG3E2V.jsx";
@@ -130,17 +130,22 @@ var MenuIndicator = (props) => {
130
130
 
131
131
  // src/components/menu/menu-item.tsx
132
132
  import { mergeProps as mergeProps7 } from "@zag-js/solid";
133
- import { createMemo as createMemo2 } from "solid-js";
133
+ import { createEffect, createMemo as createMemo2, onCleanup } from "solid-js";
134
134
  var MenuItem = (props) => {
135
135
  const [itemProps, localProps] = createSplitProps()(props, [
136
136
  "closeOnSelect",
137
137
  "disabled",
138
138
  "value",
139
- "valueText"
139
+ "valueText",
140
+ "onSelect"
140
141
  ]);
141
142
  const context = useMenuContext();
142
143
  const mergedProps = mergeProps7(() => context().getItemProps(itemProps), localProps);
143
144
  const itemState = createMemo2(() => context().getItemState(itemProps));
145
+ createEffect(() => {
146
+ const cleanup = context().addItemListener({ id: itemState().id, onSelect: itemProps.onSelect });
147
+ onCleanup(() => cleanup?.());
148
+ });
144
149
  return <MenuItemProvider value={itemState}>
145
150
  <ark.div {...mergedProps} />
146
151
  </MenuItemProvider>;
@@ -339,13 +344,13 @@ var MenuRoot = (props) => {
339
344
 
340
345
  // src/components/menu/menu-root-provider.tsx
341
346
  import { mergeProps as mergeProps16 } from "@zag-js/solid";
342
- import { createEffect } from "solid-js";
347
+ import { createEffect as createEffect2 } from "solid-js";
343
348
  var MenuRootProvider = (props) => {
344
349
  const parentApi = useMenuContext();
345
350
  const parentMachine = useMenuMachineContext();
346
351
  const [presenceProps, menuProps] = splitPresenceProps(props);
347
352
  const presenceApi = usePresence(mergeProps16(presenceProps, () => ({ present: menuProps.value.api().open })));
348
- createEffect(() => {
353
+ createEffect2(() => {
349
354
  if (!parentMachine) return;
350
355
  parentApi?.().setChild(menuProps.value.service);
351
356
  menuProps.value.api().setParent(parentMachine);
@@ -1,10 +1,10 @@
1
- import { usePresence, splitPresenceProps, PresenceProvider, usePresenceContext } from './JSBTYBVG.js';
1
+ import { usePresence, splitPresenceProps, PresenceProvider, usePresenceContext } from './7S3N5UQH.js';
2
2
  import { composeRefs } from './XN6EERRM.js';
3
3
  import { useRenderStrategyContext, splitRenderStrategyProps, RenderStrategyProvider } from './QFAL6GWC.js';
4
4
  import { createSplitProps } from './ZMHI4GDJ.js';
5
5
  import { ark } from './EPLBB4QN.js';
6
- import { useEnvironmentContext } from './YMMMHJJS.js';
7
6
  import { useLocaleContext } from './QEMQBM6W.js';
7
+ import { useEnvironmentContext } from './YMMMHJJS.js';
8
8
  import { createContext } from './TROPIN4C.js';
9
9
  import { runIfFn } from './DT73WLR4.js';
10
10
  import { __export } from './ESLJRKWD.js';
@@ -4,7 +4,7 @@ import { createContext } from './TROPIN4C.js';
4
4
  import { __export } from './ESLJRKWD.js';
5
5
  import { createComponent, mergeProps as mergeProps$1, template, spread } from 'solid-js/web';
6
6
  import { mergeProps, useMachine, normalizeProps } from '@zag-js/solid';
7
- import { Show, createMemo } from 'solid-js';
7
+ import { splitProps, Show, createMemo } from 'solid-js';
8
8
  import * as toggle from '@zag-js/toggle';
9
9
  import { createAnatomy } from '@zag-js/anatomy';
10
10
 
@@ -26,11 +26,7 @@ var [ToggleProvider, useToggleContext] = createContext({
26
26
  // src/components/toggle/toggle-context.tsx
27
27
  var ToggleContext = (props) => props.children(useToggleContext());
28
28
  var ToggleIndicator = (props) => {
29
- const {
30
- children,
31
- fallback,
32
- ...restProps
33
- } = props;
29
+ const [baseProps, restProps] = splitProps(props, ["children", "fallback"]);
34
30
  const toggle2 = useToggleContext();
35
31
  const mergedProps = mergeProps(() => toggle2().getIndicatorProps(), restProps);
36
32
  return createComponent(ark.div, mergeProps$1(mergedProps, {
@@ -39,8 +35,12 @@ var ToggleIndicator = (props) => {
39
35
  get when() {
40
36
  return toggle2().pressed;
41
37
  },
42
- fallback,
43
- children
38
+ get fallback() {
39
+ return baseProps.fallback;
40
+ },
41
+ get children() {
42
+ return baseProps.children;
43
+ }
44
44
  });
45
45
  }
46
46
  }));
@@ -4,18 +4,18 @@ import {
4
4
  import {
5
5
  ark
6
6
  } from "./UFYZ7HLU.jsx";
7
- import {
8
- useEnvironmentContext
9
- } from "./HD73LMEZ.jsx";
10
- import {
11
- runIfFn
12
- } from "./KGOB2IMX.jsx";
13
7
  import {
14
8
  useLocaleContext
15
9
  } from "./RCXMZN3G.jsx";
10
+ import {
11
+ useEnvironmentContext
12
+ } from "./D2Z5BEON.jsx";
16
13
  import {
17
14
  createContext
18
15
  } from "./TVCIHLER.jsx";
16
+ import {
17
+ runIfFn
18
+ } from "./KGOB2IMX.jsx";
19
19
  import {
20
20
  __export
21
21
  } from "./7IUG3E2V.jsx";
@@ -1,9 +1,9 @@
1
- import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './JSBTYBVG.js';
1
+ import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './7S3N5UQH.js';
2
2
  import { composeRefs } from './XN6EERRM.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
5
- import { useEnvironmentContext } from './YMMMHJJS.js';
6
5
  import { useLocaleContext } from './QEMQBM6W.js';
6
+ import { useEnvironmentContext } from './YMMMHJJS.js';
7
7
  import { createContext } from './TROPIN4C.js';
8
8
  import { runIfFn } from './DT73WLR4.js';
9
9
  import { __export } from './ESLJRKWD.js';
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./5KEAUWCK.jsx";
3
+ } from "./4HPQVVRP.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
7
7
  import {
8
8
  ark
9
9
  } from "./UFYZ7HLU.jsx";
10
- import {
11
- useEnvironmentContext
12
- } from "./HD73LMEZ.jsx";
13
- import {
14
- runIfFn
15
- } from "./KGOB2IMX.jsx";
16
10
  import {
17
11
  useLocaleContext
18
12
  } from "./RCXMZN3G.jsx";
13
+ import {
14
+ useEnvironmentContext
15
+ } from "./D2Z5BEON.jsx";
19
16
  import {
20
17
  createContext
21
18
  } from "./TVCIHLER.jsx";
19
+ import {
20
+ runIfFn
21
+ } from "./KGOB2IMX.jsx";
22
22
  import {
23
23
  __export
24
24
  } from "./7IUG3E2V.jsx";
@@ -1,9 +1,9 @@
1
- import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './JSBTYBVG.js';
1
+ import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './7S3N5UQH.js';
2
2
  import { composeRefs } from './XN6EERRM.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
5
- import { useEnvironmentContext } from './YMMMHJJS.js';
6
5
  import { useLocaleContext } from './QEMQBM6W.js';
6
+ import { useEnvironmentContext } from './YMMMHJJS.js';
7
7
  import { createContext } from './TROPIN4C.js';
8
8
  import { runIfFn } from './DT73WLR4.js';
9
9
  import { __export } from './ESLJRKWD.js';
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./5KEAUWCK.jsx";
3
+ } from "./4HPQVVRP.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
7
7
  import {
8
8
  ark
9
9
  } from "./UFYZ7HLU.jsx";
10
- import {
11
- useEnvironmentContext
12
- } from "./HD73LMEZ.jsx";
13
- import {
14
- runIfFn
15
- } from "./KGOB2IMX.jsx";
16
10
  import {
17
11
  useLocaleContext
18
12
  } from "./RCXMZN3G.jsx";
13
+ import {
14
+ useEnvironmentContext
15
+ } from "./D2Z5BEON.jsx";
19
16
  import {
20
17
  createContext
21
18
  } from "./TVCIHLER.jsx";
19
+ import {
20
+ runIfFn
21
+ } from "./KGOB2IMX.jsx";
22
22
  import {
23
23
  __export
24
24
  } from "./7IUG3E2V.jsx";
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './CIIDKCDP.js';
1
+ import { useFieldContext } from './UL6NTZA6.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useEnvironmentContext } from './YMMMHJJS.js';
5
4
  import { useLocaleContext } from './QEMQBM6W.js';
5
+ import { useEnvironmentContext } from './YMMMHJJS.js';
6
6
  import { createContext } from './TROPIN4C.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,9 +1,9 @@
1
- import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './JSBTYBVG.js';
1
+ import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './7S3N5UQH.js';
2
2
  import { composeRefs } from './XN6EERRM.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
5
- import { useEnvironmentContext } from './YMMMHJJS.js';
6
5
  import { useLocaleContext } from './QEMQBM6W.js';
6
+ import { useEnvironmentContext } from './YMMMHJJS.js';
7
7
  import { createContext } from './TROPIN4C.js';
8
8
  import { runIfFn } from './DT73WLR4.js';
9
9
  import { __export } from './ESLJRKWD.js';
@@ -1,12 +1,12 @@
1
+ import {
2
+ useFieldContext
3
+ } from "./4HPQVVRP.jsx";
1
4
  import {
2
5
  PresenceProvider,
3
6
  splitPresenceProps,
4
7
  usePresence,
5
8
  usePresenceContext
6
- } from "./PHH4JVAQ.jsx";
7
- import {
8
- useFieldContext
9
- } from "./5KEAUWCK.jsx";
9
+ } from "./WC2HBDLJ.jsx";
10
10
  import {
11
11
  composeRefs
12
12
  } from "./DOBZPYAN.jsx";
@@ -16,18 +16,18 @@ import {
16
16
  import {
17
17
  ark
18
18
  } from "./UFYZ7HLU.jsx";
19
- import {
20
- useEnvironmentContext
21
- } from "./HD73LMEZ.jsx";
22
- import {
23
- runIfFn
24
- } from "./KGOB2IMX.jsx";
25
19
  import {
26
20
  useLocaleContext
27
21
  } from "./RCXMZN3G.jsx";
22
+ import {
23
+ useEnvironmentContext
24
+ } from "./D2Z5BEON.jsx";
28
25
  import {
29
26
  createContext
30
27
  } from "./TVCIHLER.jsx";
28
+ import {
29
+ runIfFn
30
+ } from "./KGOB2IMX.jsx";
31
31
  import {
32
32
  __export
33
33
  } from "./7IUG3E2V.jsx";
@@ -256,6 +256,7 @@ var ComboboxRoot = (props) => {
256
256
  "onOpenChange",
257
257
  "onPointerDownOutside",
258
258
  "onValueChange",
259
+ "onSelect",
259
260
  "open",
260
261
  "openOnChange",
261
262
  "openOnClick",
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './CIIDKCDP.js';
1
+ import { useFieldContext } from './UL6NTZA6.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useEnvironmentContext } from './YMMMHJJS.js';
5
4
  import { useLocaleContext } from './QEMQBM6W.js';
5
+ import { useEnvironmentContext } from './YMMMHJJS.js';
6
6
  import { createContext } from './TROPIN4C.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './CIIDKCDP.js';
1
+ import { useFieldContext } from './UL6NTZA6.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useEnvironmentContext } from './YMMMHJJS.js';
5
4
  import { useLocaleContext } from './QEMQBM6W.js';
5
+ import { useEnvironmentContext } from './YMMMHJJS.js';
6
6
  import { createContext } from './TROPIN4C.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { __export } from './ESLJRKWD.js';