@ark-ui/solid 5.19.0 → 5.21.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 (220) hide show
  1. package/dist/chunk/{7KGMTGCS.js → 2MDYHAEL.js} +1 -1
  2. package/dist/chunk/{UZXWP4N2.js → 2WH7I6KY.js} +1 -1
  3. package/dist/chunk/{MSDICFK5.jsx → 2YYL66ZW.jsx} +8 -8
  4. package/dist/chunk/{VL4J24YY.js → 32XOEHJA.js} +2 -2
  5. package/dist/chunk/{AEHKRB27.jsx → 32ZHQOKT.jsx} +8 -8
  6. package/dist/chunk/{XOVDOF3R.jsx → 3DBGP2MJ.jsx} +7 -7
  7. package/dist/chunk/{KLX5OWO4.js → 3MXQ4UTL.js} +1 -1
  8. package/dist/chunk/{KYIRNJBT.jsx → 3T5CJDNQ.jsx} +8 -8
  9. package/dist/chunk/{FHGPB5HL.js → 45M33MHW.js} +2 -2
  10. package/dist/chunk/{DAORON6X.js → 4DBNFXQT.js} +1 -1
  11. package/dist/chunk/{DTZQE35T.jsx → 4F7TBXGB.jsx} +8 -8
  12. package/dist/chunk/{7IV674K5.jsx → 4GEUK7WT.jsx} +8 -8
  13. package/dist/chunk/{CUNXGFIB.js → 4NJHH6IA.js} +2 -2
  14. package/dist/chunk/{JWPRFVT7.jsx → 4OPJNSWD.jsx} +7 -7
  15. package/dist/chunk/{4HQIDBKB.js → 5MPUJF73.js} +1 -1
  16. package/dist/chunk/{MMEPVOO3.jsx → 6SCXYLR6.jsx} +8 -8
  17. package/dist/chunk/{OKT2RIHV.js → 6SS4HF64.js} +1 -1
  18. package/dist/chunk/{B4ZXV6YG.jsx → A2Y5JMDH.jsx} +7 -7
  19. package/dist/chunk/{ZHS5GCPH.js → A3GLAR2K.js} +1 -1
  20. package/dist/chunk/{PNYN26W7.jsx → ABKIVY5E.jsx} +7 -7
  21. package/dist/chunk/{O5UHP4CA.js → APULXWCH.js} +9 -2
  22. package/dist/chunk/{DPP7XCXL.js → AQICSUXF.js} +1 -1
  23. package/dist/chunk/{LY6KT2RR.jsx → ASE2XNZ3.jsx} +7 -7
  24. package/dist/chunk/{TUTPYVIE.jsx → ASNP346Z.jsx} +11 -11
  25. package/dist/chunk/{QPEAMFRL.jsx → AV6H3VZ2.jsx} +8 -8
  26. package/dist/chunk/{AIPB7U27.jsx → B2ZRV4T2.jsx} +1 -1
  27. package/dist/chunk/{QOPFLH2O.jsx → BASA4M62.jsx} +8 -8
  28. package/dist/chunk/{QMEBVOMT.js → BHQ2KFRC.js} +2 -2
  29. package/dist/chunk/{SCH26OXU.jsx → BIGBWL6R.jsx} +4 -4
  30. package/dist/chunk/{WYNHVCCC.jsx → BR57D3BJ.jsx} +7 -7
  31. package/dist/chunk/{SWUMYWUU.js → CBBODIIA.js} +2 -2
  32. package/dist/chunk/{5FW3VV3B.jsx → CDNXEPRM.jsx} +7 -7
  33. package/dist/chunk/{BOR6VUN5.js → CJ7ZPDYK.js} +1 -1
  34. package/dist/chunk/{NMJ67UCO.js → CPLXH5IA.js} +1 -1
  35. package/dist/chunk/{D66BAI2Q.jsx → CWKA2IMU.jsx} +8 -8
  36. package/dist/chunk/{AKJVWXZH.js → D63ULIQQ.js} +2 -2
  37. package/dist/chunk/{JQIXCEUN.jsx → DTSVIUAM.jsx} +1 -1
  38. package/dist/chunk/{2GO4WI75.js → DYREX2EO.js} +2 -2
  39. package/dist/chunk/{OEQFRTGI.js → EDBMXHQW.js} +1 -1
  40. package/dist/chunk/{DZGDAEOH.jsx → EFII6TXL.jsx} +24 -9
  41. package/dist/chunk/{4XV3T2RT.jsx → EKGZFUZG.jsx} +11 -11
  42. package/dist/chunk/{U3SNCYTA.jsx → FAFGP32Q.jsx} +8 -8
  43. package/dist/chunk/{UMVBUCBO.js → FDNBKLQD.js} +1 -1
  44. package/dist/chunk/{YJCRGVLK.js → FLTSMA4B.js} +1 -1
  45. package/dist/chunk/{M3FJ4ZUY.jsx → FVFN7A64.jsx} +9 -9
  46. package/dist/chunk/{6Q4ZZUWZ.jsx → GKS4JQZJ.jsx} +4 -4
  47. package/dist/chunk/{FS6GEMRM.jsx → HAKA7VYF.jsx} +8 -5
  48. package/dist/chunk/{UBCF5HI7.jsx → HBMXUMAZ.jsx} +7 -7
  49. package/dist/chunk/{J2I54ALY.jsx → HG4GOYXG.jsx} +8 -8
  50. package/dist/chunk/{F6ZN64W7.js → HIA6P7A2.js} +2 -2
  51. package/dist/chunk/{MJKQXWPE.js → HQFAQX4S.js} +2 -2
  52. package/dist/chunk/{LORIOKHL.js → HVQPMEHH.js} +1 -1
  53. package/dist/chunk/{HGRT5ISU.js → IEZKTVGR.js} +2 -2
  54. package/dist/chunk/{OIG52XTL.jsx → IY6OKI2W.jsx} +4 -4
  55. package/dist/chunk/{MSQY6ZYN.jsx → IYER5IUD.jsx} +9 -9
  56. package/dist/chunk/{P5ZRUIVB.jsx → JCJDWHCX.jsx} +7 -7
  57. package/dist/chunk/{OKZ64GSY.js → JOLWKIPW.js} +10 -2
  58. package/dist/chunk/{ROUJC6XC.js → JVPZ5H4S.js} +1 -1
  59. package/dist/chunk/{QNB2UJP7.jsx → KHLGP5DR.jsx} +11 -11
  60. package/dist/chunk/{2Z37DOO5.jsx → KIJBFRSX.jsx} +8 -8
  61. package/dist/chunk/{MYOMDGBL.jsx → KJHZRYZY.jsx} +8 -8
  62. package/dist/chunk/{K43XFCKD.js → LBDJJRGP.js} +1 -1
  63. package/dist/chunk/{T4JGZ7KR.js → LHPNWFI4.js} +1 -1
  64. package/dist/chunk/{EJFRDVCX.jsx → LLLMSBR3.jsx} +8 -8
  65. package/dist/chunk/{VQ3I3Z7G.js → LZPARB53.js} +1 -1
  66. package/dist/chunk/{4VCRFRFE.js → M3YQ2ERY.js} +1 -1
  67. package/dist/chunk/{A6XGGK7D.jsx → M4BAPHB4.jsx} +7 -7
  68. package/dist/chunk/{5UVX33V2.jsx → MEDWELU2.jsx} +7 -7
  69. package/dist/chunk/{K6EEABL5.js → MR2AGRZK.js} +1 -1
  70. package/dist/chunk/{Q3QMDHRY.jsx → MS2RNLTC.jsx} +8 -8
  71. package/dist/chunk/{6HQNY7WM.js → MSG5CNFB.js} +4 -1
  72. package/dist/chunk/{7K5D5OB5.jsx → MSPKWLLC.jsx} +7 -7
  73. package/dist/chunk/{J4VOAZA3.jsx → MTRURCIY.jsx} +7 -7
  74. package/dist/chunk/{TKINUEE2.js → OJDEGAOM.js} +2 -2
  75. package/dist/chunk/{H2HVYWFV.js → OKPKUWZY.js} +2 -2
  76. package/dist/chunk/{H5DXY5W4.js → PELRXKOJ.js} +1 -1
  77. package/dist/chunk/{SSWISV43.jsx → PLRDI73P.jsx} +8 -8
  78. package/dist/chunk/{DIUPFYX7.jsx → QHO5L6HY.jsx} +8 -8
  79. package/dist/chunk/{LRA73ZZJ.js → QLR5DW7S.js} +1 -1
  80. package/dist/chunk/{2J53LCYK.js → QNUM5QZD.js} +2 -2
  81. package/dist/chunk/{57XFSJSJ.jsx → RA5X24XT.jsx} +2 -2
  82. package/dist/chunk/{5LNAXBVF.js → RUJWWVJQ.js} +1 -1
  83. package/dist/chunk/{ZF7UP5R3.jsx → RULCXX3A.jsx} +4 -4
  84. package/dist/chunk/{XUBES5JE.js → S4P7KO2W.js} +1 -1
  85. package/dist/chunk/{FFVNMZA6.js → S5FKJUOJ.js} +1 -1
  86. package/dist/chunk/{I6UGYR2R.js → SA6DA5B7.js} +1 -1
  87. package/dist/chunk/{TTICFFSM.jsx → TZJVPKLT.jsx} +4 -4
  88. package/dist/chunk/{DOLVC4C7.js → U4Z72T3S.js} +2 -2
  89. package/dist/chunk/{LB3LJBHI.js → U5RPTTBY.js} +1 -1
  90. package/dist/chunk/{2MXPLL4O.js → UFCT3N6F.js} +1 -1
  91. package/dist/chunk/{5OA4XEHW.jsx → ULOJ46TU.jsx} +7 -7
  92. package/dist/chunk/{3HYU2MCP.jsx → V2GDFVDR.jsx} +1 -1
  93. package/dist/chunk/{46K5OEJ2.js → VS7HNNOY.js} +1 -1
  94. package/dist/chunk/{Y3SDT2HS.jsx → VSNTFPEL.jsx} +9 -9
  95. package/dist/chunk/{ZJM2GZS7.jsx → VVD4LKC6.jsx} +2 -1
  96. package/dist/chunk/{YYWITIS7.jsx → W373TNPA.jsx} +8 -8
  97. package/dist/chunk/{OTEN4SAY.jsx → WIZ7S3TH.jsx} +8 -8
  98. package/dist/chunk/{YUC6JE7K.jsx → XIYHIOP3.jsx} +16 -3
  99. package/dist/chunk/{OYTHLJ2M.js → XQYQZYIR.js} +2 -2
  100. package/dist/chunk/{SH6FW3EU.js → ZI253QBN.js} +2 -2
  101. package/dist/components/accordion/index.js +1 -1
  102. package/dist/components/accordion/index.jsx +6 -6
  103. package/dist/components/angle-slider/index.js +1 -1
  104. package/dist/components/angle-slider/index.jsx +5 -5
  105. package/dist/components/avatar/index.js +1 -1
  106. package/dist/components/avatar/index.jsx +5 -5
  107. package/dist/components/carousel/index.js +1 -1
  108. package/dist/components/carousel/index.jsx +5 -5
  109. package/dist/components/checkbox/index.js +1 -1
  110. package/dist/components/checkbox/index.jsx +7 -7
  111. package/dist/components/clipboard/index.jsx +5 -5
  112. package/dist/components/collapsible/index.js +1 -1
  113. package/dist/components/collapsible/index.jsx +5 -5
  114. package/dist/components/collection/index.d.ts +10 -3
  115. package/dist/components/collection/index.js +1 -1
  116. package/dist/components/collection/index.jsx +4 -1
  117. package/dist/components/color-picker/index.js +1 -1
  118. package/dist/components/color-picker/index.jsx +9 -9
  119. package/dist/components/combobox/index.js +2 -2
  120. package/dist/components/combobox/index.jsx +10 -10
  121. package/dist/components/date-picker/index.js +1 -1
  122. package/dist/components/date-picker/index.jsx +7 -7
  123. package/dist/components/dialog/index.js +1 -1
  124. package/dist/components/dialog/index.jsx +7 -7
  125. package/dist/components/download-trigger/index.jsx +5 -5
  126. package/dist/components/editable/index.js +1 -1
  127. package/dist/components/editable/index.jsx +7 -7
  128. package/dist/components/field/index.js +1 -1
  129. package/dist/components/field/index.jsx +6 -6
  130. package/dist/components/fieldset/index.d.ts +4 -2
  131. package/dist/components/fieldset/index.js +1 -1
  132. package/dist/components/fieldset/index.jsx +5 -5
  133. package/dist/components/file-upload/index.js +1 -1
  134. package/dist/components/file-upload/index.jsx +7 -7
  135. package/dist/components/floating-panel/index.js +1 -1
  136. package/dist/components/floating-panel/index.jsx +7 -7
  137. package/dist/components/format/index.js +1 -1
  138. package/dist/components/format/index.jsx +4 -4
  139. package/dist/components/frame/index.jsx +4 -4
  140. package/dist/components/highlight/index.js +1 -1
  141. package/dist/components/highlight/index.jsx +1 -1
  142. package/dist/components/hover-card/index.js +1 -1
  143. package/dist/components/hover-card/index.jsx +7 -7
  144. package/dist/components/index.d.ts +7 -5
  145. package/dist/components/index.js +50 -50
  146. package/dist/components/index.jsx +439 -433
  147. package/dist/components/json-tree-view/index.js +1 -1
  148. package/dist/components/json-tree-view/index.jsx +8 -8
  149. package/dist/components/listbox/index.js +2 -2
  150. package/dist/components/listbox/index.jsx +6 -6
  151. package/dist/components/menu/index.js +1 -1
  152. package/dist/components/menu/index.jsx +7 -7
  153. package/dist/components/number-input/index.js +1 -1
  154. package/dist/components/number-input/index.jsx +7 -7
  155. package/dist/components/pagination/index.js +1 -1
  156. package/dist/components/pagination/index.jsx +5 -5
  157. package/dist/components/password-input/index.js +1 -1
  158. package/dist/components/password-input/index.jsx +7 -7
  159. package/dist/components/pin-input/index.js +1 -1
  160. package/dist/components/pin-input/index.jsx +7 -7
  161. package/dist/components/popover/index.js +1 -1
  162. package/dist/components/popover/index.jsx +7 -7
  163. package/dist/components/presence/index.jsx +3 -3
  164. package/dist/components/progress/index.js +1 -1
  165. package/dist/components/progress/index.jsx +5 -5
  166. package/dist/components/qr-code/index.js +1 -1
  167. package/dist/components/qr-code/index.jsx +5 -5
  168. package/dist/components/radio-group/index.js +1 -1
  169. package/dist/components/radio-group/index.jsx +5 -5
  170. package/dist/components/rating-group/index.js +1 -1
  171. package/dist/components/rating-group/index.jsx +7 -7
  172. package/dist/components/scroll-area/index.js +1 -1
  173. package/dist/components/scroll-area/index.jsx +5 -5
  174. package/dist/components/segment-group/index.js +1 -1
  175. package/dist/components/segment-group/index.jsx +5 -5
  176. package/dist/components/select/index.js +2 -2
  177. package/dist/components/select/index.jsx +10 -10
  178. package/dist/components/signature-pad/index.js +1 -1
  179. package/dist/components/signature-pad/index.jsx +7 -7
  180. package/dist/components/slider/index.js +1 -1
  181. package/dist/components/slider/index.jsx +5 -5
  182. package/dist/components/splitter/index.js +1 -1
  183. package/dist/components/splitter/index.jsx +5 -5
  184. package/dist/components/steps/index.js +1 -1
  185. package/dist/components/steps/index.jsx +5 -5
  186. package/dist/components/switch/index.js +1 -1
  187. package/dist/components/switch/index.jsx +7 -7
  188. package/dist/components/tabs/index.js +1 -1
  189. package/dist/components/tabs/index.jsx +7 -7
  190. package/dist/components/tags-input/index.js +1 -1
  191. package/dist/components/tags-input/index.jsx +7 -7
  192. package/dist/components/time-picker/index.js +1 -1
  193. package/dist/components/time-picker/index.jsx +7 -7
  194. package/dist/components/timer/index.jsx +5 -5
  195. package/dist/components/toast/index.d.ts +1 -1
  196. package/dist/components/toast/index.js +1 -1
  197. package/dist/components/toast/index.jsx +5 -5
  198. package/dist/components/toggle-group/index.js +1 -1
  199. package/dist/components/toggle-group/index.jsx +5 -5
  200. package/dist/components/tooltip/index.js +1 -1
  201. package/dist/components/tooltip/index.jsx +7 -7
  202. package/dist/components/tour/index.js +1 -1
  203. package/dist/components/tour/index.jsx +7 -7
  204. package/dist/components/tree-view/index.js +2 -2
  205. package/dist/components/tree-view/index.jsx +7 -7
  206. package/dist/index.d.ts +9 -7
  207. package/dist/index.js +51 -51
  208. package/dist/index.jsx +444 -436
  209. package/dist/providers/environment/index.jsx +2 -2
  210. package/dist/providers/index.d.ts +1 -1
  211. package/dist/providers/index.js +1 -1
  212. package/dist/providers/index.jsx +8 -6
  213. package/dist/providers/locale/index.d.ts +8 -1
  214. package/dist/providers/locale/index.js +1 -1
  215. package/dist/providers/locale/index.jsx +3 -1
  216. package/package.json +62 -61
  217. package/dist/chunk/{HRWYG4MB.jsx → 5XTAFT5P.jsx} +0 -0
  218. package/dist/chunk/{6J5H27AQ.jsx → E2L62MKC.jsx} +3 -3
  219. package/dist/chunk/{5WVPNAWS.js → W6MHACH4.js} +0 -0
  220. package/dist/chunk/{4LUY46IM.jsx → Y7HEGRYK.jsx} +6 -6
