@wirekyt/dom 1.0.2 → 1.0.4

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 (299) hide show
  1. package/dist/{aria-hidden-Y7iJHPMr.cjs → aria-hidden-BBIpozYa.cjs} +2 -2
  2. package/dist/{aria-hidden-CEXexb2I.js → aria-hidden-Cyc-aKws.js} +2 -2
  3. package/dist/aria-hidden.cjs +1 -1
  4. package/dist/aria-hidden.js +1 -1
  5. package/dist/{auto-resize-5F5iiKZb.cjs → auto-resize-DN-iXV8T.cjs} +2 -2
  6. package/dist/{auto-resize-KkNfCcBt.js → auto-resize-kofQAsrm.js} +2 -2
  7. package/dist/auto-resize.cjs +1 -1
  8. package/dist/auto-resize.js +1 -1
  9. package/dist/{computed-style-DLArEFNw.cjs → computed-style-CEY-VDcj.cjs} +1 -1
  10. package/dist/{computed-style-B1MKlCoo.js → computed-style-ZGDOvm-2.js} +1 -1
  11. package/dist/{controller-B8E8ZJCI.cjs → controller-CnmwaBBZ.cjs} +1 -1
  12. package/dist/{controller-Dv7lWHDr.js → controller-_DvQx9vr.js} +1 -1
  13. package/dist/core-BF6G2RiC.d.cts +1 -0
  14. package/dist/core-BdeZuSX6.d.ts +1 -0
  15. package/dist/{core-CJ0MZr3D.js → core-BngDeqCP.js} +1 -1
  16. package/dist/{core-BNMw-JId.cjs → core-Dni-xRyH.cjs} +1 -1
  17. package/dist/core.cjs +1 -1
  18. package/dist/core.d.cts +2 -2
  19. package/dist/core.d.ts +2 -2
  20. package/dist/core.js +1 -1
  21. package/dist/{data-url-DHUHj7UF.js → data-url-6KppkYGh.js} +1 -1
  22. package/dist/{data-url-C-Uk31Q9.cjs → data-url-DOEkeTGQ.cjs} +1 -1
  23. package/dist/{dismissable-KM1jPtNQ.js → dismissable-DP5JL98P.js} +5 -5
  24. package/dist/{dismissable-C0bixtzl.cjs → dismissable-VO4d-DXf.cjs} +5 -5
  25. package/dist/dismissable.cjs +1 -1
  26. package/dist/dismissable.js +1 -1
  27. package/dist/{dom-query-e7fh0TEH.js → dom-query-BT4eCYLr.js} +1 -1
  28. package/dist/{dom-query-CQzY93XU.cjs → dom-query-BqVb9fOH.cjs} +1 -1
  29. package/dist/dom-query.cjs +16 -16
  30. package/dist/dom-query.js +16 -16
  31. package/dist/{focus-trap-D7jKsfHW.cjs → focus-trap-Cklkfmig.cjs} +3 -3
  32. package/dist/{focus-trap-89E5I9nm.js → focus-trap-DEbQU0ZU.js} +3 -3
  33. package/dist/focus-trap.cjs +1 -1
  34. package/dist/focus-trap.js +1 -1
  35. package/dist/{focus-visible-DWdQf__4.js → focus-visible-Bh9waQ3C.js} +1 -1
  36. package/dist/{focus-visible-G4cmlWqq.cjs → focus-visible-gPKr88gY.cjs} +1 -1
  37. package/dist/focus-visible.cjs +1 -1
  38. package/dist/focus-visible.js +1 -1
  39. package/dist/{form-B1DW_w_3.js → form-DERHagMQ.js} +1 -1
  40. package/dist/{form-CoupKpuP.cjs → form-DqBqN0Zx.cjs} +1 -1
  41. package/dist/{i18n-utils-C4FQZ39m.js → i18n-utils-BhyQyca_.js} +1 -1
  42. package/dist/{i18n-utils-BD4VtonY.cjs → i18n-utils-CAIrhe63.cjs} +1 -1
  43. package/dist/i18n-utils.cjs +1 -1
  44. package/dist/i18n-utils.js +1 -1
  45. package/dist/index-BF6G2RiC.d.cts +1 -0
  46. package/dist/{index-pUYD4eER.d.cts → index-BKgxIVbE.d.cts} +1 -1
  47. package/dist/index-BdeZuSX6.d.ts +1 -0
  48. package/dist/{index-CF2VuDYd.d.ts → index-CFoN0L3C.d.ts} +1 -1
  49. package/dist/index.cjs +1 -1
  50. package/dist/index.d.cts +2 -2
  51. package/dist/index.d.ts +2 -2
  52. package/dist/index.js +1 -1
  53. package/dist/{initial-focus-BrN5tT2X.js → initial-focus-BL2LbYBB.js} +2 -2
  54. package/dist/{initial-focus-BQxRRFPa.cjs → initial-focus-D3VUGHp7.cjs} +2 -2
  55. package/dist/{interact-outside-BjqIunFx.js → interact-outside-BMBfo4Ez.js} +4 -4
  56. package/dist/{interact-outside-Dphjr2Zh.cjs → interact-outside-WInfEPBm.cjs} +4 -4
  57. package/dist/interact-outside.cjs +1 -1
  58. package/dist/interact-outside.js +1 -1
  59. package/dist/machines/accordion/index.cjs +2 -2
  60. package/dist/machines/accordion/index.d.cts +3 -3
  61. package/dist/machines/accordion/index.d.ts +3 -3
  62. package/dist/machines/accordion/index.js +2 -2
  63. package/dist/machines/angle-slider/index.cjs +3 -3
  64. package/dist/machines/angle-slider/index.d.cts +3 -3
  65. package/dist/machines/angle-slider/index.d.ts +3 -3
  66. package/dist/machines/angle-slider/index.js +3 -3
  67. package/dist/machines/async-list/index.cjs +1 -1
  68. package/dist/machines/async-list/index.d.cts +3 -3
  69. package/dist/machines/async-list/index.d.ts +3 -3
  70. package/dist/machines/async-list/index.js +1 -1
  71. package/dist/machines/avatar/index.cjs +2 -2
  72. package/dist/machines/avatar/index.d.cts +2 -2
  73. package/dist/machines/avatar/index.d.ts +2 -2
  74. package/dist/machines/avatar/index.js +2 -2
  75. package/dist/machines/carousel/index.cjs +4 -4
  76. package/dist/machines/carousel/index.d.cts +3 -3
  77. package/dist/machines/carousel/index.d.ts +3 -3
  78. package/dist/machines/carousel/index.js +4 -4
  79. package/dist/machines/cascade-select/index.cjs +9 -9
  80. package/dist/machines/cascade-select/index.d.cts +4 -4
  81. package/dist/machines/cascade-select/index.d.ts +4 -4
  82. package/dist/machines/cascade-select/index.js +9 -9
  83. package/dist/machines/checkbox/index.cjs +5 -5
  84. package/dist/machines/checkbox/index.d.cts +2 -2
  85. package/dist/machines/checkbox/index.d.ts +2 -2
  86. package/dist/machines/checkbox/index.js +5 -5
  87. package/dist/machines/clipboard/index.cjs +3 -3
  88. package/dist/machines/clipboard/index.d.cts +3 -3
  89. package/dist/machines/clipboard/index.d.ts +3 -3
  90. package/dist/machines/clipboard/index.js +3 -3
  91. package/dist/machines/collapsible/index.cjs +5 -5
  92. package/dist/machines/collapsible/index.d.cts +3 -3
  93. package/dist/machines/collapsible/index.d.ts +3 -3
  94. package/dist/machines/collapsible/index.js +5 -5
  95. package/dist/machines/color-picker/index.cjs +7 -7
  96. package/dist/machines/color-picker/index.d.cts +3 -3
  97. package/dist/machines/color-picker/index.d.ts +3 -3
  98. package/dist/machines/color-picker/index.js +7 -7
  99. package/dist/machines/combobox/index.cjs +7 -7
  100. package/dist/machines/combobox/index.d.cts +3 -3
  101. package/dist/machines/combobox/index.d.ts +3 -3
  102. package/dist/machines/combobox/index.js +7 -7
  103. package/dist/machines/date-input/index.cjs +2 -2
  104. package/dist/machines/date-input/index.d.cts +3 -3
  105. package/dist/machines/date-input/index.d.ts +3 -3
  106. package/dist/machines/date-input/index.js +2 -2
  107. package/dist/machines/date-picker/index.cjs +5 -5
  108. package/dist/machines/date-picker/index.d.cts +3 -3
  109. package/dist/machines/date-picker/index.d.ts +3 -3
  110. package/dist/machines/date-picker/index.js +5 -5
  111. package/dist/machines/dialog/index.cjs +7 -7
  112. package/dist/machines/dialog/index.d.cts +3 -3
  113. package/dist/machines/dialog/index.d.ts +3 -3
  114. package/dist/machines/dialog/index.js +7 -7
  115. package/dist/machines/drawer/index.cjs +9 -9
  116. package/dist/machines/drawer/index.d.cts +3 -3
  117. package/dist/machines/drawer/index.d.ts +3 -3
  118. package/dist/machines/drawer/index.js +9 -9
  119. package/dist/machines/editable/index.cjs +4 -4
  120. package/dist/machines/editable/index.d.cts +3 -3
  121. package/dist/machines/editable/index.d.ts +3 -3
  122. package/dist/machines/editable/index.js +4 -4
  123. package/dist/machines/file-upload/index.cjs +3 -3
  124. package/dist/machines/file-upload/index.d.cts +3 -3
  125. package/dist/machines/file-upload/index.d.ts +3 -3
  126. package/dist/machines/file-upload/index.js +3 -3
  127. package/dist/machines/floating-panel/index.cjs +2 -2
  128. package/dist/machines/floating-panel/index.d.cts +3 -3
  129. package/dist/machines/floating-panel/index.d.ts +3 -3
  130. package/dist/machines/floating-panel/index.js +2 -2
  131. package/dist/machines/hover-card/index.cjs +4 -4
  132. package/dist/machines/hover-card/index.d.cts +3 -3
  133. package/dist/machines/hover-card/index.d.ts +3 -3
  134. package/dist/machines/hover-card/index.js +4 -4
  135. package/dist/machines/image-cropper/index.cjs +2 -2
  136. package/dist/machines/image-cropper/index.d.cts +3 -3
  137. package/dist/machines/image-cropper/index.d.ts +3 -3
  138. package/dist/machines/image-cropper/index.js +2 -2
  139. package/dist/machines/listbox/index.cjs +4 -4
  140. package/dist/machines/listbox/index.d.cts +3 -3
  141. package/dist/machines/listbox/index.d.ts +3 -3
  142. package/dist/machines/listbox/index.js +4 -4
  143. package/dist/machines/marquee/index.cjs +2 -2
  144. package/dist/machines/marquee/index.d.cts +5 -5
  145. package/dist/machines/marquee/index.d.ts +5 -5
  146. package/dist/machines/marquee/index.js +2 -2
  147. package/dist/machines/menu/index.cjs +8 -8
  148. package/dist/machines/menu/index.d.cts +3 -3
  149. package/dist/machines/menu/index.d.ts +3 -3
  150. package/dist/machines/menu/index.js +8 -8
  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.ts +3 -3
  154. package/dist/machines/navigation-menu/index.js +5 -5
  155. package/dist/machines/number-input/index.cjs +3 -3
  156. package/dist/machines/number-input/index.d.cts +3 -3
  157. package/dist/machines/number-input/index.d.ts +3 -3
  158. package/dist/machines/number-input/index.js +3 -3
  159. package/dist/machines/pagination/index.cjs +2 -2
  160. package/dist/machines/pagination/index.d.cts +2 -2
  161. package/dist/machines/pagination/index.d.ts +2 -2
  162. package/dist/machines/pagination/index.js +2 -2
  163. package/dist/machines/password-input/index.cjs +2 -2
  164. package/dist/machines/password-input/index.d.cts +3 -3
  165. package/dist/machines/password-input/index.d.ts +3 -3
  166. package/dist/machines/password-input/index.js +2 -2
  167. package/dist/machines/pin-input/index.cjs +3 -3
  168. package/dist/machines/pin-input/index.d.cts +3 -3
  169. package/dist/machines/pin-input/index.d.ts +3 -3
  170. package/dist/machines/pin-input/index.js +3 -3
  171. package/dist/machines/popover/index.cjs +9 -9
  172. package/dist/machines/popover/index.d.cts +3 -3
  173. package/dist/machines/popover/index.d.ts +3 -3
  174. package/dist/machines/popover/index.js +9 -9
  175. package/dist/machines/presence/index.cjs +4 -4
  176. package/dist/machines/presence/index.d.cts +2 -2
  177. package/dist/machines/presence/index.d.ts +2 -2
  178. package/dist/machines/presence/index.js +4 -4
  179. package/dist/machines/progress/index.cjs +1 -1
  180. package/dist/machines/progress/index.d.cts +3 -3
  181. package/dist/machines/progress/index.d.ts +3 -3
  182. package/dist/machines/progress/index.js +1 -1
  183. package/dist/machines/qr-code/index.cjs +3 -3
  184. package/dist/machines/qr-code/index.d.cts +2 -2
  185. package/dist/machines/qr-code/index.d.ts +2 -2
  186. package/dist/machines/qr-code/index.js +3 -3
  187. package/dist/machines/radio-group/index.cjs +4 -4
  188. package/dist/machines/radio-group/index.d.cts +2 -2
  189. package/dist/machines/radio-group/index.d.ts +2 -2
  190. package/dist/machines/radio-group/index.js +4 -4
  191. package/dist/machines/rating-group/index.cjs +4 -4
  192. package/dist/machines/rating-group/index.d.cts +2 -2
  193. package/dist/machines/rating-group/index.d.ts +2 -2
  194. package/dist/machines/rating-group/index.js +4 -4
  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.ts +3 -3
  198. package/dist/machines/scroll-area/index.js +4 -4
  199. package/dist/machines/select/index.cjs +8 -8
  200. package/dist/machines/select/index.d.cts +3 -3
  201. package/dist/machines/select/index.d.ts +3 -3
  202. package/dist/machines/select/index.js +8 -8
  203. package/dist/machines/signature-pad/index.cjs +4 -4
  204. package/dist/machines/signature-pad/index.d.cts +3 -3
  205. package/dist/machines/signature-pad/index.d.ts +3 -3
  206. package/dist/machines/signature-pad/index.js +4 -4
  207. package/dist/machines/slider/index.cjs +3 -3
  208. package/dist/machines/slider/index.d.cts +3 -3
  209. package/dist/machines/slider/index.d.ts +3 -3
  210. package/dist/machines/slider/index.js +3 -3
  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.ts +2 -2
  214. package/dist/machines/splitter/index.js +3 -3
  215. package/dist/machines/steps/index.cjs +2 -2
  216. package/dist/machines/steps/index.d.cts +3 -3
  217. package/dist/machines/steps/index.d.ts +3 -3
  218. package/dist/machines/steps/index.js +2 -2
  219. package/dist/machines/switch/index.cjs +5 -5
  220. package/dist/machines/switch/index.d.cts +3 -3
  221. package/dist/machines/switch/index.d.ts +3 -3
  222. package/dist/machines/switch/index.js +5 -5
  223. package/dist/machines/tabs/index.cjs +4 -4
  224. package/dist/machines/tabs/index.d.cts +3 -3
  225. package/dist/machines/tabs/index.d.ts +3 -3
  226. package/dist/machines/tabs/index.js +4 -4
  227. package/dist/machines/tags-input/index.cjs +5 -5
  228. package/dist/machines/tags-input/index.d.cts +3 -3
  229. package/dist/machines/tags-input/index.d.ts +3 -3
  230. package/dist/machines/tags-input/index.js +5 -5
  231. package/dist/machines/timer/index.cjs +1 -1
  232. package/dist/machines/timer/index.d.cts +3 -3
  233. package/dist/machines/timer/index.d.ts +3 -3
  234. package/dist/machines/timer/index.js +1 -1
  235. package/dist/machines/toast/index.cjs +3 -3
  236. package/dist/machines/toast/index.d.cts +2 -2
  237. package/dist/machines/toast/index.d.ts +2 -2
  238. package/dist/machines/toast/index.js +3 -3
  239. package/dist/machines/toc/index.cjs +3 -3
  240. package/dist/machines/toc/index.d.cts +3 -3
  241. package/dist/machines/toc/index.d.ts +3 -3
  242. package/dist/machines/toc/index.js +3 -3
  243. package/dist/machines/toggle/index.cjs +2 -2
  244. package/dist/machines/toggle/index.d.cts +2 -2
  245. package/dist/machines/toggle/index.d.ts +2 -2
  246. package/dist/machines/toggle/index.js +2 -2
  247. package/dist/machines/toggle-group/index.cjs +2 -2
  248. package/dist/machines/toggle-group/index.d.cts +2 -2
  249. package/dist/machines/toggle-group/index.d.ts +2 -2
  250. package/dist/machines/toggle-group/index.js +2 -2
  251. package/dist/machines/tooltip/index.cjs +5 -5
  252. package/dist/machines/tooltip/index.d.cts +3 -3
  253. package/dist/machines/tooltip/index.d.ts +3 -3
  254. package/dist/machines/tooltip/index.js +5 -5
  255. package/dist/machines/tour/index.cjs +8 -8
  256. package/dist/machines/tour/index.d.cts +3 -3
  257. package/dist/machines/tour/index.d.ts +3 -3
  258. package/dist/machines/tour/index.js +8 -8
  259. package/dist/machines/tree-view/index.cjs +3 -3
  260. package/dist/machines/tree-view/index.d.cts +3 -3
  261. package/dist/machines/tree-view/index.d.ts +3 -3
  262. package/dist/machines/tree-view/index.js +3 -3
  263. package/dist/{navigate-CJOaL3vx.js → navigate-B7a4x7MC.js} +1 -1
  264. package/dist/{navigate-uJG-006f.cjs → navigate-Dj1v1sQo.cjs} +1 -1
  265. package/dist/{overflow-C-zO1CWA.js → overflow-B7LrRJZW.js} +1 -1
  266. package/dist/{overflow-BBihfMxX.cjs → overflow-D3seslWB.cjs} +1 -1
  267. package/dist/{point-C9A4dk1i.js → point-CNWMXtXu.js} +1 -1
  268. package/dist/{point-DxnCrJBy.cjs → point-DPYB3uvS.cjs} +1 -1
  269. package/dist/{popper-DkAAS9VE.cjs → popper-B0dRwS9x.cjs} +2 -2
  270. package/dist/{popper-DzBZzAe4.js → popper-DiBKvn5U.js} +2 -2
  271. package/dist/popper.cjs +1 -1
  272. package/dist/popper.js +1 -1
  273. package/dist/{press-BdD5suLQ.cjs → press-DC8EomvC.cjs} +1 -1
  274. package/dist/{press-B7XLrLGR.js → press-DyAh5jmA.js} +1 -1
  275. package/dist/{proxy-tab-focus-DWMXvAfO.js → proxy-tab-focus-Jeo7aNeD.js} +2 -2
  276. package/dist/{proxy-tab-focus-NthYgHdY.cjs → proxy-tab-focus-Kvq4ikas.cjs} +2 -2
  277. package/dist/{remove-scroll-DTVA5f4w.cjs → remove-scroll-CQALEaey.cjs} +3 -3
  278. package/dist/{remove-scroll-WEheFCiq.js → remove-scroll-bKiji9SP.js} +3 -3
  279. package/dist/remove-scroll.cjs +1 -1
  280. package/dist/remove-scroll.js +1 -1
  281. package/dist/{scope-CysKlKe9.cjs → scope-Ci48c1jK.cjs} +2 -2
  282. package/dist/{scope-D1873Mzi.js → scope-j8pULmxB.js} +2 -2
  283. package/dist/{scroll-Dyd1QLrc.cjs → scroll-CXMuv_ze.cjs} +2 -2
  284. package/dist/{scroll-CVJ40w2e.js → scroll-Do264hyH.js} +2 -2
  285. package/dist/{scroll-snap-Cuaqdevf.cjs → scroll-snap-BaucP-9C.cjs} +2 -2
  286. package/dist/{scroll-snap-DqMiFASa.js → scroll-snap-I0eyRWRi.js} +2 -2
  287. package/dist/scroll-snap.cjs +1 -1
  288. package/dist/scroll-snap.js +1 -1
  289. package/dist/{set-CFNGOW5W.js → set-B2nuG8H0.js} +1 -1
  290. package/dist/{set-DrtWCLFb.cjs → set-BvyeSAq5.cjs} +1 -1
  291. package/dist/{tabbable-CDA1YMjZ.js → tabbable-CtjHs3tH.js} +1 -1
  292. package/dist/{tabbable-Bz1-1GAY.cjs → tabbable-wR_HsCMf.cjs} +1 -1
  293. package/dist/{wait-for-CI5Ye-Lo.js → wait-for-DeAe0q_u.js} +1 -1
  294. package/dist/{wait-for-Db73VpZQ.cjs → wait-for-qr8AXBF3.cjs} +1 -1
  295. package/package.json +1 -1
  296. package/dist/core-DNDQD0mg.d.ts +0 -1
  297. package/dist/core-DlAisY_i.d.cts +0 -1
  298. package/dist/index-DNDQD0mg.d.ts +0 -1
  299. package/dist/index-DlAisY_i.d.cts +0 -1
