@ark-ui/solid 5.34.1 → 5.35.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 (218) hide show
  1. package/dist/chunk/{PSH3YKBU.jsx → 2HUSFSP6.jsx} +1 -0
  2. package/dist/chunk/{4RPVBIDO.jsx → 2PMFWHY7.jsx} +4 -4
  3. package/dist/chunk/{HMG7R2BF.js → 3MKAB636.js} +1 -1
  4. package/dist/chunk/{HFIUYKXK.js → 5NAACJDR.js} +2 -2
  5. package/dist/chunk/{ZW5OSILD.jsx → 6AZUJM6R.jsx} +4 -4
  6. package/dist/chunk/{RDZRRODO.js → 7KHRWOP3.js} +2 -2
  7. package/dist/chunk/{Z3LUEVRS.jsx → 7MJQX5PW.jsx} +4 -4
  8. package/dist/chunk/A22FKB7P.js +31 -0
  9. package/dist/chunk/{ZLZED63N.jsx → ACLCLMIV.jsx} +4 -4
  10. package/dist/chunk/{DIPPYNXP.jsx → CGTFBURM.jsx} +41 -21
  11. package/dist/chunk/{ICBFK7ML.js → CIUANFIK.js} +3 -3
  12. package/dist/chunk/{HNGLQNVW.jsx → DIS3ZZAN.jsx} +4 -4
  13. package/dist/chunk/{HKJ2U4GE.js → DK2NLTID.js} +3 -3
  14. package/dist/chunk/{ZMQW6EBL.jsx → DK7UDQTF.jsx} +1 -1
  15. package/dist/chunk/{JR3CTJ4R.js → DXQHUTCP.js} +2 -2
  16. package/dist/chunk/{ZG4V7QA5.jsx → EDCLBA5D.jsx} +4 -4
  17. package/dist/chunk/{DYFALYJE.jsx → F4KT5QYN.jsx} +1 -0
  18. package/dist/chunk/{JBLKWLWL.jsx → FDUCX4MC.jsx} +5 -4
  19. package/dist/chunk/{VIERJSCF.js → G5CVQ36U.js} +2 -2
  20. package/dist/chunk/{CXS7DDU2.js → GD3RUSNG.js} +1 -1
  21. package/dist/chunk/{BVQ6NO6X.js → GOAPD2JV.js} +2 -2
  22. package/dist/chunk/{PEIMGDXM.js → HNRRPL33.js} +2 -2
  23. package/dist/chunk/{QUQ6VBQO.js → IBHRQZGE.js} +2 -2
  24. package/dist/chunk/{RSDHPGPT.js → IPRIZ6BP.js} +1 -1
  25. package/dist/chunk/{O6MULJWC.jsx → KKCEBT7Y.jsx} +5 -4
  26. package/dist/chunk/{A5BBGDPW.js → KRXWQWRE.js} +3 -3
  27. package/dist/chunk/{YXEZ562D.js → KXM3NJJB.js} +3 -3
  28. package/dist/chunk/{BKN7PQAU.jsx → LPZLGLBC.jsx} +4 -4
  29. package/dist/chunk/{4CRPJKY4.jsx → MQS2BECL.jsx} +4 -4
  30. package/dist/chunk/{GUAJ4JKS.jsx → NZXZEQI2.jsx} +4 -4
  31. package/dist/chunk/OIDCX2FB.jsx +41 -0
  32. package/dist/chunk/{WTS7KK6L.js → PEJSTIH7.js} +2 -2
  33. package/dist/chunk/{RJHFA54S.jsx → QGEXJOXJ.jsx} +5 -4
  34. package/dist/chunk/{QC2RXUV4.js → RHEXRGDH.js} +2 -2
  35. package/dist/chunk/{MQWCA23U.jsx → RM5AUPVM.jsx} +5 -4
  36. package/dist/chunk/{5UOOPLZE.jsx → SD3IYJYF.jsx} +4 -4
  37. package/dist/chunk/{65QK7XXR.jsx → T7LMRH7K.jsx} +1 -1
  38. package/dist/chunk/{NZUCDANE.js → TGLCSGGM.js} +2 -2
  39. package/dist/chunk/{PPH4D7AF.jsx → TSCPRMQ2.jsx} +49 -2
  40. package/dist/chunk/{S3VN2YFH.js → UJB7LDER.js} +53 -3
  41. package/dist/chunk/{WHD7YP7Q.jsx → WDT2YTYA.jsx} +4 -4
  42. package/dist/chunk/{3JJJT3ZB.jsx → WL6BMSLH.jsx} +6 -4
  43. package/dist/chunk/{NTHXB7S3.js → XVSFDH7P.js} +2 -2
  44. package/dist/chunk/{OV5BR6SL.js → XZ6W75HO.js} +2 -2
  45. package/dist/chunk/{63MSNXTT.js → XZPEHLBX.js} +2 -2
  46. package/dist/chunk/{KXKOMCVA.js → YHJDFVCR.js} +1 -1
  47. package/dist/chunk/{LRDE5RNI.js → Z7LM3YFL.js} +14 -2
  48. package/dist/chunk/{TGBMUR4Z.jsx → ZU2KKADZ.jsx} +4 -4
  49. package/dist/components/accordion/index.js +1 -1
  50. package/dist/components/accordion/index.jsx +4 -4
  51. package/dist/components/anatomy.d.ts +1 -1
  52. package/dist/components/anatomy.js +9 -9
  53. package/dist/components/anatomy.jsx +31 -31
  54. package/dist/components/angle-slider/index.js +1 -1
  55. package/dist/components/angle-slider/index.jsx +3 -3
  56. package/dist/components/avatar/index.js +1 -1
  57. package/dist/components/avatar/index.jsx +3 -3
  58. package/dist/components/carousel/index.js +1 -1
  59. package/dist/components/carousel/index.jsx +3 -3
  60. package/dist/components/checkbox/index.js +1 -1
  61. package/dist/components/checkbox/index.jsx +4 -4
  62. package/dist/components/clipboard/index.js +1 -1
  63. package/dist/components/clipboard/index.jsx +3 -3
  64. package/dist/components/collapsible/index.js +1 -1
  65. package/dist/components/collapsible/index.jsx +3 -3
  66. package/dist/components/color-picker/index.js +1 -1
  67. package/dist/components/color-picker/index.jsx +4 -4
  68. package/dist/components/combobox/index.js +1 -1
  69. package/dist/components/combobox/index.jsx +4 -4
  70. package/dist/components/date-picker/index.js +1 -1
  71. package/dist/components/date-picker/index.jsx +3 -3
  72. package/dist/components/dialog/index.js +1 -1
  73. package/dist/components/dialog/index.jsx +3 -3
  74. package/dist/components/download-trigger/index.jsx +2 -2
  75. package/dist/components/drawer/index.d.ts +14 -2
  76. package/dist/components/drawer/index.js +1 -1
  77. package/dist/components/drawer/index.jsx +7 -3
  78. package/dist/components/editable/index.js +1 -1
  79. package/dist/components/editable/index.jsx +4 -4
  80. package/dist/components/field/index.d.ts +13 -1
  81. package/dist/components/field/index.js +1 -1
  82. package/dist/components/field/index.jsx +3 -3
  83. package/dist/components/fieldset/index.jsx +2 -2
  84. package/dist/components/file-upload/index.js +1 -1
  85. package/dist/components/file-upload/index.jsx +4 -4
  86. package/dist/components/floating-panel/index.js +1 -1
  87. package/dist/components/floating-panel/index.jsx +3 -3
  88. package/dist/components/format/index.jsx +2 -2
  89. package/dist/components/frame/index.js +1 -1
  90. package/dist/components/frame/index.jsx +3 -3
  91. package/dist/components/hover-card/index.js +1 -1
  92. package/dist/components/hover-card/index.jsx +3 -3
  93. package/dist/components/image-cropper/index.js +1 -1
  94. package/dist/components/image-cropper/index.jsx +3 -3
  95. package/dist/components/index.d.ts +2 -2
  96. package/dist/components/index.js +58 -58
  97. package/dist/components/index.jsx +283 -279
  98. package/dist/components/json-tree-view/index.js +1 -1
  99. package/dist/components/json-tree-view/index.jsx +5 -5
  100. package/dist/components/listbox/index.js +1 -1
  101. package/dist/components/listbox/index.jsx +3 -3
  102. package/dist/components/marquee/index.js +1 -1
  103. package/dist/components/marquee/index.jsx +3 -3
  104. package/dist/components/menu/index.js +1 -1
  105. package/dist/components/menu/index.jsx +3 -3
  106. package/dist/components/navigation-menu/index.js +2 -2
  107. package/dist/components/navigation-menu/index.jsx +5 -4
  108. package/dist/components/number-input/index.js +1 -1
  109. package/dist/components/number-input/index.jsx +4 -4
  110. package/dist/components/pagination/index.js +1 -1
  111. package/dist/components/pagination/index.jsx +3 -3
  112. package/dist/components/password-input/index.js +1 -1
  113. package/dist/components/password-input/index.jsx +4 -4
  114. package/dist/components/pin-input/index.js +1 -1
  115. package/dist/components/pin-input/index.jsx +4 -4
  116. package/dist/components/popover/index.js +1 -1
  117. package/dist/components/popover/index.jsx +3 -3
  118. package/dist/components/progress/index.js +1 -1
  119. package/dist/components/progress/index.jsx +3 -3
  120. package/dist/components/qr-code/index.js +1 -1
  121. package/dist/components/qr-code/index.jsx +3 -3
  122. package/dist/components/radio-group/index.js +1 -1
  123. package/dist/components/radio-group/index.jsx +3 -3
  124. package/dist/components/rating-group/index.js +1 -1
  125. package/dist/components/rating-group/index.jsx +4 -4
  126. package/dist/components/scroll-area/index.js +1 -1
  127. package/dist/components/scroll-area/index.jsx +3 -3
  128. package/dist/components/segment-group/index.js +1 -1
  129. package/dist/components/segment-group/index.jsx +3 -3
  130. package/dist/components/select/index.js +1 -1
  131. package/dist/components/select/index.jsx +4 -4
  132. package/dist/components/signature-pad/index.js +1 -1
  133. package/dist/components/signature-pad/index.jsx +4 -4
  134. package/dist/components/slider/index.js +1 -1
  135. package/dist/components/slider/index.jsx +3 -3
  136. package/dist/components/splitter/index.js +1 -1
  137. package/dist/components/splitter/index.jsx +3 -3
  138. package/dist/components/steps/index.js +1 -1
  139. package/dist/components/steps/index.jsx +3 -3
  140. package/dist/components/switch/index.js +1 -1
  141. package/dist/components/switch/index.jsx +4 -4
  142. package/dist/components/tabs/index.js +1 -1
  143. package/dist/components/tabs/index.jsx +3 -3
  144. package/dist/components/tags-input/index.js +1 -1
  145. package/dist/components/tags-input/index.jsx +4 -4
  146. package/dist/components/timer/index.js +1 -1
  147. package/dist/components/timer/index.jsx +3 -3
  148. package/dist/components/toast/index.js +1 -1
  149. package/dist/components/toast/index.jsx +3 -3
  150. package/dist/components/toggle-group/index.js +1 -1
  151. package/dist/components/toggle-group/index.jsx +3 -3
  152. package/dist/components/tooltip/index.js +1 -1
  153. package/dist/components/tooltip/index.jsx +3 -3
  154. package/dist/components/tour/index.d.ts +1 -1
  155. package/dist/components/tour/index.js +1 -1
  156. package/dist/components/tour/index.jsx +3 -3
  157. package/dist/components/tree-view/index.js +1 -1
  158. package/dist/components/tree-view/index.jsx +4 -4
  159. package/dist/index.d.ts +4 -2
  160. package/dist/index.js +60 -59
  161. package/dist/index.jsx +291 -282
  162. package/dist/providers/index.d.ts +13 -1
  163. package/dist/providers/index.js +2 -1
  164. package/dist/providers/index.jsx +10 -5
  165. package/dist/{tour.anatomy-B2Ub0NWQ.d.ts → tour.anatomy-DjAkBXN5.d.ts} +1 -1
  166. package/package.json +79 -79
  167. package/dist/chunk/LOHA74SM.js +0 -1
  168. package/dist/chunk/ODQYYKL5.jsx +0 -0
  169. package/dist/chunk/{SCCZRXWX.js → 2HZTFCLA.js} +1 -1
  170. package/dist/chunk/{HCLYH5KS.js → 2YYFE6EW.js} +1 -1
  171. package/dist/chunk/{5V7JAJ5W.js → 3CGAZ37C.js} +1 -1
  172. package/dist/chunk/{6QV6SS6W.js → 3QFD7O3R.js} +1 -1
  173. package/dist/chunk/{N2ACHFKW.js → 4NX2BXDE.js} +1 -1
  174. package/dist/chunk/{UJ4FU6HV.js → 6CIJMDKA.js} +1 -1
  175. package/dist/chunk/{OAH52JX6.jsx → 77IURBLR.jsx} +3 -3
  176. package/dist/chunk/{KV2HU7AX.js → 7N7WQTZL.js} +1 -1
  177. package/dist/chunk/{SFGMQBWT.jsx → 7YVDASKP.jsx} +3 -3
  178. package/dist/chunk/{64BWQJ5X.jsx → 7ZEKGJLZ.jsx} +3 -3
  179. package/dist/chunk/{GVJQBGKQ.jsx → ABFLCPUB.jsx} +3 -3
  180. package/dist/chunk/{QM5PBW35.jsx → BUMQJLFN.jsx} +3 -3
  181. package/dist/chunk/{HUB2Z2WJ.js → CSPYRAHE.js} +1 -1
  182. package/dist/chunk/{NMS6DWX3.js → CVZHE2SA.js} +1 -1
  183. package/dist/chunk/{PDHNW6SC.js → EWZDTHD5.js} +1 -1
  184. package/dist/chunk/{Z5FQB54Q.jsx → GSOOONDM.jsx} +3 -3
  185. package/dist/chunk/{RROG5OYX.jsx → GYKEGNPI.jsx} +3 -3
  186. package/dist/chunk/{3EUGCOMV.js → HBI6JRIQ.js} +1 -1
  187. package/dist/chunk/{2JT4XMQZ.jsx → ICDJ5PFE.jsx} +3 -3
  188. package/dist/chunk/{7XAZIS7G.js → IYV66IHX.js} +1 -1
  189. package/dist/chunk/{XNIXPFXJ.js → JTLQTUVA.js} +1 -1
  190. package/dist/chunk/{6C2FCXTS.js → JXG4T6X4.js} +1 -1
  191. package/dist/chunk/{RL5TZPAG.js → LQ6WK4Z4.js} +1 -1
  192. package/dist/chunk/{BWUVF6ZV.jsx → M2R7NELL.jsx} +3 -3
  193. package/dist/chunk/{TFTY2V3E.jsx → MLPK6MO2.jsx} +3 -3
  194. package/dist/chunk/{NH3KCKN2.jsx → MPLFL3UT.jsx} +3 -3
  195. package/dist/chunk/{SPOOGCGR.jsx → MU5CM6ZP.jsx} +3 -3
  196. package/dist/chunk/{WX3PPB36.js → NSXJ2QGV.js} +1 -1
  197. package/dist/chunk/{BNSRP6TN.jsx → ORZMPJPC.jsx} +3 -3
  198. package/dist/chunk/{GOIBDXMD.jsx → P466TCYN.jsx} +3 -3
  199. package/dist/chunk/{77WG4BKE.jsx → QFTA3IOR.jsx} +3 -3
  200. package/dist/chunk/{RJPVNWZG.js → QKALXKQ2.js} +1 -1
  201. package/dist/chunk/{CBYVQ7YD.js → QXSMGAB3.js} +1 -1
  202. package/dist/chunk/{JLP6NZTO.js → RTMU5FC3.js} +1 -1
  203. package/dist/chunk/{HAL7NUB3.js → SMG76T6Y.js} +1 -1
  204. package/dist/chunk/{UQTBTRSG.jsx → TD72MSSI.jsx} +3 -3
  205. package/dist/chunk/{4OJLSY6B.jsx → TG3BV4FJ.jsx} +3 -3
  206. package/dist/chunk/{5ATP7B75.js → TKBMSQRY.js} +1 -1
  207. package/dist/chunk/{BB22DOQW.jsx → TPTP4FRI.jsx} +3 -3
  208. package/dist/chunk/{IRBAVIVZ.js → W5FJUJL2.js} +1 -1
  209. package/dist/chunk/{BGKLKY77.js → XCCC6IWM.js} +1 -1
  210. package/dist/chunk/{BCGASU6B.jsx → XRBGB3XP.jsx} +3 -3
  211. package/dist/chunk/{4V5X4XYS.jsx → XRMLYMEN.jsx} +3 -3
  212. package/dist/chunk/{QYAWWS3T.js → XUKSV26K.js} +1 -1
  213. package/dist/chunk/{H72X6NDR.jsx → YEENL2YA.jsx} +3 -3
  214. package/dist/chunk/{2KZV6B32.jsx → YLT3EBQZ.jsx} +3 -3
  215. package/dist/chunk/{QY2YSMFW.jsx → YW4KS3S5.jsx} +3 -3
  216. package/dist/chunk/{7RLMGBOC.jsx → Z253N6GA.jsx} +3 -3
  217. package/dist/chunk/{MB6S2OKT.jsx → ZOCG4ZHL.jsx} +3 -3
  218. package/dist/chunk/{YVERN3NM.js → ZZDF5GUB.js} +1 -1
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./PPH4D7AF.jsx";
3
+ } from "./TSCPRMQ2.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
7
- import {
8
- useLocaleContext
9
- } from "./HOPBYFHD.jsx";
10
7
  import {
11
8
  useEnvironmentContext
12
9
  } from "./HDGILMRT.jsx";