@@ -1,9 +1,9 @@
1
- import { collapsible_exports } from './ROUJC6XC.js';
1
+ import { collapsible_exports } from './JVPZ5H4S.js';
2
2
  import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './QFAL6GWC.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
5
5
  import { useEnvironmentContext } from './YO2MCGXO.js';
6
- import { useLocaleContext } from './OKZ64GSY.js';
6
+ import { useLocaleContext } from './JOLWKIPW.js';
7
7
  import { createContext } from './TROPIN4C.js';
8
8
  import { runIfFn } from './DT73WLR4.js';
9
9
  import { __export } from './ESLJRKWD.js';
@@ -4,18 +4,18 @@ import {
4
4
  import {
5
5
  ark
6
6
  } from "./UFYZ7HLU.jsx";
7
- import {
8
- useEnvironmentContext
9
- } from "./6J5H27AQ.jsx";
10
- import {
11
- runIfFn
12
- } from "./KGOB2IMX.jsx";
13
7
  import {
14
8
  useLocaleContext
15
- } from "./YUC6JE7K.jsx";
9
+ } from "./XIYHIOP3.jsx";
10
+ import {
11
+ useEnvironmentContext
12
+ } from "./E2L62MKC.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,7 +1,7 @@
1
1
  import { createSplitProps } from './ZMHI4GDJ.js';
