@sprawlify/primitives 0.1.6 → 0.1.7

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 (215) hide show
  1. package/dist/core-Bw_czdwX.cjs +383 -0
  2. package/dist/core-CTtbW9qh.mjs +288 -0
  3. package/dist/core.cjs +9 -1
  4. package/dist/core.d.cts +25 -2
  5. package/dist/core.d.mts +25 -2
  6. package/dist/core.mjs +2 -2
  7. package/dist/machines/accordion/index.cjs +1 -1
  8. package/dist/machines/accordion/index.d.cts +2 -2
  9. package/dist/machines/accordion/index.d.mts +2 -2
  10. package/dist/machines/accordion/index.mjs +1 -1
  11. package/dist/machines/angle-slider/index.cjs +1 -1
  12. package/dist/machines/angle-slider/index.d.cts +2 -2
  13. package/dist/machines/angle-slider/index.d.mts +2 -2
  14. package/dist/machines/angle-slider/index.mjs +1 -1
  15. package/dist/machines/aspect-ratio/index.cjs +1 -1
  16. package/dist/machines/aspect-ratio/index.d.cts +1 -1
  17. package/dist/machines/aspect-ratio/index.d.mts +1 -1
  18. package/dist/machines/aspect-ratio/index.mjs +1 -1
  19. package/dist/machines/async-list/index.cjs +1 -1
  20. package/dist/machines/async-list/index.d.cts +1 -1
  21. package/dist/machines/async-list/index.d.mts +1 -1
  22. package/dist/machines/async-list/index.mjs +1 -1
  23. package/dist/machines/avatar/index.cjs +1 -1
  24. package/dist/machines/avatar/index.d.cts +1 -1
  25. package/dist/machines/avatar/index.d.mts +1 -1
  26. package/dist/machines/avatar/index.mjs +1 -1
  27. package/dist/machines/carousel/index.cjs +1 -1
  28. package/dist/machines/carousel/index.d.cts +2 -2
  29. package/dist/machines/carousel/index.d.mts +2 -2
  30. package/dist/machines/carousel/index.mjs +1 -1
  31. package/dist/machines/cascade-select/index.cjs +1 -1
  32. package/dist/machines/cascade-select/index.d.cts +3 -3
  33. package/dist/machines/cascade-select/index.d.mts +3 -3
  34. package/dist/machines/cascade-select/index.mjs +1 -1
  35. package/dist/machines/checkbox/index.cjs +1 -1
  36. package/dist/machines/checkbox/index.d.cts +2 -2
  37. package/dist/machines/checkbox/index.d.mts +2 -2
  38. package/dist/machines/checkbox/index.mjs +1 -1
  39. package/dist/machines/clipboard/index.cjs +1 -1
  40. package/dist/machines/clipboard/index.d.cts +2 -2
  41. package/dist/machines/clipboard/index.d.mts +2 -2
  42. package/dist/machines/clipboard/index.mjs +1 -1
  43. package/dist/machines/collapsible/index.cjs +1 -1
  44. package/dist/machines/collapsible/index.d.cts +2 -2
  45. package/dist/machines/collapsible/index.d.mts +2 -2
  46. package/dist/machines/collapsible/index.mjs +1 -1
  47. package/dist/machines/color-picker/index.cjs +76 -102
  48. package/dist/machines/color-picker/index.d.cts +3 -3
  49. package/dist/machines/color-picker/index.d.mts +3 -3
  50. package/dist/machines/color-picker/index.mjs +76 -102
  51. package/dist/machines/combobox/index.cjs +1 -1
  52. package/dist/machines/combobox/index.d.cts +2 -2
  53. package/dist/machines/combobox/index.d.mts +2 -2
  54. package/dist/machines/combobox/index.mjs +1 -1
  55. package/dist/machines/date-picker/index.cjs +1 -1
  56. package/dist/machines/date-picker/index.d.cts +2 -2
  57. package/dist/machines/date-picker/index.d.mts +2 -2
  58. package/dist/machines/date-picker/index.mjs +1 -1
  59. package/dist/machines/dialog/index.cjs +1 -1
  60. package/dist/machines/dialog/index.d.cts +2 -2
  61. package/dist/machines/dialog/index.d.mts +2 -2
  62. package/dist/machines/dialog/index.mjs +1 -1
  63. package/dist/machines/drawer/index.cjs +1 -1
  64. package/dist/machines/drawer/index.d.cts +2 -2
  65. package/dist/machines/drawer/index.d.mts +2 -2
  66. package/dist/machines/drawer/index.mjs +1 -1
  67. package/dist/machines/dropdown-menu/index.cjs +1 -1
  68. package/dist/machines/dropdown-menu/index.d.cts +2 -2
  69. package/dist/machines/dropdown-menu/index.d.mts +2 -2
  70. package/dist/machines/dropdown-menu/index.mjs +1 -1
  71. package/dist/machines/editable/index.cjs +1 -1
  72. package/dist/machines/editable/index.d.cts +2 -2
  73. package/dist/machines/editable/index.d.mts +2 -2
  74. package/dist/machines/editable/index.mjs +1 -1
  75. package/dist/machines/file-upload/index.cjs +1 -1
  76. package/dist/machines/file-upload/index.d.cts +2 -2
  77. package/dist/machines/file-upload/index.d.mts +2 -2
  78. package/dist/machines/file-upload/index.mjs +1 -1
  79. package/dist/machines/floating-panel/index.cjs +96 -93
  80. package/dist/machines/floating-panel/index.d.cts +3 -3
  81. package/dist/machines/floating-panel/index.d.mts +3 -3
  82. package/dist/machines/floating-panel/index.mjs +96 -93
  83. package/dist/machines/hover-card/index.cjs +1 -1
  84. package/dist/machines/hover-card/index.d.cts +2 -2
  85. package/dist/machines/hover-card/index.d.mts +2 -2
  86. package/dist/machines/hover-card/index.mjs +1 -1
  87. package/dist/machines/image-cropper/index.cjs +1 -1
  88. package/dist/machines/image-cropper/index.d.cts +1 -1
  89. package/dist/machines/image-cropper/index.d.mts +1 -1
  90. package/dist/machines/image-cropper/index.mjs +1 -1
  91. package/dist/machines/listbox/index.cjs +1 -1
  92. package/dist/machines/listbox/index.d.cts +2 -2
  93. package/dist/machines/listbox/index.d.mts +2 -2
  94. package/dist/machines/listbox/index.mjs +1 -1
  95. package/dist/machines/marquee/index.cjs +1 -1
  96. package/dist/machines/marquee/index.d.cts +4 -4
  97. package/dist/machines/marquee/index.d.mts +4 -4
  98. package/dist/machines/marquee/index.mjs +1 -1
  99. package/dist/machines/navigation-menu/index.cjs +1 -1
  100. package/dist/machines/navigation-menu/index.d.cts +2 -2
  101. package/dist/machines/navigation-menu/index.d.mts +2 -2
  102. package/dist/machines/navigation-menu/index.mjs +1 -1
  103. package/dist/machines/number-input/index.cjs +1 -1
  104. package/dist/machines/number-input/index.d.cts +2 -2
  105. package/dist/machines/number-input/index.d.mts +2 -2
  106. package/dist/machines/number-input/index.mjs +1 -1
  107. package/dist/machines/pagination/index.cjs +1 -1
  108. package/dist/machines/pagination/index.d.cts +1 -1
  109. package/dist/machines/pagination/index.d.mts +1 -1
  110. package/dist/machines/pagination/index.mjs +1 -1
  111. package/dist/machines/password-input/index.cjs +1 -1
  112. package/dist/machines/password-input/index.d.cts +2 -2
  113. package/dist/machines/password-input/index.d.mts +2 -2
  114. package/dist/machines/password-input/index.mjs +1 -1
  115. package/dist/machines/pin-input/index.cjs +1 -1
  116. package/dist/machines/pin-input/index.d.cts +2 -2
  117. package/dist/machines/pin-input/index.d.mts +2 -2
  118. package/dist/machines/pin-input/index.mjs +1 -1
  119. package/dist/machines/popover/index.cjs +1 -1
  120. package/dist/machines/popover/index.d.cts +2 -2
  121. package/dist/machines/popover/index.d.mts +2 -2
  122. package/dist/machines/popover/index.mjs +1 -1
  123. package/dist/machines/presence/index.cjs +1 -1
  124. package/dist/machines/presence/index.d.cts +1 -1
  125. package/dist/machines/presence/index.d.mts +1 -1
  126. package/dist/machines/presence/index.mjs +1 -1
  127. package/dist/machines/progress/index.cjs +1 -1
  128. package/dist/machines/progress/index.d.cts +2 -2
  129. package/dist/machines/progress/index.d.mts +2 -2
  130. package/dist/machines/progress/index.mjs +1 -1
  131. package/dist/machines/qr-code/index.cjs +1 -1
  132. package/dist/machines/qr-code/index.d.cts +1 -1
  133. package/dist/machines/qr-code/index.d.mts +1 -1
  134. package/dist/machines/qr-code/index.mjs +1 -1
  135. package/dist/machines/radio-group/index.cjs +1 -1
  136. package/dist/machines/radio-group/index.d.cts +2 -2
  137. package/dist/machines/radio-group/index.d.mts +2 -2
  138. package/dist/machines/radio-group/index.mjs +1 -1
  139. package/dist/machines/rating-group/index.cjs +1 -1
  140. package/dist/machines/rating-group/index.d.cts +2 -2
  141. package/dist/machines/rating-group/index.d.mts +2 -2
  142. package/dist/machines/rating-group/index.mjs +1 -1
  143. package/dist/machines/scroll-area/index.cjs +1 -1
  144. package/dist/machines/scroll-area/index.d.cts +1 -1
  145. package/dist/machines/scroll-area/index.d.mts +1 -1
  146. package/dist/machines/scroll-area/index.mjs +1 -1
  147. package/dist/machines/select/index.cjs +1 -1
  148. package/dist/machines/select/index.d.cts +2 -2
  149. package/dist/machines/select/index.d.mts +2 -2
  150. package/dist/machines/select/index.mjs +1 -1
  151. package/dist/machines/separator/index.cjs +1 -1
  152. package/dist/machines/separator/index.d.cts +1 -1
  153. package/dist/machines/separator/index.d.mts +1 -1
  154. package/dist/machines/separator/index.mjs +1 -1
  155. package/dist/machines/signature-pad/index.cjs +1 -1
  156. package/dist/machines/signature-pad/index.d.cts +2 -2
  157. package/dist/machines/signature-pad/index.d.mts +2 -2
  158. package/dist/machines/signature-pad/index.mjs +1 -1
  159. package/dist/machines/slider/index.cjs +1 -1
  160. package/dist/machines/slider/index.d.cts +2 -2
  161. package/dist/machines/slider/index.d.mts +2 -2
  162. package/dist/machines/slider/index.mjs +1 -1
  163. package/dist/machines/splitter/index.cjs +1 -1
  164. package/dist/machines/splitter/index.d.cts +1 -1
  165. package/dist/machines/splitter/index.d.mts +1 -1
  166. package/dist/machines/splitter/index.mjs +1 -1
  167. package/dist/machines/steps/index.cjs +1 -1
  168. package/dist/machines/steps/index.d.cts +2 -2
  169. package/dist/machines/steps/index.d.mts +2 -2
  170. package/dist/machines/steps/index.mjs +1 -1
  171. package/dist/machines/switch/index.cjs +1 -1
  172. package/dist/machines/switch/index.d.cts +2 -2
  173. package/dist/machines/switch/index.d.mts +2 -2
  174. package/dist/machines/switch/index.mjs +1 -1
  175. package/dist/machines/tabs/index.cjs +1 -1
  176. package/dist/machines/tabs/index.d.cts +2 -2
  177. package/dist/machines/tabs/index.d.mts +2 -2
  178. package/dist/machines/tabs/index.mjs +1 -1
  179. package/dist/machines/tags-input/index.cjs +1 -1
  180. package/dist/machines/tags-input/index.d.cts +2 -2
  181. package/dist/machines/tags-input/index.d.mts +2 -2
  182. package/dist/machines/tags-input/index.mjs +1 -1
  183. package/dist/machines/timer/index.cjs +1 -1
  184. package/dist/machines/timer/index.d.cts +2 -2
  185. package/dist/machines/timer/index.d.mts +2 -2
  186. package/dist/machines/timer/index.mjs +1 -1
  187. package/dist/machines/toast/index.cjs +1 -1
  188. package/dist/machines/toast/index.d.cts +2 -2
  189. package/dist/machines/toast/index.d.mts +2 -2
  190. package/dist/machines/toast/index.mjs +1 -1
  191. package/dist/machines/toggle/index.cjs +1 -1
  192. package/dist/machines/toggle/index.d.cts +1 -1
  193. package/dist/machines/toggle/index.d.mts +1 -1
  194. package/dist/machines/toggle/index.mjs +1 -1
  195. package/dist/machines/toggle-group/index.cjs +1 -1
  196. package/dist/machines/toggle-group/index.d.cts +1 -1
  197. package/dist/machines/toggle-group/index.d.mts +1 -1
  198. package/dist/machines/toggle-group/index.mjs +1 -1
  199. package/dist/machines/tooltip/index.cjs +1 -1
  200. package/dist/machines/tooltip/index.d.cts +2 -2
  201. package/dist/machines/tooltip/index.d.mts +2 -2
  202. package/dist/machines/tooltip/index.mjs +1 -1
  203. package/dist/machines/tour/index.cjs +51 -49
  204. package/dist/machines/tour/index.d.cts +3 -3
  205. package/dist/machines/tour/index.d.mts +3 -3
  206. package/dist/machines/tour/index.mjs +51 -49
  207. package/dist/machines/tree-view/index.cjs +1 -1
  208. package/dist/machines/tree-view/index.d.cts +2 -2
  209. package/dist/machines/tree-view/index.d.mts +2 -2
  210. package/dist/machines/tree-view/index.mjs +1 -1
  211. package/dist/{types-B24gMTKq.d.cts → types-DvUmCWsb.d.mts} +28 -12
  212. package/dist/{types-DUM9rzfD.d.mts → types-u-LWCSDE.d.cts} +28 -12
  213. package/package.json +1 -1
  214. package/dist/core-Ci9Yu6QI.mjs +0 -123
  215. package/dist/core-DwdPztGA.cjs +0 -170