10
+ import {
11
+ useLocaleContext
12
+ } from "./HOPBYFHD.jsx";
13
13
  import {
14
14
  runIfFn
15
15
  } from "./KGOB2IMX.jsx";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./PPH4D7AF.jsx";
3
+ } from "./TSCPRMQ2.jsx";
4
4
  import {
5
5
  useFieldsetContext
6
6
  } from "./AIK4SKXT.jsx";
@@ -10,12 +10,12 @@ import {
10
10
  import {
11
11
  createSplitProps
12
12
  } from "./6WEDGJKQ.jsx";
13
- import {
14
- useLocaleContext
15
- } from "./HOPBYFHD.jsx";
16
13
  import {
17
14
  useEnvironmentContext
18
15
  } from "./HDGILMRT.jsx";
16
+ import {
17
+ useLocaleContext
18
+ } from "./HOPBYFHD.jsx";
19
19
  import {
20
20
  runIfFn
21
21
  } from "./KGOB2IMX.jsx";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./PPH4D7AF.jsx";
3
+ } from "./TSCPRMQ2.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
7
- import {
8
- useLocaleContext
9
- } from "./HOPBYFHD.jsx";
10
7
  import {
11
8
  useEnvironmentContext
12
9
  } from "./HDGILMRT.jsx";
