@sprawlify/primitives 0.0.56 → 0.0.58

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 (118) hide show
  1. package/dist/{color-CIaXnwJx.d.mts → color-Bcy-SLQ1.d.mts} +2 -2
  2. package/dist/{color-_pKYh-E2.d.cts → color-Bj20c2qw.d.cts} +2 -2
  3. package/dist/{color-utils-CLAICiIG.cjs → color-utils-BVq_rh8L.cjs} +3 -3
  4. package/dist/{color-utils-BUIU6o8a.mjs → color-utils-BekVyYIJ.mjs} +3 -3
  5. package/dist/color-utils.cjs +1 -1
  6. package/dist/color-utils.d.cts +1 -1
  7. package/dist/color-utils.d.mts +1 -1
  8. package/dist/color-utils.mjs +1 -1
  9. package/dist/date-utils.d.cts +5 -5
  10. package/dist/{dismissable-CtFpYFBY.mjs → dismissable-D0YyXTJv.mjs} +7 -2
  11. package/dist/{dismissable-DWJdIOtX.cjs → dismissable-D9NEAGMU.cjs} +6 -1
  12. package/dist/dismissable.cjs +1 -1
  13. package/dist/dismissable.mjs +1 -1
  14. package/dist/machines/accordion/index.d.cts +1 -1
  15. package/dist/machines/accordion/index.d.mts +1 -1
  16. package/dist/machines/angle-slider/index.d.cts +1 -1
  17. package/dist/machines/angle-slider/index.d.mts +1 -1
  18. package/dist/machines/bottom-sheet/index.cjs +1 -1
  19. package/dist/machines/bottom-sheet/index.d.cts +1 -1
  20. package/dist/machines/bottom-sheet/index.d.mts +1 -1
  21. package/dist/machines/bottom-sheet/index.mjs +1 -1
  22. package/dist/machines/carousel/index.d.cts +1 -1
  23. package/dist/machines/carousel/index.d.mts +1 -1
  24. package/dist/machines/checkbox/index.d.cts +1 -1
  25. package/dist/machines/checkbox/index.d.mts +1 -1
  26. package/dist/machines/clipboard/index.d.cts +1 -1
  27. package/dist/machines/clipboard/index.d.mts +1 -1
  28. package/dist/machines/collapsible/index.d.cts +1 -1
  29. package/dist/machines/collapsible/index.d.mts +1 -1
  30. package/dist/machines/color-picker/index.cjs +21 -10
  31. package/dist/machines/color-picker/index.d.cts +2 -2
  32. package/dist/machines/color-picker/index.d.mts +2 -2
  33. package/dist/machines/color-picker/index.mjs +21 -10
  34. package/dist/machines/combobox/index.cjs +1 -1
  35. package/dist/machines/combobox/index.d.cts +1 -1
  36. package/dist/machines/combobox/index.d.mts +1 -1
  37. package/dist/machines/combobox/index.mjs +1 -1
  38. package/dist/machines/date-picker/index.cjs +1 -1
  39. package/dist/machines/date-picker/index.d.cts +1 -1
  40. package/dist/machines/date-picker/index.d.mts +1 -1
  41. package/dist/machines/date-picker/index.mjs +1 -1
  42. package/dist/machines/dialog/index.cjs +1 -1
  43. package/dist/machines/dialog/index.d.cts +1 -1
  44. package/dist/machines/dialog/index.d.mts +1 -1
  45. package/dist/machines/dialog/index.mjs +1 -1
  46. package/dist/machines/editable/index.d.cts +1 -1
  47. package/dist/machines/editable/index.d.mts +1 -1
  48. package/dist/machines/file-upload/index.cjs +2 -2
  49. package/dist/machines/file-upload/index.d.cts +1 -1
  50. package/dist/machines/file-upload/index.d.mts +1 -1
  51. package/dist/machines/file-upload/index.mjs +2 -2
  52. package/dist/machines/floating-panel/index.d.cts +1 -1
  53. package/dist/machines/floating-panel/index.d.mts +1 -1
  54. package/dist/machines/hover-card/index.cjs +1 -1
  55. package/dist/machines/hover-card/index.mjs +1 -1
  56. package/dist/machines/image-cropper/index.d.cts +1 -1
  57. package/dist/machines/image-cropper/index.d.mts +1 -1
  58. package/dist/machines/listbox/index.d.cts +1 -1
  59. package/dist/machines/listbox/index.d.mts +1 -1
  60. package/dist/machines/marquee/index.d.cts +3 -3
  61. package/dist/machines/marquee/index.d.mts +3 -3
  62. package/dist/machines/menu/index.cjs +1 -1
  63. package/dist/machines/menu/index.d.cts +1 -1
  64. package/dist/machines/menu/index.d.mts +1 -1
  65. package/dist/machines/menu/index.mjs +1 -1
  66. package/dist/machines/navigation-menu/index.cjs +1 -1
  67. package/dist/machines/navigation-menu/index.d.cts +1 -1
  68. package/dist/machines/navigation-menu/index.d.mts +1 -1
  69. package/dist/machines/navigation-menu/index.mjs +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/pagination/index.d.cts +1 -1
  73. package/dist/machines/pagination/index.d.mts +1 -1
  74. package/dist/machines/password-input/index.d.cts +1 -1
  75. package/dist/machines/password-input/index.d.mts +1 -1
  76. package/dist/machines/pin-input/index.d.cts +1 -1
  77. package/dist/machines/pin-input/index.d.mts +1 -1
  78. package/dist/machines/popover/index.cjs +1 -1
  79. package/dist/machines/popover/index.d.cts +1 -1
  80. package/dist/machines/popover/index.d.mts +1 -1
  81. package/dist/machines/popover/index.mjs +1 -1
  82. package/dist/machines/progress/index.d.cts +1 -1
  83. package/dist/machines/progress/index.d.mts +1 -1
  84. package/dist/machines/radio-group/index.d.cts +1 -1
  85. package/dist/machines/radio-group/index.d.mts +1 -1
  86. package/dist/machines/rating-group/index.d.cts +1 -1
  87. package/dist/machines/rating-group/index.d.mts +1 -1
  88. package/dist/machines/select/index.cjs +1 -1
  89. package/dist/machines/select/index.d.cts +1 -1
  90. package/dist/machines/select/index.d.mts +1 -1
  91. package/dist/machines/select/index.mjs +1 -1
  92. package/dist/machines/signature-pad/index.d.cts +1 -1
  93. package/dist/machines/signature-pad/index.d.mts +1 -1
  94. package/dist/machines/slider/index.d.cts +1 -1
  95. package/dist/machines/slider/index.d.mts +1 -1
  96. package/dist/machines/steps/index.d.cts +1 -1
  97. package/dist/machines/steps/index.d.mts +1 -1
  98. package/dist/machines/switch/index.d.cts +1 -1
  99. package/dist/machines/switch/index.d.mts +1 -1
  100. package/dist/machines/tabs/index.d.cts +1 -1
  101. package/dist/machines/tabs/index.d.mts +1 -1
  102. package/dist/machines/tags-input/index.d.cts +1 -1
  103. package/dist/machines/tags-input/index.d.mts +1 -1
  104. package/dist/machines/timer/index.d.cts +1 -1
  105. package/dist/machines/timer/index.d.mts +1 -1
  106. package/dist/machines/toast/index.cjs +1 -1
  107. package/dist/machines/toast/index.d.cts +1 -1
  108. package/dist/machines/toast/index.d.mts +1 -1
  109. package/dist/machines/toast/index.mjs +1 -1
  110. package/dist/machines/toggle-group/index.d.cts +1 -1
  111. package/dist/machines/toggle-group/index.d.mts +1 -1
  112. package/dist/machines/tour/index.cjs +3 -3
  113. package/dist/machines/tour/index.d.cts +1 -1
  114. package/dist/machines/tour/index.d.mts +1 -1
  115. package/dist/machines/tour/index.mjs +3 -3
  116. package/dist/machines/tree-view/index.d.cts +1 -1
  117. package/dist/machines/tree-view/index.d.mts +1 -1
  118. package/package.json +1 -1
