@sprawlify/primitives 0.0.31 → 0.0.33

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 (315) hide show
  1. package/dist/{aria-hidden-DIoJxbA3.mjs → aria-hidden-Bq1drpzH.mjs} +1 -1
  2. package/dist/{aria-hidden-DtLU6hSU.cjs → aria-hidden-DSdN9ih2.cjs} +1 -1
  3. package/dist/aria-hidden.cjs +2 -2
  4. package/dist/aria-hidden.mjs +2 -2
  5. package/dist/{auto-resize-xzlPFDyD.cjs → auto-resize-Bh8HjZd5.cjs} +1 -1
  6. package/dist/{auto-resize-L6Oqa0lE.mjs → auto-resize-DLuF3IFp.mjs} +1 -1
  7. package/dist/auto-resize.cjs +2 -2
  8. package/dist/auto-resize.mjs +2 -2
  9. package/dist/{collection-DrxGD6r-.cjs → collection-C26svdLV.cjs} +2 -2
  10. package/dist/{collection-Don0IqzY.mjs → collection-CIpGDBdt.mjs} +2 -2
  11. package/dist/collection.cjs +2 -2
  12. package/dist/collection.mjs +2 -2
  13. package/dist/{color-utils-CjwofPil.mjs → color-utils-DGt9e4DC.mjs} +2 -2
  14. package/dist/{color-utils-grkMlPoh.cjs → color-utils-ZGUFwZHm.cjs} +2 -2
  15. package/dist/color-utils.cjs +2 -2
  16. package/dist/color-utils.mjs +2 -2
  17. package/dist/{core-DVmt6PX7.mjs → core-BLrKf6Qi.mjs} +2 -2
  18. package/dist/{core-DHn58LRl.cjs → core-BXoiGBfo.cjs} +2 -2
  19. package/dist/core.cjs +3 -3
  20. package/dist/core.d.cts +48 -2
  21. package/dist/core.d.mts +48 -2
  22. package/dist/core.mjs +3 -3
  23. package/dist/{date-utils-D2xPHa_I.cjs → date-utils-_Hu9b5fQ.cjs} +45 -45
  24. package/dist/date-utils.cjs +1 -1
  25. package/dist/date-utils.d.cts +1 -1
  26. package/dist/date-utils.d.mts +1 -1
  27. package/dist/{defineProperty-Cql4jybt.mjs → defineProperty-Bzw41Glr.mjs} +4 -4
  28. package/dist/{defineProperty-BoUOT9Ie.cjs → defineProperty-CTuz_M0G.cjs} +4 -4
  29. package/dist/{dismissable-rIq_LmT8.cjs → dismissable-DAGPnT9O.cjs} +3 -3
  30. package/dist/{dismissable-layer-DmvOBneO.d.cts → dismissable-layer-C39y-V3t.d.mts} +2 -2
  31. package/dist/{dismissable-layer-xYn_dIUQ.d.mts → dismissable-layer-D-7fwQL8.d.cts} +2 -2
  32. package/dist/{dismissable-CyZwVu7n.mjs → dismissable-xKLesXM6.mjs} +3 -3
  33. package/dist/dismissable.cjs +4 -4
  34. package/dist/dismissable.d.cts +2 -2
  35. package/dist/dismissable.d.mts +2 -2
  36. package/dist/dismissable.mjs +4 -4
  37. package/dist/{dom-query-Bwyyt0Vp.mjs → dom-query-BaSlGC4X.mjs} +1 -1
  38. package/dist/{dom-query-CWZdWUGp.cjs → dom-query-fmUvyB3x.cjs} +1 -1
  39. package/dist/dom-query.cjs +1 -1
  40. package/dist/dom-query.d.cts +7 -7
  41. package/dist/dom-query.d.mts +7 -7
  42. package/dist/dom-query.mjs +1 -1
  43. package/dist/file-utils.d.cts +1 -1
  44. package/dist/file-utils.d.mts +1 -1
  45. package/dist/{focus-trap-BwUy71da.cjs → focus-trap-9PNm7ZOS.cjs} +2 -2
  46. package/dist/{focus-trap-Bw_WJq_d.mjs → focus-trap-zo20IBVh.mjs} +2 -2
  47. package/dist/focus-trap.cjs +2 -2
  48. package/dist/focus-trap.mjs +2 -2
  49. package/dist/{focus-visible-BVOZnp76.cjs → focus-visible-BHSdwdWA.cjs} +1 -1
  50. package/dist/{focus-visible-BKLakzc7.mjs → focus-visible-D6iSwUgD.mjs} +1 -1
  51. package/dist/focus-visible.cjs +2 -2
  52. package/dist/focus-visible.mjs +2 -2
  53. package/dist/hotkeys.cjs +1 -1
  54. package/dist/hotkeys.mjs +1 -1
  55. package/dist/{i18n-utils-DCz8B6DF.mjs → i18n-utils-BYlbN_An.mjs} +1 -1
  56. package/dist/{i18n-utils-B8IY1mOh.cjs → i18n-utils-DNxuEaJv.cjs} +1 -1
  57. package/dist/i18n-utils.cjs +2 -2
  58. package/dist/i18n-utils.mjs +2 -2
  59. package/dist/{interact-outside-Dp8GERFa.cjs → interact-outside-DhVG9So9.cjs} +2 -2
  60. package/dist/{interact-outside-D9gKK1XW.mjs → interact-outside-DkNMPOqV.mjs} +2 -2
  61. package/dist/interact-outside.cjs +3 -3
  62. package/dist/interact-outside.d.cts +1 -1
  63. package/dist/interact-outside.d.mts +1 -1
  64. package/dist/interact-outside.mjs +3 -3
  65. package/dist/live-region.d.cts +1 -1
  66. package/dist/live-region.d.mts +1 -1
  67. package/dist/machines/accordion/index.cjs +3 -3
  68. package/dist/machines/accordion/index.d.cts +3 -3
  69. package/dist/machines/accordion/index.d.mts +3 -3
  70. package/dist/machines/accordion/index.mjs +3 -3
  71. package/dist/machines/angle-slider/index.cjs +4 -4
  72. package/dist/machines/angle-slider/index.d.cts +3 -3
  73. package/dist/machines/angle-slider/index.d.mts +3 -3
  74. package/dist/machines/angle-slider/index.mjs +4 -4
  75. package/dist/machines/async-list/index.cjs +3 -3
  76. package/dist/machines/async-list/index.d.cts +1 -1
  77. package/dist/machines/async-list/index.d.mts +1 -1
  78. package/dist/machines/async-list/index.mjs +3 -3
  79. package/dist/machines/avatar/index.cjs +3 -3
  80. package/dist/machines/avatar/index.d.cts +2 -2
  81. package/dist/machines/avatar/index.d.mts +2 -2
  82. package/dist/machines/avatar/index.mjs +3 -3
  83. package/dist/machines/bottom-sheet/index.cjs +9 -9
  84. package/dist/machines/bottom-sheet/index.d.cts +5 -5
  85. package/dist/machines/bottom-sheet/index.d.mts +5 -5
  86. package/dist/machines/bottom-sheet/index.mjs +9 -9
  87. package/dist/machines/carousel/index.cjs +4 -4
  88. package/dist/machines/carousel/index.d.cts +3 -3
  89. package/dist/machines/carousel/index.d.mts +3 -3
  90. package/dist/machines/carousel/index.mjs +4 -4
  91. package/dist/machines/checkbox/index.cjs +4 -4
  92. package/dist/machines/checkbox/index.d.cts +3 -3
  93. package/dist/machines/checkbox/index.d.mts +3 -3
  94. package/dist/machines/checkbox/index.mjs +4 -4
  95. package/dist/machines/clipboard/index.cjs +3 -3
  96. package/dist/machines/clipboard/index.d.cts +3 -3
  97. package/dist/machines/clipboard/index.d.mts +3 -3
  98. package/dist/machines/clipboard/index.mjs +3 -3
  99. package/dist/machines/collapsible/index.cjs +3 -3
  100. package/dist/machines/collapsible/index.d.cts +3 -3
  101. package/dist/machines/collapsible/index.d.mts +3 -3
  102. package/dist/machines/collapsible/index.mjs +3 -3
  103. package/dist/machines/color-picker/index.cjs +7 -7
  104. package/dist/machines/color-picker/index.d.cts +5 -5
  105. package/dist/machines/color-picker/index.d.mts +5 -5
  106. package/dist/machines/color-picker/index.mjs +7 -7
  107. package/dist/machines/combobox/index.cjs +7 -7
  108. package/dist/machines/combobox/index.d.cts +5 -5
  109. package/dist/machines/combobox/index.d.mts +5 -5
  110. package/dist/machines/combobox/index.mjs +7 -7
  111. package/dist/machines/date-picker/index.cjs +19 -19
  112. package/dist/machines/date-picker/index.d.cts +7 -7
  113. package/dist/machines/date-picker/index.d.mts +7 -7
  114. package/dist/machines/date-picker/index.mjs +6 -6
  115. package/dist/machines/dialog/index.cjs +8 -8
  116. package/dist/machines/dialog/index.d.cts +5 -5
  117. package/dist/machines/dialog/index.d.mts +5 -5
  118. package/dist/machines/dialog/index.mjs +8 -8
  119. package/dist/machines/editable/index.cjs +4 -4
  120. package/dist/machines/editable/index.d.cts +4 -4
  121. package/dist/machines/editable/index.d.mts +4 -4
  122. package/dist/machines/editable/index.mjs +4 -4
  123. package/dist/machines/file-upload/index.cjs +4 -4
  124. package/dist/machines/file-upload/index.d.cts +4 -4
  125. package/dist/machines/file-upload/index.d.mts +4 -4
  126. package/dist/machines/file-upload/index.mjs +4 -4
  127. package/dist/machines/floating-panel/index.cjs +4 -4
  128. package/dist/machines/floating-panel/index.d.cts +4 -4
  129. package/dist/machines/floating-panel/index.d.mts +4 -4
  130. package/dist/machines/floating-panel/index.mjs +4 -4
  131. package/dist/machines/hover-card/index.cjs +6 -6
  132. package/dist/machines/hover-card/index.d.cts +4 -4
  133. package/dist/machines/hover-card/index.d.mts +4 -4
  134. package/dist/machines/hover-card/index.mjs +6 -6
  135. package/dist/machines/image-cropper/index.cjs +3 -3
  136. package/dist/machines/image-cropper/index.d.cts +3 -3
  137. package/dist/machines/image-cropper/index.d.mts +3 -3
  138. package/dist/machines/image-cropper/index.mjs +3 -3
  139. package/dist/machines/listbox/index.cjs +5 -5
  140. package/dist/machines/listbox/index.d.cts +4 -4
  141. package/dist/machines/listbox/index.d.mts +4 -4
  142. package/dist/machines/listbox/index.mjs +5 -5
  143. package/dist/machines/marquee/index.cjs +3 -3
  144. package/dist/machines/marquee/index.d.cts +5 -5
  145. package/dist/machines/marquee/index.d.mts +5 -5
  146. package/dist/machines/marquee/index.mjs +3 -3
  147. package/dist/machines/menu/index.cjs +7 -7
  148. package/dist/machines/menu/index.d.cts +8 -8
  149. package/dist/machines/menu/index.d.mts +8 -8
  150. package/dist/machines/menu/index.mjs +7 -7
  151. package/dist/machines/navigation-menu/index.cjs +5 -5
  152. package/dist/machines/navigation-menu/index.d.cts +3 -3
  153. package/dist/machines/navigation-menu/index.d.mts +3 -3
  154. package/dist/machines/navigation-menu/index.mjs +5 -5
  155. package/dist/machines/number-input/index.cjs +5 -5
  156. package/dist/machines/number-input/index.d.cts +3 -3
  157. package/dist/machines/number-input/index.d.mts +3 -3
  158. package/dist/machines/number-input/index.mjs +3 -3
  159. package/dist/machines/pagination/index.cjs +3 -3
  160. package/dist/machines/pagination/index.d.cts +2 -2
  161. package/dist/machines/pagination/index.d.mts +2 -2
  162. package/dist/machines/pagination/index.mjs +3 -3
  163. package/dist/machines/password-input/index.cjs +3 -3
  164. package/dist/machines/password-input/index.d.cts +3 -3
  165. package/dist/machines/password-input/index.d.mts +3 -3
  166. package/dist/machines/password-input/index.mjs +3 -3
  167. package/dist/machines/pin-input/index.cjs +3 -3
  168. package/dist/machines/pin-input/index.d.cts +2 -2
  169. package/dist/machines/pin-input/index.d.mts +2 -2
  170. package/dist/machines/pin-input/index.mjs +3 -3
  171. package/dist/machines/popover/index.cjs +9 -9
  172. package/dist/machines/popover/index.d.cts +6 -6
  173. package/dist/machines/popover/index.d.mts +6 -6
  174. package/dist/machines/popover/index.mjs +9 -9
  175. package/dist/machines/presence/index.cjs +3 -3
  176. package/dist/machines/presence/index.d.cts +2 -2
  177. package/dist/machines/presence/index.d.mts +2 -2
  178. package/dist/machines/presence/index.mjs +3 -3
  179. package/dist/machines/progress/index.cjs +3 -3
  180. package/dist/machines/progress/index.d.cts +3 -3
  181. package/dist/machines/progress/index.d.mts +3 -3
  182. package/dist/machines/progress/index.mjs +3 -3
  183. package/dist/machines/qr-code/index.cjs +3 -3
  184. package/dist/machines/qr-code/index.d.cts +4 -4
  185. package/dist/machines/qr-code/index.d.mts +4 -4
  186. package/dist/machines/qr-code/index.mjs +3 -3
  187. package/dist/machines/radio-group/index.cjs +4 -4
  188. package/dist/machines/radio-group/index.d.cts +3 -3
  189. package/dist/machines/radio-group/index.d.mts +3 -3
  190. package/dist/machines/radio-group/index.mjs +4 -4
  191. package/dist/machines/rating-group/index.cjs +3 -3
  192. package/dist/machines/rating-group/index.d.cts +3 -3
  193. package/dist/machines/rating-group/index.d.mts +3 -3
  194. package/dist/machines/rating-group/index.mjs +3 -3
  195. package/dist/machines/scroll-area/index.cjs +4 -4
  196. package/dist/machines/scroll-area/index.d.cts +3 -3
  197. package/dist/machines/scroll-area/index.d.mts +3 -3
  198. package/dist/machines/scroll-area/index.mjs +4 -4
  199. package/dist/machines/select/index.cjs +7 -7
  200. package/dist/machines/select/index.d.cts +6 -6
  201. package/dist/machines/select/index.d.mts +6 -6
  202. package/dist/machines/select/index.mjs +7 -7
  203. package/dist/machines/signature-pad/index.cjs +6 -6
  204. package/dist/machines/signature-pad/index.d.cts +3 -3
  205. package/dist/machines/signature-pad/index.d.mts +3 -3
  206. package/dist/machines/signature-pad/index.mjs +7 -7
  207. package/dist/machines/slider/index.cjs +36 -6
  208. package/dist/machines/slider/index.d.cts +5 -4
  209. package/dist/machines/slider/index.d.mts +5 -4
  210. package/dist/machines/slider/index.mjs +36 -6
  211. package/dist/machines/splitter/index.cjs +3 -3
  212. package/dist/machines/splitter/index.d.cts +2 -2
  213. package/dist/machines/splitter/index.d.mts +2 -2
  214. package/dist/machines/splitter/index.mjs +3 -3
  215. package/dist/machines/steps/index.cjs +3 -3
  216. package/dist/machines/steps/index.d.cts +3 -3
  217. package/dist/machines/steps/index.d.mts +3 -3
  218. package/dist/machines/steps/index.mjs +3 -3
  219. package/dist/machines/switch/index.cjs +4 -4
  220. package/dist/machines/switch/index.d.cts +3 -3
  221. package/dist/machines/switch/index.d.mts +3 -3
  222. package/dist/machines/switch/index.mjs +4 -4
  223. package/dist/machines/tabs/index.cjs +3 -3
  224. package/dist/machines/tabs/index.d.cts +3 -3
  225. package/dist/machines/tabs/index.d.mts +3 -3
  226. package/dist/machines/tabs/index.mjs +3 -3
  227. package/dist/machines/tags-input/index.cjs +5 -5
  228. package/dist/machines/tags-input/index.d.cts +5 -5
  229. package/dist/machines/tags-input/index.d.mts +5 -5
  230. package/dist/machines/tags-input/index.mjs +5 -5
  231. package/dist/machines/timer/index.cjs +3 -3
  232. package/dist/machines/timer/index.d.cts +3 -3
  233. package/dist/machines/timer/index.d.mts +3 -3
  234. package/dist/machines/timer/index.mjs +3 -3
  235. package/dist/machines/toast/index.cjs +7 -7
  236. package/dist/machines/toast/index.d.cts +5 -4
  237. package/dist/machines/toast/index.d.mts +5 -4
  238. package/dist/machines/toast/index.mjs +8 -8
  239. package/dist/machines/toggle/index.cjs +3 -3
  240. package/dist/machines/toggle/index.d.cts +2 -2
  241. package/dist/machines/toggle/index.d.mts +2 -2
  242. package/dist/machines/toggle/index.mjs +3 -3
  243. package/dist/machines/toggle-group/index.cjs +3 -3
  244. package/dist/machines/toggle-group/index.d.cts +2 -2
  245. package/dist/machines/toggle-group/index.d.mts +2 -2
  246. package/dist/machines/toggle-group/index.mjs +3 -3
  247. package/dist/machines/tooltip/index.cjs +5 -5
  248. package/dist/machines/tooltip/index.d.cts +3 -3
  249. package/dist/machines/tooltip/index.d.mts +3 -3
  250. package/dist/machines/tooltip/index.mjs +5 -5
  251. package/dist/machines/tour/index.cjs +7 -7
  252. package/dist/machines/tour/index.d.cts +6 -6
  253. package/dist/machines/tour/index.d.mts +6 -6
  254. package/dist/machines/tour/index.mjs +7 -7
  255. package/dist/machines/tree-view/index.cjs +4 -4
  256. package/dist/machines/tree-view/index.d.cts +4 -4
  257. package/dist/machines/tree-view/index.d.mts +4 -4
  258. package/dist/machines/tree-view/index.mjs +4 -4
  259. package/dist/{popper-CjBC91Tz.mjs → popper-BN7E_8-R.mjs} +2 -2
  260. package/dist/{popper-kp05O3Bm.cjs → popper-CasttusN.cjs} +12 -12
  261. package/dist/popper.cjs +3 -3
  262. package/dist/popper.d.cts +1 -1
  263. package/dist/popper.d.mts +1 -1
  264. package/dist/popper.mjs +3 -3
  265. package/dist/{rect-utils-Dp9Wvl7-.cjs → rect-utils-C-9DRQNd.cjs} +1 -1
  266. package/dist/{rect-utils-j6C9uZk1.mjs → rect-utils-C6Nug-pt.mjs} +1 -1
  267. package/dist/rect-utils.cjs +1 -1
  268. package/dist/rect-utils.d.cts +1 -1
  269. package/dist/rect-utils.d.mts +1 -1
  270. package/dist/rect-utils.mjs +1 -1
  271. package/dist/{remove-scroll-Dh9PjZFE.cjs → remove-scroll-BPLI9jr9.cjs} +1 -1
  272. package/dist/{remove-scroll-C73TLIgr.mjs → remove-scroll-Btia-r68.mjs} +1 -1
  273. package/dist/{scroll-snap-B279jSp5.mjs → scroll-snap-DY-Wmmhl.mjs} +1 -1
  274. package/dist/{scroll-snap-BvaE_jFu.cjs → scroll-snap-VzQ4ngQ4.cjs} +1 -1
  275. package/dist/scroll-snap.cjs +2 -2
  276. package/dist/scroll-snap.mjs +2 -2
  277. package/dist/types.d.cts +1 -1
  278. package/dist/types.d.mts +1 -1
  279. package/dist/{utils-BIwaJq8z.mjs → utils-B_odTlcq.mjs} +5 -5
  280. package/dist/{utils-CtgLe8Vv.cjs → utils-CMs0714u.cjs} +5 -5
  281. package/dist/utils.cjs +1 -1
  282. package/dist/utils.d.cts +1 -1
  283. package/dist/utils.d.mts +1 -1
  284. package/dist/utils.mjs +1 -1
  285. package/package.json +1 -1
  286. package/dist/core-75kSaDJc.d.mts +0 -49
  287. package/dist/core-D_pI64vx.d.cts +0 -49
  288. /package/dist/{data-url-BqpiKO1L.d.mts → data-url-C3ITPVRX.d.cts} +0 -0
  289. /package/dist/{data-url-og2AwQaU.d.cts → data-url-mcVoUiET.d.mts} +0 -0
  290. /package/dist/{functions-2ix8ad1e.d.cts → functions-7V6veSov.d.cts} +0 -0
  291. /package/dist/{functions-qoGE2jOS.d.mts → functions-CjitT5Gr.d.mts} +0 -0
  292. /package/dist/{index-BlM1bSkX.d.mts → index-BTi1wETB.d.mts} +0 -0
  293. /package/dist/{index-DYzqCFaj.d.mts → index-BqhWpjZh.d.mts} +0 -0
  294. /package/dist/{index-BVcPBg7R.d.mts → index-Bqw3r34-.d.cts} +0 -0
  295. /package/dist/{index-UNyqrBDu.d.cts → index-BuUzJjaP.d.mts} +0 -0
  296. /package/dist/{index-9OlOKr2i.d.mts → index-Bvn6ocEE.d.mts} +0 -0
  297. /package/dist/{index-DFiQyzeW.d.cts → index-C9-feK5c.d.cts} +0 -0
  298. /package/dist/{index-BBTkH09t.d.cts → index-CygfPLvT.d.mts} +0 -0
  299. /package/dist/{index-C9ajBf1B.d.mts → index-Owca7uxB.d.cts} +0 -0
  300. /package/dist/{node-BecR7gec.d.cts → node-CHGS3acf.d.mts} +0 -0
  301. /package/dist/{node-v8Pyrj9P.d.mts → node-CSsuPZVZ.d.cts} +0 -0
  302. /package/dist/{raf-BF2VrckK.d.cts → raf-BV1049GE.d.mts} +0 -0
  303. /package/dist/{raf-DX52LaVy.d.mts → raf-Cd2FGy0z.d.cts} +0 -0
  304. /package/dist/{typeahead-BWyD_KIb.d.cts → typeahead-BdNwVP09.d.cts} +0 -0
  305. /package/dist/{typeahead-BX-BWYjD.d.mts → typeahead-DMSwLv1e.d.mts} +0 -0
  306. /package/dist/{types-CsK6JMut.d.mts → types-D-ZRl1jP.d.mts} +0 -0
  307. /package/dist/{types-TUsgVjZA.d.cts → types-D5ziaMrd.d.cts} +0 -0
  308. /package/dist/{types-BIy26Uwn.d.cts → types-DL5AIQk5.d.mts} +0 -0
  309. /package/dist/{types-ByFp2QfD.d.mts → types-DddL75YY.d.cts} +0 -0
  310. /package/dist/{types-jyV564Ip.d.mts → types-DejIu60O.d.cts} +0 -0
  311. /package/dist/{types-xyuh-a2-.d.cts → types-F-0xFywm.d.cts} +0 -0
  312. /package/dist/{types-oh90SH45.d.cts → types-GxLIgJib.d.cts} +0 -0
  313. /package/dist/{types-CaxzY9yP.d.cts → types-J14X3oxU.d.mts} +0 -0
  314. /package/dist/{wait-for-C9QyzQj2.d.cts → wait-for-BkzY39R9.d.mts} +0 -0
  315. /package/dist/{wait-for-Pn6RmrHX.d.mts → wait-for-CMjPsqWk.d.cts} +0 -0