@@ -1,11 +1,11 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
2
- import { p as Machine, y as Service } from "../../types-DUM9rzfD.mjs";
2
+ import { b as Service, p as Machine } from "../../types-DvUmCWsb.mjs";
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, s as MaybeElement, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
  import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CGNNiDyE.mjs";
5
5
  import { r as PersistentElementOptions, t as DismissableElementHandlers } from "../../dismissable-layer-h14gHVbJ.mjs";
6
6
 
7
7
  //#region src/machines/dialog/dialog.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"trigger" | "title" | "description" | "closeTrigger" | "content" | "positioner" | "backdrop">;
8
+ declare const anatomy: AnatomyInstance<"trigger" | "content" | "title" | "description" | "positioner" | "backdrop" | "closeTrigger">;
9
9
  //#endregion
10
10
  //#region src/machines/dialog/dialog.types.d.ts
11
11
  interface OpenChangeDetails {
@@ -2,7 +2,7 @@ import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
2
2
  import { Qt as getComputedStyle, W as raf } from "../../dom-query-BFuRs3l4.mjs";
3
3
  import { t as ariaHidden } from "../../aria-hidden-C72KtklN.mjs";
4
4
  import { u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
5
- import { a as createMachine } from "../../core-Ci9Yu6QI.mjs";
5
+ import { a as createMachine } from "../../core-CTtbW9qh.mjs";
6
6
  import "../../interact-outside-Ba50N1a5.mjs";
7
7
  import { n as trackDismissableElement } from "../../dismissable-B9k5K6f9.mjs";
8
8
  import { t as trapFocus } from "../../focus-trap-Do8IUXYh.mjs";
@@ -4,7 +4,7 @@ const require_dom_query = require("../../dom-query-BUO7rGsg.cjs");
4
4
  const require_defineProperty = require("../../defineProperty-8IOBQ1i_.cjs");
5
5
  const require_aria_hidden = require("../../aria-hidden-CIBHXlCy.cjs");
6
6
  const require_utils = require("../../utils-ByNiZU8f.cjs");
7
- const require_core = require("../../core-DwdPztGA.cjs");
7
+ const require_core = require("../../core-Bw_czdwX.cjs");
8
8
  require("../../interact-outside-Bg-QSXqp.cjs");
9
9
  const require_dismissable = require("../../dismissable-DxjbwsOf.cjs");
10
10
  const require_focus_trap = require("../../focus-trap-BewqTQFt.cjs");
@@ -1,11 +1,11 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMTKq.cjs";
2
+ import { b as Service, p as Machine, u as EventObject } from "../../types-u-LWCSDE.cjs";
3
3
  import { C as JSX, b as NormalizeProps, g as RequiredBy, p as Point, r as DirectionProperty, s as MaybeElement, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
  import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-DzWGFhcS.cjs";
5
5
  import { t as DismissableElementHandlers } from "../../dismissable-layer-ZgyqN8AD.cjs";
6
6
 
7
7
  //#region src/machines/drawer/drawer.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"trigger" | "title" | "description" | "closeTrigger" | "content" | "positioner" | "backdrop" | "grabber" | "grabberIndicator" | "swipeArea">;
8
+ declare const anatomy: AnatomyInstance<"trigger" | "content" | "title" | "description" | "positioner" | "backdrop" | "closeTrigger" | "grabber" | "grabberIndicator" | "swipeArea">;
9
9
  //#endregion
10
10
  //#region src/machines/drawer/utils/session.d.ts
11
11
  type GestureAxis = "x" | "y";
@@ -1,11 +1,11 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rzfD.mjs";
2
+ import { b as Service, p as Machine, u as EventObject } from "../../types-DvUmCWsb.mjs";
3
3
  import { C as JSX, b as NormalizeProps, g as RequiredBy, p as Point, r as DirectionProperty, s as MaybeElement, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
  import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CGNNiDyE.mjs";
5
5
  import { t as DismissableElementHandlers } from "../../dismissable-layer-h14gHVbJ.mjs";
6
6
 
7
7
  //#region src/machines/drawer/drawer.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"trigger" | "title" | "description" | "closeTrigger" | "content" | "positioner" | "backdrop" | "grabber" | "grabberIndicator" | "swipeArea">;
8
+ declare const anatomy: AnatomyInstance<"trigger" | "content" | "title" | "description" | "positioner" | "backdrop" | "closeTrigger" | "grabber" | "grabberIndicator" | "swipeArea">;
9
9
  //#endregion
10
10
  //#region src/machines/drawer/utils/session.d.ts
11
11
  type GestureAxis = "x" | "y";
@@ -3,7 +3,7 @@ import { $t as contains, D as disableTextSelection, G as getInitialFocus, Qt as
3
3
  import { t as _defineProperty } from "../../defineProperty-D5oW_HU_.mjs";
4
4
  import { t as ariaHidden } from "../../aria-hidden-C72KtklN.mjs";
5
5
  import { H as toPx, g as clampValue, l as compact, u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
6
- import { a as createMachine, i as createGuards } from "../../core-Ci9Yu6QI.mjs";
6
+ import { a as createMachine, i as createGuards } from "../../core-CTtbW9qh.mjs";
7
7
  import "../../interact-outside-Ba50N1a5.mjs";
8
8
  import { n as trackDismissableElement } from "../../dismissable-B9k5K6f9.mjs";
9
9
  import { t as trapFocus } from "../../focus-trap-Do8IUXYh.mjs";
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
3
3
  const require_dom_query = require("../../dom-query-BUO7rGsg.cjs");
4
4
  const require_utils = require("../../utils-ByNiZU8f.cjs");
5
- const require_core = require("../../core-DwdPztGA.cjs");
5
+ const require_core = require("../../core-Bw_czdwX.cjs");
6
6
  require("../../interact-outside-Bg-QSXqp.cjs");
7
7
  const require_dismissable = require("../../dismissable-DxjbwsOf.cjs");
8
8
  const require_focus_visible = require("../../focus-visible-Co_9bW09.cjs");
@@ -1,5 +1,5 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMTKq.cjs";
2
+ import { b as Service, p as Machine, u as EventObject } from "../../types-u-LWCSDE.cjs";
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
  import { n as TypeaheadState } from "../../typeahead-DMooWbbX.cjs";
5
5
  import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-DzWGFhcS.cjs";
@@ -8,7 +8,7 @@ import { c as Placement, d as PositioningOptions } from "../../types-CZAtqGqH.cj
8
8
  import { a as Point } from "../../types-CLXYEgfm.cjs";
9
9
 
10
10
  //#region src/machines/dropdown-menu/dropdown-menu.anatomy.d.ts
11
- declare const anatomy: AnatomyInstance<"item" | "itemIndicator" | "trigger" | "indicator" | "itemText" | "separator" | "content" | "arrow" | "itemGroup" | "positioner" | "itemGroupLabel" | "arrowTip" | "triggerItem">;
11
+ declare const anatomy: AnatomyInstance<"trigger" | "content" | "indicator" | "item" | "itemIndicator" | "positioner" | "arrow" | "arrowTip" | "itemText" | "separator" | "itemGroup" | "itemGroupLabel" | "triggerItem">;
12
12
  //#endregion
13
13
  //#region src/machines/dropdown-menu/dropdown-menu.types.d.ts
14
14
  interface OpenChangeDetails {
@@ -1,5 +1,5 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rzfD.mjs";
2
+ import { b as Service, p as Machine, u as EventObject } from "../../types-DvUmCWsb.mjs";
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
  import { n as TypeaheadState } from "../../typeahead-Bbeb1fAR.mjs";
5
5
  import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CGNNiDyE.mjs";
@@ -8,7 +8,7 @@ import { p as PositioningOptions, u as Placement } from "../../index-fMh0VDkR.mj
8
8
  import { a as Point } from "../../types-DU764tY_.mjs";
9
9
 
10
10
  //#region src/machines/dropdown-menu/dropdown-menu.anatomy.d.ts
11
- declare const anatomy: AnatomyInstance<"item" | "itemIndicator" | "trigger" | "indicator" | "itemText" | "separator" | "content" | "arrow" | "itemGroup" | "positioner" | "itemGroupLabel" | "arrowTip" | "triggerItem">;
11
+ declare const anatomy: AnatomyInstance<"trigger" | "content" | "indicator" | "item" | "itemIndicator" | "positioner" | "arrow" | "arrowTip" | "itemText" | "separator" | "itemGroup" | "itemGroupLabel" | "triggerItem">;
12
12
  //#endregion
13
13
  //#region src/machines/dropdown-menu/dropdown-menu.types.d.ts
14
14
  interface OpenChangeDetails {
@@ -1,7 +1,7 @@
1
1
  import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
2
2
  import { $t as contains, C as queryAll, Ct as isModifierKey, G as getInitialFocus, I as scrollIntoView, K as isValidTabEvent, L as clickIfLink, Tt as isPrintableKey, W as raf, bn as ariaAttr, bt as isDownloadingEvent, cn as isAnchorElement, fn as isHTMLElement, ft as getEventKey, ht as getEventTarget, on as getWindow, pt as getEventPoint, s as getByTypeahead, un as isEditableElement, ut as addDomEvent, wt as isOpeningInNewTab, xn as dataAttr, z as observeAttributes } from "../../dom-query-BFuRs3l4.mjs";
3
3
  import { G as cast, Ot as prev, Tt as next, ft as isEqual, tt as hasProp, u as createSplitProps, vt as first, wt as last } from "../../utils-VVoZ_v29.mjs";
4
- import { a as createMachine, c as mergeProps, i as createGuards } from "../../core-Ci9Yu6QI.mjs";
4
+ import { a as createMachine, g as mergeProps, i as createGuards } from "../../core-CTtbW9qh.mjs";
5
5
  import "../../interact-outside-Ba50N1a5.mjs";
6
6
  import { n as trackDismissableElement } from "../../dismissable-B9k5K6f9.mjs";
7
7
  import { o as trackFocusVisible, t as getInteractionModality } from "../../focus-visible-BuLf8M9F.mjs";
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
3
3
  const require_dom_query = require("../../dom-query-BUO7rGsg.cjs");
4
4
  const require_utils = require("../../utils-ByNiZU8f.cjs");
5
- const require_core = require("../../core-DwdPztGA.cjs");
5
+ const require_core = require("../../core-Bw_czdwX.cjs");
6
6
  const require_interact_outside = require("../../interact-outside-Bg-QSXqp.cjs");
7
7
  const require_create_props = require("../../create-props-DP39rHnH.cjs");
8
8
  //#region src/machines/editable/editable.anatomy.ts
@@ -1,10 +1,10 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMTKq.cjs";
2
+ import { b as Service, p as Machine, u as EventObject } from "../../types-u-LWCSDE.cjs";
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
  import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-DzWGFhcS.cjs";
5
5
 
6
6
  //#region src/machines/editable/editable.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"root" | "control" | "input" | "label" | "area" | "preview" | "submitTrigger" | "cancelTrigger" | "editTrigger">;
7
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger">;
8
8
  //#endregion
9
9
  //#region src/machines/editable/editable.types.d.ts
10
10
  interface ValueChangeDetails {
@@ -1,10 +1,10 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rzfD.mjs";
2
+ import { b as Service, p as Machine, u as EventObject } from "../../types-DvUmCWsb.mjs";
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
  import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CGNNiDyE.mjs";
5
5
 
6
6
  //#region src/machines/editable/editable.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"root" | "control" | "input" | "label" | "area" | "preview" | "submitTrigger" | "cancelTrigger" | "editTrigger">;
7
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger">;
8
8
  //#endregion
9
9
  //#region src/machines/editable/editable.types.d.ts
10
10
  interface ValueChangeDetails {
@@ -1,7 +1,7 @@
1
1
  import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
2
2
  import { $t as contains, Nt as isApple, W as raf, _t as isComposingEvent, bn as ariaAttr, ct as setElementValue, xn as dataAttr } from "../../dom-query-BFuRs3l4.mjs";
3
3
  import { u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
4
- import { a as createMachine } from "../../core-Ci9Yu6QI.mjs";
4
+ import { a as createMachine } from "../../core-CTtbW9qh.mjs";
5
5
  import { t as trackInteractOutside } from "../../interact-outside-Ba50N1a5.mjs";
6
6
  import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
7
7
  //#region src/machines/editable/editable.anatomy.ts
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
3
3
  const require_dom_query = require("../../dom-query-BUO7rGsg.cjs");
4
4
  const require_utils = require("../../utils-ByNiZU8f.cjs");
5
- const require_core = require("../../core-DwdPztGA.cjs");
5
+ const require_core = require("../../core-Bw_czdwX.cjs");
6
6
  const require_file_utils = require("../../file-utils-CY6_zVut.cjs");
7
7
  const require_i18n_utils = require("../../i18n-utils-BRLqoCq8.cjs");
8
8
  const require_create_props = require("../../create-props-DP39rHnH.cjs");
@@ -1,10 +1,10 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMTKq.cjs";
2
+ import { b as Service, p as Machine, u as EventObject } from "../../types-u-LWCSDE.cjs";
3
3
  import { b as NormalizeProps, g as RequiredBy, o as LocaleProperties, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
  import { i as FileMimeType, r as FileError } from "../../types-CylWsfOz.cjs";
5
5
 
6
6
  //#region src/machines/file-upload/file-upload.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"root" | "item" | "trigger" | "label" | "clearTrigger" | "dropzone" | "itemName" | "itemSizeText" | "itemPreview" | "itemDeleteTrigger" | "itemGroup" | "itemPreviewImage">;
7
+ declare const anatomy: AnatomyInstance<"root" | "trigger" | "label" | "item" | "clearTrigger" | "itemPreview" | "itemDeleteTrigger" | "itemGroup" | "dropzone" | "itemName" | "itemPreviewImage" | "itemSizeText">;
8
8
  //#endregion
9
9
  //#region src/machines/file-upload/file-upload.types.d.ts
10
10
  interface FileRejection {
@@ -1,10 +1,10 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rzfD.mjs";
2
+ import { b as Service, p as Machine, u as EventObject } from "../../types-DvUmCWsb.mjs";
3
3
  import { b as NormalizeProps, g as RequiredBy, o as LocaleProperties, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
  import { i as FileMimeType, r as FileError } from "../../types-Cctd5dol.mjs";
5
5
 
6
6
  //#region src/machines/file-upload/file-upload.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"root" | "item" | "trigger" | "label" | "clearTrigger" | "dropzone" | "itemName" | "itemSizeText" | "itemPreview" | "itemDeleteTrigger" | "itemGroup" | "itemPreviewImage">;
7
+ declare const anatomy: AnatomyInstance<"root" | "trigger" | "label" | "item" | "clearTrigger" | "itemPreview" | "itemDeleteTrigger" | "itemGroup" | "dropzone" | "itemName" | "itemPreviewImage" | "itemSizeText">;
8
8
  //#endregion
9
9
  //#region src/machines/file-upload/file-upload.types.d.ts
10
10
  interface FileRejection {
@@ -1,7 +1,7 @@
1
1
  import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
2
2
  import { $t as contains, W as raf, a as visuallyHiddenStyle, ht as getEventTarget, on as getWindow, ut as addDomEvent, xn as dataAttr } from "../../dom-query-BFuRs3l4.mjs";
3
3
  import { W as callAll, i as warn, q as hash, u as createSplitProps, yt as flatArray } from "../../utils-VVoZ_v29.mjs";
4
- import { a as createMachine } from "../../core-Ci9Yu6QI.mjs";
4
+ import { a as createMachine } from "../../core-CTtbW9qh.mjs";
5
5
  import { i as isFileEqual, r as isValidFileSize, s as getAcceptAttrString, t as isValidFileType, u as getFileEntries } from "../../file-utils-VgQ3YV2A.mjs";
6
6
  import { l as formatBytes } from "../../i18n-utils-DZs1CPj8.mjs";
7
7
  import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
3
3
  const require_dom_query = require("../../dom-query-BUO7rGsg.cjs");
4
4
  const require_utils = require("../../utils-ByNiZU8f.cjs");
5
- const require_core = require("../../core-DwdPztGA.cjs");
5
+ const require_core = require("../../core-Bw_czdwX.cjs");
6
6
  const require_rect_utils = require("../../rect-utils-D3RkAaHK.cjs");
7
7
  const require_store = require("../../store-k8bn_TOl.cjs");
8
8
  const require_create_props = require("../../create-props-DP39rHnH.cjs");
@@ -569,100 +569,103 @@ const machine = require_core.createMachine({
569
569
  open: {
570
570
  tags: ["open"],
571
571
  entry: ["bringToFrontOfPanelStack"],
572
- effects: ["trackBoundaryRect"],
573
- on: {
574
- DRAG_START: {
575
- guard: not("isMaximized"),
576
- target: "open.dragging",
577
- actions: ["setPrevPosition"]
578
- },
579
- RESIZE_START: {
580
- guard: not("isMinimized"),
581
- target: "open.resizing",
582
- actions: ["setPrevSize"]
583
- },
584
- "CONTROLLED.CLOSE": {
585
- target: "closed",
586
- actions: ["resetRect", "focusTriggerEl"]
587
- },
588
- CLOSE: [{
589
- guard: "isOpenControlled",
590
- target: "closed",
591
- actions: ["invokeOnClose"]
592
- }, {
593
- target: "closed",
594
- actions: [
595
- "invokeOnClose",
596
- "resetRect",
597
- "focusTriggerEl"
598
- ]
599
- }],
600
- ESCAPE: [{
601
- guard: and("isOpenControlled", "closeOnEsc"),
602
- actions: ["invokeOnClose"]
603
- }, {
604
- guard: "closeOnEsc",
605
- target: "closed",
606
- actions: [
607
- "invokeOnClose",
608
- "resetRect",
609
- "focusTriggerEl"
610
- ]
611
- }],
612
- MINIMIZE: { actions: ["setMinimized"] },
613
- MAXIMIZE: { actions: ["setMaximized"] },
614
- RESTORE: { actions: ["setRestored"] },
615
- MOVE: { actions: ["setPositionFromKeyboard"] }
616
- }
617
- },
618
- "open.dragging": {
619
- tags: ["open"],
620
- effects: ["trackPointerMove"],
621
- exit: ["clearPrevPosition"],
622
- on: {
623
- DRAG: { actions: ["setPosition"] },
624
- DRAG_END: {
625
- target: "open",
626
- actions: ["invokeOnDragEnd"]
627
- },
628
- "CONTROLLED.CLOSE": {
629
- target: "closed",
630
- actions: ["resetRect"]
631
- },
632
- CLOSE: [{
633
- guard: "isOpenControlled",
634
- target: "closed",
635
- actions: ["invokeOnClose"]
636
- }, {
637
- target: "closed",
638
- actions: ["invokeOnClose", "resetRect"]
639
- }],
640
- ESCAPE: { target: "open" }
641
- }
642
- },
643
- "open.resizing": {
644
- tags: ["open"],
645
- effects: ["trackPointerMove"],
646
- exit: ["clearPrevSize"],
647
- on: {
648
- DRAG: { actions: ["setSize"] },
649
- DRAG_END: {
650
- target: "open",
651
- actions: ["invokeOnResizeEnd"]
572
+ initial: "idle",
573
+ states: {
574
+ idle: {
575
+ effects: ["trackBoundaryRect"],
576
+ on: {
577
+ DRAG_START: {
578
+ guard: not("isMaximized"),
579
+ target: "dragging",
580
+ actions: ["setPrevPosition"]
581
+ },
582
+ RESIZE_START: {
583
+ guard: not("isMinimized"),
584
+ target: "resizing",
585
+ actions: ["setPrevSize"]
586
+ },
587
+ "CONTROLLED.CLOSE": {
588
+ target: "closed",
589
+ actions: ["resetRect", "focusTriggerEl"]
590
+ },
591
+ CLOSE: [{
592
+ guard: "isOpenControlled",
593
+ target: "closed",
594
+ actions: ["invokeOnClose"]
595
+ }, {
596
+ target: "closed",
597
+ actions: [
598
+ "invokeOnClose",
599
+ "resetRect",
600
+ "focusTriggerEl"
601
+ ]
602
+ }],
603
+ ESCAPE: [{
604
+ guard: and("isOpenControlled", "closeOnEsc"),
605
+ actions: ["invokeOnClose"]
606
+ }, {
607
+ guard: "closeOnEsc",
608
+ target: "closed",
609
+ actions: [
610
+ "invokeOnClose",
611
+ "resetRect",
612
+ "focusTriggerEl"
613
+ ]
614
+ }],
615
+ MINIMIZE: { actions: ["setMinimized"] },
616
+ MAXIMIZE: { actions: ["setMaximized"] },
617
+ RESTORE: { actions: ["setRestored"] },
618
+ MOVE: { actions: ["setPositionFromKeyboard"] }
619
+ }
652
620
  },
653
- "CONTROLLED.CLOSE": {
654
- target: "closed",
655
- actions: ["resetRect"]
621
+ dragging: {
622
+ effects: ["trackPointerMove"],
623
+ exit: ["clearPrevPosition"],
624
+ on: {
625
+ DRAG: { actions: ["setPosition"] },
626
+ DRAG_END: {
627
+ target: "idle",
628
+ actions: ["invokeOnDragEnd"]
629
+ },
630
+ "CONTROLLED.CLOSE": {
631
+ target: "closed",
632
+ actions: ["resetRect"]
633
+ },
634
+ CLOSE: [{
635
+ guard: "isOpenControlled",
636
+ target: "closed",
637
+ actions: ["invokeOnClose"]
638
+ }, {
639
+ target: "closed",
640
+ actions: ["invokeOnClose", "resetRect"]
641
+ }],
642
+ ESCAPE: { target: "idle" }
643
+ }
656
644
  },
657
- CLOSE: [{
658
- guard: "isOpenControlled",
659
- target: "closed",
660
- actions: ["invokeOnClose"]
661
- }, {
662
- target: "closed",
663
- actions: ["invokeOnClose", "resetRect"]
664
- }],
665
- ESCAPE: { target: "open" }
645
+ resizing: {
646
+ effects: ["trackPointerMove"],
647
+ exit: ["clearPrevSize"],
648
+ on: {
649
+ DRAG: { actions: ["setSize"] },
650
+ DRAG_END: {
651
+ target: "idle",
652
+ actions: ["invokeOnResizeEnd"]
653
+ },
654
+ "CONTROLLED.CLOSE": {
655
+ target: "closed",
656
+ actions: ["resetRect"]
657
+ },
658
+ CLOSE: [{
659
+ guard: "isOpenControlled",
660
+ target: "closed",
661
+ actions: ["invokeOnClose"]
662
+ }, {
663
+ target: "closed",
664
+ actions: ["invokeOnClose", "resetRect"]
665
+ }],
666
+ ESCAPE: { target: "idle" }
667
+ }
668
+ }
666
669
  }
667
670
  }
668
671
  },
@@ -1,10 +1,10 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMTKq.cjs";
2
+ import { b as Service, p as Machine, u as EventObject } from "../../types-u-LWCSDE.cjs";
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
  import { a as Point, o as Rect, y as Size } from "../../types-CLXYEgfm.cjs";
5
5
 
6
6
  //#region src/machines/floating-panel/floating-panel.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"control" | "trigger" | "title" | "closeTrigger" | "content" | "resizeTrigger" | "body" | "header" | "positioner" | "dragTrigger" | "stageTrigger">;
7
+ declare const anatomy: AnatomyInstance<"trigger" | "content" | "control" | "title" | "positioner" | "closeTrigger" | "body" | "header" | "resizeTrigger" | "dragTrigger" | "stageTrigger">;
8
8
  //#endregion
9
9
  //#region src/machines/floating-panel/floating-panel.types.d.ts
10
10
  interface PositionChangeDetails {
@@ -89,7 +89,7 @@ interface FloatingPanelSchema {
89
89
  context: PrivateContext;
90
90
  computed: ComputedContext;
91
91
  tag: "open" | "closed";
92
- state: "open" | "open.dragging" | "open.resizing" | "closed";
92
+ state: "open" | "open.idle" | "open.dragging" | "open.resizing" | "closed";
93
93
  event: EventObject;
94
94
  action: string;
95
95
  effect: string;
@@ -1,10 +1,10 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
2
- import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rzfD.mjs";
2
+ import { b as Service, p as Machine, u as EventObject } from "../../types-DvUmCWsb.mjs";
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
  import { a as Point, o as Rect, y as Size } from "../../types-DU764tY_.mjs";
5
5
 
6
6
  //#region src/machines/floating-panel/floating-panel.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"control" | "trigger" | "title" | "closeTrigger" | "content" | "resizeTrigger" | "body" | "header" | "positioner" | "dragTrigger" | "stageTrigger">;
7
+ declare const anatomy: AnatomyInstance<"trigger" | "content" | "control" | "title" | "positioner" | "closeTrigger" | "body" | "header" | "resizeTrigger" | "dragTrigger" | "stageTrigger">;
8
8
  //#endregion
9
9
  //#region src/machines/floating-panel/floating-panel.types.d.ts
10
10
  interface PositionChangeDetails {
@@ -89,7 +89,7 @@ interface FloatingPanelSchema {
89
89
  context: PrivateContext;
90
90
  computed: ComputedContext;
91
91
  tag: "open" | "closed";
92
- state: "open" | "open.dragging" | "open.resizing" | "closed";
92
+ state: "open" | "open.idle" | "open.dragging" | "open.resizing" | "closed";
93
93
  event: EventObject;
94
94
  action: string;
95
95
  effect: string;