@sprawlify/primitives 0.0.62 → 0.0.63

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 (351) hide show
  1. package/dist/anatomy.d.cts +1 -1
  2. package/dist/anatomy.d.mts +1 -1
  3. package/dist/anatomy.mjs +1 -1
  4. package/dist/{aria-hidden-kcYiyWLo.cjs → aria-hidden-CHWfuKk2.cjs} +1 -1
  5. package/dist/{aria-hidden-CVIz-P9c.mjs → aria-hidden-Csp0PkO_.mjs} +1 -1
  6. package/dist/aria-hidden.cjs +2 -2
  7. package/dist/aria-hidden.mjs +2 -2
  8. package/dist/{auto-resize-C55IrFLZ.cjs → auto-resize-BL8ul-hb.cjs} +1 -1
  9. package/dist/{auto-resize-R0jCGBHZ.mjs → auto-resize-jPUJLPa4.mjs} +1 -1
  10. package/dist/auto-resize.cjs +2 -2
  11. package/dist/auto-resize.mjs +2 -2
  12. package/dist/{collection-CjwZd09Z.mjs → collection-DHyEg4g5.mjs} +30 -30
  13. package/dist/{collection-Q52RkxUe.cjs → collection-Fkg4kgPn.cjs} +30 -30
  14. package/dist/collection.cjs +2 -2
  15. package/dist/collection.d.cts +4 -4
  16. package/dist/collection.d.mts +4 -4
  17. package/dist/collection.mjs +2 -2
  18. package/dist/{color-utils-BekVyYIJ.mjs → color-utils-CaqLeEog.mjs} +3 -3
  19. package/dist/{color-utils-BVq_rh8L.cjs → color-utils-eUlz6Gq4.cjs} +3 -3
  20. package/dist/color-utils.cjs +2 -2
  21. package/dist/color-utils.d.cts +1 -1
  22. package/dist/color-utils.d.mts +1 -1
  23. package/dist/color-utils.mjs +2 -2
  24. package/dist/{core-CsVTCpQ_.cjs → core-CHsDFMV3.cjs} +7 -7
  25. package/dist/{core-CujC6Y2H.mjs → core-owywCQ2e.mjs} +7 -7
  26. package/dist/core.cjs +3 -3
  27. package/dist/core.d.cts +2 -2
  28. package/dist/core.d.mts +2 -2
  29. package/dist/core.mjs +3 -3
  30. package/dist/{date-utils-_Hu9b5fQ.cjs → date-utils-BDBOiT_6.cjs} +22 -23
  31. package/dist/{date-utils-d1Jt6z5f.mjs → date-utils-LnVS7q0z.mjs} +22 -23
  32. package/dist/date-utils.cjs +1 -1
  33. package/dist/date-utils.d.cts +6 -6
  34. package/dist/date-utils.d.mts +1 -1
  35. package/dist/date-utils.mjs +1 -1
  36. package/dist/{defineProperty-bTDhmYM0.mjs → defineProperty-DR_NxfHn.mjs} +8 -8
  37. package/dist/{defineProperty-xA1FicUs.cjs → defineProperty-_bOnJOii.cjs} +8 -8
  38. package/dist/{dismissable-D0YyXTJv.mjs → dismissable-BlZazbp3.mjs} +7 -7
  39. package/dist/{dismissable-D9NEAGMU.cjs → dismissable-DSFGuAU6.cjs} +7 -7
  40. package/dist/{dismissable-layer-C39y-V3t.d.mts → dismissable-layer-B2bSyA07.d.cts} +2 -2
  41. package/dist/{dismissable-layer-D-7fwQL8.d.cts → dismissable-layer-CpUMMV1f.d.mts} +2 -2
  42. package/dist/dismissable.cjs +4 -4
  43. package/dist/dismissable.d.cts +2 -2
  44. package/dist/dismissable.d.mts +2 -2
  45. package/dist/dismissable.mjs +4 -4
  46. package/dist/{dom-query-xZuxOsD4.cjs → dom-query-CAFhX43H.cjs} +25 -25
  47. package/dist/{dom-query-CUb85Z22.mjs → dom-query-CQFBCdpo.mjs} +25 -25
  48. package/dist/dom-query.cjs +1 -1
  49. package/dist/dom-query.d.cts +7 -7
  50. package/dist/dom-query.d.mts +7 -7
  51. package/dist/dom-query.mjs +1 -1
  52. package/dist/{file-utils-G9_tYexo.cjs → file-utils-Bkp18nrt.cjs} +6 -6
  53. package/dist/{file-utils-5E6-AtJ9.mjs → file-utils-lcjM-YjV.mjs} +6 -6
  54. package/dist/file-utils.cjs +1 -1
  55. package/dist/file-utils.d.cts +1 -1
  56. package/dist/file-utils.d.mts +1 -1
  57. package/dist/file-utils.mjs +1 -1
  58. package/dist/{focus-trap-KZbY4M-m.mjs → focus-trap-BXT0oBtL.mjs} +7 -7
  59. package/dist/{focus-trap-DcDcihd5.cjs → focus-trap-zaIiaoqE.cjs} +7 -7
  60. package/dist/focus-trap.cjs +2 -2
  61. package/dist/focus-trap.mjs +2 -2
  62. package/dist/{focus-visible-Ddho9PEA.cjs → focus-visible-3pXNNo-l.cjs} +1 -1
  63. package/dist/{focus-visible-Bm2uoacD.mjs → focus-visible-DjGDsaLn.mjs} +1 -1
  64. package/dist/focus-visible.cjs +2 -2
  65. package/dist/focus-visible.mjs +2 -2
  66. package/dist/highlight-word.cjs +3 -3
  67. package/dist/highlight-word.mjs +3 -3
  68. package/dist/hotkeys.cjs +8 -8
  69. package/dist/hotkeys.mjs +8 -8
  70. package/dist/{i18n-utils-B3KjZ58Q.cjs → i18n-utils-CK27xonZ.cjs} +1 -1
  71. package/dist/{i18n-utils-85PCPQ3H.mjs → i18n-utils-KuoJj66z.mjs} +1 -1
  72. package/dist/i18n-utils.cjs +2 -2
  73. package/dist/i18n-utils.mjs +2 -2
  74. package/dist/{index-BuUzJjaP.d.mts → index-CafmAesU.d.mts} +3 -3
  75. package/dist/{index-Bqw3r34-.d.cts → index-D1U_WMQ9.d.cts} +3 -3
  76. package/dist/{interact-outside-xKQjln5u.mjs → interact-outside-CRmkKF6k.mjs} +4 -4
  77. package/dist/{interact-outside-xGMuVVaa.cjs → interact-outside-Dk2otQqs.cjs} +4 -4
  78. package/dist/interact-outside.cjs +3 -3
  79. package/dist/interact-outside.d.cts +1 -1
  80. package/dist/interact-outside.d.mts +1 -1
  81. package/dist/interact-outside.mjs +3 -3
  82. package/dist/json-tree-utils.cjs +30 -30
  83. package/dist/json-tree-utils.mjs +30 -30
  84. package/dist/{list-collection-BvMwDNHf.d.cts → list-collection-C9XUe75n.d.mts} +1 -1
  85. package/dist/{list-collection-CTt1eong.d.mts → list-collection-DwMgPYoA.d.cts} +1 -1
  86. package/dist/live-region.d.cts +1 -1
  87. package/dist/live-region.d.mts +1 -1
  88. package/dist/live-region.mjs +1 -1
  89. package/dist/machines/accordion/index.cjs +34 -34
  90. package/dist/machines/accordion/index.d.cts +3 -3
  91. package/dist/machines/accordion/index.d.mts +3 -3
  92. package/dist/machines/accordion/index.mjs +36 -36
  93. package/dist/machines/angle-slider/index.cjs +13 -13
  94. package/dist/machines/angle-slider/index.d.cts +4 -4
  95. package/dist/machines/angle-slider/index.d.mts +4 -4
  96. package/dist/machines/angle-slider/index.mjs +15 -15
  97. package/dist/machines/async-list/index.cjs +3 -3
  98. package/dist/machines/async-list/index.d.cts +1 -1
  99. package/dist/machines/async-list/index.d.mts +1 -1
  100. package/dist/machines/async-list/index.mjs +3 -3
  101. package/dist/machines/avatar/index.cjs +3 -3
  102. package/dist/machines/avatar/index.d.cts +3 -3
  103. package/dist/machines/avatar/index.d.mts +3 -3
  104. package/dist/machines/avatar/index.mjs +5 -5
  105. package/dist/machines/bottom-sheet/index.cjs +15 -15
  106. package/dist/machines/bottom-sheet/index.d.cts +6 -6
  107. package/dist/machines/bottom-sheet/index.d.mts +6 -6
  108. package/dist/machines/bottom-sheet/index.mjs +17 -17
  109. package/dist/machines/carousel/index.cjs +38 -38
  110. package/dist/machines/carousel/index.d.cts +4 -4
  111. package/dist/machines/carousel/index.d.mts +4 -4
  112. package/dist/machines/carousel/index.mjs +40 -40
  113. package/dist/machines/checkbox/index.cjs +11 -11
  114. package/dist/machines/checkbox/index.d.cts +4 -4
  115. package/dist/machines/checkbox/index.d.mts +4 -4
  116. package/dist/machines/checkbox/index.mjs +13 -13
  117. package/dist/machines/clipboard/index.cjs +7 -7
  118. package/dist/machines/clipboard/index.d.cts +4 -4
  119. package/dist/machines/clipboard/index.d.mts +4 -4
  120. package/dist/machines/clipboard/index.mjs +9 -9
  121. package/dist/machines/collapsible/index.cjs +3 -3
  122. package/dist/machines/collapsible/index.d.cts +3 -3
  123. package/dist/machines/collapsible/index.d.mts +3 -3
  124. package/dist/machines/collapsible/index.mjs +5 -5
  125. package/dist/machines/color-picker/index.cjs +58 -58
  126. package/dist/machines/color-picker/index.d.cts +7 -7
  127. package/dist/machines/color-picker/index.d.mts +7 -7
  128. package/dist/machines/color-picker/index.mjs +60 -60
  129. package/dist/machines/combobox/index.cjs +108 -108
  130. package/dist/machines/combobox/index.d.cts +8 -8
  131. package/dist/machines/combobox/index.d.mts +8 -8
  132. package/dist/machines/combobox/index.mjs +110 -110
  133. package/dist/machines/date-picker/index.cjs +113 -113
  134. package/dist/machines/date-picker/index.d.cts +8 -8
  135. package/dist/machines/date-picker/index.d.mts +8 -8
  136. package/dist/machines/date-picker/index.mjs +120 -120
  137. package/dist/machines/dialog/index.cjs +12 -12
  138. package/dist/machines/dialog/index.d.cts +6 -6
  139. package/dist/machines/dialog/index.d.mts +6 -6
  140. package/dist/machines/dialog/index.mjs +14 -14
  141. package/dist/machines/editable/index.cjs +14 -14
  142. package/dist/machines/editable/index.d.cts +5 -5
  143. package/dist/machines/editable/index.d.mts +5 -5
  144. package/dist/machines/editable/index.mjs +16 -16
  145. package/dist/machines/file-upload/index.cjs +27 -27
  146. package/dist/machines/file-upload/index.d.cts +5 -5
  147. package/dist/machines/file-upload/index.d.mts +5 -5
  148. package/dist/machines/file-upload/index.mjs +29 -29
  149. package/dist/machines/floating-panel/index.cjs +25 -25
  150. package/dist/machines/floating-panel/index.d.cts +5 -5
  151. package/dist/machines/floating-panel/index.d.mts +5 -5
  152. package/dist/machines/floating-panel/index.mjs +27 -27
  153. package/dist/machines/hover-card/index.cjs +11 -11
  154. package/dist/machines/hover-card/index.d.cts +6 -6
  155. package/dist/machines/hover-card/index.d.mts +6 -6
  156. package/dist/machines/hover-card/index.mjs +13 -13
  157. package/dist/machines/image-cropper/index.cjs +39 -39
  158. package/dist/machines/image-cropper/index.d.cts +4 -4
  159. package/dist/machines/image-cropper/index.d.mts +4 -4
  160. package/dist/machines/image-cropper/index.mjs +41 -41
  161. package/dist/machines/listbox/index.cjs +94 -94
  162. package/dist/machines/listbox/index.d.cts +8 -8
  163. package/dist/machines/listbox/index.d.mts +8 -8
  164. package/dist/machines/listbox/index.mjs +96 -96
  165. package/dist/machines/marquee/index.cjs +11 -11
  166. package/dist/machines/marquee/index.d.cts +6 -6
  167. package/dist/machines/marquee/index.d.mts +6 -6
  168. package/dist/machines/marquee/index.mjs +13 -13
  169. package/dist/machines/menu/index.cjs +59 -59
  170. package/dist/machines/menu/index.d.cts +9 -9
  171. package/dist/machines/menu/index.d.mts +9 -9
  172. package/dist/machines/menu/index.mjs +61 -61
  173. package/dist/machines/navigation-menu/index.cjs +66 -66
  174. package/dist/machines/navigation-menu/index.d.cts +4 -4
  175. package/dist/machines/navigation-menu/index.d.mts +4 -4
  176. package/dist/machines/navigation-menu/index.mjs +68 -68
  177. package/dist/machines/number-input/index.cjs +10 -10
  178. package/dist/machines/number-input/index.d.cts +4 -4
  179. package/dist/machines/number-input/index.d.mts +4 -4
  180. package/dist/machines/number-input/index.mjs +12 -12
  181. package/dist/machines/pagination/index.cjs +12 -12
  182. package/dist/machines/pagination/index.d.cts +4 -4
  183. package/dist/machines/pagination/index.d.mts +4 -4
  184. package/dist/machines/pagination/index.mjs +14 -14
  185. package/dist/machines/password-input/index.cjs +6 -6
  186. package/dist/machines/password-input/index.d.cts +4 -4
  187. package/dist/machines/password-input/index.d.mts +4 -4
  188. package/dist/machines/password-input/index.mjs +8 -8
  189. package/dist/machines/pin-input/index.cjs +9 -9
  190. package/dist/machines/pin-input/index.d.cts +4 -4
  191. package/dist/machines/pin-input/index.d.mts +4 -4
  192. package/dist/machines/pin-input/index.mjs +11 -11
  193. package/dist/machines/popover/index.cjs +16 -16
  194. package/dist/machines/popover/index.d.cts +7 -7
  195. package/dist/machines/popover/index.d.mts +7 -7
  196. package/dist/machines/popover/index.mjs +18 -18
  197. package/dist/machines/presence/index.cjs +6 -6
  198. package/dist/machines/presence/index.d.cts +2 -2
  199. package/dist/machines/presence/index.d.mts +2 -2
  200. package/dist/machines/presence/index.mjs +7 -7
  201. package/dist/machines/progress/index.cjs +19 -19
  202. package/dist/machines/progress/index.d.cts +4 -4
  203. package/dist/machines/progress/index.d.mts +4 -4
  204. package/dist/machines/progress/index.mjs +21 -21
  205. package/dist/machines/qr-code/index.cjs +7 -7
  206. package/dist/machines/qr-code/index.d.cts +4 -4
  207. package/dist/machines/qr-code/index.d.mts +4 -4
  208. package/dist/machines/qr-code/index.mjs +9 -9
  209. package/dist/machines/radio-group/index.cjs +39 -39
  210. package/dist/machines/radio-group/index.d.cts +4 -4
  211. package/dist/machines/radio-group/index.d.mts +4 -4
  212. package/dist/machines/radio-group/index.mjs +41 -41
  213. package/dist/machines/rating-group/index.cjs +16 -16
  214. package/dist/machines/rating-group/index.d.cts +4 -4
  215. package/dist/machines/rating-group/index.d.mts +4 -4
  216. package/dist/machines/rating-group/index.mjs +18 -18
  217. package/dist/machines/scroll-area/index.cjs +13 -13
  218. package/dist/machines/scroll-area/index.d.cts +4 -4
  219. package/dist/machines/scroll-area/index.d.mts +4 -4
  220. package/dist/machines/scroll-area/index.mjs +15 -15
  221. package/dist/machines/select/index.cjs +50 -50
  222. package/dist/machines/select/index.d.cts +9 -9
  223. package/dist/machines/select/index.d.mts +9 -9
  224. package/dist/machines/select/index.mjs +52 -52
  225. package/dist/machines/signature-pad/index.cjs +11 -11
  226. package/dist/machines/signature-pad/index.d.cts +4 -4
  227. package/dist/machines/signature-pad/index.d.mts +4 -4
  228. package/dist/machines/signature-pad/index.mjs +13 -13
  229. package/dist/machines/slider/index.cjs +42 -43
  230. package/dist/machines/slider/index.d.cts +4 -4
  231. package/dist/machines/slider/index.d.mts +4 -4
  232. package/dist/machines/slider/index.mjs +44 -45
  233. package/dist/machines/splitter/index.cjs +62 -62
  234. package/dist/machines/splitter/index.d.cts +3 -3
  235. package/dist/machines/splitter/index.d.mts +3 -3
  236. package/dist/machines/splitter/index.mjs +64 -64
  237. package/dist/machines/steps/index.cjs +27 -27
  238. package/dist/machines/steps/index.d.cts +4 -4
  239. package/dist/machines/steps/index.d.mts +4 -4
  240. package/dist/machines/steps/index.mjs +29 -29
  241. package/dist/machines/switch/index.cjs +10 -10
  242. package/dist/machines/switch/index.d.cts +4 -4
  243. package/dist/machines/switch/index.d.mts +4 -4
  244. package/dist/machines/switch/index.mjs +12 -12
  245. package/dist/machines/tabs/index.cjs +14 -14
  246. package/dist/machines/tabs/index.d.cts +4 -4
  247. package/dist/machines/tabs/index.d.mts +4 -4
  248. package/dist/machines/tabs/index.mjs +16 -16
  249. package/dist/machines/tags-input/index.cjs +30 -30
  250. package/dist/machines/tags-input/index.d.cts +6 -6
  251. package/dist/machines/tags-input/index.d.mts +6 -6
  252. package/dist/machines/tags-input/index.mjs +33 -33
  253. package/dist/machines/timer/index.cjs +19 -19
  254. package/dist/machines/timer/index.d.cts +4 -4
  255. package/dist/machines/timer/index.d.mts +4 -4
  256. package/dist/machines/timer/index.mjs +21 -21
  257. package/dist/machines/toast/index.cjs +11 -11
  258. package/dist/machines/toast/index.d.cts +5 -6
  259. package/dist/machines/toast/index.d.mts +5 -6
  260. package/dist/machines/toast/index.mjs +12 -12
  261. package/dist/machines/toggle/index.cjs +5 -5
  262. package/dist/machines/toggle/index.d.cts +3 -3
  263. package/dist/machines/toggle/index.d.mts +3 -3
  264. package/dist/machines/toggle/index.mjs +7 -7
  265. package/dist/machines/toggle-group/index.cjs +16 -16
  266. package/dist/machines/toggle-group/index.d.cts +3 -3
  267. package/dist/machines/toggle-group/index.d.mts +3 -3
  268. package/dist/machines/toggle-group/index.mjs +18 -18
  269. package/dist/machines/tooltip/index.cjs +12 -12
  270. package/dist/machines/tooltip/index.d.cts +5 -5
  271. package/dist/machines/tooltip/index.d.mts +5 -5
  272. package/dist/machines/tooltip/index.mjs +14 -14
  273. package/dist/machines/tour/index.cjs +19 -19
  274. package/dist/machines/tour/index.d.cts +7 -7
  275. package/dist/machines/tour/index.d.mts +7 -7
  276. package/dist/machines/tour/index.mjs +21 -21
  277. package/dist/machines/tree-view/index.cjs +161 -161
  278. package/dist/machines/tree-view/index.d.cts +7 -7
  279. package/dist/machines/tree-view/index.d.mts +7 -7
  280. package/dist/machines/tree-view/index.mjs +163 -163
  281. package/dist/{popper-TNUpC0Kp.cjs → popper-CY3ptPbm.cjs} +4 -4
  282. package/dist/{popper-DbfXVgrC.mjs → popper-DxgokNha.mjs} +4 -4
  283. package/dist/popper.cjs +3 -3
  284. package/dist/popper.d.cts +1 -1
  285. package/dist/popper.d.mts +1 -1
  286. package/dist/popper.mjs +3 -3
  287. package/dist/{rect-utils-CDBAit19.mjs → rect-utils-BobE6Wut.mjs} +9 -9
  288. package/dist/{rect-utils-ChBPj9XR.cjs → rect-utils-DtqZwNtZ.cjs} +9 -9
  289. package/dist/rect-utils.cjs +1 -1
  290. package/dist/rect-utils.d.cts +1 -1
  291. package/dist/rect-utils.d.mts +1 -1
  292. package/dist/rect-utils.mjs +1 -1
  293. package/dist/{remove-scroll-DNoftRvo.mjs → remove-scroll-DcPV6nZy.mjs} +1 -1
  294. package/dist/{remove-scroll-D5aUrYvL.cjs → remove-scroll-DgJgF1C5.cjs} +1 -1
  295. package/dist/{scroll-snap-tDsdAemJ.mjs → scroll-snap-D_M1Q8ZQ.mjs} +1 -1
  296. package/dist/{scroll-snap-DhVLyRe-.cjs → scroll-snap-DpEzlrHP.cjs} +1 -1
  297. package/dist/scroll-snap.cjs +2 -2
  298. package/dist/scroll-snap.mjs +2 -2
  299. package/dist/{selection-JDFmyke7.d.mts → selection-CPTdpru8.d.mts} +2 -2
  300. package/dist/{selection-vng1guNc.d.cts → selection-wfybIxD3.d.cts} +2 -2
  301. package/dist/{store-DDjfrUhd.cjs → store-B9Ewi-zx.cjs} +4 -4
  302. package/dist/{store-CpMJ6RZR.mjs → store-DMXvGOAu.mjs} +4 -4
  303. package/dist/store.cjs +1 -1
  304. package/dist/store.mjs +1 -1
  305. package/dist/{tree-collection-CmehimuO.d.cts → tree-collection-1g4DXuqa.d.mts} +1 -2
  306. package/dist/{tree-collection-CqXQBHwY.d.mts → tree-collection-CPcsMvje.d.cts} +1 -2
  307. package/dist/{types-DL5AIQk5.d.mts → types-BM4oVvZZ.d.mts} +10 -10
  308. package/dist/{types-DejIu60O.d.cts → types-fB7F7BBP.d.cts} +10 -10
  309. package/dist/types.d.cts +1 -1
  310. package/dist/types.d.mts +1 -1
  311. package/dist/types.mjs +1 -1
  312. package/dist/{utils-B4_qn2dt.cjs → utils-CJsQZljH.cjs} +21 -21
  313. package/dist/{utils-DSBXwmDm.mjs → utils-Vs04rt8f.mjs} +21 -21
  314. package/dist/utils.cjs +1 -1
  315. package/dist/utils.d.cts +1 -1
  316. package/dist/utils.d.mts +1 -1
  317. package/dist/utils.mjs +1 -1
  318. package/package.json +1 -1
  319. /package/dist/{color-Bcy-SLQ1.d.mts → color-B3sgFAa6.d.mts} +0 -0
  320. /package/dist/{color-Bj20c2qw.d.cts → color-BhaNI8oR.d.cts} +0 -0
  321. /package/dist/{create-anatomy-DHVOqZET.d.mts → create-anatomy-9eFQs7lO.d.cts} +0 -0
  322. /package/dist/{create-anatomy-CArN8dVu.mjs → create-anatomy-BVqM_FJ6.mjs} +0 -0
  323. /package/dist/{create-anatomy-smWrirg1.d.cts → create-anatomy-UNZ__hxH.d.mts} +0 -0
  324. /package/dist/{create-props-SRSjdUTq.mjs → create-props-Dtoa4OUk.mjs} +0 -0
  325. /package/dist/{data-url-C3ITPVRX.d.cts → data-url-BrR6WHXH.d.cts} +0 -0
  326. /package/dist/{data-url-mcVoUiET.d.mts → data-url-lOYkmlVX.d.mts} +0 -0
  327. /package/dist/{functions-7V6veSov.d.cts → functions-Box4pxDB.d.cts} +0 -0
  328. /package/dist/{functions-CjitT5Gr.d.mts → functions-Du4c1Rcz.d.mts} +0 -0
  329. /package/dist/{index-CygfPLvT.d.mts → index-B2rsdD3v.d.cts} +0 -0
  330. /package/dist/{index-Bvn6ocEE.d.mts → index-CXu0elLS.d.mts} +0 -0
  331. /package/dist/{index-C9-feK5c.d.cts → index-Cf0hysnI.d.cts} +0 -0
  332. /package/dist/{index-Owca7uxB.d.cts → index-DIJJrhP_.d.mts} +0 -0
  333. /package/dist/{index-BTi1wETB.d.mts → index-DJ1MHM3z.d.mts} +0 -0
  334. /package/dist/{index-BqhWpjZh.d.mts → index-DLbWwJUT.d.mts} +0 -0
  335. /package/dist/{live-region-BcSdQIM8.mjs → live-region-CBp2K1JK.mjs} +0 -0
  336. /package/dist/{node-CHGS3acf.d.mts → node-BGWAyUGo.d.mts} +0 -0
  337. /package/dist/{node-CSsuPZVZ.d.cts → node-D8Ztr9Hg.d.cts} +0 -0
  338. /package/dist/{raf-BV1049GE.d.mts → raf-B8md2utS.d.mts} +0 -0
  339. /package/dist/{raf-Cd2FGy0z.d.cts → raf-DWPAf0Nd.d.cts} +0 -0
  340. /package/dist/{typeahead-BdNwVP09.d.cts → typeahead-BhNtyjQC.d.cts} +0 -0
  341. /package/dist/{typeahead-DMSwLv1e.d.mts → typeahead-D4TUCBly.d.mts} +0 -0
  342. /package/dist/{types-D5ziaMrd.d.cts → types-B--gFZVP.d.cts} +0 -0
  343. /package/dist/{types-DddL75YY.d.cts → types-C1F7Y-Hc.d.cts} +0 -0
  344. /package/dist/{types-CADkcKtr.d.cts → types-CBWaEVU4.d.cts} +0 -0
  345. /package/dist/{types-D-ZRl1jP.d.mts → types-CW-uU8Nz.d.mts} +0 -0
  346. /package/dist/{types-Df8ZhdY-.d.mts → types-D0tsc4Jo.d.mts} +0 -0
  347. /package/dist/{types-GxLIgJib.d.cts → types-DTZZ5wsp.d.cts} +0 -0
  348. /package/dist/{types-J14X3oxU.d.mts → types-Dw1I6cFP.d.mts} +0 -0
  349. /package/dist/{types-F-0xFywm.d.cts → types-oR0sELNB.d.cts} +0 -0
  350. /package/dist/{wait-for-ChpX25fU.d.cts → wait-for-CVZu6XNU.d.mts} +0 -0
  351. /package/dist/{wait-for-DxY1szJ6.d.mts → wait-for-D5gBQyam.d.cts} +0 -0
