@sprawlify/primitives 0.0.114 → 0.0.115

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 (83) hide show
  1. package/dist/collection.d.cts +2 -2
  2. package/dist/collection.d.mts +2 -2
  3. package/dist/{list-collection-DkRA5LOq.d.mts → list-collection-AgReIMJ0.d.mts} +1 -1
  4. package/dist/{list-collection-B_8BN0XB.d.cts → list-collection-C0swT4Wu.d.cts} +1 -1
  5. package/dist/machines/accordion/index.d.cts +1 -1
  6. package/dist/machines/accordion/index.d.mts +1 -1
  7. package/dist/machines/angle-slider/index.d.cts +1 -1
  8. package/dist/machines/angle-slider/index.d.mts +1 -1
  9. package/dist/machines/carousel/index.d.cts +1 -1
  10. package/dist/machines/carousel/index.d.mts +1 -1
  11. package/dist/machines/cascade-select/index.d.cts +2 -2
  12. package/dist/machines/cascade-select/index.d.mts +2 -2
  13. package/dist/machines/clipboard/index.d.cts +1 -1
  14. package/dist/machines/clipboard/index.d.mts +1 -1
  15. package/dist/machines/collapsible/index.d.cts +1 -1
  16. package/dist/machines/collapsible/index.d.mts +1 -1
  17. package/dist/machines/color-picker/index.d.cts +1 -1
  18. package/dist/machines/color-picker/index.d.mts +1 -1
  19. package/dist/machines/combobox/index.cjs +4 -4
  20. package/dist/machines/combobox/index.d.cts +2 -2
  21. package/dist/machines/combobox/index.d.mts +2 -2
  22. package/dist/machines/combobox/index.mjs +4 -4
  23. package/dist/machines/date-picker/index.d.cts +2 -2
  24. package/dist/machines/date-picker/index.d.mts +2 -2
  25. package/dist/machines/dialog/index.d.cts +1 -1
  26. package/dist/machines/dialog/index.d.mts +1 -1
  27. package/dist/machines/drawer/index.d.cts +1 -1
  28. package/dist/machines/drawer/index.d.mts +1 -1
  29. package/dist/machines/dropdown-menu/index.d.cts +1 -1
  30. package/dist/machines/dropdown-menu/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/listbox/index.cjs +2 -0
  38. package/dist/machines/listbox/index.d.cts +3 -3
  39. package/dist/machines/listbox/index.d.mts +3 -3
  40. package/dist/machines/listbox/index.mjs +2 -0
  41. package/dist/machines/marquee/index.d.cts +3 -3
  42. package/dist/machines/marquee/index.d.mts +3 -3
  43. package/dist/machines/navigation-menu/index.d.cts +1 -1
  44. package/dist/machines/navigation-menu/index.d.mts +1 -1
  45. package/dist/machines/number-input/index.d.cts +1 -1
  46. package/dist/machines/number-input/index.d.mts +1 -1
  47. package/dist/machines/pagination/index.d.cts +1 -1
  48. package/dist/machines/pagination/index.d.mts +1 -1
  49. package/dist/machines/password-input/index.d.cts +1 -1
  50. package/dist/machines/password-input/index.d.mts +1 -1
  51. package/dist/machines/pin-input/index.d.cts +1 -1
  52. package/dist/machines/pin-input/index.d.mts +1 -1
  53. package/dist/machines/popover/index.d.cts +1 -1
  54. package/dist/machines/popover/index.d.mts +1 -1
  55. package/dist/machines/progress/index.d.cts +1 -1
  56. package/dist/machines/progress/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/rating-group/index.d.cts +1 -1
  60. package/dist/machines/rating-group/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/slider/index.d.cts +1 -1
  64. package/dist/machines/slider/index.d.mts +1 -1
  65. package/dist/machines/splitter/index.d.cts +1 -1
  66. package/dist/machines/splitter/index.d.mts +1 -1
  67. package/dist/machines/steps/index.d.cts +1 -1
  68. package/dist/machines/steps/index.d.mts +1 -1
  69. package/dist/machines/tabs/index.d.cts +1 -1
  70. package/dist/machines/tabs/index.d.mts +1 -1
  71. package/dist/machines/tags-input/index.d.cts +1 -1
  72. package/dist/machines/tags-input/index.d.mts +1 -1
  73. package/dist/machines/timer/index.d.cts +1 -1
  74. package/dist/machines/timer/index.d.mts +1 -1
  75. package/dist/machines/toast/index.d.cts +1 -1
  76. package/dist/machines/toast/index.d.mts +1 -1
  77. package/dist/machines/tour/index.d.cts +1 -1
  78. package/dist/machines/tour/index.d.mts +1 -1
  79. package/dist/machines/tree-view/index.d.cts +1 -1
  80. package/dist/machines/tree-view/index.d.mts +1 -1
  81. package/dist/{selection-DdNvrKbj.d.mts → selection-aObDFAzS.d.mts} +1 -1
  82. package/dist/{selection-Bb_ZSVxe.d.cts → selection-k8FM_y4w.d.cts} +1 -1
  83. 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-D-7AMgSE.cjs";
2
- import { n as isListCollection, t as ListCollection } from "./list-collection-B_8BN0XB.cjs";
3
- import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-Bb_ZSVxe.cjs";
2
+ import { n as isListCollection, t as ListCollection } from "./list-collection-C0swT4Wu.cjs";
3
+ import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-k8FM_y4w.cjs";
4
4
  import { n as filePathToTree, r as flattenedToTree, t as TreeCollection } from "./tree-collection-DlqV5kYO.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-9uw8LHpE.mjs";
2
- import { n as isListCollection, t as ListCollection } from "./list-collection-DkRA5LOq.mjs";
3
- import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-DdNvrKbj.mjs";
2
+ import { n as isListCollection, t as ListCollection } from "./list-collection-AgReIMJ0.mjs";
3
+ import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-aObDFAzS.mjs";
4
4
  import { n as filePathToTree, r as flattenedToTree, t as TreeCollection } from "./tree-collection-Dlf9EUrT.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 };
