@sprawlify/primitives 0.0.29 → 0.0.31

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 (89) hide show
  1. package/dist/collection.d.cts +2 -2
  2. package/dist/collection.d.mts +2 -2
  3. package/dist/date-utils.d.mts +1 -1
  4. package/dist/dom-query.d.cts +1 -1
  5. package/dist/dom-query.d.mts +1 -1
  6. package/dist/{index-WoOkKhP-.d.mts → index-DYzqCFaj.d.mts} +5 -5
  7. package/dist/{list-collection-BslnP0r-.d.cts → list-collection-BvMwDNHf.d.cts} +1 -1
  8. package/dist/{list-collection-swuCMCIS.d.mts → list-collection-CTt1eong.d.mts} +1 -1
  9. package/dist/machines/accordion/index.d.cts +1 -1
  10. package/dist/machines/accordion/index.d.mts +1 -1
  11. package/dist/machines/angle-slider/index.d.cts +1 -1
  12. package/dist/machines/angle-slider/index.d.mts +1 -1
  13. package/dist/machines/bottom-sheet/index.d.cts +1 -1
  14. package/dist/machines/bottom-sheet/index.d.mts +1 -1
  15. package/dist/machines/carousel/index.d.cts +1 -1
  16. package/dist/machines/carousel/index.d.mts +1 -1
  17. package/dist/machines/clipboard/index.d.cts +1 -1
  18. package/dist/machines/clipboard/index.d.mts +1 -1
  19. package/dist/machines/collapsible/index.d.cts +1 -1
  20. package/dist/machines/collapsible/index.d.mts +1 -1
  21. package/dist/machines/color-picker/index.d.cts +1 -1
  22. package/dist/machines/color-picker/index.d.mts +1 -1
  23. package/dist/machines/combobox/index.d.cts +2 -2
  24. package/dist/machines/combobox/index.d.mts +2 -2
  25. package/dist/machines/date-picker/index.cjs +12 -1
  26. package/dist/machines/date-picker/index.d.cts +10 -2
  27. package/dist/machines/date-picker/index.d.mts +11 -3
  28. package/dist/machines/date-picker/index.mjs +12 -1
  29. package/dist/machines/dialog/index.d.cts +1 -1
  30. package/dist/machines/dialog/index.d.mts +1 -1
  31. package/dist/machines/editable/index.d.cts +1 -1
  32. package/dist/machines/editable/index.d.mts +1 -1
  33. package/dist/machines/file-upload/index.d.cts +1 -1
  34. package/dist/machines/file-upload/index.d.mts +1 -1
  35. package/dist/machines/floating-panel/index.d.cts +1 -1
  36. package/dist/machines/floating-panel/index.d.mts +1 -1
  37. package/dist/machines/hover-card/index.d.cts +1 -1
  38. package/dist/machines/hover-card/index.d.mts +1 -1
  39. package/dist/machines/image-cropper/index.d.cts +1 -1
  40. package/dist/machines/image-cropper/index.d.mts +1 -1
  41. package/dist/machines/listbox/index.d.cts +3 -3
  42. package/dist/machines/listbox/index.d.mts +3 -3
  43. package/dist/machines/marquee/index.d.cts +3 -3
  44. package/dist/machines/marquee/index.d.mts +3 -3
  45. package/dist/machines/menu/index.d.cts +1 -1
  46. package/dist/machines/menu/index.d.mts +1 -1
  47. package/dist/machines/navigation-menu/index.d.cts +1 -1
  48. package/dist/machines/navigation-menu/index.d.mts +1 -1
  49. package/dist/machines/number-input/index.d.cts +1 -1
  50. package/dist/machines/number-input/index.d.mts +1 -1
  51. package/dist/machines/password-input/index.d.cts +1 -1
  52. package/dist/machines/password-input/index.d.mts +1 -1
  53. package/dist/machines/pin-input/index.d.cts +1 -1
  54. package/dist/machines/pin-input/index.d.mts +1 -1
  55. package/dist/machines/popover/index.d.cts +1 -1
  56. package/dist/machines/popover/index.d.mts +1 -1
  57. package/dist/machines/qr-code/index.d.cts +1 -1
  58. package/dist/machines/qr-code/index.d.mts +1 -1
  59. package/dist/machines/scroll-area/index.d.cts +1 -1
  60. package/dist/machines/scroll-area/index.d.mts +1 -1
  61. package/dist/machines/select/index.d.cts +2 -2
  62. package/dist/machines/select/index.d.mts +2 -2
  63. package/dist/machines/signature-pad/index.d.cts +1 -1
  64. package/dist/machines/signature-pad/index.d.mts +1 -1
  65. package/dist/machines/slider/index.cjs +117 -7
  66. package/dist/machines/slider/index.d.cts +5 -2
  67. package/dist/machines/slider/index.d.mts +5 -2
  68. package/dist/machines/slider/index.mjs +117 -7
  69. package/dist/machines/splitter/index.d.cts +1 -1
  70. package/dist/machines/splitter/index.d.mts +1 -1
  71. package/dist/machines/steps/index.d.cts +1 -1
  72. package/dist/machines/steps/index.d.mts +1 -1
  73. package/dist/machines/switch/index.d.cts +1 -1
  74. package/dist/machines/switch/index.d.mts +1 -1
  75. package/dist/machines/tabs/index.d.cts +1 -1
  76. package/dist/machines/tabs/index.d.mts +1 -1
  77. package/dist/machines/tags-input/index.d.cts +1 -1
  78. package/dist/machines/tags-input/index.d.mts +1 -1
  79. package/dist/machines/timer/index.d.cts +1 -1
  80. package/dist/machines/timer/index.d.mts +1 -1
  81. package/dist/machines/tooltip/index.d.cts +1 -1
  82. package/dist/machines/tooltip/index.d.mts +1 -1
  83. package/dist/machines/tour/index.d.cts +1 -1
  84. package/dist/machines/tour/index.d.mts +1 -1
  85. package/dist/machines/tree-view/index.d.cts +1 -1
  86. package/dist/machines/tree-view/index.d.mts +1 -1
  87. package/dist/{selection-CIoBu9mp.d.mts → selection-JDFmyke7.d.mts} +1 -1
  88. package/dist/{selection-DTpiPgq8.d.cts → selection-vng1guNc.d.cts} +1 -1
  89. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { a as CollectionSearchState, c as FlatTreeNode, d as TreeCollectionMethods, f as TreeCollectionOptions, g as ValuePath, i as CollectionSearchOptions, l as FlatTreeNodeMeta, m as TreeSkipFn, n as CollectionMethods, p as TreeNode, r as CollectionOptions, s as FilePathTreeNode, t as CollectionItem, u as IndexPath } from "./types-CADkcKtr.cjs";
