@ark-ui/solid 5.29.0 → 5.29.1

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 (199) hide show
  1. package/dist/chunk/{J3XZT7EL.js → 2RLPNMQC.js} +2 -2
  2. package/dist/chunk/{GFKCCGJB.js → 4E5O3DFC.js} +2 -2
  3. package/dist/chunk/{EM4XSE5H.js → 4HLADW3E.js} +2 -2
  4. package/dist/chunk/{U7FAF24E.js → 4R3DUS36.js} +2 -2
  5. package/dist/chunk/{QRDTSOYR.jsx → 6W3X5JZW.jsx} +4 -4
  6. package/dist/chunk/{TPRSB43T.jsx → 7EJEMGDG.jsx} +4 -4
  7. package/dist/chunk/{372PVMNT.js → 7U5HG766.js} +2 -2
  8. package/dist/chunk/{TPLBK6KL.js → B37HJ43Y.js} +1 -1
  9. package/dist/chunk/{WLITP5TP.jsx → BIFBSKYL.jsx} +4 -4
  10. package/dist/chunk/{ARA55KUE.jsx → BVY3M35Y.jsx} +1 -1
  11. package/dist/chunk/{YTFMRBD2.js → BWCRBIWY.js} +2 -2
  12. package/dist/chunk/{5KPLCG77.jsx → CCVDHSBF.jsx} +1 -1
  13. package/dist/chunk/{CN63YZUE.js → CLO7VA44.js} +2 -2
  14. package/dist/chunk/{UXNQOU36.js → FZWU5W76.js} +35 -15
  15. package/dist/chunk/{IEP4WYW2.jsx → GG7F5STH.jsx} +4 -4
  16. package/dist/chunk/{TNKGDI7Y.jsx → GNYPPI32.jsx} +4 -4
  17. package/dist/chunk/{RNVRDALA.js → HJW3RUPH.js} +2 -2
  18. package/dist/chunk/{BQJK3XJQ.js → IT7ZIH75.js} +2 -2
  19. package/dist/chunk/{S7S4GNYZ.jsx → JTXFPGYY.jsx} +4 -4
  20. package/dist/chunk/{Y66OHGAM.js → KPDPHOBC.js} +2 -2
  21. package/dist/chunk/{CM2ALDJ7.jsx → MMSH3XOE.jsx} +4 -4
  22. package/dist/chunk/{WOSN63AN.jsx → MO66WHZP.jsx} +4 -4
  23. package/dist/chunk/{TBRRDX3X.jsx → NERR3PSK.jsx} +4 -4
  24. package/dist/chunk/{SKC2JUHO.jsx → PO54HM6N.jsx} +4 -4
  25. package/dist/chunk/{HRPXPYHQ.js → PTXD6FJD.js} +2 -2
  26. package/dist/chunk/{OX3264V7.jsx → PXFOGFRN.jsx} +4 -4
  27. package/dist/chunk/{MZEGYYMT.js → QOPSKJ3A.js} +1 -1
  28. package/dist/chunk/{CCNCOLB2.jsx → SEOZ3YW4.jsx} +4 -4
  29. package/dist/chunk/{Y3GFUOZP.jsx → SZNFUIJQ.jsx} +4 -4
  30. package/dist/chunk/{7XIUKXCN.js → TDHE3VYT.js} +2 -2
  31. package/dist/chunk/{3GKO4C5T.js → VHH5V6SW.js} +2 -2
  32. package/dist/chunk/{KAO2IPN7.js → WDRQQ36P.js} +2 -2
  33. package/dist/chunk/{I3MLFUBK.jsx → WKT2SQRV.jsx} +4 -4
  34. package/dist/chunk/{PMI7UADJ.jsx → XBXF34UK.jsx} +4 -4
  35. package/dist/chunk/{2UC6SEQ4.jsx → XV2QYX2I.jsx} +16 -10
  36. package/dist/chunk/{TQYNU5YV.js → YBQYQBZP.js} +2 -2
  37. package/dist/components/accordion/index.js +1 -1
  38. package/dist/components/accordion/index.jsx +3 -3
  39. package/dist/components/anatomy.js +18 -18
  40. package/dist/components/anatomy.jsx +39 -39
  41. package/dist/components/angle-slider/index.js +1 -1
  42. package/dist/components/angle-slider/index.jsx +2 -2
  43. package/dist/components/avatar/index.js +1 -1
  44. package/dist/components/avatar/index.jsx +2 -2
  45. package/dist/components/bottom-sheet/index.js +1 -1
  46. package/dist/components/bottom-sheet/index.jsx +2 -2
  47. package/dist/components/carousel/index.js +1 -1
  48. package/dist/components/carousel/index.jsx +2 -2
  49. package/dist/components/checkbox/index.js +1 -1
  50. package/dist/components/checkbox/index.jsx +4 -4
  51. package/dist/components/clipboard/index.jsx +1 -1
  52. package/dist/components/collapsible/index.js +1 -1
  53. package/dist/components/collapsible/index.jsx +2 -2
  54. package/dist/components/color-picker/index.js +1 -1
  55. package/dist/components/color-picker/index.jsx +4 -4
  56. package/dist/components/combobox/index.js +1 -1
  57. package/dist/components/combobox/index.jsx +5 -5
  58. package/dist/components/date-picker/index.js +1 -1
  59. package/dist/components/date-picker/index.jsx +2 -2
  60. package/dist/components/dialog/index.js +1 -1
  61. package/dist/components/dialog/index.jsx +2 -2
  62. package/dist/components/download-trigger/index.jsx +1 -1
  63. package/dist/components/editable/index.js +1 -1
  64. package/dist/components/editable/index.jsx +4 -4
  65. package/dist/components/field/index.js +1 -1
  66. package/dist/components/field/index.jsx +3 -3
  67. package/dist/components/fieldset/index.d.ts +1 -1
  68. package/dist/components/fieldset/index.js +1 -1
  69. package/dist/components/fieldset/index.jsx +3 -2
  70. package/dist/components/file-upload/index.js +1 -1
  71. package/dist/components/file-upload/index.jsx +4 -4
  72. package/dist/components/floating-panel/index.js +1 -1
  73. package/dist/components/floating-panel/index.jsx +2 -2
  74. package/dist/components/format/index.jsx +1 -1
  75. package/dist/components/frame/index.jsx +1 -1
  76. package/dist/components/hover-card/index.js +1 -1
  77. package/dist/components/hover-card/index.jsx +2 -2
  78. package/dist/components/image-cropper/index.js +1 -1
  79. package/dist/components/image-cropper/index.jsx +2 -2
  80. package/dist/components/index.js +68 -68
  81. package/dist/components/index.jsx +342 -342
  82. package/dist/components/json-tree-view/index.js +1 -1
  83. package/dist/components/json-tree-view/index.jsx +4 -4
  84. package/dist/components/listbox/index.js +1 -1
  85. package/dist/components/listbox/index.jsx +2 -2
  86. package/dist/components/marquee/index.js +1 -1
  87. package/dist/components/marquee/index.jsx +2 -2
  88. package/dist/components/menu/index.js +1 -1
  89. package/dist/components/menu/index.jsx +2 -2
  90. package/dist/components/number-input/index.js +1 -1
  91. package/dist/components/number-input/index.jsx +4 -4
  92. package/dist/components/pagination/index.js +1 -1
  93. package/dist/components/pagination/index.jsx +2 -2
  94. package/dist/components/password-input/index.js +1 -1
  95. package/dist/components/password-input/index.jsx +4 -4
  96. package/dist/components/pin-input/index.js +1 -1
  97. package/dist/components/pin-input/index.jsx +4 -4
  98. package/dist/components/popover/index.js +1 -1
  99. package/dist/components/popover/index.jsx +2 -2
  100. package/dist/components/progress/index.js +1 -1
  101. package/dist/components/progress/index.jsx +2 -2
  102. package/dist/components/qr-code/index.js +1 -1
  103. package/dist/components/qr-code/index.jsx +2 -2
  104. package/dist/components/radio-group/index.js +1 -1
  105. package/dist/components/radio-group/index.jsx +2 -2
  106. package/dist/components/rating-group/index.js +1 -1
  107. package/dist/components/rating-group/index.jsx +4 -4
  108. package/dist/components/scroll-area/index.js +1 -1
  109. package/dist/components/scroll-area/index.jsx +2 -2
  110. package/dist/components/segment-group/index.js +1 -1
  111. package/dist/components/segment-group/index.jsx +2 -2
  112. package/dist/components/select/index.js +1 -1
  113. package/dist/components/select/index.jsx +5 -5
  114. package/dist/components/signature-pad/index.js +1 -1
  115. package/dist/components/signature-pad/index.jsx +4 -4
  116. package/dist/components/slider/index.js +1 -1
  117. package/dist/components/slider/index.jsx +2 -2
  118. package/dist/components/splitter/index.js +1 -1
  119. package/dist/components/splitter/index.jsx +2 -2
  120. package/dist/components/steps/index.js +1 -1
  121. package/dist/components/steps/index.jsx +2 -2
  122. package/dist/components/switch/index.js +1 -1
  123. package/dist/components/switch/index.jsx +4 -4
  124. package/dist/components/tabs/index.js +1 -1
  125. package/dist/components/tabs/index.jsx +2 -2
  126. package/dist/components/tags-input/index.js +1 -1
  127. package/dist/components/tags-input/index.jsx +4 -4
  128. package/dist/components/timer/index.jsx +1 -1
  129. package/dist/components/toast/index.js +1 -1
  130. package/dist/components/toast/index.jsx +2 -2
  131. package/dist/components/toggle-group/index.js +1 -1
  132. package/dist/components/toggle-group/index.jsx +2 -2
  133. package/dist/components/tooltip/index.js +1 -1
  134. package/dist/components/tooltip/index.jsx +2 -2
  135. package/dist/components/tour/index.js +1 -1
  136. package/dist/components/tour/index.jsx +2 -2
  137. package/dist/components/tree-view/index.js +1 -1
  138. package/dist/components/tree-view/index.jsx +3 -3
  139. package/dist/index.js +69 -69
  140. package/dist/index.jsx +341 -341
  141. package/dist/providers/index.js +1 -1
  142. package/dist/providers/index.jsx +4 -4
  143. package/package.json +63 -63
  144. package/dist/chunk/{YENHTIT6.js → 2G3XSL5X.js} +1 -1
  145. package/dist/chunk/{2BFJIRAK.js → 2PUG56L6.js} +1 -1
  146. package/dist/chunk/{Q7K5GRG2.jsx → 2S7Z6JX4.jsx} +3 -3
  147. package/dist/chunk/{Z5L7ULFZ.js → 2ZJJQCRC.js} +1 -1
  148. package/dist/chunk/{36P5AXKU.js → 33WPGMEN.js} +1 -1
  149. package/dist/chunk/{UDBRICA6.js → 3YM53Z6T.js} +1 -1
  150. package/dist/chunk/{O5M2FPMH.js → 3YPP6L6Q.js} +1 -1
  151. package/dist/chunk/{7B2MTJPJ.jsx → 4GEAI2WA.jsx} +3 -3
  152. package/dist/chunk/{M3S2UEA7.js → 4QVZJ5ML.js} +1 -1
  153. package/dist/chunk/{WT5KEZUJ.js → 536HCWLL.js} +1 -1
  154. package/dist/chunk/{S7F5ETXJ.js → 5JS2MHQE.js} +1 -1
  155. package/dist/chunk/{VC57LYBD.jsx → 6QF5SDIE.jsx} +3 -3
  156. package/dist/chunk/{JOPZMH6Q.jsx → AQ27SOWE.jsx} +3 -3
  157. package/dist/chunk/{K32NALIW.js → AQBFQJ3Q.js} +1 -1
  158. package/dist/chunk/{ZMMBPM35.jsx → CCK5XI24.jsx} +3 -3
  159. package/dist/chunk/{HI7OENS5.js → CGNUC23H.js} +1 -1
  160. package/dist/chunk/{O4IVFUVT.jsx → CNHYYRWI.jsx} +3 -3
  161. package/dist/chunk/{TWZUCWKG.js → CR7T4TQD.js} +1 -1
  162. package/dist/chunk/{D6FFYEZW.jsx → DH3KPRGA.jsx} +3 -3
  163. package/dist/chunk/{K3ONGLLK.jsx → DR7CHNBO.jsx} +3 -3
  164. package/dist/chunk/{JLPPHEZV.js → EMVS6NWP.js} +1 -1
  165. package/dist/chunk/{QQMFSE7Q.jsx → F3HHU2RK.jsx} +3 -3
  166. package/dist/chunk/{UXUJ2LD6.js → F4DBA2W2.js} +1 -1
  167. package/dist/chunk/{FJR3IQ57.jsx → FKF6FOYL.jsx} +3 -3
  168. package/dist/chunk/{B7UDMWBC.jsx → FXYVJXLF.jsx} +3 -3
  169. package/dist/chunk/{2W623CVF.jsx → IEJ4RWIV.jsx} +3 -3
  170. package/dist/chunk/{W33NQFXF.js → ITAE33UN.js} +1 -1
  171. package/dist/chunk/{RCX3BG4L.jsx → J6B3R7PY.jsx} +3 -3
  172. package/dist/chunk/{H55FBH2X.jsx → JEKNEIFC.jsx} +3 -3
  173. package/dist/chunk/{SYNEPEHD.js → JLEHJHHW.js} +1 -1
  174. package/dist/chunk/{5MH7IW2U.jsx → KEZ2WH2A.jsx} +3 -3
  175. package/dist/chunk/{62N4ZDOB.js → KTDBBD3I.js} +1 -1
  176. package/dist/chunk/{BX734ZD7.js → LQZTXA2V.js} +1 -1
  177. package/dist/chunk/{VDRVAOKQ.js → M3PQVDTA.js} +1 -1
  178. package/dist/chunk/{ETBHESWM.jsx → MNZUELWU.jsx} +3 -3
  179. package/dist/chunk/{XRV7I5LE.jsx → OF7DNWIQ.jsx} +3 -3
  180. package/dist/chunk/{HYQNCIWP.js → Q5A3MS3U.js} +1 -1
  181. package/dist/chunk/{7UYY44WH.jsx → QTWOIUHU.jsx} +3 -3
  182. package/dist/chunk/{RTSM3MM5.jsx → RYD4Z3LT.jsx} +3 -3
  183. package/dist/chunk/{UWQ2GKVZ.jsx → TW456WML.jsx} +3 -3
  184. package/dist/chunk/{FLYTMLX4.js → UFUCDO7B.js} +1 -1
  185. package/dist/chunk/{2RZITRBG.jsx → UOOMXEJO.jsx} +3 -3
  186. package/dist/chunk/{RVZWPVOQ.jsx → UOTT3RUB.jsx} +3 -3
  187. package/dist/chunk/{KQ6IUY4K.js → UZ7SFAVT.js} +1 -1
  188. package/dist/chunk/{GCQCOMQH.js → VKXIXTM7.js} +1 -1
  189. package/dist/chunk/{4CGGPY3A.jsx → VRCOVKZM.jsx} +3 -3
  190. package/dist/chunk/{B7OY6YTK.js → WGZNF7D4.js} +1 -1
  191. package/dist/chunk/{DBNXBHAT.js → WNAARMIE.js} +1 -1
  192. package/dist/chunk/{5KWWA73X.jsx → XH4Y4U2G.jsx} +3 -3
  193. package/dist/chunk/{HKNRED3R.jsx → XNAQLSZW.jsx} +3 -3
  194. package/dist/chunk/{JLH74767.jsx → XXP27BHC.jsx} +3 -3
  195. package/dist/chunk/{ZV3HBWS5.jsx → YIPYNXJY.jsx} +3 -3
  196. package/dist/chunk/{7B5HD3HF.js → YKTNXZQT.js} +1 -1
  197. package/dist/chunk/{P2OA7NSB.js → YWUMEZK2.js} +1 -1
  198. package/dist/chunk/{VAEEL2O7.jsx → ZGPHPTSF.jsx} +3 -3
  199. package/dist/chunk/{QARPXWDS.js → ZZZCGUS6.js} +1 -1
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './TPLBK6KL.js';
1
+ import { useFieldContext } from './B37HJ43Y.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useEnvironmentContext } from './5QLLQM7E.js';
5
4
  import { useLocaleContext } from './RVOPDSQY.js';
