@sprawlify/primitives 0.0.73 → 0.0.75

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 (99) hide show
  1. package/dist/collection.d.cts +2 -2
  2. package/dist/collection.d.mts +2 -2
  3. package/dist/{list-collection-DwMgPYoA.d.cts → list-collection-frYcaWR1.d.cts} +1 -1
  4. package/dist/{list-collection-C9XUe75n.d.mts → list-collection-opFV146F.d.mts} +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/bottom-sheet/index.d.cts +1 -1
  10. package/dist/machines/bottom-sheet/index.d.mts +1 -1
  11. package/dist/machines/carousel/index.d.cts +1 -1
  12. package/dist/machines/carousel/index.d.mts +1 -1
  13. package/dist/machines/checkbox/index.d.cts +1 -1
  14. package/dist/machines/checkbox/index.d.mts +1 -1
  15. package/dist/machines/clipboard/index.d.cts +1 -1
  16. package/dist/machines/clipboard/index.d.mts +1 -1
  17. package/dist/machines/collapsible/index.d.cts +1 -1
  18. package/dist/machines/collapsible/index.d.mts +1 -1
  19. package/dist/machines/color-picker/index.d.cts +1 -1
  20. package/dist/machines/color-picker/index.d.mts +1 -1
  21. package/dist/machines/combobox/index.d.cts +2 -2
  22. package/dist/machines/combobox/index.d.mts +2 -2
  23. package/dist/machines/date-picker/index.d.cts +1 -1
  24. package/dist/machines/date-picker/index.d.mts +1 -1
  25. package/dist/machines/dialog/index.d.cts +1 -1
  26. package/dist/machines/dialog/index.d.mts +1 -1
  27. package/dist/machines/editable/index.d.cts +1 -1
  28. package/dist/machines/editable/index.d.mts +1 -1
  29. package/dist/machines/file-upload/index.d.cts +1 -1
  30. package/dist/machines/file-upload/index.d.mts +1 -1
  31. package/dist/machines/floating-panel/index.d.cts +1 -1
  32. package/dist/machines/floating-panel/index.d.mts +1 -1
  33. package/dist/machines/hover-card/index.d.cts +1 -1
  34. package/dist/machines/hover-card/index.d.mts +1 -1
  35. package/dist/machines/image-cropper/index.d.cts +1 -1
  36. package/dist/machines/image-cropper/index.d.mts +1 -1
  37. package/dist/machines/listbox/index.d.cts +3 -3
  38. package/dist/machines/listbox/index.d.mts +3 -3
  39. package/dist/machines/marquee/index.d.cts +3 -3
  40. package/dist/machines/marquee/index.d.mts +3 -3
  41. package/dist/machines/menu/index.d.cts +1 -1
  42. package/dist/machines/menu/index.d.mts +1 -1
  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/radio-group/index.d.cts +1 -1
  60. package/dist/machines/radio-group/index.d.mts +1 -1
  61. package/dist/machines/rating-group/index.d.cts +1 -1
  62. package/dist/machines/rating-group/index.d.mts +1 -1
  63. package/dist/machines/scroll-area/index.d.cts +1 -1
  64. package/dist/machines/scroll-area/index.d.mts +1 -1
  65. package/dist/machines/select/index.d.cts +2 -2
  66. package/dist/machines/select/index.d.mts +2 -2
  67. package/dist/machines/separator/index.cjs +72 -0
  68. package/dist/machines/separator/index.d.cts +40 -0
  69. package/dist/machines/separator/index.d.mts +40 -0
  70. package/dist/machines/separator/index.mjs +68 -0
  71. package/dist/machines/signature-pad/index.d.cts +1 -1
  72. package/dist/machines/signature-pad/index.d.mts +1 -1
  73. package/dist/machines/slider/index.d.cts +1 -1
  74. package/dist/machines/slider/index.d.mts +1 -1
  75. package/dist/machines/steps/index.d.cts +1 -1
  76. package/dist/machines/steps/index.d.mts +1 -1
  77. package/dist/machines/switch/index.d.cts +1 -1
  78. package/dist/machines/switch/index.d.mts +1 -1
  79. package/dist/machines/tabs/index.d.cts +1 -1
  80. package/dist/machines/tabs/index.d.mts +1 -1
  81. package/dist/machines/tags-input/index.d.cts +1 -1
  82. package/dist/machines/tags-input/index.d.mts +1 -1
  83. package/dist/machines/timer/index.d.cts +1 -1
  84. package/dist/machines/timer/index.d.mts +1 -1
  85. package/dist/machines/toast/index.d.cts +1 -1
  86. package/dist/machines/toast/index.d.mts +1 -1
  87. package/dist/machines/toggle/index.d.cts +1 -1
  88. package/dist/machines/toggle/index.d.mts +1 -1
  89. package/dist/machines/toggle-group/index.d.cts +1 -1
  90. package/dist/machines/toggle-group/index.d.mts +1 -1
  91. package/dist/machines/tooltip/index.d.cts +1 -1
  92. package/dist/machines/tooltip/index.d.mts +1 -1
  93. package/dist/machines/tour/index.d.cts +1 -1
  94. package/dist/machines/tour/index.d.mts +1 -1
  95. package/dist/machines/tree-view/index.d.cts +1 -1
  96. package/dist/machines/tree-view/index.d.mts +1 -1
  97. package/dist/{selection-wfybIxD3.d.cts → selection-RpcIyN7s.d.cts} +1 -1
  98. package/dist/{selection-CPTdpru8.d.mts → selection-k5_1gmv5.d.mts} +1 -1
  99. package/package.json +11 -1
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-BM4oVv
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.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<"item" | "root" | "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-fB7F7B
3
3
  import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