@@ -1,17 +1,17 @@
1
1
  import { t as createAnatomy } from "../../create-anatomy-B2q3wiaw.js";
2
- import { S as getWindow, k as isHTMLElement, p as contains, z as dataAttr } from "../../dom-query-e7fh0TEH.js";
3
- import { t as getComputedStyle$1 } from "../../computed-style-B1MKlCoo.js";
2
+ import { S as getWindow, k as isHTMLElement, p as contains, z as dataAttr } from "../../dom-query-BT4eCYLr.js";
3
+ import { t as getComputedStyle$1 } from "../../computed-style-ZGDOvm-2.js";
4
4
  import { i as raf } from "../../raf-Dhvm7f1e.js";
5
- import { r as waitForPromise, t as waitForElement } from "../../wait-for-CI5Ye-Lo.js";
5
+ import { r as waitForPromise, t as waitForElement } from "../../wait-for-DeAe0q_u.js";
6
6
  import { _ as prevIndex, m as nextIndex } from "../../array-C4KbHsha.js";
7
7
  import { t as isEqual } from "../../equal-DtrP8DPh.js";
8
8
  import { F as toPx, it as isString, n as createSplitProps } from "../../utils-Cht5XaHf.js";
9
9
  import { i as warn } from "../../warning-CrzBpWT1.js";
