@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
package/dist/collection.d.cts
CHANGED
|
@@ -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-CBWaEVU4.cjs";
|
|
2
|
-
import { n as isListCollection, t as ListCollection } from "./list-collection-
|
|
3
|
-
import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-
|
|
2
|
+
import { n as isListCollection, t as ListCollection } from "./list-collection-CCRgbYG9.cjs";
|
|
3
|
+
import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-Bq81oS-0.cjs";
|
|
4
4
|
import { n as filePathToTree, r as flattenedToTree, t as TreeCollection } from "./tree-collection-CPcsMvje.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 };
|
package/dist/collection.d.mts
CHANGED
|
@@ -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-D0tsc4Jo.mjs";
|
|
2
|
-
import { n as isListCollection, t as ListCollection } from "./list-collection-
|
|
3
|
-
import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-
|
|
2
|
+
import { n as isListCollection, t as ListCollection } from "./list-collection-Bkhw7BQD.mjs";
|
|
3
|
+
import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-B_yVhF_U.mjs";
|
|
4
4
|
import { n as filePathToTree, r as flattenedToTree, t as TreeCollection } from "./tree-collection-1g4DXuqa.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 };
|
package/dist/dom-query.d.cts
CHANGED
|
@@ -57,7 +57,7 @@ declare const isModifierKey: (e: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "al
|
|
|
57
57
|
declare const isTouchEvent: (event: AnyPointerEvent) => event is TouchEvent;
|
|
58
58
|
declare function getEventKey(event: Pick<KeyboardEvent, "key">, options?: EventKeyOptions): string;
|
|
59
59
|
declare function getNativeEvent<E>(event: E): NativeEvent<E>;
|
|
60
|
-
declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 1 |
|
|
60
|
+
declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 1 | 0.1 | 10;
|
|
61
61
|
declare function getEventPoint(event: any, type?: "page" | "client"): {
|
|
62
62
|
x: number;
|
|
63
63
|
y: number;
|
package/dist/dom-query.d.mts
CHANGED
|
@@ -57,7 +57,7 @@ declare const isModifierKey: (e: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "al
|
|
|
57
57
|
declare const isTouchEvent: (event: AnyPointerEvent) => event is TouchEvent;
|
|
58
58
|
declare function getEventKey(event: Pick<KeyboardEvent, "key">, options?: EventKeyOptions): string;
|
|
59
59
|
declare function getNativeEvent<E>(event: E): NativeEvent<E>;
|
|
60
|
-
declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 1 |
|
|
60
|
+
declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 1 | 0.1 | 10;
|
|
61
61
|
declare function getEventPoint(event: any, type?: "page" | "client"): {
|
|
62
62
|
x: number;
|
|
63
63
|
y: number;
|
|
@@ -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) =>
|
|
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) =>
|
|
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-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/angle-slider/angle-slider.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "control" | "thumb" | "valueText" | "marker" | "markerGroup">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/angle-slider/angle-slider.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-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/angle-slider/angle-slider.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "control" | "thumb" | "valueText" | "marker" | "markerGroup">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/angle-slider/angle-slider.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -0,0 +1,83 @@
|
|
|
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/aspect-ratio/aspect-ratio.anatomy.ts
|
|
8
|
+
const anatomy = require_create_anatomy.createAnatomy("aspect-ratio").parts("root", "content");
|
|
9
|
+
const parts = anatomy.build();
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/machines/aspect-ratio/aspect-ratio.dom.ts
|
|
13
|
+
const getRootId = (ctx) => ctx.ids?.root ?? `aspect-ratio:${ctx.id}`;
|
|
14
|
+
const getContentId = (ctx) => ctx.ids?.content ?? `aspect-ratio:${ctx.id}:content`;
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region src/machines/aspect-ratio/aspect-ratio.connect.ts
|
|
18
|
+
function connect(service, normalize) {
|
|
19
|
+
const { prop, scope } = service;
|
|
20
|
+
const ratio = prop("ratio") ?? 1;
|
|
21
|
+
return {
|
|
22
|
+
ratio,
|
|
23
|
+
getRootProps() {
|
|
24
|
+
return normalize.element({
|
|
25
|
+
...parts.root.attrs,
|
|
26
|
+
id: getRootId(scope),
|
|
27
|
+
style: {
|
|
28
|
+
position: "relative",
|
|
29
|
+
width: "100%",
|
|
30
|
+
paddingBottom: `${1 / ratio * 100}%`
|
|
31
|
+
},
|
|
32
|
+
"data-ratio": ratio
|
|
33
|
+
});
|
|
34
|
+
},
|
|
35
|
+
getContentProps() {
|
|
36
|
+
return normalize.element({
|
|
37
|
+
...parts.content.attrs,
|
|
38
|
+
id: getContentId(scope),
|
|
39
|
+
style: {
|
|
40
|
+
position: "absolute",
|
|
41
|
+
top: 0,
|
|
42
|
+
right: 0,
|
|
43
|
+
bottom: 0,
|
|
44
|
+
left: 0
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/machines/aspect-ratio/aspect-ratio.machine.ts
|
|
53
|
+
const machine = require_core.createMachine({
|
|
54
|
+
initialState() {
|
|
55
|
+
return "idle";
|
|
56
|
+
},
|
|
57
|
+
context() {
|
|
58
|
+
return {};
|
|
59
|
+
},
|
|
60
|
+
states: { idle: {} },
|
|
61
|
+
implementations: {
|
|
62
|
+
actions: {},
|
|
63
|
+
guards: {},
|
|
64
|
+
effects: {}
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
//#endregion
|
|
69
|
+
//#region src/machines/aspect-ratio/aspect-ratio.props.ts
|
|
70
|
+
const props = require_create_props.createProps()([
|
|
71
|
+
"getRootNode",
|
|
72
|
+
"id",
|
|
73
|
+
"ids",
|
|
74
|
+
"ratio"
|
|
75
|
+
]);
|
|
76
|
+
const splitProps = require_utils.createSplitProps(props);
|
|
77
|
+
|
|
78
|
+
//#endregion
|
|
79
|
+
exports.anatomy = anatomy;
|
|
80
|
+
exports.connect = connect;
|
|
81
|
+
exports.machine = machine;
|
|
82
|
+
exports.props = props;
|
|
83
|
+
exports.splitProps = splitProps;
|
|
@@ -0,0 +1,41 @@
|
|
|
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, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
|
|
4
|
+
|
|
5
|
+
//#region src/machines/aspect-ratio/aspect-ratio.anatomy.d.ts
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "content">;
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region src/machines/aspect-ratio/aspect-ratio.types.d.ts
|
|
9
|
+
type ElementIds = Partial<{
|
|
10
|
+
root: string;
|
|
11
|
+
content: string;
|
|
12
|
+
}>;
|
|
13
|
+
interface AspectRatioProps extends CommonProperties {
|
|
14
|
+
ids?: ElementIds | undefined;
|
|
15
|
+
ratio?: number | undefined;
|
|
16
|
+
}
|
|
17
|
+
interface AspectRatioSchema {
|
|
18
|
+
props: AspectRatioProps;
|
|
19
|
+
context: any;
|
|
20
|
+
initial: "idle";
|
|
21
|
+
state: "idle";
|
|
22
|
+
}
|
|
23
|
+
type AspectRatioService = Service<AspectRatioSchema>;
|
|
24
|
+
type AspectRatioMachine = Machine<AspectRatioSchema>;
|
|
25
|
+
interface AspectRatioApi<T extends PropTypes = PropTypes> {
|
|
26
|
+
ratio: number;
|
|
27
|
+
getRootProps: () => T["element"];
|
|
28
|
+
getContentProps: () => T["element"];
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/machines/aspect-ratio/aspect-ratio.connect.d.ts
|
|
32
|
+
declare function connect<T extends PropTypes>(service: Service<AspectRatioSchema>, normalize: NormalizeProps<T>): AspectRatioApi<T>;
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/machines/aspect-ratio/aspect-ratio.machine.d.ts
|
|
35
|
+
declare const machine: Machine<AspectRatioSchema>;
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/machines/aspect-ratio/aspect-ratio.props.d.ts
|
|
38
|
+
declare const props: (keyof AspectRatioProps)[];
|
|
39
|
+
declare const splitProps: <Props extends Partial<AspectRatioProps>>(props: Props) => [Partial<AspectRatioProps>, Omit<Props, keyof AspectRatioProps>];
|
|
40
|
+
//#endregion
|
|
41
|
+
export { type AspectRatioApi as Api, type AspectRatioMachine as Machine, type AspectRatioProps as Props, type AspectRatioService as Service, anatomy, connect, machine, props, splitProps };
|
|
@@ -0,0 +1,41 @@
|
|
|
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, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
|
|
4
|
+
|
|
5
|
+
//#region src/machines/aspect-ratio/aspect-ratio.anatomy.d.ts
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "content">;
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region src/machines/aspect-ratio/aspect-ratio.types.d.ts
|
|
9
|
+
type ElementIds = Partial<{
|
|
10
|
+
root: string;
|
|
11
|
+
content: string;
|
|
12
|
+
}>;
|
|
13
|
+
interface AspectRatioProps extends CommonProperties {
|
|
14
|
+
ids?: ElementIds | undefined;
|
|
15
|
+
ratio?: number | undefined;
|
|
16
|
+
}
|
|
17
|
+
interface AspectRatioSchema {
|
|
18
|
+
props: AspectRatioProps;
|
|
19
|
+
context: any;
|
|
20
|
+
initial: "idle";
|
|
21
|
+
state: "idle";
|
|
22
|
+
}
|
|
23
|
+
type AspectRatioService = Service<AspectRatioSchema>;
|
|
24
|
+
type AspectRatioMachine = Machine<AspectRatioSchema>;
|
|
25
|
+
interface AspectRatioApi<T extends PropTypes = PropTypes> {
|
|
26
|
+
ratio: number;
|
|
27
|
+
getRootProps: () => T["element"];
|
|
28
|
+
getContentProps: () => T["element"];
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/machines/aspect-ratio/aspect-ratio.connect.d.ts
|
|
32
|
+
declare function connect<T extends PropTypes>(service: Service<AspectRatioSchema>, normalize: NormalizeProps<T>): AspectRatioApi<T>;
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/machines/aspect-ratio/aspect-ratio.machine.d.ts
|
|
35
|
+
declare const machine: Machine<AspectRatioSchema>;
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/machines/aspect-ratio/aspect-ratio.props.d.ts
|
|
38
|
+
declare const props: (keyof AspectRatioProps)[];
|
|
39
|
+
declare const splitProps: <Props extends Partial<AspectRatioProps>>(props: Props) => [Partial<AspectRatioProps>, Omit<Props, keyof AspectRatioProps>];
|
|
40
|
+
//#endregion
|
|
41
|
+
export { type AspectRatioApi as Api, type AspectRatioMachine as Machine, type AspectRatioProps as Props, type AspectRatioService as Service, anatomy, connect, machine, props, splitProps };
|
|
@@ -0,0 +1,79 @@
|
|
|
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/aspect-ratio/aspect-ratio.anatomy.ts
|
|
8
|
+
const anatomy = createAnatomy("aspect-ratio").parts("root", "content");
|
|
9
|
+
const parts = anatomy.build();
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/machines/aspect-ratio/aspect-ratio.dom.ts
|
|
13
|
+
const getRootId = (ctx) => ctx.ids?.root ?? `aspect-ratio:${ctx.id}`;
|
|
14
|
+
const getContentId = (ctx) => ctx.ids?.content ?? `aspect-ratio:${ctx.id}:content`;
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region src/machines/aspect-ratio/aspect-ratio.connect.ts
|
|
18
|
+
function connect(service, normalize) {
|
|
19
|
+
const { prop, scope } = service;
|
|
20
|
+
const ratio = prop("ratio") ?? 1;
|
|
21
|
+
return {
|
|
22
|
+
ratio,
|
|
23
|
+
getRootProps() {
|
|
24
|
+
return normalize.element({
|
|
25
|
+
...parts.root.attrs,
|
|
26
|
+
id: getRootId(scope),
|
|
27
|
+
style: {
|
|
28
|
+
position: "relative",
|
|
29
|
+
width: "100%",
|
|
30
|
+
paddingBottom: `${1 / ratio * 100}%`
|
|
31
|
+
},
|
|
32
|
+
"data-ratio": ratio
|
|
33
|
+
});
|
|
34
|
+
},
|
|
35
|
+
getContentProps() {
|
|
36
|
+
return normalize.element({
|
|
37
|
+
...parts.content.attrs,
|
|
38
|
+
id: getContentId(scope),
|
|
39
|
+
style: {
|
|
40
|
+
position: "absolute",
|
|
41
|
+
top: 0,
|
|
42
|
+
right: 0,
|
|
43
|
+
bottom: 0,
|
|
44
|
+
left: 0
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/machines/aspect-ratio/aspect-ratio.machine.ts
|
|
53
|
+
const machine = createMachine({
|
|
54
|
+
initialState() {
|
|
55
|
+
return "idle";
|
|
56
|
+
},
|
|
57
|
+
context() {
|
|
58
|
+
return {};
|
|
59
|
+
},
|
|
60
|
+
states: { idle: {} },
|
|
61
|
+
implementations: {
|
|
62
|
+
actions: {},
|
|
63
|
+
guards: {},
|
|
64
|
+
effects: {}
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
//#endregion
|
|
69
|
+
//#region src/machines/aspect-ratio/aspect-ratio.props.ts
|
|
70
|
+
const props = createProps()([
|
|
71
|
+
"getRootNode",
|
|
72
|
+
"id",
|
|
73
|
+
"ids",
|
|
74
|
+
"ratio"
|
|
75
|
+
]);
|
|
76
|
+
const splitProps = createSplitProps(props);
|
|
77
|
+
|
|
78
|
+
//#endregion
|
|
79
|
+
export { anatomy, connect, machine, props, splitProps };
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOuts
|
|
|
5
5
|
import { t as DismissableElementHandlers } from "../../dismissable-layer-B2bSyA07.cjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/bottom-sheet/bottom-sheet.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "closeTrigger" | "title" | "backdrop" | "grabber" | "grabberIndicator">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/bottom-sheet/utils/drag-manager.d.ts
|
|
11
11
|
declare class DragManager {
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOuts
|
|
|
5
5
|
import { t as DismissableElementHandlers } from "../../dismissable-layer-CpUMMV1f.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/bottom-sheet/bottom-sheet.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "closeTrigger" | "title" | "backdrop" | "grabber" | "grabberIndicator">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/bottom-sheet/utils/drag-manager.d.ts
|
|
11
11
|
declare class DragManager {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-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/carousel/carousel.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "control" | "item" | "indicator" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "control" | "item" | "indicator" | "nextTrigger" | "prevTrigger" | "progressText" | "itemGroup" | "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-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/carousel/carousel.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "control" | "item" | "indicator" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "control" | "item" | "indicator" | "nextTrigger" | "prevTrigger" | "progressText" | "itemGroup" | "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, y as Service } from "../../types-fB7F7BBP.cjs";
|
|
|
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/clipboard/clipboard.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "input" | "control" | "indicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/clipboard/clipboard.types.d.ts
|
|
9
9
|
interface CopyStatusDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, y as Service } from "../../types-BM4oVvZZ.mjs";
|
|
|
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/clipboard/clipboard.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "input" | "control" | "indicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/clipboard/clipboard.types.d.ts
|
|
9
9
|
interface CopyStatusDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, y as Service } from "../../types-fB7F7BBP.cjs";
|
|
|
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/collapsible/collapsible.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/collapsible/collapsible.types.d.ts
|
|
9
9
|
interface OpenChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, y as Service } from "../../types-BM4oVvZZ.mjs";
|
|
|
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/collapsible/collapsible.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/collapsible/collapsible.types.d.ts
|
|
9
9
|
interface OpenChangeDetails {
|
|
@@ -3,10 +3,10 @@ import { a as ColorFormat, n as ColorAxes, r as ColorChannel, s as ColorType, t
|
|
|
3
3
|
import { p as Machine, u as EventObject, y as Service } from "../../types-fB7F7BBP.cjs";
|
|
4
4
|
import { b as NormalizeProps, d as Orientation, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
|
|
5
5
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-Cf0hysnI.cjs";
|
|
6
|
-
import { d as PositioningOptions } from "../../types-
|
|
6
|
+
import { d as PositioningOptions } from "../../types-DE9w-zbc.cjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/color-picker/color-picker.anatomy.d.ts
|
|
9
|
-
declare const anatomy: Anatomy<"root" | "label" | "
|
|
9
|
+
declare const anatomy: Anatomy<"root" | "label" | "trigger" | "positioner" | "content" | "control" | "valueText" | "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";
|
|
@@ -3,10 +3,10 @@ import { a as ColorFormat, n as ColorAxes, r as ColorChannel, s as ColorType, t
|
|
|
3
3
|
import { p as Machine, u as EventObject, y as Service } from "../../types-BM4oVvZZ.mjs";
|
|
4
4
|
import { b as NormalizeProps, d as Orientation, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
|
|
5
5
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CXu0elLS.mjs";
|
|
6
|
-
import { p as PositioningOptions } from "../../index-
|
|
6
|
+
import { p as PositioningOptions } from "../../index-BhEktN_V.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/color-picker/color-picker.anatomy.d.ts
|
|
9
|
-
declare const anatomy: Anatomy<"root" | "label" | "
|
|
9
|
+
declare const anatomy: Anatomy<"root" | "label" | "trigger" | "positioner" | "content" | "control" | "valueText" | "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";
|
|
@@ -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-
|
|
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 { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-Cf0hysnI.cjs";
|
|
7
|
-
import { c as Placement, d as PositioningOptions } from "../../types-
|
|
7
|
+
import { c as Placement, d as PositioningOptions } from "../../types-DE9w-zbc.cjs";
|
|
8
8
|
|
|
9
9
|
//#region src/machines/combobox/combobox.anatomy.d.ts
|
|
10
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
10
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "positioner" | "content" | "input" | "control" | "clearTrigger" | "item" | "itemIndicator" | "itemText" | "list" | "itemGroup" | "itemGroupLabel">;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/machines/combobox/combobox.collection.d.ts
|
|
13
13
|
declare const collection: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-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 { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CXu0elLS.mjs";
|
|
7
|
-
import { p as PositioningOptions, u as Placement } from "../../index-
|
|
7
|
+
import { p as PositioningOptions, u as Placement } from "../../index-BhEktN_V.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/machines/combobox/combobox.anatomy.d.ts
|
|
10
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
10
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "positioner" | "content" | "input" | "control" | "clearTrigger" | "item" | "itemIndicator" | "itemText" | "list" | "itemGroup" | "itemGroupLabel">;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/machines/combobox/combobox.collection.d.ts
|
|
13
13
|
declare const collection: {
|
|
@@ -4,11 +4,11 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
4
4
|
import { a as DateRangePreset } from "../../types-DTZZ5wsp.cjs";
|
|
5
5
|
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-Cf0hysnI.cjs";
|
|
6
6
|
import { t as LiveRegion } from "../../index-B2rsdD3v.cjs";
|
|
7
|
-
import { c as Placement, d as PositioningOptions } from "../../types-
|
|
7
|
+
import { c as Placement, d as PositioningOptions } from "../../types-DE9w-zbc.cjs";
|
|
8
8
|
import { Calendar, CalendarDate, CalendarDateTime, DateDuration, DateFormatter, DateValue, DateValue as DateValue$1, ZonedDateTime } from "@internationalized/date";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/date-picker/date-picker.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
11
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "positioner" | "content" | "input" | "control" | "clearTrigger" | "view" | "nextTrigger" | "prevTrigger" | "table" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/date-picker/date-picker.types.d.ts
|
|
14
14
|
type DateView = "day" | "month" | "year";
|
|
@@ -4,11 +4,11 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
4
4
|
import { X as DateRangePreset } from "../../index-DLbWwJUT.mjs";
|
|
5
5
|
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CXu0elLS.mjs";
|
|
6
6
|
import { t as LiveRegion } from "../../index-DIJJrhP_.mjs";
|
|
7
|
-
import { p as PositioningOptions, u as Placement } from "../../index-
|
|
7
|
+
import { p as PositioningOptions, u as Placement } from "../../index-BhEktN_V.mjs";
|
|
8
8
|
import { Calendar, CalendarDate, CalendarDateTime, DateDuration, DateFormatter, DateValue, DateValue as DateValue$1, ZonedDateTime } from "@internationalized/date";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/date-picker/date-picker.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
11
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "positioner" | "content" | "input" | "control" | "clearTrigger" | "view" | "nextTrigger" | "prevTrigger" | "table" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/date-picker/date-picker.types.d.ts
|
|
14
14
|
type DateView = "day" | "month" | "year";
|
|
@@ -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-B2bSyA07.cjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/dialog/dialog.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "positioner" | "content" | "closeTrigger" | "title" | "description" | "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-CpUMMV1f.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/dialog/dialog.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "positioner" | "content" | "closeTrigger" | "title" | "description" | "backdrop">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/dialog/dialog.types.d.ts
|
|
11
11
|
interface OpenChangeDetails {
|
|
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
4
4
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-Cf0hysnI.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/editable/editable.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/editable/editable.types.d.ts
|
|
10
10
|
interface ValueChangeDetails {
|
|
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
4
4
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CXu0elLS.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/editable/editable.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/editable/editable.types.d.ts
|
|
10
10
|
interface ValueChangeDetails {
|
|
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, o as LocaleProperties, t as Commo
|
|
|
4
4
|
import { i as FileMimeType, r as FileError } from "../../types-oR0sELNB.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/file-upload/file-upload.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "clearTrigger" | "item" | "dropzone" | "itemDeleteTrigger" | "itemGroup" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText">;
|
|
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-CW-uU8Nz.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/file-upload/file-upload.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "clearTrigger" | "item" | "dropzone" | "itemDeleteTrigger" | "itemGroup" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/file-upload/file-upload.types.d.ts
|
|
10
10
|
interface FileRejection {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
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
|
-
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-BzOOuj9T.cjs";
|
|
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 {
|