@sprawlify/primitives 0.0.97 → 0.0.99

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 (231) hide show
  1. package/dist/{aria-hidden-UJAPt1aA.cjs → aria-hidden-BAGrxNHt.cjs} +1 -1
  2. package/dist/{aria-hidden-P3kaF8gG.mjs → aria-hidden-BX4SWNE_.mjs} +1 -1
  3. package/dist/aria-hidden.cjs +2 -2
  4. package/dist/aria-hidden.mjs +2 -2
  5. package/dist/{auto-resize-DzPXdyR-.cjs → auto-resize-B1BDDnp1.cjs} +1 -1
  6. package/dist/{auto-resize-Bjzuo5Lh.mjs → auto-resize-CN2vAzdj.mjs} +1 -1
  7. package/dist/auto-resize.cjs +2 -2
  8. package/dist/auto-resize.mjs +2 -2
  9. package/dist/{collection-DZeodezM.cjs → collection-BBgC8xCb.cjs} +22 -7
  10. package/dist/{collection-CcsrqDFY.mjs → collection-DgzidRvr.mjs} +22 -7
  11. package/dist/collection.cjs +1 -1
  12. package/dist/collection.d.cts +3 -3
  13. package/dist/collection.d.mts +3 -3
  14. package/dist/collection.mjs +1 -1
  15. package/dist/{core-DfVajPnu.mjs → core-BmIEKqtP.mjs} +1 -1
  16. package/dist/{core-BiGlJ-4W.cjs → core-nBg9RC_y.cjs} +1 -1
  17. package/dist/core.cjs +2 -2
  18. package/dist/core.mjs +2 -2
  19. package/dist/{dismissable-DPXx0m0m.cjs → dismissable-ChwcJMHk.cjs} +2 -2
  20. package/dist/{dismissable-BAYaXwxZ.mjs → dismissable-DWfZGIA7.mjs} +2 -2
  21. package/dist/dismissable.cjs +3 -3
  22. package/dist/dismissable.mjs +3 -3
  23. package/dist/{dom-query-6Wt-Tikf.cjs → dom-query-Bd63cRVF.cjs} +26 -6
  24. package/dist/{dom-query-dX8Dakb4.mjs → dom-query-s2ESLR2U.mjs} +15 -7
  25. package/dist/dom-query.cjs +3 -1
  26. package/dist/dom-query.d.cts +7 -1
  27. package/dist/dom-query.d.mts +7 -1
  28. package/dist/dom-query.mjs +2 -2
  29. package/dist/{focus-trap-Cd09JaUn.mjs → focus-trap-DzBvBlTH.mjs} +1 -1
  30. package/dist/{focus-trap-ClCNF7kY.cjs → focus-trap-fucc6OU_.cjs} +1 -1
  31. package/dist/focus-trap.cjs +2 -2
  32. package/dist/focus-trap.mjs +2 -2
  33. package/dist/{focus-visible-CqHoOOjw.cjs → focus-visible-75XTctXf.cjs} +1 -1
  34. package/dist/{focus-visible-CSuBQ5QZ.mjs → focus-visible-D5qBaAOn.mjs} +1 -1
  35. package/dist/focus-visible.cjs +2 -2
  36. package/dist/focus-visible.mjs +2 -2
  37. package/dist/{i18n-utils-Dm8cGCol.cjs → i18n-utils-DB-lUfrr.cjs} +58 -1
  38. package/dist/{i18n-utils-DHGN_KCY.mjs → i18n-utils-oWZyUib_.mjs} +53 -2
  39. package/dist/i18n-utils.cjs +3 -2
  40. package/dist/i18n-utils.d.cts +14 -1
  41. package/dist/i18n-utils.d.mts +14 -1
  42. package/dist/i18n-utils.mjs +3 -3
  43. package/dist/{interact-outside-C-8lOhpV.mjs → interact-outside-2qkUnl4N.mjs} +1 -1
  44. package/dist/{interact-outside-DRaFGdMg.cjs → interact-outside-Cx4J0EBf.cjs} +1 -1
  45. package/dist/interact-outside.cjs +2 -2
  46. package/dist/interact-outside.mjs +2 -2
  47. package/dist/{list-collection-B_8BN0XB.d.cts → list-collection-Cjgbx_9l.d.cts} +1 -1
  48. package/dist/{list-collection-DkRA5LOq.d.mts → list-collection-IF510iNl.d.mts} +1 -1
  49. package/dist/machines/accordion/index.cjs +2 -2
  50. package/dist/machines/accordion/index.mjs +2 -2
  51. package/dist/machines/angle-slider/index.cjs +2 -2
  52. package/dist/machines/angle-slider/index.d.cts +1 -1
  53. package/dist/machines/angle-slider/index.d.mts +1 -1
  54. package/dist/machines/angle-slider/index.mjs +2 -2
  55. package/dist/machines/aspect-ratio/index.cjs +2 -2
  56. package/dist/machines/aspect-ratio/index.mjs +2 -2
  57. package/dist/machines/async-list/index.cjs +2 -2
  58. package/dist/machines/async-list/index.mjs +2 -2
  59. package/dist/machines/avatar/index.cjs +2 -2
  60. package/dist/machines/avatar/index.mjs +2 -2
  61. package/dist/machines/bottom-sheet/index.cjs +7 -7
  62. package/dist/machines/bottom-sheet/index.d.cts +1 -1
  63. package/dist/machines/bottom-sheet/index.d.mts +1 -1
  64. package/dist/machines/bottom-sheet/index.mjs +7 -7
  65. package/dist/machines/carousel/index.cjs +3 -3
  66. package/dist/machines/carousel/index.d.cts +1 -1
  67. package/dist/machines/carousel/index.d.mts +1 -1
  68. package/dist/machines/carousel/index.mjs +3 -3
  69. package/dist/machines/cascade-select/index.cjs +1367 -0
  70. package/dist/machines/cascade-select/index.d.cts +164 -0
  71. package/dist/machines/cascade-select/index.d.mts +164 -0
  72. package/dist/machines/cascade-select/index.mjs +1360 -0
  73. package/dist/machines/checkbox/index.cjs +3 -3
  74. package/dist/machines/checkbox/index.mjs +3 -3
  75. package/dist/machines/clipboard/index.cjs +2 -2
  76. package/dist/machines/clipboard/index.d.cts +1 -1
  77. package/dist/machines/clipboard/index.d.mts +1 -1
  78. package/dist/machines/clipboard/index.mjs +2 -2
  79. package/dist/machines/collapsible/index.cjs +2 -2
  80. package/dist/machines/collapsible/index.d.cts +1 -1
  81. package/dist/machines/collapsible/index.d.mts +1 -1
  82. package/dist/machines/collapsible/index.mjs +2 -2
  83. package/dist/machines/color-picker/index.cjs +5 -5
  84. package/dist/machines/color-picker/index.d.cts +1 -1
  85. package/dist/machines/color-picker/index.d.mts +1 -1
  86. package/dist/machines/color-picker/index.mjs +5 -5
  87. package/dist/machines/combobox/index.cjs +7 -7
  88. package/dist/machines/combobox/index.d.cts +2 -2
  89. package/dist/machines/combobox/index.d.mts +2 -2
  90. package/dist/machines/combobox/index.mjs +7 -7
  91. package/dist/machines/date-picker/index.cjs +52 -16
  92. package/dist/machines/date-picker/index.d.cts +1 -1
  93. package/dist/machines/date-picker/index.d.mts +1 -1
  94. package/dist/machines/date-picker/index.mjs +53 -17
  95. package/dist/machines/dialog/index.cjs +7 -7
  96. package/dist/machines/dialog/index.d.cts +1 -1
  97. package/dist/machines/dialog/index.d.mts +1 -1
  98. package/dist/machines/dialog/index.mjs +7 -7
  99. package/dist/machines/dropdown-menu/index.cjs +5 -5
  100. package/dist/machines/dropdown-menu/index.d.cts +1 -1
  101. package/dist/machines/dropdown-menu/index.d.mts +1 -1
  102. package/dist/machines/dropdown-menu/index.mjs +5 -5
  103. package/dist/machines/editable/index.cjs +3 -3
  104. package/dist/machines/editable/index.d.cts +1 -1
  105. package/dist/machines/editable/index.d.mts +1 -1
  106. package/dist/machines/editable/index.mjs +3 -3
  107. package/dist/machines/file-upload/index.cjs +3 -3
  108. package/dist/machines/file-upload/index.d.cts +1 -1
  109. package/dist/machines/file-upload/index.d.mts +1 -1
  110. package/dist/machines/file-upload/index.mjs +3 -3
  111. package/dist/machines/floating-panel/index.cjs +2 -2
  112. package/dist/machines/floating-panel/index.d.cts +1 -1
  113. package/dist/machines/floating-panel/index.d.mts +1 -1
  114. package/dist/machines/floating-panel/index.mjs +2 -2
  115. package/dist/machines/hover-card/index.cjs +5 -5
  116. package/dist/machines/hover-card/index.d.cts +1 -1
  117. package/dist/machines/hover-card/index.d.mts +1 -1
  118. package/dist/machines/hover-card/index.mjs +5 -5
  119. package/dist/machines/image-cropper/index.cjs +2 -2
  120. package/dist/machines/image-cropper/index.mjs +2 -2
  121. package/dist/machines/listbox/index.cjs +4 -4
  122. package/dist/machines/listbox/index.d.cts +3 -3
  123. package/dist/machines/listbox/index.d.mts +3 -3
  124. package/dist/machines/listbox/index.mjs +4 -4
  125. package/dist/machines/marquee/index.cjs +2 -2
  126. package/dist/machines/marquee/index.d.cts +2 -2
  127. package/dist/machines/marquee/index.d.mts +2 -2
  128. package/dist/machines/marquee/index.mjs +2 -2
  129. package/dist/machines/navigation-menu/index.cjs +4 -4
  130. package/dist/machines/navigation-menu/index.d.cts +1 -1
  131. package/dist/machines/navigation-menu/index.d.mts +1 -1
  132. package/dist/machines/navigation-menu/index.mjs +4 -4
  133. package/dist/machines/number-input/index.cjs +2 -2
  134. package/dist/machines/number-input/index.d.cts +1 -1
  135. package/dist/machines/number-input/index.d.mts +1 -1
  136. package/dist/machines/number-input/index.mjs +2 -2
  137. package/dist/machines/pagination/index.cjs +2 -2
  138. package/dist/machines/pagination/index.mjs +2 -2
  139. package/dist/machines/password-input/index.cjs +2 -2
  140. package/dist/machines/password-input/index.d.cts +1 -1
  141. package/dist/machines/password-input/index.d.mts +1 -1
  142. package/dist/machines/password-input/index.mjs +2 -2
  143. package/dist/machines/pin-input/index.cjs +2 -2
  144. package/dist/machines/pin-input/index.d.cts +1 -1
  145. package/dist/machines/pin-input/index.d.mts +1 -1
  146. package/dist/machines/pin-input/index.mjs +2 -2
  147. package/dist/machines/popover/index.cjs +8 -8
  148. package/dist/machines/popover/index.d.cts +1 -1
  149. package/dist/machines/popover/index.d.mts +1 -1
  150. package/dist/machines/popover/index.mjs +8 -8
  151. package/dist/machines/presence/index.cjs +2 -2
  152. package/dist/machines/presence/index.mjs +2 -2
  153. package/dist/machines/progress/index.cjs +2 -2
  154. package/dist/machines/progress/index.d.cts +1 -1
  155. package/dist/machines/progress/index.d.mts +1 -1
  156. package/dist/machines/progress/index.mjs +2 -2
  157. package/dist/machines/qr-code/index.cjs +2 -2
  158. package/dist/machines/qr-code/index.mjs +2 -2
  159. package/dist/machines/radio-group/index.cjs +3 -3
  160. package/dist/machines/radio-group/index.mjs +3 -3
  161. package/dist/machines/rating-group/index.cjs +2 -2
  162. package/dist/machines/rating-group/index.mjs +2 -2
  163. package/dist/machines/scroll-area/index.cjs +2 -2
  164. package/dist/machines/scroll-area/index.mjs +2 -2
  165. package/dist/machines/select/index.cjs +23 -9
  166. package/dist/machines/select/index.d.cts +3 -2
  167. package/dist/machines/select/index.d.mts +3 -2
  168. package/dist/machines/select/index.mjs +23 -9
  169. package/dist/machines/separator/index.cjs +2 -2
  170. package/dist/machines/separator/index.mjs +2 -2
  171. package/dist/machines/signature-pad/index.cjs +2 -2
  172. package/dist/machines/signature-pad/index.mjs +2 -2
  173. package/dist/machines/slider/index.cjs +2 -2
  174. package/dist/machines/slider/index.d.cts +1 -1
  175. package/dist/machines/slider/index.d.mts +1 -1
  176. package/dist/machines/slider/index.mjs +2 -2
  177. package/dist/machines/splitter/index.cjs +2 -2
  178. package/dist/machines/splitter/index.mjs +2 -2
  179. package/dist/machines/steps/index.cjs +2 -2
  180. package/dist/machines/steps/index.d.cts +1 -1
  181. package/dist/machines/steps/index.d.mts +1 -1
  182. package/dist/machines/steps/index.mjs +2 -2
  183. package/dist/machines/switch/index.cjs +3 -3
  184. package/dist/machines/switch/index.mjs +3 -3
  185. package/dist/machines/tabs/index.cjs +2 -2
  186. package/dist/machines/tabs/index.d.cts +1 -1
  187. package/dist/machines/tabs/index.d.mts +1 -1
  188. package/dist/machines/tabs/index.mjs +2 -2
  189. package/dist/machines/tags-input/index.cjs +4 -4
  190. package/dist/machines/tags-input/index.d.cts +1 -1
  191. package/dist/machines/tags-input/index.d.mts +1 -1
  192. package/dist/machines/tags-input/index.mjs +4 -4
  193. package/dist/machines/timer/index.cjs +2 -2
  194. package/dist/machines/timer/index.d.cts +1 -1
  195. package/dist/machines/timer/index.d.mts +1 -1
  196. package/dist/machines/timer/index.mjs +2 -2
  197. package/dist/machines/toast/index.cjs +4 -4
  198. package/dist/machines/toast/index.d.cts +1 -1
  199. package/dist/machines/toast/index.d.mts +1 -1
  200. package/dist/machines/toast/index.mjs +4 -4
  201. package/dist/machines/toggle/index.cjs +2 -2
  202. package/dist/machines/toggle/index.mjs +2 -2
  203. package/dist/machines/toggle-group/index.cjs +2 -2
  204. package/dist/machines/toggle-group/index.mjs +2 -2
  205. package/dist/machines/tooltip/index.cjs +4 -4
  206. package/dist/machines/tooltip/index.d.cts +1 -1
  207. package/dist/machines/tooltip/index.d.mts +1 -1
  208. package/dist/machines/tooltip/index.mjs +4 -4
  209. package/dist/machines/tour/index.cjs +6 -6
  210. package/dist/machines/tour/index.d.cts +1 -1
  211. package/dist/machines/tour/index.d.mts +1 -1
  212. package/dist/machines/tour/index.mjs +6 -6
  213. package/dist/machines/tree-view/index.cjs +3 -3
  214. package/dist/machines/tree-view/index.d.cts +2 -2
  215. package/dist/machines/tree-view/index.d.mts +2 -2
  216. package/dist/machines/tree-view/index.mjs +3 -3
  217. package/dist/{popper-CfOHZlHP.mjs → popper-3Bdh0pfy.mjs} +1 -1
  218. package/dist/{popper-zq1F_iY8.cjs → popper-Bca_O70s.cjs} +1 -1
  219. package/dist/popper.cjs +2 -2
  220. package/dist/popper.mjs +2 -2
  221. package/dist/{remove-scroll-B8AJyezV.cjs → remove-scroll-D9FAOapi.cjs} +1 -1
  222. package/dist/{remove-scroll-DCUb1JPX.mjs → remove-scroll-HcSiTbd5.mjs} +1 -1
  223. package/dist/{scroll-snap-De0H9CWU.mjs → scroll-snap-DfSwN3As.mjs} +1 -1
  224. package/dist/{scroll-snap-voc0pMJd.cjs → scroll-snap-Dp_2adEa.cjs} +1 -1
  225. package/dist/scroll-snap.cjs +2 -2
  226. package/dist/scroll-snap.mjs +2 -2
  227. package/dist/{selection-DdNvrKbj.d.mts → selection-6urf-c8j.d.mts} +1 -1
  228. package/dist/{selection-Bb_ZSVxe.d.cts → selection-BmS2RDMq.d.cts} +1 -1
  229. package/dist/{tree-collection-DlBCued7.d.mts → tree-collection-Dlf9EUrT.d.mts} +2 -1
  230. package/dist/{tree-collection-DjtppzYh.d.cts → tree-collection-DlqV5kYO.d.cts} +2 -1
  231. package/package.json +11 -1
