@ark-ui/solid 4.10.1 → 5.0.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 (255) hide show
  1. package/README.md +6 -9
  2. package/dist/chunk/{E72NMPSK.jsx → 2FYSIKNK.jsx} +5 -13
  3. package/dist/chunk/{2ILK4IFM.jsx → 2TEQVFZN.jsx} +16 -28
  4. package/dist/chunk/{2H4WHODR.js → 3CUJRNYI.js} +7 -10
  5. package/dist/chunk/{MRQ2UYM4.jsx → 3VB4UGEY.jsx} +8 -10
  6. package/dist/chunk/{ATMUKDFF.js → 44YJVOL2.js} +8 -10
  7. package/dist/chunk/{RVUYRERH.jsx → 4D76BVTD.jsx} +35 -17
  8. package/dist/chunk/{VARNCRUN.js → 4E5OPUFZ.js} +16 -18
  9. package/dist/chunk/{5JS7LFUQ.js → 4GOBFWQB.js} +9 -8
  10. package/dist/chunk/{RAEDLHD3.js → 55NHLACH.js} +11 -14
  11. package/dist/chunk/{2HTNQLGP.jsx → 676ULDTZ.jsx} +9 -13
  12. package/dist/chunk/{U7SPBSDD.jsx → 6AKFQH4M.jsx} +8 -13
  13. package/dist/chunk/{QODB3C3M.js → 6MQ6S5JP.js} +8 -5
  14. package/dist/chunk/{CIPYIXIW.js → 6NMPU3T3.js} +8 -10
  15. package/dist/chunk/{FNEB2RAF.js → 6VITT55B.js} +9 -10
  16. package/dist/chunk/{SBPY26HV.jsx → 7AJYNPOZ.jsx} +8 -11
  17. package/dist/chunk/{EHJDQTTW.jsx → 7IAJIOJR.jsx} +3 -16
  18. package/dist/chunk/{UGKLUHKU.js → A4HLKXDW.js} +8 -11
  19. package/dist/chunk/{3LRXHWW2.js → A6LAAZDX.js} +32 -27
  20. package/dist/chunk/{LVPQ6GR4.js → AIQ2GVFX.js} +6 -7
  21. package/dist/chunk/{JVXNYKNA.js → ANDTZLCB.js} +8 -10
  22. package/dist/chunk/{5O4RWSWO.jsx → BPYAMTER.jsx} +6 -4
  23. package/dist/chunk/{AIQFNVCU.jsx → BTPWLTJU.jsx} +9 -18
  24. package/dist/chunk/{22UQ4DZC.js → C4WAO4VB.js} +9 -10
  25. package/dist/chunk/{2W32Z6JZ.js → DBAO7VQW.js} +9 -10
  26. package/dist/chunk/{5SRZ3YYC.js → DEA5DIWS.js} +7 -8
  27. package/dist/chunk/{SUVE6C6L.jsx → DH5DKFFF.jsx} +17 -35
  28. package/dist/chunk/{TMUQ6SLE.jsx → DS2MX7YY.jsx} +8 -11
  29. package/dist/chunk/{34OZO53S.js → DVI7TRLG.js} +9 -12
  30. package/dist/chunk/{AWO62YTJ.js → E2TLJMGI.js} +15 -17
  31. package/dist/chunk/{H4RSHLA7.jsx → EH5LPBSV.jsx} +9 -13
  32. package/dist/chunk/{F3QPTRGW.jsx → EIGYBOW2.jsx} +27 -34
  33. package/dist/chunk/{HU7FZMJI.jsx → ENXUS2WG.jsx} +9 -14
  34. package/dist/chunk/{NDY7YFV2.js → EUXWRO3A.js} +16 -17
  35. package/dist/chunk/{K54W24N6.jsx → FHWNUAQM.jsx} +10 -15
  36. package/dist/chunk/{MJNR43Q5.js → FX6TOMB3.js} +14 -25
  37. package/dist/chunk/{DUYGPLFV.js → GUQTNAZU.js} +9 -10
  38. package/dist/chunk/{B7LE23PE.jsx → H5QZC4VW.jsx} +9 -13
  39. package/dist/chunk/{NK4T7LIZ.jsx → H7SWP54F.jsx} +7 -11
  40. package/dist/chunk/{M2FICVVI.js → HQEG6EKY.js} +9 -11
  41. package/dist/chunk/{U3XJZI3X.jsx → I4VF53LH.jsx} +15 -25
  42. package/dist/chunk/{FDN5MSFM.js → JOWPVE6E.js} +8 -9
  43. package/dist/chunk/{SN5TXTB6.jsx → JZ7ZQZT4.jsx} +17 -54
  44. package/dist/chunk/{632HFNZF.js → KMFRZGLF.js} +36 -15
  45. package/dist/chunk/{GZVCPLKK.jsx → KQ4BIFPS.jsx} +9 -10
  46. package/dist/chunk/{XCNALQF7.js → LFWIA7VB.js} +11 -14
  47. package/dist/chunk/{7BGOIKYK.jsx → LKOJO4VB.jsx} +17 -31
  48. package/dist/chunk/{5XD5ZSBX.js → M2C67TPA.js} +13 -17
  49. package/dist/chunk/{2GATVLPK.js → M63JXHU4.js} +7 -8
  50. package/dist/chunk/MOG4V2NQ.jsx +15 -0
  51. package/dist/chunk/{XUVXUPEH.js → MZD7ZKWI.js} +2 -7
  52. package/dist/chunk/{YCYZZGN2.jsx → NCURFCYQ.jsx} +9 -8
  53. package/dist/chunk/{5ONYCKM3.jsx → NEBB7COJ.jsx} +1 -1
  54. package/dist/chunk/{Q7NPTAJI.js → NNZQ2FQW.js} +8 -9
  55. package/dist/chunk/{FS3LMJ37.jsx → O5AHG7DQ.jsx} +16 -19
  56. package/dist/chunk/{6YQ3EF2J.js → O62NKGT4.js} +9 -11
  57. package/dist/chunk/{2J42A7KM.js → OA5UZFKE.js} +2 -2
  58. package/dist/chunk/{CPMYIT5J.jsx → OAH52ZNM.jsx} +11 -12
  59. package/dist/chunk/OAPCRIL5.js +8 -0
  60. package/dist/chunk/{T4NRAKVA.jsx → OEZAIQU2.jsx} +9 -10
  61. package/dist/chunk/{YV5BACLX.js → OIGKROX4.js} +9 -9
  62. package/dist/chunk/{IQJBNZOX.jsx → PES3MXH3.jsx} +8 -6
  63. package/dist/chunk/{3V3HI6QW.js → PJNGX4UT.js} +9 -8
  64. package/dist/chunk/{3HMZSTYX.js → PL4PGQFF.js} +8 -10
  65. package/dist/chunk/{RH2PDRKN.jsx → POFK2TVP.jsx} +8 -9
  66. package/dist/chunk/{HWL7X2QR.jsx → PVOFTEOB.jsx} +21 -40
  67. package/dist/chunk/{HPDOBQ3V.js → QEMQBM6W.js} +1 -1
  68. package/dist/chunk/{L7OSYHVR.js → QFAL6GWC.js} +1 -1
  69. package/dist/chunk/{QA6ZMN5Y.js → QKFZ3XTM.js} +14 -28
  70. package/dist/chunk/{IZC6PKGT.jsx → QZQUUXCF.jsx} +10 -14
  71. package/dist/chunk/{DUDD2T7G.js → R6Q7TUSQ.js} +8 -11
  72. package/dist/chunk/{3QQZKR3F.jsx → RCXMZN3G.jsx} +1 -1
  73. package/dist/chunk/{N73ADPX5.jsx → RG3IJESS.jsx} +46 -78
  74. package/dist/chunk/{SWUA2VFC.js → SAI3RCJY.js} +7 -10
  75. package/dist/chunk/{ZC6KWJ4T.jsx → SBKJA5N2.jsx} +7 -12
  76. package/dist/chunk/{RZBYC7DR.jsx → SBLZHOW2.jsx} +3 -12
  77. package/dist/chunk/SDD2HKR3.js +71 -0
  78. package/dist/chunk/{WIVXL7HJ.jsx → SL2ZPLSH.jsx} +9 -13
  79. package/dist/chunk/{XTV6ZFAA.js → SRPSYZUL.js} +7 -8
  80. package/dist/chunk/{DOPROT6M.jsx → SWZSXMPJ.jsx} +10 -8
  81. package/dist/chunk/{BY62F4IV.jsx → TEZHN26Z.jsx} +8 -11
  82. package/dist/chunk/{5EVN6V64.js → TMTD3AUG.js} +12 -15
  83. package/dist/chunk/{I5UG2QUO.js → TROPIN4C.js} +1 -7
  84. package/dist/chunk/{NMGUCD2L.jsx → TVCIHLER.jsx} +2 -11
  85. package/dist/chunk/{5CYHETDY.js → UIAQFG6P.js} +7 -7
  86. package/dist/chunk/{2NEVBQW4.jsx → USV2CYTP.jsx} +9 -9
  87. package/dist/chunk/{GXWVYON6.js → V2YBSJKS.js} +8 -10
  88. package/dist/chunk/{WQQVH7YG.jsx → VLUE7XIS.jsx} +34 -19
  89. package/dist/chunk/{TC2QHQ47.jsx → WPEIDU6T.jsx} +17 -42
  90. package/dist/chunk/{LCESUDZB.js → WRLQ7Y6E.js} +5 -13
  91. package/dist/chunk/{7KPVYYFT.js → WT3OTYHP.js} +27 -11
  92. package/dist/chunk/{IOTZAUDA.jsx → WUTUKX4C.jsx} +1 -1
  93. package/dist/chunk/{34JAVC2R.jsx → WZ7FNJXM.jsx} +11 -15
  94. package/dist/chunk/X34KVQNW.js +1 -1
  95. package/dist/chunk/{MSHQY44G.jsx → XHA6B6L2.jsx} +23 -23
  96. package/dist/chunk/{CQN5S4C3.jsx → XNZ7GOP4.jsx} +15 -24
  97. package/dist/chunk/{MYMGOYXH.js → XR4WJDUT.js} +2 -2
  98. package/dist/chunk/{SJSLQDBZ.jsx → YE6V66JY.jsx} +10 -18
  99. package/dist/chunk/{W43X4SNE.js → YS6KIHEB.js} +6 -6
  100. package/dist/chunk/{FVMQXW27.jsx → ZOMTU4P2.jsx} +12 -22
  101. package/dist/components/accordion/index.d.ts +2 -7
  102. package/dist/components/accordion/index.js +1 -1
  103. package/dist/components/accordion/index.jsx +7 -8
  104. package/dist/components/avatar/index.d.ts +2 -2
  105. package/dist/components/avatar/index.js +1 -1
  106. package/dist/components/avatar/index.jsx +5 -6
  107. package/dist/components/carousel/index.d.ts +3 -8
  108. package/dist/components/carousel/index.js +1 -1
  109. package/dist/components/carousel/index.jsx +5 -6
  110. package/dist/components/checkbox/index.d.ts +3 -8
  111. package/dist/components/checkbox/index.js +1 -1
  112. package/dist/components/checkbox/index.jsx +8 -9
  113. package/dist/components/clipboard/index.d.ts +2 -2
  114. package/dist/components/clipboard/index.js +1 -1
  115. package/dist/components/clipboard/index.jsx +5 -6
  116. package/dist/components/collapsible/index.d.ts +2 -7
  117. package/dist/components/collapsible/index.js +1 -1
  118. package/dist/components/collapsible/index.jsx +6 -7
  119. package/dist/components/collection.d.ts +3 -3
  120. package/dist/components/collection.js +1 -1
  121. package/dist/components/collection.jsx +1 -1
  122. package/dist/components/color-picker/index.d.ts +4 -14
  123. package/dist/components/color-picker/index.js +1 -1
  124. package/dist/components/color-picker/index.jsx +10 -10
  125. package/dist/components/combobox/index.d.ts +3 -13
  126. package/dist/components/combobox/index.js +2 -2
  127. package/dist/components/combobox/index.jsx +12 -12
  128. package/dist/components/date-picker/index.d.ts +8 -20
  129. package/dist/components/date-picker/index.js +1 -1
  130. package/dist/components/date-picker/index.jsx +7 -8
  131. package/dist/components/dialog/index.d.ts +3 -8
  132. package/dist/components/dialog/index.js +1 -1
  133. package/dist/components/dialog/index.jsx +7 -8
  134. package/dist/components/editable/index.d.ts +2 -12
  135. package/dist/components/editable/index.js +1 -1
  136. package/dist/components/editable/index.jsx +8 -8
  137. package/dist/components/field/index.d.ts +3 -2
  138. package/dist/components/field/index.js +1 -1
  139. package/dist/components/field/index.jsx +4 -3
  140. package/dist/components/fieldset/index.d.ts +2 -2
  141. package/dist/components/fieldset/index.js +1 -1
  142. package/dist/components/fieldset/index.jsx +2 -2
  143. package/dist/components/file-upload/index.d.ts +6 -6
  144. package/dist/components/file-upload/index.js +1 -1
  145. package/dist/components/file-upload/index.jsx +8 -8
  146. package/dist/components/focus-trap/index.d.ts +1 -1
  147. package/dist/components/format/index.js +1 -1
  148. package/dist/components/format/index.jsx +4 -5
  149. package/dist/components/frame/index.js +1 -1
  150. package/dist/components/frame/index.jsx +4 -5
  151. package/dist/components/hover-card/index.d.ts +3 -8
  152. package/dist/components/hover-card/index.js +1 -1
  153. package/dist/components/hover-card/index.jsx +7 -8
  154. package/dist/components/index.d.ts +2 -1
  155. package/dist/components/index.js +45 -45
  156. package/dist/components/index.jsx +325 -327
  157. package/dist/components/menu/index.d.ts +4 -9
  158. package/dist/components/menu/index.js +1 -1
  159. package/dist/components/menu/index.jsx +7 -8
  160. package/dist/components/number-input/index.d.ts +2 -7
  161. package/dist/components/number-input/index.js +1 -1
  162. package/dist/components/number-input/index.jsx +8 -8
  163. package/dist/components/pagination/index.d.ts +2 -7
  164. package/dist/components/pagination/index.js +1 -1
  165. package/dist/components/pagination/index.jsx +5 -6
  166. package/dist/components/pin-input/index.d.ts +2 -7
  167. package/dist/components/pin-input/index.js +1 -1
  168. package/dist/components/pin-input/index.jsx +8 -8
  169. package/dist/components/popover/index.d.ts +3 -8
  170. package/dist/components/popover/index.js +1 -1
  171. package/dist/components/popover/index.jsx +7 -8
  172. package/dist/components/presence/index.d.ts +2 -2
  173. package/dist/components/presence/index.js +1 -1
  174. package/dist/components/presence/index.jsx +3 -3
  175. package/dist/components/progress/index.d.ts +2 -7
  176. package/dist/components/progress/index.js +1 -1
  177. package/dist/components/progress/index.jsx +5 -6
  178. package/dist/components/qr-code/index.d.ts +2 -7
  179. package/dist/components/qr-code/index.js +1 -1
  180. package/dist/components/qr-code/index.jsx +5 -6
  181. package/dist/components/radio-group/index.d.ts +2 -7
  182. package/dist/components/radio-group/index.js +1 -1
  183. package/dist/components/radio-group/index.jsx +5 -6
  184. package/dist/components/rating-group/index.d.ts +5 -10
  185. package/dist/components/rating-group/index.js +1 -1
  186. package/dist/components/rating-group/index.jsx +8 -8
  187. package/dist/components/segment-group/index.d.ts +3 -8
  188. package/dist/components/segment-group/index.js +1 -1
  189. package/dist/components/segment-group/index.jsx +5 -6
  190. package/dist/components/select/index.d.ts +3 -13
  191. package/dist/components/select/index.js +2 -2
  192. package/dist/components/select/index.jsx +12 -12
  193. package/dist/components/signature-pad/index.d.ts +2 -2
  194. package/dist/components/signature-pad/index.js +1 -1
  195. package/dist/components/signature-pad/index.jsx +8 -8
  196. package/dist/components/slider/index.d.ts +3 -8
  197. package/dist/components/slider/index.js +1 -1
  198. package/dist/components/slider/index.jsx +5 -6
  199. package/dist/components/splitter/index.d.ts +3 -8
  200. package/dist/components/splitter/index.js +1 -1
  201. package/dist/components/splitter/index.jsx +5 -6
  202. package/dist/components/steps/index.d.ts +6 -10
  203. package/dist/components/steps/index.js +1 -1
  204. package/dist/components/steps/index.jsx +5 -6
  205. package/dist/components/switch/index.d.ts +2 -7
  206. package/dist/components/switch/index.js +1 -1
  207. package/dist/components/switch/index.jsx +8 -8
  208. package/dist/components/tabs/index.d.ts +2 -7
  209. package/dist/components/tabs/index.js +1 -1
  210. package/dist/components/tabs/index.jsx +7 -8
  211. package/dist/components/tags-input/index.d.ts +2 -7
  212. package/dist/components/tags-input/index.js +1 -1
  213. package/dist/components/tags-input/index.jsx +8 -8
  214. package/dist/components/time-picker/index.d.ts +3 -13
  215. package/dist/components/time-picker/index.js +1 -1
  216. package/dist/components/time-picker/index.jsx +7 -8
  217. package/dist/components/timer/index.d.ts +2 -2
  218. package/dist/components/timer/index.js +1 -1
  219. package/dist/components/timer/index.jsx +5 -6
  220. package/dist/components/toast/index.d.ts +6 -7
  221. package/dist/components/toast/index.js +1 -1
  222. package/dist/components/toast/index.jsx +5 -2
  223. package/dist/components/toggle/index.d.ts +5 -34
  224. package/dist/components/toggle/index.js +1 -1
  225. package/dist/components/toggle/index.jsx +2 -4
  226. package/dist/components/toggle-group/index.d.ts +3 -8
  227. package/dist/components/toggle-group/index.js +1 -1
  228. package/dist/components/toggle-group/index.jsx +5 -6
  229. package/dist/components/tooltip/index.d.ts +3 -8
  230. package/dist/components/tooltip/index.js +1 -1
  231. package/dist/components/tooltip/index.jsx +7 -8
  232. package/dist/components/tour/index.d.ts +6 -6
  233. package/dist/components/tour/index.js +1 -1
  234. package/dist/components/tour/index.jsx +7 -8
  235. package/dist/components/tree-view/index.d.ts +6 -16
  236. package/dist/components/tree-view/index.js +2 -2
  237. package/dist/components/tree-view/index.jsx +9 -10
  238. package/dist/index.d.ts +2 -1
  239. package/dist/index.js +47 -47
  240. package/dist/index.jsx +325 -327
  241. package/dist/providers/environment/index.js +1 -1
  242. package/dist/providers/environment/index.jsx +2 -3
  243. package/dist/providers/index.js +2 -2
  244. package/dist/providers/index.jsx +3 -4
  245. package/dist/providers/locale/index.js +1 -1
  246. package/dist/providers/locale/index.jsx +2 -2
  247. package/dist/{use-presence-Ct1onT3-.d.ts → use-presence-C07V_WCb.d.ts} +1 -1
  248. package/package.json +76 -83
  249. package/dist/chunk/52WUF3CY.jsx +0 -26
  250. package/dist/chunk/BSPFGETO.js +0 -21
  251. package/dist/chunk/CTTG4GSG.js +0 -30
  252. package/dist/chunk/DT73WLR4.js +0 -5
  253. package/dist/chunk/JHG4EID2.jsx +0 -233
  254. package/dist/chunk/KGOB2IMX.jsx +0 -7
  255. package/dist/chunk/MV3KTL7M.js +0 -107
