@sprawlify/primitives 0.1.5 → 0.1.7
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/core-Bw_czdwX.cjs +383 -0
- package/dist/core-CTtbW9qh.mjs +288 -0
- package/dist/core.cjs +9 -1
- package/dist/core.d.cts +25 -2
- package/dist/core.d.mts +25 -2
- package/dist/core.mjs +2 -2
- package/dist/{index-BLh1IiOx.d.mts → index-fMh0VDkR.d.mts} +1 -1
- package/dist/machines/accordion/index.cjs +1 -1
- package/dist/machines/accordion/index.d.cts +1 -1
- package/dist/machines/accordion/index.d.mts +1 -1
- package/dist/machines/accordion/index.mjs +1 -1
- package/dist/machines/angle-slider/index.cjs +1 -1
- package/dist/machines/angle-slider/index.d.cts +2 -2
- package/dist/machines/angle-slider/index.d.mts +2 -2
- package/dist/machines/angle-slider/index.mjs +1 -1
- package/dist/machines/aspect-ratio/index.cjs +1 -1
- package/dist/machines/aspect-ratio/index.d.cts +1 -1
- package/dist/machines/aspect-ratio/index.d.mts +1 -1
- package/dist/machines/aspect-ratio/index.mjs +1 -1
- package/dist/machines/async-list/index.cjs +1 -1
- package/dist/machines/async-list/index.d.cts +1 -1
- package/dist/machines/async-list/index.d.mts +1 -1
- package/dist/machines/async-list/index.mjs +1 -1
- package/dist/machines/avatar/index.cjs +1 -1
- package/dist/machines/avatar/index.d.cts +1 -1
- package/dist/machines/avatar/index.d.mts +1 -1
- package/dist/machines/avatar/index.mjs +1 -1
- package/dist/machines/carousel/index.cjs +1 -1
- package/dist/machines/carousel/index.d.cts +2 -2
- package/dist/machines/carousel/index.d.mts +2 -2
- package/dist/machines/carousel/index.mjs +1 -1
- package/dist/machines/cascade-select/index.cjs +1 -1
- package/dist/machines/cascade-select/index.d.cts +3 -3
- package/dist/machines/cascade-select/index.d.mts +4 -4
- package/dist/machines/cascade-select/index.mjs +1 -1
- package/dist/machines/checkbox/index.cjs +1 -1
- package/dist/machines/checkbox/index.d.cts +2 -2
- package/dist/machines/checkbox/index.d.mts +2 -2
- package/dist/machines/checkbox/index.mjs +1 -1
- package/dist/machines/clipboard/index.cjs +1 -1
- package/dist/machines/clipboard/index.d.cts +2 -2
- package/dist/machines/clipboard/index.d.mts +2 -2
- package/dist/machines/clipboard/index.mjs +1 -1
- package/dist/machines/collapsible/index.cjs +1 -1
- package/dist/machines/collapsible/index.d.cts +2 -2
- package/dist/machines/collapsible/index.d.mts +2 -2
- package/dist/machines/collapsible/index.mjs +1 -1
- package/dist/machines/color-picker/index.cjs +76 -102
- package/dist/machines/color-picker/index.d.cts +3 -3
- package/dist/machines/color-picker/index.d.mts +4 -4
- package/dist/machines/color-picker/index.mjs +76 -102
- package/dist/machines/combobox/index.cjs +1 -1
- package/dist/machines/combobox/index.d.cts +2 -2
- package/dist/machines/combobox/index.d.mts +3 -3
- package/dist/machines/combobox/index.mjs +1 -1
- package/dist/machines/date-picker/index.cjs +1 -1
- package/dist/machines/date-picker/index.d.cts +2 -2
- package/dist/machines/date-picker/index.d.mts +3 -3
- package/dist/machines/date-picker/index.mjs +1 -1
- package/dist/machines/dialog/index.cjs +1 -1
- package/dist/machines/dialog/index.d.cts +2 -2
- package/dist/machines/dialog/index.d.mts +2 -2
- package/dist/machines/dialog/index.mjs +1 -1
- package/dist/machines/drawer/index.cjs +1 -1
- package/dist/machines/drawer/index.d.cts +2 -2
- package/dist/machines/drawer/index.d.mts +2 -2
- package/dist/machines/drawer/index.mjs +1 -1
- package/dist/machines/dropdown-menu/index.cjs +1 -1
- package/dist/machines/dropdown-menu/index.d.cts +2 -2
- package/dist/machines/dropdown-menu/index.d.mts +3 -3
- package/dist/machines/dropdown-menu/index.mjs +1 -1
- package/dist/machines/editable/index.cjs +1 -1
- package/dist/machines/editable/index.d.cts +2 -2
- package/dist/machines/editable/index.d.mts +2 -2
- package/dist/machines/editable/index.mjs +1 -1
- package/dist/machines/file-upload/index.cjs +1 -1
- package/dist/machines/file-upload/index.d.cts +2 -2
- package/dist/machines/file-upload/index.d.mts +2 -2
- package/dist/machines/file-upload/index.mjs +1 -1
- package/dist/machines/floating-panel/index.cjs +96 -93
- package/dist/machines/floating-panel/index.d.cts +3 -3
- package/dist/machines/floating-panel/index.d.mts +3 -3
- package/dist/machines/floating-panel/index.mjs +96 -93
- package/dist/machines/hover-card/index.cjs +1 -1
- package/dist/machines/hover-card/index.d.cts +1 -1
- package/dist/machines/hover-card/index.d.mts +2 -2
- package/dist/machines/hover-card/index.mjs +1 -1
- package/dist/machines/image-cropper/index.cjs +1 -1
- package/dist/machines/image-cropper/index.d.cts +1 -1
- package/dist/machines/image-cropper/index.d.mts +1 -1
- package/dist/machines/image-cropper/index.mjs +1 -1
- package/dist/machines/listbox/index.cjs +1 -1
- package/dist/machines/listbox/index.d.cts +2 -2
- package/dist/machines/listbox/index.d.mts +2 -2
- package/dist/machines/listbox/index.mjs +1 -1
- package/dist/machines/marquee/index.cjs +1 -1
- package/dist/machines/marquee/index.d.cts +4 -4
- package/dist/machines/marquee/index.d.mts +4 -4
- package/dist/machines/marquee/index.mjs +1 -1
- package/dist/machines/navigation-menu/index.cjs +1 -1
- package/dist/machines/navigation-menu/index.d.cts +2 -2
- package/dist/machines/navigation-menu/index.d.mts +2 -2
- package/dist/machines/navigation-menu/index.mjs +1 -1
- package/dist/machines/number-input/index.cjs +1 -1
- package/dist/machines/number-input/index.d.cts +2 -2
- package/dist/machines/number-input/index.d.mts +2 -2
- package/dist/machines/number-input/index.mjs +1 -1
- package/dist/machines/pagination/index.cjs +1 -1
- package/dist/machines/pagination/index.d.cts +1 -1
- package/dist/machines/pagination/index.d.mts +1 -1
- package/dist/machines/pagination/index.mjs +1 -1
- package/dist/machines/password-input/index.cjs +1 -1
- package/dist/machines/password-input/index.d.cts +2 -2
- package/dist/machines/password-input/index.d.mts +2 -2
- package/dist/machines/password-input/index.mjs +1 -1
- package/dist/machines/pin-input/index.cjs +1 -1
- package/dist/machines/pin-input/index.d.cts +2 -2
- package/dist/machines/pin-input/index.d.mts +2 -2
- package/dist/machines/pin-input/index.mjs +1 -1
- package/dist/machines/popover/index.cjs +2 -2
- package/dist/machines/popover/index.d.cts +2 -2
- package/dist/machines/popover/index.d.mts +3 -3
- package/dist/machines/popover/index.mjs +2 -2
- package/dist/machines/presence/index.cjs +1 -1
- package/dist/machines/presence/index.d.cts +1 -1
- package/dist/machines/presence/index.d.mts +1 -1
- package/dist/machines/presence/index.mjs +1 -1
- package/dist/machines/progress/index.cjs +1 -1
- package/dist/machines/progress/index.d.cts +2 -2
- package/dist/machines/progress/index.d.mts +2 -2
- package/dist/machines/progress/index.mjs +1 -1
- package/dist/machines/qr-code/index.cjs +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/qr-code/index.mjs +1 -1
- package/dist/machines/radio-group/index.cjs +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/radio-group/index.mjs +1 -1
- package/dist/machines/rating-group/index.cjs +1 -1
- package/dist/machines/rating-group/index.d.cts +2 -2
- package/dist/machines/rating-group/index.d.mts +2 -2
- package/dist/machines/rating-group/index.mjs +1 -1
- package/dist/machines/scroll-area/index.cjs +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/scroll-area/index.mjs +1 -1
- package/dist/machines/select/index.cjs +1 -1
- package/dist/machines/select/index.d.cts +2 -2
- package/dist/machines/select/index.d.mts +3 -3
- package/dist/machines/select/index.mjs +1 -1
- package/dist/machines/separator/index.cjs +1 -1
- package/dist/machines/separator/index.d.cts +1 -1
- package/dist/machines/separator/index.d.mts +1 -1
- package/dist/machines/separator/index.mjs +1 -1
- package/dist/machines/signature-pad/index.cjs +1 -1
- package/dist/machines/signature-pad/index.d.cts +2 -2
- package/dist/machines/signature-pad/index.d.mts +2 -2
- package/dist/machines/signature-pad/index.mjs +1 -1
- package/dist/machines/slider/index.cjs +1 -1
- package/dist/machines/slider/index.d.cts +2 -2
- package/dist/machines/slider/index.d.mts +2 -2
- package/dist/machines/slider/index.mjs +1 -1
- package/dist/machines/splitter/index.cjs +1 -1
- package/dist/machines/splitter/index.d.cts +1 -1
- package/dist/machines/splitter/index.d.mts +1 -1
- package/dist/machines/splitter/index.mjs +1 -1
- package/dist/machines/steps/index.cjs +1 -1
- package/dist/machines/steps/index.d.cts +2 -2
- package/dist/machines/steps/index.d.mts +2 -2
- package/dist/machines/steps/index.mjs +1 -1
- package/dist/machines/switch/index.cjs +1 -1
- package/dist/machines/switch/index.d.cts +2 -2
- package/dist/machines/switch/index.d.mts +2 -2
- package/dist/machines/switch/index.mjs +1 -1
- package/dist/machines/tabs/index.cjs +1 -1
- package/dist/machines/tabs/index.d.cts +2 -2
- package/dist/machines/tabs/index.d.mts +2 -2
- package/dist/machines/tabs/index.mjs +1 -1
- package/dist/machines/tags-input/index.cjs +1 -1
- package/dist/machines/tags-input/index.d.cts +2 -2
- package/dist/machines/tags-input/index.d.mts +2 -2
- package/dist/machines/tags-input/index.mjs +1 -1
- package/dist/machines/timer/index.cjs +1 -1
- package/dist/machines/timer/index.d.cts +2 -2
- package/dist/machines/timer/index.d.mts +2 -2
- package/dist/machines/timer/index.mjs +1 -1
- package/dist/machines/toast/index.cjs +1 -1
- package/dist/machines/toast/index.d.cts +2 -2
- package/dist/machines/toast/index.d.mts +2 -2
- package/dist/machines/toast/index.mjs +1 -1
- package/dist/machines/toggle/index.cjs +1 -1
- package/dist/machines/toggle/index.d.cts +1 -1
- package/dist/machines/toggle/index.d.mts +1 -1
- package/dist/machines/toggle/index.mjs +1 -1
- package/dist/machines/toggle-group/index.cjs +1 -1
- package/dist/machines/toggle-group/index.d.cts +1 -1
- package/dist/machines/toggle-group/index.d.mts +1 -1
- package/dist/machines/toggle-group/index.mjs +1 -1
- package/dist/machines/tooltip/index.cjs +1 -1
- package/dist/machines/tooltip/index.d.cts +1 -1
- package/dist/machines/tooltip/index.d.mts +2 -2
- package/dist/machines/tooltip/index.mjs +1 -1
- package/dist/machines/tour/index.cjs +51 -49
- package/dist/machines/tour/index.d.cts +3 -3
- package/dist/machines/tour/index.d.mts +4 -4
- package/dist/machines/tour/index.mjs +51 -49
- package/dist/machines/tree-view/index.cjs +1 -1
- package/dist/machines/tree-view/index.d.cts +2 -2
- package/dist/machines/tree-view/index.d.mts +2 -2
- package/dist/machines/tree-view/index.mjs +1 -1
- package/dist/popper.d.cts +1 -1
- package/dist/popper.d.mts +1 -1
- package/dist/{types-DUM9rzfD.d.mts → types-DvUmCWsb.d.mts} +28 -12
- package/dist/{types-B24gMTKq.d.cts → types-u-LWCSDE.d.cts} +28 -12
- package/package.json +1 -1
- package/dist/core-Ci9Yu6QI.mjs +0 -123
- package/dist/core-DwdPztGA.cjs +0 -170
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { b as Service, p as Machine } from "../../types-DvUmCWsb.mjs";
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, s as MaybeElement, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CGNNiDyE.mjs";
|
|
5
5
|
import { r as PersistentElementOptions, t as DismissableElementHandlers } from "../../dismissable-layer-h14gHVbJ.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/dialog/dialog.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"trigger" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "title" | "description" | "positioner" | "backdrop" | "closeTrigger">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/dialog/dialog.types.d.ts
|
|
11
11
|
interface OpenChangeDetails {
|
|
@@ -2,7 +2,7 @@ import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
|
2
2
|
import { Qt as getComputedStyle, W as raf } from "../../dom-query-BFuRs3l4.mjs";
|
|
3
3
|
import { t as ariaHidden } from "../../aria-hidden-C72KtklN.mjs";
|
|
4
4
|
import { u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
5
|
-
import { a as createMachine } from "../../core-
|
|
5
|
+
import { a as createMachine } from "../../core-CTtbW9qh.mjs";
|
|
6
6
|
import "../../interact-outside-Ba50N1a5.mjs";
|
|
7
7
|
import { n as trackDismissableElement } from "../../dismissable-B9k5K6f9.mjs";
|
|
8
8
|
import { t as trapFocus } from "../../focus-trap-Do8IUXYh.mjs";
|
|
@@ -4,7 +4,7 @@ const require_dom_query = require("../../dom-query-BUO7rGsg.cjs");
|
|
|
4
4
|
const require_defineProperty = require("../../defineProperty-8IOBQ1i_.cjs");
|
|
5
5
|
const require_aria_hidden = require("../../aria-hidden-CIBHXlCy.cjs");
|
|
6
6
|
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
7
|
-
const require_core = require("../../core-
|
|
7
|
+
const require_core = require("../../core-Bw_czdwX.cjs");
|
|
8
8
|
require("../../interact-outside-Bg-QSXqp.cjs");
|
|
9
9
|
const require_dismissable = require("../../dismissable-DxjbwsOf.cjs");
|
|
10
10
|
const require_focus_trap = require("../../focus-trap-BewqTQFt.cjs");
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
|
-
import {
|
|
2
|
+
import { b as Service, p as Machine, u as EventObject } from "../../types-u-LWCSDE.cjs";
|
|
3
3
|
import { C as JSX, b as NormalizeProps, g as RequiredBy, p as Point, r as DirectionProperty, s as MaybeElement, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-DzWGFhcS.cjs";
|
|
5
5
|
import { t as DismissableElementHandlers } from "../../dismissable-layer-ZgyqN8AD.cjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/drawer/drawer.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"trigger" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "title" | "description" | "positioner" | "backdrop" | "closeTrigger" | "grabber" | "grabberIndicator" | "swipeArea">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/drawer/utils/session.d.ts
|
|
11
11
|
type GestureAxis = "x" | "y";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { b as Service, p as Machine, u as EventObject } from "../../types-DvUmCWsb.mjs";
|
|
3
3
|
import { C as JSX, b as NormalizeProps, g as RequiredBy, p as Point, r as DirectionProperty, s as MaybeElement, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CGNNiDyE.mjs";
|
|
5
5
|
import { t as DismissableElementHandlers } from "../../dismissable-layer-h14gHVbJ.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/drawer/drawer.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"trigger" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "title" | "description" | "positioner" | "backdrop" | "closeTrigger" | "grabber" | "grabberIndicator" | "swipeArea">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/drawer/utils/session.d.ts
|
|
11
11
|
type GestureAxis = "x" | "y";
|
|
@@ -3,7 +3,7 @@ import { $t as contains, D as disableTextSelection, G as getInitialFocus, Qt as
|
|
|
3
3
|
import { t as _defineProperty } from "../../defineProperty-D5oW_HU_.mjs";
|
|
4
4
|
import { t as ariaHidden } from "../../aria-hidden-C72KtklN.mjs";
|
|
5
5
|
import { H as toPx, g as clampValue, l as compact, u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
6
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
6
|
+
import { a as createMachine, i as createGuards } from "../../core-CTtbW9qh.mjs";
|
|
7
7
|
import "../../interact-outside-Ba50N1a5.mjs";
|
|
8
8
|
import { n as trackDismissableElement } from "../../dismissable-B9k5K6f9.mjs";
|
|
9
9
|
import { t as trapFocus } from "../../focus-trap-Do8IUXYh.mjs";
|
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
3
|
const require_dom_query = require("../../dom-query-BUO7rGsg.cjs");
|
|
4
4
|
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
-
const require_core = require("../../core-
|
|
5
|
+
const require_core = require("../../core-Bw_czdwX.cjs");
|
|
6
6
|
require("../../interact-outside-Bg-QSXqp.cjs");
|
|
7
7
|
const require_dismissable = require("../../dismissable-DxjbwsOf.cjs");
|
|
8
8
|
const require_focus_visible = require("../../focus-visible-Co_9bW09.cjs");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
|
-
import {
|
|
2
|
+
import { b as Service, p as Machine, u as EventObject } from "../../types-u-LWCSDE.cjs";
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
import { n as TypeaheadState } from "../../typeahead-DMooWbbX.cjs";
|
|
5
5
|
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-DzWGFhcS.cjs";
|
|
@@ -8,7 +8,7 @@ import { c as Placement, d as PositioningOptions } from "../../types-CZAtqGqH.cj
|
|
|
8
8
|
import { a as Point } from "../../types-CLXYEgfm.cjs";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/dropdown-menu/dropdown-menu.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"trigger" | "
|
|
11
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "indicator" | "item" | "itemIndicator" | "positioner" | "arrow" | "arrowTip" | "itemText" | "separator" | "itemGroup" | "itemGroupLabel" | "triggerItem">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/dropdown-menu/dropdown-menu.types.d.ts
|
|
14
14
|
interface OpenChangeDetails {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { b as Service, p as Machine, u as EventObject } from "../../types-DvUmCWsb.mjs";
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
import { n as TypeaheadState } from "../../typeahead-Bbeb1fAR.mjs";
|
|
5
5
|
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CGNNiDyE.mjs";
|
|
6
6
|
import { t as DismissableElementHandlers } from "../../dismissable-layer-h14gHVbJ.mjs";
|
|
7
|
-
import { p as PositioningOptions, u as Placement } from "../../index-
|
|
7
|
+
import { p as PositioningOptions, u as Placement } from "../../index-fMh0VDkR.mjs";
|
|
8
8
|
import { a as Point } from "../../types-DU764tY_.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/dropdown-menu/dropdown-menu.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"trigger" | "
|
|
11
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "indicator" | "item" | "itemIndicator" | "positioner" | "arrow" | "arrowTip" | "itemText" | "separator" | "itemGroup" | "itemGroupLabel" | "triggerItem">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/dropdown-menu/dropdown-menu.types.d.ts
|
|
14
14
|
interface OpenChangeDetails {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
2
|
import { $t as contains, C as queryAll, Ct as isModifierKey, G as getInitialFocus, I as scrollIntoView, K as isValidTabEvent, L as clickIfLink, Tt as isPrintableKey, W as raf, bn as ariaAttr, bt as isDownloadingEvent, cn as isAnchorElement, fn as isHTMLElement, ft as getEventKey, ht as getEventTarget, on as getWindow, pt as getEventPoint, s as getByTypeahead, un as isEditableElement, ut as addDomEvent, wt as isOpeningInNewTab, xn as dataAttr, z as observeAttributes } from "../../dom-query-BFuRs3l4.mjs";
|
|
3
3
|
import { G as cast, Ot as prev, Tt as next, ft as isEqual, tt as hasProp, u as createSplitProps, vt as first, wt as last } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
-
import { a as createMachine,
|
|
4
|
+
import { a as createMachine, g as mergeProps, i as createGuards } from "../../core-CTtbW9qh.mjs";
|
|
5
5
|
import "../../interact-outside-Ba50N1a5.mjs";
|
|
6
6
|
import { n as trackDismissableElement } from "../../dismissable-B9k5K6f9.mjs";
|
|
7
7
|
import { o as trackFocusVisible, t as getInteractionModality } from "../../focus-visible-BuLf8M9F.mjs";
|
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
3
|
const require_dom_query = require("../../dom-query-BUO7rGsg.cjs");
|
|
4
4
|
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
-
const require_core = require("../../core-
|
|
5
|
+
const require_core = require("../../core-Bw_czdwX.cjs");
|
|
6
6
|
const require_interact_outside = require("../../interact-outside-Bg-QSXqp.cjs");
|
|
7
7
|
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
8
8
|
//#region src/machines/editable/editable.anatomy.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
|
-
import {
|
|
2
|
+
import { b as Service, p as Machine, u as EventObject } from "../../types-u-LWCSDE.cjs";
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-DzWGFhcS.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/editable/editable.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/editable/editable.types.d.ts
|
|
10
10
|
interface ValueChangeDetails {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { b as Service, p as Machine, u as EventObject } from "../../types-DvUmCWsb.mjs";
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CGNNiDyE.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/editable/editable.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/editable/editable.types.d.ts
|
|
10
10
|
interface ValueChangeDetails {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
2
|
import { $t as contains, Nt as isApple, W as raf, _t as isComposingEvent, bn as ariaAttr, ct as setElementValue, xn as dataAttr } from "../../dom-query-BFuRs3l4.mjs";
|
|
3
3
|
import { u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
-
import { a as createMachine } from "../../core-
|
|
4
|
+
import { a as createMachine } from "../../core-CTtbW9qh.mjs";
|
|
5
5
|
import { t as trackInteractOutside } from "../../interact-outside-Ba50N1a5.mjs";
|
|
6
6
|
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
7
7
|
//#region src/machines/editable/editable.anatomy.ts
|
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
3
|
const require_dom_query = require("../../dom-query-BUO7rGsg.cjs");
|
|
4
4
|
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
-
const require_core = require("../../core-
|
|
5
|
+
const require_core = require("../../core-Bw_czdwX.cjs");
|
|
6
6
|
const require_file_utils = require("../../file-utils-CY6_zVut.cjs");
|
|
7
7
|
const require_i18n_utils = require("../../i18n-utils-BRLqoCq8.cjs");
|
|
8
8
|
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
|
-
import {
|
|
2
|
+
import { b as Service, p as Machine, u as EventObject } from "../../types-u-LWCSDE.cjs";
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, o as LocaleProperties, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
import { i as FileMimeType, r as FileError } from "../../types-CylWsfOz.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/file-upload/file-upload.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "trigger" | "label" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "label" | "item" | "clearTrigger" | "itemPreview" | "itemDeleteTrigger" | "itemGroup" | "dropzone" | "itemName" | "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-BedZVdg0.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { b as Service, p as Machine, u as EventObject } from "../../types-DvUmCWsb.mjs";
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, o as LocaleProperties, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
import { i as FileMimeType, r as FileError } from "../../types-Cctd5dol.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/file-upload/file-upload.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "trigger" | "label" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "label" | "item" | "clearTrigger" | "itemPreview" | "itemDeleteTrigger" | "itemGroup" | "dropzone" | "itemName" | "itemPreviewImage" | "itemSizeText">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/file-upload/file-upload.types.d.ts
|
|
10
10
|
interface FileRejection {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
2
|
import { $t as contains, W as raf, a as visuallyHiddenStyle, ht as getEventTarget, on as getWindow, ut as addDomEvent, xn as dataAttr } from "../../dom-query-BFuRs3l4.mjs";
|
|
3
3
|
import { W as callAll, i as warn, q as hash, u as createSplitProps, yt as flatArray } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
-
import { a as createMachine } from "../../core-
|
|
4
|
+
import { a as createMachine } from "../../core-CTtbW9qh.mjs";
|
|
5
5
|
import { i as isFileEqual, r as isValidFileSize, s as getAcceptAttrString, t as isValidFileType, u as getFileEntries } from "../../file-utils-VgQ3YV2A.mjs";
|
|
6
6
|
import { l as formatBytes } from "../../i18n-utils-DZs1CPj8.mjs";
|
|
7
7
|
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
3
|
const require_dom_query = require("../../dom-query-BUO7rGsg.cjs");
|
|
4
4
|
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
-
const require_core = require("../../core-
|
|
5
|
+
const require_core = require("../../core-Bw_czdwX.cjs");
|
|
6
6
|
const require_rect_utils = require("../../rect-utils-D3RkAaHK.cjs");
|
|
7
7
|
const require_store = require("../../store-k8bn_TOl.cjs");
|
|
8
8
|
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
@@ -569,100 +569,103 @@ const machine = require_core.createMachine({
|
|
|
569
569
|
open: {
|
|
570
570
|
tags: ["open"],
|
|
571
571
|
entry: ["bringToFrontOfPanelStack"],
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
effects: ["trackPointerMove"],
|
|
621
|
-
exit: ["clearPrevPosition"],
|
|
622
|
-
on: {
|
|
623
|
-
DRAG: { actions: ["setPosition"] },
|
|
624
|
-
DRAG_END: {
|
|
625
|
-
target: "open",
|
|
626
|
-
actions: ["invokeOnDragEnd"]
|
|
627
|
-
},
|
|
628
|
-
"CONTROLLED.CLOSE": {
|
|
629
|
-
target: "closed",
|
|
630
|
-
actions: ["resetRect"]
|
|
631
|
-
},
|
|
632
|
-
CLOSE: [{
|
|
633
|
-
guard: "isOpenControlled",
|
|
634
|
-
target: "closed",
|
|
635
|
-
actions: ["invokeOnClose"]
|
|
636
|
-
}, {
|
|
637
|
-
target: "closed",
|
|
638
|
-
actions: ["invokeOnClose", "resetRect"]
|
|
639
|
-
}],
|
|
640
|
-
ESCAPE: { target: "open" }
|
|
641
|
-
}
|
|
642
|
-
},
|
|
643
|
-
"open.resizing": {
|
|
644
|
-
tags: ["open"],
|
|
645
|
-
effects: ["trackPointerMove"],
|
|
646
|
-
exit: ["clearPrevSize"],
|
|
647
|
-
on: {
|
|
648
|
-
DRAG: { actions: ["setSize"] },
|
|
649
|
-
DRAG_END: {
|
|
650
|
-
target: "open",
|
|
651
|
-
actions: ["invokeOnResizeEnd"]
|
|
572
|
+
initial: "idle",
|
|
573
|
+
states: {
|
|
574
|
+
idle: {
|
|
575
|
+
effects: ["trackBoundaryRect"],
|
|
576
|
+
on: {
|
|
577
|
+
DRAG_START: {
|
|
578
|
+
guard: not("isMaximized"),
|
|
579
|
+
target: "dragging",
|
|
580
|
+
actions: ["setPrevPosition"]
|
|
581
|
+
},
|
|
582
|
+
RESIZE_START: {
|
|
583
|
+
guard: not("isMinimized"),
|
|
584
|
+
target: "resizing",
|
|
585
|
+
actions: ["setPrevSize"]
|
|
586
|
+
},
|
|
587
|
+
"CONTROLLED.CLOSE": {
|
|
588
|
+
target: "closed",
|
|
589
|
+
actions: ["resetRect", "focusTriggerEl"]
|
|
590
|
+
},
|
|
591
|
+
CLOSE: [{
|
|
592
|
+
guard: "isOpenControlled",
|
|
593
|
+
target: "closed",
|
|
594
|
+
actions: ["invokeOnClose"]
|
|
595
|
+
}, {
|
|
596
|
+
target: "closed",
|
|
597
|
+
actions: [
|
|
598
|
+
"invokeOnClose",
|
|
599
|
+
"resetRect",
|
|
600
|
+
"focusTriggerEl"
|
|
601
|
+
]
|
|
602
|
+
}],
|
|
603
|
+
ESCAPE: [{
|
|
604
|
+
guard: and("isOpenControlled", "closeOnEsc"),
|
|
605
|
+
actions: ["invokeOnClose"]
|
|
606
|
+
}, {
|
|
607
|
+
guard: "closeOnEsc",
|
|
608
|
+
target: "closed",
|
|
609
|
+
actions: [
|
|
610
|
+
"invokeOnClose",
|
|
611
|
+
"resetRect",
|
|
612
|
+
"focusTriggerEl"
|
|
613
|
+
]
|
|
614
|
+
}],
|
|
615
|
+
MINIMIZE: { actions: ["setMinimized"] },
|
|
616
|
+
MAXIMIZE: { actions: ["setMaximized"] },
|
|
617
|
+
RESTORE: { actions: ["setRestored"] },
|
|
618
|
+
MOVE: { actions: ["setPositionFromKeyboard"] }
|
|
619
|
+
}
|
|
652
620
|
},
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
621
|
+
dragging: {
|
|
622
|
+
effects: ["trackPointerMove"],
|
|
623
|
+
exit: ["clearPrevPosition"],
|
|
624
|
+
on: {
|
|
625
|
+
DRAG: { actions: ["setPosition"] },
|
|
626
|
+
DRAG_END: {
|
|
627
|
+
target: "idle",
|
|
628
|
+
actions: ["invokeOnDragEnd"]
|
|
629
|
+
},
|
|
630
|
+
"CONTROLLED.CLOSE": {
|
|
631
|
+
target: "closed",
|
|
632
|
+
actions: ["resetRect"]
|
|
633
|
+
},
|
|
634
|
+
CLOSE: [{
|
|
635
|
+
guard: "isOpenControlled",
|
|
636
|
+
target: "closed",
|
|
637
|
+
actions: ["invokeOnClose"]
|
|
638
|
+
}, {
|
|
639
|
+
target: "closed",
|
|
640
|
+
actions: ["invokeOnClose", "resetRect"]
|
|
641
|
+
}],
|
|
642
|
+
ESCAPE: { target: "idle" }
|
|
643
|
+
}
|
|
656
644
|
},
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
645
|
+
resizing: {
|
|
646
|
+
effects: ["trackPointerMove"],
|
|
647
|
+
exit: ["clearPrevSize"],
|
|
648
|
+
on: {
|
|
649
|
+
DRAG: { actions: ["setSize"] },
|
|
650
|
+
DRAG_END: {
|
|
651
|
+
target: "idle",
|
|
652
|
+
actions: ["invokeOnResizeEnd"]
|
|
653
|
+
},
|
|
654
|
+
"CONTROLLED.CLOSE": {
|
|
655
|
+
target: "closed",
|
|
656
|
+
actions: ["resetRect"]
|
|
657
|
+
},
|
|
658
|
+
CLOSE: [{
|
|
659
|
+
guard: "isOpenControlled",
|
|
660
|
+
target: "closed",
|
|
661
|
+
actions: ["invokeOnClose"]
|
|
662
|
+
}, {
|
|
663
|
+
target: "closed",
|
|
664
|
+
actions: ["invokeOnClose", "resetRect"]
|
|
665
|
+
}],
|
|
666
|
+
ESCAPE: { target: "idle" }
|
|
667
|
+
}
|
|
668
|
+
}
|
|
666
669
|
}
|
|
667
670
|
}
|
|
668
671
|
},
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
|
-
import {
|
|
2
|
+
import { b as Service, p as Machine, u as EventObject } from "../../types-u-LWCSDE.cjs";
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
import { a as Point, o as Rect, y as Size } from "../../types-CLXYEgfm.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/floating-panel/floating-panel.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"
|
|
7
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "control" | "title" | "positioner" | "closeTrigger" | "body" | "header" | "resizeTrigger" | "dragTrigger" | "stageTrigger">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/floating-panel/floating-panel.types.d.ts
|
|
10
10
|
interface PositionChangeDetails {
|
|
@@ -89,7 +89,7 @@ interface FloatingPanelSchema {
|
|
|
89
89
|
context: PrivateContext;
|
|
90
90
|
computed: ComputedContext;
|
|
91
91
|
tag: "open" | "closed";
|
|
92
|
-
state: "open" | "open.dragging" | "open.resizing" | "closed";
|
|
92
|
+
state: "open" | "open.idle" | "open.dragging" | "open.resizing" | "closed";
|
|
93
93
|
event: EventObject;
|
|
94
94
|
action: string;
|
|
95
95
|
effect: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { b as Service, p as Machine, u as EventObject } from "../../types-DvUmCWsb.mjs";
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
import { a as Point, o as Rect, y as Size } from "../../types-DU764tY_.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/floating-panel/floating-panel.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"
|
|
7
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "control" | "title" | "positioner" | "closeTrigger" | "body" | "header" | "resizeTrigger" | "dragTrigger" | "stageTrigger">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/floating-panel/floating-panel.types.d.ts
|
|
10
10
|
interface PositionChangeDetails {
|
|
@@ -89,7 +89,7 @@ interface FloatingPanelSchema {
|
|
|
89
89
|
context: PrivateContext;
|
|
90
90
|
computed: ComputedContext;
|
|
91
91
|
tag: "open" | "closed";
|
|
92
|
-
state: "open" | "open.dragging" | "open.resizing" | "closed";
|
|
92
|
+
state: "open" | "open.idle" | "open.dragging" | "open.resizing" | "closed";
|
|
93
93
|
event: EventObject;
|
|
94
94
|
action: string;
|
|
95
95
|
effect: string;
|