2
2
  import { ark } from './EPLBB4QN.js';
3
3
  import { useEnvironmentContext } from './YO2MCGXO.js';
4
- import { useLocaleContext } from './OKZ64GSY.js';
4
+ import { useLocaleContext } from './JOLWKIPW.js';
5
5
  import { createContext } from './TROPIN4C.js';
6
6
  import { runIfFn } from './DT73WLR4.js';
7
7
  import { __export } from './ESLJRKWD.js';
@@ -4,7 +4,7 @@ import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyCont
4
4
  import { createSplitProps } from './ZMHI4GDJ.js';
5
5
  import { ark } from './EPLBB4QN.js';
6
6
  import { useEnvironmentContext } from './YO2MCGXO.js';
7
- import { useLocaleContext } from './OKZ64GSY.js';
7
+ import { useLocaleContext } from './JOLWKIPW.js';
8
8
  import { createContext } from './TROPIN4C.js';
9
9
  import { runIfFn } from './DT73WLR4.js';
10
10
  import { __export } from './ESLJRKWD.js';
@@ -3,7 +3,7 @@ import {
3
3
  splitPresenceProps,
4
4
  usePresence,
5
5
  usePresenceContext
6
- } from "./4LUY46IM.jsx";
6
+ } from "./Y7HEGRYK.jsx";
7
7
  import {
8
8
  composeRefs
9
9
  } from "./PT2CJE3O.jsx";