@@ -1 +1 @@
1
- export { EnvironmentProvider, useEnvironmentContext } from '../../chunk/QODB3C3M.js';
1
+ export { EnvironmentProvider, useEnvironmentContext } from '../../chunk/6MQ6S5JP.js';
@@ -1,9 +1,8 @@
1
1
  import {
2
2
  EnvironmentProvider,
3
3
  useEnvironmentContext
4
- } from "../../chunk/5O4RWSWO.jsx";
5
- import "../../chunk/KGOB2IMX.jsx";
6
- import "../../chunk/NMGUCD2L.jsx";
4
+ } from "../../chunk/BPYAMTER.jsx";
5
+ import "../../chunk/TVCIHLER.jsx";
7
6
  import "../../chunk/7IUG3E2V.jsx";
8
7
  export {
9
8
  EnvironmentProvider,
@@ -1,2 +1,2 @@
1
- export { EnvironmentProvider, useEnvironmentContext } from '../chunk/QODB3C3M.js';
2
- export { LocaleProvider, useLocaleContext } from '../chunk/HPDOBQ3V.js';
1
+ export { EnvironmentProvider, useEnvironmentContext } from '../chunk/6MQ6S5JP.js';
2
+ export { LocaleProvider, useLocaleContext } from '../chunk/QEMQBM6W.js';
@@ -2,13 +2,12 @@ import "../chunk/ODQYYKL5.jsx";
2
2
  import {
3
3
  EnvironmentProvider,
4
4
  useEnvironmentContext
5
- } from "../chunk/5O4RWSWO.jsx";
6
- import "../chunk/KGOB2IMX.jsx";
5
+ } from "../chunk/BPYAMTER.jsx";
7
6
  import {
8
7
  LocaleProvider,
9
8
  useLocaleContext
10
- } from "../chunk/3QQZKR3F.jsx";
11
- import "../chunk/NMGUCD2L.jsx";
9
+ } from "../chunk/RCXMZN3G.jsx";
10
+ import "../chunk/TVCIHLER.jsx";
12
11
  import "../chunk/7IUG3E2V.jsx";