2
- import { n as isListCollection, t as ListCollection } from "./list-collection-BslnP0r-.cjs";
3
- import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-DTpiPgq8.cjs";
2
+ import { n as isListCollection, t as ListCollection } from "./list-collection-BvMwDNHf.cjs";
3
+ import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-vng1guNc.cjs";
4
4
  import { n as filePathToTree, r as flattenedToTree, t as TreeCollection } from "./tree-collection-Dlv1BAsc.cjs";
5
5
  export { CollectionItem, CollectionMethods, CollectionOptions, CollectionSearchOptions, CollectionSearchState, FilePathTreeNode, FlatTreeNode, FlatTreeNodeMeta, GridCollection, GridCollectionOptions, IndexPath, ListCollection, Selection, SelectionMode, TreeCollection, TreeCollectionMethods, TreeCollectionOptions, TreeNode, TreeSkipFn, ValuePath, filePathToTree, flattenedToTree, isGridCollection, isListCollection };
@@ -1,5 +1,5 @@
1
1
  import { a as CollectionSearchState, c as FlatTreeNode, d as TreeCollectionMethods, f as TreeCollectionOptions, g as ValuePath, i as CollectionSearchOptions, l as FlatTreeNodeMeta, m as TreeSkipFn, n as CollectionMethods, p as TreeNode, r as CollectionOptions, s as FilePathTreeNode, t as CollectionItem, u as IndexPath } from "./types-Df8ZhdY-.mjs";
2
- import { n as isListCollection, t as ListCollection } from "./list-collection-swuCMCIS.mjs";
3
- import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-CIoBu9mp.mjs";
2
+ import { n as isListCollection, t as ListCollection } from "./list-collection-CTt1eong.mjs";
3
+ import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-JDFmyke7.mjs";
4
4
  import { n as filePathToTree, r as flattenedToTree, t as TreeCollection } from "./tree-collection-DYIVkVee.mjs";
5
5
  export { CollectionItem, CollectionMethods, CollectionOptions, CollectionSearchOptions, CollectionSearchState, FilePathTreeNode, FlatTreeNode, FlatTreeNodeMeta, GridCollection, GridCollectionOptions, IndexPath, ListCollection, Selection, SelectionMode, TreeCollection, TreeCollectionMethods, TreeCollectionOptions, TreeNode, TreeSkipFn, ValuePath, filePathToTree, flattenedToTree, isGridCollection, isListCollection };
@@ -1,2 +1,2 @@
1
- import { A as getMonthFormatter, B as constrainValue, C as getEndOfWeek, D as getWeekDays, E as getStartOfWeek, F as getUnitDuration, G as isPreviousRangeInvalid, H as isDateOutsideRange, I as alignCenter, J as DateAdjustFn, K as alignDate, L as alignEnd, M as formatSelectedDate, N as formatVisibleRange, O as getWeekdayFormats, P as getEndDate, R as alignStart, S as getDaysInWeek, T as getMonthNames, U as isDateUnavailable, V as isDateEqual, W as isNextRangeInvalid, X as DateRangePreset, Y as DateGranularity, _ as setDate, a as getAdjustedDateFn, b as getYearsRange, c as getNextSection, d as getPreviousSection, f as getSectionEnd, g as setCalendar, h as getTodayDate, i as AdjustDateReturn, j as formatRange, k as getDayFormatter, l as getPreviousPage, m as getPreviousAvailableDate, n as parseDateString, o as getNextPage, p as getSectionStart, q as alignStartDate, r as AdjustDateParams, s as getNextRow, t as getDateRangePreset, u as getPreviousRow, v as YearsRange, w as getMonthDays, x as normalizeYear, y as getDecadeRange, z as constrainStart } from "./index-WoOkKhP-.mjs";
1
+ import { A as getMonthFormatter, B as constrainValue, C as getEndOfWeek, D as getWeekDays, E as getStartOfWeek, F as getUnitDuration, G as isPreviousRangeInvalid, H as isDateOutsideRange, I as alignCenter, J as DateAdjustFn, K as alignDate, L as alignEnd, M as formatSelectedDate, N as formatVisibleRange, O as getWeekdayFormats, P as getEndDate, R as alignStart, S as getDaysInWeek, T as getMonthNames, U as isDateUnavailable, V as isDateEqual, W as isNextRangeInvalid, X as DateRangePreset, Y as DateGranularity, _ as setDate, a as getAdjustedDateFn, b as getYearsRange, c as getNextSection, d as getPreviousSection, f as getSectionEnd, g as setCalendar, h as getTodayDate, i as AdjustDateReturn, j as formatRange, k as getDayFormatter, l as getPreviousPage, m as getPreviousAvailableDate, n as parseDateString, o as getNextPage, p as getSectionStart, q as alignStartDate, r as AdjustDateParams, s as getNextRow, t as getDateRangePreset, u as getPreviousRow, v as YearsRange, w as getMonthDays, x as normalizeYear, y as getDecadeRange, z as constrainStart } from "./index-DYzqCFaj.mjs";
2
2
  export { AdjustDateParams, AdjustDateReturn, DateAdjustFn, DateGranularity, DateRangePreset, YearsRange, alignCenter, alignDate, alignEnd, alignStart, alignStartDate, constrainStart, constrainValue, formatRange, formatSelectedDate, formatVisibleRange, getAdjustedDateFn, getDateRangePreset, getDayFormatter, getDaysInWeek, getDecadeRange, getEndDate, getEndOfWeek, getMonthDays, getMonthFormatter, getMonthNames, getNextPage, getNextRow, getNextSection, getPreviousAvailableDate, getPreviousPage, getPreviousRow, getPreviousSection, getSectionEnd, getSectionStart, getStartOfWeek, getTodayDate, getUnitDuration, getWeekDays, getWeekdayFormats, getYearsRange, isDateEqual, isDateOutsideRange, isDateUnavailable, isNextRangeInvalid, isPreviousRangeInvalid, normalizeYear, parseDateString, setCalendar, setDate };