@@ -13,18 +13,18 @@ import {
13
13
  import {
14
14
  ark
15
15
  } from "./UFYZ7HLU.jsx";
16
- import {
17
- useEnvironmentContext
18
- } from "./6J5H27AQ.jsx";
19
- import {
20
- runIfFn
21
- } from "./KGOB2IMX.jsx";
22
16
  import {
23
17
  useLocaleContext
24
- } from "./YUC6JE7K.jsx";
18
+ } from "./XIYHIOP3.jsx";
19
+ import {
20
+ useEnvironmentContext
21
+ } from "./E2L62MKC.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";
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './YJCRGVLK.js';
1
+ import { useFieldContext } from './FLTSMA4B.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
4
  import { useEnvironmentContext } from './YO2MCGXO.js';
5
- import { useLocaleContext } from './OKZ64GSY.js';
5
+ import { useLocaleContext } from './JOLWKIPW.js';
6
6
  import { createContext } from './TROPIN4C.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useLocaleContext
3
- } from "./YUC6JE7K.jsx";
3
+ } from "./XIYHIOP3.jsx";
4
4
  import {
5
5
  __export
6
6
  } from "./7IUG3E2V.jsx";
@@ -1,10 +1,10 @@
1
+ import { useFieldContext } from './FLTSMA4B.js';
1
2
  import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './SIT3D7TL.js';