5
+ import { useEnvironmentContext } from './5QLLQM7E.js';
6
6
  import { runIfFn } from './DT73WLR4.js';
7
7
  import { createContext } from './THN5C4U6.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,9 +1,9 @@
1
- import { useFieldContext } from './TPLBK6KL.js';
1
+ import { useFieldContext } from './B37HJ43Y.js';
2
2
  import { checkboxAnatomy } from './G5RHOVDI.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
5
- import { useEnvironmentContext } from './5QLLQM7E.js';
6
5
  import { useLocaleContext } from './RVOPDSQY.js';
6
+ import { useEnvironmentContext } from './5QLLQM7E.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { createContext } from './THN5C4U6.js';
9
9
  import { __export } from './ESLJRKWD.js';
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './TPLBK6KL.js';
1
+ import { useFieldContext } from './B37HJ43Y.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useEnvironmentContext } from './5QLLQM7E.js';
5
4
  import { useLocaleContext } from './RVOPDSQY.js';
5
+ import { useEnvironmentContext } from './5QLLQM7E.js';
6
6
  import { runIfFn } from './DT73WLR4.js';
7
7
  import { createContext } from './THN5C4U6.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,10 +1,10 @@
1
1
  import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './FW6EZLZL.js';
2
- import { useFieldContext } from './TPLBK6KL.js';
2
+ import { useFieldContext } from './B37HJ43Y.js';
3
3
  import { composeRefs } from './ROP6QZQ7.js';