@@ -57,7 +57,7 @@ declare const isModifierKey: (e: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "al
57
57
  declare const isTouchEvent: (event: AnyPointerEvent) => event is TouchEvent;
58
58
  declare function getEventKey(event: Pick<KeyboardEvent, "key">, options?: EventKeyOptions): string;
59
59
  declare function getNativeEvent<E>(event: E): NativeEvent<E>;
60
- declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 1 | 10 | 0.1;
60
+ declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 10 | 1 | 0.1;
61
61
  declare function getEventPoint(event: any, type?: "page" | "client"): {
62
62
  x: number;
63
63
  y: number;
@@ -57,7 +57,7 @@ declare const isModifierKey: (e: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "al
57
57
  declare const isTouchEvent: (event: AnyPointerEvent) => event is TouchEvent;
58
58
  declare function getEventKey(event: Pick<KeyboardEvent, "key">, options?: EventKeyOptions): string;
59
59
  declare function getNativeEvent<E>(event: E): NativeEvent<E>;
60
- declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 1 | 10 | 0.1;
60
+ declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 10 | 1 | 0.1;
61
61
  declare function getEventPoint(event: any, type?: "page" | "client"): {
62
62
  x: number;
63
63
  y: number;
@@ -1,4 +1,4 @@
1
- import * as _internationalized_date1 from "@internationalized/date";
1
+ import * as _internationalized_date0 from "@internationalized/date";
2
2
  import { Calendar, DateDuration, DateFormatter, DateValue } from "@internationalized/date";
3
3
 
4
4
  //#region src/shared/date-utils/types.d.ts
@@ -40,7 +40,7 @@ declare function getUnitDuration(duration: DateDuration): {
40
40
  weeks?: number;
41
41
  days?: number;
42
42
  };
43
- declare function getEndDate(startDate: DateValue, duration: DateDuration): _internationalized_date1.CalendarDate | _internationalized_date1.CalendarDateTime | _internationalized_date1.ZonedDateTime;
43
+ declare function getEndDate(startDate: DateValue, duration: DateDuration): _internationalized_date0.CalendarDate | _internationalized_date0.CalendarDateTime | _internationalized_date0.ZonedDateTime;
44
44
  //#endregion
45
45
  //#region src/shared/date-utils/format.d.ts
46
46
  declare function formatRange(startDate: DateValue, endDate: DateValue, formatter: DateFormatter, toString: (start: string, end: string) => string, timeZone: string): string;
@@ -63,7 +63,7 @@ declare function getWeekdayFormats(locale: string, timeZone: string): <T extends
63
63
  narrow: string;
64
64
  };
65
65
  declare function getWeekDays(date: DateValue, startOfWeekProp: number | undefined, timeZone: string, locale: string): {
66
- value: _internationalized_date1.CalendarDate | _internationalized_date1.CalendarDateTime | _internationalized_date1.ZonedDateTime;
66
+ value: _internationalized_date0.CalendarDate | _internationalized_date0.CalendarDateTime | _internationalized_date0.ZonedDateTime;
67
67
  short: string;
68
68
  long: string;
69
69
  narrow: string;
@@ -82,8 +82,8 @@ declare function getDecadeRange(year: number, opts?: {
82
82
  }): number[];
83
83
  //#endregion
84
84
  //#region src/shared/date-utils/mutation.d.ts
85
- declare function getTodayDate(timeZone?: string): _internationalized_date1.CalendarDate;
86
- declare function setCalendar(date: DateValue, calendar: Calendar): _internationalized_date1.CalendarDateTime;
85
+ declare function getTodayDate(timeZone?: string): _internationalized_date0.CalendarDate;
86
+ declare function setCalendar(date: DateValue, calendar: Calendar): _internationalized_date0.CalendarDateTime;
87
87
  declare function setDate(date: DateValue, startDate: DateValue, isDateUnavailable: DateAvailableFn, locale: string, minValue: DateValue, maxValue: DateValue): DateValue | undefined;
88
88
  declare function getPreviousAvailableDate(date: DateValue, minValue: DateValue, locale: string, isDateUnavailable?: DateAvailableFn): DateValue | undefined;
89
89
  //#endregion
@@ -46,7 +46,7 @@ declare class ListCollection<T extends CollectionItem = CollectionItem> {
46
46
  moveBefore: (value: string, ...values: string[]) => ListCollection<T>;
47
47
  moveAfter: (value: string, ...values: string[]) => ListCollection<T>;
48
48
  reorder: (fromIndex: number, toIndex: number) => ListCollection<T>;
49
- compareValue: (a: string, b: string) => 1 | 0 | -1;
49
+ compareValue: (a: string, b: string) => 0 | 1 | -1;
50
50
  private range;
51
51
  getValueRange: (from: string | null, to: string | null) => string[];
52
52
  toString: () => string;
@@ -46,7 +46,7 @@ declare class ListCollection<T extends CollectionItem = CollectionItem> {
46
46
  moveBefore: (value: string, ...values: string[]) => ListCollection<T>;
47
47
  moveAfter: (value: string, ...values: string[]) => ListCollection<T>;
48
48
  reorder: (fromIndex: number, toIndex: number) => ListCollection<T>;
49
- compareValue: (a: string, b: string) => 1 | 0 | -1;
49
+ compareValue: (a: string, b: string) => 0 | 1 | -1;
50
50
  private range;
51
51
  getValueRange: (from: string | null, to: string | null) => string[];
52
52
  toString: () => string;
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-BIy26U
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-UNyqrBDu.cjs";
4
4
 
5
5
  //#region src/machines/accordion/accordion.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "item" | "itemIndicator" | "itemContent" | "itemTrigger">;
6
+ declare const anatomy: AnatomyInstance<"root" | "item" | "itemIndicator" | "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-jyV564
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVcPBg7R.mjs";
4
4
 
5
5
  //#region src/machines/accordion/accordion.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "item" | "itemIndicator" | "itemContent" | "itemTrigger">;
6
+ declare const anatomy: AnatomyInstance<"root" | "item" | "itemIndicator" | "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-BIy26U
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-UNyqrBDu.cjs";
4
4
 
5
5
  //#region src/machines/angle-slider/angle-slider.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "thumb" | "valueText" | "control" | "track" | "markerGroup" | "marker">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "valueText" | "control" | "track" | "thumb" | "markerGroup" | "marker">;
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-jyV564
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVcPBg7R.mjs";
4
4
 
5
5
  //#region src/machines/angle-slider/angle-slider.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "thumb" | "valueText" | "control" | "track" | "markerGroup" | "marker">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "valueText" | "control" | "track" | "thumb" | "markerGroup" | "marker">;
7
7
  //#endregion
8
8
  //#region src/machines/angle-slider/angle-slider.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOuts
5
5
  import { t as DismissableElementHandlers } from "../../dismissable-layer-DmvOBneO.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<"trigger" | "title" | "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-xYn_dIUQ.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<"trigger" | "title" | "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 {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-BIy26U
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-UNyqrBDu.cjs";
4
4
 
5
5
  //#region src/machines/carousel/carousel.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "control" | "itemGroup" | "item" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "indicator" | "autoplayTrigger" | "progressText">;
6
+ declare const anatomy: AnatomyInstance<"root" | "control" | "item" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "indicator" | "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-jyV564
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-BVcPBg7R.mjs";
4
4
 
5
5
  //#region src/machines/carousel/carousel.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "control" | "itemGroup" | "item" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "indicator" | "autoplayTrigger" | "progressText">;
6
+ declare const anatomy: AnatomyInstance<"root" | "control" | "item" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "indicator" | "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, y as Service } from "../../types-BIy26Uwn.cjs";
3
3
  import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-UNyqrBDu.cjs";
4
4
 
5
5
  //#region src/machines/clipboard/clipboard.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "indicator" | "trigger" | "input">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "trigger" | "indicator">;
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-jyV564Ip.mjs";
3
3
  import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-BVcPBg7R.mjs";
4
4
 
5
5
  //#region src/machines/clipboard/clipboard.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "indicator" | "trigger" | "input">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "trigger" | "indicator">;
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-BIy26Uwn.cjs";
3
3
  import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-UNyqrBDu.cjs";
4
4
 
5
5
  //#region src/machines/collapsible/collapsible.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "indicator" | "trigger" | "content">;
6
+ declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator">;
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-jyV564Ip.mjs";
3
3
  import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVcPBg7R.mjs";
4
4
 
5
5
  //#region src/machines/collapsible/collapsible.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "indicator" | "trigger" | "content">;
6
+ declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator">;
7
7
  //#endregion
8
8
  //#region src/machines/collapsible/collapsible.types.d.ts
9
9
  interface OpenChangeDetails {
@@ -6,7 +6,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
6
6
  import { d as PositioningOptions } from "../../types-TUsgVjZA.cjs";
7
7
 
8
8
  //#region src/machines/color-picker/color-picker.anatomy.d.ts
9
- declare const anatomy: Anatomy<"root" | "label" | "valueText" | "control" | "trigger" | "content" | "area" | "positioner" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect">;
9
+ declare const anatomy: Anatomy<"root" | "label" | "valueText" | "control" | "trigger" | "area" | "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";
@@ -6,7 +6,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
6
6
  import { p as PositioningOptions } from "../../index-BlM1bSkX.mjs";
7
7
 
8
8
  //#region src/machines/color-picker/color-picker.anatomy.d.ts
9
- declare const anatomy: Anatomy<"root" | "label" | "valueText" | "control" | "trigger" | "content" | "area" | "positioner" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect">;
9
+ declare const anatomy: Anatomy<"root" | "label" | "valueText" | "control" | "trigger" | "area" | "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,13 +1,13 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-smWrirg1.cjs";
2
2
  import { r as CollectionOptions, t as CollectionItem } from "../../types-CADkcKtr.cjs";
3
- import { t as ListCollection } from "../../list-collection-BslnP0r-.cjs";
3
+ import { t as ListCollection } from "../../list-collection-BvMwDNHf.cjs";
4
4
  import { p as Machine, u as EventObject, y as Service } from "../../types-BIy26Uwn.cjs";
5
5
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-UNyqrBDu.cjs";
6
6
  import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-DFiQyzeW.cjs";
7
7
  import { c as Placement, d as PositioningOptions } from "../../types-TUsgVjZA.cjs";
8
8
 
9
9
  //#region src/machines/combobox/combobox.anatomy.d.ts
10
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "itemGroup" | "item" | "list" | "trigger" | "content" | "input" | "itemIndicator" | "itemText" | "positioner" | "clearTrigger" | "itemGroupLabel">;
10
+ declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "item" | "itemGroup" | "trigger" | "clearTrigger" | "content" | "itemIndicator" | "itemText" | "list" | "positioner" | "itemGroupLabel">;
11
11
  //#endregion
12
12
  //#region src/machines/combobox/combobox.collection.d.ts
13
13
  declare const collection: {
@@ -1,13 +1,13 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-DHVOqZET.mjs";
2
2
  import { r as CollectionOptions, t as CollectionItem } from "../../types-Df8ZhdY-.mjs";
3
- import { t as ListCollection } from "../../list-collection-swuCMCIS.mjs";
3
+ import { t as ListCollection } from "../../list-collection-CTt1eong.mjs";
4
4
  import { p as Machine, u as EventObject, y as Service } from "../../types-jyV564Ip.mjs";
5
5
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVcPBg7R.mjs";
6
6
  import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-9OlOKr2i.mjs";
7
7
  import { p as PositioningOptions, u as Placement } from "../../index-BlM1bSkX.mjs";
8
8
 
9
9
  //#region src/machines/combobox/combobox.anatomy.d.ts
10
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "itemGroup" | "item" | "list" | "trigger" | "content" | "input" | "itemIndicator" | "itemText" | "positioner" | "clearTrigger" | "itemGroupLabel">;
10
+ declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "item" | "itemGroup" | "trigger" | "clearTrigger" | "content" | "itemIndicator" | "itemText" | "list" | "positioner" | "itemGroupLabel">;
11
11
  //#endregion
12
12
  //#region src/machines/combobox/combobox.collection.d.ts
13
13
  declare const collection: {
@@ -1223,7 +1223,11 @@ const machine = require_core.createMachine({
1223
1223
  ]);
1224
1224
  });
1225
1225
  track([() => context.hash("startValue")], () => {
1226
- action(["syncMonthSelectElement", "syncYearSelectElement"]);
1226
+ action([
1227
+ "syncMonthSelectElement",
1228
+ "syncYearSelectElement",
1229
+ "invokeOnVisibleRangeChange"
1230
+ ]);
1227
1231
  });
1228
1232
  track([() => context.get("inputValue")], () => {
1229
1233
  action(["syncInputValue"]);
@@ -2049,6 +2053,12 @@ const machine = require_core.createMachine({
2049
2053
  value: context.get("value")
2050
2054
  });
2051
2055
  },
2056
+ invokeOnVisibleRangeChange({ prop, context, computed }) {
2057
+ prop("onVisibleRangeChange")?.({
2058
+ view: context.get("view"),
2059
+ visibleRange: computed("visibleRange")
2060
+ });
2061
+ },
2052
2062
  toggleVisibility({ event, send, prop }) {
2053
2063
  send({
2054
2064
  type: prop("open") ? "CONTROLLED.OPEN" : "CONTROLLED.CLOSE",
@@ -2120,6 +2130,7 @@ const props = require_create_props.createProps()([
2120
2130
  "onOpenChange",
2121
2131
  "onValueChange",
2122
2132
  "onViewChange",
2133
+ "onVisibleRangeChange",
2123
2134
  "open",
2124
2135
  "defaultOpen",
2125
2136
  "positioning",
@@ -8,7 +8,7 @@ import { c as Placement, d as PositioningOptions } from "../../types-TUsgVjZA.cj
8
8
  import { Calendar, CalendarDate, CalendarDateTime, DateDuration, DateFormatter, DateValue, DateValue as DateValue$1, ZonedDateTime } from "@internationalized/date";
9
9
 
10
10
  //#region src/machines/date-picker/date-picker.anatomy.d.ts
11
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "nextTrigger" | "prevTrigger" | "trigger" | "content" | "input" | "table" | "view" | "positioner" | "clearTrigger" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
11
+ declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "trigger" | "clearTrigger" | "table" | "view" | "content" | "nextTrigger" | "prevTrigger" | "positioner" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
12
12
  //#endregion
13
13
  //#region src/machines/date-picker/date-picker.types.d.ts
14
14
  type DateView = "day" | "month" | "year";
@@ -24,6 +24,13 @@ interface FocusChangeDetails extends ValueChangeDetails {
24
24
  interface ViewChangeDetails {
25
25
  view: DateView;
26
26
  }
27
+ interface VisibleRangeChangeDetails {
28
+ view: DateView;
29
+ visibleRange: {
30
+ start: DateValue;
31
+ end: DateValue;
32
+ };
33
+ }
27
34
  interface OpenChangeDetails {
28
35
  open: boolean;
29
36
  value: DateValue[];
@@ -94,6 +101,7 @@ interface DatePickerProps extends DirectionProperty, CommonProperties {
94
101
  onValueChange?: ((details: ValueChangeDetails) => void) | undefined;
95
102
  onFocusChange?: ((details: FocusChangeDetails) => void) | undefined;
96
103
  onViewChange?: ((details: ViewChangeDetails) => void) | undefined;
104
+ onVisibleRangeChange?: ((details: VisibleRangeChangeDetails) => void) | undefined;
97
105
  onOpenChange?: ((details: OpenChangeDetails) => void) | undefined;
98
106
  isDateUnavailable?: ((date: DateValue, locale: string) => boolean) | undefined;
99
107
  selectionMode?: SelectionMode | undefined;
@@ -347,4 +355,4 @@ declare const splitTableCellProps: <Props extends TableCellProps>(props: Props)
347
355
  declare const viewProps: "view"[];
348
356
  declare const splitViewProps: <Props extends ViewProps>(props: Props) => [ViewProps, Omit<Props, "view">];
349
357
  //#endregion
350
- export { type DatePickerApi as Api, type Calendar, type CalendarDate, type CalendarDateTime, type Cell, type DateDuration, type DateFormatter, type DateRangePreset, type DateValue, type DateValueOffset, type DateView, type DayTableCellProps, type DayTableCellState, type ElementIds, type FocusChangeDetails, type FocusOutsideEvent, type InputProps, type InteractOutsideEvent, type IntlTranslations, type LabelProps, type LocaleDetails, type DatePickerMachine as Machine, type MonthFormatOptions, type MonthGridProps, type MonthGridValue, type OpenChangeDetails, type PointerDownOutsideEvent, type PositioningOptions, type PresetTriggerProps, type PresetTriggerValue, type DatePickerProps as Props, type Range, type SelectionMode, type DatePickerService as Service, type TableCellProps, type TableCellState, type TableProps, type ValueChangeDetails, type ViewChangeDetails, type ViewProps, type VisibleRange, type VisibleRangeText, type WeekDay, type YearGridProps, type YearGridValue, type ZonedDateTime, anatomy, connect, inputProps, machine, parse, presetTriggerProps, props, splitInputProps, splitPresetTriggerProps, splitProps, splitTableCellProps, splitTableProps, splitViewProps, tableCellProps, tableProps, viewProps };
358
+ export { type DatePickerApi as Api, type Calendar, type CalendarDate, type CalendarDateTime, type Cell, type DateDuration, type DateFormatter, type DateRangePreset, type DateValue, type DateValueOffset, type DateView, type DayTableCellProps, type DayTableCellState, type ElementIds, type FocusChangeDetails, type FocusOutsideEvent, type InputProps, type InteractOutsideEvent, type IntlTranslations, type LabelProps, type LocaleDetails, type DatePickerMachine as Machine, type MonthFormatOptions, type MonthGridProps, type MonthGridValue, type OpenChangeDetails, type PointerDownOutsideEvent, type PositioningOptions, type PresetTriggerProps, type PresetTriggerValue, type DatePickerProps as Props, type Range, type SelectionMode, type DatePickerService as Service, type TableCellProps, type TableCellState, type TableProps, type ValueChangeDetails, type ViewChangeDetails, type ViewProps, type VisibleRange, type VisibleRangeChangeDetails, type VisibleRangeText, type WeekDay, type YearGridProps, type YearGridValue, type ZonedDateTime, anatomy, connect, inputProps, machine, parse, presetTriggerProps, props, splitInputProps, splitPresetTriggerProps, splitProps, splitTableCellProps, splitTableProps, splitViewProps, tableCellProps, tableProps, viewProps };
@@ -1,14 +1,14 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-DHVOqZET.mjs";
2
2
  import { p as Machine, y as Service } from "../../types-jyV564Ip.mjs";
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVcPBg7R.mjs";
4
- import { X as DateRangePreset } from "../../index-WoOkKhP-.mjs";
4
+ import { X as DateRangePreset } from "../../index-DYzqCFaj.mjs";
5
5
  import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-9OlOKr2i.mjs";
6
6
  import { t as LiveRegion } from "../../index-C9ajBf1B.mjs";
7
7
  import { p as PositioningOptions, u as Placement } from "../../index-BlM1bSkX.mjs";
8
8
  import { Calendar, CalendarDate, CalendarDateTime, DateDuration, DateFormatter, DateValue, DateValue as DateValue$1, ZonedDateTime } from "@internationalized/date";
9
9
 
10
10
  //#region src/machines/date-picker/date-picker.anatomy.d.ts
11
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "nextTrigger" | "prevTrigger" | "trigger" | "content" | "input" | "table" | "view" | "positioner" | "clearTrigger" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
11
+ declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "trigger" | "clearTrigger" | "table" | "view" | "content" | "nextTrigger" | "prevTrigger" | "positioner" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
12
12
  //#endregion
13
13
  //#region src/machines/date-picker/date-picker.types.d.ts
14
14
  type DateView = "day" | "month" | "year";
@@ -24,6 +24,13 @@ interface FocusChangeDetails extends ValueChangeDetails {
24
24
  interface ViewChangeDetails {
25
25
  view: DateView;
26
26
  }
27
+ interface VisibleRangeChangeDetails {
28
+ view: DateView;
29
+ visibleRange: {
30
+ start: DateValue;
31
+ end: DateValue;
32
+ };
33
+ }
27
34
  interface OpenChangeDetails {
28
35
  open: boolean;
29
36
  value: DateValue[];
@@ -94,6 +101,7 @@ interface DatePickerProps extends DirectionProperty, CommonProperties {
94
101
  onValueChange?: ((details: ValueChangeDetails) => void) | undefined;
95
102
  onFocusChange?: ((details: FocusChangeDetails) => void) | undefined;
96
103
  onViewChange?: ((details: ViewChangeDetails) => void) | undefined;
104
+ onVisibleRangeChange?: ((details: VisibleRangeChangeDetails) => void) | undefined;
97
105
  onOpenChange?: ((details: OpenChangeDetails) => void) | undefined;
98
106
  isDateUnavailable?: ((date: DateValue, locale: string) => boolean) | undefined;
99
107
  selectionMode?: SelectionMode | undefined;
@@ -347,4 +355,4 @@ declare const splitTableCellProps: <Props extends TableCellProps>(props: Props)
347
355
  declare const viewProps: "view"[];
348
356
  declare const splitViewProps: <Props extends ViewProps>(props: Props) => [ViewProps, Omit<Props, "view">];
349
357
  //#endregion
350
- export { type DatePickerApi as Api, type Calendar, type CalendarDate, type CalendarDateTime, type Cell, type DateDuration, type DateFormatter, type DateRangePreset, type DateValue, type DateValueOffset, type DateView, type DayTableCellProps, type DayTableCellState, type ElementIds, type FocusChangeDetails, type FocusOutsideEvent, type InputProps, type InteractOutsideEvent, type IntlTranslations, type LabelProps, type LocaleDetails, type DatePickerMachine as Machine, type MonthFormatOptions, type MonthGridProps, type MonthGridValue, type OpenChangeDetails, type PointerDownOutsideEvent, type PositioningOptions, type PresetTriggerProps, type PresetTriggerValue, type DatePickerProps as Props, type Range, type SelectionMode, type DatePickerService as Service, type TableCellProps, type TableCellState, type TableProps, type ValueChangeDetails, type ViewChangeDetails, type ViewProps, type VisibleRange, type VisibleRangeText, type WeekDay, type YearGridProps, type YearGridValue, type ZonedDateTime, anatomy, connect, inputProps, machine, parse, presetTriggerProps, props, splitInputProps, splitPresetTriggerProps, splitProps, splitTableCellProps, splitTableProps, splitViewProps, tableCellProps, tableProps, viewProps };
358
+ export { type DatePickerApi as Api, type Calendar, type CalendarDate, type CalendarDateTime, type Cell, type DateDuration, type DateFormatter, type DateRangePreset, type DateValue, type DateValueOffset, type DateView, type DayTableCellProps, type DayTableCellState, type ElementIds, type FocusChangeDetails, type FocusOutsideEvent, type InputProps, type InteractOutsideEvent, type IntlTranslations, type LabelProps, type LocaleDetails, type DatePickerMachine as Machine, type MonthFormatOptions, type MonthGridProps, type MonthGridValue, type OpenChangeDetails, type PointerDownOutsideEvent, type PositioningOptions, type PresetTriggerProps, type PresetTriggerValue, type DatePickerProps as Props, type Range, type SelectionMode, type DatePickerService as Service, type TableCellProps, type TableCellState, type TableProps, type ValueChangeDetails, type ViewChangeDetails, type ViewProps, type VisibleRange, type VisibleRangeChangeDetails, type VisibleRangeText, type WeekDay, type YearGridProps, type YearGridValue, type ZonedDateTime, anatomy, connect, inputProps, machine, parse, presetTriggerProps, props, splitInputProps, splitPresetTriggerProps, splitProps, splitTableCellProps, splitTableProps, splitViewProps, tableCellProps, tableProps, viewProps };
@@ -1222,7 +1222,11 @@ const machine = createMachine({
1222
1222
  ]);
1223
1223
  });
1224
1224
  track([() => context.hash("startValue")], () => {
1225
- action(["syncMonthSelectElement", "syncYearSelectElement"]);
1225
+ action([
1226
+ "syncMonthSelectElement",
1227
+ "syncYearSelectElement",
1228
+ "invokeOnVisibleRangeChange"
1229
+ ]);
1226
1230
  });
1227
1231
  track([() => context.get("inputValue")], () => {
1228
1232
  action(["syncInputValue"]);
@@ -2048,6 +2052,12 @@ const machine = createMachine({
2048
2052
  value: context.get("value")
2049
2053
  });
2050
2054
  },
2055
+ invokeOnVisibleRangeChange({ prop, context, computed }) {
2056
+ prop("onVisibleRangeChange")?.({
2057
+ view: context.get("view"),
2058
+ visibleRange: computed("visibleRange")
2059
+ });
2060
+ },
2051
2061
  toggleVisibility({ event, send, prop }) {
2052
2062
  send({
2053
2063
  type: prop("open") ? "CONTROLLED.OPEN" : "CONTROLLED.CLOSE",
@@ -2119,6 +2129,7 @@ const props = createProps()([
2119
2129
  "onOpenChange",
2120
2130
  "onValueChange",
2121
2131
  "onViewChange",
2132
+ "onVisibleRangeChange",
2122
2133
  "open",
2123
2134
  "defaultOpen",
2124
2135
  "positioning",
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOuts
5
5
  import { r as PersistentElementOptions, t as DismissableElementHandlers } from "../../dismissable-layer-DmvOBneO.cjs";
6
6
 
7
7
  //#region src/machines/dialog/dialog.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "title" | "positioner" | "description" | "closeTrigger" | "backdrop">;
8
+ declare const anatomy: AnatomyInstance<"trigger" | "title" | "content" | "positioner" | "description" | "closeTrigger" | "backdrop">;
9
9
  //#endregion
10
10
  //#region src/machines/dialog/dialog.types.d.ts
11
11
  interface OpenChangeDetails {
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOuts
5
5
  import { r as PersistentElementOptions, t as DismissableElementHandlers } from "../../dismissable-layer-xYn_dIUQ.mjs";
6
6
 
7
7
  //#region src/machines/dialog/dialog.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "title" | "positioner" | "description" | "closeTrigger" | "backdrop">;
8
+ declare const anatomy: AnatomyInstance<"trigger" | "title" | "content" | "positioner" | "description" | "closeTrigger" | "backdrop">;
9
9
  //#endregion
10
10
  //#region src/machines/dialog/dialog.types.d.ts
11
11
  interface OpenChangeDetails {
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
4
4
  import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-DFiQyzeW.cjs";
5
5
 
6
6
  //#region src/machines/editable/editable.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger">;
7
+ declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger">;
8
8
  //#endregion
9
9
  //#region src/machines/editable/editable.types.d.ts
10
10
  interface ValueChangeDetails {
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
4
4
  import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-9OlOKr2i.mjs";
5
5
 
6
6
  //#region src/machines/editable/editable.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger">;
7
+ declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger">;
8
8
  //#endregion
9
9
  //#region src/machines/editable/editable.types.d.ts
10
10
  interface ValueChangeDetails {
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, o as LocaleProperties, t as Commo
4
4
  import { i as FileMimeType, r as FileError } from "../../types-xyuh-a2-.cjs";
5
5
 
6
6
  //#region src/machines/file-upload/file-upload.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"root" | "label" | "itemGroup" | "item" | "trigger" | "clearTrigger" | "dropzone" | "itemDeleteTrigger" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText">;
7
+ declare const anatomy: AnatomyInstance<"root" | "label" | "dropzone" | "item" | "itemDeleteTrigger" | "itemGroup" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText" | "trigger" | "clearTrigger">;
8
8
  //#endregion
9
9
  //#region src/machines/file-upload/file-upload.types.d.ts
10
10
  interface FileRejection {
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, o as LocaleProperties, t as Commo
4
4
  import { i as FileMimeType, r as FileError } from "../../types-CsK6JMut.mjs";
5
5
 
6
6
  //#region src/machines/file-upload/file-upload.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"root" | "label" | "itemGroup" | "item" | "trigger" | "clearTrigger" | "dropzone" | "itemDeleteTrigger" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText">;
7
+ declare const anatomy: AnatomyInstance<"root" | "label" | "dropzone" | "item" | "itemDeleteTrigger" | "itemGroup" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText" | "trigger" | "clearTrigger">;
8
8
  //#endregion
9
9
  //#region src/machines/file-upload/file-upload.types.d.ts
10
10
  interface FileRejection {
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
4
4
  import { a as Point, o as Rect, y as Size } from "../../types-CaxzY9yP.cjs";
5
5
 
6
6
  //#region src/machines/floating-panel/floating-panel.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"control" | "trigger" | "content" | "body" | "header" | "title" | "positioner" | "closeTrigger" | "resizeTrigger" | "dragTrigger" | "stageTrigger">;
7
+ declare const anatomy: AnatomyInstance<"control" | "resizeTrigger" | "trigger" | "body" | "header" | "title" | "content" | "positioner" | "closeTrigger" | "dragTrigger" | "stageTrigger">;
8
8
  //#endregion
9
9
  //#region src/machines/floating-panel/floating-panel.types.d.ts
10
10
  interface PositionChangeDetails {
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
4
4
  import { a as Point, o as Rect, y as Size } from "../../types-ByFp2QfD.mjs";
5
5
 
6
6
  //#region src/machines/floating-panel/floating-panel.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"control" | "trigger" | "content" | "body" | "header" | "title" | "positioner" | "closeTrigger" | "resizeTrigger" | "dragTrigger" | "stageTrigger">;
7
+ declare const anatomy: AnatomyInstance<"control" | "resizeTrigger" | "trigger" | "body" | "header" | "title" | "content" | "positioner" | "closeTrigger" | "dragTrigger" | "stageTrigger">;
8
8
  //#endregion
9
9
  //#region src/machines/floating-panel/floating-panel.types.d.ts
10
10
  interface PositionChangeDetails {
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
5
5
  import { c as Placement, d as PositioningOptions } from "../../types-TUsgVjZA.cjs";
6
6
 
7
7
  //#region src/machines/hover-card/hover-card.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "arrow" | "positioner" | "arrowTip">;
8
+ declare const anatomy: AnatomyInstance<"trigger" | "content" | "arrow" | "arrowTip" | "positioner">;
9
9
  //#endregion
10
10
  //#region src/machines/hover-card/hover-card.types.d.ts
11
11
  interface OpenChangeDetails {
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
5
5
  import { p as PositioningOptions, u as Placement } from "../../index-BlM1bSkX.mjs";
6
6
 
7
7
  //#region src/machines/hover-card/hover-card.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "arrow" | "positioner" | "arrowTip">;
8
+ declare const anatomy: AnatomyInstance<"trigger" | "content" | "arrow" | "arrowTip" | "positioner">;
9
9
  //#endregion
10
10
  //#region src/machines/hover-card/hover-card.types.d.ts
11
11
  interface OpenChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-BIy26U
3
3
  import { _ as Size, b as NormalizeProps, g as RequiredBy, m as Rect, p as Point, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-UNyqrBDu.cjs";
4
4
 
5
5
  //#region src/machines/image-cropper/image-cropper.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "viewport" | "image" | "selection" | "handle" | "grid">;
6
+ declare const anatomy: AnatomyInstance<"root" | "image" | "viewport" | "selection" | "handle" | "grid">;
7
7
  //#endregion
8
8
  //#region src/machines/image-cropper/image-cropper.types.d.ts
9
9
  type HandlePosition = "n" | "e" | "s" | "w" | "ne" | "se" | "sw" | "nw";
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-jyV564
3
3
  import { _ as Size, b as NormalizeProps, g as RequiredBy, m as Rect, p as Point, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVcPBg7R.mjs";
4
4
 
5
5
  //#region src/machines/image-cropper/image-cropper.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "viewport" | "image" | "selection" | "handle" | "grid">;
6
+ declare const anatomy: AnatomyInstance<"root" | "image" | "viewport" | "selection" | "handle" | "grid">;
7
7
  //#endregion
8
8
  //#region src/machines/image-cropper/image-cropper.types.d.ts
9
9
  type HandlePosition = "n" | "e" | "s" | "w" | "ne" | "se" | "sw" | "nw";