2
- import { useFieldContext } from './YJCRGVLK.js';
3
3
  import { composeRefs } from './ROP6QZQ7.js';
4
4
  import { createSplitProps } from './ZMHI4GDJ.js';
5
5
  import { ark } from './EPLBB4QN.js';
6
6
  import { useEnvironmentContext } from './YO2MCGXO.js';
7
- import { useLocaleContext } from './OKZ64GSY.js';
7
+ import { useLocaleContext } from './JOLWKIPW.js';
8
8
  import { createContext } from './TROPIN4C.js';
9
9
  import { runIfFn } from './DT73WLR4.js';
10
10
  import { __export } from './ESLJRKWD.js';
@@ -1,7 +1,7 @@
1
1
  import { createSplitProps } from './ZMHI4GDJ.js';
2
2
  import { ark } from './EPLBB4QN.js';
3
3
  import { useEnvironmentContext } from './YO2MCGXO.js';
4
- import { useLocaleContext } from './OKZ64GSY.js';
4
+ import { useLocaleContext } from './JOLWKIPW.js';
5
5
  import { createContext } from './TROPIN4C.js';
6
6
  import { runIfFn } from './DT73WLR4.js';
7
7
  import { __export } from './ESLJRKWD.js';
@@ -1,3 +1,7 @@
1
+ import {
2
+ runIfFn
3
+ } from "./KGOB2IMX.jsx";
4
+
1
5
  // src/components/collection/grid-collection.ts