4
4
  import { createSplitProps } from './ZMHI4GDJ.js';
5
5
  import { ark } from './EPLBB4QN.js';
6
- import { useEnvironmentContext } from './5QLLQM7E.js';
7
6
  import { useLocaleContext } from './RVOPDSQY.js';
7
+ import { useEnvironmentContext } from './5QLLQM7E.js';
8
8
  import { runIfFn } from './DT73WLR4.js';
9
9
  import { createContext } from './THN5C4U6.js';
10
10
  import { __export } from './ESLJRKWD.js';
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./5KPLCG77.jsx";
3
+ } from "./CCVDHSBF.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
- useLocaleContext
12
- } from "./JFOWNFC7.jsx";
13
10
  import {
14
11
  useEnvironmentContext
15
12
  } from "./CGW54HAQ.jsx";
13
+ import {
14
+ useLocaleContext
15
+ } from "./JFOWNFC7.jsx";
16
16
  import {
17
17
  runIfFn
18
18
  } from "./KGOB2IMX.jsx";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./5KPLCG77.jsx";
3
+ } from "./CCVDHSBF.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
- useLocaleContext
12
- } from "./JFOWNFC7.jsx";
13
10
  import {
14
11
  useEnvironmentContext
15
12
  } from "./CGW54HAQ.jsx";