@@ -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) => 0 | 1 | -1;
49
+ compareValue: (a: string, b: string) => 1 | -1 | 0;
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) => 0 | 1 | -1;
49
+ compareValue: (a: string, b: string) => 1 | -1 | 0;
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-B24gMT
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/accordion/accordion.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "item" | "itemContent" | "itemTrigger" | "itemIndicator">;
6
+ declare const anatomy: AnatomyInstance<"root" | "item" | "itemTrigger" | "itemContent" | "itemIndicator">;
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-DUM9rz
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/accordion/accordion.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "item" | "itemContent" | "itemTrigger" | "itemIndicator">;
6
+ declare const anatomy: AnatomyInstance<"root" | "item" | "itemTrigger" | "itemContent" | "itemIndicator">;
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-B24gMT
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/angle-slider/angle-slider.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "track" | "label" | "control" | "marker" | "thumb" | "valueText" | "markerGroup">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "track" | "thumb" | "valueText" | "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-DUM9rz
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/angle-slider/angle-slider.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "track" | "label" | "control" | "marker" | "thumb" | "valueText" | "markerGroup">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "track" | "thumb" | "valueText" | "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-B24gMT
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-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/carousel/carousel.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "indicator" | "control" | "item" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger" | "progressText">;
6
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "item" | "control" | "itemGroup" | "prevTrigger" | "nextTrigger" | "progressText" | "indicatorGroup" | "autoplayTrigger">;
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-DUM9rz
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-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/carousel/carousel.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "indicator" | "control" | "item" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger" | "progressText">;
6
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "item" | "control" | "itemGroup" | "prevTrigger" | "nextTrigger" | "progressText" | "indicatorGroup" | "autoplayTrigger">;
7
7
  //#endregion
8
8
  //#region src/machines/carousel/carousel.types.d.ts