2
6
  import {
3
7
  GridCollection
@@ -16,10 +20,20 @@ import {
16
20
  var createTreeCollection = (options) => new TreeCollection(options);
17
21
  var createFileTreeCollection = (paths) => filePathToTree(paths);
18
22
 
23
+ // src/components/collection/use-async-list.ts
24
+ import * as asyncList from "@zag-js/async-list";
25
+ import { useMachine } from "@zag-js/solid";
26
+ import { createMemo } from "solid-js";
27
+ var useAsyncList = (props) => {
28
+ const machineProps = createMemo(() => runIfFn(props));
29
+ const service = useMachine(asyncList.machine, machineProps);
30
+ return createMemo(() => asyncList.connect(service));
31
+ };
32
+
19
33
  // src/components/collection/use-list-collection.ts
20
- import { createMemo, createSignal, splitProps } from "solid-js";
34
+ import { createMemo as createMemo2, createSignal, splitProps } from "solid-js";
21
35
  function useListCollection(props) {
22
- const splittedProps = createMemo(() => {
36
+ const splittedProps = createMemo2(() => {
23
37
  const rawProps = typeof props === "function" ? props() : props;
24
38
  return splitProps(rawProps, ["initialItems", "filter", "limit"]);
25
39
  });
@@ -37,7 +51,7 @@ function useListCollection(props) {
37
51
  const [, collectionOptions] = splittedProps();
38
52
  return createListCollection({ ...collectionOptions, items: itemsToCreate });
39
53
  };
40
- const collection = createMemo(() => {
54
+ const collection = createMemo2(() => {
41
55
  const [localProps, collectionOptions] = splittedProps();
42
56
  const filter = localProps.filter;
43
57
  let activeItems = items();
@@ -115,9 +129,9 @@ function useListCollection(props) {
115
129
 
116
130
  // src/components/collection/use-list-selection.ts
117
131
  import { Selection } from "@zag-js/collection";
118
- import { createEffect, createMemo as createMemo2, createSignal as createSignal2, on, splitProps as splitProps2 } from "solid-js";
132
+ import { createEffect, createMemo as createMemo3, createSignal as createSignal2, on, splitProps as splitProps2 } from "solid-js";
119
133
  function useListSelection(props) {
120
- const splittedProps = createMemo2(() => {
134
+ const splittedProps = createMemo3(() => {
121
135
  const rawProps = typeof props === "function" ? props() : props;
122
136
  return splitProps2(rawProps, [
123
137
  "collection",
@@ -154,13 +168,13 @@ function useListSelection(props) {
154
168
  { defer: true }
155
169
  )
156
170
  );
157
- const selectedValues = createMemo2(() => Array.from(selection()));
158
- const isEmpty = createMemo2(() => selection().isEmpty());
159
- const firstSelectedValue = createMemo2(() => {
171
+ const selectedValues = createMemo3(() => Array.from(selection()));
172
+ const isEmpty = createMemo3(() => selection().isEmpty());
173
+ const firstSelectedValue = createMemo3(() => {
160
174
  const [localProps] = splittedProps();
161
175
  return selection().firstSelectedValue(localProps.collection);
162
176
  });
163
- const lastSelectedValue = createMemo2(() => {
177
+ const lastSelectedValue = createMemo3(() => {
164
178
  const [localProps] = splittedProps();
165
179
  return selection().lastSelectedValue(localProps.collection);
166
180
  });
@@ -222,6 +236,7 @@ export {
222
236
  createListCollection,
223
237
  createTreeCollection,
224
238
  createFileTreeCollection,
239
+ useAsyncList,
225
240
  useListCollection,
226
241
  useListSelection
227
242
  };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  PresenceProvider,
3
3
  usePresence
4
- } from "./4LUY46IM.jsx";
5
- import {
6
- composeRefs
7
- } from "./PT2CJE3O.jsx";
4
+ } from "./Y7HEGRYK.jsx";
8
5
  import {
9
6
  RenderStrategyProvider,
10
7
  splitRenderStrategyProps,
11
8
  useRenderStrategyContext
12
9
  } from "./NEBB7COJ.jsx";
10
+ import {
11
+ composeRefs
12
+ } from "./PT2CJE3O.jsx";
13
13
  import {
14
14
  createSplitProps
15
15
  } from "./6WEDGJKQ.jsx";
16
16
  import {
17
17
  ark
18
18
  } from "./UFYZ7HLU.jsx";
19
- import {
20
- useEnvironmentContext
21
- } from "./6J5H27AQ.jsx";
22
- import {
23
- runIfFn
24
- } from "./KGOB2IMX.jsx";
25
19
  import {
26
20
  useLocaleContext
27
- } from "./YUC6JE7K.jsx";
21
+ } from "./XIYHIOP3.jsx";
22
+ import {
23
+ useEnvironmentContext
24
+ } from "./E2L62MKC.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 "./SCH26OXU.jsx";
3
+ } from "./BIGBWL6R.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 "./6J5H27AQ.jsx";
13
- import {
14
- runIfFn
15
- } from "./KGOB2IMX.jsx";
16
10
  import {
17
11
  useLocaleContext
18
- } from "./YUC6JE7K.jsx";
12
+ } from "./XIYHIOP3.jsx";
13
+ import {
14
+ useEnvironmentContext
15
+ } from "./E2L62MKC.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 { composeRefs } from './ROP6QZQ7.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
5
5
  import { useEnvironmentContext } from './YO2MCGXO.js';
6
- import { useLocaleContext } from './OKZ64GSY.js';
6
+ import { useLocaleContext } from './JOLWKIPW.js';
7
7
  import { createContext } from './TROPIN4C.js';
8
8
  import { runIfFn } from './DT73WLR4.js';
9
9
  import { __export } from './ESLJRKWD.js';
@@ -1,5 +1,5 @@
1
+ import { useFieldsetContext } from './MSG5CNFB.js';
1
2
  import { composeRefs } from './ROP6QZQ7.js';
2
- import { useFieldsetContext } from './6HQNY7WM.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
5
5
  import { useEnvironmentContext } from './YO2MCGXO.js';
@@ -3,10 +3,10 @@ import {
3
3
  splitPresenceProps,
4
4
  usePresence,
5
5
  usePresenceContext
6
- } from "./4LUY46IM.jsx";
6
+ } from "./Y7HEGRYK.jsx";
7
7
  import {
8
8
  useFieldContext
9
- } from "./SCH26OXU.jsx";
9
+ } from "./BIGBWL6R.jsx";
10
10
  import {
11
11
  composeRefs
12
12
  } from "./PT2CJE3O.jsx";
@@ -16,18 +16,18 @@ import {
16
16
  import {
17
17
  ark
18
18
  } from "./UFYZ7HLU.jsx";
19
- import {
20
- useEnvironmentContext
21
- } from "./6J5H27AQ.jsx";
22
- import {
23
- runIfFn
24
- } from "./KGOB2IMX.jsx";
25
19
  import {
26
20
  useLocaleContext
27
- } from "./YUC6JE7K.jsx";
21
+ } from "./XIYHIOP3.jsx";
22
+ import {
23
+ useEnvironmentContext
24
+ } from "./E2L62MKC.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";
@@ -6,13 +6,13 @@ import {
6
6
  } from "./UFYZ7HLU.jsx";
7
7
  import {
8
8
  useEnvironmentContext
9
- } from "./6J5H27AQ.jsx";
10
- import {
11
- runIfFn
12
- } from "./KGOB2IMX.jsx";
9
+ } from "./E2L62MKC.jsx";
13
10
  import {
14
11
  createContext
15
12
  } from "./TVCIHLER.jsx";
13
+ import {
14
+ runIfFn
15
+ } from "./KGOB2IMX.jsx";
16
16
  import {
17
17
  __export
18
18
  } from "./7IUG3E2V.jsx";
@@ -6,13 +6,13 @@ import {
6
6
  } from "./UFYZ7HLU.jsx";
7
7
  import {
8
8
  useEnvironmentContext
9
- } from "./6J5H27AQ.jsx";
10
- import {
11
- runIfFn
12
- } from "./KGOB2IMX.jsx";
9
+ } from "./E2L62MKC.jsx";
13
10
  import {
14
11
  createContext
15
12
  } from "./TVCIHLER.jsx";
13
+ import {
14
+ runIfFn
15
+ } from "./KGOB2IMX.jsx";
16
16
  import {
17
17
  __export
18
18
  } from "./7IUG3E2V.jsx";
@@ -51,7 +51,7 @@ import { mergeProps as mergeProps3 } from "@zag-js/solid";
51
51
  var FieldsetLegend = (props) => {
52
52
  const fieldset = useFieldsetContext();
53
53
  const mergedProps = mergeProps3(() => fieldset().getLegendProps(), props);
54
- return <ark.legend {...mergedProps} />;
54
+ return <ark.div {...mergedProps} />;
55
55
  };
56
56
 
57
57
  // src/components/fieldset/fieldset-root.tsx
@@ -72,6 +72,7 @@ var useFieldset = (props) => {
72
72
  const mergedProps = mergeProps4({ disabled: false, invalid: false }, runIfFn(props));
73
73
  let rootRef;
74
74
  const id = mergedProps.id ?? createUniqueId();
75
+ const legendId = `fieldset::${id}::legend`;
75
76
  const errorTextId = `fieldset::${id}::error-text`;
76
77
  const helperTextId = `fieldset::${id}::helper-text`;
77
78
  const [hasErrorText, setHasErrorText] = createSignal(false);
@@ -98,9 +99,11 @@ var useFieldset = (props) => {
98
99
  disabled: mergedProps.disabled,
99
100
  "data-disabled": dataAttr(mergedProps.disabled),
100
101
  "data-invalid": dataAttr(mergedProps.invalid),
102
+ "aria-labelledby": legendId,
101
103
  "aria-describedby": labelIds.join(" ") || void 0
102
104
  });
103
105
  const getLegendProps = () => ({
106
+ id: legendId,
104
107
  ...parts.legend.attrs,
105
108
  "data-disabled": dataAttr(mergedProps.disabled),
106
109
  "data-invalid": dataAttr(mergedProps.invalid)
@@ -4,18 +4,18 @@ import {
4
4
  import {
5
5
  ark
6
6
  } from "./UFYZ7HLU.jsx";
7
- import {
8
- useEnvironmentContext
9
- } from "./6J5H27AQ.jsx";
10
- import {
11
- runIfFn
12
- } from "./KGOB2IMX.jsx";
13
7
  import {
14
8
  useLocaleContext
15
- } from "./YUC6JE7K.jsx";
9
+ } from "./XIYHIOP3.jsx";
10
+ import {
11
+ useEnvironmentContext
12
+ } from "./E2L62MKC.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,24 +1,24 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./SCH26OXU.jsx";
3
+ } from "./BIGBWL6R.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 "./6J5H27AQ.jsx";
13
- import {
14
- runIfFn
15
- } from "./KGOB2IMX.jsx";
16
10
  import {
17
11
  useLocaleContext
18
- } from "./YUC6JE7K.jsx";
12
+ } from "./XIYHIOP3.jsx";
13
+ import {
14
+ useEnvironmentContext
15
+ } from "./E2L62MKC.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 './YJCRGVLK.js';
1
+ import { useFieldContext } from './FLTSMA4B.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
4
  import { useEnvironmentContext } from './YO2MCGXO.js';
5
- import { useLocaleContext } from './OKZ64GSY.js';
5
+ import { useLocaleContext } from './JOLWKIPW.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 './YJCRGVLK.js';
1
+ import { useFieldContext } from './FLTSMA4B.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
4
  import { useEnvironmentContext } from './YO2MCGXO.js';
5
- import { useLocaleContext } from './OKZ64GSY.js';
5
+ import { useLocaleContext } from './JOLWKIPW.js';
6
6
  import { createContext } from './TROPIN4C.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,6 +1,6 @@
1
1
  import { ark } from './EPLBB4QN.js';
2
2
  import { useEnvironmentContext } from './YO2MCGXO.js';
3
- import { useLocaleContext } from './OKZ64GSY.js';
3
+ import { useLocaleContext } from './JOLWKIPW.js';
4
4
  import { createContext } from './TROPIN4C.js';
5
5
  import { __export } from './ESLJRKWD.js';
6
6
  import * as toast2 from '@zag-js/toast';
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './YJCRGVLK.js';
1
+ import { useFieldContext } from './FLTSMA4B.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
4
  import { useEnvironmentContext } from './YO2MCGXO.js';
5
- import { useLocaleContext } from './OKZ64GSY.js';
5
+ import { useLocaleContext } from './JOLWKIPW.js';
6
6
  import { createContext } from './TROPIN4C.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ark
3
3
  } from "./UFYZ7HLU.jsx";
4
- import {
5
- useEnvironmentContext
6
- } from "./6J5H27AQ.jsx";
7
4
  import {
8
5
  useLocaleContext
9
- } from "./YUC6JE7K.jsx";
6
+ } from "./XIYHIOP3.jsx";
7
+ import {
8
+ useEnvironmentContext
9
+ } from "./E2L62MKC.jsx";
10
10
  import {
11
11
  createContext
12
12
  } from "./TVCIHLER.jsx";
@@ -3,10 +3,10 @@ import {
3
3
  splitPresenceProps,
4
4
  usePresence,
5
5
  usePresenceContext
6
- } from "./4LUY46IM.jsx";
6
+ } from "./Y7HEGRYK.jsx";
7
7
  import {
8
8
  useFieldContext
9
- } from "./SCH26OXU.jsx";
9
+ } from "./BIGBWL6R.jsx";
10
10
  import {
11
11
  composeRefs
12
12
  } from "./PT2CJE3O.jsx";
@@ -16,18 +16,18 @@ import {
16
16
  import {
17
17
  ark
18
18
  } from "./UFYZ7HLU.jsx";
19
- import {
20
- useEnvironmentContext
21
- } from "./6J5H27AQ.jsx";
22
- import {
23
- runIfFn
24
- } from "./KGOB2IMX.jsx";
25
19
  import {
26
20
  useLocaleContext
27
- } from "./YUC6JE7K.jsx";
21
+ } from "./XIYHIOP3.jsx";
22
+ import {
23
+ useEnvironmentContext
24
+ } from "./E2L62MKC.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";
@@ -4,18 +4,18 @@ import {
4
4
  import {
5
5
  ark
6
6
  } from "./UFYZ7HLU.jsx";
7
- import {
8
- useEnvironmentContext
9
- } from "./6J5H27AQ.jsx";
10
- import {
11
- runIfFn
12
- } from "./KGOB2IMX.jsx";
13
7
  import {
14
8
  useLocaleContext
15
- } from "./YUC6JE7K.jsx";
9
+ } from "./XIYHIOP3.jsx";
10
+ import {
11
+ useEnvironmentContext
12
+ } from "./E2L62MKC.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,6 +1,6 @@
1
1
  import { createContext } from './TROPIN4C.js';
2
2
  import { createComponent } from 'solid-js/web';
3
- import { isRTL, createFilter } from '@zag-js/i18n-utils';
3
+ import { isRTL, createCollator, createFilter } from '@zag-js/i18n-utils';
4
4
  import { createMemo } from 'solid-js';
5
5
 
6
6
  // src/providers/locale/use-locale-context.ts
@@ -24,10 +24,18 @@ var LocaleProvider = (props) => {
24
24
  }
25
25
  });
26
26
  };
27
+ function useCollator(props = {}) {
28
+ const env = useLocaleContext();
29
+ const locale = () => props.locale ?? env().locale;
30
+ return createMemo(() => {
31
+ const { locale: _, ...options } = props;
32
+ return createCollator(locale(), options);
33
+ });
34
+ }
27
35
  function useFilter(props) {
28
36
  const env = useLocaleContext();
29
37
  const locale = createMemo(() => props.locale ?? env().locale);
30
38
  return createMemo(() => createFilter({ ...props, locale: locale() }));
31
39
  }
32
40
 
33
- export { LocaleProvider, useFilter, useLocaleContext };
41
+ export { LocaleProvider, useCollator, useFilter, useLocaleContext };
@@ -2,7 +2,7 @@ import { splitRenderStrategyProps } from './QFAL6GWC.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
4
  import { useEnvironmentContext } from './YO2MCGXO.js';
5
- import { useLocaleContext } from './OKZ64GSY.js';
5
+ import { useLocaleContext } from './JOLWKIPW.js';
6
6
  import { createContext } from './TROPIN4C.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { __export } from './ESLJRKWD.js';