13
+ import {
14
+ useLocaleContext
15
+ } from "./JFOWNFC7.jsx";
16
16
  import {
17
17
  runIfFn
18
18
  } from "./KGOB2IMX.jsx";
@@ -1,9 +1,9 @@
1
- import { useCollapsibleContext, collapsible_exports } from './TWZUCWKG.js';
1
+ import { useCollapsibleContext, collapsible_exports } from './CR7T4TQD.js';
2
2
  import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './GUFIKGZ6.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
5
- import { useEnvironmentContext } from './5QLLQM7E.js';
6
5
  import { useLocaleContext } from './RVOPDSQY.js';
6
+ import { useEnvironmentContext } from './5QLLQM7E.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { createContext } from './THN5C4U6.js';
9
9
  import { __export } from './ESLJRKWD.js';
@@ -1,4 +1,4 @@
1
- import { useFieldsetContext } from './UXNQOU36.js';
1
+ import { useFieldsetContext } from './FZWU5W76.js';
2
2
  import { composeRefs } from './ROP6QZQ7.js';
3
3
  import { parts } from './DAGJUXUK.js';
4
4
  import { createSplitProps } from './ZMHI4GDJ.js';
@@ -6,7 +6,7 @@ import {
6
6
  } from "./2P5Y3YCK.jsx";
