@sprawlify/primitives 0.0.111 → 0.0.113

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 (114) hide show
  1. package/dist/collection.d.cts +2 -2
  2. package/dist/collection.d.mts +2 -2
  3. package/dist/{date-utils-Dz9DZPcZ.cjs → date-utils-B-dqorZV.cjs} +48 -13
  4. package/dist/{date-utils-BqOQP2-U.mjs → date-utils-BdeeOQRI.mjs} +43 -14
  5. package/dist/date-utils.cjs +2 -1
  6. package/dist/date-utils.d.cts +6 -5
  7. package/dist/date-utils.d.mts +2 -2
  8. package/dist/date-utils.mjs +2 -2
  9. package/dist/{focus-visible-GXKbbuiq.mjs → focus-visible-BuLf8M9F.mjs} +10 -9
  10. package/dist/{focus-visible-JdJXqMic.cjs → focus-visible-Co_9bW09.cjs} +14 -7
  11. package/dist/focus-visible.cjs +2 -1
  12. package/dist/focus-visible.d.cts +2 -1
  13. package/dist/focus-visible.d.mts +2 -1
  14. package/dist/focus-visible.mjs +2 -2
  15. package/dist/{index-6cEVkXqi.d.mts → index-BfUngXif.d.mts} +6 -5
  16. package/dist/{list-collection-Cjgbx_9l.d.cts → list-collection-B_8BN0XB.d.cts} +1 -1
  17. package/dist/{list-collection-IF510iNl.d.mts → list-collection-DkRA5LOq.d.mts} +1 -1
  18. package/dist/machines/accordion/index.d.cts +1 -1
  19. package/dist/machines/accordion/index.d.mts +1 -1
  20. package/dist/machines/angle-slider/index.cjs +64 -24
  21. package/dist/machines/angle-slider/index.d.cts +1 -1
  22. package/dist/machines/angle-slider/index.d.mts +1 -1
  23. package/dist/machines/angle-slider/index.mjs +65 -25
  24. package/dist/machines/carousel/index.d.cts +1 -1
  25. package/dist/machines/carousel/index.d.mts +1 -1
  26. package/dist/machines/cascade-select/index.cjs +50 -20
  27. package/dist/machines/cascade-select/index.d.cts +13 -10
  28. package/dist/machines/cascade-select/index.d.mts +13 -10
  29. package/dist/machines/cascade-select/index.mjs +50 -20
  30. package/dist/machines/checkbox/index.cjs +1 -1
  31. package/dist/machines/checkbox/index.mjs +1 -1
  32. package/dist/machines/clipboard/index.d.cts +1 -1
  33. package/dist/machines/clipboard/index.d.mts +1 -1
  34. package/dist/machines/collapsible/index.d.cts +1 -1
  35. package/dist/machines/collapsible/index.d.mts +1 -1
  36. package/dist/machines/color-picker/index.d.cts +1 -1
  37. package/dist/machines/color-picker/index.d.mts +1 -1
  38. package/dist/machines/combobox/index.cjs +21 -13
  39. package/dist/machines/combobox/index.d.cts +2 -2
  40. package/dist/machines/combobox/index.d.mts +2 -2
  41. package/dist/machines/combobox/index.mjs +21 -13
  42. package/dist/machines/date-picker/index.cjs +46 -25
  43. package/dist/machines/date-picker/index.d.cts +3 -2
  44. package/dist/machines/date-picker/index.d.mts +4 -3
  45. package/dist/machines/date-picker/index.mjs +47 -26
  46. package/dist/machines/dialog/index.d.cts +1 -1
  47. package/dist/machines/dialog/index.d.mts +1 -1
  48. package/dist/machines/drawer/index.d.cts +1 -1
  49. package/dist/machines/drawer/index.d.mts +1 -1
  50. package/dist/machines/dropdown-menu/index.cjs +7 -2
  51. package/dist/machines/dropdown-menu/index.d.cts +1 -1
  52. package/dist/machines/dropdown-menu/index.d.mts +1 -1
  53. package/dist/machines/dropdown-menu/index.mjs +7 -2
  54. package/dist/machines/editable/index.d.cts +1 -1
  55. package/dist/machines/editable/index.d.mts +1 -1
  56. package/dist/machines/file-upload/index.d.cts +1 -1
  57. package/dist/machines/file-upload/index.d.mts +1 -1
  58. package/dist/machines/floating-panel/index.d.cts +1 -1
  59. package/dist/machines/floating-panel/index.d.mts +1 -1
  60. package/dist/machines/hover-card/index.d.cts +1 -1
  61. package/dist/machines/hover-card/index.d.mts +1 -1
  62. package/dist/machines/listbox/index.cjs +1 -1
  63. package/dist/machines/listbox/index.d.cts +3 -3
  64. package/dist/machines/listbox/index.d.mts +3 -3
  65. package/dist/machines/listbox/index.mjs +1 -1
  66. package/dist/machines/marquee/index.d.cts +3 -3
  67. package/dist/machines/marquee/index.d.mts +3 -3
  68. package/dist/machines/navigation-menu/index.d.cts +1 -1
  69. package/dist/machines/navigation-menu/index.d.mts +1 -1
  70. package/dist/machines/number-input/index.d.cts +1 -1
  71. package/dist/machines/number-input/index.d.mts +1 -1
  72. package/dist/machines/password-input/index.d.cts +1 -1
  73. package/dist/machines/password-input/index.d.mts +1 -1
  74. package/dist/machines/popover/index.d.cts +1 -1
  75. package/dist/machines/popover/index.d.mts +1 -1
  76. package/dist/machines/progress/index.d.cts +1 -1
  77. package/dist/machines/progress/index.d.mts +1 -1
  78. package/dist/machines/radio-group/index.cjs +1 -1
  79. package/dist/machines/radio-group/index.d.cts +1 -1
  80. package/dist/machines/radio-group/index.d.mts +1 -1
  81. package/dist/machines/radio-group/index.mjs +1 -1
  82. package/dist/machines/scroll-area/index.d.cts +1 -1
  83. package/dist/machines/scroll-area/index.d.mts +1 -1
  84. package/dist/machines/select/index.cjs +7 -2
  85. package/dist/machines/select/index.d.cts +2 -2
  86. package/dist/machines/select/index.d.mts +2 -2
  87. package/dist/machines/select/index.mjs +7 -2
  88. package/dist/machines/slider/index.d.cts +1 -1
  89. package/dist/machines/slider/index.d.mts +1 -1
  90. package/dist/machines/steps/index.d.cts +1 -1
  91. package/dist/machines/steps/index.d.mts +1 -1
  92. package/dist/machines/switch/index.cjs +1 -1
  93. package/dist/machines/switch/index.d.cts +1 -1
  94. package/dist/machines/switch/index.d.mts +1 -1
  95. package/dist/machines/switch/index.mjs +1 -1
  96. package/dist/machines/tabs/index.d.cts +1 -1
  97. package/dist/machines/tabs/index.d.mts +1 -1
  98. package/dist/machines/tags-input/index.d.cts +1 -1
  99. package/dist/machines/tags-input/index.d.mts +1 -1
  100. package/dist/machines/timer/index.d.cts +1 -1
  101. package/dist/machines/timer/index.d.mts +1 -1
  102. package/dist/machines/toast/index.d.cts +3 -3
  103. package/dist/machines/toast/index.d.mts +3 -3
  104. package/dist/machines/tooltip/index.cjs +6 -6
  105. package/dist/machines/tooltip/index.d.cts +1 -1
  106. package/dist/machines/tooltip/index.d.mts +1 -1
  107. package/dist/machines/tooltip/index.mjs +7 -7
  108. package/dist/machines/tour/index.d.cts +1 -1
  109. package/dist/machines/tour/index.d.mts +1 -1
  110. package/dist/machines/tree-view/index.d.cts +1 -1
  111. package/dist/machines/tree-view/index.d.mts +1 -1
  112. package/dist/{selection-BmS2RDMq.d.cts → selection-Bb_ZSVxe.d.cts} +1 -1
  113. package/dist/{selection-6urf-c8j.d.mts → selection-DdNvrKbj.d.mts} +1 -1
  114. package/package.json +1 -1
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/slider/slider.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "track" | "thumb" | "valueText" | "markerGroup" | "marker" | "range" | "draggingIndicator">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "thumb" | "valueText" | "track" | "range" | "control" | "markerGroup" | "marker" | "draggingIndicator">;
7
7
  //#endregion