4
4
 
5
5
  //#region src/machines/password-input/password-input.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "indicator" | "visibilityTrigger">;
6
+ declare const anatomy: AnatomyInstance<"indicator" | "root" | "label" | "input" | "control" | "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-BM4oVv
3
3
  import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
4
4
 
5
5
  //#region src/machines/password-input/password-input.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "indicator" | "visibilityTrigger">;
6
+ declare const anatomy: AnatomyInstance<"indicator" | "root" | "label" | "input" | "control" | "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-fB7F7B
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
4
4
 
5
5
  //#region src/machines/pin-input/pin-input.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control">;
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-BM4oVv
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
4
4
 
5
5
  //#region src/machines/pin-input/pin-input.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control">;
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-B--gFZVP.cjs";
7
7
 
8
8
  //#region src/machines/popover/popover.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"content" | "indicator" | "trigger" | "arrow" | "arrowTip" | "positioner" | "title" | "anchor" | "closeTrigger" | "description">;
9
+ declare const anatomy: AnatomyInstance<"arrow" | "arrowTip" | "content" | "indicator" | "positioner" | "trigger" | "closeTrigger" | "title" | "description" | "anchor">;
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-DJ1MHM3z.mjs";
7
7
 
8
8
  //#region src/machines/popover/popover.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"content" | "indicator" | "trigger" | "arrow" | "arrowTip" | "positioner" | "title" | "anchor" | "closeTrigger" | "description">;
9
+ declare const anatomy: AnatomyInstance<"arrow" | "arrowTip" | "content" | "indicator" | "positioner" | "trigger" | "closeTrigger" | "title" | "description" | "anchor">;
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-fB7F7B
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-D1U_WMQ9.cjs";
4
4
 
5
5
  //#region src/machines/progress/progress.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "range" | "valueText" | "view" | "circle" | "circleTrack" | "circleRange">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "valueText" | "track" | "circle" | "view" | "range" | "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-BM4oVv
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-CafmAesU.mjs";
4
4
 
5
5
  //#region src/machines/progress/progress.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "range" | "valueText" | "view" | "circle" | "circleTrack" | "circleRange">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "valueText" | "track" | "circle" | "view" | "range" | "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" | "frame" | "pattern" | "overlay" | "downloadTrigger">;