7
7
  import {
8
8
  useFieldContext
9
- } from "./5KPLCG77.jsx";
9
+ } from "./CCVDHSBF.jsx";
10
10
  import {
11
11
  composeRefs
12
12
  } from "./PT2CJE3O.jsx";
@@ -19,12 +19,12 @@ import {
19
19
  import {
20
20
  ark
21
21
  } from "./UFYZ7HLU.jsx";
22
- import {
23
- useLocaleContext
24
- } from "./JFOWNFC7.jsx";
25
22
  import {
26
23
  useEnvironmentContext
27
24
  } from "./CGW54HAQ.jsx";
25
+ import {
26
+ useLocaleContext
27
+ } from "./JFOWNFC7.jsx";
28
28
  import {
29
29
  runIfFn
30
30
  } from "./KGOB2IMX.jsx";
@@ -2,7 +2,7 @@ import {
2
2
  tree_view_exports,
3
3
  useTreeView,
4
4
  useTreeViewContext
5
- } from "./IEP4WYW2.jsx";
5
+ } from "./GG7F5STH.jsx";
6
6
  import {
7
7
  createTreeCollection
8
8
  } from "./EFII6TXL.jsx";
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './TPLBK6KL.js';
1
+ import { useFieldContext } from './B37HJ43Y.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useEnvironmentContext } from './5QLLQM7E.js';
5
4
  import { useLocaleContext } from './RVOPDSQY.js';
5
+ import { useEnvironmentContext } from './5QLLQM7E.js';
6
6
  import { runIfFn } from './DT73WLR4.js';
7
7
  import { createContext } from './THN5C4U6.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useFieldsetContext
3
- } from "./2UC6SEQ4.jsx";
3
+ } from "./XV2QYX2I.jsx";
4
4
  import {
5
5
  composeRefs
6
6
  } from "./PT2CJE3O.jsx";
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './TPLBK6KL.js';
1
+ import { useFieldContext } from './B37HJ43Y.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useEnvironmentContext } from './5QLLQM7E.js';
5
4
  import { useLocaleContext } from './RVOPDSQY.js';
5
+ import { useEnvironmentContext } from './5QLLQM7E.js';
6
6
  import { runIfFn } from './DT73WLR4.js';
7
7
  import { createContext } from './THN5C4U6.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,3 +1,4 @@
1
+ import { composeRefs } from './ROP6QZQ7.js';
1
2
  import { parts } from './FCMJTSIR.js';
2
3
  import { createSplitProps } from './ZMHI4GDJ.js';
3
4
  import { ark } from './EPLBB4QN.js';
@@ -5,9 +6,9 @@ import { useEnvironmentContext } from './5QLLQM7E.js';
5
6
  import { runIfFn } from './DT73WLR4.js';
6
7
  import { createContext } from './THN5C4U6.js';
7
8
  import { __export } from './ESLJRKWD.js';
8
- import { createComponent } from 'solid-js/web';
9
+ import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
9
10
  import { mergeProps } from '@zag-js/solid';
10
- import { Show, mergeProps as mergeProps$1, createUniqueId, createSignal, createEffect, createMemo } from 'solid-js';
11
+ import { Show, mergeProps as mergeProps$2, createSignal, createUniqueId, onMount, onCleanup, createMemo } from 'solid-js';
11
12
  import { dataAttr } from '@zag-js/dom-query';
12
13
 
13
14
  // src/components/fieldset/use-fieldset-context.ts
@@ -42,28 +43,42 @@ var FieldsetLegend = (props) => {
42
43
  return createComponent(ark.legend, mergedProps);
43
44
  };