@@ -19,7 +19,7 @@ interface ColorChannelRange {
19
19
  interface ColorType {
20
20
  toFormat(format: ColorFormat): ColorType;
21
21
  toJSON(): Record<string, number>;
22
- toString(format: ColorStringFormat): string;
22
+ toString(format?: ColorStringFormat): string;
23
23
  toHexInt(): number;
24
24
  getChannelValue(channel: ColorChannel): number;
25
25
  withChannelValue(channel: ColorChannel, value: number): ColorType;
@@ -40,7 +40,7 @@ interface ColorType {
40
40
  declare abstract class Color implements ColorType {
41
41
  abstract toFormat(format: ColorFormat): ColorType;
42
42
  abstract toJSON(): Record<string, number>;
43
- abstract toString(format: ColorStringFormat): string;
43
+ abstract toString(format?: ColorStringFormat): string;
44
44
  abstract clone(): ColorType;
45
45
  abstract getChannelRange(channel: ColorChannel): ColorChannelRange;
46
46
  abstract getFormat(): ColorFormat;
@@ -19,7 +19,7 @@ interface ColorChannelRange {
19
19
  interface ColorType {
20
20
  toFormat(format: ColorFormat): ColorType;
21
21
  toJSON(): Record<string, number>;
22
- toString(format: ColorStringFormat): string;
22
+ toString(format?: ColorStringFormat): string;
23
23
  toHexInt(): number;
24
24
  getChannelValue(channel: ColorChannel): number;
25
25
  withChannelValue(channel: ColorChannel, value: number): ColorType;
@@ -40,7 +40,7 @@ interface ColorType {
40
40
  declare abstract class Color implements ColorType {
41
41
  abstract toFormat(format: ColorFormat): ColorType;
42
42
  abstract toJSON(): Record<string, number>;
43
- abstract toString(format: ColorStringFormat): string;
43
+ abstract toString(format?: ColorStringFormat): string;
44
44
  abstract clone(): ColorType;
45
45
  abstract getChannelRange(channel: ColorChannel): ColorChannelRange;
46
46
  abstract getFormat(): ColorFormat;
@@ -230,7 +230,7 @@ var RGBColor = class RGBColor extends Color {
230
230
  if (match?.[1]) colors = match[1].split(",").map((value$1) => Number(value$1.trim())).map((num, i) => require_utils.clampValue(num, 0, i < 3 ? 255 : 1));
231
231
  return colors.length < 3 ? void 0 : new RGBColor(colors[0], colors[1], colors[2], colors[3] ?? 1);
232
232
  }
233
- toString(format) {
233
+ toString(format = "css") {
234
234
  switch (format) {
235
235
  case "hex": return "#" + (this.red.toString(16).padStart(2, "0") + this.green.toString(16).padStart(2, "0") + this.blue.toString(16).padStart(2, "0")).toUpperCase();
236
236
  case "hexa": return "#" + (this.red.toString(16).padStart(2, "0") + this.green.toString(16).padStart(2, "0") + this.blue.toString(16).padStart(2, "0") + Math.round(this.alpha * 255).toString(16).padStart(2, "0")).toUpperCase();
@@ -381,7 +381,7 @@ var HSLColor = class HSLColor extends Color {
381
381
  return new HSLColor(require_utils.mod(h, 360), require_utils.clampValue(s, 0, 100), require_utils.clampValue(l, 0, 100), require_utils.clampValue(a ?? 1, 0, 1));
382
382
  }
383
383
  }
384
- toString(format) {
384
+ toString(format = "css") {
385
385
  switch (format) {
386
386
  case "hex": return this.toRGB().toString("hex");
387
387
  case "hexa": return this.toRGB().toString("hexa");
@@ -511,7 +511,7 @@ var HSBColor = class HSBColor extends Color {
511
511
  return new HSBColor(require_utils.mod(h, 360), require_utils.clampValue(s, 0, 100), require_utils.clampValue(b, 0, 100), require_utils.clampValue(a ?? 1, 0, 1));
512
512
  }
513
513
  }
514
- toString(format) {
514
+ toString(format = "css") {
515
515
  switch (format) {
516
516
  case "css": return this.toHSL().toString("css");
517
517
  case "hex": return this.toRGB().toString("hex");
@@ -230,7 +230,7 @@ var RGBColor = class RGBColor extends Color {
230
230
  if (match?.[1]) colors = match[1].split(",").map((value$1) => Number(value$1.trim())).map((num, i) => clampValue(num, 0, i < 3 ? 255 : 1));
231
231
  return colors.length < 3 ? void 0 : new RGBColor(colors[0], colors[1], colors[2], colors[3] ?? 1);
232
232
  }
233
- toString(format) {
233
+ toString(format = "css") {
234
234
  switch (format) {
235
235
  case "hex": return "#" + (this.red.toString(16).padStart(2, "0") + this.green.toString(16).padStart(2, "0") + this.blue.toString(16).padStart(2, "0")).toUpperCase();
236
236
  case "hexa": return "#" + (this.red.toString(16).padStart(2, "0") + this.green.toString(16).padStart(2, "0") + this.blue.toString(16).padStart(2, "0") + Math.round(this.alpha * 255).toString(16).padStart(2, "0")).toUpperCase();
@@ -381,7 +381,7 @@ var HSLColor = class HSLColor extends Color {
381
381
  return new HSLColor(mod(h, 360), clampValue(s, 0, 100), clampValue(l, 0, 100), clampValue(a ?? 1, 0, 1));
382
382
  }
383
383
  }
384
- toString(format) {
384
+ toString(format = "css") {
385
385
  switch (format) {
386
386
  case "hex": return this.toRGB().toString("hex");
387
387
  case "hexa": return this.toRGB().toString("hexa");
@@ -511,7 +511,7 @@ var HSBColor = class HSBColor extends Color {
511
511
  return new HSBColor(mod(h, 360), clampValue(s, 0, 100), clampValue(b, 0, 100), clampValue(a ?? 1, 0, 1));
512
512
  }
513
513
  }
514
- toString(format) {
514
+ toString(format = "css") {
515
515
  switch (format) {
516
516
  case "css": return this.toHSL().toString("css");
517
517
  case "hex": return this.toRGB().toString("hex");
@@ -1,5 +1,5 @@
1
1
  require('./utils-B4_qn2dt.cjs');
2
- const require_color_utils = require('./color-utils-CLAICiIG.cjs');
2
+ const require_color_utils = require('./color-utils-BVq_rh8L.cjs');
3
3
 
4
4
  exports.Color = require_color_utils.Color;
5
5
  exports.getColorAreaGradient = require_color_utils.getColorAreaGradient;
@@ -1,4 +1,4 @@
1
- import { a as ColorFormat, i as ColorChannelRange, n as ColorAxes, o as ColorStringFormat, r as ColorChannel, s as ColorType, t as Color } from "./color-_pKYh-E2.cjs";
1
+ import { a as ColorFormat, i as ColorChannelRange, n as ColorAxes, o as ColorStringFormat, r as ColorChannel, s as ColorType, t as Color } from "./color-Bj20c2qw.cjs";
2
2
 
3
3
  //#region src/shared/color-utils/area-gradient.d.ts
4
4
  interface GradientOptions {
@@ -1,4 +1,4 @@
1
- import { a as ColorFormat, i as ColorChannelRange, n as ColorAxes, o as ColorStringFormat, r as ColorChannel, s as ColorType, t as Color } from "./color-CIaXnwJx.mjs";
1
+ import { a as ColorFormat, i as ColorChannelRange, n as ColorAxes, o as ColorStringFormat, r as ColorChannel, s as ColorType, t as Color } from "./color-Bcy-SLQ1.mjs";
2
2
 
3
3
  //#region src/shared/color-utils/area-gradient.d.ts
4
4
  interface GradientOptions {
@@ -1,4 +1,4 @@
1
1
  import "./utils-DSBXwmDm.mjs";
2
- import { i as getColorAreaGradient, n as parseColor, r as Color, t as normalizeColor } from "./color-utils-BUIU6o8a.mjs";
2
+ import { i as getColorAreaGradient, n as parseColor, r as Color, t as normalizeColor } from "./color-utils-BekVyYIJ.mjs";
3
3
 
4
4
  export { Color, getColorAreaGradient, normalizeColor, parseColor };
@@ -1,5 +1,5 @@
1
1
  import { a as DateRangePreset, i as DateGranularity, n as DateAlignment, r as DateAvailableFn, t as DateAdjustFn } from "./types-GxLIgJib.cjs";
2
- import * as _internationalized_date2 from "@internationalized/date";
2
+ import * as _internationalized_date0 from "@internationalized/date";
3
3
  import { Calendar, DateDuration, DateFormatter, DateValue } from "@internationalized/date";
4
4
 
5
5
  //#region src/shared/date-utils/align.d.ts
@@ -27,7 +27,7 @@ declare function getUnitDuration(duration: DateDuration): {
27
27
  weeks?: number;
28
28
  days?: number;
29
29
  };
30
- declare function getEndDate(startDate: DateValue, duration: DateDuration): _internationalized_date2.CalendarDate | _internationalized_date2.CalendarDateTime | _internationalized_date2.ZonedDateTime;
30
+ declare function getEndDate(startDate: DateValue, duration: DateDuration): _internationalized_date0.CalendarDate | _internationalized_date0.CalendarDateTime | _internationalized_date0.ZonedDateTime;
31
31
  //#endregion
32
32
  //#region src/shared/date-utils/format.d.ts
33
33
  declare function formatRange(startDate: DateValue, endDate: DateValue, formatter: DateFormatter, toString: (start: string, end: string) => string, timeZone: string): string;
@@ -50,7 +50,7 @@ declare function getWeekdayFormats(locale: string, timeZone: string): <T extends
50
50
  narrow: string;
51
51
  };
52
52
  declare function getWeekDays(date: DateValue, startOfWeekProp: number | undefined, timeZone: string, locale: string): {
53
- value: _internationalized_date2.CalendarDate | _internationalized_date2.CalendarDateTime | _internationalized_date2.ZonedDateTime;
53
+ value: _internationalized_date0.CalendarDate | _internationalized_date0.CalendarDateTime | _internationalized_date0.ZonedDateTime;
54
54
  short: string;
55
55
  long: string;
56
56
  narrow: string;
@@ -69,8 +69,8 @@ declare function getDecadeRange(year: number, opts?: {
69
69
  }): number[];
70
70
  //#endregion
71
71
  //#region src/shared/date-utils/mutation.d.ts
72
- declare function getTodayDate(timeZone?: string): _internationalized_date2.CalendarDate;
73
- declare function setCalendar(date: DateValue, calendar: Calendar): _internationalized_date2.CalendarDateTime;
72
+ declare function getTodayDate(timeZone?: string): _internationalized_date0.CalendarDate;
73
+ declare function setCalendar(date: DateValue, calendar: Calendar): _internationalized_date0.CalendarDateTime;
74
74
  declare function setDate(date: DateValue, startDate: DateValue, isDateUnavailable: DateAvailableFn, locale: string, minValue: DateValue, maxValue: DateValue): DateValue | undefined;
75
75
  declare function getPreviousAvailableDate(date: DateValue, minValue: DateValue, locale: string, isDateUnavailable?: DateAvailableFn): DateValue | undefined;
76
76
  //#endregion
@@ -1,4 +1,4 @@
1
- import { $t as getDocument, W as raf, Zt as contains, ct as addDomEvent, pt as getEventTarget, t as waitForElement, u as setStyle, un as isHTMLElement } from "./dom-query-CUb85Z22.mjs";
1
+ import { $t as getDocument, H as nextTick, W as raf, Zt as contains, ct as addDomEvent, pt as getEventTarget, t as waitForElement, u as setStyle, un as isHTMLElement } from "./dom-query-CUb85Z22.mjs";
2
2
  import { at as isFunction, i as warn } from "./utils-DSBXwmDm.mjs";
3
3
  import { t as trackInteractOutside } from "./interact-outside-xKQjln5u.mjs";
4
4
 
@@ -18,6 +18,7 @@ const LAYER_REQUEST_DISMISS_EVENT = "layer:request-dismiss";
18
18
  const layerStack = {
19
19
  layers: [],
20
20
  branches: [],
21
+ recentlyRemoved: /* @__PURE__ */ new Set(),
21
22
  count() {
22
23
  return this.layers.length;
23
24
  },
@@ -56,7 +57,9 @@ const layerStack = {
56
57
  return this.getNestedLayersByType(node, type).length;
57
58
  },
58
59
  isInNestedLayer(node, target) {
59
- return this.getNestedLayers(node).some((layer) => contains(layer.node, target));
60
+ if (this.getNestedLayers(node).some((layer) => contains(layer.node, target))) return true;
61
+ if (this.recentlyRemoved.size > 0) return true;
62
+ return false;
60
63
  },
61
64
  isInBranch(target) {
62
65
  return Array.from(this.branches).some((branch) => contains(branch, target));
@@ -71,6 +74,8 @@ const layerStack = {
71
74
  remove(node) {
72
75
  const index = this.indexOf(node);
73
76
  if (index < 0) return;
77
+ this.recentlyRemoved.add(node);
78
+ nextTick(() => this.recentlyRemoved.delete(node));
74
79
  if (index < this.count() - 1) this.getNestedLayers(node).forEach((layer) => layerStack.dismiss(layer.node, node));
75
80
  this.layers.splice(index, 1);
76
81
  this.syncLayers();
@@ -18,6 +18,7 @@ const LAYER_REQUEST_DISMISS_EVENT = "layer:request-dismiss";
18
18
  const layerStack = {
19
19
  layers: [],
20
20
  branches: [],
21
+ recentlyRemoved: /* @__PURE__ */ new Set(),
21
22
  count() {
22
23
  return this.layers.length;
23
24
  },
@@ -56,7 +57,9 @@ const layerStack = {
56
57
  return this.getNestedLayersByType(node, type).length;
57
58
  },
58
59
  isInNestedLayer(node, target) {
59
- return this.getNestedLayers(node).some((layer) => require_dom_query.contains(layer.node, target));
60
+ if (this.getNestedLayers(node).some((layer) => require_dom_query.contains(layer.node, target))) return true;
61
+ if (this.recentlyRemoved.size > 0) return true;
62
+ return false;
60
63
  },
61
64
  isInBranch(target) {
62
65
  return Array.from(this.branches).some((branch) => require_dom_query.contains(branch, target));
@@ -71,6 +74,8 @@ const layerStack = {
71
74
  remove(node) {
72
75
  const index = this.indexOf(node);
73
76
  if (index < 0) return;
77
+ this.recentlyRemoved.add(node);
78
+ require_dom_query.nextTick(() => this.recentlyRemoved.delete(node));
74
79
  if (index < this.count() - 1) this.getNestedLayers(node).forEach((layer) => layerStack.dismiss(layer.node, node));
75
80
  this.layers.splice(index, 1);
76
81
  this.syncLayers();
@@ -1,7 +1,7 @@
1
1
  require('./dom-query-xZuxOsD4.cjs');
2
2
  require('./utils-B4_qn2dt.cjs');
3
3
  require('./interact-outside-xGMuVVaa.cjs');
4
- const require_dismissable = require('./dismissable-DWJdIOtX.cjs');
4
+ const require_dismissable = require('./dismissable-D9NEAGMU.cjs');
5
5
 
6
6
  exports.trackDismissableBranch = require_dismissable.trackDismissableBranch;
7
7
  exports.trackDismissableElement = require_dismissable.trackDismissableElement;
@@ -1,6 +1,6 @@
1
1
  import "./dom-query-CUb85Z22.mjs";
2
2
  import "./utils-DSBXwmDm.mjs";
3
3
  import "./interact-outside-xKQjln5u.mjs";
4
- import { n as trackDismissableElement, t as trackDismissableBranch } from "./dismissable-CtFpYFBY.mjs";
4
+ import { n as trackDismissableElement, t as trackDismissableBranch } from "./dismissable-D0YyXTJv.mjs";
5
5
 
6
6
  export { trackDismissableBranch, trackDismissableElement };
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu6
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
4
4
 
5
5
  //#region src/machines/accordion/accordion.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "item" | "itemIndicator" | "itemTrigger" | "itemContent">;
6
+ declare const anatomy: AnatomyInstance<"item" | "itemIndicator" | "root" | "itemTrigger" | "itemContent">;
7
7
  //#endregion
8
8
  //#region src/machines/accordion/accordion.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQ
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
4
4
 
5
5
  //#region src/machines/accordion/accordion.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "item" | "itemIndicator" | "itemTrigger" | "itemContent">;
6
+ declare const anatomy: AnatomyInstance<"item" | "itemIndicator" | "root" | "itemTrigger" | "itemContent">;
7
7
  //#endregion
8
8
  //#region src/machines/accordion/accordion.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu6
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
4
4
 
5
5
  //#region src/machines/angle-slider/angle-slider.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "track" | "thumb" | "valueText" | "markerGroup" | "marker">;
6
+ declare const anatomy: AnatomyInstance<"label" | "root" | "control" | "track" | "marker" | "valueText" | "thumb" | "markerGroup">;
7
7
  //#endregion
8
8
  //#region src/machines/angle-slider/angle-slider.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQ
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
4
4
 
5
5
  //#region src/machines/angle-slider/angle-slider.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "track" | "thumb" | "valueText" | "markerGroup" | "marker">;
6
+ declare const anatomy: AnatomyInstance<"label" | "root" | "control" | "track" | "marker" | "valueText" | "thumb" | "markerGroup">;
7
7
  //#endregion
8
8
  //#region src/machines/angle-slider/angle-slider.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -5,7 +5,7 @@ const require_aria_hidden = require('../../aria-hidden-kcYiyWLo.cjs');
5
5
  const require_utils = require('../../utils-B4_qn2dt.cjs');
6
6
  const require_core = require('../../core-CsVTCpQ_.cjs');
7
7
  require('../../interact-outside-xGMuVVaa.cjs');
8
- const require_dismissable = require('../../dismissable-DWJdIOtX.cjs');
8
+ const require_dismissable = require('../../dismissable-D9NEAGMU.cjs');
9
9
  const require_focus_trap = require('../../focus-trap-DcDcihd5.cjs');
10
10
  const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
11
11
  const require_remove_scroll = require('../../remove-scroll-D5aUrYvL.cjs');
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOuts
5
5
  import { t as DismissableElementHandlers } from "../../dismissable-layer-D-7fwQL8.cjs";
6
6
 
7
7
  //#region src/machines/bottom-sheet/bottom-sheet.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "title" | "closeTrigger" | "backdrop" | "grabber" | "grabberIndicator">;
8
+ declare const anatomy: AnatomyInstance<"title" | "trigger" | "content" | "closeTrigger" | "backdrop" | "grabber" | "grabberIndicator">;
9
9
  //#endregion
10
10
  //#region src/machines/bottom-sheet/utils/drag-manager.d.ts
11
11
  declare class DragManager {
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOuts
5
5
  import { t as DismissableElementHandlers } from "../../dismissable-layer-C39y-V3t.mjs";
6
6
 
7
7
  //#region src/machines/bottom-sheet/bottom-sheet.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "title" | "closeTrigger" | "backdrop" | "grabber" | "grabberIndicator">;
8
+ declare const anatomy: AnatomyInstance<"title" | "trigger" | "content" | "closeTrigger" | "backdrop" | "grabber" | "grabberIndicator">;
9
9
  //#endregion
10
10
  //#region src/machines/bottom-sheet/utils/drag-manager.d.ts
11
11
  declare class DragManager {
@@ -5,7 +5,7 @@ import { t as ariaHidden } from "../../aria-hidden-CVIz-P9c.mjs";
5
5
  import { H as toPx, u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
6
6
  import { a as createMachine } from "../../core-CujC6Y2H.mjs";
7
7
  import "../../interact-outside-xKQjln5u.mjs";
8
- import { n as trackDismissableElement } from "../../dismissable-CtFpYFBY.mjs";
8
+ import { n as trackDismissableElement } from "../../dismissable-D0YyXTJv.mjs";
9
9
  import { t as trapFocus } from "../../focus-trap-KZbY4M-m.mjs";
10
10
  import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
11
11
  import { t as preventBodyScroll } from "../../remove-scroll-DNoftRvo.mjs";
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu6
3
3
  import { b as NormalizeProps, d as Orientation, f as OrientationProperty, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
4
4
 
5
5
  //#region src/machines/carousel/carousel.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "item" | "control" | "indicator" | "itemGroup" | "prevTrigger" | "nextTrigger" | "indicatorGroup" | "autoplayTrigger" | "progressText">;
6
+ declare const anatomy: AnatomyInstance<"item" | "root" | "control" | "indicator" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger" | "progressText">;
7
7
  //#endregion
8
8
  //#region src/machines/carousel/carousel.types.d.ts
9
9
  interface PageChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQ
3
3
  import { b as NormalizeProps, d as Orientation, f as OrientationProperty, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
4
4
 
5
5
  //#region src/machines/carousel/carousel.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "item" | "control" | "indicator" | "itemGroup" | "prevTrigger" | "nextTrigger" | "indicatorGroup" | "autoplayTrigger" | "progressText">;
6
+ declare const anatomy: AnatomyInstance<"item" | "root" | "control" | "indicator" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger" | "progressText">;
7
7
  //#endregion
8
8
  //#region src/machines/carousel/carousel.types.d.ts
9
9
  interface PageChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu6
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
4
4
 
5
5
  //#region src/machines/checkbox/checkbox.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "indicator">;
6
+ declare const anatomy: AnatomyInstance<"label" | "root" | "control" | "indicator">;
7
7
  //#endregion
8
8
  //#region src/machines/checkbox/checkbox.types.d.ts
9
9
  type CheckedState = boolean | "indeterminate";
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQ
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
4
4
 
5
5
  //#region src/machines/checkbox/checkbox.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "indicator">;
6
+ declare const anatomy: AnatomyInstance<"label" | "root" | "control" | "indicator">;
7
7
  //#endregion
8
8
  //#region src/machines/checkbox/checkbox.types.d.ts
9
9
  type CheckedState = boolean | "indeterminate";
@@ -3,7 +3,7 @@ import { p as Machine, y as Service } from "../../types-DejIu60O.cjs";
3
3
  import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
4
4
 
5
5
  //#region src/machines/clipboard/clipboard.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "trigger" | "indicator">;
6
+ declare const anatomy: AnatomyInstance<"label" | "root" | "control" | "indicator" | "input" | "trigger">;
7
7
  //#endregion
8
8
  //#region src/machines/clipboard/clipboard.types.d.ts
9
9
  interface CopyStatusDetails {
@@ -3,7 +3,7 @@ import { p as Machine, y as Service } from "../../types-DL5AIQk5.mjs";
3
3
  import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
4
4
 
5
5
  //#region src/machines/clipboard/clipboard.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "trigger" | "indicator">;
6
+ declare const anatomy: AnatomyInstance<"label" | "root" | "control" | "indicator" | "input" | "trigger">;
7
7
  //#endregion
8
8
  //#region src/machines/clipboard/clipboard.types.d.ts
9
9
  interface CopyStatusDetails {
@@ -3,7 +3,7 @@ import { p as Machine, y as Service } from "../../types-DejIu60O.cjs";
3
3
  import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
4
4
 
5
5
  //#region src/machines/collapsible/collapsible.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator">;
6
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "trigger" | "content">;
7
7
  //#endregion
8
8
  //#region src/machines/collapsible/collapsible.types.d.ts
9
9
  interface OpenChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, y as Service } from "../../types-DL5AIQk5.mjs";
3
3
  import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
4
4
 
5
5
  //#region src/machines/collapsible/collapsible.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator">;
6
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "trigger" | "content">;
7
7
  //#endregion
8
8
  //#region src/machines/collapsible/collapsible.types.d.ts
9
9
  interface OpenChangeDetails {
@@ -1,10 +1,10 @@
1
1
  const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
2
2
  const require_dom_query = require('../../dom-query-xZuxOsD4.cjs');
3
3
  const require_utils = require('../../utils-B4_qn2dt.cjs');
4
- const require_color_utils = require('../../color-utils-CLAICiIG.cjs');
4
+ const require_color_utils = require('../../color-utils-BVq_rh8L.cjs');
5
5
  const require_core = require('../../core-CsVTCpQ_.cjs');
6
6
  require('../../interact-outside-xGMuVVaa.cjs');
7
- const require_dismissable = require('../../dismissable-DWJdIOtX.cjs');
7
+ const require_dismissable = require('../../dismissable-D9NEAGMU.cjs');
8
8
  const require_popper = require('../../popper-TNUpC0Kp.cjs');
9
9
  const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
10
10
 
@@ -929,12 +929,18 @@ function prefixHex(value) {
929
929
  //#endregion
930
930
  //#region src/machines/color-picker/color-picker.machine.ts
931
931
  const { and } = require_core.createGuards();
932
+ const hashObject = (obj) => {
933
+ let hash = "";
934
+ for (const key in obj) hash += `${key}:${obj[key] ?? ""};`;
935
+ return hash;
936
+ };
937
+ const DEFAULT_COLOR = parse("#000000");
932
938
  const machine = require_core.createMachine({
933
939
  props({ props: props$1 }) {
934
940
  return {
935
941
  dir: "ltr",
936
- defaultValue: parse("#000000"),
937
- defaultFormat: "rgba",
942
+ defaultValue: DEFAULT_COLOR,
943
+ defaultFormat: (props$1.value ?? props$1.defaultValue ?? DEFAULT_COLOR).getFormat(),
938
944
  openAutoFocus: true,
939
945
  ...props$1,
940
946
  positioning: {
@@ -952,17 +958,16 @@ const machine = require_core.createMachine({
952
958
  defaultValue: prop("defaultValue"),
953
959
  value: prop("value"),
954
960
  isEqual(a, b) {
955
- return a.toString("css") === b?.toString("css");
961
+ return b != null && a.isEqual(b);
956
962
  },
957
963
  hash(a) {
958
- return a.toString("css");
964
+ return hashObject(a.toJSON());
959
965
  },
960
966
  onChange(value) {
961
- const ctx = getContext();
962
- const valueAsString = value.toString(ctx.get("format"));
967
+ const format = getContext().get("format");
963
968
  prop("onValueChange")?.({
964
969
  value,
965
- valueAsString
970
+ valueAsString: value.toString(format)
966
971
  });
967
972
  }
968
973
  })),
@@ -997,7 +1002,7 @@ const machine = require_core.createMachine({
997
1002
  action(["syncInputElements", "dispatchChangeEvent"]);
998
1003
  });
999
1004
  track([() => context.get("format")], () => {
1000
- action(["syncFormatSelectElement"]);
1005
+ action(["syncFormatSelectElement", "syncValueWithFormat"]);
1001
1006
  });
1002
1007
  track([() => prop("open")], () => {
1003
1008
  action(["toggleVisibility"]);
@@ -1428,6 +1433,12 @@ const machine = require_core.createMachine({
1428
1433
  syncFormatSelectElement({ context, scope }) {
1429
1434
  syncFormatSelect(scope, context.get("format"));
1430
1435
  },
1436
+ syncValueWithFormat({ context }) {
1437
+ const value = context.get("value");
1438
+ const newValue = value.toFormat(context.get("format"));
1439
+ if (newValue.isEqual(value)) return;
1440
+ context.set("value", newValue);
1441
+ },
1431
1442
  invokeOnOpen({ prop, context }) {
1432
1443
  if (prop("inline")) return;
1433
1444
  prop("onOpenChange")?.({
@@ -1,12 +1,12 @@
1
1
  import { t as Anatomy } from "../../create-anatomy-smWrirg1.cjs";
2
- import { a as ColorFormat, n as ColorAxes, r as ColorChannel, s as ColorType, t as Color } from "../../color-_pKYh-E2.cjs";
2
+ import { a as ColorFormat, n as ColorAxes, r as ColorChannel, s as ColorType, t as Color } from "../../color-Bj20c2qw.cjs";
3
3
  import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu60O.cjs";
4
4
  import { b as NormalizeProps, d as Orientation, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
5
5
  import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-C9-feK5c.cjs";
6
6
  import { d as PositioningOptions } from "../../types-D5ziaMrd.cjs";
7
7
 
8
8
  //#region src/machines/color-picker/color-picker.anatomy.d.ts
9
- declare const anatomy: Anatomy<"root" | "label" | "control" | "area" | "trigger" | "content" | "valueText" | "positioner" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect">;
9
+ declare const anatomy: Anatomy<"label" | "root" | "control" | "area" | "valueText" | "trigger" | "content" | "positioner" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect">;
10
10
  //#endregion
11
11
  //#region src/machines/color-picker/color-picker.types.d.ts
12
12
  type ExtendedColorChannel = ColorChannel | "hex" | "css";
@@ -1,12 +1,12 @@
1
1
  import { t as Anatomy } from "../../create-anatomy-DHVOqZET.mjs";
2
- import { a as ColorFormat, n as ColorAxes, r as ColorChannel, s as ColorType, t as Color } from "../../color-CIaXnwJx.mjs";
2
+ import { a as ColorFormat, n as ColorAxes, r as ColorChannel, s as ColorType, t as Color } from "../../color-Bcy-SLQ1.mjs";
3
3
  import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQk5.mjs";
4
4
  import { b as NormalizeProps, d as Orientation, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
5
5
  import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-Bvn6ocEE.mjs";
6
6
  import { p as PositioningOptions } from "../../index-BTi1wETB.mjs";
7
7
 
8
8
  //#region src/machines/color-picker/color-picker.anatomy.d.ts
9
- declare const anatomy: Anatomy<"root" | "label" | "control" | "area" | "trigger" | "content" | "valueText" | "positioner" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect">;
9
+ declare const anatomy: Anatomy<"label" | "root" | "control" | "area" | "valueText" | "trigger" | "content" | "positioner" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect">;
10
10
  //#endregion
11
11
  //#region src/machines/color-picker/color-picker.types.d.ts
12
12
  type ExtendedColorChannel = ColorChannel | "hex" | "css";
@@ -1,10 +1,10 @@
1
1
  import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
2
2
  import { A as getRelativePoint, C as queryAll, D as disableTextSelection, E as trackPointerMove, G as getInitialFocus, S as query, W as raf, a as visuallyHiddenStyle, bt as isLeftClick, dt as getEventPoint, ft as getEventStep, it as dispatchInputValueEvent, ot as setElementValue, st as trackFormControl, ut as getEventKey, xt as isModifierKey, yn as dataAttr } from "../../dom-query-CUb85Z22.mjs";
3
3
  import { $ as tryCatch, u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
4
- import { i as getColorAreaGradient, n as parseColor, t as normalizeColor } from "../../color-utils-BUIU6o8a.mjs";
4
+ import { i as getColorAreaGradient, n as parseColor, t as normalizeColor } from "../../color-utils-BekVyYIJ.mjs";
5
5
  import { a as createMachine, i as createGuards } from "../../core-CujC6Y2H.mjs";
6
6
  import "../../interact-outside-xKQjln5u.mjs";
7
- import { n as trackDismissableElement } from "../../dismissable-CtFpYFBY.mjs";
7
+ import { n as trackDismissableElement } from "../../dismissable-D0YyXTJv.mjs";
8
8
  import { n as getPlacement, t as getPlacementStyles } from "../../popper-DbfXVgrC.mjs";
9
9
  import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
10
10
 
@@ -929,12 +929,18 @@ function prefixHex(value) {
929
929
  //#endregion
930
930
  //#region src/machines/color-picker/color-picker.machine.ts
931
931
  const { and } = createGuards();
932
+ const hashObject = (obj) => {
933
+ let hash = "";
934
+ for (const key in obj) hash += `${key}:${obj[key] ?? ""};`;
935
+ return hash;
936
+ };
937
+ const DEFAULT_COLOR = parse("#000000");
932
938
  const machine = createMachine({
933
939
  props({ props: props$1 }) {
934
940
  return {
935
941
  dir: "ltr",
936
- defaultValue: parse("#000000"),
937
- defaultFormat: "rgba",
942
+ defaultValue: DEFAULT_COLOR,
943
+ defaultFormat: (props$1.value ?? props$1.defaultValue ?? DEFAULT_COLOR).getFormat(),
938
944
  openAutoFocus: true,
939
945
  ...props$1,
940
946
  positioning: {
@@ -952,17 +958,16 @@ const machine = createMachine({
952
958
  defaultValue: prop("defaultValue"),
953
959
  value: prop("value"),
954
960
  isEqual(a, b) {
955
- return a.toString("css") === b?.toString("css");
961
+ return b != null && a.isEqual(b);
956
962
  },
957
963
  hash(a) {
958
- return a.toString("css");
964
+ return hashObject(a.toJSON());
959
965
  },
960
966
  onChange(value) {
961
- const ctx = getContext();
962
- const valueAsString = value.toString(ctx.get("format"));
967
+ const format = getContext().get("format");
963
968
  prop("onValueChange")?.({
964
969
  value,
965
- valueAsString
970
+ valueAsString: value.toString(format)
966
971
  });
967
972
  }
968
973
  })),
@@ -997,7 +1002,7 @@ const machine = createMachine({
997
1002
  action(["syncInputElements", "dispatchChangeEvent"]);
998
1003
  });
999
1004
  track([() => context.get("format")], () => {
1000
- action(["syncFormatSelectElement"]);
1005
+ action(["syncFormatSelectElement", "syncValueWithFormat"]);
1001
1006
  });
1002
1007
  track([() => prop("open")], () => {
1003
1008
  action(["toggleVisibility"]);
@@ -1428,6 +1433,12 @@ const machine = createMachine({
1428
1433
  syncFormatSelectElement({ context, scope }) {
1429
1434
  syncFormatSelect(scope, context.get("format"));
1430
1435
  },
1436
+ syncValueWithFormat({ context }) {
1437
+ const value = context.get("value");
1438
+ const newValue = value.toFormat(context.get("format"));
1439
+ if (newValue.isEqual(value)) return;
1440
+ context.set("value", newValue);
1441
+ },
1431
1442
  invokeOnOpen({ prop, context }) {
1432
1443
  if (prop("inline")) return;
1433
1444
  prop("onOpenChange")?.({
@@ -4,7 +4,7 @@ const require_utils = require('../../utils-B4_qn2dt.cjs');
4
4
  const require_collection = require('../../collection-Q52RkxUe.cjs');
5
5
  const require_core = require('../../core-CsVTCpQ_.cjs');
6
6
  require('../../interact-outside-xGMuVVaa.cjs');
7
- const require_dismissable = require('../../dismissable-DWJdIOtX.cjs');
7
+ const require_dismissable = require('../../dismissable-D9NEAGMU.cjs');
8
8
  const require_popper = require('../../popper-TNUpC0Kp.cjs');
9
9
  const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
10
10