8
+ declare const anatomy: AnatomyInstance<"root" | "pattern" | "frame" | "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" | "frame" | "pattern" | "overlay" | "downloadTrigger">;
8
+ declare const anatomy: AnatomyInstance<"root" | "pattern" | "frame" | "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-fB7F7B
3
3
  import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
4
4
 
5
5
  //#region src/machines/radio-group/radio-group.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "indicator" | "itemText" | "itemControl">;
6
+ declare const anatomy: AnatomyInstance<"indicator" | "item" | "itemText" | "root" | "label" | "itemControl">;
7
7
  //#endregion
8
8
  //#region src/machines/radio-group/radio-group.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-BM4oVv
3
3
  import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
4
4
 
5
5
  //#region src/machines/radio-group/radio-group.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "indicator" | "itemText" | "itemControl">;
6
+ declare const anatomy: AnatomyInstance<"indicator" | "item" | "itemText" | "root" | "label" | "itemControl">;
7
7
  //#endregion
8
8
  //#region src/machines/radio-group/radio-group.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-fB7F7B
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.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<"item" | "root" | "label" | "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-BM4oVv
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.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<"item" | "root" | "label" | "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-fB7F7B
3
3
  import { _ as Size, b as NormalizeProps, d as Orientation, p as Point, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
4
4
 
5
5
  //#region src/machines/scroll-area/scroll-area.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "thumb" | "viewport" | "content" | "scrollbar" | "corner">;
6
+ declare const anatomy: AnatomyInstance<"content" | "root" | "viewport" | "thumb" | "scrollbar" | "corner">;
7
7
  //#endregion
8
8
  //#region src/machines/scroll-area/utils/timeout.d.ts
9
9
  declare class Timeout {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-BM4oVv
3
3
  import { _ as Size, b as NormalizeProps, d as Orientation, p as Point, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
4
4
 
5
5
  //#region src/machines/scroll-area/scroll-area.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "thumb" | "viewport" | "content" | "scrollbar" | "corner">;
6
+ declare const anatomy: AnatomyInstance<"content" | "root" | "viewport" | "thumb" | "scrollbar" | "corner">;
7
7
  //#endregion
8
8
  //#region src/machines/scroll-area/utils/timeout.d.ts
9
9
  declare class Timeout {
@@ -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-CBWaEVU4.cjs";
3
- import { t as ListCollection } from "../../list-collection-DwMgPYoA.cjs";
3
+ import { t as ListCollection } from "../../list-collection-frYcaWR1.cjs";
4
4
  import { p as Machine, u as EventObject, y as Service } from "../../types-fB7F7BBP.cjs";
5
5
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
6
6
  import { n as TypeaheadState } from "../../typeahead-BhNtyjQC.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-B--gFZVP.cjs";
9
9
 
10
10
  //#region src/machines/select/select.anatomy.d.ts
11
- declare const anatomy: AnatomyInstance<"root" | "label" | "valueText" | "control" | "clearTrigger" | "content" | "item" | "indicator" | "list" | "trigger" | "itemGroup" | "positioner" | "itemText" | "itemIndicator" | "itemGroupLabel">;
11
+ declare const anatomy: AnatomyInstance<"content" | "indicator" | "item" | "itemGroup" | "itemGroupLabel" | "itemIndicator" | "itemText" | "positioner" | "trigger" | "root" | "list" | "label" | "valueText" | "control" | "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-UNZ__hxH.mjs";
2
2
  import { r as CollectionOptions, t as CollectionItem } from "../../types-D0tsc4Jo.mjs";
3
- import { t as ListCollection } from "../../list-collection-C9XUe75n.mjs";
3
+ import { t as ListCollection } from "../../list-collection-opFV146F.mjs";
4
4
  import { p as Machine, u as EventObject, y as Service } from "../../types-BM4oVvZZ.mjs";
5
5
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
6
6
  import { n as TypeaheadState } from "../../typeahead-D4TUCBly.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-DJ1MHM3z.mjs";
9
9
 
10
10
  //#region src/machines/select/select.anatomy.d.ts
11
- declare const anatomy: AnatomyInstance<"root" | "label" | "valueText" | "control" | "clearTrigger" | "content" | "item" | "indicator" | "list" | "trigger" | "itemGroup" | "positioner" | "itemText" | "itemIndicator" | "itemGroupLabel">;
11
+ declare const anatomy: AnatomyInstance<"content" | "indicator" | "item" | "itemGroup" | "itemGroupLabel" | "itemIndicator" | "itemText" | "positioner" | "trigger" | "root" | "list" | "label" | "valueText" | "control" | "clearTrigger">;
12
12
  //#endregion
13
13
  //#region src/machines/select/select.collection.d.ts
14
14
  declare const collection: {
@@ -0,0 +1,72 @@
1
+ const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
2
+ require('../../dom-query-CAFhX43H.cjs');
3
+ const require_utils = require('../../utils-CJsQZljH.cjs');
4
+ const require_core = require('../../core-CHsDFMV3.cjs');
5
+ const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
6
+
7
+ //#region src/machines/separator/separator.anatomy.ts
8
+ const anatomy = require_create_anatomy.createAnatomy("separator").parts("root");
9
+ const parts = anatomy.build();
10
+
11
+ //#endregion
12
+ //#region src/machines/separator/separator.dom.ts
13
+ const getRootId = (ctx) => ctx.ids?.root ?? `separator:${ctx.id}`;
14
+
15
+ //#endregion
16
+ //#region src/machines/separator/separator.connect.ts
17
+ function connect(service, normalize) {
18
+ const { prop, scope } = service;
19
+ const decorative = !!prop("decorative");
20
+ const orientation = prop("orientation");
21
+ return {
22
+ decorative,
23
+ orientation: orientation || "horizontal",
24
+ getRootProps() {
25
+ return normalize.element({
26
+ ...parts.root.attrs,
27
+ id: getRootId(scope),
28
+ dir: prop("dir"),
29
+ role: decorative ? "none" : "separator",
30
+ "aria-hidden": decorative || void 0,
31
+ "aria-orientation": decorative ? void 0 : orientation,
32
+ "data-orientation": orientation
33
+ });
34
+ }
35
+ };
36
+ }
37
+
38
+ //#endregion
39
+ //#region src/machines/separator/separator.machine.ts
40
+ const machine = require_core.createMachine({
41
+ initialState() {
42
+ return "idle";
43
+ },
44
+ context() {
45
+ return {};
46
+ },
47
+ states: { idle: {} },
48
+ implementations: {
49
+ actions: {},
50
+ guards: {},
51
+ effects: {}
52
+ }
53
+ });
54
+
55
+ //#endregion
56
+ //#region src/machines/separator/separator.props.ts
57
+ const props = require_create_props.createProps()([
58
+ "dir",
59
+ "getRootNode",
60
+ "id",
61
+ "ids",
62
+ "orientation",
63
+ "decorative"
64
+ ]);
65
+ const splitProps = require_utils.createSplitProps(props);
66
+
67
+ //#endregion
68
+ exports.anatomy = anatomy;
69
+ exports.connect = connect;
70
+ exports.machine = machine;
71
+ exports.props = props;
72
+ exports.splitProps = splitProps;
@@ -0,0 +1,40 @@
1
+ import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
2
+ import { p as Machine, y as Service } from "../../types-fB7F7BBP.cjs";
3
+ import { b as NormalizeProps, f as OrientationProperty, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
4
+
5
+ //#region src/machines/separator/separator.anatomy.d.ts
6
+ declare const anatomy: AnatomyInstance<"root">;
7
+ //#endregion
8
+ //#region src/machines/separator/separator.types.d.ts
9
+ type ElementIds = Partial<{
10
+ root: string;
11
+ }>;
12
+ interface SeparatorProps extends DirectionProperty, OrientationProperty, CommonProperties {
13
+ ids?: ElementIds | undefined;
14
+ decorative?: boolean | undefined;
15
+ }
16
+ interface SeparatorSchema {
17
+ props: SeparatorProps;
18
+ context: any;
19
+ initial: "idle";
20
+ state: "idle";
21
+ }
22
+ type SeparatorService = Service<SeparatorSchema>;
23
+ type SeparatorMachine = Machine<SeparatorSchema>;
24
+ interface SeparatorApi<T extends PropTypes = PropTypes> {
25
+ decorative: boolean;
26
+ orientation: "horizontal" | "vertical";
27
+ getRootProps: () => T["element"];
28
+ }
29
+ //#endregion
30
+ //#region src/machines/separator/separator.connect.d.ts
31
+ declare function connect<T extends PropTypes>(service: Service<SeparatorSchema>, normalize: NormalizeProps<T>): SeparatorApi<T>;
32
+ //#endregion
33
+ //#region src/machines/separator/separator.machine.d.ts
34
+ declare const machine: Machine<SeparatorSchema>;
35
+ //#endregion
36
+ //#region src/machines/separator/separator.props.d.ts
37
+ declare const props: (keyof SeparatorProps)[];
38
+ declare const splitProps: <Props extends Partial<SeparatorProps>>(props: Props) => [Partial<SeparatorProps>, Omit<Props, keyof SeparatorProps>];
39
+ //#endregion
40
+ export { type SeparatorApi as Api, type SeparatorMachine as Machine, type SeparatorProps as Props, type SeparatorService as Service, anatomy, connect, machine, props, splitProps };
@@ -0,0 +1,40 @@
1
+ import { n as AnatomyInstance } from "../../create-anatomy-UNZ__hxH.mjs";
2
+ import { p as Machine, y as Service } from "../../types-BM4oVvZZ.mjs";
3
+ import { b as NormalizeProps, f as OrientationProperty, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
4
+
5
+ //#region src/machines/separator/separator.anatomy.d.ts
6
+ declare const anatomy: AnatomyInstance<"root">;
7
+ //#endregion
8
+ //#region src/machines/separator/separator.types.d.ts
9
+ type ElementIds = Partial<{
10
+ root: string;
11
+ }>;
12
+ interface SeparatorProps extends DirectionProperty, OrientationProperty, CommonProperties {
13
+ ids?: ElementIds | undefined;
14
+ decorative?: boolean | undefined;
15
+ }
16
+ interface SeparatorSchema {
17
+ props: SeparatorProps;
18
+ context: any;
19
+ initial: "idle";
20
+ state: "idle";
21
+ }
22
+ type SeparatorService = Service<SeparatorSchema>;
23
+ type SeparatorMachine = Machine<SeparatorSchema>;
24
+ interface SeparatorApi<T extends PropTypes = PropTypes> {
25
+ decorative: boolean;
26
+ orientation: "horizontal" | "vertical";
27
+ getRootProps: () => T["element"];
28
+ }
29
+ //#endregion
30
+ //#region src/machines/separator/separator.connect.d.ts
31
+ declare function connect<T extends PropTypes>(service: Service<SeparatorSchema>, normalize: NormalizeProps<T>): SeparatorApi<T>;
32
+ //#endregion
33
+ //#region src/machines/separator/separator.machine.d.ts
34
+ declare const machine: Machine<SeparatorSchema>;
35
+ //#endregion
36
+ //#region src/machines/separator/separator.props.d.ts
37
+ declare const props: (keyof SeparatorProps)[];
38
+ declare const splitProps: <Props extends Partial<SeparatorProps>>(props: Props) => [Partial<SeparatorProps>, Omit<Props, keyof SeparatorProps>];
39
+ //#endregion
40
+ export { type SeparatorApi as Api, type SeparatorMachine as Machine, type SeparatorProps as Props, type SeparatorService as Service, anatomy, connect, machine, props, splitProps };
@@ -0,0 +1,68 @@
1
+ import { t as createAnatomy } from "../../create-anatomy-BVqM_FJ6.mjs";
2
+ import "../../dom-query-CQFBCdpo.mjs";
3
+ import { u as createSplitProps } from "../../utils-Vs04rt8f.mjs";
4
+ import { a as createMachine } from "../../core-owywCQ2e.mjs";
5
+ import { t as createProps } from "../../create-props-Dtoa4OUk.mjs";
6
+
7
+ //#region src/machines/separator/separator.anatomy.ts
8
+ const anatomy = createAnatomy("separator").parts("root");
9
+ const parts = anatomy.build();
10
+
11
+ //#endregion
12
+ //#region src/machines/separator/separator.dom.ts
13
+ const getRootId = (ctx) => ctx.ids?.root ?? `separator:${ctx.id}`;
14
+
15
+ //#endregion
16
+ //#region src/machines/separator/separator.connect.ts
17
+ function connect(service, normalize) {
18
+ const { prop, scope } = service;
19
+ const decorative = !!prop("decorative");
20
+ const orientation = prop("orientation");
21
+ return {
22
+ decorative,
23
+ orientation: orientation || "horizontal",
24
+ getRootProps() {
25
+ return normalize.element({
26
+ ...parts.root.attrs,
27
+ id: getRootId(scope),
28
+ dir: prop("dir"),
29
+ role: decorative ? "none" : "separator",
30
+ "aria-hidden": decorative || void 0,
31
+ "aria-orientation": decorative ? void 0 : orientation,
32
+ "data-orientation": orientation
33
+ });
34
+ }
35
+ };
36
+ }
37
+
38
+ //#endregion
39
+ //#region src/machines/separator/separator.machine.ts
40
+ const machine = createMachine({
41
+ initialState() {
42
+ return "idle";
43
+ },
44
+ context() {
45
+ return {};
46
+ },
47
+ states: { idle: {} },
48
+ implementations: {
49
+ actions: {},
50
+ guards: {},
51
+ effects: {}
52
+ }
53
+ });
54
+
55
+ //#endregion
56
+ //#region src/machines/separator/separator.props.ts
57
+ const props = createProps()([
58
+ "dir",
59
+ "getRootNode",
60
+ "id",
61
+ "ids",
62
+ "orientation",
63
+ "decorative"
64
+ ]);
65
+ const splitProps = createSplitProps(props);
66
+
67
+ //#endregion
68
+ export { anatomy, connect, machine, props, splitProps };
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
4
4
  import { StrokeOptions } from "perfect-freehand";
5
5
 
6
6
  //#region src/machines/signature-pad/signature-pad.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "segment" | "segmentPath" | "guide" | "clearTrigger">;
7
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "clearTrigger" | "segment" | "segmentPath" | "guide">;
8
8
  //#endregion
9
9
  //#region src/machines/signature-pad/signature-pad.types.d.ts
10
10
  interface Point {
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
4
4
  import { StrokeOptions } from "perfect-freehand";
5
5
 
6
6
  //#region src/machines/signature-pad/signature-pad.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "segment" | "segmentPath" | "guide" | "clearTrigger">;
7
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "clearTrigger" | "segment" | "segmentPath" | "guide">;
8
8
  //#endregion
9
9
  //#region src/machines/signature-pad/signature-pad.types.d.ts
10
10
  interface Point {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-fB7F7B
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
4
4
 
5
5
  //#region src/machines/slider/slider.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "range" | "valueText" | "thumb" | "control" | "markerGroup" | "marker" | "draggingIndicator">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "valueText" | "control" | "track" | "marker" | "thumb" | "range" | "markerGroup" | "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-BM4oVv
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
4
4
 
5
5
  //#region src/machines/slider/slider.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "range" | "valueText" | "thumb" | "control" | "markerGroup" | "marker" | "draggingIndicator">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "valueText" | "control" | "track" | "marker" | "thumb" | "range" | "markerGroup" | "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-fB7F7B
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
4
4
 
5
5
  //#region src/machines/steps/steps.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"progress" | "root" | "content" | "item" | "indicator" | "list" | "trigger" | "separator" | "nextTrigger" | "prevTrigger">;
6
+ declare const anatomy: AnatomyInstance<"content" | "indicator" | "item" | "separator" | "trigger" | "root" | "list" | "progress" | "prevTrigger" | "nextTrigger">;
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-BM4oVv
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
4
4
 
5
5
  //#region src/machines/steps/steps.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"progress" | "root" | "content" | "item" | "indicator" | "list" | "trigger" | "separator" | "nextTrigger" | "prevTrigger">;
6
+ declare const anatomy: AnatomyInstance<"content" | "indicator" | "item" | "separator" | "trigger" | "root" | "list" | "progress" | "prevTrigger" | "nextTrigger">;
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-fB7F7B
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
4
4
 
5
5
  //#region src/machines/switch/switch.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "thumb" | "control">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "thumb">;
7
7
  //#endregion
8
8
  //#region src/machines/switch/switch.types.d.ts
9
9
  interface CheckedChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-BM4oVv
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
4
4
 
5
5
  //#region src/machines/switch/switch.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "label" | "thumb" | "control">;
6
+ declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "thumb">;
7
7
  //#endregion
8
8
  //#region src/machines/switch/switch.types.d.ts
9
9
  interface CheckedChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-fB7F7B
3
3
  import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
4
4
 
5
5
  //#region src/machines/tabs/tabs.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "content" | "indicator" | "list" | "trigger">;
6
+ declare const anatomy: AnatomyInstance<"content" | "indicator" | "trigger" | "root" | "list">;
7
7
  //#endregion
8
8
  //#region src/machines/tabs/tabs.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-BM4oVv
3
3
  import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
4
4
 
5
5
  //#region src/machines/tabs/tabs.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "content" | "indicator" | "list" | "trigger">;
6
+ declare const anatomy: AnatomyInstance<"content" | "indicator" | "trigger" | "root" | "list">;
7
7
  //#endregion
8
8
  //#region src/machines/tabs/tabs.types.d.ts
9
9
  interface ValueChangeDetails {
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
5
5
  import { t as LiveRegion } from "../../index-B2rsdD3v.cjs";
6
6
 
7
7
  //#region src/machines/tags-input/tags-input.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "clearTrigger" | "item" | "input" | "itemDeleteTrigger" | "itemPreview" | "itemInput" | "itemText">;
8
+ declare const anatomy: AnatomyInstance<"item" | "itemText" | "root" | "label" | "input" | "control" | "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-DIJJrhP_.mjs";
6
6
 
7
7
  //#region src/machines/tags-input/tags-input.anatomy.d.ts
8
- declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "clearTrigger" | "item" | "input" | "itemDeleteTrigger" | "itemPreview" | "itemInput" | "itemText">;
8
+ declare const anatomy: AnatomyInstance<"item" | "itemText" | "root" | "label" | "input" | "control" | "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-fB7F7B
3
3
  import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
4
4
 
5
5
  //#region src/machines/timer/timer.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "control" | "item" | "separator" | "area" | "itemValue" | "itemLabel" | "actionTrigger">;
6
+ declare const anatomy: AnatomyInstance<"item" | "separator" | "root" | "area" | "control" | "itemValue" | "itemLabel" | "actionTrigger">;
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-BM4oVv
3
3
  import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
4
4
 
5
5
  //#region src/machines/timer/timer.anatomy.d.ts
6
- declare const anatomy: AnatomyInstance<"root" | "control" | "item" | "separator" | "area" | "itemValue" | "itemLabel" | "actionTrigger">;
6
+ declare const anatomy: AnatomyInstance<"item" | "separator" | "root" | "area" | "control" | "itemValue" | "itemLabel" | "actionTrigger">;
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" | "actionTrigger" | "closeTrigger" | "group" | "description">;
178
+ declare const anatomy: AnatomyInstance<"root" | "actionTrigger" | "closeTrigger" | "title" | "description" | "group">;
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>;