44
45
  var useFieldset = (props) => {
45
- useEnvironmentContext();
46
- const mergedProps = mergeProps$1({ disabled: false, invalid: false }, runIfFn(props));
47
- let rootRef;
46
+ const env = useEnvironmentContext();
47
+ const mergedProps = mergeProps$2({ disabled: false, invalid: false }, runIfFn(props));
48
+ const [rootRef, setRootRef] = createSignal(void 0);
48
49
  const id = mergedProps.id ?? createUniqueId();
49
50
  const legendId = `fieldset::${id}::legend`;
50
51
  const errorTextId = `fieldset::${id}::error-text`;
51
52
  const helperTextId = `fieldset::${id}::helper-text`;
52
- const [hasErrorText] = createSignal(false);
53
- const [hasHelperText] = createSignal(false);
54
- createEffect(() => {
55
- return;
53
+ const [hasErrorText, setHasErrorText] = createSignal(false);
54
+ const [hasHelperText, setHasHelperText] = createSignal(false);
55
+ onMount(() => {
56
+ const rootNode = rootRef();
57
+ if (!rootNode) return;
58
+ const checkTextElements = () => {
59
+ const docOrShadowRoot = env().getRootNode();
60
+ setHasErrorText(!!docOrShadowRoot.getElementById(errorTextId));
61
+ setHasHelperText(!!docOrShadowRoot.getElementById(helperTextId));
62
+ };
63
+ checkTextElements();
64
+ const win = env().getWindow();
65
+ const observer = new win.MutationObserver(checkTextElements);
66
+ observer.observe(rootNode, { childList: true, subtree: true });
67
+ onCleanup(() => observer.disconnect());
68
+ });
69
+ const labelIds = createMemo(() => {
70
+ const ids = [];
71
+ if (hasErrorText() && mergedProps.invalid) ids.push(errorTextId);
72
+ if (hasHelperText()) ids.push(helperTextId);
73
+ return ids;
56
74
  });
57
- const labelIds = [];
58
- if (hasErrorText() && mergedProps.invalid) labelIds.push(errorTextId);
59
- if (hasHelperText()) labelIds.push(helperTextId);
60
75
  const getRootProps = () => ({
61
76
  ...parts.root.attrs,
62
77
  disabled: mergedProps.disabled,
63
78
  "data-disabled": dataAttr(mergedProps.disabled),
64
79
  "data-invalid": dataAttr(mergedProps.invalid),
65
80
  "aria-labelledby": legendId,
66
- "aria-describedby": labelIds.join(" ") || void 0
81
+ "aria-describedby": labelIds().join(" ") || void 0
67
82
  });
68
83
  const getLegendProps = () => ({
69
84
  id: legendId,
@@ -82,7 +97,7 @@ var useFieldset = (props) => {
82
97
  });
83
98
  return createMemo(() => ({
84
99
  refs: {
85
- rootRef
100
+ rootRef: setRootRef
86
101
  },
87
102
  disabled: mergedProps.disabled,
88
103
  invalid: mergedProps.invalid,
@@ -101,7 +116,12 @@ var FieldsetRoot = (props) => {
101
116
  return createComponent(FieldsetProvider, {
102
117
  value: fieldset,
103
118
  get children() {
104
- return createComponent(ark.fieldset, mergedProps);
119
+ return createComponent(ark.fieldset, mergeProps$1(mergedProps, {
120
+ ref(r$) {
121
+ var _ref$ = composeRefs(fieldset().refs.rootRef, props.ref);
122
+ typeof _ref$ === "function" && _ref$(r$);
123
+ }
124
+ }));
105
125
  }
106
126
  });
107
127
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  collapsible_exports
3
- } from "./2RZITRBG.jsx";
3
+ } from "./UOOMXEJO.jsx";
4
4
  import {
5
5
  RenderStrategyProvider,
6
6
  splitRenderStrategyProps,
@@ -12,12 +12,12 @@ import {
12
12
  import {
13
13
  ark
14
14
  } from "./UFYZ7HLU.jsx";
15
- import {
16
- useLocaleContext
17
- } from "./JFOWNFC7.jsx";
18
15
  import {
19
16
  useEnvironmentContext
20
17
  } from "./CGW54HAQ.jsx";
18
+ import {
19
+ useLocaleContext
20
+ } from "./JFOWNFC7.jsx";
21
21
  import {
22
22
  runIfFn
23
23
  } from "./KGOB2IMX.jsx";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./5KPLCG77.jsx";
3
+ } from "./CCVDHSBF.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
- useLocaleContext
12
- } from "./JFOWNFC7.jsx";
13
10
  import {
14
11
  useEnvironmentContext
15
12
  } from "./CGW54HAQ.jsx";
13
+ import {
14
+ useLocaleContext
15
+ } from "./JFOWNFC7.jsx";
16
16
  import {
17
17
  runIfFn
18
18
  } from "./KGOB2IMX.jsx";
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './TPLBK6KL.js';
1
+ import { useFieldContext } from './B37HJ43Y.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useEnvironmentContext } from './5QLLQM7E.js';
5
4
  import { useLocaleContext } from './RVOPDSQY.js';
5
+ import { useEnvironmentContext } from './5QLLQM7E.js';
6
6
  import { runIfFn } from './DT73WLR4.js';
7
7
  import { createContext } from './THN5C4U6.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './TPLBK6KL.js';
1
+ import { useFieldContext } from './B37HJ43Y.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useEnvironmentContext } from './5QLLQM7E.js';
5
4
  import { useLocaleContext } from './RVOPDSQY.js';
5
+ import { useEnvironmentContext } from './5QLLQM7E.js';
6
6
  import { runIfFn } from './DT73WLR4.js';
7
7
  import { createContext } from './THN5C4U6.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./5KPLCG77.jsx";
3
+ } from "./CCVDHSBF.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
- useLocaleContext
12
- } from "./JFOWNFC7.jsx";
13
10
  import {
14
11
  useEnvironmentContext
15
12
  } from "./CGW54HAQ.jsx";
13
+ import {
14
+ useLocaleContext
15
+ } from "./JFOWNFC7.jsx";
16
16
  import {
17
17
  runIfFn
18
18
  } from "./KGOB2IMX.jsx";
@@ -1,11 +1,11 @@
1
1
  import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './FW6EZLZL.js';
2
- import { useFieldContext } from './TPLBK6KL.js';
2
+ import { useFieldContext } from './B37HJ43Y.js';
3
3
  import { composeRefs } from './ROP6QZQ7.js';
4
4
  import { colorPickerAnatomy } from './7ANKVUWM.js';
5
5
  import { createSplitProps } from './ZMHI4GDJ.js';
6
6
  import { ark } from './EPLBB4QN.js';
7
- import { useEnvironmentContext } from './5QLLQM7E.js';
8
7
  import { useLocaleContext } from './RVOPDSQY.js';
8
+ import { useEnvironmentContext } from './5QLLQM7E.js';
9
9
  import { runIfFn } from './DT73WLR4.js';
10
10
  import { createContext } from './THN5C4U6.js';
11
11
  import { __export } from './ESLJRKWD.js';
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./5KPLCG77.jsx";
3
+ } from "./CCVDHSBF.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
- useLocaleContext
12
- } from "./JFOWNFC7.jsx";
13
10
  import {
14
11
  useEnvironmentContext
15
12
  } from "./CGW54HAQ.jsx";
13
+ import {
14
+ useLocaleContext
15
+ } from "./JFOWNFC7.jsx";
16
16
  import {
17
17
  runIfFn
18
18
  } from "./KGOB2IMX.jsx";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./2P5Y3YCK.jsx";
7
7
  import {
8
8
  useFieldContext
9
- } from "./5KPLCG77.jsx";
9
+ } from "./CCVDHSBF.jsx";
10
10
  import {
11
11
  composeRefs
12
12
  } from "./PT2CJE3O.jsx";
@@ -19,12 +19,12 @@ import {
19
19
  import {
20
20
  ark
21
21
  } from "./UFYZ7HLU.jsx";
22
- import {
23
- useLocaleContext
24
- } from "./JFOWNFC7.jsx";
25
22
  import {
26
23
  useEnvironmentContext
27
24
  } from "./CGW54HAQ.jsx";
25
+ import {
26
+ useLocaleContext
27
+ } from "./JFOWNFC7.jsx";
28
28
  import {
29
29
  runIfFn
30
30
  } from "./KGOB2IMX.jsx";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./2P5Y3YCK.jsx";
7
7
  import {
8
8
  useFieldContext
9
- } from "./5KPLCG77.jsx";
9
+ } from "./CCVDHSBF.jsx";
10
10
  import {
11
11
  composeRefs
12
12
  } from "./PT2CJE3O.jsx";
@@ -16,12 +16,12 @@ import {
16
16
  import {
17
17
  ark
18
18
  } from "./UFYZ7HLU.jsx";
19
- import {
20
- useLocaleContext
21
- } from "./JFOWNFC7.jsx";
22
19
  import {
23
20
  useEnvironmentContext
24
21
  } from "./CGW54HAQ.jsx";
22
+ import {
23
+ useLocaleContext
24
+ } from "./JFOWNFC7.jsx";
25
25
  import {
26
26
  runIfFn
27
27
  } from "./KGOB2IMX.jsx";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./5KPLCG77.jsx";
3
+ } from "./CCVDHSBF.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
- useLocaleContext
12
- } from "./JFOWNFC7.jsx";
13
10
  import {
14
11
  useEnvironmentContext
15
12
  } from "./CGW54HAQ.jsx";