@@ -1,12 +1,12 @@
1
- import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
2
- import { G as getInitialFocus, I as scrollIntoView, K as isValidTabEvent, W as raf, Zt as contains, a as visuallyHiddenStyle, cn as isEditableElement, pt as getEventTarget, s as getByTypeahead, st as trackFormControl, ut as getEventKey, vn as ariaAttr, yn as dataAttr, z as observeAttributes } from "../../dom-query-CUb85Z22.mjs";
3
- import { ft as isEqual, mt as addOrRemove, t as ensure, u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
4
- import { s as ListCollection } from "../../collection-CjwZd09Z.mjs";
5
- import { a as createMachine, i as createGuards } from "../../core-CujC6Y2H.mjs";
6
- import "../../interact-outside-xKQjln5u.mjs";
7
- import { n as trackDismissableElement } from "../../dismissable-D0YyXTJv.mjs";
8
- import { n as getPlacement, t as getPlacementStyles } from "../../popper-DbfXVgrC.mjs";
9
- import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
1
+ import { t as createAnatomy } from "../../create-anatomy-BVqM_FJ6.mjs";
2
+ import { G as getInitialFocus, I as scrollIntoView, K as isValidTabEvent, W as raf, Zt as contains, a as visuallyHiddenStyle, cn as isEditableElement, pt as getEventTarget, s as getByTypeahead, st as trackFormControl, ut as getEventKey, vn as ariaAttr, yn as dataAttr, z as observeAttributes } from "../../dom-query-CQFBCdpo.mjs";
3
+ import { ft as isEqual, mt as addOrRemove, t as ensure, u as createSplitProps } from "../../utils-Vs04rt8f.mjs";
4
+ import { s as ListCollection } from "../../collection-DHyEg4g5.mjs";
5
+ import { a as createMachine, i as createGuards } from "../../core-owywCQ2e.mjs";
6
+ import "../../interact-outside-CRmkKF6k.mjs";
7
+ import { n as trackDismissableElement } from "../../dismissable-BlZazbp3.mjs";
8
+ import { n as getPlacement, t as getPlacementStyles } from "../../popper-DxgokNha.mjs";
9
+ import { t as createProps } from "../../create-props-Dtoa4OUk.mjs";
10
10
 
11
11
  //#region src/machines/select/select.anatomy.ts
12
12
  const anatomy = createAnatomy("select").parts("label", "positioner", "trigger", "indicator", "clearTrigger", "item", "itemText", "itemIndicator", "itemGroup", "itemGroupLabel", "list", "content", "root", "control", "valueText");
@@ -53,7 +53,7 @@ function connect(service, normalize) {
53
53
  const required = !!prop("required");
54
54
  const readOnly = !!prop("readOnly");
55
55
  const composite = prop("composite");
56
- const collection$1 = prop("collection");
56
+ const collection = prop("collection");
57
57
  const open = state.hasTag("open");
58
58
  const focused = state.matches("focused");
59
59
  const highlightedValue = context.get("highlightedValue");
@@ -63,10 +63,10 @@ function connect(service, normalize) {
63
63
  const isTypingAhead = computed("isTypingAhead");
64
64
  const interactive = computed("isInteractive");
65
65
  const ariaActiveDescendant = highlightedValue ? getItemId(scope, highlightedValue) : void 0;
66
- function getItemState(props$1) {
67
- const _disabled = collection$1.getItemDisabled(props$1.item);
68
- const value = collection$1.getItemValue(props$1.item);
69
- ensure(value, () => `[sprawlify-js] No value found for item ${JSON.stringify(props$1.item)}`);
66
+ function getItemState(props) {
67
+ const _disabled = collection.getItemDisabled(props.item);
68
+ const value = collection.getItemValue(props.item);
69
+ ensure(value, () => `[sprawlify-js] No value found for item ${JSON.stringify(props.item)}`);
70
70
  return {
71
71
  value,
72
72
  disabled: Boolean(disabled || _disabled),
@@ -88,7 +88,7 @@ function connect(service, normalize) {
88
88
  hasSelectedItems: computed("hasSelectedItems"),
89
89
  value: context.get("value"),
90
90
  valueAsString: computed("valueAsString"),
91
- collection: collection$1,
91
+ collection,
92
92
  multiple: !!prop("multiple"),
93
93
  disabled: !!disabled,
94
94
  reposition(options = {}) {
@@ -119,7 +119,7 @@ function connect(service, normalize) {
119
119
  selectAll() {
120
120
  send({
121
121
  type: "VALUE.SET",
122
- value: collection$1.getValues()
122
+ value: collection.getValues()
123
123
  });
124
124
  },
125
125
  setHighlightValue(value) {
@@ -223,8 +223,8 @@ function connect(service, normalize) {
223
223
  ArrowUp() {
224
224
  send({ type: "TRIGGER.ARROW_UP" });
225
225
  },
226
- ArrowDown(event$1) {
227
- send({ type: event$1.altKey ? "OPEN" : "TRIGGER.ARROW_DOWN" });
226
+ ArrowDown(event) {
227
+ send({ type: event.altKey ? "OPEN" : "TRIGGER.ARROW_DOWN" });
228
228
  },
229
229
  ArrowLeft() {
230
230
  send({ type: "TRIGGER.ARROW_LEFT" });
@@ -241,10 +241,10 @@ function connect(service, normalize) {
241
241
  Enter() {
242
242
  send({ type: "TRIGGER.ENTER" });
243
243
  },
244
- Space(event$1) {
244
+ Space(event) {
245
245
  if (isTypingAhead) send({
246
246
  type: "TRIGGER.TYPEAHEAD",
247
- key: event$1.key
247
+ key: event.key
248
248
  });
249
249
  else send({ type: "TRIGGER.ENTER" });
250
250
  }
@@ -278,8 +278,8 @@ function connect(service, normalize) {
278
278
  "data-readonly": dataAttr(readOnly)
279
279
  });
280
280
  },
281
- getItemProps(props$1) {
282
- const itemState = getItemState(props$1);
281
+ getItemProps(props) {
282
+ const itemState = getItemState(props);
283
283
  return normalize.element({
284
284
  id: getItemId(scope, itemState.value),
285
285
  role: "option",
@@ -310,15 +310,15 @@ function connect(service, normalize) {
310
310
  },
311
311
  onPointerLeave(event) {
312
312
  if (itemState.disabled) return;
313
- if (props$1.persistFocus) return;
313
+ if (props.persistFocus) return;
314
314
  if (event.pointerType !== "mouse") return;
315
315
  if (!service.event.previous()?.type.includes("POINTER")) return;
316
316
  send({ type: "ITEM.POINTER_LEAVE" });
317
317
  }
318
318
  });
319
319
  },
320
- getItemTextProps(props$1) {
321
- const itemState = getItemState(props$1);
320
+ getItemTextProps(props) {
321
+ const itemState = getItemState(props);
322
322
  return normalize.element({
323
323
  ...parts.itemText.attrs,
324
324
  "data-state": itemState.selected ? "checked" : "unchecked",
@@ -326,8 +326,8 @@ function connect(service, normalize) {
326
326
  "data-highlighted": dataAttr(itemState.highlighted)
327
327
  });
328
328
  },
329
- getItemIndicatorProps(props$1) {
330
- const itemState = getItemState(props$1);
329
+ getItemIndicatorProps(props) {
330
+ const itemState = getItemState(props);
331
331
  return normalize.element({
332
332
  "aria-hidden": true,
333
333
  ...parts.itemIndicator.attrs,
@@ -335,8 +335,8 @@ function connect(service, normalize) {
335
335
  hidden: !itemState.selected
336
336
  });
337
337
  },
338
- getItemGroupLabelProps(props$1) {
339
- const { htmlFor } = props$1;
338
+ getItemGroupLabelProps(props) {
339
+ const { htmlFor } = props;
340
340
  return normalize.element({
341
341
  ...parts.itemGroupLabel.attrs,
342
342
  id: getItemGroupLabelId(scope, htmlFor),
@@ -344,8 +344,8 @@ function connect(service, normalize) {
344
344
  role: "presentation"
345
345
  });
346
346
  },
347
- getItemGroupProps(props$1) {
348
- const { id } = props$1;
347
+ getItemGroupProps(props) {
348
+ const { id } = props;
349
349
  return normalize.element({
350
350
  ...parts.itemGroup.attrs,
351
351
  "data-disabled": dataAttr(disabled),
@@ -441,12 +441,12 @@ function connect(service, normalize) {
441
441
  src: "keydown.enter"
442
442
  });
443
443
  },
444
- Space(event$1) {
444
+ Space(event) {
445
445
  if (isTypingAhead) send({
446
446
  type: "CONTENT.TYPEAHEAD",
447
- key: event$1.key
447
+ key: event.key
448
448
  });
449
- else keyMap.Enter?.(event$1);
449
+ else keyMap.Enter?.(event);
450
450
  }
451
451
  };
452
452
  const exec = keyMap[getEventKey(event)];
@@ -483,18 +483,18 @@ function connect(service, normalize) {
483
483
  //#region src/machines/select/select.machine.ts
484
484
  const { and, not, or } = createGuards();
485
485
  const machine = createMachine({
486
- props({ props: props$1 }) {
486
+ props({ props }) {
487
487
  return {
488
488
  loopFocus: false,
489
- closeOnSelect: !props$1.multiple,
489
+ closeOnSelect: !props.multiple,
490
490
  composite: true,
491
491
  defaultValue: [],
492
- ...props$1,
493
- collection: props$1.collection ?? collection.empty(),
492
+ ...props,
493
+ collection: props.collection ?? collection.empty(),
494
494
  positioning: {
495
495
  placement: "bottom-start",
496
496
  gutter: 8,
497
- ...props$1.positioning
497
+ ...props.positioning
498
498
  }
499
499
  };
500
500
  },
@@ -870,7 +870,7 @@ const machine = createMachine({
870
870
  const highlightedValue = context.get("highlightedValue");
871
871
  if (highlightedValue == null) return;
872
872
  if (event.current().type.includes("POINTER")) return;
873
- const contentEl$1 = getContentEl(scope);
873
+ const contentEl = getContentEl(scope);
874
874
  const scrollToIndexFn = prop("scrollToIndexFn");
875
875
  if (scrollToIndexFn) {
876
876
  const highlightedIndex = prop("collection").indexOf(highlightedValue);
@@ -882,7 +882,7 @@ const machine = createMachine({
882
882
  return;
883
883
  }
884
884
  scrollIntoView(getItemEl(scope, highlightedValue), {
885
- rootEl: contentEl$1,
885
+ rootEl: contentEl,
886
886
  block: "nearest"
887
887
  });
888
888
  };
@@ -961,13 +961,13 @@ const machine = createMachine({
961
961
  });
962
962
  },
963
963
  highlightComputedFirstItem({ context, prop, computed }) {
964
- const collection$1 = prop("collection");
965
- const value = computed("hasSelectedItems") ? collection$1.sort(context.get("value"))[0] : collection$1.firstValue;
964
+ const collection = prop("collection");
965
+ const value = computed("hasSelectedItems") ? collection.sort(context.get("value"))[0] : collection.firstValue;
966
966
  context.set("highlightedValue", value);
967
967
  },
968
968
  highlightComputedLastItem({ context, prop, computed }) {
969
- const collection$1 = prop("collection");
970
- const value = computed("hasSelectedItems") ? collection$1.sort(context.get("value"))[0] : collection$1.lastValue;
969
+ const collection = prop("collection");
970
+ const value = computed("hasSelectedItems") ? collection.sort(context.get("value"))[0] : collection.lastValue;
971
971
  context.set("highlightedValue", value);
972
972
  },
973
973
  highlightFirstSelectedItem({ context, prop, computed }) {
@@ -1068,24 +1068,24 @@ const machine = createMachine({
1068
1068
  for (const option of selectEl.options) option.selected = context.get("value").includes(option.value);
1069
1069
  },
1070
1070
  syncCollection({ context, prop }) {
1071
- const collection$1 = prop("collection");
1072
- const highlightedItem = collection$1.find(context.get("highlightedValue"));
1071
+ const collection = prop("collection");
1072
+ const highlightedItem = collection.find(context.get("highlightedValue"));
1073
1073
  if (highlightedItem) context.set("highlightedItem", highlightedItem);
1074
- const selectedItems = collection$1.findMany(context.get("value"));
1074
+ const selectedItems = collection.findMany(context.get("value"));
1075
1075
  context.set("selectedItems", selectedItems);
1076
1076
  },
1077
1077
  syncSelectedItems({ context, prop }) {
1078
- const collection$1 = prop("collection");
1078
+ const collection = prop("collection");
1079
1079
  const prevSelectedItems = context.get("selectedItems");
1080
1080
  const selectedItems = context.get("value").map((value) => {
1081
- return prevSelectedItems.find((item) => collection$1.getItemValue(item) === value) || collection$1.find(value);
1081
+ return prevSelectedItems.find((item) => collection.getItemValue(item) === value) || collection.find(value);
1082
1082
  });
1083
1083
  context.set("selectedItems", selectedItems);
1084
1084
  },
1085
1085
  syncHighlightedItem({ context, prop }) {
1086
- const collection$1 = prop("collection");
1086
+ const collection = prop("collection");
1087
1087
  const highlightedValue = context.get("highlightedValue");
1088
- const highlightedItem = highlightedValue ? collection$1.find(highlightedValue) : null;
1088
+ const highlightedItem = highlightedValue ? collection.find(highlightedValue) : null;
1089
1089
  context.set("highlightedItem", highlightedItem);
1090
1090
  },
1091
1091
  dispatchChangeEvent({ scope }) {
@@ -1,8 +1,8 @@
1
1
  const require_chunk = require('../../chunk-CbDLau6x.cjs');
2
2
  const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
3
- const require_dom_query = require('../../dom-query-xZuxOsD4.cjs');
4
- const require_utils = require('../../utils-B4_qn2dt.cjs');
5
- const require_core = require('../../core-CsVTCpQ_.cjs');
3
+ const require_dom_query = require('../../dom-query-CAFhX43H.cjs');
4
+ const require_utils = require('../../utils-CJsQZljH.cjs');
5
+ const require_core = require('../../core-CHsDFMV3.cjs');
6
6
  const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
7
7
  let perfect_freehand = require("perfect-freehand");
8
8
  perfect_freehand = require_chunk.__toESM(perfect_freehand);
@@ -124,10 +124,10 @@ function connect(service, normalize) {
124
124
  }
125
125
  });
126
126
  },
127
- getSegmentPathProps(props$1) {
127
+ getSegmentPathProps(props) {
128
128
  return normalize.path({
129
129
  ...parts.segmentPath.attrs,
130
- d: props$1.path
130
+ d: props.path
131
131
  });
132
132
  },
133
133
  getGuideProps() {
@@ -148,7 +148,7 @@ function connect(service, normalize) {
148
148
  }
149
149
  });
150
150
  },
151
- getHiddenInputProps(props$1) {
151
+ getHiddenInputProps(props) {
152
152
  return normalize.input({
153
153
  id: getHiddenInputId(scope),
154
154
  type: "text",
@@ -157,7 +157,7 @@ function connect(service, normalize) {
157
157
  required: prop("required"),
158
158
  readOnly: true,
159
159
  name: prop("name"),
160
- value: props$1.value
160
+ value: props.value
161
161
  });
162
162
  }
163
163
  };
@@ -185,22 +185,22 @@ function getSvgPathFromStroke(points, closed = true) {
185
185
  //#endregion
186
186
  //#region src/machines/signature-pad/signature-pad.machine.ts
187
187
  const machine = require_core.createMachine({
188
- props({ props: props$1 }) {
188
+ props({ props }) {
189
189
  return {
190
190
  defaultPaths: [],
191
- ...props$1,
191
+ ...props,
192
192
  drawing: {
193
193
  size: 2,
194
194
  simulatePressure: false,
195
195
  thinning: .7,
196
196
  smoothing: .4,
197
197
  streamline: .6,
198
- ...props$1.drawing
198
+ ...props.drawing
199
199
  },
200
200
  translations: {
201
201
  control: "signature pad",
202
202
  clearTrigger: "clear signature",
203
- ...props$1.translations
203
+ ...props.translations
204
204
  }
205
205
  };
206
206
  },
@@ -1,10 +1,10 @@
1
- import { n as AnatomyInstance } from "../../create-anatomy-smWrirg1.cjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu60O.cjs";
3
- import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
1
+ import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
2
+ import { p as Machine, u as EventObject, y as Service } from "../../types-fB7F7BBP.cjs";
3
+ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
4
4
  import { StrokeOptions } from "perfect-freehand";
5
5
 
6
6
  //#region src/machines/signature-pad/signature-pad.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"root" | "control" | "label" | "segment" | "segmentPath" | "guide" | "clearTrigger">;
7
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "segment" | "segmentPath" | "guide" | "clearTrigger">;
8
8
  //#endregion
9
9
  //#region src/machines/signature-pad/signature-pad.types.d.ts
10
10
  interface Point {
@@ -1,10 +1,10 @@
1
- import { n as AnatomyInstance } from "../../create-anatomy-DHVOqZET.mjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQk5.mjs";
3
- import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
1
+ import { n as AnatomyInstance } from "../../create-anatomy-UNZ__hxH.mjs";
2
+ import { p as Machine, u as EventObject, y as Service } from "../../types-BM4oVvZZ.mjs";
3
+ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
4
4
  import { StrokeOptions } from "perfect-freehand";
5
5
 
6
6
  //#region src/machines/signature-pad/signature-pad.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"root" | "control" | "label" | "segment" | "segmentPath" | "guide" | "clearTrigger">;
7
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "segment" | "segmentPath" | "guide" | "clearTrigger">;
8
8
  //#endregion
9
9
  //#region src/machines/signature-pad/signature-pad.types.d.ts
10
10
  interface Point {
@@ -1,8 +1,8 @@
1
- import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
2
- import { A as getRelativePoint, E as trackPointerMove, Ht as getDataUrl$1, S as query, bt as isLeftClick, pt as getEventTarget, xt as isModifierKey, yn as dataAttr } from "../../dom-query-CUb85Z22.mjs";
3
- import { u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
4
- import { a as createMachine } from "../../core-CujC6Y2H.mjs";
5
- import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
1
+ import { t as createAnatomy } from "../../create-anatomy-BVqM_FJ6.mjs";
2
+ import { A as getRelativePoint, E as trackPointerMove, Ht as getDataUrl$1, S as query, bt as isLeftClick, pt as getEventTarget, xt as isModifierKey, yn as dataAttr } from "../../dom-query-CQFBCdpo.mjs";
3
+ import { u as createSplitProps } from "../../utils-Vs04rt8f.mjs";
4
+ import { a as createMachine } from "../../core-owywCQ2e.mjs";
5
+ import { t as createProps } from "../../create-props-Dtoa4OUk.mjs";
6
6
  import getStroke from "perfect-freehand";
7
7
 
8
8
  //#region src/machines/signature-pad/signature-pad.anatomy.ts
@@ -122,10 +122,10 @@ function connect(service, normalize) {
122
122
  }
123
123
  });
124
124
  },
125
- getSegmentPathProps(props$1) {
125
+ getSegmentPathProps(props) {
126
126
  return normalize.path({
127
127
  ...parts.segmentPath.attrs,
128
- d: props$1.path
128
+ d: props.path
129
129
  });
130
130
  },
131
131
  getGuideProps() {
@@ -146,7 +146,7 @@ function connect(service, normalize) {
146
146
  }
147
147
  });
148
148
  },
149
- getHiddenInputProps(props$1) {
149
+ getHiddenInputProps(props) {
150
150
  return normalize.input({
151
151
  id: getHiddenInputId(scope),
152
152
  type: "text",
@@ -155,7 +155,7 @@ function connect(service, normalize) {
155
155
  required: prop("required"),
156
156
  readOnly: true,
157
157
  name: prop("name"),
158
- value: props$1.value
158
+ value: props.value
159
159
  });
160
160
  }
161
161
  };
@@ -183,22 +183,22 @@ function getSvgPathFromStroke(points, closed = true) {
183
183
  //#endregion
184
184
  //#region src/machines/signature-pad/signature-pad.machine.ts
185
185
  const machine = createMachine({
186
- props({ props: props$1 }) {
186
+ props({ props }) {
187
187
  return {
188
188
  defaultPaths: [],
189
- ...props$1,
189
+ ...props,
190
190
  drawing: {
191
191
  size: 2,
192
192
  simulatePressure: false,
193
193
  thinning: .7,
194
194
  smoothing: .4,
195
195
  streamline: .6,
196
- ...props$1.drawing
196
+ ...props.drawing
197
197
  },
198
198
  translations: {
199
199
  control: "signature pad",
200
200
  clearTrigger: "clear signature",
201
- ...props$1.translations
201
+ ...props.translations
202
202
  }
203
203
  };
204
204
  },
@@ -1,7 +1,7 @@
1
1
  const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
2
- const require_dom_query = require('../../dom-query-xZuxOsD4.cjs');
3
- const require_utils = require('../../utils-B4_qn2dt.cjs');
4
- const require_core = require('../../core-CsVTCpQ_.cjs');
2
+ const require_dom_query = require('../../dom-query-CAFhX43H.cjs');
3
+ const require_utils = require('../../utils-CJsQZljH.cjs');
4
+ const require_core = require('../../core-CHsDFMV3.cjs');
5
5
  const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
6
6
 
7
7
  //#region src/machines/slider/slider.anatomy.ts
@@ -56,7 +56,7 @@ function getRelativePointWithInset(point, element, inset) {
56
56
  x: effectiveWidth > 0 ? require_utils.clampPercent(offset.x / effectiveWidth) : 0,
57
57
  y: effectiveHeight > 0 ? require_utils.clampPercent(offset.y / effectiveHeight) : 0
58
58
  };
59
- function getPercentValue$1(options = {}) {
59
+ function getPercentValue(options = {}) {
60
60
  const { dir = "ltr", orientation = "horizontal", inverted } = options;
61
61
  const invertX = typeof inverted === "object" ? inverted.x : inverted;
62
62
  const invertY = typeof inverted === "object" ? inverted.y : inverted;
@@ -66,14 +66,14 @@ function getRelativePointWithInset(point, element, inset) {
66
66
  return {
67
67
  offset,
68
68
  percent,
69
- getPercentValue: getPercentValue$1
69
+ getPercentValue
70
70
  };
71
71
  }
72
72
  const dispatchChangeEvent = (ctx, value) => {
73
- value.forEach((value$1, index) => {
73
+ value.forEach((value, index) => {
74
74
  const inputEl = getHiddenInputEl(ctx, index);
75
75
  if (!inputEl) return;
76
- require_dom_query.dispatchInputValueEvent(inputEl, { value: value$1 });
76
+ require_dom_query.dispatchInputValueEvent(inputEl, { value });
77
77
  });
78
78
  };
79
79
  const getOffsetRect = (el) => ({
@@ -139,8 +139,8 @@ function getHorizontalThumbOffset(params, value) {
139
139
  const { computed, context, prop } = params;
140
140
  const { width = 0 } = context.get("thumbSize") ?? {};
141
141
  if (computed("isRtl")) {
142
- const getValue$1 = require_utils.getValueTransformer([prop("max"), prop("min")], [-width / 2, width / 2]);
143
- return -1 * parseFloat(getValue$1(value).toFixed(2));
142
+ const getValue = require_utils.getValueTransformer([prop("max"), prop("min")], [-width / 2, width / 2]);
143
+ return -1 * parseFloat(getValue(value).toFixed(2));
144
144
  }
145
145
  const getValue = require_utils.getValueTransformer([prop("min"), prop("max")], [-width / 2, width / 2]);
146
146
  return parseFloat(getValue(value).toFixed(2));
@@ -308,7 +308,6 @@ function resolveThumbCollision(behavior, index, value, values, min, max, step, m
308
308
  switch (behavior) {
309
309
  case "push": return handlePush(ctx);
310
310
  case "swap": return handleSwap(ctx, startValue ?? values[index]);
311
- case "none":
312
311
  default: return handleNone(ctx);
313
312
  }
314
313
  }
@@ -379,7 +378,7 @@ function selectMovableThumb(params, index) {
379
378
 
380
379
  //#endregion
381
380
  //#region src/machines/slider/slider.connect.ts
382
- function connect(service, normalize$1) {
381
+ function connect(service, normalize) {
383
382
  const { state, send, context, prop, computed, scope } = service;
384
383
  const ariaLabel = prop("aria-label");
385
384
  const ariaLabelledBy = prop("aria-labelledby");
@@ -456,7 +455,7 @@ function connect(service, normalize$1) {
456
455
  });
457
456
  },
458
457
  getLabelProps() {
459
- return normalize$1.label({
458
+ return normalize.label({
460
459
  ...parts.label.attrs,
461
460
  dir: prop("dir"),
462
461
  "data-disabled": require_dom_query.dataAttr(disabled),
@@ -478,7 +477,7 @@ function connect(service, normalize$1) {
478
477
  });
479
478
  },
480
479
  getRootProps() {
481
- return normalize$1.element({
480
+ return normalize.element({
482
481
  ...parts.root.attrs,
483
482
  "data-disabled": require_dom_query.dataAttr(disabled),
484
483
  "data-orientation": prop("orientation"),
@@ -491,7 +490,7 @@ function connect(service, normalize$1) {
491
490
  });
492
491
  },
493
492
  getValueTextProps() {
494
- return normalize$1.element({
493
+ return normalize.element({
495
494
  ...parts.valueText.attrs,
496
495
  dir: prop("dir"),
497
496
  "data-disabled": require_dom_query.dataAttr(disabled),
@@ -502,7 +501,7 @@ function connect(service, normalize$1) {
502
501
  });
503
502
  },
504
503
  getTrackProps() {
505
- return normalize$1.element({
504
+ return normalize.element({
506
505
  ...parts.track.attrs,
507
506
  dir: prop("dir"),
508
507
  id: getTrackId(scope),
@@ -514,8 +513,8 @@ function connect(service, normalize$1) {
514
513
  style: { position: "relative" }
515
514
  });
516
515
  },
517
- getThumbProps(props$1) {
518
- const { index = 0, name } = props$1;
516
+ getThumbProps(props) {
517
+ const { index = 0, name } = props;
519
518
  const value = sliderValue[index];
520
519
  const range = getRangeAtIndex(service, index);
521
520
  const valueText = prop("getAriaValueText")?.({
@@ -524,7 +523,7 @@ function connect(service, normalize$1) {
524
523
  });
525
524
  const _ariaLabel = Array.isArray(ariaLabel) ? ariaLabel[index] : ariaLabel;
526
525
  const _ariaLabelledBy = Array.isArray(ariaLabelledBy) ? ariaLabelledBy[index] : ariaLabelledBy;
527
- return normalize$1.element({
526
+ return normalize.element({
528
527
  ...parts.thumb.attrs,
529
528
  dir: prop("dir"),
530
529
  "data-index": index,
@@ -644,9 +643,9 @@ function connect(service, normalize$1) {
644
643
  }
645
644
  });
646
645
  },
647
- getHiddenInputProps(props$1) {
648
- const { index = 0, name } = props$1;
649
- return normalize$1.input({
646
+ getHiddenInputProps(props) {
647
+ const { index = 0, name } = props;
648
+ return normalize.input({
650
649
  name: name ?? (prop("name") ? prop("name") + (sliderValue.length > 1 ? "[]" : "") : void 0),
651
650
  form: prop("form"),
652
651
  type: "text",
@@ -656,7 +655,7 @@ function connect(service, normalize$1) {
656
655
  });
657
656
  },
658
657
  getRangeProps() {
659
- return normalize$1.element({
658
+ return normalize.element({
660
659
  id: getRangeId(scope),
661
660
  ...parts.range.attrs,
662
661
  dir: prop("dir"),
@@ -669,7 +668,7 @@ function connect(service, normalize$1) {
669
668
  });
670
669
  },
671
670
  getControlProps() {
672
- return normalize$1.element({
671
+ return normalize.element({
673
672
  ...parts.control.attrs,
674
673
  dir: prop("dir"),
675
674
  id: getControlId(scope),
@@ -693,7 +692,7 @@ function connect(service, normalize$1) {
693
692
  });
694
693
  },
695
694
  getMarkerGroupProps() {
696
- return normalize$1.element({
695
+ return normalize.element({
697
696
  ...parts.markerGroup.attrs,
698
697
  role: "presentation",
699
698
  dir: prop("dir"),
@@ -702,28 +701,28 @@ function connect(service, normalize$1) {
702
701
  style: getMarkerGroupStyle()
703
702
  });
704
703
  },
705
- getMarkerProps(props$1) {
706
- const style = getMarkerStyle(service, props$1.value);
704
+ getMarkerProps(props) {
705
+ const style = getMarkerStyle(service, props.value);
707
706
  let markerState;
708
- if (props$1.value < require_utils.first(sliderValue)) markerState = "under-value";
709
- else if (props$1.value > require_utils.last(sliderValue)) markerState = "over-value";
707
+ if (props.value < require_utils.first(sliderValue)) markerState = "under-value";
708
+ else if (props.value > require_utils.last(sliderValue)) markerState = "over-value";
710
709
  else markerState = "at-value";
711
- return normalize$1.element({
710
+ return normalize.element({
712
711
  ...parts.marker.attrs,
713
- id: getMarkerId(scope, props$1.value),
712
+ id: getMarkerId(scope, props.value),
714
713
  role: "presentation",
715
714
  dir: prop("dir"),
716
715
  "data-orientation": prop("orientation"),
717
- "data-value": props$1.value,
716
+ "data-value": props.value,
718
717
  "data-disabled": require_dom_query.dataAttr(disabled),
719
718
  "data-state": markerState,
720
719
  style
721
720
  });
722
721
  },
723
- getDraggingIndicatorProps(props$1) {
724
- const { index = 0 } = props$1;
722
+ getDraggingIndicatorProps(props) {
723
+ const { index = 0 } = props;
725
724
  const isDragging = index === focusedIndex && dragging;
726
- return normalize$1.element({
725
+ return normalize.element({
727
726
  ...parts.draggingIndicator.attrs,
728
727
  role: "presentation",
729
728
  dir: prop("dir"),
@@ -749,12 +748,12 @@ const normalize = (value, min, max, step, minStepsBetweenThumbs) => {
749
748
  });
750
749
  };
751
750
  const machine = require_core.createMachine({
752
- props({ props: props$1 }) {
753
- const min = props$1.min ?? 0;
754
- const max = props$1.max ?? 100;
755
- const step = props$1.step ?? 1;
756
- const defaultValue = props$1.defaultValue ?? [min];
757
- const minStepsBetweenThumbs = props$1.minStepsBetweenThumbs ?? 0;
751
+ props({ props }) {
752
+ const min = props.min ?? 0;
753
+ const max = props.max ?? 100;
754
+ const step = props.step ?? 1;
755
+ const defaultValue = props.defaultValue ?? [min];
756
+ const minStepsBetweenThumbs = props.minStepsBetweenThumbs ?? 0;
758
757
  return {
759
758
  dir: "ltr",
760
759
  thumbAlignment: "contain",
@@ -762,9 +761,9 @@ const machine = require_core.createMachine({
762
761
  orientation: "horizontal",
763
762
  thumbCollisionBehavior: "none",
764
763
  minStepsBetweenThumbs,
765
- ...props$1,
764
+ ...props,
766
765
  defaultValue: normalize(defaultValue, min, max, step, minStepsBetweenThumbs),
767
- value: props$1.value ? normalize(props$1.value, min, max, step, minStepsBetweenThumbs) : void 0,
766
+ value: props.value ? normalize(props.value, min, max, step, minStepsBetweenThumbs) : void 0,
768
767
  max,
769
768
  step,
770
769
  min
@@ -817,7 +816,7 @@ const machine = require_core.createMachine({
817
816
  context.get("value"),
818
817
  prop("min"),
819
818
  prop("max")
820
- ], ([value, min, max]) => value.map((value$1) => 100 * require_utils.getValuePercent(value$1, min, max)))
819
+ ], ([value, min, max]) => value.map((value) => 100 * require_utils.getValuePercent(value, min, max)))
821
820
  },
822
821
  watch({ track, action, context, computed, send }) {
823
822
  track([() => context.hash("value")], () => {