10
+ import {
11
+ useLocaleContext
12
+ } from "./HOPBYFHD.jsx";
13
13
  import {
14
14
  runIfFn
15
15
  } from "./KGOB2IMX.jsx";
@@ -0,0 +1,41 @@
1
+ import {
2
+ useEnvironmentContext
3
+ } from "./HDGILMRT.jsx";
4
+
5
+ // src/providers/interaction/use-focus-visible.ts
6
+ import { isFocusVisible, trackFocusVisible } from "@zag-js/focus-visible";
7
+ import { useSyncExternalStore } from "@zag-js/solid";
8
+ function useFocusVisible(props = {}) {
9
+ const { isTextInput, autoFocus } = props;
10
+ const environment = useEnvironmentContext();
11
+ return useSyncExternalStore(
12
+ (listener) => trackFocusVisible({
13
+ root: environment().getRootNode(),
14
+ isTextInput,
15
+ autoFocus,
16
+ onChange: listener
17
+ }),
18
+ () => autoFocus || isFocusVisible(),
19
+ () => false
20
+ );
21
+ }
22
+
23
+ // src/providers/interaction/use-interaction-modality.ts
24
+ import { getInteractionModality, trackInteractionModality } from "@zag-js/focus-visible";
25
+ import { useSyncExternalStore as useSyncExternalStore2 } from "@zag-js/solid";
26
+ function useInteractionModality() {
27
+ const environment = useEnvironmentContext();
28
+ return useSyncExternalStore2(
29
+ (listener) => trackInteractionModality({
30
+ root: environment().getRootNode(),
31
+ onChange: listener
32
+ }),
33
+ getInteractionModality,
34
+ () => null
35
+ );
36
+ }
37
+
38
+ export {
39
+ useFocusVisible,
40
+ useInteractionModality
41
+ };
@@ -1,7 +1,7 @@
1
- import { useFieldContext } from './S3VN2YFH.js';
1
+ import { useFieldContext } from './UJB7LDER.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
- import { useLocaleContext } from './EM5SH6A3.js';
4
3
  import { useEnvironmentContext } from './3P5T77QU.js';