@@ -1,12 +1,12 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
2
2
  import { f as TreeCollectionOptions, g as ValuePath, p as TreeNode, s as FilePathTreeNode, u as IndexPath } from "../../types-D-7AMgSE.cjs";
3
- import { t as TreeCollection } from "../../tree-collection-DjtppzYh.cjs";
3
+ import { t as TreeCollection } from "../../tree-collection-DlqV5kYO.cjs";
4
4
  import { p as Machine, y as Service } from "../../types-B24gMTKq.cjs";
5
5
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
6
6
  import { n as TypeaheadState } from "../../typeahead-DMooWbbX.cjs";
7
7
 
8
8
  //#region src/machines/tree-view/tree-view.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemIndicator" | "tree" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "itemText" | "nodeCheckbox" | "nodeRenameInput">;
9
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemIndicator" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "itemText" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
10
10
  //#endregion
11
11
  //#region src/machines/tree-view/tree-view.collection.d.ts
12
12
  declare const collection: {
@@ -1,12 +1,12 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
2
2
  import { f as TreeCollectionOptions, g as ValuePath, p as TreeNode, s as FilePathTreeNode, u as IndexPath } from "../../types-9uw8LHpE.mjs";
3
- import { t as TreeCollection } from "../../tree-collection-DlBCued7.mjs";
3
+ import { t as TreeCollection } from "../../tree-collection-Dlf9EUrT.mjs";
4
4
  import { p as Machine, y as Service } from "../../types-DUM9rzfD.mjs";
5
5
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
6
6
  import { n as TypeaheadState } from "../../typeahead-Bbeb1fAR.mjs";
7
7
 
8
8
  //#region src/machines/tree-view/tree-view.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemIndicator" | "tree" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "itemText" | "nodeCheckbox" | "nodeRenameInput">;
9
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemIndicator" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "itemText" | "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-Dr0evdYy.mjs";
2
- import { W as raf, bt as isLeftClick, cn as isEditableElement, ht as isComposingEvent, on as isAnchorElement, ot as setElementValue, pt as getEventTarget, s as getByTypeahead, ut as getEventKey, vn as ariaAttr, xt as isModifierKey, yn as dataAttr } from "../../dom-query-dX8Dakb4.mjs";
2
+ import { Ct as isModifierKey, St as isLeftClick, W as raf, _t as isComposingEvent, bn as ariaAttr, cn as isAnchorElement, ct as setElementValue, ft as getEventKey, ht as getEventTarget, s as getByTypeahead, un as isEditableElement, xn as dataAttr } from "../../dom-query-s2ESLR2U.mjs";
3
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-VVoZ_v29.mjs";
4
- import { n as filePathToTree, t as TreeCollection } from "../../collection-CcsrqDFY.mjs";
5
- import { a as createMachine, i as createGuards } from "../../core-DfVajPnu.mjs";
4
+ import { n as filePathToTree, t as TreeCollection } from "../../collection-DgzidRvr.mjs";
5
+ import { a as createMachine, i as createGuards } from "../../core-BmIEKqtP.mjs";
6
6
  import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
7
7
  //#region src/machines/tree-view/tree-view.anatomy.ts
8
8
  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 { W as raf, Xt as getComputedStyle, in as getWindow, un as isHTMLElement } from "./dom-query-dX8Dakb4.mjs";
1
+ import { Qt as getComputedStyle, W as raf, fn as isHTMLElement, on as getWindow } from "./dom-query-s2ESLR2U.mjs";
2
2
  import { X as noop, l as compact, ot as isNull } from "./utils-VVoZ_v29.mjs";
3
3
  import { arrow, autoUpdate, computePosition, flip, hide, limitShift, offset, shift, size } from "@floating-ui/dom";
4
4
  //#region src/shared/popper/get-anchor.ts
@@ -1,5 +1,5 @@
1
1
  require("./chunk-CKQMccvm.cjs");
2
- const require_dom_query = require("./dom-query-6Wt-Tikf.cjs");
2
+ const require_dom_query = require("./dom-query-Bd63cRVF.cjs");
3
3
  const require_utils = require("./utils-ByNiZU8f.cjs");
4
4
  let _floating_ui_dom = require("@floating-ui/dom");
5
5
  //#region src/shared/popper/get-anchor.ts
package/dist/popper.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("./dom-query-6Wt-Tikf.cjs");
2
+ require("./dom-query-Bd63cRVF.cjs");
3
3
  require("./utils-ByNiZU8f.cjs");
4
- const require_popper = require("./popper-zq1F_iY8.cjs");
4
+ const require_popper = require("./popper-Bca_O70s.cjs");
5
5
  exports.getPlacement = require_popper.getPlacement;
6
6
  exports.getPlacementSide = require_popper.getPlacementSide;
7
7
  exports.getPlacementStyles = require_popper.getPlacementStyles;
package/dist/popper.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import "./dom-query-dX8Dakb4.mjs";
1
+ import "./dom-query-s2ESLR2U.mjs";
2
2
  import "./utils-VVoZ_v29.mjs";
3
- import { i as isValidPlacement, n as getPlacement, r as getPlacementSide, t as getPlacementStyles } from "./popper-CfOHZlHP.mjs";
3
+ import { i as isValidPlacement, n as getPlacement, r as getPlacementSide, t as getPlacementStyles } from "./popper-3Bdh0pfy.mjs";
4
4
  export { getPlacement, getPlacementSide, getPlacementStyles, isValidPlacement };
@@ -1,4 +1,4 @@
1
- const require_dom_query = require("./dom-query-6Wt-Tikf.cjs");
1
+ const require_dom_query = require("./dom-query-Bd63cRVF.cjs");
2
2
  //#region src/shared/remove-scroll/index.ts
3
3
  const LOCK_CLASSNAME = "data-scroll-lock";
4
4
  function getPaddingProperty(documentElement) {
@@ -1,4 +1,4 @@
1
- import { Lt as isIos, Xt as getComputedStyle, d as setStyleProperty, u as setStyle } from "./dom-query-dX8Dakb4.mjs";
1
+ import { Qt as getComputedStyle, d as setStyleProperty, u as setStyle, zt as isIos } from "./dom-query-s2ESLR2U.mjs";
2
2
  //#region src/shared/remove-scroll/index.ts
3
3
  const LOCK_CLASSNAME = "data-scroll-lock";
4
4
  function getPaddingProperty(documentElement) {
@@ -1,4 +1,4 @@
1
- import { Xt as getComputedStyle } from "./dom-query-dX8Dakb4.mjs";
1
+ import { Qt as getComputedStyle } from "./dom-query-s2ESLR2U.mjs";
2
2
  //#region src/shared/scroll-snap/index.ts
3
3
  const getDirection = (element) => getComputedStyle(element).direction;
4
4
  function getScrollPadding(element) {
@@ -1,4 +1,4 @@
1
- const require_dom_query = require("./dom-query-6Wt-Tikf.cjs");
1
+ const require_dom_query = require("./dom-query-Bd63cRVF.cjs");
2
2
  //#region src/shared/scroll-snap/index.ts
3
3
  const getDirection = (element) => require_dom_query.getComputedStyle(element).direction;
4
4
  function getScrollPadding(element) {
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("./dom-query-6Wt-Tikf.cjs");
3
- const require_scroll_snap = require("./scroll-snap-voc0pMJd.cjs");
2
+ require("./dom-query-Bd63cRVF.cjs");
3
+ const require_scroll_snap = require("./scroll-snap-Dp_2adEa.cjs");
4
4
  exports.findSnapPoint = require_scroll_snap.findSnapPoint;
5
5
  exports.getScrollSnapPositions = require_scroll_snap.getScrollSnapPositions;
6
6
  exports.getSnapPointTarget = require_scroll_snap.getSnapPointTarget;
@@ -1,3 +1,3 @@
1
- import "./dom-query-dX8Dakb4.mjs";
2
- import { i as getSnapPositions, n as getScrollSnapPositions, r as getSnapPointTarget, t as findSnapPoint } from "./scroll-snap-De0H9CWU.mjs";
1
+ import "./dom-query-s2ESLR2U.mjs";
2
+ import { i as getSnapPositions, n as getScrollSnapPositions, r as getSnapPointTarget, t as findSnapPoint } from "./scroll-snap-DfSwN3As.mjs";
3
3
  export { findSnapPoint, getScrollSnapPositions, getSnapPointTarget, getSnapPositions };
@@ -1,5 +1,5 @@
1
1
  import { r as CollectionOptions, t as CollectionItem } from "./types-9uw8LHpE.mjs";
2
- import { t as ListCollection } from "./list-collection-DkRA5LOq.mjs";
2
+ import { t as ListCollection } from "./list-collection-IF510iNl.mjs";
3
3
 
4
4
  //#region src/shared/collection/grid-collection.d.ts
5
5
  interface GridCollectionOptions<T> extends CollectionOptions<T> {
@@ -1,5 +1,5 @@
1
1
  import { r as CollectionOptions, t as CollectionItem } from "./types-D-7AMgSE.cjs";
2
- import { t as ListCollection } from "./list-collection-B_8BN0XB.cjs";
2
+ import { t as ListCollection } from "./list-collection-Cjgbx_9l.cjs";
3
3
 
4
4
  //#region src/shared/collection/grid-collection.d.ts
5
5
  interface GridCollectionOptions<T> extends CollectionOptions<T> {
@@ -32,7 +32,8 @@ declare class TreeCollection<T = TreeNode> {
32
32
  findNode: (value: string, rootNode?: T) => T | undefined;
33
33
  findNodes: (values: string[], rootNode?: T) => T[];
34
34
  sort: (values: string[]) => string[];
35
- getIndexPath: (value: string) => IndexPath | undefined;
35
+ getIndexPath(value: string): IndexPath | undefined;
36
+ getIndexPath(valuePath: string[]): IndexPath;
36
37
  getValue: (indexPath: IndexPath) => string | undefined;
37
38
  getValuePath: (indexPath: IndexPath | undefined) => string[];
38
39
  getDepth: (value: string) => number;
@@ -32,7 +32,8 @@ declare class TreeCollection<T = TreeNode> {
32
32
  findNode: (value: string, rootNode?: T) => T | undefined;
33
33
  findNodes: (values: string[], rootNode?: T) => T[];
34
34
  sort: (values: string[]) => string[];
35
- getIndexPath: (value: string) => IndexPath | undefined;
35
+ getIndexPath(value: string): IndexPath | undefined;
36
+ getIndexPath(valuePath: string[]): IndexPath;
36
37
  getValue: (indexPath: IndexPath) => string | undefined;
37
38
  getValuePath: (indexPath: IndexPath | undefined) => string[];
38
39
  getDepth: (value: string) => number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sprawlify/primitives",
3
- "version": "0.0.97",
3
+ "version": "0.0.99",
4
4
  "type": "module",
5
5
  "description": "A set of primitive components for building user interfaces.",
6
6
  "author": "sprawlify <npm@sprawlify.com>",
@@ -268,6 +268,16 @@
268
268
  "default": "./dist/machines/carousel/index.cjs"
269
269
  }
270
270
  },
271
+ "./machines/cascade-select": {
272
+ "import": {
273
+ "types": "./dist/machines/cascade-select/index.d.mts",
274
+ "default": "./dist/machines/cascade-select/index.mjs"
275
+ },
276
+ "require": {
277
+ "types": "./dist/machines/cascade-select/index.d.cts",
278
+ "default": "./dist/machines/cascade-select/index.cjs"
279
+ }
280
+ },
271
281
  "./machines/checkbox": {
272
282
  "import": {
273
283
  "types": "./dist/machines/checkbox/index.d.mts",