@sprawlify/primitives 0.0.35 → 0.0.37

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 (240) hide show
  1. package/dist/{aria-hidden-DSdN9ih2.cjs → aria-hidden-BvgZzsAL.cjs} +1 -1
  2. package/dist/{aria-hidden-Bq1drpzH.mjs → aria-hidden-wBl-ydCt.mjs} +1 -1
  3. package/dist/aria-hidden.cjs +2 -2
  4. package/dist/aria-hidden.mjs +2 -2
  5. package/dist/{auto-resize-Bh8HjZd5.cjs → auto-resize-CkKiwQYL.cjs} +1 -1
  6. package/dist/{auto-resize-DLuF3IFp.mjs → auto-resize-DVZTqSCn.mjs} +1 -1
  7. package/dist/auto-resize.cjs +2 -2
  8. package/dist/auto-resize.mjs +2 -2
  9. package/dist/{collection-C26svdLV.cjs → collection-C5tUixCe.cjs} +2 -2
  10. package/dist/{collection-CIpGDBdt.mjs → collection-C85P2ZDW.mjs} +2 -2
  11. package/dist/collection.cjs +2 -2
  12. package/dist/collection.mjs +2 -2
  13. package/dist/{color-utils-DGt9e4DC.mjs → color-utils-BUIU6o8a.mjs} +2 -2
  14. package/dist/{color-utils-ZGUFwZHm.cjs → color-utils-CLAICiIG.cjs} +2 -2
  15. package/dist/color-utils.cjs +2 -2
  16. package/dist/color-utils.mjs +2 -2
  17. package/dist/{core-BXoiGBfo.cjs → core-BKy77dr-.cjs} +2 -2
  18. package/dist/{core-BLrKf6Qi.mjs → core-C5T2xAtS.mjs} +2 -2
  19. package/dist/core.cjs +3 -3
  20. package/dist/core.mjs +3 -3
  21. package/dist/date-utils.d.cts +5 -5
  22. package/dist/{defineProperty-Bzw41Glr.mjs → defineProperty-bTDhmYM0.mjs} +4 -4
  23. package/dist/{defineProperty-CTuz_M0G.cjs → defineProperty-xA1FicUs.cjs} +4 -4
  24. package/dist/{dismissable-xKLesXM6.mjs → dismissable-DzGf_m8e.mjs} +3 -3
  25. package/dist/{dismissable-DAGPnT9O.cjs → dismissable-oSXyfI9I.cjs} +3 -3
  26. package/dist/dismissable.cjs +4 -4
  27. package/dist/dismissable.mjs +4 -4
  28. package/dist/{dom-query-BaSlGC4X.mjs → dom-query-CmBiBVLQ.mjs} +1 -1
  29. package/dist/{dom-query-fmUvyB3x.cjs → dom-query-sJjCgg-g.cjs} +1 -1
  30. package/dist/dom-query.cjs +1 -1
  31. package/dist/dom-query.mjs +1 -1
  32. package/dist/{focus-trap-9PNm7ZOS.cjs → focus-trap-BRP__9iJ.cjs} +2 -2
  33. package/dist/{focus-trap-zo20IBVh.mjs → focus-trap-C5OuWDZw.mjs} +2 -2
  34. package/dist/focus-trap.cjs +2 -2
  35. package/dist/focus-trap.mjs +2 -2
  36. package/dist/{focus-visible-BHSdwdWA.cjs → focus-visible-ZrhnzqqT.cjs} +1 -1
  37. package/dist/{focus-visible-D6iSwUgD.mjs → focus-visible-uWtBxami.mjs} +1 -1
  38. package/dist/focus-visible.cjs +2 -2
  39. package/dist/focus-visible.mjs +2 -2
  40. package/dist/hotkeys.cjs +1 -1
  41. package/dist/hotkeys.mjs +1 -1
  42. package/dist/{i18n-utils-DNxuEaJv.cjs → i18n-utils-35tI2sL_.cjs} +1 -1
  43. package/dist/{i18n-utils-BYlbN_An.mjs → i18n-utils-DsQpHwRE.mjs} +1 -1
  44. package/dist/i18n-utils.cjs +2 -2
  45. package/dist/i18n-utils.mjs +2 -2
  46. package/dist/{interact-outside-DkNMPOqV.mjs → interact-outside-DRtM9Nss.mjs} +2 -2
  47. package/dist/{interact-outside-DhVG9So9.cjs → interact-outside-mZW1FIf5.cjs} +2 -2
  48. package/dist/interact-outside.cjs +3 -3
  49. package/dist/interact-outside.mjs +3 -3
  50. package/dist/machines/accordion/index.cjs +3 -3
  51. package/dist/machines/accordion/index.d.cts +1 -1
  52. package/dist/machines/accordion/index.d.mts +1 -1
  53. package/dist/machines/accordion/index.mjs +3 -3
  54. package/dist/machines/angle-slider/index.cjs +4 -4
  55. package/dist/machines/angle-slider/index.d.cts +1 -1
  56. package/dist/machines/angle-slider/index.d.mts +1 -1
  57. package/dist/machines/angle-slider/index.mjs +4 -4
  58. package/dist/machines/async-list/index.cjs +3 -3
  59. package/dist/machines/async-list/index.mjs +3 -3
  60. package/dist/machines/avatar/index.cjs +3 -3
  61. package/dist/machines/avatar/index.mjs +3 -3
  62. package/dist/machines/bottom-sheet/index.cjs +9 -9
  63. package/dist/machines/bottom-sheet/index.d.cts +1 -1
  64. package/dist/machines/bottom-sheet/index.d.mts +1 -1
  65. package/dist/machines/bottom-sheet/index.mjs +9 -9
  66. package/dist/machines/carousel/index.cjs +4 -4
  67. package/dist/machines/carousel/index.d.cts +1 -1
  68. package/dist/machines/carousel/index.d.mts +1 -1
  69. package/dist/machines/carousel/index.mjs +4 -4
  70. package/dist/machines/checkbox/index.cjs +4 -4
  71. package/dist/machines/checkbox/index.d.cts +1 -1
  72. package/dist/machines/checkbox/index.d.mts +1 -1
  73. package/dist/machines/checkbox/index.mjs +4 -4
  74. package/dist/machines/clipboard/index.cjs +3 -3
  75. package/dist/machines/clipboard/index.d.cts +1 -1
  76. package/dist/machines/clipboard/index.d.mts +1 -1
  77. package/dist/machines/clipboard/index.mjs +3 -3
  78. package/dist/machines/collapsible/index.cjs +3 -3
  79. package/dist/machines/collapsible/index.mjs +3 -3
  80. package/dist/machines/color-picker/index.cjs +7 -7
  81. package/dist/machines/color-picker/index.d.cts +1 -1
  82. package/dist/machines/color-picker/index.d.mts +1 -1
  83. package/dist/machines/color-picker/index.mjs +7 -7
  84. package/dist/machines/combobox/index.cjs +7 -7
  85. package/dist/machines/combobox/index.d.cts +1 -1
  86. package/dist/machines/combobox/index.d.mts +1 -1
  87. package/dist/machines/combobox/index.mjs +7 -7
  88. package/dist/machines/date-picker/index.cjs +6 -6
  89. package/dist/machines/date-picker/index.d.cts +1 -1
  90. package/dist/machines/date-picker/index.d.mts +1 -1
  91. package/dist/machines/date-picker/index.mjs +6 -6
  92. package/dist/machines/dialog/index.cjs +8 -8
  93. package/dist/machines/dialog/index.d.cts +1 -1
  94. package/dist/machines/dialog/index.d.mts +1 -1
  95. package/dist/machines/dialog/index.mjs +8 -8
  96. package/dist/machines/editable/index.cjs +4 -4
  97. package/dist/machines/editable/index.d.cts +1 -1
  98. package/dist/machines/editable/index.d.mts +1 -1
  99. package/dist/machines/editable/index.mjs +4 -4
  100. package/dist/machines/file-upload/index.cjs +4 -4
  101. package/dist/machines/file-upload/index.d.cts +1 -1
  102. package/dist/machines/file-upload/index.d.mts +1 -1
  103. package/dist/machines/file-upload/index.mjs +4 -4
  104. package/dist/machines/floating-panel/index.cjs +4 -4
  105. package/dist/machines/floating-panel/index.d.cts +1 -1
  106. package/dist/machines/floating-panel/index.d.mts +1 -1
  107. package/dist/machines/floating-panel/index.mjs +4 -4
  108. package/dist/machines/hover-card/index.cjs +6 -6
  109. package/dist/machines/hover-card/index.d.cts +1 -1
  110. package/dist/machines/hover-card/index.d.mts +1 -1
  111. package/dist/machines/hover-card/index.mjs +6 -6
  112. package/dist/machines/image-cropper/index.cjs +3 -3
  113. package/dist/machines/image-cropper/index.mjs +3 -3
  114. package/dist/machines/listbox/index.cjs +5 -5
  115. package/dist/machines/listbox/index.d.cts +1 -1
  116. package/dist/machines/listbox/index.d.mts +1 -1
  117. package/dist/machines/listbox/index.mjs +5 -5
  118. package/dist/machines/marquee/index.cjs +3 -3
  119. package/dist/machines/marquee/index.d.cts +2 -2
  120. package/dist/machines/marquee/index.d.mts +2 -2
  121. package/dist/machines/marquee/index.mjs +3 -3
  122. package/dist/machines/menu/index.cjs +7 -7
  123. package/dist/machines/menu/index.d.cts +1 -1
  124. package/dist/machines/menu/index.d.mts +1 -1
  125. package/dist/machines/menu/index.mjs +7 -7
  126. package/dist/machines/navigation-menu/index.cjs +5 -5
  127. package/dist/machines/navigation-menu/index.d.cts +1 -1
  128. package/dist/machines/navigation-menu/index.d.mts +1 -1
  129. package/dist/machines/navigation-menu/index.mjs +5 -5
  130. package/dist/machines/number-input/index.cjs +3 -3
  131. package/dist/machines/number-input/index.d.cts +1 -1
  132. package/dist/machines/number-input/index.d.mts +1 -1
  133. package/dist/machines/number-input/index.mjs +3 -3
  134. package/dist/machines/pagination/index.cjs +3 -3
  135. package/dist/machines/pagination/index.mjs +3 -3
  136. package/dist/machines/password-input/index.cjs +3 -3
  137. package/dist/machines/password-input/index.d.cts +1 -1
  138. package/dist/machines/password-input/index.d.mts +1 -1
  139. package/dist/machines/password-input/index.mjs +3 -3
  140. package/dist/machines/pin-input/index.cjs +3 -3
  141. package/dist/machines/pin-input/index.d.cts +1 -1
  142. package/dist/machines/pin-input/index.d.mts +1 -1
  143. package/dist/machines/pin-input/index.mjs +3 -3
  144. package/dist/machines/popover/index.cjs +9 -9
  145. package/dist/machines/popover/index.d.cts +1 -1
  146. package/dist/machines/popover/index.d.mts +1 -1
  147. package/dist/machines/popover/index.mjs +9 -9
  148. package/dist/machines/presence/index.cjs +3 -3
  149. package/dist/machines/presence/index.mjs +3 -3
  150. package/dist/machines/progress/index.cjs +3 -3
  151. package/dist/machines/progress/index.d.cts +1 -1
  152. package/dist/machines/progress/index.d.mts +1 -1
  153. package/dist/machines/progress/index.mjs +3 -3
  154. package/dist/machines/qr-code/index.cjs +3 -3
  155. package/dist/machines/qr-code/index.mjs +3 -3
  156. package/dist/machines/radio-group/index.cjs +4 -4
  157. package/dist/machines/radio-group/index.d.cts +1 -1
  158. package/dist/machines/radio-group/index.d.mts +1 -1
  159. package/dist/machines/radio-group/index.mjs +4 -4
  160. package/dist/machines/rating-group/index.cjs +3 -3
  161. package/dist/machines/rating-group/index.d.cts +1 -1
  162. package/dist/machines/rating-group/index.d.mts +1 -1
  163. package/dist/machines/rating-group/index.mjs +3 -3
  164. package/dist/machines/scroll-area/index.cjs +4 -4
  165. package/dist/machines/scroll-area/index.mjs +4 -4
  166. package/dist/machines/select/index.cjs +7 -7
  167. package/dist/machines/select/index.d.cts +1 -1
  168. package/dist/machines/select/index.d.mts +1 -1
  169. package/dist/machines/select/index.mjs +7 -7
  170. package/dist/machines/signature-pad/index.cjs +3 -3
  171. package/dist/machines/signature-pad/index.d.cts +1 -1
  172. package/dist/machines/signature-pad/index.d.mts +1 -1
  173. package/dist/machines/signature-pad/index.mjs +3 -3
  174. package/dist/machines/slider/index.cjs +3 -3
  175. package/dist/machines/slider/index.d.cts +1 -1
  176. package/dist/machines/slider/index.d.mts +1 -1
  177. package/dist/machines/slider/index.mjs +3 -3
  178. package/dist/machines/splitter/index.cjs +3 -3
  179. package/dist/machines/splitter/index.d.cts +1 -1
  180. package/dist/machines/splitter/index.d.mts +1 -1
  181. package/dist/machines/splitter/index.mjs +3 -3
  182. package/dist/machines/steps/index.cjs +3 -3
  183. package/dist/machines/steps/index.d.cts +1 -1
  184. package/dist/machines/steps/index.d.mts +1 -1
  185. package/dist/machines/steps/index.mjs +3 -3
  186. package/dist/machines/switch/index.cjs +4 -4
  187. package/dist/machines/switch/index.d.cts +1 -1
  188. package/dist/machines/switch/index.d.mts +1 -1
  189. package/dist/machines/switch/index.mjs +4 -4
  190. package/dist/machines/tabs/index.cjs +3 -3
  191. package/dist/machines/tabs/index.d.cts +1 -1
  192. package/dist/machines/tabs/index.d.mts +1 -1
  193. package/dist/machines/tabs/index.mjs +3 -3
  194. package/dist/machines/tags-input/index.cjs +5 -5
  195. package/dist/machines/tags-input/index.d.cts +1 -1
  196. package/dist/machines/tags-input/index.d.mts +1 -1
  197. package/dist/machines/tags-input/index.mjs +5 -5
  198. package/dist/machines/timer/index.cjs +3 -3
  199. package/dist/machines/timer/index.d.cts +1 -1
  200. package/dist/machines/timer/index.d.mts +1 -1
  201. package/dist/machines/timer/index.mjs +3 -3
  202. package/dist/machines/toast/index.cjs +5 -5
  203. package/dist/machines/toast/index.d.cts +1 -1
  204. package/dist/machines/toast/index.d.mts +1 -1
  205. package/dist/machines/toast/index.mjs +5 -5
  206. package/dist/machines/toggle/index.cjs +3 -3
  207. package/dist/machines/toggle/index.mjs +3 -3
  208. package/dist/machines/toggle-group/index.cjs +3 -3
  209. package/dist/machines/toggle-group/index.mjs +3 -3
  210. package/dist/machines/tooltip/index.cjs +26 -8
  211. package/dist/machines/tooltip/index.d.cts +1 -1
  212. package/dist/machines/tooltip/index.d.mts +1 -1
  213. package/dist/machines/tooltip/index.mjs +26 -8
  214. package/dist/machines/tour/index.cjs +7 -7
  215. package/dist/machines/tour/index.d.cts +1 -1
  216. package/dist/machines/tour/index.d.mts +1 -1
  217. package/dist/machines/tour/index.mjs +7 -7
  218. package/dist/machines/tree-view/index.cjs +4 -4
  219. package/dist/machines/tree-view/index.d.cts +1 -1
  220. package/dist/machines/tree-view/index.d.mts +1 -1
  221. package/dist/machines/tree-view/index.mjs +4 -4
  222. package/dist/{popper-CasttusN.cjs → popper-CfnxH2_q.cjs} +2 -2
  223. package/dist/{popper-BN7E_8-R.mjs → popper-Ckr_W9Yk.mjs} +2 -2
  224. package/dist/popper.cjs +3 -3
  225. package/dist/popper.mjs +3 -3
  226. package/dist/{rect-utils-C6Nug-pt.mjs → rect-utils-CDBAit19.mjs} +1 -1
  227. package/dist/{rect-utils-C-9DRQNd.cjs → rect-utils-ChBPj9XR.cjs} +1 -1
  228. package/dist/rect-utils.cjs +1 -1
  229. package/dist/rect-utils.mjs +1 -1
  230. package/dist/{remove-scroll-BPLI9jr9.cjs → remove-scroll-CArAGldl.cjs} +1 -1
  231. package/dist/{remove-scroll-Btia-r68.mjs → remove-scroll-QEuUIozE.mjs} +1 -1
  232. package/dist/{scroll-snap-VzQ4ngQ4.cjs → scroll-snap-D3VaQ9z6.cjs} +1 -1
  233. package/dist/{scroll-snap-DY-Wmmhl.mjs → scroll-snap-wXfw6tha.mjs} +1 -1
  234. package/dist/scroll-snap.cjs +2 -2
  235. package/dist/scroll-snap.mjs +2 -2
  236. package/dist/{utils-CMs0714u.cjs → utils-B4_qn2dt.cjs} +5 -5
  237. package/dist/{utils-B_odTlcq.mjs → utils-DSBXwmDm.mjs} +5 -5
  238. package/dist/utils.cjs +1 -1
  239. package/dist/utils.mjs +1 -1
  240. package/package.json +1 -1