13
+ import {
14
+ useLocaleContext
15
+ } from "./JFOWNFC7.jsx";
16
16
  import {
17
17
  runIfFn
18
18
  } from "./KGOB2IMX.jsx";
@@ -1,11 +1,11 @@
1
1
  import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './FW6EZLZL.js';
2
- import { useFieldContext } from './TPLBK6KL.js';
2
+ import { useFieldContext } from './B37HJ43Y.js';
3
3
  import { composeRefs } from './ROP6QZQ7.js';
4
4
  import { comboboxAnatomy } from './POIATK64.js';
5
5
  import { createSplitProps } from './ZMHI4GDJ.js';
6
6
  import { ark } from './EPLBB4QN.js';
7
- import { useEnvironmentContext } from './5QLLQM7E.js';
8
7
  import { useLocaleContext } from './RVOPDSQY.js';
8
+ import { useEnvironmentContext } from './5QLLQM7E.js';
9
9
  import { runIfFn } from './DT73WLR4.js';
10
10
  import { createContext } from './THN5C4U6.js';
11
11
  import { __export } from './ESLJRKWD.js';
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./5KPLCG77.jsx";
3
+ } from "./CCVDHSBF.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
- useLocaleContext
12
- } from "./JFOWNFC7.jsx";
13
10
  import {
14
11
  useEnvironmentContext
15
12
  } from "./CGW54HAQ.jsx";
