@sprawlify/primitives 0.0.50 → 0.0.51
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-Dsgzcqqs.mjs → aria-hidden-CEBzyx-2.mjs} +1 -1
- package/dist/{aria-hidden-Qw_HHlVH.cjs → aria-hidden-CZ_i-44_.cjs} +1 -1
- package/dist/aria-hidden.cjs +2 -2
- package/dist/aria-hidden.mjs +2 -2
- package/dist/{auto-resize-DpTFFzr4.mjs → auto-resize-BVL59TP4.mjs} +1 -1
- package/dist/{auto-resize-B2_UkyPG.cjs → auto-resize-CzaVlUmQ.cjs} +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-CDOTMAS_.mjs → core-BjksCLhs.mjs} +1 -1
- package/dist/{core-BdTUDxaE.cjs → core-NCx2blZX.cjs} +1 -1
- package/dist/core.cjs +2 -2
- package/dist/core.mjs +2 -2
- package/dist/{dismissable-CWN_cpDT.mjs → dismissable-B3hx8STR.mjs} +2 -2
- package/dist/{dismissable-Chb3G5-M.cjs → dismissable-BADVbumR.cjs} +2 -2
- package/dist/dismissable.cjs +3 -3
- package/dist/dismissable.mjs +3 -3
- package/dist/{dom-query-lSknXAK2.mjs → dom-query-BwpPRIas.mjs} +17 -1
- package/dist/{dom-query-Cw3Vjazl.cjs → dom-query-ClqjTSZC.cjs} +22 -0
- package/dist/dom-query.cjs +2 -1
- package/dist/dom-query.d.cts +2 -2
- package/dist/dom-query.d.mts +2 -2
- package/dist/dom-query.mjs +2 -2
- package/dist/{focus-trap-ROjmlZib.cjs → focus-trap-CH_5ucTD.cjs} +1 -1
- package/dist/{focus-trap-pQ6X3hbA.mjs → focus-trap-CbwLeNp4.mjs} +1 -1
- package/dist/focus-trap.cjs +2 -2
- package/dist/focus-trap.mjs +2 -2
- package/dist/{focus-visible-BV5-b3O7.mjs → focus-visible-3pja4Mga.mjs} +1 -1
- package/dist/{focus-visible-BtxmnYG0.cjs → focus-visible-BbOZu8QU.cjs} +1 -1
- package/dist/focus-visible.cjs +2 -2
- package/dist/focus-visible.mjs +2 -2
- package/dist/{i18n-utils-BAcKqrRM.mjs → i18n-utils-CSCl08Vd.mjs} +1 -1
- package/dist/{i18n-utils-DZrroJom.cjs → i18n-utils-D9RUw2tK.cjs} +1 -1
- package/dist/i18n-utils.cjs +2 -2
- package/dist/i18n-utils.mjs +2 -2
- package/dist/{interact-outside-C60P6JkZ.mjs → interact-outside-C0yB--HG.mjs} +1 -1
- package/dist/{interact-outside-C1SI9b6g.cjs → interact-outside-D28zeFXP.cjs} +1 -1
- package/dist/interact-outside.cjs +2 -2
- package/dist/interact-outside.mjs +2 -2
- package/dist/{list-collection-CTt1eong.d.mts → list-collection-BbgocToA.d.mts} +1 -1
- package/dist/{list-collection-BvMwDNHf.d.cts → list-collection-DettiQL3.d.cts} +1 -1
- package/dist/machines/accordion/index.cjs +2 -2
- 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/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/checkbox/index.cjs +3 -3
- package/dist/machines/checkbox/index.d.cts +1 -1
- package/dist/machines/checkbox/index.d.mts +1 -1
- 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 +5 -5
- 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 +5 -5
- 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/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/menu/index.cjs +5 -5
- package/dist/machines/menu/index.d.cts +1 -1
- package/dist/machines/menu/index.d.mts +1 -1
- package/dist/machines/menu/index.mjs +5 -5
- 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.d.cts +1 -1
- package/dist/machines/pagination/index.d.mts +1 -1
- package/dist/machines/pagination/index.mjs +2 -2
- package/dist/machines/password-input/index.cjs +2 -2
- package/dist/machines/password-input/index.d.cts +1 -1
- package/dist/machines/password-input/index.d.mts +1 -1
- package/dist/machines/password-input/index.mjs +2 -2
- package/dist/machines/pin-input/index.cjs +2 -2
- package/dist/machines/pin-input/index.d.cts +1 -1
- package/dist/machines/pin-input/index.d.mts +1 -1
- 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.mjs +2 -2
- package/dist/machines/select/index.cjs +5 -5
- package/dist/machines/select/index.d.cts +2 -2
- package/dist/machines/select/index.d.mts +2 -2
- package/dist/machines/select/index.mjs +5 -5
- package/dist/machines/signature-pad/index.cjs +2 -2
- package/dist/machines/signature-pad/index.d.cts +1 -1
- package/dist/machines/signature-pad/index.d.mts +1 -1
- 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.d.cts +1 -1
- package/dist/machines/switch/index.d.mts +1 -1
- 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 +2 -2
- package/dist/machines/tour/index.d.mts +2 -2
- 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-DpxOCdXo.cjs → popper-BwFBqHeN.cjs} +1 -1
- package/dist/{popper-CjF4zHDX.mjs → popper-C6DOG0y6.mjs} +1 -1
- package/dist/popper.cjs +2 -2
- package/dist/popper.mjs +2 -2
- package/dist/{remove-scroll-CrGSKwL7.mjs → remove-scroll-Dj2rN8ST.mjs} +1 -1
- package/dist/{remove-scroll-CgRTMz8o.cjs → remove-scroll-w6rI9a_g.cjs} +1 -1
- package/dist/{scroll-snap-DsiS0MS6.cjs → scroll-snap-D2Ao0kC_.cjs} +1 -1
- package/dist/{scroll-snap-DMFCl42o.mjs → scroll-snap-qgiu8AOd.mjs} +1 -1
- package/dist/scroll-snap.cjs +2 -2
- package/dist/scroll-snap.mjs +2 -2
- package/dist/{selection-JDFmyke7.d.mts → selection-CTaapzrB.d.mts} +1 -1
- package/dist/{selection-vng1guNc.d.cts → selection-D3b3yV_x.d.cts} +1 -1
- package/dist/wait-for-ChpX25fU.d.cts +15 -0
- package/dist/wait-for-DxY1szJ6.d.mts +15 -0
- package/package.json +1 -1
- package/dist/wait-for-BkzY39R9.d.mts +0 -10
- package/dist/wait-for-CMjPsqWk.d.cts +0 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ut as findControlledElements, un as isHTMLElement } from "./dom-query-BwpPRIas.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/aria-hidden/walk-tree-outside.ts
|
|
4
4
|
let counterMap = /* @__PURE__ */ new WeakMap();
|
package/dist/aria-hidden.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require('./dom-query-
|
|
2
|
-
const require_aria_hidden = require('./aria-hidden-
|
|
1
|
+
require('./dom-query-ClqjTSZC.cjs');
|
|
2
|
+
const require_aria_hidden = require('./aria-hidden-CZ_i-44_.cjs');
|
|
3
3
|
|
|
4
4
|
exports.ariaHidden = require_aria_hidden.ariaHidden;
|
package/dist/aria-hidden.mjs
CHANGED
package/dist/auto-resize.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require('./dom-query-
|
|
2
|
-
const require_auto_resize = require('./auto-resize-
|
|
1
|
+
require('./dom-query-ClqjTSZC.cjs');
|
|
2
|
+
const require_auto_resize = require('./auto-resize-CzaVlUmQ.cjs');
|
|
3
3
|
|
|
4
4
|
exports.autoResizeInput = require_auto_resize.autoResizeInput;
|
|
5
5
|
exports.autoresizeTextarea = require_auto_resize.autoresizeTextarea;
|
package/dist/auto-resize.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./dom-query-
|
|
2
|
-
import { n as autoResizeInput, t as autoresizeTextarea } from "./auto-resize-
|
|
1
|
+
import "./dom-query-BwpPRIas.mjs";
|
|
2
|
+
import { n as autoResizeInput, t as autoresizeTextarea } from "./auto-resize-BVL59TP4.mjs";
|
|
3
3
|
|
|
4
4
|
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-CADkcKtr.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-DettiQL3.cjs";
|
|
3
|
+
import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-D3b3yV_x.cjs";
|
|
4
4
|
import { n as filePathToTree, r as flattenedToTree, t as TreeCollection } from "./tree-collection-Dlv1BAsc.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-Df8ZhdY-.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-BbgocToA.mjs";
|
|
3
|
+
import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-CTaapzrB.mjs";
|
|
4
4
|
import { n as filePathToTree, r as flattenedToTree, t as TreeCollection } from "./tree-collection-DYIVkVee.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 { $t as getDocument, Qt as getActiveElement, an as isActiveElement } from "./dom-query-BwpPRIas.mjs";
|
|
2
2
|
import { W as callAll, dt as isString, ft as isEqual } from "./utils-DSBXwmDm.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/core/merge-props.ts
|
package/dist/core.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
require('./dom-query-
|
|
1
|
+
require('./dom-query-ClqjTSZC.cjs');
|
|
2
2
|
require('./utils-B4_qn2dt.cjs');
|
|
3
|
-
const require_core = require('./core-
|
|
3
|
+
const require_core = require('./core-NCx2blZX.cjs');
|
|
4
4
|
|
|
5
5
|
exports.INIT_STATE = require_core.INIT_STATE;
|
|
6
6
|
exports.MachineStatus = require_core.MachineStatus;
|
package/dist/core.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./dom-query-
|
|
1
|
+
import "./dom-query-BwpPRIas.mjs";
|
|
2
2
|
import "./utils-DSBXwmDm.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-BjksCLhs.mjs";
|
|
4
4
|
|
|
5
5
|
export { INIT_STATE, MachineStatus, createGuards, createMachine, createScope, memo, mergeProps, setup };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $t as getDocument, W as raf, Zt as contains, ct as addDomEvent, pt as getEventTarget, t as waitForElement, u as setStyle, un as isHTMLElement } from "./dom-query-BwpPRIas.mjs";
|
|
2
2
|
import { at as isFunction, i as warn } from "./utils-DSBXwmDm.mjs";
|
|
3
|
-
import { t as trackInteractOutside } from "./interact-outside-
|
|
3
|
+
import { t as trackInteractOutside } from "./interact-outside-C0yB--HG.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/shared/dismissable/escape-keydown.ts
|
|
6
6
|
function trackEscapeKeydown(node, fn) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_dom_query = require('./dom-query-
|
|
1
|
+
const require_dom_query = require('./dom-query-ClqjTSZC.cjs');
|
|
2
2
|
const require_utils = require('./utils-B4_qn2dt.cjs');
|
|
3
|
-
const require_interact_outside = require('./interact-outside-
|
|
3
|
+
const require_interact_outside = require('./interact-outside-D28zeFXP.cjs');
|
|
4
4
|
|
|
5
5
|
//#region src/shared/dismissable/escape-keydown.ts
|
|
6
6
|
function trackEscapeKeydown(node, fn) {
|
package/dist/dismissable.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
require('./dom-query-
|
|
1
|
+
require('./dom-query-ClqjTSZC.cjs');
|
|
2
2
|
require('./utils-B4_qn2dt.cjs');
|
|
3
|
-
require('./interact-outside-
|
|
4
|
-
const require_dismissable = require('./dismissable-
|
|
3
|
+
require('./interact-outside-D28zeFXP.cjs');
|
|
4
|
+
const require_dismissable = require('./dismissable-BADVbumR.cjs');
|
|
5
5
|
|
|
6
6
|
exports.trackDismissableBranch = require_dismissable.trackDismissableBranch;
|
|
7
7
|
exports.trackDismissableElement = require_dismissable.trackDismissableElement;
|
package/dist/dismissable.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./dom-query-
|
|
1
|
+
import "./dom-query-BwpPRIas.mjs";
|
|
2
2
|
import "./utils-DSBXwmDm.mjs";
|
|
3
|
-
import "./interact-outside-
|
|
4
|
-
import { n as trackDismissableElement, t as trackDismissableBranch } from "./dismissable-
|
|
3
|
+
import "./interact-outside-C0yB--HG.mjs";
|
|
4
|
+
import { n as trackDismissableElement, t as trackDismissableBranch } from "./dismissable-B3hx8STR.mjs";
|
|
5
5
|
|
|
6
6
|
export { trackDismissableBranch, trackDismissableElement };
|
|
@@ -1376,6 +1376,22 @@ function waitForElement(target, options) {
|
|
|
1376
1376
|
});
|
|
1377
1377
|
}), controller, timeout);
|
|
1378
1378
|
}
|
|
1379
|
+
function waitForEvent(target, event, options) {
|
|
1380
|
+
let cleanup;
|
|
1381
|
+
const { predicate, ...listenerOptions } = options ?? {};
|
|
1382
|
+
return [new Promise((resolve) => {
|
|
1383
|
+
const element = target?.();
|
|
1384
|
+
if (!element) return;
|
|
1385
|
+
const handler = (e) => {
|
|
1386
|
+
if (!predicate || predicate(element)) {
|
|
1387
|
+
resolve(e);
|
|
1388
|
+
cleanup?.();
|
|
1389
|
+
}
|
|
1390
|
+
};
|
|
1391
|
+
element.addEventListener(event, handler, listenerOptions);
|
|
1392
|
+
cleanup = () => element.removeEventListener(event, handler, listenerOptions);
|
|
1393
|
+
}), () => cleanup?.()];
|
|
1394
|
+
}
|
|
1379
1395
|
|
|
1380
1396
|
//#endregion
|
|
1381
|
-
export {
|
|
1397
|
+
export { getTabbableEdges as $, getDocument as $t, getRelativePoint as A, isAndroid as At, observeChildren as B, isTouchDevice as Bt, queryAll as C, isPrintableKey as Ct, disableTextSelection as D, isVirtualPointerEvent as Dt, trackPointerMove as E, isVirtualClick as Et, isOverflowElement as F, isIPad as Ft, getInitialFocus as G, hasControllerElements as Gt, nextTick as H, getDataUrl as Ht, scrollIntoView as I, isIPhone as It, getFirstTabbable as J, isControllerElement as Jt, isValidTabEvent as K, isControlledByExpandedController as Kt, clickIfLink as L, isIos as Lt, getOverflowAncestors as M, isChrome as Mt, getScrollPosition as N, isDom as Nt, restoreTextSelection as O, getPlatform as Ot, isInView as P, isFirefox as Pt, getTabIndex as Q, getActiveElement as Qt, navigate as R, isMac as Rt, query as S, isOpeningInNewTab as St, trackPress as T, isTouchEvent as Tt, queueBeforeEvent as U, findControlledElements as Ut, AnimationFrame as V, isWebKit as Vt, raf as W, getControlledElements as Wt, getLastTabbable as X, getComputedStyle as Xt, getFocusables as Y, isInteractiveContainerElement as Yt, getNextTabbable as Z, contains as Zt, defaultItemToId as _, MAX_Z_INDEX as _n, isCtrlOrMetaKey as _t, visuallyHiddenStyle as a, isActiveElement as an, setElementChecked as at, nextById as b, isCaretAtStart as bn, isLeftClick as bt, setAttribute as c, isEditableElement as cn, addDomEvent as ct, setStyleProperty as d, isInputElement as dn, getEventPoint as dt, getDocumentElement as en, getTabbables as et, getByText as f, isNode as fn, getEventStep as ft, resizeObserverDevicePixelContentBox as g, isWindow as gn, isContextMenuEvent as gt, resizeObserverContentBox as h, isVisualViewport as hn, isComposingEvent as ht, setVisuallyHidden as i, getWindow as in, dispatchInputValueEvent as it, getNearestOverflowAncestor as j, isApple as jt, requestPointerLock as k, getUserAgent as kt, setProperty as l, isElementVisible as ln, getBeforeInputValue as lt, resizeObserverBorderBox as m, isShadowRoot as mn, getNativeEvent as mt, waitForEvent as n, getParentNode as nn, isTabbable as nt, trackVisualViewport as o, isAnchorElement as on, setElementValue as ot, createScope as p, isRootElement as pn, getEventTarget as pt, getFirstFocusable as q, isControlledElement as qt, waitForPromise as r, getRootNode as rn, dispatchInputCheckedEvent as rt, getByTypeahead as s, isDocument as sn, trackFormControl as st, waitForElement as t, getNodeName as tn, isFocusable as tt, setStyle as u, isHTMLElement as un, getEventKey as ut, indexOfId as v, ariaAttr as vn, isDownloadingEvent as vt, proxyTabFocus as w, isSelfTarget as wt, prevById as x, setCaretToEnd as xn, isModifierKey as xt, itemById as y, dataAttr as yn, isKeyboardClick as yt, observeAttributes as z, isSafari as zt };
|
|
@@ -1376,6 +1376,22 @@ function waitForElement(target, options) {
|
|
|
1376
1376
|
});
|
|
1377
1377
|
}), controller, timeout);
|
|
1378
1378
|
}
|
|
1379
|
+
function waitForEvent(target, event, options) {
|
|
1380
|
+
let cleanup;
|
|
1381
|
+
const { predicate, ...listenerOptions } = options ?? {};
|
|
1382
|
+
return [new Promise((resolve) => {
|
|
1383
|
+
const element = target?.();
|
|
1384
|
+
if (!element) return;
|
|
1385
|
+
const handler = (e) => {
|
|
1386
|
+
if (!predicate || predicate(element)) {
|
|
1387
|
+
resolve(e);
|
|
1388
|
+
cleanup?.();
|
|
1389
|
+
}
|
|
1390
|
+
};
|
|
1391
|
+
element.addEventListener(event, handler, listenerOptions);
|
|
1392
|
+
cleanup = () => element.removeEventListener(event, handler, listenerOptions);
|
|
1393
|
+
}), () => cleanup?.()];
|
|
1394
|
+
}
|
|
1379
1395
|
|
|
1380
1396
|
//#endregion
|
|
1381
1397
|
Object.defineProperty(exports, 'AnimationFrame', {
|
|
@@ -2140,6 +2156,12 @@ Object.defineProperty(exports, 'waitForElement', {
|
|
|
2140
2156
|
return waitForElement;
|
|
2141
2157
|
}
|
|
2142
2158
|
});
|
|
2159
|
+
Object.defineProperty(exports, 'waitForEvent', {
|
|
2160
|
+
enumerable: true,
|
|
2161
|
+
get: function () {
|
|
2162
|
+
return waitForEvent;
|
|
2163
|
+
}
|
|
2164
|
+
});
|
|
2143
2165
|
Object.defineProperty(exports, 'waitForPromise', {
|
|
2144
2166
|
enumerable: true,
|
|
2145
2167
|
get: function () {
|
package/dist/dom-query.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_dom_query = require('./dom-query-
|
|
1
|
+
const require_dom_query = require('./dom-query-ClqjTSZC.cjs');
|
|
2
2
|
|
|
3
3
|
exports.AnimationFrame = require_dom_query.AnimationFrame;
|
|
4
4
|
exports.MAX_Z_INDEX = require_dom_query.MAX_Z_INDEX;
|
|
@@ -127,4 +127,5 @@ exports.trackPress = require_dom_query.trackPress;
|
|
|
127
127
|
exports.trackVisualViewport = require_dom_query.trackVisualViewport;
|
|
128
128
|
exports.visuallyHiddenStyle = require_dom_query.visuallyHiddenStyle;
|
|
129
129
|
exports.waitForElement = require_dom_query.waitForElement;
|
|
130
|
+
exports.waitForEvent = require_dom_query.waitForEvent;
|
|
130
131
|
exports.waitForPromise = require_dom_query.waitForPromise;
|
package/dist/dom-query.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ import { C as JSX, c as MaybeFn, u as Nullable } from "./index-Bqw3r34-.cjs";
|
|
|
3
3
|
import { _ as isRootElement, a as getNodeName, b as isWindow, c as getWindow, d as isDocument, f as isEditableElement, g as isNode, h as isInputElement, i as getDocumentElement, l as isActiveElement, m as isHTMLElement, n as getActiveElement, o as getParentNode, p as isElementVisible, r as getDocument, s as getRootNode, t as contains, u as isAnchorElement, v as isShadowRoot, y as isVisualViewport } from "./node-CSsuPZVZ.cjs";
|
|
4
4
|
import { a as getByText, c as indexOfId, d as prevById, f as query, i as SearchableItem, l as itemById, n as TypeaheadState, o as ItemToId, p as queryAll, r as getByTypeahead, s as defaultItemToId, t as TypeaheadOptions, u as nextById } from "./typeahead-BdNwVP09.cjs";
|
|
5
5
|
import { i as raf, n as nextTick, r as queueBeforeEvent, t as AnimationFrame } from "./raf-Cd2FGy0z.cjs";
|
|
6
|
-
import { i as
|
|
6
|
+
import { a as waitForEvent, i as waitForElement, n as WaitForOptions, o as waitForPromise, r as WaitForPromiseReturn, t as WaitForEventOptions } from "./wait-for-ChpX25fU.cjs";
|
|
7
7
|
|
|
8
8
|
//#region src/shared/dom-query/caret.d.ts
|
|
9
9
|
declare function isCaretAtStart(input: HTMLInputElement | HTMLTextAreaElement | null): boolean;
|
|
@@ -304,4 +304,4 @@ declare const visuallyHiddenStyle: {
|
|
|
304
304
|
};
|
|
305
305
|
declare function setVisuallyHidden(el: HTMLElement): void;
|
|
306
306
|
//#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, 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, waitForPromise };
|
|
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 };
|
package/dist/dom-query.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { C as JSX, c as MaybeFn, u as Nullable } from "./index-BuUzJjaP.mjs";
|
|
|
3
3
|
import { _ as isRootElement, a as getNodeName, b as isWindow, c as getWindow, d as isDocument, f as isEditableElement, g as isNode, h as isInputElement, i as getDocumentElement, l as isActiveElement, m as isHTMLElement, n as getActiveElement, o as getParentNode, p as isElementVisible, r as getDocument, s as getRootNode, t as contains, u as isAnchorElement, v as isShadowRoot, y as isVisualViewport } from "./node-CHGS3acf.mjs";
|
|
4
4
|
import { a as getByText, c as indexOfId, d as prevById, f as query, i as SearchableItem, l as itemById, n as TypeaheadState, o as ItemToId, p as queryAll, r as getByTypeahead, s as defaultItemToId, t as TypeaheadOptions, u as nextById } from "./typeahead-DMSwLv1e.mjs";
|
|
5
5
|
import { i as raf, n as nextTick, r as queueBeforeEvent, t as AnimationFrame } from "./raf-BV1049GE.mjs";
|
|
6
|
-
import { i as
|
|
6
|
+
import { a as waitForEvent, i as waitForElement, n as WaitForOptions, o as waitForPromise, r as WaitForPromiseReturn, t as WaitForEventOptions } from "./wait-for-DxY1szJ6.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/shared/dom-query/caret.d.ts
|
|
9
9
|
declare function isCaretAtStart(input: HTMLInputElement | HTMLTextAreaElement | null): boolean;
|
|
@@ -304,4 +304,4 @@ declare const visuallyHiddenStyle: {
|
|
|
304
304
|
};
|
|
305
305
|
declare function setVisuallyHidden(el: HTMLElement): void;
|
|
306
306
|
//#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, 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, waitForPromise };
|
|
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 };
|
package/dist/dom-query.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as getTabbableEdges, $t as getDocument, A as getRelativePoint, At as isAndroid, B as observeChildren, Bt as isTouchDevice, C as queryAll, Ct as isPrintableKey, D as disableTextSelection, Dt as isVirtualPointerEvent, E as trackPointerMove, Et as isVirtualClick, F as isOverflowElement, Ft as isIPad, G as getInitialFocus, Gt as hasControllerElements, H as nextTick, Ht as getDataUrl, I as scrollIntoView, It as isIPhone, J as getFirstTabbable, Jt as isControllerElement, K as isValidTabEvent, Kt as isControlledByExpandedController, L as clickIfLink, Lt as isIos, M as getOverflowAncestors, Mt as isChrome, N as getScrollPosition, Nt as isDom, O as restoreTextSelection, Ot as getPlatform, P as isInView, Pt as isFirefox, Q as getTabIndex, Qt as getActiveElement, R as navigate, Rt as isMac, S as query, St as isOpeningInNewTab, T as trackPress, Tt as isTouchEvent, U as queueBeforeEvent, Ut as findControlledElements, V as AnimationFrame, Vt as isWebKit, W as raf, Wt as getControlledElements, X as getLastTabbable, Xt as getComputedStyle, Y as getFocusables, Yt as isInteractiveContainerElement, Z as getNextTabbable, Zt as contains, _ as defaultItemToId, _n as MAX_Z_INDEX, _t as isCtrlOrMetaKey, a as visuallyHiddenStyle, an as isActiveElement, at as setElementChecked, b as nextById, bn as isCaretAtStart, bt as isLeftClick, c as setAttribute, cn as isEditableElement, ct as addDomEvent, d as setStyleProperty, dn as isInputElement, dt as getEventPoint, en as getDocumentElement, et as getTabbables, f as getByText, fn as isNode, ft as getEventStep, g as resizeObserverDevicePixelContentBox, gn as isWindow, gt as isContextMenuEvent, h as resizeObserverContentBox, hn as isVisualViewport, ht as isComposingEvent, i as setVisuallyHidden, in as getWindow, it as dispatchInputValueEvent, j as getNearestOverflowAncestor, jt as isApple, k as requestPointerLock, kt as getUserAgent, l as setProperty, ln as isElementVisible, lt as getBeforeInputValue, m as resizeObserverBorderBox, mn as isShadowRoot, mt as getNativeEvent, n as waitForEvent, nn as getParentNode, nt as isTabbable, o as trackVisualViewport, on as isAnchorElement, ot as setElementValue, p as createScope, pn as isRootElement, pt as getEventTarget, q as getFirstFocusable, qt as isControlledElement, r as waitForPromise, rn as getRootNode, rt as dispatchInputCheckedEvent, s as getByTypeahead, sn as isDocument, st as trackFormControl, t as waitForElement, tn as getNodeName, tt as isFocusable, u as setStyle, un as isHTMLElement, ut as getEventKey, v as indexOfId, vn as ariaAttr, vt as isDownloadingEvent, w as proxyTabFocus, wt as isSelfTarget, x as prevById, xn as setCaretToEnd, xt as isModifierKey, y as itemById, yn as dataAttr, yt as isKeyboardClick, z as observeAttributes, zt as isSafari } from "./dom-query-BwpPRIas.mjs";
|
|
2
2
|
|
|
3
|
-
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, waitForPromise };
|
|
3
|
+
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,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $t as getDocument, Gt as hasControllerElements, Kt as isControlledByExpandedController, Q as getTabIndex, Qt as getActiveElement, W as raf, Wt as getControlledElements, Y as getFocusables, ct as addDomEvent, et as getTabbables, nt as isTabbable, pt as getEventTarget, qt as isControlledElement, sn as isDocument, tt as isFocusable } from "./dom-query-BwpPRIas.mjs";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-bTDhmYM0.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/focus-trap/focus-trap.ts
|
package/dist/focus-trap.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require('./dom-query-
|
|
2
|
-
const require_focus_trap = require('./focus-trap-
|
|
1
|
+
require('./dom-query-ClqjTSZC.cjs');
|
|
2
|
+
const require_focus_trap = require('./focus-trap-CH_5ucTD.cjs');
|
|
3
3
|
|
|
4
4
|
exports.FocusTrap = require_focus_trap.FocusTrap;
|
|
5
5
|
exports.trapFocus = require_focus_trap.trapFocus;
|
package/dist/focus-trap.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $t as getDocument, Et as isVirtualClick, Rt as isMac, in as getWindow, pt as getEventTarget } from "./dom-query-BwpPRIas.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/focus-visible/index.ts
|
|
4
4
|
function isValidKey(e) {
|
package/dist/focus-visible.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require('./dom-query-
|
|
2
|
-
const require_focus_visible = require('./focus-visible-
|
|
1
|
+
require('./dom-query-ClqjTSZC.cjs');
|
|
2
|
+
const require_focus_visible = require('./focus-visible-BbOZu8QU.cjs');
|
|
3
3
|
|
|
4
4
|
exports.getInteractionModality = require_focus_visible.getInteractionModality;
|
|
5
5
|
exports.isFocusVisible = require_focus_visible.isFocusVisible;
|
package/dist/focus-visible.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-BwpPRIas.mjs";
|
|
2
|
+
import { a as trackFocusVisible, i as setInteractionModality, n as isFocusVisible, o as trackInteractionModality, r as listenerMap, t as getInteractionModality } from "./focus-visible-3pja4Mga.mjs";
|
|
3
3
|
|
|
4
4
|
export { getInteractionModality, isFocusVisible, listenerMap, setInteractionModality, trackFocusVisible, trackInteractionModality };
|
package/dist/i18n-utils.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require('./dom-query-
|
|
2
|
-
const require_i18n_utils = require('./i18n-utils-
|
|
1
|
+
require('./dom-query-ClqjTSZC.cjs');
|
|
2
|
+
const require_i18n_utils = require('./i18n-utils-D9RUw2tK.cjs');
|
|
3
3
|
|
|
4
4
|
exports.createCollator = require_i18n_utils.createCollator;
|
|
5
5
|
exports.createFilter = require_i18n_utils.createFilter;
|
package/dist/i18n-utils.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./dom-query-
|
|
2
|
-
import { a as formatRelativeTime, c as formatBytes, d as createCollator, i as isRTL, l as formatNumber, n as getDefaultLocale, o as formatList, r as getLocaleDir, s as formatDate, t as trackLocale, u as createFilter } from "./i18n-utils-
|
|
1
|
+
import "./dom-query-BwpPRIas.mjs";
|
|
2
|
+
import { a as formatRelativeTime, c as formatBytes, d as createCollator, i as isRTL, l as formatNumber, n as getDefaultLocale, o as formatList, r as getLocaleDir, s as formatDate, t as trackLocale, u as createFilter } from "./i18n-utils-CSCl08Vd.mjs";
|
|
3
3
|
|
|
4
4
|
export { createCollator, createFilter, formatBytes, formatDate, formatList, formatNumber, formatRelativeTime, getDefaultLocale, getLocaleDir, isRTL, trackLocale };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $t as getDocument, Bt as isTouchDevice, W as raf, Zt as contains, ct as addDomEvent, gt as isContextMenuEvent, in as getWindow, j as getNearestOverflowAncestor, mn as isShadowRoot, pt as getEventTarget, qt as isControlledElement, tt as isFocusable, un as isHTMLElement } from "./dom-query-BwpPRIas.mjs";
|
|
2
2
|
import { W as callAll } from "./utils-DSBXwmDm.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/interact-outside/frame-utils.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require('./dom-query-
|
|
1
|
+
require('./dom-query-ClqjTSZC.cjs');
|
|
2
2
|
require('./utils-B4_qn2dt.cjs');
|
|
3
|
-
const require_interact_outside = require('./interact-outside-
|
|
3
|
+
const require_interact_outside = require('./interact-outside-D28zeFXP.cjs');
|
|
4
4
|
|
|
5
5
|
exports.trackInteractOutside = require_interact_outside.trackInteractOutside;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./dom-query-
|
|
1
|
+
import "./dom-query-BwpPRIas.mjs";
|
|
2
2
|
import "./utils-DSBXwmDm.mjs";
|
|
3
|
-
import { t as trackInteractOutside } from "./interact-outside-
|
|
3
|
+
import { t as trackInteractOutside } from "./interact-outside-C0yB--HG.mjs";
|
|
4
4
|
|
|
5
5
|
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) =>
|
|
49
|
+
compareValue: (a: string, b: string) => 1 | -1 | 0;
|
|
50
50
|
private range;
|
|
51
51
|
getValueRange: (from: string | null, to: string | null) => string[];
|
|
52
52
|
toString: () => string;
|
|
@@ -46,7 +46,7 @@ declare class ListCollection<T extends CollectionItem = CollectionItem> {
|
|
|
46
46
|
moveBefore: (value: string, ...values: string[]) => ListCollection<T>;
|
|
47
47
|
moveAfter: (value: string, ...values: string[]) => ListCollection<T>;
|
|
48
48
|
reorder: (fromIndex: number, toIndex: number) => ListCollection<T>;
|
|
49
|
-
compareValue: (a: string, b: string) =>
|
|
49
|
+
compareValue: (a: string, b: string) => 1 | -1 | 0;
|
|
50
50
|
private range;
|
|
51
51
|
getValueRange: (from: string | null, to: string | null) => string[];
|
|
52
52
|
toString: () => string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
|
|
2
|
-
const require_dom_query = require('../../dom-query-
|
|
2
|
+
const require_dom_query = require('../../dom-query-ClqjTSZC.cjs');
|
|
3
3
|
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
|
-
const require_core = require('../../core-
|
|
4
|
+
const require_core = require('../../core-NCx2blZX.cjs');
|
|
5
5
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
6
6
|
|
|
7
7
|
//#region src/machines/accordion/accordion.anatomy.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { C as queryAll, b as nextById, ut as getEventKey, x as prevById, yn as dataAttr, zt as isSafari } from "../../dom-query-BwpPRIas.mjs";
|
|
3
3
|
import { At as remove, i as warn, pt as add, u as createSplitProps, vt as first, wt as last } from "../../utils-DSBXwmDm.mjs";
|
|
4
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
4
|
+
import { a as createMachine, i as createGuards } from "../../core-BjksCLhs.mjs";
|
|
5
5
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/accordion/accordion.anatomy.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
|
|
2
|
-
const require_dom_query = require('../../dom-query-
|
|
2
|
+
const require_dom_query = require('../../dom-query-ClqjTSZC.cjs');
|
|
3
3
|
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
|
-
const require_core = require('../../core-
|
|
4
|
+
const require_core = require('../../core-NCx2blZX.cjs');
|
|
5
5
|
const require_rect_utils = require('../../rect-utils-ChBPj9XR.cjs');
|
|
6
6
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
7
7
|
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu6
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/angle-slider/angle-slider.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "control" | "label" | "track" | "valueText" | "thumb" | "marker" | "markerGroup">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/angle-slider/angle-slider.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQ
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/angle-slider/angle-slider.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "control" | "label" | "track" | "valueText" | "thumb" | "marker" | "markerGroup">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/angle-slider/angle-slider.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { E as trackPointerMove, W as raf, bt as isLeftClick, dt as getEventPoint, ft as getEventStep, mt as getNativeEvent, ot as setElementValue, yn as dataAttr } from "../../dom-query-BwpPRIas.mjs";
|
|
3
3
|
import { B as snapValueToStep, u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
4
|
-
import { a as createMachine } from "../../core-
|
|
4
|
+
import { a as createMachine } from "../../core-BjksCLhs.mjs";
|
|
5
5
|
import { R as createRect, q as getPointAngle } from "../../rect-utils-CDBAit19.mjs";
|
|
6
6
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
require('../../dom-query-
|
|
1
|
+
require('../../dom-query-ClqjTSZC.cjs');
|
|
2
2
|
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
3
|
-
const require_core = require('../../core-
|
|
3
|
+
const require_core = require('../../core-NCx2blZX.cjs');
|
|
4
4
|
|
|
5
5
|
//#region src/machines/async-list/async-list.connect.ts
|
|
6
6
|
function connect(service) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../dom-query-
|
|
1
|
+
import "../../dom-query-BwpPRIas.mjs";
|
|
2
2
|
import { n as ensureProps, t as ensure } from "../../utils-DSBXwmDm.mjs";
|
|
3
|
-
import { a as createMachine } from "../../core-
|
|
3
|
+
import { a as createMachine } from "../../core-BjksCLhs.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/async-list/async-list.connect.ts
|
|
6
6
|
function connect(service) {
|