@@ -6,7 +6,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
6
6
  import { n as TypeaheadState } from "../../typeahead-DMSwLv1e.mjs";
7
7
 
8
8
  //#region src/machines/tree-view/tree-view.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemText" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "itemIndicator" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
9
+ declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "itemIndicator" | "itemText" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
10
10
  //#endregion
11
11
  //#region src/machines/tree-view/tree-view.collection.d.ts
12
12
  declare const collection: {
@@ -1,8 +1,8 @@
1
1
  import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
2
- import { U as raf, _n as ariaAttr, an as isAnchorElement, at as setElementValue, bt as isModifierKey, ft as getEventTarget, lt as getEventKey, mt as isComposingEvent, o as getByTypeahead, sn as isEditableElement, vn as dataAttr, yt as isLeftClick } from "../../dom-query-BaSlGC4X.mjs";
3
- import { At as remove, Dt as partition, Mt as toArray, Nt as uniq, _t as diff, ft as isEqual, mt as addOrRemove, nt as isArray, pt as add, t as ensure, u as createSplitProps, vt as first, wt as last } from "../../utils-B_odTlcq.mjs";
4
- import { n as filePathToTree, t as TreeCollection } from "../../collection-CIpGDBdt.mjs";
5
- import { a as createMachine, i as createGuards } from "../../core-BLrKf6Qi.mjs";
2
+ import { U as raf, _n as ariaAttr, an as isAnchorElement, at as setElementValue, bt as isModifierKey, ft as getEventTarget, lt as getEventKey, mt as isComposingEvent, o as getByTypeahead, sn as isEditableElement, vn as dataAttr, yt as isLeftClick } from "../../dom-query-CmBiBVLQ.mjs";
3
+ import { At as remove, Dt as partition, Mt as toArray, Nt as uniq, _t as diff, ft as isEqual, mt as addOrRemove, nt as isArray, pt as add, t as ensure, u as createSplitProps, vt as first, wt as last } from "../../utils-DSBXwmDm.mjs";
4
+ import { n as filePathToTree, t as TreeCollection } from "../../collection-C85P2ZDW.mjs";
5
+ import { a as createMachine, i as createGuards } from "../../core-C5T2xAtS.mjs";
6
6
  import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
7
7
 
8
8
  //#region src/machines/tree-view/tree-view.anatomy.ts
@@ -1,6 +1,6 @@
1
1
  const require_chunk = require('./chunk-CbDLau6x.cjs');
2
- const require_dom_query = require('./dom-query-fmUvyB3x.cjs');
3
- const require_utils = require('./utils-CMs0714u.cjs');
2
+ const require_dom_query = require('./dom-query-sJjCgg-g.cjs');
3
+ const require_utils = require('./utils-B4_qn2dt.cjs');
4
4
  let _floating_ui_dom = require("@floating-ui/dom");
5
5
 
6
6
  //#region src/shared/popper/get-anchor.ts
@@ -1,5 +1,5 @@
1
- import { U as raf, Yt as getComputedStyle, ln as isHTMLElement, rn as getWindow } from "./dom-query-BaSlGC4X.mjs";
2
- import { X as noop, l as compact, ot as isNull } from "./utils-B_odTlcq.mjs";
1
+ import { U as raf, Yt as getComputedStyle, ln as isHTMLElement, rn as getWindow } from "./dom-query-CmBiBVLQ.mjs";
2
+ import { X as noop, l as compact, ot as isNull } from "./utils-DSBXwmDm.mjs";
3
3
  import { arrow, autoUpdate, computePosition, flip, hide, limitShift, offset, shift, size } from "@floating-ui/dom";
4
4
 
5
5
  //#region src/shared/popper/get-anchor.ts
package/dist/popper.cjs CHANGED
@@ -1,6 +1,6 @@
1
- require('./dom-query-fmUvyB3x.cjs');
2
- require('./utils-CMs0714u.cjs');
3
- const require_popper = require('./popper-CasttusN.cjs');
1
+ require('./dom-query-sJjCgg-g.cjs');
2
+ require('./utils-B4_qn2dt.cjs');
3
+ const require_popper = require('./popper-CfnxH2_q.cjs');
4
4
 
5
5
  exports.getPlacement = require_popper.getPlacement;
6
6
  exports.getPlacementSide = require_popper.getPlacementSide;
package/dist/popper.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import "./dom-query-BaSlGC4X.mjs";
2
- import "./utils-B_odTlcq.mjs";
3
- import { i as isValidPlacement, n as getPlacement, r as getPlacementSide, t as getPlacementStyles } from "./popper-BN7E_8-R.mjs";
1
+ import "./dom-query-CmBiBVLQ.mjs";
2
+ import "./utils-DSBXwmDm.mjs";
3
+ import { i as isValidPlacement, n as getPlacement, r as getPlacementSide, t as getPlacementStyles } from "./popper-Ckr_W9Yk.mjs";
4
4
 
5
5
  export { getPlacement, getPlacementSide, getPlacementStyles, isValidPlacement };
@@ -1,4 +1,4 @@
1
- import { t as _defineProperty } from "./defineProperty-Bzw41Glr.mjs";
1
+ import { t as _defineProperty } from "./defineProperty-bTDhmYM0.mjs";
2
2
 
3
3
  //#region src/shared/rect-utils/affine-transform.ts
4
4
  var AffineTransform = class AffineTransform {
@@ -1,4 +1,4 @@
1
- const require_defineProperty = require('./defineProperty-CTuz_M0G.cjs');
1
+ const require_defineProperty = require('./defineProperty-xA1FicUs.cjs');
2
2
 
3
3
  //#region src/shared/rect-utils/affine-transform.ts
4
4
  var AffineTransform = class AffineTransform {
@@ -1,4 +1,4 @@
1
- const require_rect_utils = require('./rect-utils-C-9DRQNd.cjs');
1
+ const require_rect_utils = require('./rect-utils-ChBPj9XR.cjs');
2
2
 
3
3
  exports.AffineTransform = require_rect_utils.AffineTransform;
4
4
  exports.addPoints = require_rect_utils.addPoints;
@@ -1,3 +1,3 @@
1
- import { A as distanceBtwEdges, B as getRectCorners, C as containsPoint, D as closestSideToPoint, E as closest, F as intersects, G as clampPoint, H as isPoint, I as addPoints, J as alignRect, K as clampSize, L as createPoint, M as distanceFromRect, N as collisions, O as closestSideToRect, P as intersection, R as createRect, S as contains, T as constrainRect, U as isRect, V as getRectEdges, W as subtractPoints, Y as AffineTransform, _ as getRectFromPoints, a as expand, b as isRectEqual, c as shift, d as getWindowRect, f as getRotationRect, g as union, h as fromRange, i as isPointInPolygon, j as distanceFromPoint, k as distance, l as shrink, m as toRad, n as debugPolygon, o as inset, p as rotate, q as getPointAngle, r as getElementPolygon, s as isSymmetric, t as resizeRect, u as getViewportRect, v as getElementRect, w as containsRect, x as isSizeEqual, y as isPointEqual, z as getRectCenters } from "./rect-utils-C6Nug-pt.mjs";
1
+ import { A as distanceBtwEdges, B as getRectCorners, C as containsPoint, D as closestSideToPoint, E as closest, F as intersects, G as clampPoint, H as isPoint, I as addPoints, J as alignRect, K as clampSize, L as createPoint, M as distanceFromRect, N as collisions, O as closestSideToRect, P as intersection, R as createRect, S as contains, T as constrainRect, U as isRect, V as getRectEdges, W as subtractPoints, Y as AffineTransform, _ as getRectFromPoints, a as expand, b as isRectEqual, c as shift, d as getWindowRect, f as getRotationRect, g as union, h as fromRange, i as isPointInPolygon, j as distanceFromPoint, k as distance, l as shrink, m as toRad, n as debugPolygon, o as inset, p as rotate, q as getPointAngle, r as getElementPolygon, s as isSymmetric, t as resizeRect, u as getViewportRect, v as getElementRect, w as containsRect, x as isSizeEqual, y as isPointEqual, z as getRectCenters } from "./rect-utils-CDBAit19.mjs";
2
2
 
3
3
  export { AffineTransform, addPoints, alignRect, clampPoint, clampSize, closest, closestSideToPoint, closestSideToRect, collisions, constrainRect, contains, containsPoint, containsRect, createPoint, createRect, debugPolygon, distance, distanceBtwEdges, distanceFromPoint, distanceFromRect, expand, fromRange, getElementPolygon, getElementRect, getPointAngle, getRectCenters, getRectCorners, getRectEdges, getRectFromPoints, getRotationRect, getViewportRect, getWindowRect, inset, intersection, intersects, isPoint, isPointEqual, isPointInPolygon, isRect, isRectEqual, isSizeEqual, isSymmetric, resizeRect, rotate, shift, shrink, subtractPoints, toRad, union };
@@ -1,4 +1,4 @@
1
- const require_dom_query = require('./dom-query-fmUvyB3x.cjs');
1
+ const require_dom_query = require('./dom-query-sJjCgg-g.cjs');
2
2
 
3
3
  //#region src/shared/remove-scroll/index.ts
4
4
  const LOCK_CLASSNAME = "data-scroll-lock";
@@ -1,4 +1,4 @@
1
- import { It as isIos, Yt as getComputedStyle, l as setStyle, u as setStyleProperty } from "./dom-query-BaSlGC4X.mjs";
1
+ import { It as isIos, Yt as getComputedStyle, l as setStyle, u as setStyleProperty } from "./dom-query-CmBiBVLQ.mjs";
2
2
 
3
3
  //#region src/shared/remove-scroll/index.ts
4
4
  const LOCK_CLASSNAME = "data-scroll-lock";
@@ -1,4 +1,4 @@
1
- const require_dom_query = require('./dom-query-fmUvyB3x.cjs');
1
+ const require_dom_query = require('./dom-query-sJjCgg-g.cjs');
2
2
 
3
3
  //#region src/shared/scroll-snap/index.ts
4
4
  const getDirection = (element) => require_dom_query.getComputedStyle(element).direction;
@@ -1,4 +1,4 @@
1
- import { Yt as getComputedStyle } from "./dom-query-BaSlGC4X.mjs";
1
+ import { Yt as getComputedStyle } from "./dom-query-CmBiBVLQ.mjs";
2
2
 
3
3
  //#region src/shared/scroll-snap/index.ts
4
4
  const getDirection = (element) => getComputedStyle(element).direction;
@@ -1,5 +1,5 @@
1
- require('./dom-query-fmUvyB3x.cjs');
2
- const require_scroll_snap = require('./scroll-snap-VzQ4ngQ4.cjs');
1
+ require('./dom-query-sJjCgg-g.cjs');
2
+ const require_scroll_snap = require('./scroll-snap-D3VaQ9z6.cjs');
3
3
 
4
4
  exports.findSnapPoint = require_scroll_snap.findSnapPoint;
5
5
  exports.getScrollSnapPositions = require_scroll_snap.getScrollSnapPositions;
@@ -1,4 +1,4 @@
1
- import "./dom-query-BaSlGC4X.mjs";
2
- import { i as getSnapPositions, n as getScrollSnapPositions, r as getSnapPointTarget, t as findSnapPoint } from "./scroll-snap-DY-Wmmhl.mjs";
1
+ import "./dom-query-CmBiBVLQ.mjs";
2
+ import { i as getSnapPositions, n as getScrollSnapPositions, r as getSnapPointTarget, t as findSnapPoint } from "./scroll-snap-wXfw6tha.mjs";
3
3
 
4
4
  export { findSnapPoint, getScrollSnapPositions, getSnapPointTarget, getSnapPositions };
@@ -1,4 +1,4 @@
1
- const require_defineProperty = require('./defineProperty-CTuz_M0G.cjs');
1
+ const require_defineProperty = require('./defineProperty-xA1FicUs.cjs');
2
2
 
3
3
  //#region src/shared/utils/array.ts
4
4
  function toArray(v) {
@@ -409,26 +409,26 @@ function createStore(initialState, compare = Object.is) {
409
409
  }
410
410
 
411
411
  //#endregion
412
- //#region \0@oxc-project+runtime@0.103.0/helpers/checkPrivateRedeclaration.js
412
+ //#region \0@oxc-project+runtime@0.107.0/helpers/checkPrivateRedeclaration.js
413
413
  function _checkPrivateRedeclaration(e, t) {
414
414
  if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
415
415
  }
416
416
 
417
417
  //#endregion
418
- //#region \0@oxc-project+runtime@0.103.0/helpers/classPrivateFieldInitSpec.js
418
+ //#region \0@oxc-project+runtime@0.107.0/helpers/classPrivateFieldInitSpec.js
419
419
  function _classPrivateFieldInitSpec(e, t, a) {
420
420
  _checkPrivateRedeclaration(e, t), t.set(e, a);
421
421
  }
422
422
 
423
423
  //#endregion
424
- //#region \0@oxc-project+runtime@0.103.0/helpers/assertClassBrand.js
424
+ //#region \0@oxc-project+runtime@0.107.0/helpers/assertClassBrand.js
425
425
  function _assertClassBrand(e, t, n) {
426
426
  if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
427
427
  throw new TypeError("Private element is not present on this object");
428
428
  }
429
429
 
430
430
  //#endregion
431
- //#region \0@oxc-project+runtime@0.103.0/helpers/classPrivateFieldGet2.js
431
+ //#region \0@oxc-project+runtime@0.107.0/helpers/classPrivateFieldGet2.js
432
432
  function _classPrivateFieldGet2(s, a) {
433
433
  return s.get(_assertClassBrand(s, a));
434
434
  }
@@ -1,4 +1,4 @@
1
- import { t as _defineProperty } from "./defineProperty-Bzw41Glr.mjs";
1
+ import { t as _defineProperty } from "./defineProperty-bTDhmYM0.mjs";
2
2
 
3
3
  //#region src/shared/utils/array.ts
4
4
  function toArray(v) {
@@ -409,26 +409,26 @@ function createStore(initialState, compare = Object.is) {
409
409
  }
410
410
 
411
411
  //#endregion
412
- //#region \0@oxc-project+runtime@0.103.0/helpers/checkPrivateRedeclaration.js
412
+ //#region \0@oxc-project+runtime@0.107.0/helpers/checkPrivateRedeclaration.js
413
413
  function _checkPrivateRedeclaration(e, t) {
414
414
  if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
415
415
  }
416
416
 
417
417
  //#endregion
418
- //#region \0@oxc-project+runtime@0.103.0/helpers/classPrivateFieldInitSpec.js
418
+ //#region \0@oxc-project+runtime@0.107.0/helpers/classPrivateFieldInitSpec.js
419
419
  function _classPrivateFieldInitSpec(e, t, a) {
420
420
  _checkPrivateRedeclaration(e, t), t.set(e, a);
421
421
  }
422
422
 
423
423
  //#endregion
424
- //#region \0@oxc-project+runtime@0.103.0/helpers/assertClassBrand.js
424
+ //#region \0@oxc-project+runtime@0.107.0/helpers/assertClassBrand.js
425
425
  function _assertClassBrand(e, t, n) {
426
426
  if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
427
427
  throw new TypeError("Private element is not present on this object");
428
428
  }
429
429
 
430
430
  //#endregion
431
- //#region \0@oxc-project+runtime@0.103.0/helpers/classPrivateFieldGet2.js
431
+ //#region \0@oxc-project+runtime@0.107.0/helpers/classPrivateFieldGet2.js
432
432
  function _classPrivateFieldGet2(s, a) {
433
433
  return s.get(_assertClassBrand(s, a));
434
434
  }
package/dist/utils.cjs CHANGED
@@ -1,4 +1,4 @@
1
- const require_utils = require('./utils-CMs0714u.cjs');
1
+ const require_utils = require('./utils-B4_qn2dt.cjs');
2
2
 
3
3
  exports.Timer = require_utils.Timer;
4
4
  exports.add = require_utils.add;
package/dist/utils.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { $ as tryCatch, A as isNaN, At as remove, B as snapValueToStep, C as getPercentValue, Ct as isEmpty, D as getValueSetterAtIndex, Dt as partition, E as getValueRanges, Et as nextIndex, F as nan, G as cast, H as toPx, I as roundToDpr, J as identity, K as debounce, L as roundToStepPrecision, M as isValueAtMin, Mt as toArray, N as isValueWithinRange, Nt as uniq, O as getValueTransformer, Ot as prev, P as mod, Q as throttle, R as roundValue, S as getNextStepValue, St as insertAt, T as getValuePercent, Tt as next, U as wrap, V as toFixedNumber, W as callAll, X as noop, Y as match, Z as runIfFn, _ as decrementValue, _t as diff, a as Timer, at as isFunction, b as getMaxValueAtIndex, bt as fromLength, c as createStore, ct as isObject, d as json, dt as isString, et as uuid, f as omit, ft as isEqual, g as clampValue, gt as clear, h as clampPercent, ht as chunk, i as warn, it as isDev, j as isValueAtMax, jt as removeAt, k as incrementValue, kt as prevIndex, l as compact, lt as isObjectLike, m as splitProps, mt as addOrRemove, n as ensureProps, nt as isArray, o as setRafInterval, ot as isNull, p as pick, pt as add, q as hash, r as invariant, rt as isBoolean, s as setRafTimeout, st as isNumber, t as ensure, tt as hasProp, u as createSplitProps, ut as isPlainObject, v as getClosestValue, vt as first, w as getPreviousStepValue, wt as last, x as getMinValueAtIndex, xt as has, y as getClosestValueIndex, yt as flatArray, z as setValueAtIndex } from "./utils-B_odTlcq.mjs";
1
+ import { $ as tryCatch, A as isNaN, At as remove, B as snapValueToStep, C as getPercentValue, Ct as isEmpty, D as getValueSetterAtIndex, Dt as partition, E as getValueRanges, Et as nextIndex, F as nan, G as cast, H as toPx, I as roundToDpr, J as identity, K as debounce, L as roundToStepPrecision, M as isValueAtMin, Mt as toArray, N as isValueWithinRange, Nt as uniq, O as getValueTransformer, Ot as prev, P as mod, Q as throttle, R as roundValue, S as getNextStepValue, St as insertAt, T as getValuePercent, Tt as next, U as wrap, V as toFixedNumber, W as callAll, X as noop, Y as match, Z as runIfFn, _ as decrementValue, _t as diff, a as Timer, at as isFunction, b as getMaxValueAtIndex, bt as fromLength, c as createStore, ct as isObject, d as json, dt as isString, et as uuid, f as omit, ft as isEqual, g as clampValue, gt as clear, h as clampPercent, ht as chunk, i as warn, it as isDev, j as isValueAtMax, jt as removeAt, k as incrementValue, kt as prevIndex, l as compact, lt as isObjectLike, m as splitProps, mt as addOrRemove, n as ensureProps, nt as isArray, o as setRafInterval, ot as isNull, p as pick, pt as add, q as hash, r as invariant, rt as isBoolean, s as setRafTimeout, st as isNumber, t as ensure, tt as hasProp, u as createSplitProps, ut as isPlainObject, v as getClosestValue, vt as first, w as getPreviousStepValue, wt as last, x as getMinValueAtIndex, xt as has, y as getClosestValueIndex, yt as flatArray, z as setValueAtIndex } from "./utils-DSBXwmDm.mjs";
2
2
 
3
3
  export { Timer, add, addOrRemove, callAll, cast, chunk, clampPercent, clampValue, clear, compact, createSplitProps, createStore, debounce, decrementValue, diff, ensure, ensureProps, first, flatArray, fromLength, getClosestValue, getClosestValueIndex, getMaxValueAtIndex, getMinValueAtIndex, getNextStepValue, getPercentValue, getPreviousStepValue, getValuePercent, getValueRanges, getValueSetterAtIndex, getValueTransformer, has, hasProp, hash, identity, incrementValue, insertAt, invariant, isArray, isBoolean, isDev, isEmpty, isEqual, isFunction, isNaN, isNull, isNumber, isObject, isObjectLike, isPlainObject, isString, isValueAtMax, isValueAtMin, isValueWithinRange, json, last, match, mod, nan, next, nextIndex, noop, omit, partition, pick, prev, prevIndex, remove, removeAt, roundToDpr, roundToStepPrecision, roundValue, runIfFn, setRafInterval, setRafTimeout, setValueAtIndex, snapValueToStep, splitProps, throttle, toArray, toFixedNumber, toPx, tryCatch, uniq, uuid, warn, wrap };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sprawlify/primitives",
3
- "version": "0.0.35",
3
+ "version": "0.0.37",
4
4
  "type": "module",
5
5
  "description": "A set of primitive components for building user interfaces.",
6
6
  "author": "sprawlify <npm@sprawlify.com>",