13
+ import {
14
+ useLocaleContext
15
+ } from "./JFOWNFC7.jsx";
16
16
  import {
17
17
  runIfFn
18
18
  } from "./KGOB2IMX.jsx";
@@ -1,4 +1,4 @@
1
- import { useTreeViewContext, tree_view_exports, useTreeView } from './TQYNU5YV.js';
1
+ import { useTreeViewContext, tree_view_exports, useTreeView } from './YBQYQBZP.js';
2
2
  import { createTreeCollection } from './APULXWCH.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { createContext } from './THN5C4U6.js';
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./5KPLCG77.jsx";
3
+ } from "./CCVDHSBF.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
- useLocaleContext
12
- } from "./JFOWNFC7.jsx";
13
10
  import {
14
11
  useEnvironmentContext
15
12
  } from "./CGW54HAQ.jsx";
13
+ import {
14
+ useLocaleContext
15
+ } from "./JFOWNFC7.jsx";
16
16
  import {
17
17
  runIfFn
18
18
  } from "./KGOB2IMX.jsx";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  collapsible_exports,
3
3
  useCollapsibleContext
4
- } from "./2RZITRBG.jsx";
4
+ } from "./UOOMXEJO.jsx";
5
5
  import {
6
6
  RenderStrategyProvider,
7
7
  splitRenderStrategyProps,
@@ -13,12 +13,12 @@ import {
13
13
  import {
14
14
  ark
15
15
  } from "./UFYZ7HLU.jsx";
16
- import {
17
- useLocaleContext
18
- } from "./JFOWNFC7.jsx";
19
16
  import {
20
17
  useEnvironmentContext
21
18
  } from "./CGW54HAQ.jsx";
19
+ import {
20
+ useLocaleContext
21
+ } from "./JFOWNFC7.jsx";
22
22
  import {
23
23
  runIfFn
24
24
  } from "./KGOB2IMX.jsx";
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './TPLBK6KL.js';
1
+ import { useFieldContext } from './B37HJ43Y.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useEnvironmentContext } from './5QLLQM7E.js';
5
4
  import { useLocaleContext } from './RVOPDSQY.js';
5
+ import { useEnvironmentContext } from './5QLLQM7E.js';
6
6
  import { runIfFn } from './DT73WLR4.js';
7
7
  import { createContext } from './THN5C4U6.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './TPLBK6KL.js';
1
+ import { useFieldContext } from './B37HJ43Y.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useEnvironmentContext } from './5QLLQM7E.js';
5
4
  import { useLocaleContext } from './RVOPDSQY.js';
5
+ import { useEnvironmentContext } from './5QLLQM7E.js';
6
6
  import { runIfFn } from './DT73WLR4.js';
7
7
  import { createContext } from './THN5C4U6.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './TPLBK6KL.js';
1
+ import { useFieldContext } from './B37HJ43Y.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useEnvironmentContext } from './5QLLQM7E.js';
5
4
  import { useLocaleContext } from './RVOPDSQY.js';
5
+ import { useEnvironmentContext } from './5QLLQM7E.js';
6
6
  import { runIfFn } from './DT73WLR4.js';
7
7
  import { createContext } from './THN5C4U6.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./5KPLCG77.jsx";
3
+ } from "./CCVDHSBF.jsx";
4
4
  import {
5
5
  checkboxAnatomy
6
6
  } from "./JCNWK3IN.jsx";
@@ -10,12 +10,12 @@ import {
10
10
  import {
11
11
  ark
12
12
  } from "./UFYZ7HLU.jsx";
13
- import {
14
- useLocaleContext
15
- } from "./JFOWNFC7.jsx";
16
13
  import {
17
14
  useEnvironmentContext
18
15
  } from "./CGW54HAQ.jsx";
16
+ import {
17
+ useLocaleContext
18
+ } from "./JFOWNFC7.jsx";
19
19
  import {
20
20
  runIfFn
21
21
  } from "./KGOB2IMX.jsx";