4
+ import { useLocaleContext } from './EM5SH6A3.js';
5
5
  import { runIfFn } from './DT73WLR4.js';
6
6
  import { ark } from './EPLBB4QN.js';
7
7
  import { createContext } from './THN5C4U6.js';
@@ -8,19 +8,19 @@ import {
8
8
  } from "./OEGORBLT.jsx";
9
9
  import {
10
10
  useFieldContext
11
- } from "./PPH4D7AF.jsx";
11
+ } from "./TSCPRMQ2.jsx";
12
12
  import {
13
13
  composeRefs
14
14
  } from "./PT2CJE3O.jsx";
15
15
  import {
16
16
  createSplitProps
17
17
  } from "./6WEDGJKQ.jsx";
18
- import {
19
- useLocaleContext
20
- } from "./HOPBYFHD.jsx";
21
18
  import {
22
19
  useEnvironmentContext
23
20
  } from "./HDGILMRT.jsx";
21
+ import {
22
+ useLocaleContext
23
+ } from "./HOPBYFHD.jsx";
24
24
  import {
25
25
  runIfFn
26
26
  } from "./KGOB2IMX.jsx";
@@ -279,6 +279,7 @@ var SelectRoot = (props) => {
279
279
  "readOnly",
280
280
  "required",
281
281
  "scrollToIndexFn",
282
+ "translations",
282
283
  "value"
283
284
  ]);
284
285
  const select2 = useSelect(useSelectProps);
@@ -1,9 +1,9 @@
1
- import { useFieldContext } from './S3VN2YFH.js';
1
+ import { useFieldContext } from './UJB7LDER.js';
2
2
  import { useFieldsetContext } from './37BRFTCN.js';
3
3
  import { checkboxAnatomy } from './G5RHOVDI.js';
4
4
  import { createSplitProps } from './ZMHI4GDJ.js';
5
- import { useLocaleContext } from './EM5SH6A3.js';
6
5
  import { useEnvironmentContext } from './3P5T77QU.js';
6
+ import { useLocaleContext } from './EM5SH6A3.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { ark } from './EPLBB4QN.js';
9
9
  import { createContext } from './THN5C4U6.js';