13
12
  export {
14
13
  EnvironmentProvider,
@@ -1 +1 @@
1
- export { LocaleProvider, useLocaleContext } from '../../chunk/HPDOBQ3V.js';
1
+ export { LocaleProvider, useLocaleContext } from '../../chunk/QEMQBM6W.js';
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  LocaleProvider,
3
3
  useLocaleContext
4
- } from "../../chunk/3QQZKR3F.jsx";
5
- import "../../chunk/NMGUCD2L.jsx";
4
+ } from "../../chunk/RCXMZN3G.jsx";
5
+ import "../../chunk/TVCIHLER.jsx";
6
6
  import "../../chunk/7IUG3E2V.jsx";
7
7
  export {
8
8
  LocaleProvider,
@@ -3,7 +3,7 @@ import * as presence from '@zag-js/presence';
3
3
  import { O as Optional } from './types-B277wCdv.js';
4
4
  import { R as RenderStrategyProps } from './render-strategy-B5MqQP3X.js';
5
5
 
6
- interface UsePresenceProps extends Optional<presence.Context, 'present'>, RenderStrategyProps {
6
+ interface UsePresenceProps extends Optional<presence.Props, 'present'>, RenderStrategyProps {
7
7
  }
8
8
  interface UsePresenceReturn extends ReturnType<typeof usePresence> {
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@ark-ui/solid",
3
- "version": "4.10.1",
3
+ "type": "module",
4
+ "version": "5.0.0",
4
5
  "description": "A collection of unstyled, accessible UI components for Solid, utilizing state machines for seamless interaction.",
5
6
  "keywords": [
6
7
  "accordion",
@@ -52,10 +53,6 @@
52
53
  "bugs": {
53
54
  "url": "https://github.com/chakra-ui/ark/issues"
54
55
  },
55
- "type": "module",
56
- "main": "dist/index.js",
57
- "module": "dist/index.js",
58
- "types": "dist/index.d.ts",
59
56
  "files": [
60
57
  "dist"
61
58
  ],
@@ -108,103 +105,99 @@
108
105
  "prepack": "clean-package",
109
106
  "postpack": "clean-package restore"
110
107
  },
111
- "clean-package": {
112
- "remove": [
113
- "exports.\\..source",
114
- "exports.\\./anatomy.source",
115
- "exports.\\./collection.source",
116
- "exports.\\./factory.source",
117
- "exports.\\./environment.source",
118
- "exports.\\./locale.source",
119
- "exports.\\./*.source"
120
- ]
121
- },
122
108
  "publishConfig": {
123
109
  "access": "public"
124
110
  },
125
111
  "sideEffects": false,
126
112
  "dependencies": {
127
113
  "@internationalized/date": "3.7.0",
128
- "@zag-js/accordion": "0.82.1",
129
- "@zag-js/anatomy": "0.82.1",
130
- "@zag-js/auto-resize": "0.82.1",
131
- "@zag-js/avatar": "0.82.1",
132
- "@zag-js/carousel": "0.82.1",
133
- "@zag-js/checkbox": "0.82.1",
134
- "@zag-js/clipboard": "0.82.1",
135
- "@zag-js/collapsible": "0.82.1",
136
- "@zag-js/collection": "0.82.1",
137
- "@zag-js/color-picker": "0.82.1",
138
- "@zag-js/combobox": "0.82.1",
139
- "@zag-js/date-picker": "0.82.1",
140
- "@zag-js/dialog": "0.82.1",
141
- "@zag-js/dom-query": "0.82.1",
142
- "@zag-js/editable": "0.82.1",
143
- "@zag-js/file-upload": "0.82.1",
144
- "@zag-js/file-utils": "0.82.1",
145
- "@zag-js/focus-trap": "0.82.1",
146
- "@zag-js/highlight-word": "0.82.1",
147
- "@zag-js/hover-card": "0.82.1",
148
- "@zag-js/i18n-utils": "0.82.1",
149
- "@zag-js/menu": "0.82.1",
150
- "@zag-js/number-input": "0.82.1",
151
- "@zag-js/pagination": "0.82.1",
152
- "@zag-js/pin-input": "0.82.1",
153
- "@zag-js/popover": "0.82.1",
154
- "@zag-js/presence": "0.82.1",
155
- "@zag-js/progress": "0.82.1",
156
- "@zag-js/qr-code": "0.82.1",
157
- "@zag-js/radio-group": "0.82.1",
158
- "@zag-js/rating-group": "0.82.1",
159
- "@zag-js/select": "0.82.1",
160
- "@zag-js/signature-pad": "0.82.1",
161
- "@zag-js/slider": "0.82.1",
162
- "@zag-js/solid": "0.82.1",
163
- "@zag-js/splitter": "0.82.1",
164
- "@zag-js/steps": "0.82.1",
165
- "@zag-js/switch": "0.82.1",
166
- "@zag-js/tabs": "0.82.1",
167
- "@zag-js/tags-input": "0.82.1",
168
- "@zag-js/time-picker": "0.82.1",
169
- "@zag-js/timer": "0.82.1",
170
- "@zag-js/toast": "0.82.1",
171
- "@zag-js/toggle-group": "0.82.1",
172
- "@zag-js/tooltip": "0.82.1",
173
- "@zag-js/tour": "0.82.1",
174
- "@zag-js/tree-view": "0.82.1",
175
- "@zag-js/types": "0.82.1"
114
+ "@zag-js/accordion": "1.3.1",
115
+ "@zag-js/anatomy": "1.3.1",
116
+ "@zag-js/auto-resize": "1.3.1",
117
+ "@zag-js/avatar": "1.3.1",
118
+ "@zag-js/carousel": "1.3.1",
119
+ "@zag-js/checkbox": "1.3.1",
120
+ "@zag-js/clipboard": "1.3.1",
121
+ "@zag-js/collapsible": "1.3.1",
122
+ "@zag-js/collection": "1.3.1",
123
+ "@zag-js/color-picker": "1.3.1",
124
+ "@zag-js/combobox": "1.3.1",
125
+ "@zag-js/date-picker": "1.3.1",
126
+ "@zag-js/dialog": "1.3.1",
127
+ "@zag-js/dom-query": "1.3.1",
128
+ "@zag-js/editable": "1.3.1",
129
+ "@zag-js/file-upload": "1.3.1",
130
+ "@zag-js/file-utils": "1.3.1",
131
+ "@zag-js/focus-trap": "1.3.1",
132
+ "@zag-js/highlight-word": "1.3.1",
133
+ "@zag-js/hover-card": "1.3.1",
134
+ "@zag-js/i18n-utils": "1.3.1",
135
+ "@zag-js/menu": "1.3.1",
136
+ "@zag-js/number-input": "1.3.1",
137
+ "@zag-js/pagination": "1.3.1",
138
+ "@zag-js/pin-input": "1.3.1",
139
+ "@zag-js/popover": "1.3.1",
140
+ "@zag-js/presence": "1.3.1",
141
+ "@zag-js/progress": "1.3.1",
142
+ "@zag-js/qr-code": "1.3.1",
143
+ "@zag-js/radio-group": "1.3.1",
144
+ "@zag-js/rating-group": "1.3.1",
145
+ "@zag-js/select": "1.3.1",
146
+ "@zag-js/signature-pad": "1.3.1",
147
+ "@zag-js/slider": "1.3.1",
148
+ "@zag-js/solid": "1.3.1",
149
+ "@zag-js/splitter": "1.3.1",
150
+ "@zag-js/steps": "1.3.1",
151
+ "@zag-js/switch": "1.3.1",
152
+ "@zag-js/tabs": "1.3.1",
153
+ "@zag-js/tags-input": "1.3.1",
154
+ "@zag-js/time-picker": "1.3.1",
155
+ "@zag-js/timer": "1.3.1",
156
+ "@zag-js/toast": "1.3.1",
157
+ "@zag-js/toggle": "1.3.1",
158
+ "@zag-js/toggle-group": "1.3.1",
159
+ "@zag-js/tooltip": "1.3.1",
160
+ "@zag-js/tour": "1.3.1",
161
+ "@zag-js/tree-view": "1.3.1",
162
+ "@zag-js/types": "1.3.1"
176
163
  },
177
164
  "devDependencies": {
178
165
  "@biomejs/biome": "1.9.4",
179
- "@modular-forms/solid": "0.25.0",
180
- "@release-it/keep-a-changelog": "5.0.0",
166
+ "@modular-forms/solid": "0.25.1",
167
+ "@release-it/keep-a-changelog": "6.0.0",
181
168
  "@solidjs/testing-library": "0.8.10",
182
- "@storybook/addon-a11y": "8.5.0-beta.7",
183
- "@storybook/addon-essentials": "8.5.0-beta.7",
184
- "@storybook/docs-tools": "8.5.0-beta.7",
169
+ "@storybook/addon-a11y": "8.6.4",
170
+ "@storybook/addon-essentials": "8.6.4",
171
+ "@storybook/addon-interactions": "8.6.4",
172
+ "@storybook/addon-links": "8.6.4",
173
+ "@storybook/docs-tools": "8.6.4",
185
174
  "@testing-library/dom": "10.4.0",
186
175
  "@testing-library/jest-dom": "6.6.3",
187
- "@testing-library/user-event": "14.5.2",
176
+ "@testing-library/user-event": "14.6.1",
188
177
  "@types/jsdom": "21.1.7",
189
- "@zag-js/stringify-state": "0.82.1",
178
+ "@zag-js/stringify-state": "1.3.1",
190
179
  "clean-package": "2.2.0",
191
180
  "esbuild-plugin-solid": "0.6.0",
192
- "globby": "14.0.2",
193
- "jsdom": "25.0.1",
194
- "lucide-solid": "0.473.0",
195
- "release-it": "17.11.0",
181
+ "globby": "14.1.0",
182
+ "jsdom": "26.0.0",
183
+ "lucide-solid": "0.477.0",
184
+ "release-it": "18.1.2",
196
185
  "resize-observer-polyfill": "1.5.1",
197
- "solid-js": "1.9.4",
198
- "storybook": "8.5.0-beta.7",
186
+ "solid-js": "1.9.5",
187
+ "storybook": "8.6.4",
199
188
  "storybook-solidjs": "1.0.0-beta.6",
200
189
  "storybook-solidjs-vite": "1.0.0-beta.6",
201
- "tsup": "8.3.5",
202
- "typescript": "5.7.3",
203
- "vite": "5.4.11",
204
- "vite-plugin-solid": "2.11.0",
205
- "vitest": "2.1.8"
190
+ "tsup": "8.4.0",
191
+ "typescript": "5.8.2",
192
+ "vite": "6.2.0",
193
+ "vite-plugin-solid": "2.11.6",
194
+ "vitest": "3.0.7",
195
+ "vitest-axe": "1.0.0-pre.5"
206
196
  },
207
197
  "peerDependencies": {
208
198
  "solid-js": ">=1.6.0"
209
- }
199
+ },
200
+ "main": "dist/index.js",
201
+ "module": "dist/index.js",
202
+ "types": "dist/index.d.ts"
210
203
  }
@@ -1,26 +0,0 @@
1
- import {
2
- runIfFn
3
- } from "./KGOB2IMX.jsx";
4
-
5
- // src/utils/use-controllable-state.ts
6
- import { createMemo, createSignal, untrack } from "solid-js";
7
- function useControllableState(props) {
8
- const [uncontrolledValue, setUncontrolledValue] = createSignal(runIfFn(props.defaultValue));
9
- const controlled = createMemo(() => props.value?.() !== void 0);
10
- const currentValue = createMemo(() => controlled() ? props.value?.() : uncontrolledValue());
11
- const setValue = (next) => {
12
- untrack(() => {
13
- const nextValue = runIfFn(next, currentValue());
14
- if (controlled()) {
15
- return props.onChange?.(nextValue);
16
- }
17
- setUncontrolledValue(nextValue);
18
- return props.onChange?.(nextValue);
19
- });
20
- };
21
- return [currentValue, setValue];
22
- }
23
-
24
- export {
25
- useControllableState
26
- };
@@ -1,21 +0,0 @@
1
- import { runIfFn } from './DT73WLR4.js';
2
- import { createSignal, createMemo, untrack } from 'solid-js';
3
-
4
- function useControllableState(props) {
5
- const [uncontrolledValue, setUncontrolledValue] = createSignal(runIfFn(props.defaultValue));
6
- const controlled = createMemo(() => props.value?.() !== void 0);
7
- const currentValue = createMemo(() => controlled() ? props.value?.() : uncontrolledValue());
8
- const setValue = (next) => {
9
- untrack(() => {
10
- const nextValue = runIfFn(next, currentValue());
11
- if (controlled()) {
12
- return props.onChange?.(nextValue);
13
- }
14
- setUncontrolledValue(nextValue);
15
- return props.onChange?.(nextValue);
16
- });
17
- };
18
- return [currentValue, setValue];
19
- }
20
-
21
- export { useControllableState };
@@ -1,30 +0,0 @@
1
- import { ListCollection, TreeCollection, filePathToTree } from '@zag-js/collection';
2
-
3
- // src/components/collection.ts
4
-
5
- // ../../node_modules/@zag-js/store/dist/index.mjs
6
- function glob() {
7
- if (typeof globalThis !== "undefined") return globalThis;
8
- if (typeof self !== "undefined") return self;
9
- if (typeof window !== "undefined") return window;
10
- if (typeof global !== "undefined") return global;
11
- }
12
- function globalRef(key, value) {
13
- const g = glob();
14
- if (!g) return value();
15
- g[key] || (g[key] = value());
16
- return g[key];
17
- }
18
- var refSet = globalRef("__zag__refSet", () => /* @__PURE__ */ new WeakSet());
19
- globalRef("__zag__proxyStateMap", () => /* @__PURE__ */ new WeakMap());
20
- function ref(obj) {
21
- refSet.add(obj);
22
- return obj;
23
- }
24
-
25
- // src/components/collection.ts
26
- var createListCollection = (options) => ref(new ListCollection(options));
27
- var createTreeCollection = (options) => ref(new TreeCollection(options));
28
- var createFileTreeCollection = (paths) => ref(filePathToTree(paths));
29
-
30
- export { createFileTreeCollection, createListCollection, createTreeCollection };
@@ -1,5 +0,0 @@
1
- // src/utils/run-if-fn.ts
2
- var isFunction = (value) => typeof value === "function";
3
- var runIfFn = (valueOrFn, ...args) => isFunction(valueOrFn) ? valueOrFn(...args) : valueOrFn;
4
-
5
- export { runIfFn };
@@ -1,233 +0,0 @@
1
- // src/components/collection.ts
2
- import {
3
- ListCollection,
4
- TreeCollection,
5
- filePathToTree
6
- } from "@zag-js/collection";
7
-
8
- // ../../node_modules/proxy-compare/dist/index.js
9
- var TRACK_MEMO_SYMBOL = Symbol();
10
- var GET_ORIGINAL_SYMBOL = Symbol();
11
- var getProto = Object.getPrototypeOf;
12
- var objectsToTrack = /* @__PURE__ */ new WeakMap();
13
- var isObjectToTrack = (obj) => obj && (objectsToTrack.has(obj) ? objectsToTrack.get(obj) : getProto(obj) === Object.prototype || getProto(obj) === Array.prototype);
14
- var getUntracked = (obj) => {
15
- if (isObjectToTrack(obj)) {
16
- return obj[GET_ORIGINAL_SYMBOL] || null;
17
- }
18
- return null;
19
- };
20
- var markToTrack = (obj, mark = true) => {
21
- objectsToTrack.set(obj, mark);
22
- };
23
-
24
- // ../../node_modules/@zag-js/store/dist/index.mjs
25
- function glob() {
26
- if (typeof globalThis !== "undefined") return globalThis;
27
- if (typeof self !== "undefined") return self;
28
- if (typeof window !== "undefined") return window;
29
- if (typeof global !== "undefined") return global;
30
- }
31
- function globalRef(key, value) {
32
- const g = glob();
33
- if (!g) return value();
34
- g[key] || (g[key] = value());
35
- return g[key];
36
- }
37
- var refSet = globalRef("__zag__refSet", () => /* @__PURE__ */ new WeakSet());
38
- var isReactElement = (x) => typeof x === "object" && x !== null && "$$typeof" in x && "props" in x;
39
- var isVueElement = (x) => typeof x === "object" && x !== null && "__v_isVNode" in x;
40
- var isDOMElement = (x) => typeof x === "object" && x !== null && "nodeType" in x && typeof x.nodeName === "string";
41
- var isElement = (x) => isReactElement(x) || isVueElement(x) || isDOMElement(x);
42
- var isObject = (x) => x !== null && typeof x === "object";
43
- var canProxy = (x) => isObject(x) && !refSet.has(x) && (Array.isArray(x) || !(Symbol.iterator in x)) && !isElement(x) && !(x instanceof WeakMap) && !(x instanceof WeakSet) && !(x instanceof Error) && !(x instanceof Number) && !(x instanceof Date) && !(x instanceof String) && !(x instanceof RegExp) && !(x instanceof ArrayBuffer) && !(x instanceof Promise);
44
- var isDev = () => true;
45
- var proxyStateMap = globalRef("__zag__proxyStateMap", () => /* @__PURE__ */ new WeakMap());
46
- var buildProxyFunction = (objectIs = Object.is, newProxy = (target, handler) => new Proxy(target, handler), snapCache = /* @__PURE__ */ new WeakMap(), createSnapshot = (target, version) => {
47
- const cache = snapCache.get(target);
48
- if (cache?.[0] === version) {
49
- return cache[1];
50
- }
51
- const snap = Array.isArray(target) ? [] : Object.create(Object.getPrototypeOf(target));
52
- markToTrack(snap, true);
53
- snapCache.set(target, [version, snap]);
54
- Reflect.ownKeys(target).forEach((key) => {
55
- const value = Reflect.get(target, key);
56
- if (refSet.has(value)) {
57
- markToTrack(value, false);
58
- snap[key] = value;
59
- } else if (proxyStateMap.has(value)) {
60
- snap[key] = snapshot(value);
61
- } else {
62
- snap[key] = value;
63
- }
64
- });
65
- return Object.freeze(snap);
66
- }, proxyCache = /* @__PURE__ */ new WeakMap(), versionHolder = [1, 1], proxyFunction2 = (initialObject) => {
67
- if (!isObject(initialObject)) {
68
- throw new Error("object required");
69
- }
70
- const found = proxyCache.get(initialObject);
71
- if (found) {
72
- return found;
73
- }
74
- let version = versionHolder[0];
75
- const listeners = /* @__PURE__ */ new Set();
76
- const notifyUpdate = (op, nextVersion = ++versionHolder[0]) => {
77
- if (version !== nextVersion) {
78
- version = nextVersion;
79
- listeners.forEach((listener) => listener(op, nextVersion));
80
- }
81
- };
82
- let checkVersion = versionHolder[1];
83
- const ensureVersion = (nextCheckVersion = ++versionHolder[1]) => {
84
- if (checkVersion !== nextCheckVersion && !listeners.size) {
85
- checkVersion = nextCheckVersion;
86
- propProxyStates.forEach(([propProxyState]) => {
87
- const propVersion = propProxyState[1](nextCheckVersion);
88
- if (propVersion > version) {
89
- version = propVersion;
90
- }
91
- });
92
- }
93
- return version;
94
- };
95
- const createPropListener = (prop) => (op, nextVersion) => {
96
- const newOp = [...op];
97
- newOp[1] = [prop, ...newOp[1]];
98
- notifyUpdate(newOp, nextVersion);
99
- };
100
- const propProxyStates = /* @__PURE__ */ new Map();
101
- const addPropListener = (prop, propProxyState) => {
102
- if (isDev() && propProxyStates.has(prop)) {
103
- throw new Error("prop listener already exists");
104
- }
105
- if (listeners.size) {
106
- const remove = propProxyState[3](createPropListener(prop));
107
- propProxyStates.set(prop, [propProxyState, remove]);
108
- } else {
109
- propProxyStates.set(prop, [propProxyState]);
110
- }
111
- };
112
- const removePropListener = (prop) => {
113
- const entry = propProxyStates.get(prop);
114
- if (entry) {
115
- propProxyStates.delete(prop);
116
- entry[1]?.();
117
- }
118
- };
119
- const addListener = (listener) => {
120
- listeners.add(listener);
121
- if (listeners.size === 1) {
122
- propProxyStates.forEach(([propProxyState, prevRemove], prop) => {
123
- if (isDev() && prevRemove) {
124
- throw new Error("remove already exists");
125
- }
126
- const remove = propProxyState[3](createPropListener(prop));
127
- propProxyStates.set(prop, [propProxyState, remove]);
128
- });
129
- }
130
- const removeListener = () => {
131
- listeners.delete(listener);
132
- if (listeners.size === 0) {
133
- propProxyStates.forEach(([propProxyState, remove], prop) => {
134
- if (remove) {
135
- remove();
136
- propProxyStates.set(prop, [propProxyState]);
137
- }
138
- });
139
- }
140
- };
141
- return removeListener;
142
- };
143
- const baseObject = Array.isArray(initialObject) ? [] : Object.create(Object.getPrototypeOf(initialObject));
144
- const handler = {
145
- deleteProperty(target, prop) {
146
- const prevValue = Reflect.get(target, prop);
147
- removePropListener(prop);
148
- const deleted = Reflect.deleteProperty(target, prop);
149
- if (deleted) {
150
- notifyUpdate(["delete", [prop], prevValue]);
151
- }
152
- return deleted;
153
- },
154
- set(target, prop, value, receiver) {
155
- const hasPrevValue = Reflect.has(target, prop);
156
- const prevValue = Reflect.get(target, prop, receiver);
157
- if (hasPrevValue && (objectIs(prevValue, value) || proxyCache.has(value) && objectIs(prevValue, proxyCache.get(value)))) {
158
- return true;
159
- }
160
- removePropListener(prop);
161
- if (isObject(value)) {
162
- value = getUntracked(value) || value;
163
- }
164
- let nextValue = value;
165
- if (Object.getOwnPropertyDescriptor(target, prop)?.set) ;
166
- else {
167
- if (!proxyStateMap.has(value) && canProxy(value)) {
168
- nextValue = proxy(value);
169
- }
170
- const childProxyState = !refSet.has(nextValue) && proxyStateMap.get(nextValue);
171
- if (childProxyState) {
172
- addPropListener(prop, childProxyState);
173
- }
174
- }
175
- Reflect.set(target, prop, nextValue, receiver);
176
- notifyUpdate(["set", [prop], value, prevValue]);
177
- return true;
178
- }
179
- };
180
- const proxyObject = newProxy(baseObject, handler);
181
- proxyCache.set(initialObject, proxyObject);
182
- const proxyState = [baseObject, ensureVersion, createSnapshot, addListener];
183
- proxyStateMap.set(proxyObject, proxyState);
184
- Reflect.ownKeys(initialObject).forEach((key) => {
185
- const desc = Object.getOwnPropertyDescriptor(initialObject, key);
186
- if (desc.get || desc.set) {
187
- Object.defineProperty(baseObject, key, desc);
188
- } else {
189
- proxyObject[key] = initialObject[key];
190
- }
191
- });
192
- return proxyObject;
193
- }) => [
194
- // public functions
195
- proxyFunction2,
196
- // shared state
197
- proxyStateMap,
198
- refSet,
199
- // internal things
200
- objectIs,
201
- newProxy,
202
- canProxy,
203
- snapCache,
204
- createSnapshot,
205
- proxyCache,
206
- versionHolder
207
- ];
208
- var [proxyFunction] = buildProxyFunction();
209
- function proxy(initialObject = {}) {
210
- return proxyFunction(initialObject);
211
- }
212
- function snapshot(proxyObject) {
213
- const proxyState = proxyStateMap.get(proxyObject);
214
- if (isDev() && !proxyState) {
215
- }
216
- const [target, ensureVersion, createSnapshot] = proxyState;
217
- return createSnapshot(target, ensureVersion());
218
- }
219
- function ref(obj) {
220
- refSet.add(obj);
221
- return obj;
222
- }
223
-
224
- // src/components/collection.ts
225
- var createListCollection = (options) => ref(new ListCollection(options));
226
- var createTreeCollection = (options) => ref(new TreeCollection(options));
227
- var createFileTreeCollection = (paths) => ref(filePathToTree(paths));
228
-
229
- export {
230
- createListCollection,
231
- createTreeCollection,
232
- createFileTreeCollection
233
- };
@@ -1,7 +0,0 @@
1
- // src/utils/run-if-fn.ts
2
- var isFunction = (value) => typeof value === "function";
3
- var runIfFn = (valueOrFn, ...args) => isFunction(valueOrFn) ? valueOrFn(...args) : valueOrFn;
4
-
5
- export {
6
- runIfFn
7
- };