10
- import { m as mergeProps, n as createGuards, r as createMachine } from "../../core-CJ0MZr3D.js";
11
- import { t as trackInteractOutside } from "../../interact-outside-BjqIunFx.js";
12
- import { t as trackDismissableBranch } from "../../dismissable-KM1jPtNQ.js";
13
- import { t as trapFocus } from "../../focus-trap-89E5I9nm.js";
14
- import { n as getPlacement, r as getPlacementSide, t as getPlacementStyles } from "../../popper-DzBZzAe4.js";
10
+ import { m as mergeProps, n as createGuards, r as createMachine } from "../../core-BngDeqCP.js";
11
+ import { t as trackInteractOutside } from "../../interact-outside-BMBfo4Ez.js";
12
+ import { t as trackDismissableBranch } from "../../dismissable-DP5JL98P.js";
13
+ import { t as trapFocus } from "../../focus-trap-DEbQU0ZU.js";
14
+ import { n as getPlacement, r as getPlacementSide, t as getPlacementStyles } from "../../popper-DiBKvn5U.js";
15
15
  import { t as createProps } from "../../create-props-CgtcN_Qu.js";
16
16
  //#region src/machines/tour/anatomy.ts
17
17
  const anatomy = createAnatomy("tour").parts("content", "actionTrigger", "closeTrigger", "progressText", "title", "description", "positioner", "arrow", "arrowTip", "backdrop", "spotlight");