9
9
  interface PageChangeDetails {
@@ -8,8 +8,8 @@ import { c as Placement, d as PositioningOptions } from "../../types-CZAtqGqH.cj
8
8
  import { a as Point } from "../../types-CLXYEgfm.cjs";
9
9
 
10
10
  //#region src/machines/cascade-select/cascade-select.anatomy.d.ts
11
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator" | "label" | "control" | "item" | "itemIndicator" | "positioner" | "clearTrigger" | "itemText" | "list" | "valueText">;
12
- declare const parts: Record<"root" | "trigger" | "content" | "indicator" | "label" | "control" | "item" | "itemIndicator" | "positioner" | "clearTrigger" | "itemText" | "list" | "valueText", AnatomyPart>;
11
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "label" | "item" | "control" | "trigger" | "itemIndicator" | "list" | "content" | "valueText" | "positioner" | "itemText" | "clearTrigger">;
12
+ declare const parts: Record<"root" | "indicator" | "label" | "item" | "control" | "trigger" | "itemIndicator" | "list" | "content" | "valueText" | "positioner" | "itemText" | "clearTrigger", AnatomyPart>;
13
13
  //#endregion
14
14
  //#region src/machines/cascade-select/cascade-select.collection.d.ts
15
15
  declare const collection: {
@@ -8,8 +8,8 @@ import { p as PositioningOptions, u as Placement } from "../../index-fMh0VDkR.mj
8
8
  import { a as Point } from "../../types-DU764tY_.mjs";
9
9
 
10
10
  //#region src/machines/cascade-select/cascade-select.anatomy.d.ts
11
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator" | "label" | "control" | "item" | "itemIndicator" | "positioner" | "clearTrigger" | "itemText" | "list" | "valueText">;
12
- declare const parts: Record<"root" | "trigger" | "content" | "indicator" | "label" | "control" | "item" | "itemIndicator" | "positioner" | "clearTrigger" | "itemText" | "list" | "valueText", AnatomyPart>;
11
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "label" | "item" | "control" | "trigger" | "itemIndicator" | "list" | "content" | "valueText" | "positioner" | "itemText" | "clearTrigger">;
12
+ declare const parts: Record<"root" | "indicator" | "label" | "item" | "control" | "trigger" | "itemIndicator" | "list" | "content" | "valueText" | "positioner" | "itemText" | "clearTrigger", AnatomyPart>;
13
13
  //#endregion
14
14
  //#region src/machines/cascade-select/cascade-select.collection.d.ts
15
15
  declare const collection: {
@@ -3,7 +3,7 @@ import { p as Machine, y as Service } from "../../types-B24gMTKq.cjs";
3
3
  import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/clipboard/clipboard.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "indicator" | "input" | "label" | "control">;
6
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "label" | "control" | "trigger" | "input">;
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-DUM9rzfD.mjs";
3
3
  import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/clipboard/clipboard.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "indicator" | "input" | "label" | "control">;
6
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "label" | "control" | "trigger" | "input">;
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-B24gMTKq.cjs";
3
3
  import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.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-DUM9rzfD.mjs";
3
3
  import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.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 {
@@ -6,7 +6,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
6
6
  import { d as PositioningOptions } from "../../types-CZAtqGqH.cjs";
7
7
 
8
8
  //#region src/machines/color-picker/color-picker.anatomy.d.ts
9
- declare const anatomy: Anatomy<"root" | "trigger" | "content" | "label" | "control" | "area" | "positioner" | "valueText" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect">;
9
+ declare const anatomy: Anatomy<"root" | "label" | "control" | "trigger" | "content" | "valueText" | "positioner" | "area" | "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-fMh0VDkR.mjs";
7
7
 
8
8
  //#region src/machines/color-picker/color-picker.anatomy.d.ts
9
- declare const anatomy: Anatomy<"root" | "trigger" | "content" | "label" | "control" | "area" | "positioner" | "valueText" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect">;
9
+ declare const anatomy: Anatomy<"root" | "label" | "control" | "trigger" | "content" | "valueText" | "positioner" | "area" | "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";
@@ -581,10 +581,10 @@ const machine = createMachine({
581
581
  const context = getContext();
582
582
  const prevSelectedItems = context.get("selectedItems");
583
583
  const collection = prop("collection");
584
- const nextItems = (prop("value") || value).map((v) => {
585
- return prevSelectedItems.find((item) => collection.getItemValue(item) === v) || collection.find(v);
586
- });
587
- context.set("selectedItems", nextItems);
584
+ const findItems = (vals) => vals.map((v) => prevSelectedItems.find((item) => collection.getItemValue(item) === v) || collection.find(v));
585
+ const nextItems = findItems(value);
586
+ const effectiveValue = prop("value") || value;
587
+ context.set("selectedItems", findItems(effectiveValue));
588
588
  prop("onValueChange")?.({
589
589
  value,
590
590
  items: nextItems
@@ -1,13 +1,13 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
2
2
  import { r as CollectionOptions, t as CollectionItem } from "../../types-D-7AMgSE.cjs";
3
- import { t as ListCollection } from "../../list-collection-B_8BN0XB.cjs";
3
+ import { t as ListCollection } from "../../list-collection-C0swT4Wu.cjs";
4
4
  import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMTKq.cjs";
5
5
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
6
6
  import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-DzWGFhcS.cjs";
7
7
  import { c as Placement, d as PositioningOptions } from "../../types-CZAtqGqH.cjs";
8
8
 
9
9
  //#region src/machines/combobox/combobox.anatomy.d.ts
10
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "input" | "label" | "control" | "item" | "itemIndicator" | "itemGroup" | "positioner" | "clearTrigger" | "itemText" | "list" | "itemGroupLabel">;
10
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "control" | "trigger" | "input" | "itemIndicator" | "list" | "content" | "positioner" | "itemText" | "itemGroup" | "itemGroupLabel" | "clearTrigger">;
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-BedZVdg0.mjs";
2
2
  import { r as CollectionOptions, t as CollectionItem } from "../../types-9uw8LHpE.mjs";
3
- import { t as ListCollection } from "../../list-collection-DkRA5LOq.mjs";
3
+ import { t as ListCollection } from "../../list-collection-AgReIMJ0.mjs";
4
4
  import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rzfD.mjs";
5
5
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
6
6
  import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CGNNiDyE.mjs";
7
7
  import { p as PositioningOptions, u as Placement } from "../../index-fMh0VDkR.mjs";
8
8
 
9
9
  //#region src/machines/combobox/combobox.anatomy.d.ts
10
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "input" | "label" | "control" | "item" | "itemIndicator" | "itemGroup" | "positioner" | "clearTrigger" | "itemText" | "list" | "itemGroupLabel">;
10
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "control" | "trigger" | "input" | "itemIndicator" | "list" | "content" | "positioner" | "itemText" | "itemGroup" | "itemGroupLabel" | "clearTrigger">;
11
11
  //#endregion
12
12
  //#region src/machines/combobox/combobox.collection.d.ts
13
13
  declare const collection: {
@@ -580,10 +580,10 @@ const machine = createMachine({
580
580
  const context = getContext();
581
581
  const prevSelectedItems = context.get("selectedItems");
582
582
  const collection = prop("collection");
583
- const nextItems = (prop("value") || value).map((v) => {
584
- return prevSelectedItems.find((item) => collection.getItemValue(item) === v) || collection.find(v);
585
- });
586
- context.set("selectedItems", nextItems);
583
+ const findItems = (vals) => vals.map((v) => prevSelectedItems.find((item) => collection.getItemValue(item) === v) || collection.find(v));
584
+ const nextItems = findItems(value);
585
+ const effectiveValue = prop("value") || value;
586
+ context.set("selectedItems", findItems(effectiveValue));
587
587
  prop("onValueChange")?.({
588
588
  value,
589
589
  items: nextItems
@@ -8,7 +8,7 @@ import { c as Placement, d as PositioningOptions } from "../../types-CZAtqGqH.cj
8
8
  import { Calendar, CalendarDate, CalendarDateTime, CalendarIdentifier, DateDuration, DateFormatter, ZonedDateTime } from "@internationalized/date";
9
9
 
10
10
  //#region src/machines/date-picker/date-picker.anatomy.d.ts
11
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "input" | "label" | "control" | "nextTrigger" | "prevTrigger" | "table" | "view" | "positioner" | "clearTrigger" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
11
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "trigger" | "input" | "content" | "positioner" | "prevTrigger" | "nextTrigger" | "clearTrigger" | "table" | "view" | "tableHeader" | "tableBody" | "tableRow" | "viewTrigger" | "monthSelect" | "yearSelect" | "presetTrigger" | "rangeText" | "tableCell" | "tableCellTrigger" | "tableHead" | "viewControl">;
12
12
  //#endregion
13
13
  //#region src/machines/date-picker/date-picker.types.d.ts
14
14
  type DateView = "day" | "month" | "year";
@@ -383,4 +383,4 @@ declare const splitTableCellProps: <Props extends TableCellProps>(props: Props)
383
383
  declare const viewProps: "view"[];
384
384
  declare const splitViewProps: <Props extends ViewProps>(props: Props) => [ViewProps, Omit<Props, "view">];
385
385
  //#endregion
386
- 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 WeekNumberCellProps, type YearGridProps, type YearGridValue, type ZonedDateTime, anatomy, connect, inputProps, machine, parse, presetTriggerProps, props, splitInputProps, splitPresetTriggerProps, splitProps, splitTableCellProps, splitTableProps, splitViewProps, tableCellProps, tableProps, viewProps };
386
+ export { type DatePickerApi as Api, type Calendar, type CalendarDate, type CalendarDateTime, type CalendarIdentifier, 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 WeekNumberCellProps, type YearGridProps, type YearGridValue, type ZonedDateTime, anatomy, connect, inputProps, machine, parse, presetTriggerProps, props, splitInputProps, splitPresetTriggerProps, splitProps, splitTableCellProps, splitTableProps, splitViewProps, tableCellProps, tableProps, viewProps };
@@ -8,7 +8,7 @@ import { p as PositioningOptions, u as Placement } from "../../index-fMh0VDkR.mj
8
8
  import { Calendar, CalendarDate, CalendarDateTime, CalendarIdentifier, DateDuration, DateFormatter, ZonedDateTime } from "@internationalized/date";
9
9
 
10
10
  //#region src/machines/date-picker/date-picker.anatomy.d.ts
11
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "input" | "label" | "control" | "nextTrigger" | "prevTrigger" | "table" | "view" | "positioner" | "clearTrigger" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
11
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "trigger" | "input" | "content" | "positioner" | "prevTrigger" | "nextTrigger" | "clearTrigger" | "table" | "view" | "tableHeader" | "tableBody" | "tableRow" | "viewTrigger" | "monthSelect" | "yearSelect" | "presetTrigger" | "rangeText" | "tableCell" | "tableCellTrigger" | "tableHead" | "viewControl">;
12
12
  //#endregion
13
13
  //#region src/machines/date-picker/date-picker.types.d.ts
14
14
  type DateView = "day" | "month" | "year";
@@ -383,4 +383,4 @@ declare const splitTableCellProps: <Props extends TableCellProps>(props: Props)
383
383
  declare const viewProps: "view"[];
384
384
  declare const splitViewProps: <Props extends ViewProps>(props: Props) => [ViewProps, Omit<Props, "view">];
385
385
  //#endregion
386
- 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 WeekNumberCellProps, type YearGridProps, type YearGridValue, type ZonedDateTime, anatomy, connect, inputProps, machine, parse, presetTriggerProps, props, splitInputProps, splitPresetTriggerProps, splitProps, splitTableCellProps, splitTableProps, splitViewProps, tableCellProps, tableProps, viewProps };
386
+ export { type DatePickerApi as Api, type Calendar, type CalendarDate, type CalendarDateTime, type CalendarIdentifier, 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 WeekNumberCellProps, type YearGridProps, type YearGridValue, type ZonedDateTime, anatomy, connect, inputProps, machine, parse, presetTriggerProps, props, splitInputProps, splitPresetTriggerProps, splitProps, splitTableCellProps, splitTableProps, splitViewProps, tableCellProps, tableProps, viewProps };
@@ -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-ZgyqN8AD.cjs";
6
6
 
7
7
  //#region src/machines/dialog/dialog.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "title" | "description" | "closeTrigger" | "positioner" | "backdrop">;
8
+ declare const anatomy: AnatomyInstance<"trigger" | "content" | "positioner" | "title" | "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-h14gHVbJ.mjs";
6
6
 
7
7
  //#region src/machines/dialog/dialog.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "title" | "description" | "closeTrigger" | "positioner" | "backdrop">;
8
+ declare const anatomy: AnatomyInstance<"trigger" | "content" | "positioner" | "title" | "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 { t as DismissableElementHandlers } from "../../dismissable-layer-ZgyqN8AD.cjs";
6
6
 
7
7
  //#region src/machines/drawer/drawer.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "title" | "description" | "closeTrigger" | "positioner" | "backdrop" | "grabber" | "grabberIndicator" | "swipeArea">;
8
+ declare const anatomy: AnatomyInstance<"trigger" | "content" | "positioner" | "title" | "description" | "closeTrigger" | "backdrop" | "grabber" | "grabberIndicator" | "swipeArea">;
9
9
  //#endregion
10
10
  //#region src/machines/drawer/utils/session.d.ts
11
11
  type GestureAxis = "x" | "y";
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOuts
5
5
  import { t as DismissableElementHandlers } from "../../dismissable-layer-h14gHVbJ.mjs";
6
6
 
7
7
  //#region src/machines/drawer/drawer.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "title" | "description" | "closeTrigger" | "positioner" | "backdrop" | "grabber" | "grabberIndicator" | "swipeArea">;
8
+ declare const anatomy: AnatomyInstance<"trigger" | "content" | "positioner" | "title" | "description" | "closeTrigger" | "backdrop" | "grabber" | "grabberIndicator" | "swipeArea">;
9
9
  //#endregion
10
10
  //#region src/machines/drawer/utils/session.d.ts
11
11
  type GestureAxis = "x" | "y";
@@ -8,7 +8,7 @@ import { c as Placement, d as PositioningOptions } from "../../types-CZAtqGqH.cj
8
8
  import { a as Point } from "../../types-CLXYEgfm.cjs";
9
9
 
10
10
  //#region src/machines/dropdown-menu/dropdown-menu.anatomy.d.ts
11
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "indicator" | "item" | "itemIndicator" | "itemGroup" | "arrow" | "arrowTip" | "positioner" | "itemText" | "separator" | "itemGroupLabel" | "triggerItem">;
11
+ declare const anatomy: AnatomyInstance<"indicator" | "item" | "trigger" | "itemIndicator" | "content" | "arrow" | "arrowTip" | "positioner" | "itemText" | "itemGroup" | "itemGroupLabel" | "separator" | "triggerItem">;
12
12
  //#endregion
13
13
  //#region src/machines/dropdown-menu/dropdown-menu.types.d.ts
14
14
  interface OpenChangeDetails {
@@ -8,7 +8,7 @@ import { p as PositioningOptions, u as Placement } from "../../index-fMh0VDkR.mj
8
8
  import { a as Point } from "../../types-DU764tY_.mjs";
9
9
 
10
10
  //#region src/machines/dropdown-menu/dropdown-menu.anatomy.d.ts
11
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "indicator" | "item" | "itemIndicator" | "itemGroup" | "arrow" | "arrowTip" | "positioner" | "itemText" | "separator" | "itemGroupLabel" | "triggerItem">;
11
+ declare const anatomy: AnatomyInstance<"indicator" | "item" | "trigger" | "itemIndicator" | "content" | "arrow" | "arrowTip" | "positioner" | "itemText" | "itemGroup" | "itemGroupLabel" | "separator" | "triggerItem">;
12
12
  //#endregion
13
13
  //#region src/machines/dropdown-menu/dropdown-menu.types.d.ts
14
14
  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-DzWGFhcS.cjs";
5
5
 
6
6
  //#region src/machines/editable/editable.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"root" | "input" | "label" | "control" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger">;
7
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "area" | "preview" | "submitTrigger" | "cancelTrigger" | "editTrigger">;
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-CGNNiDyE.mjs";
5
5
 
6
6
  //#region src/machines/editable/editable.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"root" | "input" | "label" | "control" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger">;
7
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "area" | "preview" | "submitTrigger" | "cancelTrigger" | "editTrigger">;
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-CylWsfOz.cjs";
5
5
 
6
6
  //#region src/machines/file-upload/file-upload.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "label" | "item" | "itemGroup" | "clearTrigger" | "itemPreview" | "itemDeleteTrigger" | "dropzone" | "itemName" | "itemPreviewImage" | "itemSizeText">;
7
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "trigger" | "itemGroup" | "dropzone" | "itemDeleteTrigger" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText" | "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-Cctd5dol.mjs";
5
5
 
6
6
  //#region src/machines/file-upload/file-upload.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "label" | "item" | "itemGroup" | "clearTrigger" | "itemPreview" | "itemDeleteTrigger" | "dropzone" | "itemName" | "itemPreviewImage" | "itemSizeText">;
7
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "trigger" | "itemGroup" | "dropzone" | "itemDeleteTrigger" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText" | "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-CLXYEgfm.cjs";
5
5
 
6
6
  //#region src/machines/floating-panel/floating-panel.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "control" | "body" | "header" | "title" | "closeTrigger" | "positioner" | "resizeTrigger" | "dragTrigger" | "stageTrigger">;
7
+ declare const anatomy: AnatomyInstance<"control" | "trigger" | "content" | "positioner" | "title" | "closeTrigger" | "header" | "body" | "resizeTrigger" | "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-DU764tY_.mjs";
5
5
 
6
6
  //#region src/machines/floating-panel/floating-panel.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "control" | "body" | "header" | "title" | "closeTrigger" | "positioner" | "resizeTrigger" | "dragTrigger" | "stageTrigger">;
7
+ declare const anatomy: AnatomyInstance<"control" | "trigger" | "content" | "positioner" | "title" | "closeTrigger" | "header" | "body" | "resizeTrigger" | "dragTrigger" | "stageTrigger">;
8
8
  //#endregion
9
9
  //#region src/machines/floating-panel/floating-panel.types.d.ts
10
10
  interface PositionChangeDetails {
@@ -178,10 +178,12 @@ function connect(service, normalize) {
178
178
  if (!require_collection.isGridCollection(collection)) return;
179
179
  if (event.ctrlKey) return;
180
180
  forwardEvent();
181
+ break;
181
182
  case "Home":
182
183
  case "End":
183
184
  if (highlightedValue == null && event.shiftKey) return;
184
185
  forwardEvent();
186
+ break;
185
187
  case "ArrowDown":
186
188
  case "ArrowUp":
187
189
  forwardEvent();
@@ -1,13 +1,13 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
2
2
  import { r as CollectionOptions, t as CollectionItem } from "../../types-D-7AMgSE.cjs";
3
- import { t as ListCollection } from "../../list-collection-B_8BN0XB.cjs";
4
- import { i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "../../selection-Bb_ZSVxe.cjs";
3
+ import { t as ListCollection } from "../../list-collection-C0swT4Wu.cjs";
4
+ import { i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "../../selection-k8FM_y4w.cjs";
5
5
  import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMTKq.cjs";
6
6
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
7
7
  import { n as TypeaheadState } from "../../typeahead-DMooWbbX.cjs";
8
8
 
9
9
  //#region src/machines/listbox/listbox.anatomy.d.ts
10
- declare const anatomy: AnatomyInstance<"root" | "content" | "input" | "label" | "item" | "itemIndicator" | "itemGroup" | "itemText" | "valueText" | "itemGroupLabel">;
10
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "input" | "itemIndicator" | "content" | "valueText" | "itemText" | "itemGroup" | "itemGroupLabel">;
11
11
  //#endregion
12
12
  //#region src/machines/listbox/listbox.collection.d.ts
13
13
  declare const collection: {
@@ -1,13 +1,13 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
2
2
  import { r as CollectionOptions, t as CollectionItem } from "../../types-9uw8LHpE.mjs";
3
- import { t as ListCollection } from "../../list-collection-DkRA5LOq.mjs";
4
- import { i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "../../selection-DdNvrKbj.mjs";
3
+ import { t as ListCollection } from "../../list-collection-AgReIMJ0.mjs";
4
+ import { i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "../../selection-aObDFAzS.mjs";
5
5
  import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rzfD.mjs";
6
6
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
7
7
  import { n as TypeaheadState } from "../../typeahead-Bbeb1fAR.mjs";
8
8
 
9
9
  //#region src/machines/listbox/listbox.anatomy.d.ts
10
- declare const anatomy: AnatomyInstance<"root" | "content" | "input" | "label" | "item" | "itemIndicator" | "itemGroup" | "itemText" | "valueText" | "itemGroupLabel">;
10
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "input" | "itemIndicator" | "content" | "valueText" | "itemText" | "itemGroup" | "itemGroupLabel">;
11
11
  //#endregion
12
12
  //#region src/machines/listbox/listbox.collection.d.ts
13
13
  declare const collection: {
@@ -177,10 +177,12 @@ function connect(service, normalize) {
177
177
  if (!isGridCollection(collection)) return;
178
178
  if (event.ctrlKey) return;
179
179
  forwardEvent();
180
+ break;
180
181
  case "Home":
181
182
  case "End":
182
183
  if (highlightedValue == null && event.shiftKey) return;
183
184
  forwardEvent();
185
+ break;
184
186
  case "ArrowDown":
185
187
  case "ArrowUp":
186
188
  forwardEvent();
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
3
3
  import { b as NormalizeProps, d as Orientation, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/marquee/marquee.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "content" | "item" | "viewport" | "edge">;
6
+ declare const anatomy: AnatomyInstance<"root" | "item" | "content" | "viewport" | "edge">;
7
7
  //#endregion
8
8
  //#region src/machines/marquee/marquee.types.d.ts
9
9
  interface PauseStatusDetails {
@@ -96,7 +96,7 @@ declare function connect<T extends PropTypes>(service: MarqueeService, normalize
96
96
  declare const machine: Machine<MarqueeSchema>;
97
97
  //#endregion
98
98
  //#region src/machines/marquee/marquee.props.d.ts
99
- declare const props: ("ids" | "id" | "getRootNode" | "paused" | "onComplete" | ("dir" | "reverse" | "spacing" | "translations" | "delay" | "side" | "speed" | "loopCount" | "autoFill" | "pauseOnInteraction" | "defaultPaused") | "onPauseChange" | "onLoopComplete")[];
100
- declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "ids" | "id" | "getRootNode" | "paused" | "onComplete" | ("dir" | "reverse" | "spacing" | "translations" | "delay" | "side" | "speed" | "loopCount" | "autoFill" | "pauseOnInteraction" | "defaultPaused") | "onPauseChange" | "onLoopComplete">];
99
+ declare const props: ("ids" | "id" | "getRootNode" | "onComplete" | ("translations" | "dir" | "reverse" | "side" | "speed" | "delay" | "loopCount" | "spacing" | "autoFill" | "pauseOnInteraction" | "defaultPaused") | "paused" | "onPauseChange" | "onLoopComplete")[];
100
+ declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "ids" | "id" | "getRootNode" | "onComplete" | ("translations" | "dir" | "reverse" | "side" | "speed" | "delay" | "loopCount" | "spacing" | "autoFill" | "pauseOnInteraction" | "defaultPaused") | "paused" | "onPauseChange" | "onLoopComplete">];
101
101
  //#endregion
102
102
  export { type MarqueeApi as Api, type ContentProps, type DimensionSnapshot, type EdgeProps, type ElementIds, type IntlTranslations, type MarqueeMachine as Machine, type Orientation, type PauseStatusDetails, type MarqueeProps as Props, type MarqueeService as Service, type Side, type UserDefinedContext, anatomy, connect, machine, props, splitProps };
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
3
3
  import { b as NormalizeProps, d as Orientation, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/marquee/marquee.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "content" | "item" | "viewport" | "edge">;
6
+ declare const anatomy: AnatomyInstance<"root" | "item" | "content" | "viewport" | "edge">;
7
7
  //#endregion
8
8
  //#region src/machines/marquee/marquee.types.d.ts
9
9
  interface PauseStatusDetails {
@@ -96,7 +96,7 @@ declare function connect<T extends PropTypes>(service: MarqueeService, normalize
96
96
  declare const machine: Machine<MarqueeSchema>;
97
97
  //#endregion
98
98
  //#region src/machines/marquee/marquee.props.d.ts
99
- declare const props: ("ids" | "id" | "getRootNode" | "paused" | "onComplete" | ("dir" | "reverse" | "spacing" | "translations" | "delay" | "side" | "speed" | "loopCount" | "autoFill" | "pauseOnInteraction" | "defaultPaused") | "onPauseChange" | "onLoopComplete")[];
100
- declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "ids" | "id" | "getRootNode" | "paused" | "onComplete" | ("dir" | "reverse" | "spacing" | "translations" | "delay" | "side" | "speed" | "loopCount" | "autoFill" | "pauseOnInteraction" | "defaultPaused") | "onPauseChange" | "onLoopComplete">];
99
+ declare const props: ("ids" | "id" | "getRootNode" | "onComplete" | ("translations" | "dir" | "reverse" | "side" | "speed" | "delay" | "loopCount" | "spacing" | "autoFill" | "pauseOnInteraction" | "defaultPaused") | "paused" | "onPauseChange" | "onLoopComplete")[];
100
+ declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "ids" | "id" | "getRootNode" | "onComplete" | ("translations" | "dir" | "reverse" | "side" | "speed" | "delay" | "loopCount" | "spacing" | "autoFill" | "pauseOnInteraction" | "defaultPaused") | "paused" | "onPauseChange" | "onLoopComplete">];
101
101
  //#endregion
102
102
  export { type MarqueeApi as Api, type ContentProps, type DimensionSnapshot, type EdgeProps, type ElementIds, type IntlTranslations, type MarqueeMachine as Machine, type Orientation, type PauseStatusDetails, type MarqueeProps as Props, type MarqueeService as Service, type Side, type UserDefinedContext, anatomy, connect, machine, props, splitProps };
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
3
3
  import { _ as Size, b as NormalizeProps, d as Orientation, f as OrientationProperty, g as RequiredBy, m as Rect, p as Point, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/navigation-menu/navigation-menu.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator" | "item" | "itemIndicator" | "link" | "arrow" | "list" | "viewport" | "viewportPositioner">;
6
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "item" | "trigger" | "itemIndicator" | "list" | "content" | "arrow" | "link" | "viewport" | "viewportPositioner">;
7
7
  //#endregion
8
8
  //#region src/machines/navigation-menu/navigation-menu.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
3
3
  import { _ as Size, b as NormalizeProps, d as Orientation, f as OrientationProperty, g as RequiredBy, m as Rect, p as Point, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/navigation-menu/navigation-menu.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator" | "item" | "itemIndicator" | "link" | "arrow" | "list" | "viewport" | "viewportPositioner">;
6
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "item" | "trigger" | "itemIndicator" | "list" | "content" | "arrow" | "link" | "viewport" | "viewportPositioner">;
7
7
  //#endregion
8
8
  //#region src/machines/navigation-menu/navigation-menu.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, o as LocaleProperties, t as Commo
4
4
  import { NumberFormatter, NumberParser } from "@internationalized/number";
5
5
 
6
6
  //#region src/machines/number-input/number-input.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"root" | "input" | "label" | "control" | "valueText" | "incrementTrigger" | "decrementTrigger" | "scrubber">;
7
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "valueText" | "incrementTrigger" | "decrementTrigger" | "scrubber">;
8
8
  //#endregion
9
9
  //#region src/machines/number-input/number-input.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 { NumberFormatter, NumberParser } from "@internationalized/number";
5
5
 
6
6
  //#region src/machines/number-input/number-input.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"root" | "input" | "label" | "control" | "valueText" | "incrementTrigger" | "decrementTrigger" | "scrubber">;
7
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "valueText" | "incrementTrigger" | "decrementTrigger" | "scrubber">;
8
8
  //#endregion
9
9
  //#region src/machines/number-input/number-input.types.d.ts
10
10
  interface ValueChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/pagination/pagination.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "item" | "nextTrigger" | "prevTrigger" | "ellipsis" | "firstTrigger" | "lastTrigger">;
6
+ declare const anatomy: AnatomyInstance<"root" | "item" | "ellipsis" | "firstTrigger" | "prevTrigger" | "nextTrigger" | "lastTrigger">;
7
7
  //#endregion
8
8
  //#region src/machines/pagination/pagination.types.d.ts
9
9
  interface PageChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/pagination/pagination.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "item" | "nextTrigger" | "prevTrigger" | "ellipsis" | "firstTrigger" | "lastTrigger">;
6
+ declare const anatomy: AnatomyInstance<"root" | "item" | "ellipsis" | "firstTrigger" | "prevTrigger" | "nextTrigger" | "lastTrigger">;
7
7
  //#endregion
8
8
  //#region src/machines/pagination/pagination.types.d.ts
9
9
  interface PageChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
3
3
  import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/password-input/password-input.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "indicator" | "input" | "label" | "control" | "visibilityTrigger">;
6
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "label" | "control" | "input" | "visibilityTrigger">;
7
7
  //#endregion
8
8
  //#region src/machines/password-input/password-input.types.d.ts
9
9
  interface VisibilityChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
3
3
  import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/password-input/password-input.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "indicator" | "input" | "label" | "control" | "visibilityTrigger">;
6
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "label" | "control" | "input" | "visibilityTrigger">;
7
7
  //#endregion
8
8
  //#region src/machines/password-input/password-input.types.d.ts
9
9
  interface VisibilityChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/pin-input/pin-input.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "input" | "label" | "control">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input">;
7
7
  //#endregion
8
8
  //#region src/machines/pin-input/pin-input.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/pin-input/pin-input.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "input" | "label" | "control">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input">;
7
7
  //#endregion
8
8
  //#region src/machines/pin-input/pin-input.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -6,7 +6,7 @@ import { r as PersistentElementOptions, t as DismissableElementHandlers } from "
6
6
  import { c as Placement, d as PositioningOptions } from "../../types-CZAtqGqH.cjs";
7
7
 
8
8
  //#region src/machines/popover/popover.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "indicator" | "title" | "description" | "closeTrigger" | "arrow" | "arrowTip" | "positioner" | "anchor">;
9
+ declare const anatomy: AnatomyInstance<"indicator" | "trigger" | "content" | "arrow" | "arrowTip" | "anchor" | "positioner" | "title" | "description" | "closeTrigger">;
10
10
  //#endregion
11
11
  //#region src/machines/popover/popover.types.d.ts
12
12
  interface OpenChangeDetails {
@@ -6,7 +6,7 @@ import { r as PersistentElementOptions, t as DismissableElementHandlers } from "
6
6
  import { p as PositioningOptions, u as Placement } from "../../index-fMh0VDkR.mjs";
7
7
 
8
8
  //#region src/machines/popover/popover.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "indicator" | "title" | "description" | "closeTrigger" | "arrow" | "arrowTip" | "positioner" | "anchor">;
9
+ declare const anatomy: AnatomyInstance<"indicator" | "trigger" | "content" | "arrow" | "arrowTip" | "anchor" | "positioner" | "title" | "description" | "closeTrigger">;
10
10
  //#endregion
11
11
  //#region src/machines/popover/popover.types.d.ts
12
12
  interface OpenChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
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-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/progress/progress.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "track" | "label" | "circle" | "view" | "valueText" | "range" | "circleTrack" | "circleRange">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "valueText" | "circle" | "range" | "view" | "circleTrack" | "circleRange">;
7
7
  //#endregion
8
8
  //#region src/machines/progress/progress.types.d.ts
9
9
  type ProgressState = "indeterminate" | "loading" | "complete";
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
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-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/progress/progress.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "track" | "label" | "circle" | "view" | "valueText" | "range" | "circleTrack" | "circleRange">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "valueText" | "circle" | "range" | "view" | "circleTrack" | "circleRange">;
7
7
  //#endregion
8
8
  //#region src/machines/progress/progress.types.d.ts
9
9
  type ProgressState = "indeterminate" | "loading" | "complete";
@@ -5,7 +5,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
5
5
  import { QrCodeGenerateOptions, QrCodeGenerateOptions as QrCodeGenerateOptions$1, QrCodeGenerateResult, QrCodeGenerateResult as QrCodeGenerateResult$1 } from "uqr";
6
6
 
7
7
  //#region src/machines/qr-code/qr-code.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger">;
8
+ declare const anatomy: AnatomyInstance<"root" | "frame" | "pattern" | "overlay" | "downloadTrigger">;
9
9
  //#endregion
10
10
  //#region src/machines/qr-code/qr-code.types.d.ts
11
11
  interface ValueChangeDetails {
@@ -5,7 +5,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
5
5
  import { QrCodeGenerateOptions, QrCodeGenerateOptions as QrCodeGenerateOptions$1, QrCodeGenerateResult, QrCodeGenerateResult as QrCodeGenerateResult$1 } from "uqr";
6
6
 
7
7
  //#region src/machines/qr-code/qr-code.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger">;
8
+ declare const anatomy: AnatomyInstance<"root" | "frame" | "pattern" | "overlay" | "downloadTrigger">;
9
9
  //#endregion
10
10
  //#region src/machines/qr-code/qr-code.types.d.ts
11
11
  interface ValueChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/rating-group/rating-group.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "item">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "control">;
7
7
  //#endregion
8
8
  //#region src/machines/rating-group/rating-group.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/rating-group/rating-group.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "item">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "control">;
7
7
  //#endregion
8
8
  //#region src/machines/rating-group/rating-group.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -1,6 +1,6 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
2
2
  import { r as CollectionOptions, t as CollectionItem } from "../../types-D-7AMgSE.cjs";
3
- import { t as ListCollection } from "../../list-collection-B_8BN0XB.cjs";
3
+ import { t as ListCollection } from "../../list-collection-C0swT4Wu.cjs";
4
4
  import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMTKq.cjs";
5
5
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
6
6
  import { n as TypeaheadState } from "../../typeahead-DMooWbbX.cjs";
@@ -8,7 +8,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
8
8
  import { c as Placement, d as PositioningOptions } from "../../types-CZAtqGqH.cjs";
9
9
 
10
10
  //#region src/machines/select/select.anatomy.d.ts
11
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator" | "label" | "control" | "item" | "itemIndicator" | "itemGroup" | "positioner" | "clearTrigger" | "itemText" | "list" | "valueText" | "itemGroupLabel">;
11
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "label" | "item" | "control" | "trigger" | "itemIndicator" | "list" | "content" | "valueText" | "positioner" | "itemText" | "itemGroup" | "itemGroupLabel" | "clearTrigger">;
12
12
  //#endregion
13
13
  //#region src/machines/select/select.collection.d.ts
14
14
  declare const collection: {
@@ -1,6 +1,6 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
2
2
  import { r as CollectionOptions, t as CollectionItem } from "../../types-9uw8LHpE.mjs";
3
- import { t as ListCollection } from "../../list-collection-DkRA5LOq.mjs";
3
+ import { t as ListCollection } from "../../list-collection-AgReIMJ0.mjs";
4
4
  import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rzfD.mjs";
5
5
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
6
6
  import { n as TypeaheadState } from "../../typeahead-Bbeb1fAR.mjs";
@@ -8,7 +8,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
8
8
  import { p as PositioningOptions, u as Placement } from "../../index-fMh0VDkR.mjs";
9
9
 
10
10
  //#region src/machines/select/select.anatomy.d.ts
11
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator" | "label" | "control" | "item" | "itemIndicator" | "itemGroup" | "positioner" | "clearTrigger" | "itemText" | "list" | "valueText" | "itemGroupLabel">;
11
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "label" | "item" | "control" | "trigger" | "itemIndicator" | "list" | "content" | "valueText" | "positioner" | "itemText" | "itemGroup" | "itemGroupLabel" | "clearTrigger">;
12
12
  //#endregion
13
13
  //#region src/machines/select/select.collection.d.ts
14
14
  declare const collection: {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/slider/slider.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "track" | "label" | "control" | "marker" | "thumb" | "valueText" | "range" | "markerGroup" | "draggingIndicator">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "track" | "thumb" | "valueText" | "markerGroup" | "marker" | "range" | "draggingIndicator">;
7
7
  //#endregion
8
8
  //#region src/machines/slider/slider.types.d.ts
9
9
  type ThumbCollisionBehavior = "none" | "push" | "swap";
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/slider/slider.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "track" | "label" | "control" | "marker" | "thumb" | "valueText" | "range" | "markerGroup" | "draggingIndicator">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "track" | "thumb" | "valueText" | "markerGroup" | "marker" | "range" | "draggingIndicator">;
7
7
  //#endregion
8
8
  //#region src/machines/slider/slider.types.d.ts
9
9
  type ThumbCollisionBehavior = "none" | "push" | "swap";
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/splitter/splitter.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "panel" | "resizeTrigger" | "resizeTriggerIndicator">;
6
+ declare const anatomy: AnatomyInstance<"root" | "resizeTrigger" | "panel" | "resizeTriggerIndicator">;
7
7
  //#endregion
8
8
  //#region src/machines/splitter/splitter.types.d.ts
9
9
  type ResizeEvent = PointerEvent | KeyboardEvent;
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/splitter/splitter.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "panel" | "resizeTrigger" | "resizeTriggerIndicator">;
6
+ declare const anatomy: AnatomyInstance<"root" | "resizeTrigger" | "panel" | "resizeTriggerIndicator">;
7
7
  //#endregion
8
8
  //#region src/machines/splitter/splitter.types.d.ts
9
9
  type ResizeEvent = PointerEvent | KeyboardEvent;
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/steps/steps.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator" | "item" | "nextTrigger" | "prevTrigger" | "progress" | "separator" | "list">;
6
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "item" | "trigger" | "list" | "content" | "prevTrigger" | "nextTrigger" | "progress" | "separator">;
7
7
  //#endregion
8
8
  //#region src/machines/steps/steps.types.d.ts
9
9
  interface StepChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/steps/steps.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator" | "item" | "nextTrigger" | "prevTrigger" | "progress" | "separator" | "list">;
6
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "item" | "trigger" | "list" | "content" | "prevTrigger" | "nextTrigger" | "progress" | "separator">;
7
7
  //#endregion
8
8
  //#region src/machines/steps/steps.types.d.ts
9
9
  interface StepChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
3
3
  import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/tabs/tabs.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator" | "list">;
6
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "trigger" | "list" | "content">;
7
7
  //#endregion
8
8
  //#region src/machines/tabs/tabs.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
3
3
  import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/tabs/tabs.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator" | "list">;
6
+ declare const anatomy: AnatomyInstance<"root" | "indicator" | "trigger" | "list" | "content">;
7
7
  //#endregion
8
8
  //#region src/machines/tabs/tabs.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
5
5
  import { t as LiveRegion } from "../../index-BO-Z3fhz.cjs";
6
6
 
7
7
  //#region src/machines/tags-input/tags-input.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"root" | "input" | "label" | "control" | "item" | "clearTrigger" | "itemPreview" | "itemInput" | "itemText" | "itemDeleteTrigger">;
8
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "control" | "input" | "itemText" | "itemDeleteTrigger" | "itemPreview" | "clearTrigger" | "itemInput">;
9
9
  //#endregion
10
10
  //#region src/machines/tags-input/tags-input.types.d.ts
11
11
  interface ValueChangeDetails {
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
5
5
  import { t as LiveRegion } from "../../index-1L40UHp8.mjs";
6
6
 
7
7
  //#region src/machines/tags-input/tags-input.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"root" | "input" | "label" | "control" | "item" | "clearTrigger" | "itemPreview" | "itemInput" | "itemText" | "itemDeleteTrigger">;
8
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "control" | "input" | "itemText" | "itemDeleteTrigger" | "itemPreview" | "clearTrigger" | "itemInput">;
9
9
  //#endregion
10
10
  //#region src/machines/tags-input/tags-input.types.d.ts
11
11
  interface ValueChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
3
3
  import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
4
4
 
5
5
  //#region src/machines/timer/timer.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "control" | "item" | "area" | "actionTrigger" | "itemValue" | "itemLabel" | "separator">;
6
+ declare const anatomy: AnatomyInstance<"root" | "item" | "control" | "separator" | "area" | "actionTrigger" | "itemValue" | "itemLabel">;
7
7
  //#endregion
8
8
  //#region src/machines/timer/timer.types.d.ts
9
9
  interface Time<T = number> {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
3
3
  import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
 
5
5
  //#region src/machines/timer/timer.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "control" | "item" | "area" | "actionTrigger" | "itemValue" | "itemLabel" | "separator">;
6
+ declare const anatomy: AnatomyInstance<"root" | "item" | "control" | "separator" | "area" | "actionTrigger" | "itemValue" | "itemLabel">;
7
7
  //#endregion
8
8
  //#region src/machines/timer/timer.types.d.ts
9
9
  interface Time<T = number> {
@@ -175,7 +175,7 @@ interface ToastApi<T extends PropTypes = PropTypes, O = any> {
175
175
  declare function groupConnect<T extends PropTypes, O = any>(service: Service<ToastGroupSchema>, normalize: NormalizeProps<T>): ToastGroupApi<T, O>;
176
176
  //#endregion
177
177
  //#region src/machines/toast/toast.anatomy.d.ts
178
- declare const anatomy: AnatomyInstance<"root" | "title" | "group" | "description" | "actionTrigger" | "closeTrigger">;
178
+ declare const anatomy: AnatomyInstance<"root" | "title" | "description" | "closeTrigger" | "group" | "actionTrigger">;
179
179
  //#endregion
180
180
  //#region src/machines/toast/toast.connect.d.ts
181
181
  declare function connect<T extends PropTypes, O>(service: Service<ToastSchema<O>>, normalize: NormalizeProps<T>): ToastApi<T, O>;
@@ -175,7 +175,7 @@ interface ToastApi<T extends PropTypes = PropTypes, O = any> {
175
175
  declare function groupConnect<T extends PropTypes, O = any>(service: Service<ToastGroupSchema>, normalize: NormalizeProps<T>): ToastGroupApi<T, O>;
176
176
  //#endregion
177
177
  //#region src/machines/toast/toast.anatomy.d.ts
178
- declare const anatomy: AnatomyInstance<"root" | "title" | "group" | "description" | "actionTrigger" | "closeTrigger">;
178
+ declare const anatomy: AnatomyInstance<"root" | "title" | "description" | "closeTrigger" | "group" | "actionTrigger">;
179
179
  //#endregion
180
180
  //#region src/machines/toast/toast.connect.d.ts
181
181
  declare function connect<T extends PropTypes, O>(service: Service<ToastSchema<O>>, normalize: NormalizeProps<T>): ToastApi<T, O>;
@@ -6,7 +6,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
6
6
  import { c as Placement } from "../../types-CZAtqGqH.cjs";
7
7
 
8
8
  //#region src/machines/tour/tour.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"content" | "title" | "progressText" | "description" | "actionTrigger" | "closeTrigger" | "arrow" | "arrowTip" | "positioner" | "backdrop" | "spotlight">;
9
+ declare const anatomy: AnatomyInstance<"content" | "arrow" | "arrowTip" | "positioner" | "title" | "description" | "closeTrigger" | "backdrop" | "actionTrigger" | "progressText" | "spotlight">;
10
10
  //#endregion
11
11
  //#region src/machines/tour/utils/rect.d.ts
12
12
  interface Point {
@@ -6,7 +6,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
6
6
  import { u as Placement } from "../../index-fMh0VDkR.mjs";
7
7
 
8
8
  //#region src/machines/tour/tour.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"content" | "title" | "progressText" | "description" | "actionTrigger" | "closeTrigger" | "arrow" | "arrowTip" | "positioner" | "backdrop" | "spotlight">;
9
+ declare const anatomy: AnatomyInstance<"content" | "arrow" | "arrowTip" | "positioner" | "title" | "description" | "closeTrigger" | "backdrop" | "actionTrigger" | "progressText" | "spotlight">;
10
10
  //#endregion
11
11
  //#region src/machines/tour/utils/rect.d.ts
12
12
  interface Point {
@@ -6,7 +6,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
6
6
  import { n as TypeaheadState } from "../../typeahead-DMooWbbX.cjs";
7
7
 
8
8
  //#region src/machines/tree-view/tree-view.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemIndicator" | "itemText" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
9
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemIndicator" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "itemText" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
10
10
  //#endregion
11
11
  //#region src/machines/tree-view/tree-view.collection.d.ts
12
12
  declare const collection: {
@@ -6,7 +6,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
6
6
  import { n as TypeaheadState } from "../../typeahead-Bbeb1fAR.mjs";
7
7
 
8
8
  //#region src/machines/tree-view/tree-view.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemIndicator" | "itemText" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
9
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemIndicator" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "itemText" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
10
10
  //#endregion
11
11
  //#region src/machines/tree-view/tree-view.collection.d.ts
12
12
  declare const collection: {
@@ -1,5 +1,5 @@
1
1
  import { r as CollectionOptions, t as CollectionItem } from "./types-9uw8LHpE.mjs";
2
- import { t as ListCollection } from "./list-collection-DkRA5LOq.mjs";
2
+ import { t as ListCollection } from "./list-collection-AgReIMJ0.mjs";
3
3
 
4
4
  //#region src/shared/collection/grid-collection.d.ts
5
5
  interface GridCollectionOptions<T> extends CollectionOptions<T> {
@@ -1,5 +1,5 @@
1
1
  import { r as CollectionOptions, t as CollectionItem } from "./types-D-7AMgSE.cjs";
2
- import { t as ListCollection } from "./list-collection-B_8BN0XB.cjs";
2
+ import { t as ListCollection } from "./list-collection-C0swT4Wu.cjs";
3
3
 
4
4
  //#region src/shared/collection/grid-collection.d.ts
5
5
  interface GridCollectionOptions<T> extends CollectionOptions<T> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sprawlify/primitives",
3
- "version": "0.0.114",
3
+ "version": "0.0.115",
4
4
  "description": "A set of primitive components for building user interfaces.",
5
5
  "license": "MIT",
6
6
  "author": "sprawlify <npm@sprawlify.com>",