@@ -12,12 +12,12 @@ import {
12
12
  import {
13
13
  createSplitProps
14
14
  } from "./6WEDGJKQ.jsx";
15
- import {
16
- useLocaleContext
17
- } from "./HOPBYFHD.jsx";
18
15
  import {
19
16
  useEnvironmentContext
20
17
  } from "./HDGILMRT.jsx";
18
+ import {
19
+ useLocaleContext
20
+ } from "./HOPBYFHD.jsx";
21
21
  import {
22
22
  runIfFn
23
23
  } from "./KGOB2IMX.jsx";
@@ -160,7 +160,8 @@ var PopoverRoot = (props) => {
160
160
  "open",
161
161
  "persistentElements",
162
162
  "portalled",
163
- "positioning"
163
+ "positioning",
164
+ "translations"
164
165
  ]);
165
166
  const api = usePopover(usePopoverProps);
166
167
  const apiPresence = usePresence(mergeProps9(presenceProps, () => ({ present: api().open })));
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./PPH4D7AF.jsx";
3
+ } from "./TSCPRMQ2.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
7
- import {
8
- useLocaleContext
9
- } from "./HOPBYFHD.jsx";
10
7
  import {
11
8
  useEnvironmentContext
12
9
  } from "./HDGILMRT.jsx";
10
+ import {
11
+ useLocaleContext
12
+ } from "./HOPBYFHD.jsx";
13
13
  import {
14
14
  runIfFn
15
15
  } from "./KGOB2IMX.jsx";
@@ -50,7 +50,7 @@ var Frame = (props) => {
50
50
  });