@@ -1,15 +1,15 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_create_anatomy = require("../../create-anatomy-BwDn25ph.cjs");
3
- const require_dom_query = require("../../dom-query-CQzY93XU.cjs");
3
+ const require_dom_query = require("../../dom-query-BqVb9fOH.cjs");
4
4
  const require_event = require("../../event-DDz-mMhM.cjs");
5
- const require_form = require("../../form-CoupKpuP.cjs");
5
+ const require_form = require("../../form-DqBqN0Zx.cjs");
6
6
  const require_raf = require("../../raf-BSDcY4UD.cjs");
7
7
  const require_array = require("../../array-BGtygd0o.cjs");
8
8
  const require_equal = require("../../equal-C927y7MN.cjs");
9
9
  const require_utils = require("../../utils-BH-oBBz2.cjs");
10
10
  const require_warning = require("../../warning-HAmFXLHm.cjs");
11
11
  const require_collection = require("../../collection-CwzUJwBJ.cjs");
12
- const require_core = require("../../core-BNMw-JId.cjs");
12
+ const require_core = require("../../core-Dni-xRyH.cjs");
13
13
  const require_create_props = require("../../create-props-CjLx2oS8.cjs");
14
14
  //#region src/machines/tree-view/anatomy.ts
15
15
  const anatomy = require_create_anatomy.createAnatomy("tree-view").parts("branch", "branchContent", "branchControl", "branchIndentGuide", "branchIndicator", "branchText", "branchTrigger", "item", "itemIndicator", "itemText", "label", "nodeCheckbox", "nodeRenameInput", "root", "tree");
