@sprawlify/primitives 0.0.74 → 0.0.76
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.
- package/dist/collection.d.cts +2 -2
- package/dist/collection.d.mts +2 -2
- package/dist/dom-query.d.cts +1 -1
- package/dist/dom-query.d.mts +1 -1
- package/dist/{list-collection-C9XUe75n.d.mts → list-collection-Bkhw7BQD.d.mts} +1 -1
- package/dist/{list-collection-DwMgPYoA.d.cts → list-collection-CCRgbYG9.d.cts} +1 -1
- package/dist/machines/angle-slider/index.d.cts +1 -1
- package/dist/machines/angle-slider/index.d.mts +1 -1
- package/dist/machines/aspect-ratio/index.cjs +83 -0
- package/dist/machines/aspect-ratio/index.d.cts +41 -0
- package/dist/machines/aspect-ratio/index.d.mts +41 -0
- package/dist/machines/aspect-ratio/index.mjs +79 -0
- package/dist/machines/bottom-sheet/index.d.cts +1 -1
- package/dist/machines/bottom-sheet/index.d.mts +1 -1
- package/dist/machines/carousel/index.d.cts +1 -1
- package/dist/machines/carousel/index.d.mts +1 -1
- package/dist/machines/clipboard/index.d.cts +1 -1
- package/dist/machines/clipboard/index.d.mts +1 -1
- package/dist/machines/collapsible/index.d.cts +1 -1
- package/dist/machines/collapsible/index.d.mts +1 -1
- package/dist/machines/color-picker/index.d.cts +2 -2
- package/dist/machines/color-picker/index.d.mts +2 -2
- package/dist/machines/combobox/index.d.cts +3 -3
- package/dist/machines/combobox/index.d.mts +3 -3
- package/dist/machines/date-picker/index.d.cts +2 -2
- package/dist/machines/date-picker/index.d.mts +2 -2
- package/dist/machines/dialog/index.d.cts +1 -1
- package/dist/machines/dialog/index.d.mts +1 -1
- package/dist/machines/editable/index.d.cts +1 -1
- package/dist/machines/editable/index.d.mts +1 -1
- package/dist/machines/file-upload/index.d.cts +1 -1
- package/dist/machines/file-upload/index.d.mts +1 -1
- package/dist/machines/floating-panel/index.d.cts +2 -2
- package/dist/machines/floating-panel/index.d.mts +2 -2
- package/dist/machines/hover-card/index.d.cts +2 -2
- package/dist/machines/hover-card/index.d.mts +2 -2
- package/dist/machines/image-cropper/index.d.cts +1 -1
- package/dist/machines/image-cropper/index.d.mts +1 -1
- package/dist/machines/listbox/index.d.cts +3 -3
- package/dist/machines/listbox/index.d.mts +3 -3
- package/dist/machines/marquee/index.d.cts +3 -3
- package/dist/machines/marquee/index.d.mts +3 -3
- package/dist/machines/menu/index.d.cts +3 -3
- package/dist/machines/menu/index.d.mts +3 -3
- package/dist/machines/navigation-menu/index.d.cts +1 -1
- package/dist/machines/navigation-menu/index.d.mts +1 -1
- package/dist/machines/number-input/index.d.cts +1 -1
- package/dist/machines/number-input/index.d.mts +1 -1
- package/dist/machines/password-input/index.d.cts +1 -1
- package/dist/machines/password-input/index.d.mts +1 -1
- package/dist/machines/pin-input/index.d.cts +1 -1
- package/dist/machines/pin-input/index.d.mts +1 -1
- package/dist/machines/popover/index.d.cts +2 -2
- package/dist/machines/popover/index.d.mts +2 -2
- package/dist/machines/progress/index.d.cts +1 -1
- package/dist/machines/progress/index.d.mts +1 -1
- package/dist/machines/qr-code/index.d.cts +1 -1
- package/dist/machines/qr-code/index.d.mts +1 -1
- package/dist/machines/radio-group/index.d.cts +1 -1
- package/dist/machines/radio-group/index.d.mts +1 -1
- package/dist/machines/scroll-area/index.d.cts +1 -1
- package/dist/machines/scroll-area/index.d.mts +1 -1
- package/dist/machines/select/index.d.cts +3 -3
- package/dist/machines/select/index.d.mts +3 -3
- package/dist/machines/separator/index.cjs +72 -0
- package/dist/machines/separator/index.d.cts +40 -0
- package/dist/machines/separator/index.d.mts +40 -0
- package/dist/machines/separator/index.mjs +68 -0
- package/dist/machines/slider/index.d.cts +1 -1
- package/dist/machines/slider/index.d.mts +1 -1
- package/dist/machines/steps/index.d.cts +1 -1
- package/dist/machines/steps/index.d.mts +1 -1
- package/dist/machines/tabs/index.d.cts +1 -1
- package/dist/machines/tabs/index.d.mts +1 -1
- package/dist/machines/tags-input/index.d.cts +1 -1
- package/dist/machines/tags-input/index.d.mts +1 -1
- package/dist/machines/timer/index.d.cts +1 -1
- package/dist/machines/timer/index.d.mts +1 -1
- package/dist/machines/toast/index.d.cts +1 -1
- package/dist/machines/toast/index.d.mts +1 -1
- package/dist/machines/tooltip/index.d.cts +2 -2
- package/dist/machines/tooltip/index.d.mts +2 -2
- package/dist/machines/tour/index.d.cts +2 -2
- package/dist/machines/tour/index.d.mts +2 -2
- package/dist/machines/tree-view/index.d.cts +1 -1
- package/dist/machines/tree-view/index.d.mts +1 -1
- package/dist/popper.d.cts +1 -1
- package/dist/popper.d.mts +1 -1
- package/dist/rect-utils.d.cts +1 -1
- package/dist/rect-utils.d.mts +1 -1
- package/dist/{selection-CPTdpru8.d.mts → selection-B_yVhF_U.d.mts} +1 -1
- package/dist/{selection-wfybIxD3.d.cts → selection-Bq81oS-0.d.cts} +1 -1
- package/package.json +21 -1
- /package/dist/{index-DJ1MHM3z.d.mts → index-BhEktN_V.d.mts} +0 -0
- /package/dist/{types-C1F7Y-Hc.d.cts → types-BzOOuj9T.d.cts} +0 -0
- /package/dist/{types-Dw1I6cFP.d.mts → types-C6Fp77g2.d.mts} +0 -0
- /package/dist/{types-B--gFZVP.d.cts → types-DE9w-zbc.d.cts} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-UNZ__hxH.mjs";
|
|
2
2
|
import { p as Machine, u as EventObject, y as Service } from "../../types-BM4oVvZZ.mjs";
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
|
|
4
|
-
import { a as Point, o as Rect, y as Size } from "../../types-
|
|
4
|
+
import { a as Point, o as Rect, y as Size } from "../../types-C6Fp77g2.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/floating-panel/floating-panel.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"
|
|
7
|
+
declare const anatomy: AnatomyInstance<"trigger" | "positioner" | "content" | "control" | "closeTrigger" | "title" | "resizeTrigger" | "body" | "header" | "dragTrigger" | "stageTrigger">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/floating-panel/floating-panel.types.d.ts
|
|
10
10
|
interface PositionChangeDetails {
|
|
@@ -2,10 +2,10 @@ import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
|
2
2
|
import { p as Machine, u as EventObject, y as Service } from "../../types-fB7F7BBP.cjs";
|
|
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
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-Cf0hysnI.cjs";
|
|
5
|
-
import { c as Placement, d as PositioningOptions } from "../../types-
|
|
5
|
+
import { c as Placement, d as PositioningOptions } from "../../types-DE9w-zbc.cjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/hover-card/hover-card.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"trigger" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "arrow" | "arrowTip" | "positioner" | "content">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/hover-card/hover-card.types.d.ts
|
|
11
11
|
interface OpenChangeDetails {
|
|
@@ -2,10 +2,10 @@ import { n as AnatomyInstance } from "../../create-anatomy-UNZ__hxH.mjs";
|
|
|
2
2
|
import { p as Machine, u as EventObject, y as Service } from "../../types-BM4oVvZZ.mjs";
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
|
|
4
4
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CXu0elLS.mjs";
|
|
5
|
-
import { p as PositioningOptions, u as Placement } from "../../index-
|
|
5
|
+
import { p as PositioningOptions, u as Placement } from "../../index-BhEktN_V.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/hover-card/hover-card.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"trigger" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "arrow" | "arrowTip" | "positioner" | "content">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/hover-card/hover-card.types.d.ts
|
|
11
11
|
interface OpenChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-fB7F7B
|
|
|
3
3
|
import { _ as Size, b as NormalizeProps, g as RequiredBy, m as Rect, p as Point, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/image-cropper/image-cropper.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "viewport" | "image" | "selection" | "handle" | "grid">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/image-cropper/image-cropper.types.d.ts
|
|
9
9
|
type HandlePosition = "n" | "e" | "s" | "w" | "ne" | "se" | "sw" | "nw";
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-BM4oVv
|
|
|
3
3
|
import { _ as Size, b as NormalizeProps, g as RequiredBy, m as Rect, p as Point, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/image-cropper/image-cropper.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "viewport" | "image" | "selection" | "handle" | "grid">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/image-cropper/image-cropper.types.d.ts
|
|
9
9
|
type HandlePosition = "n" | "e" | "s" | "w" | "ne" | "se" | "sw" | "nw";
|
|
@@ -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-CBWaEVU4.cjs";
|
|
3
|
-
import { t as ListCollection } from "../../list-collection-
|
|
4
|
-
import { i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "../../selection-
|
|
3
|
+
import { t as ListCollection } from "../../list-collection-CCRgbYG9.cjs";
|
|
4
|
+
import { i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "../../selection-Bq81oS-0.cjs";
|
|
5
5
|
import { p as Machine, u as EventObject, y as Service } from "../../types-fB7F7BBP.cjs";
|
|
6
6
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
|
|
7
7
|
import { n as TypeaheadState } from "../../typeahead-BhNtyjQC.cjs";
|
|
8
8
|
|
|
9
9
|
//#region src/machines/listbox/listbox.anatomy.d.ts
|
|
10
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
10
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "content" | "input" | "item" | "itemIndicator" | "itemText" | "valueText" | "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-UNZ__hxH.mjs";
|
|
2
2
|
import { r as CollectionOptions, t as CollectionItem } from "../../types-D0tsc4Jo.mjs";
|
|
3
|
-
import { t as ListCollection } from "../../list-collection-
|
|
4
|
-
import { i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "../../selection-
|
|
3
|
+
import { t as ListCollection } from "../../list-collection-Bkhw7BQD.mjs";
|
|
4
|
+
import { i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "../../selection-B_yVhF_U.mjs";
|
|
5
5
|
import { p as Machine, u as EventObject, y as Service } from "../../types-BM4oVvZZ.mjs";
|
|
6
6
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
|
|
7
7
|
import { n as TypeaheadState } from "../../typeahead-D4TUCBly.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/machines/listbox/listbox.anatomy.d.ts
|
|
10
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
10
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "content" | "input" | "item" | "itemIndicator" | "itemText" | "valueText" | "itemGroup" | "itemGroupLabel">;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/machines/listbox/listbox.collection.d.ts
|
|
13
13
|
declare const collection: {
|
|
@@ -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, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/marquee/marquee.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "viewport" | "content" | "item" | "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" | "onComplete" | "paused" | ("
|
|
100
|
-
declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "ids" | "id" | "getRootNode" | "onComplete" | "paused" | ("
|
|
99
|
+
declare const props: ("ids" | "id" | "getRootNode" | "onComplete" | "paused" | ("dir" | "reverse" | "translations" | "spacing" | "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" | "onComplete" | "paused" | ("dir" | "reverse" | "translations" | "spacing" | "delay" | "side" | "speed" | "loopCount" | "autoFill" | "pauseOnInteraction" | "defaultPaused") | "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-BM4oVv
|
|
|
3
3
|
import { b as NormalizeProps, d as Orientation, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/marquee/marquee.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "viewport" | "content" | "item" | "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" | "onComplete" | "paused" | ("
|
|
100
|
-
declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "ids" | "id" | "getRootNode" | "onComplete" | "paused" | ("
|
|
99
|
+
declare const props: ("ids" | "id" | "getRootNode" | "onComplete" | "paused" | ("dir" | "reverse" | "translations" | "spacing" | "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" | "onComplete" | "paused" | ("dir" | "reverse" | "translations" | "spacing" | "delay" | "side" | "speed" | "loopCount" | "autoFill" | "pauseOnInteraction" | "defaultPaused") | "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 };
|
|
@@ -4,11 +4,11 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
4
4
|
import { n as TypeaheadState } from "../../typeahead-BhNtyjQC.cjs";
|
|
5
5
|
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-Cf0hysnI.cjs";
|
|
6
6
|
import { t as DismissableElementHandlers } from "../../dismissable-layer-B2bSyA07.cjs";
|
|
7
|
-
import { c as Placement, d as PositioningOptions } from "../../types-
|
|
8
|
-
import { a as Point } from "../../types-
|
|
7
|
+
import { c as Placement, d as PositioningOptions } from "../../types-DE9w-zbc.cjs";
|
|
8
|
+
import { a as Point } from "../../types-BzOOuj9T.cjs";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/menu/menu.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"
|
|
11
|
+
declare const anatomy: AnatomyInstance<"trigger" | "arrow" | "arrowTip" | "positioner" | "content" | "item" | "itemIndicator" | "itemText" | "indicator" | "separator" | "itemGroup" | "itemGroupLabel" | "contextTrigger" | "triggerItem">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/menu/menu.types.d.ts
|
|
14
14
|
interface OpenChangeDetails {
|
|
@@ -4,11 +4,11 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
4
4
|
import { n as TypeaheadState } from "../../typeahead-D4TUCBly.mjs";
|
|
5
5
|
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CXu0elLS.mjs";
|
|
6
6
|
import { t as DismissableElementHandlers } from "../../dismissable-layer-CpUMMV1f.mjs";
|
|
7
|
-
import { p as PositioningOptions, u as Placement } from "../../index-
|
|
8
|
-
import { a as Point } from "../../types-
|
|
7
|
+
import { p as PositioningOptions, u as Placement } from "../../index-BhEktN_V.mjs";
|
|
8
|
+
import { a as Point } from "../../types-C6Fp77g2.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/menu/menu.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"
|
|
11
|
+
declare const anatomy: AnatomyInstance<"trigger" | "arrow" | "arrowTip" | "positioner" | "content" | "item" | "itemIndicator" | "itemText" | "indicator" | "separator" | "itemGroup" | "itemGroupLabel" | "contextTrigger" | "triggerItem">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/menu/menu.types.d.ts
|
|
14
14
|
interface OpenChangeDetails {
|
|
@@ -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, f as OrientationProperty, g as RequiredBy, m as Rect, p as Point, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/navigation-menu/navigation-menu.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "viewport" | "trigger" | "arrow" | "content" | "item" | "itemIndicator" | "list" | "indicator" | "link" | "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-BM4oVv
|
|
|
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-CafmAesU.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/navigation-menu/navigation-menu.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "viewport" | "trigger" | "arrow" | "content" | "item" | "itemIndicator" | "list" | "indicator" | "link" | "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" | "label" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "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" | "label" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "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-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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "indicator" | "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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "indicator" | "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" | "
|
|
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" | "
|
|
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,10 +3,10 @@ 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
|
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-Cf0hysnI.cjs";
|
|
5
5
|
import { r as PersistentElementOptions, t as DismissableElementHandlers } from "../../dismissable-layer-B2bSyA07.cjs";
|
|
6
|
-
import { c as Placement, d as PositioningOptions } from "../../types-
|
|
6
|
+
import { c as Placement, d as PositioningOptions } from "../../types-DE9w-zbc.cjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/popover/popover.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"
|
|
9
|
+
declare const anatomy: AnatomyInstance<"trigger" | "arrow" | "arrowTip" | "positioner" | "content" | "indicator" | "closeTrigger" | "title" | "description" | "anchor">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/popover/popover.types.d.ts
|
|
12
12
|
interface OpenChangeDetails {
|
|
@@ -3,10 +3,10 @@ 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
|
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CXu0elLS.mjs";
|
|
5
5
|
import { r as PersistentElementOptions, t as DismissableElementHandlers } from "../../dismissable-layer-CpUMMV1f.mjs";
|
|
6
|
-
import { p as PositioningOptions, u as Placement } from "../../index-
|
|
6
|
+
import { p as PositioningOptions, u as Placement } from "../../index-BhEktN_V.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/popover/popover.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"
|
|
9
|
+
declare const anatomy: AnatomyInstance<"trigger" | "arrow" | "arrowTip" | "positioner" | "content" | "indicator" | "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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "circle" | "range" | "valueText" | "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-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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "circle" | "range" | "valueText" | "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" | "
|
|
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" | "
|
|
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-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" | "itemText" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemText" | "indicator" | "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" | "itemText" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemText" | "indicator" | "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 { _ 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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "viewport" | "content" | "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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "viewport" | "content" | "thumb" | "scrollbar" | "corner">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/scroll-area/utils/timeout.d.ts
|
|
9
9
|
declare class Timeout {
|
|
@@ -1,14 +1,14 @@
|
|
|
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-
|
|
3
|
+
import { t as ListCollection } from "../../list-collection-CCRgbYG9.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";
|
|
7
7
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-Cf0hysnI.cjs";
|
|
8
|
-
import { c as Placement, d as PositioningOptions } from "../../types-
|
|
8
|
+
import { c as Placement, d as PositioningOptions } from "../../types-DE9w-zbc.cjs";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/select/select.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
11
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "positioner" | "content" | "control" | "clearTrigger" | "item" | "itemIndicator" | "itemText" | "valueText" | "list" | "indicator" | "itemGroup" | "itemGroupLabel">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/select/select.collection.d.ts
|
|
14
14
|
declare const collection: {
|
|
@@ -1,14 +1,14 @@
|
|
|
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-
|
|
3
|
+
import { t as ListCollection } from "../../list-collection-Bkhw7BQD.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";
|
|
7
7
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CXu0elLS.mjs";
|
|
8
|
-
import { p as PositioningOptions, u as Placement } from "../../index-
|
|
8
|
+
import { p as PositioningOptions, u as Placement } from "../../index-BhEktN_V.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/select/select.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
11
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "positioner" | "content" | "control" | "clearTrigger" | "item" | "itemIndicator" | "itemText" | "valueText" | "list" | "indicator" | "itemGroup" | "itemGroupLabel">;
|
|
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 };
|