51
51
  createEffect2(() => {
52
52
  const frame = frameRef();
53
- if (!frame || !frame.contentDocument) return;
53
+ if (!frame?.contentDocument) return;
54
54
  const win = frame.contentWindow;
55
55
  if (!win) return;
56
56
  const node = getMountNode(frame);
@@ -1,11 +1,11 @@
1
1
  import { splitPresenceProps, PresenceProvider, usePresenceContext } from './JBLHW7IM.js';
2
2
  import { usePresence } from './X22PRPOR.js';
3
- import { useFieldContext } from './S3VN2YFH.js';
3
+ import { useFieldContext } from './UJB7LDER.js';
4
4
  import { composeRefs } from './ROP6QZQ7.js';
5
5
  import { comboboxAnatomy } from './POIATK64.js';
6
6
  import { createSplitProps } from './ZMHI4GDJ.js';
7
- import { useLocaleContext } from './EM5SH6A3.js';
8
7
  import { useEnvironmentContext } from './3P5T77QU.js';
8
+ import { useLocaleContext } from './EM5SH6A3.js';
9
9
  import { runIfFn } from './DT73WLR4.js';
10
10
  import { ark } from './EPLBB4QN.js';
11
11
  import { createContext } from './THN5C4U6.js';
@@ -122,6 +122,7 @@ var useField = (props) => {
122
122
  "data-invalid": dataAttr(fieldProps.invalid),
123
123
  "data-readonly": dataAttr(fieldProps.readOnly)
124
124
  });
125
+ const targetControlId = fieldProps.target ? `field::${id}::item::${fieldProps.target}` : void 0;
125
126
  const getLabelProps = () => ({
126
127
  ...parts.label.attrs,
127
128
  id: labelId,
@@ -129,7 +130,7 @@ var useField = (props) => {
129
130
  "data-invalid": dataAttr(fieldProps.invalid),
130
131
  "data-readonly": dataAttr(fieldProps.readOnly),
131
132
  "data-required": dataAttr(fieldProps.required),
132
- htmlFor: id
133
+ htmlFor: targetControlId ?? id
133
134
  });
134
135
  const labelIds = createMemo(() => {
135
136
  const ids = [];
@@ -208,7 +209,8 @@ var FieldRoot = (props) => {
208
209
  "disabled",
209
210
  "invalid",
210
211
  "readOnly",
211
- "required"
212
+ "required",
213
+ "target"
212
214
  ]);
213
215
  const field = useField(useFieldProps);
214
216
  const mergedProps = mergeProps7(() => field().getRootProps(), localProps);
@@ -263,6 +265,7 @@ __export(field_exports, {
263
265
  ErrorText: () => FieldErrorText,
264
266
  HelperText: () => FieldHelperText,
265
267
  Input: () => FieldInput,
268
+ Item: () => FieldItem,
266
269
  Label: () => FieldLabel,
267
270
  RequiredIndicator: () => FieldRequiredIndicator,
268
271
  Root: () => FieldRoot,
@@ -271,6 +274,50 @@ __export(field_exports, {
271
274
  Textarea: () => FieldTextarea
272
275
  });
273
276
 
277
+ // src/components/field/field-item.tsx
278
+ import { createMemo as createMemo2 } from "solid-js";
279
+ var FieldItem = (props) => {
280
+ const parentField = useFieldContext();
281
+ const itemField = createMemo2(() => {
282
+ const parent = parentField?.();
283
+ if (!parent) {
284
+ throw new Error("Field.Item must be used within Field.Root");
285
+ }
286
+ const controlId = `field::${parent.ids.control}::item::${props.value}`;
287
+ const labelId = `${controlId}::label`;
288
+ const getControlProps = () => ({
289
+ ...parent.getInputProps(),
290
+ id: controlId
291
+ });
292
+ return (() => ({
293
+ ...parent,
294
+ ids: {
295
+ ...parent.ids,
296
+ control: controlId,
297
+ label: labelId
298
+ },
299
+ getLabelProps: () => ({
300
+ ...parent.getLabelProps(),
301
+ id: labelId,
302
+ htmlFor: controlId
303
+ }),
304
+ getInputProps: () => ({
305
+ ...getControlProps(),
306
+ ...parts.input.attrs
307
+ }),
308
+ getSelectProps: () => ({
309
+ ...getControlProps(),
310
+ ...parts.select.attrs
311
+ }),
312
+ getTextareaProps: () => ({
313
+ ...getControlProps(),
314
+ ...parts.textarea.attrs
315
+ })
316
+ }));
317
+ });
318
+ return <FieldProvider value={itemField()}>{props.children}</FieldProvider>;
319
+ };
320
+
274
321
  export {
275
322
  useFieldContext,
276
323
  FieldContext,
@@ -8,7 +8,7 @@ import { createContext } from './THN5C4U6.js';
8
8
  import { __export } from './ESLJRKWD.js';
9
9
  import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
10
10
  import { mergeProps } from '@zag-js/solid';
11
- import { splitProps, onMount, onCleanup, Show, mergeProps as mergeProps$2, createSignal, createUniqueId, createMemo } from 'solid-js';
11
+ import { createMemo, splitProps, onMount, onCleanup, Show, mergeProps as mergeProps$2, createSignal, createUniqueId } from 'solid-js';
12
12
  import { dataAttr, ariaAttr } from '@zag-js/dom-query';
13
13
  import { autoresizeTextarea } from '@zag-js/auto-resize';
14
14
 
@@ -104,6 +104,7 @@ var useField = (props) => {
104
104
  "data-invalid": dataAttr(fieldProps.invalid),
105
105
  "data-readonly": dataAttr(fieldProps.readOnly)
106
106
  });
107
+ const targetControlId = fieldProps.target ? `field::${id}::item::${fieldProps.target}` : void 0;
107
108
  const getLabelProps = () => ({
108
109
  ...parts.label.attrs,
109
110
  id: labelId,
@@ -111,7 +112,7 @@ var useField = (props) => {
111
112
  "data-invalid": dataAttr(fieldProps.invalid),
112
113
  "data-readonly": dataAttr(fieldProps.readOnly),
113
114
  "data-required": dataAttr(fieldProps.required),
114
- htmlFor: id
115
+ htmlFor: targetControlId ?? id
115
116
  });
116
117
  const labelIds = createMemo(() => {
117
118
  const ids = [];
@@ -184,7 +185,7 @@ var useField = (props) => {
184
185
 
185
186
  // src/components/field/field-root.tsx
186
187
  var FieldRoot = (props) => {
187
- const [useFieldProps, localProps] = createSplitProps()(props, ["id", "ids", "disabled", "invalid", "readOnly", "required"]);
188
+ const [useFieldProps, localProps] = createSplitProps()(props, ["id", "ids", "disabled", "invalid", "readOnly", "required", "target"]);
188
189
  const field = useField(useFieldProps);
189
190
  const mergedProps = mergeProps(() => field().getRootProps(), localProps);
190
191
  return createComponent(FieldProvider, {
@@ -245,6 +246,7 @@ __export(field_exports, {
245
246
  ErrorText: () => FieldErrorText,
246
247
  HelperText: () => FieldHelperText,
247
248
  Input: () => FieldInput,
249
+ Item: () => FieldItem,
248
250
  Label: () => FieldLabel,
249
251
  RequiredIndicator: () => FieldRequiredIndicator,
250
252
  Root: () => FieldRoot,
@@ -252,5 +254,53 @@ __export(field_exports, {
252
254
  Select: () => FieldSelect,
253
255
  Textarea: () => FieldTextarea
254
256
  });
257
+ var FieldItem = (props) => {
258
+ const parentField = useFieldContext();
259
+ const itemField = createMemo(() => {
260
+ const parent = parentField?.();
261
+ if (!parent) {
262
+ throw new Error("Field.Item must be used within Field.Root");
263
+ }
264
+ const controlId = `field::${parent.ids.control}::item::${props.value}`;
265
+ const labelId = `${controlId}::label`;
266
+ const getControlProps = () => ({
267
+ ...parent.getInputProps(),
268
+ id: controlId
269
+ });
270
+ return () => ({
271
+ ...parent,
272
+ ids: {
273
+ ...parent.ids,
274
+ control: controlId,
275
+ label: labelId
276
+ },
277
+ getLabelProps: () => ({
278
+ ...parent.getLabelProps(),
279
+ id: labelId,
280
+ htmlFor: controlId
281
+ }),
282
+ getInputProps: () => ({
283
+ ...getControlProps(),
284
+ ...parts.input.attrs
285
+ }),
286
+ getSelectProps: () => ({
287
+ ...getControlProps(),
288
+ ...parts.select.attrs
289
+ }),
290
+ getTextareaProps: () => ({
291
+ ...getControlProps(),
292
+ ...parts.textarea.attrs
293
+ })
294
+ });
295
+ });
296
+ return createComponent(FieldProvider, {
297
+ get value() {
298
+ return itemField();
299
+ },
300
+ get children() {
301
+ return props.children;
302
+ }
303
+ });
304
+ };
255
305
 
256
306
  export { FieldContext, FieldErrorText, FieldHelperText, FieldInput, FieldLabel, FieldRequiredIndicator, FieldRoot, FieldRootProvider, FieldSelect, FieldTextarea, field_exports, useField, useFieldContext };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./PPH4D7AF.jsx";
3
+ } from "./TSCPRMQ2.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
7
- import {
8
- useLocaleContext
9
- } from "./HOPBYFHD.jsx";
10
7
  import {
11
8
  useEnvironmentContext
12
9
  } from "./HDGILMRT.jsx";
10
+ import {
11
+ useLocaleContext
12
+ } from "./HOPBYFHD.jsx";
13
13
  import {
14
14
  runIfFn
15
15
  } from "./KGOB2IMX.jsx";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./PPH4D7AF.jsx";
3
+ } from "./TSCPRMQ2.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
7
- import {
8
- useLocaleContext
9
- } from "./HOPBYFHD.jsx";
10
7
  import {
11
8
  useEnvironmentContext
12
9
  } from "./HDGILMRT.jsx";
10
+ import {
11
+ useLocaleContext
12
+ } from "./HOPBYFHD.jsx";
13
13
  import {
14
14
  runIfFn
15
15
  } from "./KGOB2IMX.jsx";
@@ -100,6 +100,7 @@ var usePinInput = (props) => {
100
100
  var PinInputRoot = (props) => {
101
101
  const [usePinInputProps, localProps] = createSplitProps()(props, [
102
102
  "autoFocus",
103
+ "autoSubmit",
103
104
  "blurOnComplete",
104
105
  "count",
105
106
  "defaultValue",
@@ -118,6 +119,7 @@ var PinInputRoot = (props) => {
118
119
  "placeholder",
119
120
  "readOnly",
120
121
  "required",
122
+ "sanitizeValue",
121
123
  "selectOnFocus",
122
124
  "translations",
123
125
  "type",
@@ -2,8 +2,8 @@ import { usePresenceContext, splitPresenceProps, PresenceProvider } from './JBLH
2
2
  import { usePresence } from './X22PRPOR.js';
3
3
  import { composeRefs } from './ROP6QZQ7.js';
4
4
  import { createSplitProps } from './ZMHI4GDJ.js';
5
- import { useLocaleContext } from './EM5SH6A3.js';
6
5
  import { useEnvironmentContext } from './3P5T77QU.js';
6
+ import { useLocaleContext } from './EM5SH6A3.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { ark } from './EPLBB4QN.js';
9
9
  import { createContext } from './THN5C4U6.js';
@@ -101,7 +101,7 @@ var usePopover = (props) => {
101
101
  // src/components/popover/popover-root.tsx
102
102
  var PopoverRoot = (props) => {
103
103
  const [presenceProps, popoverProps] = splitPresenceProps(props);
104
- const [usePopoverProps, localProps] = createSplitProps()(popoverProps, ["autoFocus", "closeOnEscape", "closeOnInteractOutside", "defaultOpen", "id", "ids", "initialFocusEl", "modal", "onEscapeKeyDown", "onFocusOutside", "onInteractOutside", "onOpenChange", "onPointerDownOutside", "onRequestDismiss", "open", "persistentElements", "portalled", "positioning"]);
104
+ const [usePopoverProps, localProps] = createSplitProps()(popoverProps, ["autoFocus", "closeOnEscape", "closeOnInteractOutside", "defaultOpen", "id", "ids", "initialFocusEl", "modal", "onEscapeKeyDown", "onFocusOutside", "onInteractOutside", "onOpenChange", "onPointerDownOutside", "onRequestDismiss", "open", "persistentElements", "portalled", "positioning", "translations"]);
105
105
  const api = usePopover(usePopoverProps);
106
106
  const apiPresence = usePresence(mergeProps(presenceProps, () => ({
107
107
  present: api().open
@@ -1,11 +1,11 @@
1
1
  import { splitPresenceProps, PresenceProvider, usePresenceContext } from './JBLHW7IM.js';
2
2
  import { usePresence } from './X22PRPOR.js';
3
- import { useFieldContext } from './S3VN2YFH.js';
3
+ import { useFieldContext } from './UJB7LDER.js';
4
4
  import { composeRefs } from './ROP6QZQ7.js';
5
5
  import { colorPickerAnatomy } from './7ANKVUWM.js';
6
6
  import { createSplitProps } from './ZMHI4GDJ.js';
7
- import { useLocaleContext } from './EM5SH6A3.js';
8
7
  import { useEnvironmentContext } from './3P5T77QU.js';
8
+ import { useLocaleContext } from './EM5SH6A3.js';
9
9
  import { runIfFn } from './DT73WLR4.js';
10
10
  import { ark } from './EPLBB4QN.js';
11
11
  import { createContext } from './THN5C4U6.js';
@@ -1,7 +1,7 @@
1
1
  import { listboxAnatomy } from './3I7TGCD3.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
- import { useLocaleContext } from './EM5SH6A3.js';
4
3
  import { useEnvironmentContext } from './3P5T77QU.js';
4
+ import { useLocaleContext } from './EM5SH6A3.js';
5
5
  import { runIfFn } from './DT73WLR4.js';
6
6
  import { ark } from './EPLBB4QN.js';
7
7
  import { createContext } from './THN5C4U6.js';
@@ -42,7 +42,7 @@ var ListboxEmpty = (props) => {
42
42
  });
43
43
  };
44
44
  var ListboxInput = (props) => {
45
- const [inputProps, localProps] = createSplitProps()(props, ["autoHighlight"]);
45
+ const [inputProps, localProps] = createSplitProps()(props, ["autoHighlight", "keyboardPriority"]);
46
46
  const listbox2 = useListboxContext();
47
47
  const mergedProps = mergeProps(() => listbox2().getInputProps(inputProps), localProps);
48
48
  return createComponent(ark.input, mergedProps);
@@ -59,7 +59,7 @@ var useTimer = (props) => {
59
59
 
60
60
  // src/components/timer/timer-root.tsx
61
61
  var TimerRoot = (props) => {
62
- const [useTimerProps, localProps] = createSplitProps()(props, ["id", "ids", "autoStart", "interval", "countdown", "startMs", "targetMs", "onComplete", "onTick"]);
62
+ const [useTimerProps, localProps] = createSplitProps()(props, ["id", "ids", "autoStart", "interval", "countdown", "startMs", "targetMs", "translations", "onComplete", "onTick"]);
63
63
  const timer2 = useTimer(useTimerProps);
64
64
  const mergedProps = mergeProps(() => timer2().getRootProps(), localProps);
65
65
  return createComponent(TimerProvider, {
@@ -3,8 +3,8 @@ import { usePresence } from './X22PRPOR.js';
3
3
  import { composeRefs } from './ROP6QZQ7.js';
4
4
  import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './GUFIKGZ6.js';
5
5
  import { createSplitProps } from './ZMHI4GDJ.js';
6
- import { useLocaleContext } from './EM5SH6A3.js';
7
6
  import { useEnvironmentContext } from './3P5T77QU.js';
7
+ import { useLocaleContext } from './EM5SH6A3.js';
8
8
  import { runIfFn } from './DT73WLR4.js';
9
9
  import { ark } from './EPLBB4QN.js';
10
10
  import { createContext } from './THN5C4U6.js';
@@ -70,6 +70,11 @@ var DrawerContent = (props) => {
70
70
  }
71
71
  });
72
72
  };
73
+ var DrawerDescription = (props) => {
74
+ const drawer3 = useDrawerContext();
75
+ const mergedProps = mergeProps(() => drawer3().getDescriptionProps(), props);
76
+ return createComponent(ark.div, mergedProps);
77
+ };
73
78
 
74
79
  // src/components/drawer/drawer-context.tsx
75
80
  var DrawerContext = (props) => props.children(useDrawerContext());
@@ -216,6 +221,11 @@ var DrawerStack = (props) => {
216
221
  }
217
222
  });
218
223
  };
224
+ var DrawerSwipeArea = (props) => {
225
+ const drawer3 = useDrawerContext();
226
+ const mergedProps = mergeProps(() => drawer3().getSwipeAreaProps(), props);
227
+ return createComponent(ark.div, mergedProps);
228
+ };
219
229
 
220
230
  // src/components/drawer/drawer.ts
221
231
  var drawer_exports = {};
@@ -224,6 +234,7 @@ __export(drawer_exports, {
224
234
  CloseTrigger: () => DrawerCloseTrigger,
225
235
  Content: () => DrawerContent,
226
236
  Context: () => DrawerContext,
237
+ Description: () => DrawerDescription,
227
238
  Grabber: () => DrawerGrabber,
228
239
  GrabberIndicator: () => DrawerGrabberIndicator,
229
240
  Indent: () => DrawerIndent,
@@ -232,8 +243,9 @@ __export(drawer_exports, {
232
243
  Root: () => DrawerRoot,
233
244
  RootProvider: () => DrawerRootProvider,
234
245
  Stack: () => DrawerStack,
246
+ SwipeArea: () => DrawerSwipeArea,
235
247
  Title: () => DrawerTitle,
236
248
  Trigger: () => DrawerTrigger
237
249
  });
238
250
 
239
- export { DrawerBackdrop, DrawerCloseTrigger, DrawerContent, DrawerContext, DrawerGrabber, DrawerGrabberIndicator, DrawerIndent, DrawerIndentBackground, DrawerPositioner, DrawerRoot, DrawerRootProvider, DrawerStack, DrawerTitle, DrawerTrigger, drawer_exports, useDrawer, useDrawerContext, useDrawerStackContext };
251
+ export { DrawerBackdrop, DrawerCloseTrigger, DrawerContent, DrawerContext, DrawerDescription, DrawerGrabber, DrawerGrabberIndicator, DrawerIndent, DrawerIndentBackground, DrawerPositioner, DrawerRoot, DrawerRootProvider, DrawerStack, DrawerSwipeArea, DrawerTitle, DrawerTrigger, drawer_exports, useDrawer, useDrawerContext, useDrawerStackContext };
@@ -8,7 +8,7 @@ import {
8
8
  } from "./OEGORBLT.jsx";
9
9
  import {
10
10
  useFieldContext
11
- } from "./PPH4D7AF.jsx";
11
+ } from "./TSCPRMQ2.jsx";
12
12
  import {
13
13
  composeRefs
14
14
  } from "./PT2CJE3O.jsx";
@@ -18,12 +18,12 @@ import {
18
18
  import {
19
19
  createSplitProps
20
20
  } from "./6WEDGJKQ.jsx";
21
- import {
22
- useLocaleContext
23
- } from "./HOPBYFHD.jsx";
24
21
  import {
25
22
  useEnvironmentContext
26
23
  } from "./HDGILMRT.jsx";
24
+ import {
25
+ useLocaleContext
26
+ } from "./HOPBYFHD.jsx";
27
27
  import {
28
28
  runIfFn
29
29
  } from "./KGOB2IMX.jsx";
@@ -1,2 +1,2 @@
1
- export { accordion_exports as Accordion, AccordionContext, AccordionItem, AccordionItemContent, AccordionItemContext, AccordionItemIndicator, AccordionItemTrigger, AccordionRoot, AccordionRootProvider, useAccordion, useAccordionContext, useAccordionItemContext } from '../../chunk/QUQ6VBQO.js';
1
+ export { accordion_exports as Accordion, AccordionContext, AccordionItem, AccordionItemContent, AccordionItemContext, AccordionItemIndicator, AccordionItemTrigger, AccordionRoot, AccordionRootProvider, useAccordion, useAccordionContext, useAccordionItemContext } from '../../chunk/IBHRQZGE.js';
2
2
  export { anatomy as accordionAnatomy } from '../../chunk/PB2JIZF3.js';
@@ -11,17 +11,17 @@ import {
11
11
  useAccordion,
12
12
  useAccordionContext,
13
13
  useAccordionItemContext
14
- } from "../../chunk/ZLZED63N.jsx";
15
- import "../../chunk/RROG5OYX.jsx";
14
+ } from "../../chunk/ACLCLMIV.jsx";
15
+ import "../../chunk/GYKEGNPI.jsx";
16
16
  import "../../chunk/VNMGX67M.jsx";
17
17
  import {
18
18
  anatomy
19
19
  } from "../../chunk/C6BGJM4X.jsx";
20
20
  import "../../chunk/OC7V6IJA.jsx";
21
21
  import "../../chunk/6WEDGJKQ.jsx";
22
- import "../../chunk/ODQYYKL5.jsx";
23
- import "../../chunk/HOPBYFHD.jsx";
22
+ import "../../chunk/OIDCX2FB.jsx";
24
23
  import "../../chunk/HDGILMRT.jsx";
24
+ import "../../chunk/HOPBYFHD.jsx";
25
25
  import "../../chunk/KGOB2IMX.jsx";
26
26
  import "../../chunk/UFYZ7HLU.jsx";
27
27
  import "../../chunk/UZJJWJQM.jsx";
@@ -47,5 +47,5 @@ export { anatomy as toastAnatomy } from '@zag-js/toast';
47
47
  export { t as toggleAnatomy } from '../toggle.anatomy-kQyY2NzP.js';
48
48
  export { anatomy as toggleGroupAnatomy } from '@zag-js/toggle-group';
49
49
  export { anatomy as tooltipAnatomy } from '@zag-js/tooltip';
50
- export { t as tourAnatomy } from '../tour.anatomy-B2Ub0NWQ.js';
50
+ export { t as tourAnatomy } from '../tour.anatomy-DjAkBXN5.js';
51
51
  export { anatomy as treeViewAnatomy } from '@zag-js/tree-view';