@@ -1,7 +1,7 @@
1
1
  const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
2
- const require_dom_query = require('../../dom-query-CWZdWUGp.cjs');
3
- const require_utils = require('../../utils-CtgLe8Vv.cjs');
4
- const require_core = require('../../core-DHn58LRl.cjs');
2
+ const require_dom_query = require('../../dom-query-fmUvyB3x.cjs');
3
+ const require_utils = require('../../utils-CMs0714u.cjs');
4
+ const require_core = require('../../core-BXoiGBfo.cjs');
5
5
  const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
6
6
 
7
7
  //#region src/machines/slider/slider.anatomy.ts
@@ -25,20 +25,50 @@ const getThumbEls = (ctx) => require_dom_query.queryAll(getControlEl(ctx), "[rol
25
25
  const getFirstThumbEl = (ctx) => getThumbEls(ctx)[0];
26
26
  const getHiddenInputEl = (ctx, index) => ctx.getById(getHiddenInputId(ctx, index));
27
27
  const getControlEl = (ctx) => ctx.getById(getControlId(ctx));
28
+ const getThumbInset = (thumbSize, thumbAlignment, orientation) => {
29
+ return thumbAlignment === "contain" ? (orientation === "vertical" ? thumbSize?.height ?? 0 : thumbSize?.width ?? 0) / 2 : 0;
30
+ };
28
31
  const getPointValue = (params, point) => {
29
- const { prop, scope, refs } = params;
32
+ const { context, prop, scope, refs } = params;
30
33
  const controlEl = getControlEl(scope);
31
34
  if (!controlEl) return;
32
35
  const offset = refs.get("thumbDragOffset");
33
- return require_utils.getPercentValue(require_dom_query.getRelativePoint({
36
+ return require_utils.getPercentValue(getRelativePointWithInset({
34
37
  x: point.x - (offset?.x ?? 0),
35
38
  y: point.y - (offset?.y ?? 0)
36
- }, controlEl).getPercentValue({
39
+ }, controlEl, getThumbInset(context.get("thumbSize"), prop("thumbAlignment"), prop("orientation"))).getPercentValue({
37
40
  orientation: prop("orientation"),
38
41
  dir: prop("dir"),
39
42
  inverted: { y: true }
40
43
  }), prop("min"), prop("max"), prop("step"));
41
44
  };
45
+ function getRelativePointWithInset(point, element, inset) {
46
+ const { left, top, width, height } = element.getBoundingClientRect();
47
+ const effectiveWidth = width - inset * 2;
48
+ const effectiveHeight = height - inset * 2;
49
+ const effectiveLeft = left + inset;
50
+ const effectiveTop = top + inset;
51
+ const offset = {
52
+ x: point.x - effectiveLeft,
53
+ y: point.y - effectiveTop
54
+ };
55
+ const percent = {
56
+ x: effectiveWidth > 0 ? require_utils.clampPercent(offset.x / effectiveWidth) : 0,
57
+ y: effectiveHeight > 0 ? require_utils.clampPercent(offset.y / effectiveHeight) : 0
58
+ };
59
+ function getPercentValue$1(options = {}) {
60
+ const { dir = "ltr", orientation = "horizontal", inverted } = options;
61
+ const invertX = typeof inverted === "object" ? inverted.x : inverted;
62
+ const invertY = typeof inverted === "object" ? inverted.y : inverted;
63
+ if (orientation === "horizontal") return dir === "rtl" || invertX ? 1 - percent.x : percent.x;
64
+ return invertY ? 1 - percent.y : percent.y;
65
+ }
66
+ return {
67
+ offset,
68
+ percent,
69
+ getPercentValue: getPercentValue$1
70
+ };
71
+ }
42
72
  const dispatchChangeEvent = (ctx, value) => {
43
73
  value.forEach((value$1, index) => {
44
74
  const inputEl = getHiddenInputEl(ctx, index);
@@ -1,12 +1,13 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-smWrirg1.cjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-BIy26Uwn.cjs";
3
- import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-UNyqrBDu.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";
4
4
 
5
5
  //#region src/machines/slider/slider.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "valueText" | "control" | "track" | "thumb" | "range" | "markerGroup" | "marker" | "draggingIndicator">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "thumb" | "marker" | "control" | "range" | "valueText" | "markerGroup" | "draggingIndicator">;
7
7
  //#endregion
8
8
  //#region src/machines/slider/slider.types.d.ts
9
9
  type ThumbCollisionBehavior = "none" | "push" | "swap";
10
+ type ThumbAlignment = "contain" | "center";
10
11
  interface ValueChangeDetails {
11
12
  value: number[];
12
13
  }
@@ -149,4 +150,4 @@ declare const splitThumbProps: <Props extends ThumbProps>(props: Props) => [Thum
149
150
  declare const markerProps: "value"[];
150
151
  declare const splitMarkerProps: <Props extends MarkerProps>(props: Props) => [MarkerProps, Omit<Props, "value">];
151
152
  //#endregion
152
- export { type SliderApi as Api, type DraggingIndicatorProps, type ElementIds, type FocusChangeDetails, type SliderMachine as Machine, type MarkerProps, type SliderProps as Props, type SliderService as Service, type ThumbProps, type ValueChangeDetails, type ValueTextDetails, anatomy, connect, machine, markerProps, props, splitMarkerProps, splitProps, splitThumbProps, thumbProps };
153
+ export { type SliderApi as Api, type DraggingIndicatorProps, type ElementIds, type FocusChangeDetails, type SliderMachine as Machine, type MarkerProps, type SliderProps as Props, type SliderService as Service, type ThumbAlignment, type ThumbCollisionBehavior, type ThumbProps, type ValueChangeDetails, type ValueTextDetails, anatomy, connect, machine, markerProps, props, splitMarkerProps, splitProps, splitThumbProps, thumbProps };
@@ -1,12 +1,13 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-DHVOqZET.mjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-jyV564Ip.mjs";
3
- import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVcPBg7R.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";
4
4
 
5
5
  //#region src/machines/slider/slider.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "valueText" | "control" | "track" | "thumb" | "range" | "markerGroup" | "marker" | "draggingIndicator">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "thumb" | "marker" | "control" | "range" | "valueText" | "markerGroup" | "draggingIndicator">;
7
7
  //#endregion
8
8
  //#region src/machines/slider/slider.types.d.ts
9
9
  type ThumbCollisionBehavior = "none" | "push" | "swap";
10
+ type ThumbAlignment = "contain" | "center";
10
11
  interface ValueChangeDetails {
11
12
  value: number[];
12
13
  }
@@ -149,4 +150,4 @@ declare const splitThumbProps: <Props extends ThumbProps>(props: Props) => [Thum
149
150
  declare const markerProps: "value"[];
150
151
  declare const splitMarkerProps: <Props extends MarkerProps>(props: Props) => [MarkerProps, Omit<Props, "value">];
151
152
  //#endregion
152
- export { type SliderApi as Api, type DraggingIndicatorProps, type ElementIds, type FocusChangeDetails, type SliderMachine as Machine, type MarkerProps, type SliderProps as Props, type SliderService as Service, type ThumbProps, type ValueChangeDetails, type ValueTextDetails, anatomy, connect, machine, markerProps, props, splitMarkerProps, splitProps, splitThumbProps, thumbProps };
153
+ export { type SliderApi as Api, type DraggingIndicatorProps, type ElementIds, type FocusChangeDetails, type SliderMachine as Machine, type MarkerProps, type SliderProps as Props, type SliderService as Service, type ThumbAlignment, type ThumbCollisionBehavior, type ThumbProps, type ValueChangeDetails, type ValueTextDetails, anatomy, connect, machine, markerProps, props, splitMarkerProps, splitProps, splitThumbProps, thumbProps };
@@ -1,7 +1,7 @@
1
1
  import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
2
- import { S as queryAll, T as trackPointerMove, U as raf, _n as ariaAttr, at as setElementValue, bt as isModifierKey, dt as getEventStep, k as getRelativePoint, lt as getEventKey, ot as trackFormControl, p as resizeObserverBorderBox, rt as dispatchInputValueEvent, ut as getEventPoint, vn as dataAttr, yt as isLeftClick } from "../../dom-query-Bwyyt0Vp.mjs";
3
- import { B as snapValueToStep, C as getPercentValue, E as getValueRanges, H as toPx, N as isValueWithinRange, O as getValueTransformer, S as getNextStepValue, T as getValuePercent, W as callAll, ft as isEqual, g as clampValue, p as pick, u as createSplitProps, vt as first, w as getPreviousStepValue, wt as last, z as setValueAtIndex } from "../../utils-BIwaJq8z.mjs";
4
- import { a as createMachine, s as memo } from "../../core-DVmt6PX7.mjs";
2
+ import { S as queryAll, T as trackPointerMove, U as raf, _n as ariaAttr, at as setElementValue, bt as isModifierKey, dt as getEventStep, lt as getEventKey, ot as trackFormControl, p as resizeObserverBorderBox, rt as dispatchInputValueEvent, ut as getEventPoint, vn as dataAttr, yt as isLeftClick } from "../../dom-query-BaSlGC4X.mjs";
3
+ import { B as snapValueToStep, C as getPercentValue, E as getValueRanges, H as toPx, N as isValueWithinRange, O as getValueTransformer, S as getNextStepValue, T as getValuePercent, W as callAll, ft as isEqual, g as clampValue, h as clampPercent, p as pick, u as createSplitProps, vt as first, w as getPreviousStepValue, wt as last, z as setValueAtIndex } from "../../utils-B_odTlcq.mjs";
4
+ import { a as createMachine, s as memo } from "../../core-BLrKf6Qi.mjs";
5
5
  import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
6
6
 
7
7
  //#region src/machines/slider/slider.anatomy.ts
@@ -25,20 +25,50 @@ const getThumbEls = (ctx) => queryAll(getControlEl(ctx), "[role=slider]");
25
25
  const getFirstThumbEl = (ctx) => getThumbEls(ctx)[0];
26
26
  const getHiddenInputEl = (ctx, index) => ctx.getById(getHiddenInputId(ctx, index));
27
27
  const getControlEl = (ctx) => ctx.getById(getControlId(ctx));
28
+ const getThumbInset = (thumbSize, thumbAlignment, orientation) => {
29
+ return thumbAlignment === "contain" ? (orientation === "vertical" ? thumbSize?.height ?? 0 : thumbSize?.width ?? 0) / 2 : 0;
30
+ };
28
31
  const getPointValue = (params, point) => {
29
- const { prop, scope, refs } = params;
32
+ const { context, prop, scope, refs } = params;
30
33
  const controlEl = getControlEl(scope);
31
34
  if (!controlEl) return;
32
35
  const offset = refs.get("thumbDragOffset");
33
- return getPercentValue(getRelativePoint({
36
+ return getPercentValue(getRelativePointWithInset({
34
37
  x: point.x - (offset?.x ?? 0),
35
38
  y: point.y - (offset?.y ?? 0)
36
- }, controlEl).getPercentValue({
39
+ }, controlEl, getThumbInset(context.get("thumbSize"), prop("thumbAlignment"), prop("orientation"))).getPercentValue({
37
40
  orientation: prop("orientation"),
38
41
  dir: prop("dir"),
39
42
  inverted: { y: true }
40
43
  }), prop("min"), prop("max"), prop("step"));
41
44
  };
45
+ function getRelativePointWithInset(point, element, inset) {
46
+ const { left, top, width, height } = element.getBoundingClientRect();
47
+ const effectiveWidth = width - inset * 2;
48
+ const effectiveHeight = height - inset * 2;
49
+ const effectiveLeft = left + inset;
50
+ const effectiveTop = top + inset;
51
+ const offset = {
52
+ x: point.x - effectiveLeft,
53
+ y: point.y - effectiveTop
54
+ };
55
+ const percent = {
56
+ x: effectiveWidth > 0 ? clampPercent(offset.x / effectiveWidth) : 0,
57
+ y: effectiveHeight > 0 ? clampPercent(offset.y / effectiveHeight) : 0
58
+ };
59
+ function getPercentValue$1(options = {}) {
60
+ const { dir = "ltr", orientation = "horizontal", inverted } = options;
61
+ const invertX = typeof inverted === "object" ? inverted.x : inverted;
62
+ const invertY = typeof inverted === "object" ? inverted.y : inverted;
63
+ if (orientation === "horizontal") return dir === "rtl" || invertX ? 1 - percent.x : percent.x;
64
+ return invertY ? 1 - percent.y : percent.y;
65
+ }
66
+ return {
67
+ offset,
68
+ percent,
69
+ getPercentValue: getPercentValue$1
70
+ };
71
+ }
42
72
  const dispatchChangeEvent = (ctx, value) => {
43
73
  value.forEach((value$1, index) => {
44
74
  const inputEl = getHiddenInputEl(ctx, index);
@@ -1,7 +1,7 @@
1
1
  const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
2
- const require_dom_query = require('../../dom-query-CWZdWUGp.cjs');
3
- const require_utils = require('../../utils-CtgLe8Vv.cjs');
4
- const require_core = require('../../core-DHn58LRl.cjs');
2
+ const require_dom_query = require('../../dom-query-fmUvyB3x.cjs');
3
+ const require_utils = require('../../utils-CMs0714u.cjs');
4
+ const require_core = require('../../core-BXoiGBfo.cjs');
5
5
  const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
6
6
 
7
7
  //#region src/machines/splitter/splitter.anatomy.ts
@@ -1,6 +1,6 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-smWrirg1.cjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-BIy26Uwn.cjs";
3
- import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-UNyqrBDu.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";
4
4
 
5
5
  //#region src/machines/splitter/splitter.anatomy.d.ts
6
6
  declare const anatomy: AnatomyInstance<"root" | "panel" | "resizeTrigger" | "resizeTriggerIndicator">;
@@ -1,6 +1,6 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-DHVOqZET.mjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-jyV564Ip.mjs";
3
- import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVcPBg7R.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";
4
4
 
5
5
  //#region src/machines/splitter/splitter.anatomy.d.ts
6
6
  declare const anatomy: AnatomyInstance<"root" | "panel" | "resizeTrigger" | "resizeTriggerIndicator">;
@@ -1,7 +1,7 @@
1
1
  import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
2
- import { S as queryAll, T as trackPointerMove, lt as getEventKey, ut as getEventPoint, vn as dataAttr, yt as isLeftClick } from "../../dom-query-Bwyyt0Vp.mjs";
3
- import { Ot as prev, Tt as next, ft as isEqual, n as ensureProps, s as setRafTimeout, t as ensure, u as createSplitProps } from "../../utils-BIwaJq8z.mjs";
4
- import { a as createMachine } from "../../core-DVmt6PX7.mjs";
2
+ import { S as queryAll, T as trackPointerMove, lt as getEventKey, ut as getEventPoint, vn as dataAttr, yt as isLeftClick } from "../../dom-query-BaSlGC4X.mjs";
3
+ import { Ot as prev, Tt as next, ft as isEqual, n as ensureProps, s as setRafTimeout, t as ensure, u as createSplitProps } from "../../utils-B_odTlcq.mjs";
4
+ import { a as createMachine } from "../../core-BLrKf6Qi.mjs";
5
5
  import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
6
6
 
7
7
  //#region src/machines/splitter/splitter.anatomy.ts
@@ -1,7 +1,7 @@
1
1
  const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
2
- const require_dom_query = require('../../dom-query-CWZdWUGp.cjs');
3
- const require_utils = require('../../utils-CtgLe8Vv.cjs');
4
- const require_core = require('../../core-DHn58LRl.cjs');
2
+ const require_dom_query = require('../../dom-query-fmUvyB3x.cjs');
3
+ const require_utils = require('../../utils-CMs0714u.cjs');
4
+ const require_core = require('../../core-BXoiGBfo.cjs');
5
5
  const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
6
6
 
7
7
  //#region src/machines/steps/steps.anatomy.ts
@@ -1,9 +1,9 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-smWrirg1.cjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-BIy26Uwn.cjs";
3
- import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-UNyqrBDu.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";
4
4
 
5
5
  //#region src/machines/steps/steps.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "item" | "trigger" | "progress" | "content" | "nextTrigger" | "prevTrigger" | "indicator" | "list" | "separator">;
6
+ declare const anatomy: AnatomyInstance<"root" | "item" | "indicator" | "list" | "trigger" | "separator" | "content" | "nextTrigger" | "prevTrigger" | "progress">;
7
7
  //#endregion
8
8
  //#region src/machines/steps/steps.types.d.ts
9
9
  interface StepChangeDetails {
@@ -1,9 +1,9 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-DHVOqZET.mjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-jyV564Ip.mjs";
3
- import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVcPBg7R.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";
4
4
 
5
5
  //#region src/machines/steps/steps.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "item" | "trigger" | "progress" | "content" | "nextTrigger" | "prevTrigger" | "indicator" | "list" | "separator">;
6
+ declare const anatomy: AnatomyInstance<"root" | "item" | "indicator" | "list" | "trigger" | "separator" | "content" | "nextTrigger" | "prevTrigger" | "progress">;
7
7
  //#endregion
8
8
  //#region src/machines/steps/steps.types.d.ts
9
9
  interface StepChangeDetails {
@@ -1,7 +1,7 @@
1
1
  import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
2
- import { vn as dataAttr } from "../../dom-query-Bwyyt0Vp.mjs";
3
- import { N as isValueWithinRange, bt as fromLength, u as createSplitProps } from "../../utils-BIwaJq8z.mjs";
4
- import { a as createMachine, s as memo } from "../../core-DVmt6PX7.mjs";
2
+ import { vn as dataAttr } from "../../dom-query-BaSlGC4X.mjs";
3
+ import { N as isValueWithinRange, bt as fromLength, u as createSplitProps } from "../../utils-B_odTlcq.mjs";
4
+ import { a as createMachine, s as memo } from "../../core-BLrKf6Qi.mjs";
5
5
  import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
6
6
 
7
7
  //#region src/machines/steps/steps.anatomy.ts
@@ -1,8 +1,8 @@
1
1
  const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
2
- const require_dom_query = require('../../dom-query-CWZdWUGp.cjs');
3
- const require_utils = require('../../utils-CtgLe8Vv.cjs');
4
- const require_core = require('../../core-DHn58LRl.cjs');
5
- const require_focus_visible = require('../../focus-visible-BVOZnp76.cjs');
2
+ const require_dom_query = require('../../dom-query-fmUvyB3x.cjs');
3
+ const require_utils = require('../../utils-CMs0714u.cjs');
4
+ const require_core = require('../../core-BXoiGBfo.cjs');
5
+ const require_focus_visible = require('../../focus-visible-BHSdwdWA.cjs');
6
6
  const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
7
7
 
8
8
  //#region src/machines/switch/switch.anatomy.ts
@@ -1,9 +1,9 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-smWrirg1.cjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-BIy26Uwn.cjs";
3
- import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-UNyqrBDu.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";
4
4
 
5
5
  //#region src/machines/switch/switch.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "thumb">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "thumb" | "control">;
7
7
  //#endregion
8
8
  //#region src/machines/switch/switch.types.d.ts
9
9
  interface CheckedChangeDetails {
@@ -1,9 +1,9 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-DHVOqZET.mjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-jyV564Ip.mjs";
3
- import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVcPBg7R.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";
4
4
 
5
5
  //#region src/machines/switch/switch.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "thumb">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "thumb" | "control">;
7
7
  //#endregion
8
8
  //#region src/machines/switch/switch.types.d.ts
9
9
  interface CheckedChangeDetails {
@@ -1,8 +1,8 @@
1
1
  import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
2
- import { Rt as isSafari, ft as getEventTarget, i as visuallyHiddenStyle, it as setElementChecked, nt as dispatchInputCheckedEvent, ot as trackFormControl, vn as dataAttr, w as trackPress } from "../../dom-query-Bwyyt0Vp.mjs";
3
- import { u as createSplitProps } from "../../utils-BIwaJq8z.mjs";
4
- import { a as createMachine, i as createGuards } from "../../core-DVmt6PX7.mjs";
5
- import { a as trackFocusVisible, n as isFocusVisible } from "../../focus-visible-BKLakzc7.mjs";
2
+ import { Rt as isSafari, ft as getEventTarget, i as visuallyHiddenStyle, it as setElementChecked, nt as dispatchInputCheckedEvent, ot as trackFormControl, vn as dataAttr, w as trackPress } from "../../dom-query-BaSlGC4X.mjs";
3
+ import { u as createSplitProps } from "../../utils-B_odTlcq.mjs";
4
+ import { a as createMachine, i as createGuards } from "../../core-BLrKf6Qi.mjs";
5
+ import { a as trackFocusVisible, n as isFocusVisible } from "../../focus-visible-D6iSwUgD.mjs";
6
6
  import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
7
7
 
8
8
  //#region src/machines/switch/switch.anatomy.ts
@@ -1,7 +1,7 @@
1
1
  const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
2
- const require_dom_query = require('../../dom-query-CWZdWUGp.cjs');
3
- const require_utils = require('../../utils-CtgLe8Vv.cjs');
4
- const require_core = require('../../core-DHn58LRl.cjs');
2
+ const require_dom_query = require('../../dom-query-fmUvyB3x.cjs');
3
+ const require_utils = require('../../utils-CMs0714u.cjs');
4
+ const require_core = require('../../core-BXoiGBfo.cjs');
5
5
  const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
6
6
 
7
7
  //#region src/machines/tabs/tabs.anatomy.ts
@@ -1,9 +1,9 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-smWrirg1.cjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-BIy26Uwn.cjs";
3
- import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-UNyqrBDu.cjs";
2
+ import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu60O.cjs";
3
+ import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
4
4
 
5
5
  //#region src/machines/tabs/tabs.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator" | "list">;
6
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "list" | "trigger" | "content">;
7
7
  //#endregion
8
8
  //#region src/machines/tabs/tabs.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -1,9 +1,9 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-DHVOqZET.mjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-jyV564Ip.mjs";
3
- import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVcPBg7R.mjs";
2
+ import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQk5.mjs";
3
+ import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
4
4
 
5
5
  //#region src/machines/tabs/tabs.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator" | "list">;
6
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "list" | "trigger" | "content">;
7
7
  //#endregion
8
8
  //#region src/machines/tabs/tabs.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -1,7 +1,7 @@
1
1
  import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
2
- import { I as clickIfLink, J as getFocusables, Rt as isSafari, S as queryAll, U as raf, Xt as contains, an as isAnchorElement, b as prevById, ft as getEventTarget, lt as getEventKey, mt as isComposingEvent, p as resizeObserverBorderBox, v as itemById, vn as dataAttr, xt as isOpeningInNewTab, y as nextById } from "../../dom-query-Bwyyt0Vp.mjs";
3
- import { H as toPx, W as callAll, ft as isEqual, u as createSplitProps, vt as first, wt as last } from "../../utils-BIwaJq8z.mjs";
4
- import { o as setup } from "../../core-DVmt6PX7.mjs";
2
+ import { I as clickIfLink, J as getFocusables, Rt as isSafari, S as queryAll, U as raf, Xt as contains, an as isAnchorElement, b as prevById, ft as getEventTarget, lt as getEventKey, mt as isComposingEvent, p as resizeObserverBorderBox, v as itemById, vn as dataAttr, xt as isOpeningInNewTab, y as nextById } from "../../dom-query-BaSlGC4X.mjs";
3
+ import { H as toPx, W as callAll, ft as isEqual, u as createSplitProps, vt as first, wt as last } from "../../utils-B_odTlcq.mjs";
4
+ import { o as setup } from "../../core-BLrKf6Qi.mjs";
5
5
  import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
6
6
 
7
7
  //#region src/machines/tabs/tabs.anatomy.ts
@@ -1,9 +1,9 @@
1
1
  const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
2
- const require_dom_query = require('../../dom-query-CWZdWUGp.cjs');
3
- const require_auto_resize = require('../../auto-resize-xzlPFDyD.cjs');
4
- const require_utils = require('../../utils-CtgLe8Vv.cjs');
5
- const require_core = require('../../core-DHn58LRl.cjs');
6
- const require_interact_outside = require('../../interact-outside-Dp8GERFa.cjs');
2
+ const require_dom_query = require('../../dom-query-fmUvyB3x.cjs');
3
+ const require_auto_resize = require('../../auto-resize-Bh8HjZd5.cjs');
4
+ const require_utils = require('../../utils-CMs0714u.cjs');
5
+ const require_core = require('../../core-BXoiGBfo.cjs');
6
+ const require_interact_outside = require('../../interact-outside-DhVG9So9.cjs');
7
7
  const require_live_region = require('../../live-region-2RiuzOr-.cjs');
8
8
  const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
9
9
 
@@ -1,11 +1,11 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-smWrirg1.cjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-BIy26Uwn.cjs";
3
- import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-UNyqrBDu.cjs";
4
- import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-DFiQyzeW.cjs";
5
- import { t as LiveRegion } from "../../index-BBTkH09t.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";
4
+ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-C9-feK5c.cjs";
5
+ import { t as LiveRegion } from "../../index-Owca7uxB.cjs";
6
6
 
7
7
  //#region src/machines/tags-input/tags-input.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "item" | "itemDeleteTrigger" | "itemPreview" | "clearTrigger" | "itemText" | "itemInput">;
8
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemText" | "input" | "control" | "clearTrigger" | "itemDeleteTrigger" | "itemPreview" | "itemInput">;
9
9
  //#endregion
10
10
  //#region src/machines/tags-input/tags-input.types.d.ts
11
11
  interface ValueChangeDetails {
@@ -1,11 +1,11 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-DHVOqZET.mjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-jyV564Ip.mjs";
3
- import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVcPBg7R.mjs";
4
- import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-9OlOKr2i.mjs";
5
- import { t as LiveRegion } from "../../index-C9ajBf1B.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";
4
+ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-Bvn6ocEE.mjs";
5
+ import { t as LiveRegion } from "../../index-CygfPLvT.mjs";
6
6
 
7
7
  //#region src/machines/tags-input/tags-input.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "item" | "itemDeleteTrigger" | "itemPreview" | "clearTrigger" | "itemText" | "itemInput">;
8
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemText" | "input" | "control" | "clearTrigger" | "itemDeleteTrigger" | "itemPreview" | "itemInput">;
9
9
  //#endregion
10
10
  //#region src/machines/tags-input/tags-input.types.d.ts
11
11
  interface ValueChangeDetails {
@@ -1,9 +1,9 @@
1
1
  import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
2
- import { S as queryAll, U as raf, Xt as contains, _ as indexOfId, _n as ariaAttr, at as setElementValue, b as prevById, lt as getEventKey, mt as isComposingEvent, ot as trackFormControl, pt as getNativeEvent, rt as dispatchInputValueEvent, vn as dataAttr, y as nextById, yn as isCaretAtStart, yt as isLeftClick } from "../../dom-query-Bwyyt0Vp.mjs";
3
- import { n as autoResizeInput } from "../../auto-resize-L6Oqa0lE.mjs";
4
- import { Nt as uniq, ft as isEqual, i as warn, jt as removeAt, u as createSplitProps } from "../../utils-BIwaJq8z.mjs";
5
- import { a as createMachine, i as createGuards } from "../../core-DVmt6PX7.mjs";
6
- import { t as trackInteractOutside } from "../../interact-outside-D9gKK1XW.mjs";
2
+ import { S as queryAll, U as raf, Xt as contains, _ as indexOfId, _n as ariaAttr, at as setElementValue, b as prevById, lt as getEventKey, mt as isComposingEvent, ot as trackFormControl, pt as getNativeEvent, rt as dispatchInputValueEvent, vn as dataAttr, y as nextById, yn as isCaretAtStart, yt as isLeftClick } from "../../dom-query-BaSlGC4X.mjs";
3
+ import { n as autoResizeInput } from "../../auto-resize-DLuF3IFp.mjs";
4
+ import { Nt as uniq, ft as isEqual, i as warn, jt as removeAt, u as createSplitProps } from "../../utils-B_odTlcq.mjs";
5
+ import { a as createMachine, i as createGuards } from "../../core-BLrKf6Qi.mjs";
6
+ import { t as trackInteractOutside } from "../../interact-outside-DkNMPOqV.mjs";
7
7
  import { t as createLiveRegion } from "../../live-region-BcSdQIM8.mjs";
8
8
  import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
9
9
 
@@ -1,7 +1,7 @@
1
1
  const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
2
- require('../../dom-query-CWZdWUGp.cjs');
3
- const require_utils = require('../../utils-CtgLe8Vv.cjs');
4
- const require_core = require('../../core-DHn58LRl.cjs');
2
+ require('../../dom-query-fmUvyB3x.cjs');
3
+ const require_utils = require('../../utils-CMs0714u.cjs');
4
+ const require_core = require('../../core-BXoiGBfo.cjs');
5
5
  const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
6
6
 
7
7
  //#region src/machines/timer/timer.anatomy.ts
@@ -1,9 +1,9 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-smWrirg1.cjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-BIy26Uwn.cjs";
3
- import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-UNyqrBDu.cjs";
2
+ import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu60O.cjs";
3
+ import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
4
4
 
5
5
  //#region src/machines/timer/timer.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "control" | "item" | "area" | "itemLabel" | "separator" | "actionTrigger" | "itemValue">;
6
+ declare const anatomy: AnatomyInstance<"root" | "item" | "itemLabel" | "separator" | "area" | "actionTrigger" | "control" | "itemValue">;
7
7
  //#endregion
8
8
  //#region src/machines/timer/timer.types.d.ts
9
9
  interface Time<T = number> {
@@ -1,9 +1,9 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-DHVOqZET.mjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-jyV564Ip.mjs";
3
- import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-BVcPBg7R.mjs";
2
+ import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQk5.mjs";
3
+ import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
4
4
 
5
5
  //#region src/machines/timer/timer.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "control" | "item" | "area" | "itemLabel" | "separator" | "actionTrigger" | "itemValue">;
6
+ declare const anatomy: AnatomyInstance<"root" | "item" | "itemLabel" | "separator" | "area" | "actionTrigger" | "control" | "itemValue">;
7
7
  //#endregion
8
8
  //#region src/machines/timer/timer.types.d.ts
9
9
  interface Time<T = number> {
@@ -1,7 +1,7 @@
1
1
  import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
2
- import "../../dom-query-Bwyyt0Vp.mjs";
3
- import { Y as match, ct as isObject, g as clampValue, o as setRafInterval, s as setRafTimeout, u as createSplitProps } from "../../utils-BIwaJq8z.mjs";
4
- import { a as createMachine, s as memo } from "../../core-DVmt6PX7.mjs";
2
+ import "../../dom-query-BaSlGC4X.mjs";
3
+ import { Y as match, ct as isObject, g as clampValue, o as setRafInterval, s as setRafTimeout, u as createSplitProps } from "../../utils-B_odTlcq.mjs";
4
+ import { a as createMachine, s as memo } from "../../core-BLrKf6Qi.mjs";
5
5
  import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
6
6
 
7
7
  //#region src/machines/timer/timer.anatomy.ts
@@ -1,9 +1,9 @@
1
1
  const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
2
- const require_dom_query = require('../../dom-query-CWZdWUGp.cjs');
3
- const require_utils = require('../../utils-CtgLe8Vv.cjs');
4
- const require_core = require('../../core-DHn58LRl.cjs');
5
- require('../../interact-outside-Dp8GERFa.cjs');
6
- const require_dismissable = require('../../dismissable-rIq_LmT8.cjs');
2
+ const require_dom_query = require('../../dom-query-fmUvyB3x.cjs');
3
+ const require_utils = require('../../utils-CMs0714u.cjs');
4
+ const require_core = require('../../core-BXoiGBfo.cjs');
5
+ require('../../interact-outside-DhVG9So9.cjs');
6
+ const require_dismissable = require('../../dismissable-DAGPnT9O.cjs');
7
7
 
8
8
  //#region src/machines/toast/toast.anatomy.ts
9
9
  const anatomy = require_create_anatomy.createAnatomy("toast").parts("group", "root", "title", "description", "actionTrigger", "closeTrigger");
@@ -229,9 +229,9 @@ function groupConnect(service, normalize) {
229
229
 
230
230
  //#endregion
231
231
  //#region src/machines/toast/toast-group.machine.ts
232
- const { guards, createMachine: createMachine$1 } = require_core.setup();
232
+ const { guards, createMachine } = require_core.setup();
233
233
  const { and } = guards;
234
- const groupMachine = createMachine$1({
234
+ const groupMachine = createMachine({
235
235
  props({ props }) {
236
236
  return {
237
237
  dir: "ltr",
@@ -1,7 +1,8 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-smWrirg1.cjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-BIy26Uwn.cjs";
3
- import { b as NormalizeProps, g as RequiredBy, h as Required, n as Direction, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-UNyqrBDu.cjs";
4
- import { t as AnimationFrame } from "../../raf-BF2VrckK.cjs";
2
+ import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu60O.cjs";
3
+ import { b as NormalizeProps, g as RequiredBy, h as Required, n as Direction, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
4
+ import { t as AnimationFrame } from "../../raf-Cd2FGy0z.cjs";
5
+ import "../../core.cjs";
5
6
 
6
7
  //#region src/machines/toast/toast.types.d.ts
7
8
  type Type = "success" | "error" | "loading" | "info" | (string & {});
@@ -175,7 +176,7 @@ interface ToastApi<T extends PropTypes = PropTypes, O = any> {
175
176
  declare function groupConnect<T extends PropTypes, O = any>(service: Service<ToastGroupSchema>, normalize: NormalizeProps<T>): ToastGroupApi<T, O>;
176
177
  //#endregion
177
178
  //#region src/machines/toast/toast.anatomy.d.ts
178
- declare const anatomy: AnatomyInstance<"root" | "title" | "group" | "description" | "actionTrigger" | "closeTrigger">;
179
+ declare const anatomy: AnatomyInstance<"root" | "title" | "description" | "group" | "actionTrigger" | "closeTrigger">;
179
180
  //#endregion
180
181
  //#region src/machines/toast/toast.connect.d.ts
181
182
  declare function connect<T extends PropTypes, O>(service: Service<ToastSchema<O>>, normalize: NormalizeProps<T>): ToastApi<T, O>;
@@ -1,7 +1,8 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-DHVOqZET.mjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-jyV564Ip.mjs";
3
- import { b as NormalizeProps, g as RequiredBy, h as Required, n as Direction, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVcPBg7R.mjs";
4
- import { t as AnimationFrame } from "../../raf-DX52LaVy.mjs";
2
+ import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQk5.mjs";
3
+ import { b as NormalizeProps, g as RequiredBy, h as Required, n as Direction, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
4
+ import { t as AnimationFrame } from "../../raf-BV1049GE.mjs";
5
+ import "../../core.mjs";
5
6
 
6
7
  //#region src/machines/toast/toast.types.d.ts
7
8
  type Type = "success" | "error" | "loading" | "info" | (string & {});
@@ -175,7 +176,7 @@ interface ToastApi<T extends PropTypes = PropTypes, O = any> {
175
176
  declare function groupConnect<T extends PropTypes, O = any>(service: Service<ToastGroupSchema>, normalize: NormalizeProps<T>): ToastGroupApi<T, O>;
176
177
  //#endregion
177
178
  //#region src/machines/toast/toast.anatomy.d.ts
178
- declare const anatomy: AnatomyInstance<"root" | "title" | "group" | "description" | "actionTrigger" | "closeTrigger">;
179
+ declare const anatomy: AnatomyInstance<"root" | "title" | "description" | "group" | "actionTrigger" | "closeTrigger">;
179
180
  //#endregion
180
181
  //#region src/machines/toast/toast.connect.d.ts
181
182
  declare function connect<T extends PropTypes, O>(service: Service<ToastSchema<O>>, normalize: NormalizeProps<T>): ToastApi<T, O>;