@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
|
@@ -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 };
|
|
@@ -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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "control" | "thumb" | "range" | "valueText" | "marker" | "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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "control" | "thumb" | "range" | "valueText" | "marker" | "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<"
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "progress" | "item" | "list" | "indicator" | "separator" | "nextTrigger" | "prevTrigger">;
|
|
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<"
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "progress" | "item" | "list" | "indicator" | "separator" | "nextTrigger" | "prevTrigger">;
|
|
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, 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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "list" | "indicator">;
|
|
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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "list" | "indicator">;
|
|
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" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "clearTrigger" | "item" | "itemText" | "itemDeleteTrigger" | "itemPreview" | "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" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "clearTrigger" | "item" | "itemText" | "itemDeleteTrigger" | "itemPreview" | "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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "control" | "item" | "separator" | "actionTrigger" | "itemLabel" | "area" | "itemValue">;
|
|
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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "control" | "item" | "separator" | "actionTrigger" | "itemLabel" | "area" | "itemValue">;
|
|
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" | "actionTrigger" | "
|
|
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>;
|
|
@@ -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" | "actionTrigger" | "
|
|
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>;
|
|
@@ -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 { c as Placement, d as PositioningOptions } from "../../types-
|
|
4
|
+
import { c as Placement, d as PositioningOptions } from "../../types-DE9w-zbc.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/tooltip/tooltip.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"trigger" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"trigger" | "arrow" | "arrowTip" | "positioner" | "content">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/tooltip/tooltip.types.d.ts
|
|
10
10
|
interface OpenChangeDetails {
|
|
@@ -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 { p as PositioningOptions, u as Placement } from "../../index-
|
|
4
|
+
import { p as PositioningOptions, u as Placement } from "../../index-BhEktN_V.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/tooltip/tooltip.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"trigger" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"trigger" | "arrow" | "arrowTip" | "positioner" | "content">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/tooltip/tooltip.types.d.ts
|
|
10
10
|
interface OpenChangeDetails {
|
|
@@ -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 { i as waitForElement, n as WaitForOptions, o as waitForPromise, r as WaitForPromiseReturn } from "../../wait-for-D5gBQyam.cjs";
|
|
5
5
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-Cf0hysnI.cjs";
|
|
6
|
-
import { c as Placement } from "../../types-
|
|
6
|
+
import { c as Placement } from "../../types-DE9w-zbc.cjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tour/tour.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"
|
|
9
|
+
declare const anatomy: AnatomyInstance<"arrow" | "arrowTip" | "positioner" | "content" | "actionTrigger" | "closeTrigger" | "progressText" | "title" | "description" | "backdrop" | "spotlight">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/tour/utils/rect.d.ts
|
|
12
12
|
interface Point {
|
|
@@ -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 { i as waitForElement, n as WaitForOptions, o as waitForPromise, r as WaitForPromiseReturn } from "../../wait-for-CVZu6XNU.mjs";
|
|
5
5
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CXu0elLS.mjs";
|
|
6
|
-
import { u as Placement } from "../../index-
|
|
6
|
+
import { u as Placement } from "../../index-BhEktN_V.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tour/tour.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"
|
|
9
|
+
declare const anatomy: AnatomyInstance<"arrow" | "arrowTip" | "positioner" | "content" | "actionTrigger" | "closeTrigger" | "progressText" | "title" | "description" | "backdrop" | "spotlight">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/tour/utils/rect.d.ts
|
|
12
12
|
interface Point {
|
|
@@ -6,7 +6,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
6
6
|
import { n as TypeaheadState } from "../../typeahead-BhNtyjQC.cjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tree-view/tree-view.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
9
|
+
declare const anatomy: AnatomyInstance<"root" | "tree" | "label" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "item" | "itemIndicator" | "itemText" | "nodeCheckbox" | "nodeRenameInput">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/tree-view/tree-view.collection.d.ts
|
|
12
12
|
declare const collection: {
|
|
@@ -6,7 +6,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
6
6
|
import { n as TypeaheadState } from "../../typeahead-D4TUCBly.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tree-view/tree-view.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
9
|
+
declare const anatomy: AnatomyInstance<"root" | "tree" | "label" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "item" | "itemIndicator" | "itemText" | "nodeCheckbox" | "nodeRenameInput">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/tree-view/tree-view.collection.d.ts
|
|
12
12
|
declare const collection: {
|
package/dist/popper.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as MaybeElement, c as Placement, d as PositioningOptions, i as ComputePositionReturn, l as PlacementAlign, n as AutoUpdateOptions, o as MaybeFn, r as Boundary, s as MaybeRectElement, t as AnchorRect, u as PlacementSide } from "./types-
|
|
1
|
+
import { a as MaybeElement, c as Placement, d as PositioningOptions, i as ComputePositionReturn, l as PlacementAlign, n as AutoUpdateOptions, o as MaybeFn, r as Boundary, s as MaybeRectElement, t as AnchorRect, u as PlacementSide } from "./types-DE9w-zbc.cjs";
|
|
2
2
|
import { Placement as Placement$1 } from "@floating-ui/dom";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/popper/get-placement.d.ts
|
package/dist/popper.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as getPlacement, c as Boundary, d as PlacementAlign, f as PlacementSide, i as getPlacementStyles, l as ComputePositionReturn, n as isValidPlacement, o as AnchorRect, p as PositioningOptions, r as GetPlacementStylesOptions, s as AutoUpdateOptions, t as getPlacementSide, u as Placement } from "./index-
|
|
1
|
+
import { a as getPlacement, c as Boundary, d as PlacementAlign, f as PlacementSide, i as getPlacementStyles, l as ComputePositionReturn, n as isValidPlacement, o as AnchorRect, p as PositioningOptions, r as GetPlacementStylesOptions, s as AutoUpdateOptions, t as getPlacementSide, u as Placement } from "./index-BhEktN_V.mjs";
|
|
2
2
|
export { AnchorRect, AutoUpdateOptions, Boundary, ComputePositionReturn, GetPlacementStylesOptions, Placement, PlacementAlign, PlacementSide, PositioningOptions, getPlacement, getPlacementSide, getPlacementStyles, isValidPlacement };
|
package/dist/rect-utils.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as RectSide, a as Point, b as SymmetricRectInset, c as RectCenters, d as RectEdge, f as RectEdges, g as RectPoints, h as RectPoint, i as HAlign, l as RectCorner, m as RectInset, n as Bounds, o as Rect, p as RectInit, r as CenterPoint, s as RectCenter, t as AlignOptions, u as RectCorners, v as ScalingOptions, x as VAlign, y as Size } from "./types-
|
|
1
|
+
import { _ as RectSide, a as Point, b as SymmetricRectInset, c as RectCenters, d as RectEdge, f as RectEdges, g as RectPoints, h as RectPoint, i as HAlign, l as RectCorner, m as RectInset, n as Bounds, o as Rect, p as RectInit, r as CenterPoint, s as RectCenter, t as AlignOptions, u as RectCorners, v as ScalingOptions, x as VAlign, y as Size } from "./types-BzOOuj9T.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/rect-utils/affine-transform.d.ts
|
|
4
4
|
declare class AffineTransform {
|
package/dist/rect-utils.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as RectSide, a as Point, b as SymmetricRectInset, c as RectCenters, d as RectEdge, f as RectEdges, g as RectPoints, h as RectPoint, i as HAlign, l as RectCorner, m as RectInset, n as Bounds, o as Rect, p as RectInit, r as CenterPoint, s as RectCenter, t as AlignOptions, u as RectCorners, v as ScalingOptions, x as VAlign, y as Size } from "./types-
|
|
1
|
+
import { _ as RectSide, a as Point, b as SymmetricRectInset, c as RectCenters, d as RectEdge, f as RectEdges, g as RectPoints, h as RectPoint, i as HAlign, l as RectCorner, m as RectInset, n as Bounds, o as Rect, p as RectInit, r as CenterPoint, s as RectCenter, t as AlignOptions, u as RectCorners, v as ScalingOptions, x as VAlign, y as Size } from "./types-C6Fp77g2.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/rect-utils/affine-transform.d.ts
|
|
4
4
|
declare class AffineTransform {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as CollectionOptions, t as CollectionItem } from "./types-D0tsc4Jo.mjs";
|
|
2
|
-
import { t as ListCollection } from "./list-collection-
|
|
2
|
+
import { t as ListCollection } from "./list-collection-Bkhw7BQD.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/collection/grid-collection.d.ts
|
|
5
5
|
interface GridCollectionOptions<T> extends CollectionOptions<T> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as CollectionOptions, t as CollectionItem } from "./types-CBWaEVU4.cjs";
|
|
2
|
-
import { t as ListCollection } from "./list-collection-
|
|
2
|
+
import { t as ListCollection } from "./list-collection-CCRgbYG9.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/collection/grid-collection.d.ts
|
|
5
5
|
interface GridCollectionOptions<T> extends CollectionOptions<T> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sprawlify/primitives",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.76",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A set of primitive components for building user interfaces.",
|
|
6
6
|
"author": "sprawlify <npm@sprawlify.com>",
|
|
@@ -218,6 +218,16 @@
|
|
|
218
218
|
"default": "./dist/machines/angle-slider/index.cjs"
|
|
219
219
|
}
|
|
220
220
|
},
|
|
221
|
+
"./machines/aspect-ratio": {
|
|
222
|
+
"import": {
|
|
223
|
+
"types": "./dist/machines/aspect-ratio/index.d.mts",
|
|
224
|
+
"default": "./dist/machines/aspect-ratio/index.mjs"
|
|
225
|
+
},
|
|
226
|
+
"require": {
|
|
227
|
+
"types": "./dist/machines/aspect-ratio/index.d.cts",
|
|
228
|
+
"default": "./dist/machines/aspect-ratio/index.cjs"
|
|
229
|
+
}
|
|
230
|
+
},
|
|
221
231
|
"./machines/async-list": {
|
|
222
232
|
"import": {
|
|
223
233
|
"types": "./dist/machines/async-list/index.d.mts",
|
|
@@ -538,6 +548,16 @@
|
|
|
538
548
|
"default": "./dist/machines/select/index.cjs"
|
|
539
549
|
}
|
|
540
550
|
},
|
|
551
|
+
"./machines/separator": {
|
|
552
|
+
"import": {
|
|
553
|
+
"types": "./dist/machines/separator/index.d.mts",
|
|
554
|
+
"default": "./dist/machines/separator/index.mjs"
|
|
555
|
+
},
|
|
556
|
+
"require": {
|
|
557
|
+
"types": "./dist/machines/separator/index.d.cts",
|
|
558
|
+
"default": "./dist/machines/separator/index.cjs"
|
|
559
|
+
}
|
|
560
|
+
},
|
|
541
561
|
"./machines/signature-pad": {
|
|
542
562
|
"import": {
|
|
543
563
|
"types": "./dist/machines/signature-pad/index.d.mts",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|