@sprawlify/primitives 0.0.98 → 0.0.99
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/{aria-hidden-UJAPt1aA.cjs → aria-hidden-BAGrxNHt.cjs} +1 -1
- package/dist/{aria-hidden-P3kaF8gG.mjs → aria-hidden-BX4SWNE_.mjs} +1 -1
- package/dist/aria-hidden.cjs +2 -2
- package/dist/aria-hidden.mjs +2 -2
- package/dist/{auto-resize-DzPXdyR-.cjs → auto-resize-B1BDDnp1.cjs} +1 -1
- package/dist/{auto-resize-Bjzuo5Lh.mjs → auto-resize-CN2vAzdj.mjs} +1 -1
- package/dist/auto-resize.cjs +2 -2
- package/dist/auto-resize.mjs +2 -2
- package/dist/collection.d.cts +2 -2
- package/dist/collection.d.mts +2 -2
- package/dist/{core-DfVajPnu.mjs → core-BmIEKqtP.mjs} +1 -1
- package/dist/{core-BiGlJ-4W.cjs → core-nBg9RC_y.cjs} +1 -1
- package/dist/core.cjs +2 -2
- package/dist/core.mjs +2 -2
- package/dist/{dismissable-DPXx0m0m.cjs → dismissable-ChwcJMHk.cjs} +2 -2
- package/dist/{dismissable-BAYaXwxZ.mjs → dismissable-DWfZGIA7.mjs} +2 -2
- package/dist/dismissable.cjs +3 -3
- package/dist/dismissable.mjs +3 -3
- package/dist/{dom-query-6Wt-Tikf.cjs → dom-query-Bd63cRVF.cjs} +26 -6
- package/dist/{dom-query-dX8Dakb4.mjs → dom-query-s2ESLR2U.mjs} +15 -7
- package/dist/dom-query.cjs +3 -1
- package/dist/dom-query.d.cts +8 -2
- package/dist/dom-query.d.mts +8 -2
- package/dist/dom-query.mjs +2 -2
- package/dist/{focus-trap-Cd09JaUn.mjs → focus-trap-DzBvBlTH.mjs} +1 -1
- package/dist/{focus-trap-ClCNF7kY.cjs → focus-trap-fucc6OU_.cjs} +1 -1
- package/dist/focus-trap.cjs +2 -2
- package/dist/focus-trap.mjs +2 -2
- package/dist/{focus-visible-CqHoOOjw.cjs → focus-visible-75XTctXf.cjs} +1 -1
- package/dist/{focus-visible-CSuBQ5QZ.mjs → focus-visible-D5qBaAOn.mjs} +1 -1
- package/dist/focus-visible.cjs +2 -2
- package/dist/focus-visible.mjs +2 -2
- package/dist/{i18n-utils-bHwTSOWi.cjs → i18n-utils-DB-lUfrr.cjs} +1 -1
- package/dist/{i18n-utils-BsXTdcWB.mjs → i18n-utils-oWZyUib_.mjs} +1 -1
- package/dist/i18n-utils.cjs +2 -2
- package/dist/i18n-utils.mjs +2 -2
- package/dist/{interact-outside-C-8lOhpV.mjs → interact-outside-2qkUnl4N.mjs} +1 -1
- package/dist/{interact-outside-DRaFGdMg.cjs → interact-outside-Cx4J0EBf.cjs} +1 -1
- package/dist/interact-outside.cjs +2 -2
- package/dist/interact-outside.mjs +2 -2
- package/dist/{list-collection-C0swT4Wu.d.cts → list-collection-Cjgbx_9l.d.cts} +1 -1
- package/dist/{list-collection-AgReIMJ0.d.mts → list-collection-IF510iNl.d.mts} +1 -1
- package/dist/machines/accordion/index.cjs +2 -2
- package/dist/machines/accordion/index.d.cts +1 -1
- package/dist/machines/accordion/index.d.mts +1 -1
- package/dist/machines/accordion/index.mjs +2 -2
- package/dist/machines/angle-slider/index.cjs +2 -2
- package/dist/machines/angle-slider/index.d.cts +1 -1
- package/dist/machines/angle-slider/index.d.mts +1 -1
- package/dist/machines/angle-slider/index.mjs +2 -2
- package/dist/machines/aspect-ratio/index.cjs +2 -2
- package/dist/machines/aspect-ratio/index.mjs +2 -2
- package/dist/machines/async-list/index.cjs +2 -2
- package/dist/machines/async-list/index.mjs +2 -2
- package/dist/machines/avatar/index.cjs +2 -2
- package/dist/machines/avatar/index.mjs +2 -2
- package/dist/machines/bottom-sheet/index.cjs +7 -7
- package/dist/machines/bottom-sheet/index.d.cts +1 -1
- package/dist/machines/bottom-sheet/index.d.mts +1 -1
- package/dist/machines/bottom-sheet/index.mjs +7 -7
- package/dist/machines/carousel/index.cjs +3 -3
- package/dist/machines/carousel/index.d.cts +1 -1
- package/dist/machines/carousel/index.d.mts +1 -1
- package/dist/machines/carousel/index.mjs +3 -3
- package/dist/machines/cascade-select/index.cjs +5 -5
- package/dist/machines/cascade-select/index.d.cts +2 -2
- package/dist/machines/cascade-select/index.d.mts +2 -2
- package/dist/machines/cascade-select/index.mjs +5 -5
- package/dist/machines/checkbox/index.cjs +3 -3
- package/dist/machines/checkbox/index.mjs +3 -3
- package/dist/machines/clipboard/index.cjs +2 -2
- package/dist/machines/clipboard/index.d.cts +1 -1
- package/dist/machines/clipboard/index.d.mts +1 -1
- package/dist/machines/clipboard/index.mjs +2 -2
- package/dist/machines/collapsible/index.cjs +2 -2
- package/dist/machines/collapsible/index.d.cts +1 -1
- package/dist/machines/collapsible/index.d.mts +1 -1
- package/dist/machines/collapsible/index.mjs +2 -2
- package/dist/machines/color-picker/index.cjs +5 -5
- package/dist/machines/color-picker/index.d.cts +1 -1
- package/dist/machines/color-picker/index.d.mts +1 -1
- package/dist/machines/color-picker/index.mjs +5 -5
- package/dist/machines/combobox/index.cjs +5 -5
- package/dist/machines/combobox/index.d.cts +2 -2
- package/dist/machines/combobox/index.d.mts +2 -2
- package/dist/machines/combobox/index.mjs +5 -5
- package/dist/machines/date-picker/index.cjs +52 -16
- package/dist/machines/date-picker/index.d.cts +1 -1
- package/dist/machines/date-picker/index.d.mts +1 -1
- package/dist/machines/date-picker/index.mjs +53 -17
- package/dist/machines/dialog/index.cjs +7 -7
- package/dist/machines/dialog/index.d.cts +1 -1
- package/dist/machines/dialog/index.d.mts +1 -1
- package/dist/machines/dialog/index.mjs +7 -7
- package/dist/machines/dropdown-menu/index.cjs +5 -5
- package/dist/machines/dropdown-menu/index.d.cts +1 -1
- package/dist/machines/dropdown-menu/index.d.mts +1 -1
- package/dist/machines/dropdown-menu/index.mjs +5 -5
- package/dist/machines/editable/index.cjs +3 -3
- package/dist/machines/editable/index.d.cts +1 -1
- package/dist/machines/editable/index.d.mts +1 -1
- package/dist/machines/editable/index.mjs +3 -3
- package/dist/machines/file-upload/index.cjs +3 -3
- package/dist/machines/file-upload/index.d.cts +1 -1
- package/dist/machines/file-upload/index.d.mts +1 -1
- package/dist/machines/file-upload/index.mjs +3 -3
- package/dist/machines/floating-panel/index.cjs +2 -2
- package/dist/machines/floating-panel/index.d.cts +1 -1
- package/dist/machines/floating-panel/index.d.mts +1 -1
- package/dist/machines/floating-panel/index.mjs +2 -2
- package/dist/machines/hover-card/index.cjs +5 -5
- package/dist/machines/hover-card/index.d.cts +1 -1
- package/dist/machines/hover-card/index.d.mts +1 -1
- package/dist/machines/hover-card/index.mjs +5 -5
- package/dist/machines/image-cropper/index.cjs +2 -2
- package/dist/machines/image-cropper/index.mjs +2 -2
- package/dist/machines/listbox/index.cjs +3 -3
- package/dist/machines/listbox/index.d.cts +3 -3
- package/dist/machines/listbox/index.d.mts +3 -3
- package/dist/machines/listbox/index.mjs +3 -3
- package/dist/machines/marquee/index.cjs +2 -2
- package/dist/machines/marquee/index.d.cts +3 -3
- package/dist/machines/marquee/index.d.mts +3 -3
- package/dist/machines/marquee/index.mjs +2 -2
- package/dist/machines/navigation-menu/index.cjs +4 -4
- package/dist/machines/navigation-menu/index.d.cts +1 -1
- package/dist/machines/navigation-menu/index.d.mts +1 -1
- package/dist/machines/navigation-menu/index.mjs +4 -4
- package/dist/machines/number-input/index.cjs +2 -2
- package/dist/machines/number-input/index.d.cts +1 -1
- package/dist/machines/number-input/index.d.mts +1 -1
- package/dist/machines/number-input/index.mjs +2 -2
- package/dist/machines/pagination/index.cjs +2 -2
- package/dist/machines/pagination/index.mjs +2 -2
- package/dist/machines/password-input/index.cjs +2 -2
- package/dist/machines/password-input/index.mjs +2 -2
- package/dist/machines/pin-input/index.cjs +2 -2
- package/dist/machines/pin-input/index.mjs +2 -2
- package/dist/machines/popover/index.cjs +8 -8
- package/dist/machines/popover/index.d.cts +1 -1
- package/dist/machines/popover/index.d.mts +1 -1
- package/dist/machines/popover/index.mjs +8 -8
- package/dist/machines/presence/index.cjs +2 -2
- package/dist/machines/presence/index.mjs +2 -2
- package/dist/machines/progress/index.cjs +2 -2
- package/dist/machines/progress/index.d.cts +1 -1
- package/dist/machines/progress/index.d.mts +1 -1
- package/dist/machines/progress/index.mjs +2 -2
- package/dist/machines/qr-code/index.cjs +2 -2
- package/dist/machines/qr-code/index.mjs +2 -2
- package/dist/machines/radio-group/index.cjs +3 -3
- 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 +3 -3
- package/dist/machines/rating-group/index.cjs +2 -2
- package/dist/machines/rating-group/index.d.cts +1 -1
- package/dist/machines/rating-group/index.d.mts +1 -1
- package/dist/machines/rating-group/index.mjs +2 -2
- package/dist/machines/scroll-area/index.cjs +2 -2
- 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 +2 -2
- package/dist/machines/select/index.cjs +22 -8
- package/dist/machines/select/index.d.cts +3 -2
- package/dist/machines/select/index.d.mts +3 -2
- package/dist/machines/select/index.mjs +22 -8
- package/dist/machines/separator/index.cjs +2 -2
- package/dist/machines/separator/index.mjs +2 -2
- package/dist/machines/signature-pad/index.cjs +2 -2
- package/dist/machines/signature-pad/index.mjs +2 -2
- package/dist/machines/slider/index.cjs +2 -2
- package/dist/machines/slider/index.d.cts +1 -1
- package/dist/machines/slider/index.d.mts +1 -1
- package/dist/machines/slider/index.mjs +2 -2
- package/dist/machines/splitter/index.cjs +2 -2
- package/dist/machines/splitter/index.mjs +2 -2
- package/dist/machines/steps/index.cjs +2 -2
- package/dist/machines/steps/index.d.cts +1 -1
- package/dist/machines/steps/index.d.mts +1 -1
- package/dist/machines/steps/index.mjs +2 -2
- package/dist/machines/switch/index.cjs +3 -3
- package/dist/machines/switch/index.mjs +3 -3
- package/dist/machines/tabs/index.cjs +2 -2
- package/dist/machines/tabs/index.d.cts +1 -1
- package/dist/machines/tabs/index.d.mts +1 -1
- package/dist/machines/tabs/index.mjs +2 -2
- package/dist/machines/tags-input/index.cjs +4 -4
- package/dist/machines/tags-input/index.d.cts +1 -1
- package/dist/machines/tags-input/index.d.mts +1 -1
- package/dist/machines/tags-input/index.mjs +4 -4
- package/dist/machines/timer/index.cjs +2 -2
- package/dist/machines/timer/index.d.cts +1 -1
- package/dist/machines/timer/index.d.mts +1 -1
- package/dist/machines/timer/index.mjs +2 -2
- package/dist/machines/toast/index.cjs +4 -4
- package/dist/machines/toast/index.d.cts +1 -1
- package/dist/machines/toast/index.d.mts +1 -1
- package/dist/machines/toast/index.mjs +4 -4
- package/dist/machines/toggle/index.cjs +2 -2
- package/dist/machines/toggle/index.mjs +2 -2
- package/dist/machines/toggle-group/index.cjs +2 -2
- package/dist/machines/toggle-group/index.mjs +2 -2
- package/dist/machines/tooltip/index.cjs +4 -4
- package/dist/machines/tooltip/index.d.cts +1 -1
- package/dist/machines/tooltip/index.d.mts +1 -1
- package/dist/machines/tooltip/index.mjs +4 -4
- package/dist/machines/tour/index.cjs +6 -6
- package/dist/machines/tour/index.d.cts +1 -1
- package/dist/machines/tour/index.d.mts +1 -1
- package/dist/machines/tour/index.mjs +6 -6
- package/dist/machines/tree-view/index.cjs +2 -2
- package/dist/machines/tree-view/index.d.cts +1 -1
- package/dist/machines/tree-view/index.d.mts +1 -1
- package/dist/machines/tree-view/index.mjs +2 -2
- package/dist/{popper-CfOHZlHP.mjs → popper-3Bdh0pfy.mjs} +1 -1
- package/dist/{popper-zq1F_iY8.cjs → popper-Bca_O70s.cjs} +1 -1
- package/dist/popper.cjs +2 -2
- package/dist/popper.mjs +2 -2
- package/dist/{remove-scroll-B8AJyezV.cjs → remove-scroll-D9FAOapi.cjs} +1 -1
- package/dist/{remove-scroll-DCUb1JPX.mjs → remove-scroll-HcSiTbd5.mjs} +1 -1
- package/dist/{scroll-snap-De0H9CWU.mjs → scroll-snap-DfSwN3As.mjs} +1 -1
- package/dist/{scroll-snap-voc0pMJd.cjs → scroll-snap-Dp_2adEa.cjs} +1 -1
- package/dist/scroll-snap.cjs +2 -2
- package/dist/scroll-snap.mjs +2 -2
- package/dist/{selection-aObDFAzS.d.mts → selection-6urf-c8j.d.mts} +1 -1
- package/dist/{selection-k8FM_y4w.d.cts → selection-BmS2RDMq.d.cts} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_dom_query = require("./dom-query-
|
|
1
|
+
const require_dom_query = require("./dom-query-Bd63cRVF.cjs");
|
|
2
2
|
//#region src/shared/aria-hidden/walk-tree-outside.ts
|
|
3
3
|
let counterMap = /* @__PURE__ */ new WeakMap();
|
|
4
4
|
let uncontrolledNodes = /* @__PURE__ */ new WeakMap();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gt as findControlledElements, fn as isHTMLElement } from "./dom-query-s2ESLR2U.mjs";
|
|
2
2
|
//#region src/shared/aria-hidden/walk-tree-outside.ts
|
|
3
3
|
let counterMap = /* @__PURE__ */ new WeakMap();
|
|
4
4
|
let uncontrolledNodes = /* @__PURE__ */ new WeakMap();
|
package/dist/aria-hidden.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("./dom-query-
|
|
3
|
-
const require_aria_hidden = require("./aria-hidden-
|
|
2
|
+
require("./dom-query-Bd63cRVF.cjs");
|
|
3
|
+
const require_aria_hidden = require("./aria-hidden-BAGrxNHt.cjs");
|
|
4
4
|
exports.ariaHidden = require_aria_hidden.ariaHidden;
|
package/dist/aria-hidden.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./dom-query-
|
|
2
|
-
import { t as ariaHidden } from "./aria-hidden-
|
|
1
|
+
import "./dom-query-s2ESLR2U.mjs";
|
|
2
|
+
import { t as ariaHidden } from "./aria-hidden-BX4SWNE_.mjs";
|
|
3
3
|
export { ariaHidden };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Qt as getComputedStyle, on as getWindow, tn as getDocument } from "./dom-query-s2ESLR2U.mjs";
|
|
2
2
|
//#region src/shared/auto-resize/visual-style.ts
|
|
3
3
|
/**
|
|
4
4
|
* Gets the visual styles of an element as a CSS string for text measurement.
|
package/dist/auto-resize.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("./dom-query-
|
|
3
|
-
const require_auto_resize = require("./auto-resize-
|
|
2
|
+
require("./dom-query-Bd63cRVF.cjs");
|
|
3
|
+
const require_auto_resize = require("./auto-resize-B1BDDnp1.cjs");
|
|
4
4
|
exports.autoResizeInput = require_auto_resize.autoResizeInput;
|
|
5
5
|
exports.autoresizeTextarea = require_auto_resize.autoresizeTextarea;
|
package/dist/auto-resize.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./dom-query-
|
|
2
|
-
import { n as autoResizeInput, t as autoresizeTextarea } from "./auto-resize-
|
|
1
|
+
import "./dom-query-s2ESLR2U.mjs";
|
|
2
|
+
import { n as autoResizeInput, t as autoresizeTextarea } from "./auto-resize-CN2vAzdj.mjs";
|
|
3
3
|
export { autoResizeInput, autoresizeTextarea };
|
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-D-7AMgSE.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-Cjgbx_9l.cjs";
|
|
3
|
+
import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-BmS2RDMq.cjs";
|
|
4
4
|
import { n as filePathToTree, r as flattenedToTree, t as TreeCollection } from "./tree-collection-DlqV5kYO.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-9uw8LHpE.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-IF510iNl.mjs";
|
|
3
|
+
import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-6urf-c8j.mjs";
|
|
4
4
|
import { n as filePathToTree, r as flattenedToTree, t as TreeCollection } from "./tree-collection-Dlf9EUrT.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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { en as getActiveElement, sn as isActiveElement, tn as getDocument } from "./dom-query-s2ESLR2U.mjs";
|
|
2
2
|
import { W as callAll, dt as isString, ft as isEqual } from "./utils-VVoZ_v29.mjs";
|
|
3
3
|
//#region src/shared/core/merge-props.ts
|
|
4
4
|
const clsx = (...args) => args.map((str) => str?.trim?.()).filter(Boolean).join(" ");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_dom_query = require("./dom-query-
|
|
1
|
+
const require_dom_query = require("./dom-query-Bd63cRVF.cjs");
|
|
2
2
|
const require_utils = require("./utils-ByNiZU8f.cjs");
|
|
3
3
|
//#region src/shared/core/merge-props.ts
|
|
4
4
|
const clsx = (...args) => args.map((str) => str?.trim?.()).filter(Boolean).join(" ");
|
package/dist/core.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("./dom-query-
|
|
2
|
+
require("./dom-query-Bd63cRVF.cjs");
|
|
3
3
|
require("./utils-ByNiZU8f.cjs");
|
|
4
|
-
const require_core = require("./core-
|
|
4
|
+
const require_core = require("./core-nBg9RC_y.cjs");
|
|
5
5
|
exports.INIT_STATE = require_core.INIT_STATE;
|
|
6
6
|
exports.MachineStatus = require_core.MachineStatus;
|
|
7
7
|
exports.createGuards = require_core.createGuards;
|
package/dist/core.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./dom-query-
|
|
1
|
+
import "./dom-query-s2ESLR2U.mjs";
|
|
2
2
|
import "./utils-VVoZ_v29.mjs";
|
|
3
|
-
import { a as createMachine, c as mergeProps, i as createGuards, n as INIT_STATE, o as setup, r as MachineStatus, s as memo, t as createScope } from "./core-
|
|
3
|
+
import { a as createMachine, c as mergeProps, i as createGuards, n as INIT_STATE, o as setup, r as MachineStatus, s as memo, t as createScope } from "./core-BmIEKqtP.mjs";
|
|
4
4
|
export { INIT_STATE, MachineStatus, createGuards, createMachine, createScope, memo, mergeProps, setup };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_dom_query = require("./dom-query-
|
|
1
|
+
const require_dom_query = require("./dom-query-Bd63cRVF.cjs");
|
|
2
2
|
const require_utils = require("./utils-ByNiZU8f.cjs");
|
|
3
|
-
const require_interact_outside = require("./interact-outside-
|
|
3
|
+
const require_interact_outside = require("./interact-outside-Cx4J0EBf.cjs");
|
|
4
4
|
//#region src/shared/dismissable/escape-keydown.ts
|
|
5
5
|
function trackEscapeKeydown(node, fn) {
|
|
6
6
|
const handleKeyDown = (event) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $t as
|
|
1
|
+
import { $t as contains, H as nextTick, W as raf, fn as isHTMLElement, ht as getEventTarget, t as waitForElement, tn as getDocument, u as setStyle, ut as addDomEvent } from "./dom-query-s2ESLR2U.mjs";
|
|
2
2
|
import { at as isFunction, i as warn } from "./utils-VVoZ_v29.mjs";
|
|
3
|
-
import { t as trackInteractOutside } from "./interact-outside-
|
|
3
|
+
import { t as trackInteractOutside } from "./interact-outside-2qkUnl4N.mjs";
|
|
4
4
|
//#region src/shared/dismissable/escape-keydown.ts
|
|
5
5
|
function trackEscapeKeydown(node, fn) {
|
|
6
6
|
const handleKeyDown = (event) => {
|
package/dist/dismissable.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("./dom-query-
|
|
2
|
+
require("./dom-query-Bd63cRVF.cjs");
|
|
3
3
|
require("./utils-ByNiZU8f.cjs");
|
|
4
|
-
require("./interact-outside-
|
|
5
|
-
const require_dismissable = require("./dismissable-
|
|
4
|
+
require("./interact-outside-Cx4J0EBf.cjs");
|
|
5
|
+
const require_dismissable = require("./dismissable-ChwcJMHk.cjs");
|
|
6
6
|
exports.trackDismissableBranch = require_dismissable.trackDismissableBranch;
|
|
7
7
|
exports.trackDismissableElement = require_dismissable.trackDismissableElement;
|
package/dist/dismissable.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./dom-query-
|
|
1
|
+
import "./dom-query-s2ESLR2U.mjs";
|
|
2
2
|
import "./utils-VVoZ_v29.mjs";
|
|
3
|
-
import "./interact-outside-
|
|
4
|
-
import { n as trackDismissableElement, t as trackDismissableBranch } from "./dismissable-
|
|
3
|
+
import "./interact-outside-2qkUnl4N.mjs";
|
|
4
|
+
import { n as trackDismissableElement, t as trackDismissableBranch } from "./dismissable-DWfZGIA7.mjs";
|
|
5
5
|
export { trackDismissableBranch, trackDismissableElement };
|
|
@@ -422,7 +422,8 @@ function dispatchInputValueEvent(el, options) {
|
|
|
422
422
|
const win = getWindow(el);
|
|
423
423
|
if (!(el instanceof win.HTMLInputElement)) return;
|
|
424
424
|
setElementValue(el, `${value}`);
|
|
425
|
-
|
|
425
|
+
const event = new win.Event("input", { bubbles });
|
|
426
|
+
el.dispatchEvent(markAsInternalChangeEvent(event));
|
|
426
427
|
}
|
|
427
428
|
function dispatchInputCheckedEvent(el, options) {
|
|
428
429
|
const { checked, bubbles = true } = options;
|
|
@@ -430,17 +431,15 @@ function dispatchInputCheckedEvent(el, options) {
|
|
|
430
431
|
const win = getWindow(el);
|
|
431
432
|
if (!(el instanceof win.HTMLInputElement)) return;
|
|
432
433
|
setElementChecked(el, checked);
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
function getClosestForm(el) {
|
|
436
|
-
return isFormElement(el) ? el.form : el.closest("form");
|
|
434
|
+
const event = new win.Event("click", { bubbles });
|
|
435
|
+
el.dispatchEvent(markAsInternalChangeEvent(event));
|
|
437
436
|
}
|
|
438
437
|
function isFormElement(el) {
|
|
439
438
|
return el.matches("textarea, input, select, button");
|
|
440
439
|
}
|
|
441
440
|
function trackFormReset(el, callback) {
|
|
442
441
|
if (!el) return;
|
|
443
|
-
const form =
|
|
442
|
+
const form = isFormElement(el) ? el.form : el.closest("form");
|
|
444
443
|
const onReset = (e) => {
|
|
445
444
|
if (e.defaultPrevented) return;
|
|
446
445
|
callback();
|
|
@@ -465,6 +464,15 @@ function trackFormControl(el, options) {
|
|
|
465
464
|
const cleanups = [trackFormReset(el, onFormReset), trackFieldsetDisabled(el, onFieldsetDisabledChange)];
|
|
466
465
|
return () => cleanups.forEach((cleanup) => cleanup?.());
|
|
467
466
|
}
|
|
467
|
+
const INTERNAL_CHANGE_EVENT = Symbol.for("zag.changeEvent");
|
|
468
|
+
function isInternalChangeEvent(e) {
|
|
469
|
+
return Object.prototype.hasOwnProperty.call(e, INTERNAL_CHANGE_EVENT);
|
|
470
|
+
}
|
|
471
|
+
function markAsInternalChangeEvent(event) {
|
|
472
|
+
if (isInternalChangeEvent(event)) return event;
|
|
473
|
+
Object.defineProperty(event, INTERNAL_CHANGE_EVENT, { value: true });
|
|
474
|
+
return event;
|
|
475
|
+
}
|
|
468
476
|
//#endregion
|
|
469
477
|
//#region src/shared/dom-query/tabbable.ts
|
|
470
478
|
const isFrame = (el) => isHTMLElement(el) && el.tagName === "IFRAME";
|
|
@@ -1801,6 +1809,12 @@ Object.defineProperty(exports, "isInteractiveContainerElement", {
|
|
|
1801
1809
|
return isInteractiveContainerElement;
|
|
1802
1810
|
}
|
|
1803
1811
|
});
|
|
1812
|
+
Object.defineProperty(exports, "isInternalChangeEvent", {
|
|
1813
|
+
enumerable: true,
|
|
1814
|
+
get: function() {
|
|
1815
|
+
return isInternalChangeEvent;
|
|
1816
|
+
}
|
|
1817
|
+
});
|
|
1804
1818
|
Object.defineProperty(exports, "isIos", {
|
|
1805
1819
|
enumerable: true,
|
|
1806
1820
|
get: function() {
|
|
@@ -1939,6 +1953,12 @@ Object.defineProperty(exports, "itemById", {
|
|
|
1939
1953
|
return itemById;
|
|
1940
1954
|
}
|
|
1941
1955
|
});
|
|
1956
|
+
Object.defineProperty(exports, "markAsInternalChangeEvent", {
|
|
1957
|
+
enumerable: true,
|
|
1958
|
+
get: function() {
|
|
1959
|
+
return markAsInternalChangeEvent;
|
|
1960
|
+
}
|
|
1961
|
+
});
|
|
1942
1962
|
Object.defineProperty(exports, "navigate", {
|
|
1943
1963
|
enumerable: true,
|
|
1944
1964
|
get: function() {
|
|
@@ -422,7 +422,8 @@ function dispatchInputValueEvent(el, options) {
|
|
|
422
422
|
const win = getWindow(el);
|
|
423
423
|
if (!(el instanceof win.HTMLInputElement)) return;
|
|
424
424
|
setElementValue(el, `${value}`);
|
|
425
|
-
|
|
425
|
+
const event = new win.Event("input", { bubbles });
|
|
426
|
+
el.dispatchEvent(markAsInternalChangeEvent(event));
|
|
426
427
|
}
|
|
427
428
|
function dispatchInputCheckedEvent(el, options) {
|
|
428
429
|
const { checked, bubbles = true } = options;
|
|
@@ -430,17 +431,15 @@ function dispatchInputCheckedEvent(el, options) {
|
|
|
430
431
|
const win = getWindow(el);
|
|
431
432
|
if (!(el instanceof win.HTMLInputElement)) return;
|
|
432
433
|
setElementChecked(el, checked);
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
function getClosestForm(el) {
|
|
436
|
-
return isFormElement(el) ? el.form : el.closest("form");
|
|
434
|
+
const event = new win.Event("click", { bubbles });
|
|
435
|
+
el.dispatchEvent(markAsInternalChangeEvent(event));
|
|
437
436
|
}
|
|
438
437
|
function isFormElement(el) {
|
|
439
438
|
return el.matches("textarea, input, select, button");
|
|
440
439
|
}
|
|
441
440
|
function trackFormReset(el, callback) {
|
|
442
441
|
if (!el) return;
|
|
443
|
-
const form =
|
|
442
|
+
const form = isFormElement(el) ? el.form : el.closest("form");
|
|
444
443
|
const onReset = (e) => {
|
|
445
444
|
if (e.defaultPrevented) return;
|
|
446
445
|
callback();
|
|
@@ -465,6 +464,15 @@ function trackFormControl(el, options) {
|
|
|
465
464
|
const cleanups = [trackFormReset(el, onFormReset), trackFieldsetDisabled(el, onFieldsetDisabledChange)];
|
|
466
465
|
return () => cleanups.forEach((cleanup) => cleanup?.());
|
|
467
466
|
}
|
|
467
|
+
const INTERNAL_CHANGE_EVENT = Symbol.for("zag.changeEvent");
|
|
468
|
+
function isInternalChangeEvent(e) {
|
|
469
|
+
return Object.prototype.hasOwnProperty.call(e, INTERNAL_CHANGE_EVENT);
|
|
470
|
+
}
|
|
471
|
+
function markAsInternalChangeEvent(event) {
|
|
472
|
+
if (isInternalChangeEvent(event)) return event;
|
|
473
|
+
Object.defineProperty(event, INTERNAL_CHANGE_EVENT, { value: true });
|
|
474
|
+
return event;
|
|
475
|
+
}
|
|
468
476
|
//#endregion
|
|
469
477
|
//#region src/shared/dom-query/tabbable.ts
|
|
470
478
|
const isFrame = (el) => isHTMLElement(el) && el.tagName === "IFRAME";
|
|
@@ -1363,4 +1371,4 @@ function waitForEvent(target, event, options) {
|
|
|
1363
1371
|
}), () => cleanup?.()];
|
|
1364
1372
|
}
|
|
1365
1373
|
//#endregion
|
|
1366
|
-
export { getTabbableEdges as $,
|
|
1374
|
+
export { getTabbableEdges as $, contains as $t, getRelativePoint as A, getPlatform as At, observeChildren as B, isMac as Bt, queryAll as C, setCaretToEnd as Cn, isModifierKey as Ct, disableTextSelection as D, isTouchEvent as Dt, trackPointerMove as E, isSelfTarget as Et, isOverflowElement as F, isDom as Ft, getInitialFocus as G, findControlledElements as Gt, nextTick as H, isTouchDevice as Ht, scrollIntoView as I, isFirefox as It, getFirstTabbable as J, isControlledByExpandedController as Jt, isValidTabEvent as K, getControlledElements as Kt, clickIfLink as L, isIPad as Lt, getOverflowAncestors as M, isAndroid as Mt, getScrollPosition as N, isApple as Nt, restoreTextSelection as O, isVirtualClick as Ot, isInView as P, isChrome as Pt, getTabIndex as Q, getComputedStyle as Qt, navigate as R, isIPhone as Rt, query as S, isCaretAtStart as Sn, isLeftClick as St, trackPress as T, isPrintableKey as Tt, queueBeforeEvent as U, isWebKit as Ut, AnimationFrame as V, isSafari as Vt, raf as W, getDataUrl as Wt, getLastTabbable as X, isControllerElement as Xt, getFocusables as Y, isControlledElement as Yt, getNextTabbable as Z, isInteractiveContainerElement as Zt, defaultItemToId as _, isVisualViewport as _n, isComposingEvent as _t, visuallyHiddenStyle as a, getRootNode as an, isInternalChangeEvent as at, nextById as b, ariaAttr as bn, isDownloadingEvent as bt, setAttribute as c, isAnchorElement as cn, setElementValue as ct, setStyleProperty as d, isElementVisible as dn, getBeforeInputValue as dt, getActiveElement as en, getTabbables as et, getByText as f, isHTMLElement as fn, getEventKey as ft, resizeObserverDevicePixelContentBox as g, isShadowRoot as gn, getNativeEvent as gt, resizeObserverContentBox as h, isRootElement as hn, getEventTarget as ht, setVisuallyHidden as i, getParentNode as in, dispatchInputValueEvent as it, getNearestOverflowAncestor as j, getUserAgent as jt, requestPointerLock as k, isVirtualPointerEvent as kt, setProperty as l, isDocument as ln, trackFormControl as lt, resizeObserverBorderBox as m, isNode as mn, getEventStep as mt, waitForEvent as n, getDocumentElement as nn, isTabbable as nt, trackVisualViewport as o, getWindow as on, markAsInternalChangeEvent as ot, createScope as p, isInputElement as pn, getEventPoint as pt, getFirstFocusable as q, hasControllerElements as qt, waitForPromise as r, getNodeName as rn, dispatchInputCheckedEvent as rt, getByTypeahead as s, isActiveElement as sn, setElementChecked as st, waitForElement as t, getDocument as tn, isFocusable as tt, setStyle as u, isEditableElement as un, addDomEvent as ut, indexOfId as v, isWindow as vn, isContextMenuEvent as vt, proxyTabFocus as w, isOpeningInNewTab as wt, prevById as x, dataAttr as xn, isKeyboardClick as xt, itemById as y, MAX_Z_INDEX as yn, isCtrlOrMetaKey as yt, observeAttributes as z, isIos as zt };
|
package/dist/dom-query.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_dom_query = require("./dom-query-
|
|
2
|
+
const require_dom_query = require("./dom-query-Bd63cRVF.cjs");
|
|
3
3
|
exports.AnimationFrame = require_dom_query.AnimationFrame;
|
|
4
4
|
exports.MAX_Z_INDEX = require_dom_query.MAX_Z_INDEX;
|
|
5
5
|
exports.addDomEvent = require_dom_query.addDomEvent;
|
|
@@ -73,6 +73,7 @@ exports.isIPhone = require_dom_query.isIPhone;
|
|
|
73
73
|
exports.isInView = require_dom_query.isInView;
|
|
74
74
|
exports.isInputElement = require_dom_query.isInputElement;
|
|
75
75
|
exports.isInteractiveContainerElement = require_dom_query.isInteractiveContainerElement;
|
|
76
|
+
exports.isInternalChangeEvent = require_dom_query.isInternalChangeEvent;
|
|
76
77
|
exports.isIos = require_dom_query.isIos;
|
|
77
78
|
exports.isKeyboardClick = require_dom_query.isKeyboardClick;
|
|
78
79
|
exports.isLeftClick = require_dom_query.isLeftClick;
|
|
@@ -96,6 +97,7 @@ exports.isVisualViewport = require_dom_query.isVisualViewport;
|
|
|
96
97
|
exports.isWebKit = require_dom_query.isWebKit;
|
|
97
98
|
exports.isWindow = require_dom_query.isWindow;
|
|
98
99
|
exports.itemById = require_dom_query.itemById;
|
|
100
|
+
exports.markAsInternalChangeEvent = require_dom_query.markAsInternalChangeEvent;
|
|
99
101
|
exports.navigate = require_dom_query.navigate;
|
|
100
102
|
exports.nextById = require_dom_query.nextById;
|
|
101
103
|
exports.nextTick = require_dom_query.nextTick;
|
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 | 0.1
|
|
60
|
+
declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 1 | 10 | 0.1;
|
|
61
61
|
declare function getEventPoint(event: any, type?: "page" | "client"): {
|
|
62
62
|
x: number;
|
|
63
63
|
y: number;
|
|
@@ -84,6 +84,12 @@ interface TrackFormControlOptions {
|
|
|
84
84
|
onFormReset: VoidFunction;
|
|
85
85
|
}
|
|
86
86
|
declare function trackFormControl(el: HTMLElement | null, options: TrackFormControlOptions): (() => void) | undefined;
|
|
87
|
+
declare const INTERNAL_CHANGE_EVENT: unique symbol;
|
|
88
|
+
type InternalChangeEventProps = {
|
|
89
|
+
[INTERNAL_CHANGE_EVENT]?: boolean;
|
|
90
|
+
};
|
|
91
|
+
declare function isInternalChangeEvent<T extends Event>(e: T): e is T & InternalChangeEventProps;
|
|
92
|
+
declare function markAsInternalChangeEvent<T extends Event>(event: T): T & InternalChangeEventProps;
|
|
87
93
|
//#endregion
|
|
88
94
|
//#region src/shared/dom-query/initial-focus.d.ts
|
|
89
95
|
interface InitialFocusOptions {
|
|
@@ -304,4 +310,4 @@ declare const visuallyHiddenStyle: {
|
|
|
304
310
|
};
|
|
305
311
|
declare function setVisuallyHidden(el: HTMLElement): void;
|
|
306
312
|
//#endregion
|
|
307
|
-
export { AnimationFrame, CheckedEventOptions, ControlledElementOptions, DataUrlOptions, DataUrlType, DisableTextSelectionOptions, GetShadowRootOption, InitialFocusOptions, InputValueEventOptions, ItemToId, MAX_Z_INDEX, NavigateOptions, NextTabbableOptions, ObserveAttributeOptions, ObserveChildrenOptions, OverflowAncestor, PercentValueOptions, PointerMoveDetails, PointerMoveHandlers, PointerUpDetails, PressDetails, ProxyTabFocusOptions, ScopeContext, ScrollOptions, ScrollPosition, SearchableItem, TabbableOptions, TrackFormControlOptions, TrackPressOptions, TypeaheadOptions, TypeaheadState, ViewportSize, WaitForEventOptions, WaitForOptions, WaitForPromiseReturn, addDomEvent, ariaAttr, clickIfLink, contains, createScope, dataAttr, defaultItemToId, disableTextSelection, dispatchInputCheckedEvent, dispatchInputValueEvent, findControlledElements, getActiveElement, getBeforeInputValue, getByText, getByTypeahead, getComputedStyle, getControlledElements, getDataUrl, getDocument, getDocumentElement, getEventKey, getEventPoint, getEventStep, getEventTarget, getFirstFocusable, getFirstTabbable, getFocusables, getInitialFocus, getLastTabbable, getNativeEvent, getNearestOverflowAncestor, getNextTabbable, getNodeName, getOverflowAncestors, getParentNode, getPlatform, getRelativePoint, getRootNode, getScrollPosition, getTabIndex, getTabbableEdges, getTabbables, getUserAgent, getWindow, hasControllerElements, indexOfId, isActiveElement, isAnchorElement, isAndroid, isApple, isCaretAtStart, isChrome, isComposingEvent, isContextMenuEvent, isControlledByExpandedController, isControlledElement, isControllerElement, isCtrlOrMetaKey, isDocument, isDom, isDownloadingEvent, isEditableElement, isElementVisible, isFirefox, isFocusable, isHTMLElement, isIPad, isIPhone, isInView, isInputElement, isInteractiveContainerElement, isIos, isKeyboardClick, isLeftClick, isMac, isModifierKey, isNode, isOpeningInNewTab, isOverflowElement, isPrintableKey, isRootElement, isSafari, isSelfTarget, isShadowRoot, isTabbable, isTouchDevice, isTouchEvent, isValidTabEvent, isVirtualClick, isVirtualPointerEvent, isVisualViewport, isWebKit, isWindow, itemById, navigate, nextById, nextTick, observeAttributes, observeChildren, prevById, proxyTabFocus, query, queryAll, queueBeforeEvent, raf, requestPointerLock, resizeObserverBorderBox, resizeObserverContentBox, resizeObserverDevicePixelContentBox, restoreTextSelection, scrollIntoView, setAttribute, setCaretToEnd, setElementChecked, setElementValue, setProperty, setStyle, setStyleProperty, setVisuallyHidden, trackFormControl, trackPointerMove, trackPress, trackVisualViewport, visuallyHiddenStyle, waitForElement, waitForEvent, waitForPromise };
|
|
313
|
+
export { AnimationFrame, CheckedEventOptions, ControlledElementOptions, DataUrlOptions, DataUrlType, DisableTextSelectionOptions, GetShadowRootOption, InitialFocusOptions, InputValueEventOptions, ItemToId, MAX_Z_INDEX, NavigateOptions, NextTabbableOptions, ObserveAttributeOptions, ObserveChildrenOptions, OverflowAncestor, PercentValueOptions, PointerMoveDetails, PointerMoveHandlers, PointerUpDetails, PressDetails, ProxyTabFocusOptions, ScopeContext, ScrollOptions, ScrollPosition, SearchableItem, TabbableOptions, TrackFormControlOptions, TrackPressOptions, TypeaheadOptions, TypeaheadState, ViewportSize, WaitForEventOptions, WaitForOptions, WaitForPromiseReturn, addDomEvent, ariaAttr, clickIfLink, contains, createScope, dataAttr, defaultItemToId, disableTextSelection, dispatchInputCheckedEvent, dispatchInputValueEvent, findControlledElements, getActiveElement, getBeforeInputValue, getByText, getByTypeahead, getComputedStyle, getControlledElements, getDataUrl, getDocument, getDocumentElement, getEventKey, getEventPoint, getEventStep, getEventTarget, getFirstFocusable, getFirstTabbable, getFocusables, getInitialFocus, getLastTabbable, getNativeEvent, getNearestOverflowAncestor, getNextTabbable, getNodeName, getOverflowAncestors, getParentNode, getPlatform, getRelativePoint, getRootNode, getScrollPosition, getTabIndex, getTabbableEdges, getTabbables, getUserAgent, getWindow, hasControllerElements, indexOfId, isActiveElement, isAnchorElement, isAndroid, isApple, isCaretAtStart, isChrome, isComposingEvent, isContextMenuEvent, isControlledByExpandedController, isControlledElement, isControllerElement, isCtrlOrMetaKey, isDocument, isDom, isDownloadingEvent, isEditableElement, isElementVisible, isFirefox, isFocusable, isHTMLElement, isIPad, isIPhone, isInView, isInputElement, isInteractiveContainerElement, isInternalChangeEvent, isIos, isKeyboardClick, isLeftClick, isMac, isModifierKey, isNode, isOpeningInNewTab, isOverflowElement, isPrintableKey, isRootElement, isSafari, isSelfTarget, isShadowRoot, isTabbable, isTouchDevice, isTouchEvent, isValidTabEvent, isVirtualClick, isVirtualPointerEvent, isVisualViewport, isWebKit, isWindow, itemById, markAsInternalChangeEvent, navigate, nextById, nextTick, observeAttributes, observeChildren, prevById, proxyTabFocus, query, queryAll, queueBeforeEvent, raf, requestPointerLock, resizeObserverBorderBox, resizeObserverContentBox, resizeObserverDevicePixelContentBox, restoreTextSelection, scrollIntoView, setAttribute, setCaretToEnd, setElementChecked, setElementValue, setProperty, setStyle, setStyleProperty, setVisuallyHidden, trackFormControl, trackPointerMove, trackPress, trackVisualViewport, visuallyHiddenStyle, waitForElement, waitForEvent, waitForPromise };
|
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 | 0.1
|
|
60
|
+
declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 1 | 10 | 0.1;
|
|
61
61
|
declare function getEventPoint(event: any, type?: "page" | "client"): {
|
|
62
62
|
x: number;
|
|
63
63
|
y: number;
|
|
@@ -84,6 +84,12 @@ interface TrackFormControlOptions {
|
|
|
84
84
|
onFormReset: VoidFunction;
|
|
85
85
|
}
|
|
86
86
|
declare function trackFormControl(el: HTMLElement | null, options: TrackFormControlOptions): (() => void) | undefined;
|
|
87
|
+
declare const INTERNAL_CHANGE_EVENT: unique symbol;
|
|
88
|
+
type InternalChangeEventProps = {
|
|
89
|
+
[INTERNAL_CHANGE_EVENT]?: boolean;
|
|
90
|
+
};
|
|
91
|
+
declare function isInternalChangeEvent<T extends Event>(e: T): e is T & InternalChangeEventProps;
|
|
92
|
+
declare function markAsInternalChangeEvent<T extends Event>(event: T): T & InternalChangeEventProps;
|
|
87
93
|
//#endregion
|
|
88
94
|
//#region src/shared/dom-query/initial-focus.d.ts
|
|
89
95
|
interface InitialFocusOptions {
|
|
@@ -304,4 +310,4 @@ declare const visuallyHiddenStyle: {
|
|
|
304
310
|
};
|
|
305
311
|
declare function setVisuallyHidden(el: HTMLElement): void;
|
|
306
312
|
//#endregion
|
|
307
|
-
export { AnimationFrame, CheckedEventOptions, ControlledElementOptions, DataUrlOptions, DataUrlType, DisableTextSelectionOptions, GetShadowRootOption, InitialFocusOptions, InputValueEventOptions, ItemToId, MAX_Z_INDEX, NavigateOptions, NextTabbableOptions, ObserveAttributeOptions, ObserveChildrenOptions, OverflowAncestor, PercentValueOptions, PointerMoveDetails, PointerMoveHandlers, PointerUpDetails, PressDetails, ProxyTabFocusOptions, ScopeContext, ScrollOptions, ScrollPosition, SearchableItem, TabbableOptions, TrackFormControlOptions, TrackPressOptions, TypeaheadOptions, TypeaheadState, ViewportSize, WaitForEventOptions, WaitForOptions, WaitForPromiseReturn, addDomEvent, ariaAttr, clickIfLink, contains, createScope, dataAttr, defaultItemToId, disableTextSelection, dispatchInputCheckedEvent, dispatchInputValueEvent, findControlledElements, getActiveElement, getBeforeInputValue, getByText, getByTypeahead, getComputedStyle, getControlledElements, getDataUrl, getDocument, getDocumentElement, getEventKey, getEventPoint, getEventStep, getEventTarget, getFirstFocusable, getFirstTabbable, getFocusables, getInitialFocus, getLastTabbable, getNativeEvent, getNearestOverflowAncestor, getNextTabbable, getNodeName, getOverflowAncestors, getParentNode, getPlatform, getRelativePoint, getRootNode, getScrollPosition, getTabIndex, getTabbableEdges, getTabbables, getUserAgent, getWindow, hasControllerElements, indexOfId, isActiveElement, isAnchorElement, isAndroid, isApple, isCaretAtStart, isChrome, isComposingEvent, isContextMenuEvent, isControlledByExpandedController, isControlledElement, isControllerElement, isCtrlOrMetaKey, isDocument, isDom, isDownloadingEvent, isEditableElement, isElementVisible, isFirefox, isFocusable, isHTMLElement, isIPad, isIPhone, isInView, isInputElement, isInteractiveContainerElement, isIos, isKeyboardClick, isLeftClick, isMac, isModifierKey, isNode, isOpeningInNewTab, isOverflowElement, isPrintableKey, isRootElement, isSafari, isSelfTarget, isShadowRoot, isTabbable, isTouchDevice, isTouchEvent, isValidTabEvent, isVirtualClick, isVirtualPointerEvent, isVisualViewport, isWebKit, isWindow, itemById, navigate, nextById, nextTick, observeAttributes, observeChildren, prevById, proxyTabFocus, query, queryAll, queueBeforeEvent, raf, requestPointerLock, resizeObserverBorderBox, resizeObserverContentBox, resizeObserverDevicePixelContentBox, restoreTextSelection, scrollIntoView, setAttribute, setCaretToEnd, setElementChecked, setElementValue, setProperty, setStyle, setStyleProperty, setVisuallyHidden, trackFormControl, trackPointerMove, trackPress, trackVisualViewport, visuallyHiddenStyle, waitForElement, waitForEvent, waitForPromise };
|
|
313
|
+
export { AnimationFrame, CheckedEventOptions, ControlledElementOptions, DataUrlOptions, DataUrlType, DisableTextSelectionOptions, GetShadowRootOption, InitialFocusOptions, InputValueEventOptions, ItemToId, MAX_Z_INDEX, NavigateOptions, NextTabbableOptions, ObserveAttributeOptions, ObserveChildrenOptions, OverflowAncestor, PercentValueOptions, PointerMoveDetails, PointerMoveHandlers, PointerUpDetails, PressDetails, ProxyTabFocusOptions, ScopeContext, ScrollOptions, ScrollPosition, SearchableItem, TabbableOptions, TrackFormControlOptions, TrackPressOptions, TypeaheadOptions, TypeaheadState, ViewportSize, WaitForEventOptions, WaitForOptions, WaitForPromiseReturn, addDomEvent, ariaAttr, clickIfLink, contains, createScope, dataAttr, defaultItemToId, disableTextSelection, dispatchInputCheckedEvent, dispatchInputValueEvent, findControlledElements, getActiveElement, getBeforeInputValue, getByText, getByTypeahead, getComputedStyle, getControlledElements, getDataUrl, getDocument, getDocumentElement, getEventKey, getEventPoint, getEventStep, getEventTarget, getFirstFocusable, getFirstTabbable, getFocusables, getInitialFocus, getLastTabbable, getNativeEvent, getNearestOverflowAncestor, getNextTabbable, getNodeName, getOverflowAncestors, getParentNode, getPlatform, getRelativePoint, getRootNode, getScrollPosition, getTabIndex, getTabbableEdges, getTabbables, getUserAgent, getWindow, hasControllerElements, indexOfId, isActiveElement, isAnchorElement, isAndroid, isApple, isCaretAtStart, isChrome, isComposingEvent, isContextMenuEvent, isControlledByExpandedController, isControlledElement, isControllerElement, isCtrlOrMetaKey, isDocument, isDom, isDownloadingEvent, isEditableElement, isElementVisible, isFirefox, isFocusable, isHTMLElement, isIPad, isIPhone, isInView, isInputElement, isInteractiveContainerElement, isInternalChangeEvent, isIos, isKeyboardClick, isLeftClick, isMac, isModifierKey, isNode, isOpeningInNewTab, isOverflowElement, isPrintableKey, isRootElement, isSafari, isSelfTarget, isShadowRoot, isTabbable, isTouchDevice, isTouchEvent, isValidTabEvent, isVirtualClick, isVirtualPointerEvent, isVisualViewport, isWebKit, isWindow, itemById, markAsInternalChangeEvent, navigate, nextById, nextTick, observeAttributes, observeChildren, prevById, proxyTabFocus, query, queryAll, queueBeforeEvent, raf, requestPointerLock, resizeObserverBorderBox, resizeObserverContentBox, resizeObserverDevicePixelContentBox, restoreTextSelection, scrollIntoView, setAttribute, setCaretToEnd, setElementChecked, setElementValue, setProperty, setStyle, setStyleProperty, setVisuallyHidden, trackFormControl, trackPointerMove, trackPress, trackVisualViewport, visuallyHiddenStyle, waitForElement, waitForEvent, waitForPromise };
|
package/dist/dom-query.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as getTabbableEdges, $t as
|
|
2
|
-
export { AnimationFrame, MAX_Z_INDEX, addDomEvent, ariaAttr, clickIfLink, contains, createScope, dataAttr, defaultItemToId, disableTextSelection, dispatchInputCheckedEvent, dispatchInputValueEvent, findControlledElements, getActiveElement, getBeforeInputValue, getByText, getByTypeahead, getComputedStyle, getControlledElements, getDataUrl, getDocument, getDocumentElement, getEventKey, getEventPoint, getEventStep, getEventTarget, getFirstFocusable, getFirstTabbable, getFocusables, getInitialFocus, getLastTabbable, getNativeEvent, getNearestOverflowAncestor, getNextTabbable, getNodeName, getOverflowAncestors, getParentNode, getPlatform, getRelativePoint, getRootNode, getScrollPosition, getTabIndex, getTabbableEdges, getTabbables, getUserAgent, getWindow, hasControllerElements, indexOfId, isActiveElement, isAnchorElement, isAndroid, isApple, isCaretAtStart, isChrome, isComposingEvent, isContextMenuEvent, isControlledByExpandedController, isControlledElement, isControllerElement, isCtrlOrMetaKey, isDocument, isDom, isDownloadingEvent, isEditableElement, isElementVisible, isFirefox, isFocusable, isHTMLElement, isIPad, isIPhone, isInView, isInputElement, isInteractiveContainerElement, isIos, isKeyboardClick, isLeftClick, isMac, isModifierKey, isNode, isOpeningInNewTab, isOverflowElement, isPrintableKey, isRootElement, isSafari, isSelfTarget, isShadowRoot, isTabbable, isTouchDevice, isTouchEvent, isValidTabEvent, isVirtualClick, isVirtualPointerEvent, isVisualViewport, isWebKit, isWindow, itemById, navigate, nextById, nextTick, observeAttributes, observeChildren, prevById, proxyTabFocus, query, queryAll, queueBeforeEvent, raf, requestPointerLock, resizeObserverBorderBox, resizeObserverContentBox, resizeObserverDevicePixelContentBox, restoreTextSelection, scrollIntoView, setAttribute, setCaretToEnd, setElementChecked, setElementValue, setProperty, setStyle, setStyleProperty, setVisuallyHidden, trackFormControl, trackPointerMove, trackPress, trackVisualViewport, visuallyHiddenStyle, waitForElement, waitForEvent, waitForPromise };
|
|
1
|
+
import { $ as getTabbableEdges, $t as contains, A as getRelativePoint, At as getPlatform, B as observeChildren, Bt as isMac, C as queryAll, Cn as setCaretToEnd, Ct as isModifierKey, D as disableTextSelection, Dt as isTouchEvent, E as trackPointerMove, Et as isSelfTarget, F as isOverflowElement, Ft as isDom, G as getInitialFocus, Gt as findControlledElements, H as nextTick, Ht as isTouchDevice, I as scrollIntoView, It as isFirefox, J as getFirstTabbable, Jt as isControlledByExpandedController, K as isValidTabEvent, Kt as getControlledElements, L as clickIfLink, Lt as isIPad, M as getOverflowAncestors, Mt as isAndroid, N as getScrollPosition, Nt as isApple, O as restoreTextSelection, Ot as isVirtualClick, P as isInView, Pt as isChrome, Q as getTabIndex, Qt as getComputedStyle, R as navigate, Rt as isIPhone, S as query, Sn as isCaretAtStart, St as isLeftClick, T as trackPress, Tt as isPrintableKey, U as queueBeforeEvent, Ut as isWebKit, V as AnimationFrame, Vt as isSafari, W as raf, Wt as getDataUrl, X as getLastTabbable, Xt as isControllerElement, Y as getFocusables, Yt as isControlledElement, Z as getNextTabbable, Zt as isInteractiveContainerElement, _ as defaultItemToId, _n as isVisualViewport, _t as isComposingEvent, a as visuallyHiddenStyle, an as getRootNode, at as isInternalChangeEvent, b as nextById, bn as ariaAttr, bt as isDownloadingEvent, c as setAttribute, cn as isAnchorElement, ct as setElementValue, d as setStyleProperty, dn as isElementVisible, dt as getBeforeInputValue, en as getActiveElement, et as getTabbables, f as getByText, fn as isHTMLElement, ft as getEventKey, g as resizeObserverDevicePixelContentBox, gn as isShadowRoot, gt as getNativeEvent, h as resizeObserverContentBox, hn as isRootElement, ht as getEventTarget, i as setVisuallyHidden, in as getParentNode, it as dispatchInputValueEvent, j as getNearestOverflowAncestor, jt as getUserAgent, k as requestPointerLock, kt as isVirtualPointerEvent, l as setProperty, ln as isDocument, lt as trackFormControl, m as resizeObserverBorderBox, mn as isNode, mt as getEventStep, n as waitForEvent, nn as getDocumentElement, nt as isTabbable, o as trackVisualViewport, on as getWindow, ot as markAsInternalChangeEvent, p as createScope, pn as isInputElement, pt as getEventPoint, q as getFirstFocusable, qt as hasControllerElements, r as waitForPromise, rn as getNodeName, rt as dispatchInputCheckedEvent, s as getByTypeahead, sn as isActiveElement, st as setElementChecked, t as waitForElement, tn as getDocument, tt as isFocusable, u as setStyle, un as isEditableElement, ut as addDomEvent, v as indexOfId, vn as isWindow, vt as isContextMenuEvent, w as proxyTabFocus, wt as isOpeningInNewTab, x as prevById, xn as dataAttr, xt as isKeyboardClick, y as itemById, yn as MAX_Z_INDEX, yt as isCtrlOrMetaKey, z as observeAttributes, zt as isIos } from "./dom-query-s2ESLR2U.mjs";
|
|
2
|
+
export { AnimationFrame, MAX_Z_INDEX, addDomEvent, ariaAttr, clickIfLink, contains, createScope, dataAttr, defaultItemToId, disableTextSelection, dispatchInputCheckedEvent, dispatchInputValueEvent, findControlledElements, getActiveElement, getBeforeInputValue, getByText, getByTypeahead, getComputedStyle, getControlledElements, getDataUrl, getDocument, getDocumentElement, getEventKey, getEventPoint, getEventStep, getEventTarget, getFirstFocusable, getFirstTabbable, getFocusables, getInitialFocus, getLastTabbable, getNativeEvent, getNearestOverflowAncestor, getNextTabbable, getNodeName, getOverflowAncestors, getParentNode, getPlatform, getRelativePoint, getRootNode, getScrollPosition, getTabIndex, getTabbableEdges, getTabbables, getUserAgent, getWindow, hasControllerElements, indexOfId, isActiveElement, isAnchorElement, isAndroid, isApple, isCaretAtStart, isChrome, isComposingEvent, isContextMenuEvent, isControlledByExpandedController, isControlledElement, isControllerElement, isCtrlOrMetaKey, isDocument, isDom, isDownloadingEvent, isEditableElement, isElementVisible, isFirefox, isFocusable, isHTMLElement, isIPad, isIPhone, isInView, isInputElement, isInteractiveContainerElement, isInternalChangeEvent, isIos, isKeyboardClick, isLeftClick, isMac, isModifierKey, isNode, isOpeningInNewTab, isOverflowElement, isPrintableKey, isRootElement, isSafari, isSelfTarget, isShadowRoot, isTabbable, isTouchDevice, isTouchEvent, isValidTabEvent, isVirtualClick, isVirtualPointerEvent, isVisualViewport, isWebKit, isWindow, itemById, markAsInternalChangeEvent, navigate, nextById, nextTick, observeAttributes, observeChildren, prevById, proxyTabFocus, query, queryAll, queueBeforeEvent, raf, requestPointerLock, resizeObserverBorderBox, resizeObserverContentBox, resizeObserverDevicePixelContentBox, restoreTextSelection, scrollIntoView, setAttribute, setCaretToEnd, setElementChecked, setElementValue, setProperty, setStyle, setStyleProperty, setVisuallyHidden, trackFormControl, trackPointerMove, trackPress, trackVisualViewport, visuallyHiddenStyle, waitForElement, waitForEvent, waitForPromise };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Jt as isControlledByExpandedController, Kt as getControlledElements, Q as getTabIndex, W as raf, Y as getFocusables, Yt as isControlledElement, en as getActiveElement, et as getTabbables, ht as getEventTarget, ln as isDocument, nt as isTabbable, qt as hasControllerElements, tn as getDocument, tt as isFocusable, ut as addDomEvent } from "./dom-query-s2ESLR2U.mjs";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-D5oW_HU_.mjs";
|
|
3
3
|
//#region src/shared/focus-trap/focus-trap.ts
|
|
4
4
|
const activeFocusTraps = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_dom_query = require("./dom-query-
|
|
1
|
+
const require_dom_query = require("./dom-query-Bd63cRVF.cjs");
|
|
2
2
|
const require_defineProperty = require("./defineProperty-8IOBQ1i_.cjs");
|
|
3
3
|
//#region src/shared/focus-trap/focus-trap.ts
|
|
4
4
|
const activeFocusTraps = {
|
package/dist/focus-trap.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("./dom-query-
|
|
3
|
-
const require_focus_trap = require("./focus-trap-
|
|
2
|
+
require("./dom-query-Bd63cRVF.cjs");
|
|
3
|
+
const require_focus_trap = require("./focus-trap-fucc6OU_.cjs");
|
|
4
4
|
exports.FocusTrap = require_focus_trap.FocusTrap;
|
|
5
5
|
exports.trapFocus = require_focus_trap.trapFocus;
|
package/dist/focus-trap.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./dom-query-
|
|
2
|
-
import { n as FocusTrap, t as trapFocus } from "./focus-trap-
|
|
1
|
+
import "./dom-query-s2ESLR2U.mjs";
|
|
2
|
+
import { n as FocusTrap, t as trapFocus } from "./focus-trap-DzBvBlTH.mjs";
|
|
3
3
|
export { FocusTrap, trapFocus };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_dom_query = require("./dom-query-
|
|
1
|
+
const require_dom_query = require("./dom-query-Bd63cRVF.cjs");
|
|
2
2
|
//#region src/shared/focus-visible/index.ts
|
|
3
3
|
function isValidKey(e) {
|
|
4
4
|
return !(e.metaKey || !require_dom_query.isMac() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bt as isMac, Ot as isVirtualClick, ht as getEventTarget, on as getWindow, tn as getDocument } from "./dom-query-s2ESLR2U.mjs";
|
|
2
2
|
//#region src/shared/focus-visible/index.ts
|
|
3
3
|
function isValidKey(e) {
|
|
4
4
|
return !(e.metaKey || !isMac() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
|
package/dist/focus-visible.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("./dom-query-
|
|
3
|
-
const require_focus_visible = require("./focus-visible-
|
|
2
|
+
require("./dom-query-Bd63cRVF.cjs");
|
|
3
|
+
const require_focus_visible = require("./focus-visible-75XTctXf.cjs");
|
|
4
4
|
exports.getInteractionModality = require_focus_visible.getInteractionModality;
|
|
5
5
|
exports.isFocusVisible = require_focus_visible.isFocusVisible;
|
|
6
6
|
exports.listenerMap = require_focus_visible.listenerMap;
|
package/dist/focus-visible.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./dom-query-
|
|
2
|
-
import { a as trackFocusVisible, i as setInteractionModality, n as isFocusVisible, o as trackInteractionModality, r as listenerMap, t as getInteractionModality } from "./focus-visible-
|
|
1
|
+
import "./dom-query-s2ESLR2U.mjs";
|
|
2
|
+
import { a as trackFocusVisible, i as setInteractionModality, n as isFocusVisible, o as trackInteractionModality, r as listenerMap, t as getInteractionModality } from "./focus-visible-D5qBaAOn.mjs";
|
|
3
3
|
export { getInteractionModality, isFocusVisible, listenerMap, setInteractionModality, trackFocusVisible, trackInteractionModality };
|
package/dist/i18n-utils.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("./dom-query-
|
|
3
|
-
const require_i18n_utils = require("./i18n-utils-
|
|
2
|
+
require("./dom-query-Bd63cRVF.cjs");
|
|
3
|
+
const require_i18n_utils = require("./i18n-utils-DB-lUfrr.cjs");
|
|
4
4
|
exports.createCollator = require_i18n_utils.createCollator;
|
|
5
5
|
exports.createFilter = require_i18n_utils.createFilter;
|
|
6
6
|
exports.formatBytes = require_i18n_utils.formatBytes;
|
package/dist/i18n-utils.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./dom-query-
|
|
2
|
-
import { a as formatTime, c as formatDate, d as createFilter, f as createCollator, i as isRTL, l as formatBytes, n as getDefaultLocale, o as formatRelativeTime, r as getLocaleDir, s as formatList, t as trackLocale, u as formatNumber } from "./i18n-utils-
|
|
1
|
+
import "./dom-query-s2ESLR2U.mjs";
|
|
2
|
+
import { a as formatTime, c as formatDate, d as createFilter, f as createCollator, i as isRTL, l as formatBytes, n as getDefaultLocale, o as formatRelativeTime, r as getLocaleDir, s as formatList, t as trackLocale, u as formatNumber } from "./i18n-utils-oWZyUib_.mjs";
|
|
3
3
|
export { createCollator, createFilter, formatBytes, formatDate, formatList, formatNumber, formatRelativeTime, formatTime, getDefaultLocale, getLocaleDir, isRTL, trackLocale };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as
|
|
1
|
+
import { $t as contains, Ht as isTouchDevice, W as raf, Yt as isControlledElement, fn as isHTMLElement, gn as isShadowRoot, ht as getEventTarget, j as getNearestOverflowAncestor, on as getWindow, tn as getDocument, tt as isFocusable, ut as addDomEvent, vt as isContextMenuEvent } from "./dom-query-s2ESLR2U.mjs";
|
|
2
2
|
import { W as callAll } from "./utils-VVoZ_v29.mjs";
|
|
3
3
|
//#region src/shared/interact-outside/frame-utils.ts
|
|
4
4
|
function getWindowFrames(win) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_dom_query = require("./dom-query-
|
|
1
|
+
const require_dom_query = require("./dom-query-Bd63cRVF.cjs");
|
|
2
2
|
const require_utils = require("./utils-ByNiZU8f.cjs");
|
|
3
3
|
//#region src/shared/interact-outside/frame-utils.ts
|
|
4
4
|
function getWindowFrames(win) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("./dom-query-
|
|
2
|
+
require("./dom-query-Bd63cRVF.cjs");
|
|
3
3
|
require("./utils-ByNiZU8f.cjs");
|
|
4
|
-
const require_interact_outside = require("./interact-outside-
|
|
4
|
+
const require_interact_outside = require("./interact-outside-Cx4J0EBf.cjs");
|
|
5
5
|
exports.trackInteractOutside = require_interact_outside.trackInteractOutside;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./dom-query-
|
|
1
|
+
import "./dom-query-s2ESLR2U.mjs";
|
|
2
2
|
import "./utils-VVoZ_v29.mjs";
|
|
3
|
-
import { t as trackInteractOutside } from "./interact-outside-
|
|
3
|
+
import { t as trackInteractOutside } from "./interact-outside-2qkUnl4N.mjs";
|
|
4
4
|
export { trackInteractOutside };
|
|
@@ -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) => 1 |
|
|
49
|
+
compareValue: (a: string, b: string) => 1 | 0 | -1;
|
|
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) => 1 |
|
|
49
|
+
compareValue: (a: string, b: string) => 1 | 0 | -1;
|
|
50
50
|
private range;
|
|
51
51
|
getValueRange: (from: string | null, to: string | null) => string[];
|
|
52
52
|
toString: () => string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
-
const require_dom_query = require("../../dom-query-
|
|
3
|
+
const require_dom_query = require("../../dom-query-Bd63cRVF.cjs");
|
|
4
4
|
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
-
const require_core = require("../../core-
|
|
5
|
+
const require_core = require("../../core-nBg9RC_y.cjs");
|
|
6
6
|
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
7
7
|
//#region src/machines/accordion/accordion.anatomy.ts
|
|
8
8
|
const anatomy = require_create_anatomy.createAnatomy("accordion").parts("root", "item", "itemTrigger", "itemContent", "itemIndicator");
|