8
8
  //#region src/machines/slider/slider.types.d.ts
9
9
  type ThumbCollisionBehavior = "none" | "push" | "swap";
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/steps/steps.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "indicator" | "trigger" | "item" | "nextTrigger" | "prevTrigger" | "progress" | "content" | "separator" | "list">;
6
+ declare const anatomy: AnatomyInstance<"root" | "separator" | "progress" | "content" | "item" | "indicator" | "trigger" | "list" | "nextTrigger" | "prevTrigger">;
7
7
  //#endregion
8
8
  //#region src/machines/steps/steps.types.d.ts
9
9
  interface StepChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/steps/steps.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "indicator" | "trigger" | "item" | "nextTrigger" | "prevTrigger" | "progress" | "content" | "separator" | "list">;
6
+ declare const anatomy: AnatomyInstance<"root" | "separator" | "progress" | "content" | "item" | "indicator" | "trigger" | "list" | "nextTrigger" | "prevTrigger">;
7
7
  //#endregion
8
8
  //#region src/machines/steps/steps.types.d.ts
9
9
  interface StepChangeDetails {
@@ -3,7 +3,7 @@ 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
5
  const require_core = require("../../core-DwdPztGA.cjs");
6
- const require_focus_visible = require("../../focus-visible-JdJXqMic.cjs");
6
+ const require_focus_visible = require("../../focus-visible-Co_9bW09.cjs");
7
7
  const require_create_props = require("../../create-props-DP39rHnH.cjs");
8
8
  //#region src/machines/switch/switch.anatomy.ts
9
9
  const anatomy = require_create_anatomy.createAnatomy("switch").parts("root", "label", "control", "thumb");
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/switch/switch.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "thumb">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "thumb" | "control">;
7
7
  //#endregion
8
8
  //#region src/machines/switch/switch.types.d.ts
9
9
  interface CheckedChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/switch/switch.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "thumb">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "thumb" | "control">;
7
7
  //#endregion
8
8
  //#region src/machines/switch/switch.types.d.ts
9
9
  interface CheckedChangeDetails {
@@ -2,7 +2,7 @@ import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
2
2
  import { T as trackPress, Vt as isSafari, a as visuallyHiddenStyle, ht as getEventTarget, lt as trackFormControl, rt as dispatchInputCheckedEvent, st as setElementChecked, xn as dataAttr } from "../../dom-query-BFuRs3l4.mjs";
3
3
  import { u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
4
4
  import { a as createMachine, i as createGuards } from "../../core-Ci9Yu6QI.mjs";
5
- import { a as trackFocusVisible, n as isFocusVisible } from "../../focus-visible-GXKbbuiq.mjs";
5
+ import { o as trackFocusVisible, r as isFocusVisible } from "../../focus-visible-BuLf8M9F.mjs";
6
6
  import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
7
7
  //#region src/machines/switch/switch.anatomy.ts
8
8
  const anatomy = createAnatomy("switch").parts("root", "label", "control", "thumb");
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
3
3
  import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/tabs/tabs.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "indicator" | "trigger" | "content" | "list">;
6
+ declare const anatomy: AnatomyInstance<"root" | "content" | "indicator" | "trigger" | "list">;
7
7
  //#endregion
8
8
  //#region src/machines/tabs/tabs.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
3
3
  import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/tabs/tabs.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "indicator" | "trigger" | "content" | "list">;
6
+ declare const anatomy: AnatomyInstance<"root" | "content" | "indicator" | "trigger" | "list">;
7
7
  //#endregion
8
8
  //#region src/machines/tabs/tabs.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
5
5
  import { t as LiveRegion } from "../../index-BO-Z3fhz.cjs";
6
6
 
7
7
  //#region src/machines/tags-input/tags-input.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "item" | "itemText" | "clearTrigger" | "itemPreview" | "itemInput" | "itemDeleteTrigger">;
8
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "clearTrigger" | "item" | "itemText" | "itemDeleteTrigger" | "itemPreview" | "itemInput">;
9
9
  //#endregion
10
10
  //#region src/machines/tags-input/tags-input.types.d.ts
11
11
  interface ValueChangeDetails {
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
5
5
  import { t as LiveRegion } from "../../index-1L40UHp8.mjs";
6
6
 
7
7
  //#region src/machines/tags-input/tags-input.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "item" | "itemText" | "clearTrigger" | "itemPreview" | "itemInput" | "itemDeleteTrigger">;
8
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "clearTrigger" | "item" | "itemText" | "itemDeleteTrigger" | "itemPreview" | "itemInput">;
9
9
  //#endregion
10
10
  //#region src/machines/tags-input/tags-input.types.d.ts
11
11
  interface ValueChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
3
3
  import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/timer/timer.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "control" | "item" | "area" | "actionTrigger" | "itemValue" | "itemLabel" | "separator">;
6
+ declare const anatomy: AnatomyInstance<"root" | "separator" | "control" | "area" | "item" | "itemLabel" | "actionTrigger" | "itemValue">;
7
7
  //#endregion
8
8
  //#region src/machines/timer/timer.types.d.ts
9
9
  interface Time<T = number> {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
3
3
  import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/timer/timer.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "control" | "item" | "area" | "actionTrigger" | "itemValue" | "itemLabel" | "separator">;
6
+ declare const anatomy: AnatomyInstance<"root" | "separator" | "control" | "area" | "item" | "itemLabel" | "actionTrigger" | "itemValue">;
7
7
  //#endregion
8
8
  //#region src/machines/timer/timer.types.d.ts
9
9
  interface Time<T = number> {
@@ -43,7 +43,7 @@ interface ToastProps<T = any> extends Omit<CommonProperties, "id">, Options<T> {
43
43
  }
44
44
  type ToastPropsWithDefault = "type" | "parent" | "duration" | "id" | "removeDelay";
45
45
  type ToastSchema<O = any> = {
46
- props: RequiredBy<ToastProps<O>, ToastPropsWithDefault>;
46
+ props: RequiredBy<ToastProps<O>, Extract<ToastPropsWithDefault, keyof ToastProps<O>>>;
47
47
  context: {
48
48
  mounted: boolean;
49
49
  initialHeight: number;
@@ -88,7 +88,7 @@ type ToastGroupSchema = {
88
88
  state: "stack" | "overlap";
89
89
  props: ToastGroupProps;
90
90
  context: {
91
- toasts: RequiredBy<ToastProps, ToastPropsWithDefault>[];
91
+ toasts: RequiredBy<ToastProps, Extract<ToastPropsWithDefault, keyof ToastProps>>[];
92
92
  heights: ToastHeight[];
93
93
  };
94
94
  computed: {
@@ -175,7 +175,7 @@ interface ToastApi<T extends PropTypes = PropTypes, O = any> {
175
175
  declare function groupConnect<T extends PropTypes, O = any>(service: Service<ToastGroupSchema>, normalize: NormalizeProps<T>): ToastGroupApi<T, O>;
176
176
  //#endregion
177
177
  //#region src/machines/toast/toast.anatomy.d.ts
178
- declare const anatomy: AnatomyInstance<"root" | "title" | "description" | "actionTrigger" | "closeTrigger" | "group">;
178
+ declare const anatomy: AnatomyInstance<"root" | "title" | "description" | "closeTrigger" | "group" | "actionTrigger">;
179
179
  //#endregion
180
180
  //#region src/machines/toast/toast.connect.d.ts
181
181
  declare function connect<T extends PropTypes, O>(service: Service<ToastSchema<O>>, normalize: NormalizeProps<T>): ToastApi<T, O>;
@@ -43,7 +43,7 @@ interface ToastProps<T = any> extends Omit<CommonProperties, "id">, Options<T> {
43
43
  }
44
44
  type ToastPropsWithDefault = "type" | "parent" | "duration" | "id" | "removeDelay";
45
45
  type ToastSchema<O = any> = {
46
- props: RequiredBy<ToastProps<O>, ToastPropsWithDefault>;
46
+ props: RequiredBy<ToastProps<O>, Extract<ToastPropsWithDefault, keyof ToastProps<O>>>;
47
47
  context: {
48
48
  mounted: boolean;
49
49
  initialHeight: number;
@@ -88,7 +88,7 @@ type ToastGroupSchema = {
88
88
  state: "stack" | "overlap";
89
89
  props: ToastGroupProps;
90
90
  context: {
91
- toasts: RequiredBy<ToastProps, ToastPropsWithDefault>[];
91
+ toasts: RequiredBy<ToastProps, Extract<ToastPropsWithDefault, keyof ToastProps>>[];
92
92
  heights: ToastHeight[];
93
93
  };
94
94
  computed: {
@@ -175,7 +175,7 @@ interface ToastApi<T extends PropTypes = PropTypes, O = any> {
175
175
  declare function groupConnect<T extends PropTypes, O = any>(service: Service<ToastGroupSchema>, normalize: NormalizeProps<T>): ToastGroupApi<T, O>;
176
176
  //#endregion
177
177
  //#region src/machines/toast/toast.anatomy.d.ts
178
- declare const anatomy: AnatomyInstance<"root" | "title" | "description" | "actionTrigger" | "closeTrigger" | "group">;
178
+ declare const anatomy: AnatomyInstance<"root" | "title" | "description" | "closeTrigger" | "group" | "actionTrigger">;
179
179
  //#endregion
180
180
  //#region src/machines/toast/toast.connect.d.ts
181
181
  declare function connect<T extends PropTypes, O>(service: Service<ToastSchema<O>>, normalize: NormalizeProps<T>): ToastApi<T, O>;
@@ -3,7 +3,7 @@ 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
5
  const require_core = require("../../core-DwdPztGA.cjs");
6
- const require_focus_visible = require("../../focus-visible-JdJXqMic.cjs");
6
+ const require_focus_visible = require("../../focus-visible-Co_9bW09.cjs");
7
7
  const require_popper = require("../../popper-viCrafLC.cjs");
8
8
  const require_create_props = require("../../create-props-DP39rHnH.cjs");
9
9
  //#region src/machines/tooltip/tooltip.anatomy.ts
@@ -174,10 +174,10 @@ const machine = require_core.createMachine({
174
174
  return prop("open") || prop("defaultOpen") ? "open" : "closed";
175
175
  },
176
176
  props({ props }) {
177
+ require_utils.ensureProps(props, ["id"]);
177
178
  const closeOnClick = props.closeOnClick ?? true;
178
179
  const closeOnPointerDown = props.closeOnPointerDown ?? closeOnClick;
179
180
  return {
180
- id: "x",
181
181
  openDelay: 400,
182
182
  closeDelay: 150,
183
183
  closeOnEscape: true,
@@ -389,8 +389,8 @@ const machine = require_core.createMachine({
389
389
  },
390
390
  reposition: ({ context, event, prop, scope }) => {
391
391
  if (event.type !== "positioning.set") return;
392
- const getPositionerEl$1 = () => getPositionerEl(scope);
393
- return require_popper.getPlacement(getTriggerEl(scope), getPositionerEl$1, {
392
+ const getPositionerEl$2 = () => getPositionerEl(scope);
393
+ return require_popper.getPlacement(getTriggerEl(scope), getPositionerEl$2, {
394
394
  ...prop("positioning"),
395
395
  ...event.options,
396
396
  defer: true,
@@ -421,8 +421,8 @@ const machine = require_core.createMachine({
421
421
  },
422
422
  trackPositioning: ({ context, prop, scope }) => {
423
423
  if (!context.get("currentPlacement")) context.set("currentPlacement", prop("positioning").placement);
424
- const getPositionerEl$2 = () => getPositionerEl(scope);
425
- return require_popper.getPlacement(getTriggerEl(scope), getPositionerEl$2, {
424
+ const getPositionerEl$1 = () => getPositionerEl(scope);
425
+ return require_popper.getPlacement(getTriggerEl(scope), getPositionerEl$1, {
426
426
  ...prop("positioning"),
427
427
  defer: true,
428
428
  onComplete(data) {
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
4
4
  import { c as Placement, d as PositioningOptions } from "../../types-CZAtqGqH.cjs";
5
5
 
6
6
  //#region src/machines/tooltip/tooltip.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "positioner" | "arrow" | "arrowTip">;
7
+ declare const anatomy: AnatomyInstance<"content" | "trigger" | "positioner" | "arrow" | "arrowTip">;
8
8
  //#endregion
9
9
  //#region src/machines/tooltip/tooltip.types.d.ts
10
10
  interface OpenChangeDetails {
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
4
4
  import { p as PositioningOptions, u as Placement } from "../../index-fMh0VDkR.mjs";
5
5
 
6
6
  //#region src/machines/tooltip/tooltip.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "positioner" | "arrow" | "arrowTip">;
7
+ declare const anatomy: AnatomyInstance<"content" | "trigger" | "positioner" | "arrow" | "arrowTip">;
8
8
  //#endregion
9
9
  //#region src/machines/tooltip/tooltip.types.d.ts
10
10
  interface OpenChangeDetails {
@@ -1,8 +1,8 @@
1
1
  import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
2
2
  import { M as getOverflowAncestors, St as isLeftClick, _t as isComposingEvent, ut as addDomEvent, xn as dataAttr } from "../../dom-query-BFuRs3l4.mjs";
3
- import { c as createStore, u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
3
+ import { c as createStore, n as ensureProps, u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
4
4
  import { a as createMachine, i as createGuards } from "../../core-Ci9Yu6QI.mjs";
5
- import { a as trackFocusVisible, n as isFocusVisible } from "../../focus-visible-GXKbbuiq.mjs";
5
+ import { o as trackFocusVisible, r as isFocusVisible } from "../../focus-visible-BuLf8M9F.mjs";
6
6
  import { n as getPlacement, t as getPlacementStyles } from "../../popper-BlgbmdAn.mjs";
7
7
  import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
8
8
  //#region src/machines/tooltip/tooltip.anatomy.ts
@@ -173,10 +173,10 @@ const machine = createMachine({
173
173
  return prop("open") || prop("defaultOpen") ? "open" : "closed";
174
174
  },
175
175
  props({ props }) {
176
+ ensureProps(props, ["id"]);
176
177
  const closeOnClick = props.closeOnClick ?? true;
177
178
  const closeOnPointerDown = props.closeOnPointerDown ?? closeOnClick;
178
179
  return {
179
- id: "x",
180
180
  openDelay: 400,
181
181
  closeDelay: 150,
182
182
  closeOnEscape: true,
@@ -388,8 +388,8 @@ const machine = createMachine({
388
388
  },
389
389
  reposition: ({ context, event, prop, scope }) => {
390
390
  if (event.type !== "positioning.set") return;
391
- const getPositionerEl$1 = () => getPositionerEl(scope);
392
- return getPlacement(getTriggerEl(scope), getPositionerEl$1, {
391
+ const getPositionerEl$2 = () => getPositionerEl(scope);
392
+ return getPlacement(getTriggerEl(scope), getPositionerEl$2, {
393
393
  ...prop("positioning"),
394
394
  ...event.options,
395
395
  defer: true,
@@ -420,8 +420,8 @@ const machine = createMachine({
420
420
  },
421
421
  trackPositioning: ({ context, prop, scope }) => {
422
422
  if (!context.get("currentPlacement")) context.set("currentPlacement", prop("positioning").placement);
423
- const getPositionerEl$2 = () => getPositionerEl(scope);
424
- return getPlacement(getTriggerEl(scope), getPositionerEl$2, {
423
+ const getPositionerEl$1 = () => getPositionerEl(scope);
424
+ return getPlacement(getTriggerEl(scope), getPositionerEl$1, {
425
425
  ...prop("positioning"),
426
426
  defer: true,
427
427
  onComplete(data) {
@@ -6,7 +6,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
6
6
  import { c as Placement } from "../../types-CZAtqGqH.cjs";
7
7
 
8
8
  //#region src/machines/tour/tour.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"progressText" | "title" | "content" | "description" | "positioner" | "backdrop" | "arrow" | "actionTrigger" | "closeTrigger" | "arrowTip" | "spotlight">;
9
+ declare const anatomy: AnatomyInstance<"title" | "content" | "backdrop" | "positioner" | "description" | "closeTrigger" | "arrow" | "arrowTip" | "actionTrigger" | "progressText" | "spotlight">;
10
10
  //#endregion
11
11
  //#region src/machines/tour/utils/rect.d.ts
12
12
  interface Point {
@@ -6,7 +6,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
6
6
  import { u as Placement } from "../../index-fMh0VDkR.mjs";
7
7
 
8
8
  //#region src/machines/tour/tour.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"progressText" | "title" | "content" | "description" | "positioner" | "backdrop" | "arrow" | "actionTrigger" | "closeTrigger" | "arrowTip" | "spotlight">;
9
+ declare const anatomy: AnatomyInstance<"title" | "content" | "backdrop" | "positioner" | "description" | "closeTrigger" | "arrow" | "arrowTip" | "actionTrigger" | "progressText" | "spotlight">;
10
10
  //#endregion
11
11
  //#region src/machines/tour/utils/rect.d.ts
12
12
  interface Point {
@@ -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-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" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "itemText" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
9
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemText" | "itemIndicator" | "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: {
@@ -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-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" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "itemText" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
9
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemText" | "itemIndicator" | "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,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-Cjgbx_9l.cjs";
2
+ import { t as ListCollection } from "./list-collection-B_8BN0XB.cjs";
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-9uw8LHpE.mjs";
2
- import { t as ListCollection } from "./list-collection-IF510iNl.mjs";
2
+ import { t as ListCollection } from "./list-collection-DkRA5LOq.mjs";
3
3
 
4
4
  //#region src/shared/collection/grid-collection.d.ts
5
5
  interface GridCollectionOptions<T> extends CollectionOptions<T> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sprawlify/primitives",
3
- "version": "0.0.111",
3
+ "version": "0.0.113",
4
4
  "description": "A set of primitive components for building user interfaces.",
5
5
  "license": "MIT",
6
6
  "author": "sprawlify <npm@sprawlify.com>",