@@ -1,13 +1,13 @@
1
1
  import { n as AnatomyInstance } from "../../anatomy-DMuSMbOP.cjs";
2
2
  import { f as TreeCollectionOptions, g as ValuePath, p as TreeNode, s as FilePathTreeNode, u as IndexPath } from "../../types-CczqoQLL.cjs";
3
3
  import { t as TreeCollection } from "../../tree-collection-C6oDQGUJ.cjs";
4
- import { M as Service, T as Machine } from "../../index-pUYD4eER.cjs";
4
+ import { M as Service, T as Machine } from "../../index-BKgxIVbE.cjs";
5
5
  import { b as PropTypes, g as RequiredBy, r as DirectionProperty, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.cjs";
6
6
  import "../../index-BWiYePx8.cjs";
7
7
  import { n as TypeaheadState } from "../../typeahead-DremEgML.cjs";
8
- import "../../index-DlAisY_i.cjs";
8
+ import "../../index-BF6G2RiC.cjs";
9
9
  //#region src/machines/tree-view/anatomy.d.ts
10
- declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "itemText" | "itemIndicator" | "tree" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "nodeCheckbox" | "nodeRenameInput">;
10
+ declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "itemIndicator" | "itemText" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
11
11
  //#endregion
12
12
  //#region src/machines/tree-view/collection.d.ts
13
13
  declare const collection: {
@@ -1,13 +1,13 @@
1
1
  import { n as AnatomyInstance } from "../../anatomy-DMuSMbOP.js";
2
2
  import { f as TreeCollectionOptions, g as ValuePath, p as TreeNode, s as FilePathTreeNode, u as IndexPath } from "../../types-CczqoQLL.js";
3
3
  import { t as TreeCollection } from "../../tree-collection-3QX3EIhq.js";
4
- import { M as Service, T as Machine } from "../../index-CF2VuDYd.js";
4
+ import { M as Service, T as Machine } from "../../index-CFoN0L3C.js";
5
5
  import { b as PropTypes, g as RequiredBy, r as DirectionProperty, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.js";
6
6
  import "../../index-vPrqYDHu.js";
7
7
  import { n as TypeaheadState } from "../../typeahead-DremEgML.js";
8
- import "../../index-DNDQD0mg.js";
8
+ import "../../index-BdeZuSX6.js";
9
9
  //#region src/machines/tree-view/anatomy.d.ts
10
- declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "itemText" | "itemIndicator" | "tree" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "nodeCheckbox" | "nodeRenameInput">;
10
+ declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "itemIndicator" | "itemText" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
11
11
  //#endregion
12
12
  //#region src/machines/tree-view/collection.d.ts
13
13
  declare const collection: {
@@ -1,14 +1,14 @@
1
1
  import { t as createAnatomy } from "../../create-anatomy-B2q3wiaw.js";
2
- import { E as isEditableElement, L as ariaAttr, t as getByTypeahead, w as isAnchorElement, z as dataAttr } from "../../dom-query-e7fh0TEH.js";
2
+ import { E as isEditableElement, L as ariaAttr, t as getByTypeahead, w as isAnchorElement, z as dataAttr } from "../../dom-query-BT4eCYLr.js";
3
3
  import { h as isModifierKey, l as isComposingEvent, m as isLeftClick, r as getEventKey, s as getEventTarget } from "../../event-bTItRgiw.js";
4
- import { o as setElementValue } from "../../form-B1DW_w_3.js";
4
+ import { o as setElementValue } from "../../form-DERHagMQ.js";
5
5
  import { i as raf } from "../../raf-Dhvm7f1e.js";
6
6
  import { a as diff, b as toArray, f as last, h as partition, n as addOrRemove, o as first, t as add, v as remove, x as uniq } from "../../array-C4KbHsha.js";
7
7
  import { t as isEqual } from "../../equal-DtrP8DPh.js";
8
8
  import { Y as isArray, n as createSplitProps } from "../../utils-Cht5XaHf.js";
9
9
  import { t as ensure } from "../../warning-CrzBpWT1.js";
10
10
  import { n as filePathToTree, t as TreeCollection } from "../../collection-CJU0oDtX.js";
11
- import { n as createGuards, r as createMachine } from "../../core-CJ0MZr3D.js";
11
+ import { n as createGuards, r as createMachine } from "../../core-BngDeqCP.js";
12
12
  import { t as createProps } from "../../create-props-CgtcN_Qu.js";
13
13
  //#region src/machines/tree-view/anatomy.ts
14
14
  const anatomy = createAnatomy("tree-view").parts("branch", "branchContent", "branchControl", "branchIndentGuide", "branchIndicator", "branchText", "branchTrigger", "item", "itemIndicator", "itemText", "label", "nodeCheckbox", "nodeRenameInput", "root", "tree");
@@ -1,4 +1,4 @@
1
- import { S as getWindow } from "./dom-query-e7fh0TEH.js";
1
+ import { S as getWindow } from "./dom-query-BT4eCYLr.js";
2
2
  import { s as isFirefox } from "./platform-BDB0wXUk.js";
3
3
  import { r as queueBeforeEvent } from "./raf-Dhvm7f1e.js";
4
4
  //#region src/common/dom-query/navigate.ts
@@ -1,4 +1,4 @@
1
- const require_dom_query = require("./dom-query-CQzY93XU.cjs");
1
+ const require_dom_query = require("./dom-query-BqVb9fOH.cjs");
2
2
  const require_platform = require("./platform-BZS-dkZN.cjs");
3
3
  const require_raf = require("./raf-BSDcY4UD.cjs");
4
4
  //#region src/common/dom-query/navigate.ts
@@ -1,4 +1,4 @@
1
- import { M as isRootElement, P as isVisualViewport, S as getWindow, b as getParentNode, g as getDocument, k as isHTMLElement } from "./dom-query-e7fh0TEH.js";
1
+ import { M as isRootElement, P as isVisualViewport, S as getWindow, b as getParentNode, g as getDocument, k as isHTMLElement } from "./dom-query-BT4eCYLr.js";
2
2
  //#region src/common/dom-query/overflow.ts
3
3
  function getNearestOverflowAncestor(el) {
4
4
  const parentNode = getParentNode(el);
@@ -1,4 +1,4 @@
1
- const require_dom_query = require("./dom-query-CQzY93XU.cjs");
1
+ const require_dom_query = require("./dom-query-BqVb9fOH.cjs");
2
2
  //#region src/common/dom-query/overflow.ts
3
3
  function getNearestOverflowAncestor(el) {
4
4
  const parentNode = require_dom_query.getParentNode(el);
@@ -1,4 +1,4 @@
1
- import { R as clamp } from "./dom-query-e7fh0TEH.js";
1
+ import { R as clamp } from "./dom-query-BT4eCYLr.js";
2
2
  //#region src/common/dom-query/point.ts
3
3
  function getRelativePoint(point, element) {
4
4
  const { left, top, width, height } = element.getBoundingClientRect();
@@ -1,4 +1,4 @@
1
- const require_dom_query = require("./dom-query-CQzY93XU.cjs");
1
+ const require_dom_query = require("./dom-query-BqVb9fOH.cjs");
2
2
  //#region src/common/dom-query/point.ts
3
3
  function getRelativePoint(point, element) {
4
4
  const { left, top, width, height } = element.getBoundingClientRect();
@@ -1,5 +1,5 @@
1
- const require_dom_query = require("./dom-query-CQzY93XU.cjs");
2
- const require_computed_style = require("./computed-style-DLArEFNw.cjs");
1
+ const require_dom_query = require("./dom-query-BqVb9fOH.cjs");
2
+ const require_computed_style = require("./computed-style-CEY-VDcj.cjs");
3
3
  const require_raf = require("./raf-BSDcY4UD.cjs");
4
4
  const require_utils = require("./utils-BH-oBBz2.cjs");
5
5
  let _floating_ui_dom = require("@floating-ui/dom");
@@ -1,5 +1,5 @@
1
- import { S as getWindow, k as isHTMLElement } from "./dom-query-e7fh0TEH.js";
2
- import { t as getComputedStyle } from "./computed-style-B1MKlCoo.js";
1
+ import { S as getWindow, k as isHTMLElement } from "./dom-query-BT4eCYLr.js";
2
+ import { t as getComputedStyle } from "./computed-style-ZGDOvm-2.js";
3
3
  import { i as raf } from "./raf-Dhvm7f1e.js";
4
4
  import { $ as isNull, U as noop, t as compact } from "./utils-Cht5XaHf.js";
5
5
  import { arrow, autoUpdate, computePosition, flip, hide, limitShift, offset, shift, size } from "@floating-ui/dom";
package/dist/popper.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_popper = require("./popper-DkAAS9VE.cjs");
2
+ const require_popper = require("./popper-B0dRwS9x.cjs");
3
3
  exports.getPlacement = require_popper.getPlacement;
4
4
  exports.getPlacementSide = require_popper.getPlacementSide;
5
5
  exports.getPlacementStyles = require_popper.getPlacementStyles;
package/dist/popper.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as isValidPlacement, n as getPlacement, r as getPlacementSide, t as getPlacementStyles } from "./popper-DzBZzAe4.js";
1
+ import { i as isValidPlacement, n as getPlacement, r as getPlacementSide, t as getPlacementStyles } from "./popper-DiBKvn5U.js";
2
2
  export { getPlacement, getPlacementSide, getPlacementStyles, isValidPlacement };
@@ -1,4 +1,4 @@
1
- const require_dom_query = require("./dom-query-CQzY93XU.cjs");
1
+ const require_dom_query = require("./dom-query-BqVb9fOH.cjs");
2
2
  const require_event = require("./event-DDz-mMhM.cjs");
3
3
  //#region src/common/dom-query/press.ts
4
4
  function trackPress(options) {
@@ -1,4 +1,4 @@
1
- import { B as noop, C as isActiveElement, S as getWindow, V as pipe, p as contains } from "./dom-query-e7fh0TEH.js";
1
+ import { B as noop, C as isActiveElement, S as getWindow, V as pipe, p as contains } from "./dom-query-BT4eCYLr.js";
2
2
  import { i as getEventPoint, s as getEventTarget, t as addDomEvent } from "./event-bTItRgiw.js";
3
3
  //#region src/common/dom-query/press.ts
4
4
  function trackPress(options) {
@@ -1,6 +1,6 @@
1
- import { C as isActiveElement } from "./dom-query-e7fh0TEH.js";
1
+ import { C as isActiveElement } from "./dom-query-BT4eCYLr.js";
2
2
  import { t as addDomEvent } from "./event-bTItRgiw.js";
3
- import { a as getNextTabbable, s as getTabbableEdges } from "./tabbable-CDA1YMjZ.js";
3
+ import { a as getNextTabbable, s as getTabbableEdges } from "./tabbable-CtjHs3tH.js";
4
4
  import { i as raf } from "./raf-Dhvm7f1e.js";
5
5
  //#region src/common/dom-query/proxy-tab-focus.ts
6
6
  function proxyTabFocusImpl(container, options = {}) {
@@ -1,6 +1,6 @@
1
- const require_dom_query = require("./dom-query-CQzY93XU.cjs");
1
+ const require_dom_query = require("./dom-query-BqVb9fOH.cjs");
2
2
  const require_event = require("./event-DDz-mMhM.cjs");
3
- const require_tabbable = require("./tabbable-Bz1-1GAY.cjs");
3
+ const require_tabbable = require("./tabbable-wR_HsCMf.cjs");
4
4
  const require_raf = require("./raf-BSDcY4UD.cjs");
5
5
  //#region src/common/dom-query/proxy-tab-focus.ts
6
6
  function proxyTabFocusImpl(container, options = {}) {
@@ -1,7 +1,7 @@
1
- require("./dom-query-CQzY93XU.cjs");
2
- const require_computed_style = require("./computed-style-DLArEFNw.cjs");
1
+ require("./dom-query-BqVb9fOH.cjs");
2
+ const require_computed_style = require("./computed-style-CEY-VDcj.cjs");
3
3
  const require_platform = require("./platform-BZS-dkZN.cjs");
4
- const require_set = require("./set-DrtWCLFb.cjs");
4
+ const require_set = require("./set-BvyeSAq5.cjs");
5
5
  //#region src/common/remove-scroll/index.ts
6
6
  const LOCK_CLASSNAME = "data-scroll-lock";
7
7
  const lockMap = /* @__PURE__ */ new WeakMap();
@@ -1,7 +1,7 @@
1
- import "./dom-query-e7fh0TEH.js";
2
- import { t as getComputedStyle } from "./computed-style-B1MKlCoo.js";
1
+ import "./dom-query-BT4eCYLr.js";
2
+ import { t as getComputedStyle } from "./computed-style-ZGDOvm-2.js";
3
3
  import { u as isIos } from "./platform-BDB0wXUk.js";
4
- import { i as setStyleProperty, r as setStyle } from "./set-CFNGOW5W.js";
4
+ import { i as setStyleProperty, r as setStyle } from "./set-B2nuG8H0.js";
5
5
  //#region src/common/remove-scroll/index.ts
6
6
  const LOCK_CLASSNAME = "data-scroll-lock";
7
7
  const lockMap = /* @__PURE__ */ new WeakMap();
@@ -1,3 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_remove_scroll = require("./remove-scroll-DTVA5f4w.cjs");
2
+ const require_remove_scroll = require("./remove-scroll-CQALEaey.cjs");
3
3
  exports.preventBodyScroll = require_remove_scroll.preventBodyScroll;
@@ -1,2 +1,2 @@
1
- import { t as preventBodyScroll } from "./remove-scroll-WEheFCiq.js";
1
+ import { t as preventBodyScroll } from "./remove-scroll-bKiji9SP.js";
2
2
  export { preventBodyScroll };
@@ -1,5 +1,5 @@
1
- const require_dom_query = require("./dom-query-CQzY93XU.cjs");
2
- const require_form = require("./form-CoupKpuP.cjs");
1
+ const require_dom_query = require("./dom-query-BqVb9fOH.cjs");
2
+ const require_form = require("./form-DqBqN0Zx.cjs");
3
3
  //#region src/common/dom-query/scope.ts
4
4
  function createScope(methods) {
5
5
  const dom = {
@@ -1,5 +1,5 @@
1
- import { C as isActiveElement, g as getDocument, m as getActiveElement } from "./dom-query-e7fh0TEH.js";
2
- import { o as setElementValue } from "./form-B1DW_w_3.js";
1
+ import { C as isActiveElement, g as getDocument, m as getActiveElement } from "./dom-query-BT4eCYLr.js";
2
+ import { o as setElementValue } from "./form-DERHagMQ.js";
3
3
  //#region src/common/dom-query/scope.ts
4
4
  function createScope(methods) {
5
5
  const dom = {
@@ -1,5 +1,5 @@
1
- const require_dom_query = require("./dom-query-CQzY93XU.cjs");
2
- const require_overflow = require("./overflow-BBihfMxX.cjs");
1
+ const require_dom_query = require("./dom-query-BqVb9fOH.cjs");
2
+ const require_overflow = require("./overflow-D3seslWB.cjs");
3
3
  //#region src/common/dom-query/scroll.ts
4
4
  function isScrollable(el) {
5
5
  return el.scrollHeight > el.clientHeight || el.scrollWidth > el.clientWidth;
@@ -1,5 +1,5 @@
1
- import { S as getWindow, k as isHTMLElement } from "./dom-query-e7fh0TEH.js";
2
- import { i as isOverflowElement } from "./overflow-C-zO1CWA.js";
1
+ import { S as getWindow, k as isHTMLElement } from "./dom-query-BT4eCYLr.js";
2
+ import { i as isOverflowElement } from "./overflow-B7LrRJZW.js";
3
3
  //#region src/common/dom-query/scroll.ts
4
4
  function isScrollable(el) {
5
5
  return el.scrollHeight > el.clientHeight || el.scrollWidth > el.clientWidth;
@@ -1,5 +1,5 @@
1
- require("./dom-query-CQzY93XU.cjs");
2
- const require_computed_style = require("./computed-style-DLArEFNw.cjs");
1
+ require("./dom-query-BqVb9fOH.cjs");
2
+ const require_computed_style = require("./computed-style-CEY-VDcj.cjs");
3
3
  const require_scale = require("./scale-C7iiUGhS.cjs");
4
4
  //#region src/common/scroll-snap/index.ts
5
5
  const getDirection = (element) => require_computed_style.getComputedStyle(element).direction;
@@ -1,5 +1,5 @@
1
- import "./dom-query-e7fh0TEH.js";
2
- import { t as getComputedStyle } from "./computed-style-B1MKlCoo.js";
1
+ import "./dom-query-BT4eCYLr.js";
2
+ import { t as getComputedStyle } from "./computed-style-ZGDOvm-2.js";
3
3
  import { t as getScale } from "./scale-C5BBHVgH.js";
4
4
  //#region src/common/scroll-snap/index.ts
5
5
  const getDirection = (element) => getComputedStyle(element).direction;
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_scroll_snap = require("./scroll-snap-Cuaqdevf.cjs");
2
+ const require_scroll_snap = require("./scroll-snap-BaucP-9C.cjs");
3
3
  exports.findSnapPoint = require_scroll_snap.findSnapPoint;
4
4
  exports.getScrollSnapPositions = require_scroll_snap.getScrollSnapPositions;
5
5
  exports.getSnapPointTarget = require_scroll_snap.getSnapPointTarget;
@@ -1,2 +1,2 @@
1
- import { i as getSnapPositions, n as getScrollSnapPositions, r as getSnapPointTarget, t as findSnapPoint } from "./scroll-snap-DqMiFASa.js";
1
+ import { i as getSnapPositions, n as getScrollSnapPositions, r as getSnapPointTarget, t as findSnapPoint } from "./scroll-snap-I0eyRWRi.js";
2
2
  export { findSnapPoint, getScrollSnapPositions, getSnapPointTarget, getSnapPositions };
@@ -1,4 +1,4 @@
1
- import { B as noop } from "./dom-query-e7fh0TEH.js";
1
+ import { B as noop } from "./dom-query-BT4eCYLr.js";
2
2
  //#region src/common/dom-query/set.ts
3
3
  function setAttribute(el, attr, v) {
4
4
  const prev = el.getAttribute(attr);
@@ -1,4 +1,4 @@
1
- const require_dom_query = require("./dom-query-CQzY93XU.cjs");
1
+ const require_dom_query = require("./dom-query-BqVb9fOH.cjs");
2
2
  //#region src/common/dom-query/set.ts
3
3
  function setAttribute(el, attr, v) {
4
4
  const prev = el.getAttribute(attr);
@@ -1,4 +1,4 @@
1
- import { A as isInputElement, E as isEditableElement, O as isElementVisible, k as isHTMLElement, m as getActiveElement } from "./dom-query-e7fh0TEH.js";
1
+ import { A as isInputElement, E as isEditableElement, O as isElementVisible, k as isHTMLElement, m as getActiveElement } from "./dom-query-BT4eCYLr.js";
2
2
  //#region src/common/dom-query/tabbable.ts
3
3
  const isFrame = (el) => isHTMLElement(el) && el.tagName === "IFRAME";
4
4
  const NATURALLY_TABBABLE_REGEX = /^(audio|video|details)$/;
@@ -1,4 +1,4 @@
1
- const require_dom_query = require("./dom-query-CQzY93XU.cjs");
1
+ const require_dom_query = require("./dom-query-BqVb9fOH.cjs");
2
2
  //#region src/common/dom-query/tabbable.ts
3
3
  const isFrame = (el) => require_dom_query.isHTMLElement(el) && el.tagName === "IFRAME";
4
4
  const NATURALLY_TABBABLE_REGEX = /^(audio|video|details)$/;
@@ -1,4 +1,4 @@
1
- import { S as getWindow, g as getDocument } from "./dom-query-e7fh0TEH.js";
1
+ import { S as getWindow, g as getDocument } from "./dom-query-BT4eCYLr.js";
2
2
  //#region src/common/dom-query/wait-for.ts
3
3
  function waitForPromise(promise, controller, timeout) {
4
4
  const { signal } = controller;
@@ -1,4 +1,4 @@
1
- const require_dom_query = require("./dom-query-CQzY93XU.cjs");
1
+ const require_dom_query = require("./dom-query-BqVb9fOH.cjs");
2
2
  //#region src/common/dom-query/wait-for.ts
3
3
  function waitForPromise(promise, controller, timeout) {
4
4
  const { signal } = controller;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirekyt/dom",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Headless UI components powered by state machines for the web",
5
5
  "files": [
6
6
  "dist",
@@ -1 +0,0 @@
1
- import "./index-CF2VuDYd.js";
@@ -1 +0,0 @@
1
- import "./index-pUYD4eER.cjs";
@@ -1 +0,0 @@
1
- import "./index-CF2VuDYd.js";
@@ -1 +0,0 @@
1
- import "./index-pUYD4eER.cjs";