@sprawlify/primitives 0.0.49 → 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-CtFDy7SM.mjs → auto-resize-BVL59TP4.mjs} +8 -4
- package/dist/{auto-resize-BfMmYbZ2.cjs → auto-resize-CzaVlUmQ.cjs} +8 -4
- package/dist/auto-resize.cjs +2 -2
- package/dist/auto-resize.mjs +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/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 +1 -1
- package/dist/machines/combobox/index.d.mts +1 -1
- 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.d.cts +1 -1
- package/dist/machines/image-cropper/index.d.mts +1 -1
- package/dist/machines/image-cropper/index.mjs +2 -2
- package/dist/machines/listbox/index.cjs +3 -3
- package/dist/machines/listbox/index.d.cts +1 -1
- package/dist/machines/listbox/index.d.mts +1 -1
- package/dist/machines/listbox/index.mjs +3 -3
- package/dist/machines/marquee/index.cjs +2 -2
- package/dist/machines/marquee/index.d.cts +1 -1
- package/dist/machines/marquee/index.d.mts +1 -1
- 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.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.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 +5 -5
- package/dist/machines/select/index.d.cts +1 -1
- package/dist/machines/select/index.d.mts +1 -1
- 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/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
|
@@ -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, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/tabs/tabs.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "indicator" | "content" | "list">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/tabs/tabs.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQ
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/tabs/tabs.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "indicator" | "content" | "list">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/tabs/tabs.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 { C as queryAll, L as clickIfLink, St as isOpeningInNewTab, W as raf, Y as getFocusables, Zt as contains, b as nextById, ht as isComposingEvent, m as resizeObserverBorderBox, on as isAnchorElement, pt as getEventTarget, ut as getEventKey, x as prevById, y as itemById, yn as dataAttr, zt as isSafari } from "../../dom-query-BwpPRIas.mjs";
|
|
3
3
|
import { H as toPx, W as callAll, ft as isEqual, u as createSplitProps, vt as first, wt as last } from "../../utils-DSBXwmDm.mjs";
|
|
4
|
-
import { o as setup } from "../../core-
|
|
4
|
+
import { o as setup } from "../../core-BjksCLhs.mjs";
|
|
5
5
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/tabs/tabs.anatomy.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
|
|
2
|
-
const require_dom_query = require('../../dom-query-
|
|
3
|
-
const require_auto_resize = require('../../auto-resize-
|
|
2
|
+
const require_dom_query = require('../../dom-query-ClqjTSZC.cjs');
|
|
3
|
+
const require_auto_resize = require('../../auto-resize-CzaVlUmQ.cjs');
|
|
4
4
|
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
5
|
-
const require_core = require('../../core-
|
|
6
|
-
const require_interact_outside = require('../../interact-outside-
|
|
5
|
+
const require_core = require('../../core-NCx2blZX.cjs');
|
|
6
|
+
const require_interact_outside = require('../../interact-outside-D28zeFXP.cjs');
|
|
7
7
|
const require_live_region = require('../../live-region-2RiuzOr-.cjs');
|
|
8
8
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
9
9
|
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
5
5
|
import { t as LiveRegion } from "../../index-Owca7uxB.cjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/tags-input/tags-input.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"root" | "control" | "input" | "label" | "item" | "itemText" | "clearTrigger" | "itemDeleteTrigger" | "itemInput" | "itemPreview">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/tags-input/tags-input.types.d.ts
|
|
11
11
|
interface ValueChangeDetails {
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
5
5
|
import { t as LiveRegion } from "../../index-CygfPLvT.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/tags-input/tags-input.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"root" | "control" | "input" | "label" | "item" | "itemText" | "clearTrigger" | "itemDeleteTrigger" | "itemInput" | "itemPreview">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/tags-input/tags-input.types.d.ts
|
|
11
11
|
interface ValueChangeDetails {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { n as autoResizeInput } from "../../auto-resize-
|
|
2
|
+
import { C as queryAll, W as raf, Zt as contains, b as nextById, bn as isCaretAtStart, bt as isLeftClick, ht as isComposingEvent, it as dispatchInputValueEvent, mt as getNativeEvent, ot as setElementValue, st as trackFormControl, ut as getEventKey, v as indexOfId, vn as ariaAttr, x as prevById, yn as dataAttr } from "../../dom-query-BwpPRIas.mjs";
|
|
3
|
+
import { n as autoResizeInput } from "../../auto-resize-BVL59TP4.mjs";
|
|
4
4
|
import { Nt as uniq, ft as isEqual, i as warn, jt as removeAt, u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
5
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
6
|
-
import { t as trackInteractOutside } from "../../interact-outside-
|
|
5
|
+
import { a as createMachine, i as createGuards } from "../../core-BjksCLhs.mjs";
|
|
6
|
+
import { t as trackInteractOutside } from "../../interact-outside-C0yB--HG.mjs";
|
|
7
7
|
import { t as createLiveRegion } from "../../live-region-BcSdQIM8.mjs";
|
|
8
8
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
|
|
2
|
-
require('../../dom-query-
|
|
2
|
+
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/timer/timer.anatomy.ts
|
|
@@ -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, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/timer/timer.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "control" | "item" | "area" | "itemValue" | "itemLabel" | "actionTrigger" | "separator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/timer/timer.types.d.ts
|
|
9
9
|
interface Time<T = number> {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQ
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/timer/timer.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "control" | "item" | "area" | "itemValue" | "itemLabel" | "actionTrigger" | "separator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/timer/timer.types.d.ts
|
|
9
9
|
interface Time<T = number> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import "../../dom-query-
|
|
2
|
+
import "../../dom-query-BwpPRIas.mjs";
|
|
3
3
|
import { Y as match, ct as isObject, g as clampValue, o as setRafInterval, s as setRafTimeout, u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
4
|
-
import { a as createMachine, s as memo } from "../../core-
|
|
4
|
+
import { a as createMachine, s as memo } from "../../core-BjksCLhs.mjs";
|
|
5
5
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/timer/timer.anatomy.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
5
|
-
require('../../interact-outside-
|
|
6
|
-
const require_dismissable = require('../../dismissable-
|
|
4
|
+
const require_core = require('../../core-NCx2blZX.cjs');
|
|
5
|
+
require('../../interact-outside-D28zeFXP.cjs');
|
|
6
|
+
const require_dismissable = require('../../dismissable-BADVbumR.cjs');
|
|
7
7
|
|
|
8
8
|
//#region src/machines/toast/toast.anatomy.ts
|
|
9
9
|
const anatomy = require_create_anatomy.createAnatomy("toast").parts("group", "root", "title", "description", "actionTrigger", "closeTrigger");
|
|
@@ -176,7 +176,7 @@ interface ToastApi<T extends PropTypes = PropTypes, O = any> {
|
|
|
176
176
|
declare function groupConnect<T extends PropTypes, O = any>(service: Service<ToastGroupSchema>, normalize: NormalizeProps<T>): ToastGroupApi<T, O>;
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region src/machines/toast/toast.anatomy.d.ts
|
|
179
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
179
|
+
declare const anatomy: AnatomyInstance<"root" | "actionTrigger" | "title" | "group" | "description" | "closeTrigger">;
|
|
180
180
|
//#endregion
|
|
181
181
|
//#region src/machines/toast/toast.connect.d.ts
|
|
182
182
|
declare function connect<T extends PropTypes, O>(service: Service<ToastSchema<O>>, normalize: NormalizeProps<T>): ToastApi<T, O>;
|
|
@@ -176,7 +176,7 @@ interface ToastApi<T extends PropTypes = PropTypes, O = any> {
|
|
|
176
176
|
declare function groupConnect<T extends PropTypes, O = any>(service: Service<ToastGroupSchema>, normalize: NormalizeProps<T>): ToastGroupApi<T, O>;
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region src/machines/toast/toast.anatomy.d.ts
|
|
179
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
179
|
+
declare const anatomy: AnatomyInstance<"root" | "actionTrigger" | "title" | "group" | "description" | "closeTrigger">;
|
|
180
180
|
//#endregion
|
|
181
181
|
//#region src/machines/toast/toast.connect.d.ts
|
|
182
182
|
declare function connect<T extends PropTypes, O>(service: Service<ToastSchema<O>>, normalize: NormalizeProps<T>): ToastApi<T, O>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { V as AnimationFrame, W as raf, Zt as contains, _n as MAX_Z_INDEX, ct as addDomEvent, yn as dataAttr } from "../../dom-query-BwpPRIas.mjs";
|
|
3
3
|
import { Z as runIfFn, et as uuid, i as warn, l as compact, n as ensureProps, s as setRafTimeout } from "../../utils-DSBXwmDm.mjs";
|
|
4
|
-
import { a as createMachine$1, i as createGuards, o as setup } from "../../core-
|
|
5
|
-
import "../../interact-outside-
|
|
6
|
-
import { t as trackDismissableBranch } from "../../dismissable-
|
|
4
|
+
import { a as createMachine$1, i as createGuards, o as setup } from "../../core-BjksCLhs.mjs";
|
|
5
|
+
import "../../interact-outside-C0yB--HG.mjs";
|
|
6
|
+
import { t as trackDismissableBranch } from "../../dismissable-B3hx8STR.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/toast/toast.anatomy.ts
|
|
9
9
|
const anatomy = createAnatomy("toast").parts("group", "root", "title", "description", "actionTrigger", "closeTrigger");
|
|
@@ -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/toggle/toggle.anatomy.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { yn as dataAttr } from "../../dom-query-BwpPRIas.mjs";
|
|
3
3
|
import { 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 { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/toggle/toggle.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_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
6
6
|
|
|
7
7
|
//#region src/machines/toggle-group/toggle-group.anatomy.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { C as queryAll, W as raf, Zt as contains, b as nextById, pt as getEventTarget, ut as getEventKey, x as prevById, yn as dataAttr, zt as isSafari } from "../../dom-query-BwpPRIas.mjs";
|
|
3
3
|
import { ft as isEqual, mt as addOrRemove, n as ensureProps, nt as isArray, 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/toggle-group/toggle-group.anatomy.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
5
|
-
const require_focus_visible = require('../../focus-visible-
|
|
6
|
-
const require_popper = require('../../popper-
|
|
4
|
+
const require_core = require('../../core-NCx2blZX.cjs');
|
|
5
|
+
const require_focus_visible = require('../../focus-visible-BbOZu8QU.cjs');
|
|
6
|
+
const require_popper = require('../../popper-BwFBqHeN.cjs');
|
|
7
7
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
8
8
|
|
|
9
9
|
//#region src/machines/tooltip/tooltip.anatomy.ts
|
|
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
4
4
|
import { c as Placement, d as PositioningOptions } from "../../types-D5ziaMrd.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/tooltip/tooltip.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"trigger" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "arrow" | "positioner" | "arrowTip">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/tooltip/tooltip.types.d.ts
|
|
10
10
|
interface OpenChangeDetails {
|
|
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
4
4
|
import { p as PositioningOptions, u as Placement } from "../../index-BTi1wETB.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/tooltip/tooltip.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"trigger" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "arrow" | "positioner" | "arrowTip">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/tooltip/tooltip.types.d.ts
|
|
10
10
|
interface OpenChangeDetails {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { M as getOverflowAncestors, bt as isLeftClick, ct as addDomEvent, ht as isComposingEvent, yn as dataAttr } from "../../dom-query-BwpPRIas.mjs";
|
|
3
3
|
import { c as createStore, u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
4
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
5
|
-
import { a as trackFocusVisible, n as isFocusVisible } from "../../focus-visible-
|
|
6
|
-
import { n as getPlacement, t as getPlacementStyles } from "../../popper-
|
|
4
|
+
import { a as createMachine, i as createGuards } from "../../core-BjksCLhs.mjs";
|
|
5
|
+
import { a as trackFocusVisible, n as isFocusVisible } from "../../focus-visible-3pja4Mga.mjs";
|
|
6
|
+
import { n as getPlacement, t as getPlacementStyles } from "../../popper-C6DOG0y6.mjs";
|
|
7
7
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/machines/tooltip/tooltip.anatomy.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
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-
|
|
5
|
-
const require_interact_outside = require('../../interact-outside-
|
|
6
|
-
const require_dismissable = require('../../dismissable-
|
|
7
|
-
const require_focus_trap = require('../../focus-trap-
|
|
8
|
-
const require_popper = require('../../popper-
|
|
4
|
+
const require_core = require('../../core-NCx2blZX.cjs');
|
|
5
|
+
const require_interact_outside = require('../../interact-outside-D28zeFXP.cjs');
|
|
6
|
+
const require_dismissable = require('../../dismissable-BADVbumR.cjs');
|
|
7
|
+
const require_focus_trap = require('../../focus-trap-CH_5ucTD.cjs');
|
|
8
|
+
const require_popper = require('../../popper-BwFBqHeN.cjs');
|
|
9
9
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
10
10
|
|
|
11
11
|
//#region src/machines/tour/tour.anatomy.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-smWrirg1.cjs";
|
|
2
2
|
import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu60O.cjs";
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
|
-
import { i as
|
|
4
|
+
import { i as waitForElement, n as WaitForOptions, o as waitForPromise, r as WaitForPromiseReturn } from "../../wait-for-ChpX25fU.cjs";
|
|
5
5
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-C9-feK5c.cjs";
|
|
6
6
|
import { c as Placement } from "../../types-D5ziaMrd.cjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tour/tour.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"
|
|
9
|
+
declare const anatomy: AnatomyInstance<"content" | "arrow" | "actionTrigger" | "positioner" | "arrowTip" | "title" | "progressText" | "description" | "closeTrigger" | "backdrop" | "spotlight">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/tour/utils/rect.d.ts
|
|
12
12
|
interface Point {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-DHVOqZET.mjs";
|
|
2
2
|
import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQk5.mjs";
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
4
|
-
import { i as
|
|
4
|
+
import { i as waitForElement, n as WaitForOptions, o as waitForPromise, r as WaitForPromiseReturn } from "../../wait-for-DxY1szJ6.mjs";
|
|
5
5
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-Bvn6ocEE.mjs";
|
|
6
6
|
import { u as Placement } from "../../index-BTi1wETB.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tour/tour.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"
|
|
9
|
+
declare const anatomy: AnatomyInstance<"content" | "arrow" | "actionTrigger" | "positioner" | "arrowTip" | "title" | "progressText" | "description" | "closeTrigger" | "backdrop" | "spotlight">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/tour/utils/rect.d.ts
|
|
12
12
|
interface Point {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { W as raf, Xt as getComputedStyle$1, Zt as contains, in as getWindow, r as waitForPromise, t as waitForElement, un as isHTMLElement, yn as dataAttr } from "../../dom-query-BwpPRIas.mjs";
|
|
3
3
|
import { Et as nextIndex, dt as isString, ft as isEqual, i as warn, kt as prevIndex, u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
4
|
-
import { a as createMachine, c as mergeProps, i as createGuards } from "../../core-
|
|
5
|
-
import { t as trackInteractOutside } from "../../interact-outside-
|
|
6
|
-
import { t as trackDismissableBranch } from "../../dismissable-
|
|
7
|
-
import { t as trapFocus } from "../../focus-trap-
|
|
8
|
-
import { n as getPlacement, t as getPlacementStyles } from "../../popper-
|
|
4
|
+
import { a as createMachine, c as mergeProps, i as createGuards } from "../../core-BjksCLhs.mjs";
|
|
5
|
+
import { t as trackInteractOutside } from "../../interact-outside-C0yB--HG.mjs";
|
|
6
|
+
import { t as trackDismissableBranch } from "../../dismissable-B3hx8STR.mjs";
|
|
7
|
+
import { t as trapFocus } from "../../focus-trap-CbwLeNp4.mjs";
|
|
8
|
+
import { n as getPlacement, t as getPlacementStyles } from "../../popper-C6DOG0y6.mjs";
|
|
9
9
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/machines/tour/tour.anatomy.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
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
4
|
const require_collection = require('../../collection-C5tUixCe.cjs');
|
|
5
|
-
const require_core = require('../../core-
|
|
5
|
+
const require_core = require('../../core-NCx2blZX.cjs');
|
|
6
6
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tree-view/tree-view.anatomy.ts
|
|
@@ -6,7 +6,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
6
6
|
import { n as TypeaheadState } from "../../typeahead-BdNwVP09.cjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tree-view/tree-view.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
9
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemIndicator" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "itemText" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/tree-view/tree-view.collection.d.ts
|
|
12
12
|
declare const collection: {
|
|
@@ -6,7 +6,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
6
6
|
import { n as TypeaheadState } from "../../typeahead-DMSwLv1e.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tree-view/tree-view.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
9
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemIndicator" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "itemText" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/tree-view/tree-view.collection.d.ts
|
|
12
12
|
declare const collection: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { W as raf, bt as isLeftClick, cn as isEditableElement, ht as isComposingEvent, on as isAnchorElement, ot as setElementValue, pt as getEventTarget, s as getByTypeahead, ut as getEventKey, vn as ariaAttr, xt as isModifierKey, yn as dataAttr } from "../../dom-query-BwpPRIas.mjs";
|
|
3
3
|
import { At as remove, Dt as partition, Mt as toArray, Nt as uniq, _t as diff, ft as isEqual, mt as addOrRemove, nt as isArray, pt as add, t as ensure, u as createSplitProps, vt as first, wt as last } from "../../utils-DSBXwmDm.mjs";
|
|
4
4
|
import { n as filePathToTree, t as TreeCollection } from "../../collection-C85P2ZDW.mjs";
|
|
5
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
5
|
+
import { a as createMachine, i as createGuards } from "../../core-BjksCLhs.mjs";
|
|
6
6
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tree-view/tree-view.anatomy.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CbDLau6x.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
4
|
let _floating_ui_dom = require("@floating-ui/dom");
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { W as raf, Xt as getComputedStyle, in as getWindow, un as isHTMLElement } from "./dom-query-BwpPRIas.mjs";
|
|
2
2
|
import { X as noop, l as compact, ot as isNull } from "./utils-DSBXwmDm.mjs";
|
|
3
3
|
import { arrow, autoUpdate, computePosition, flip, hide, limitShift, offset, shift, size } from "@floating-ui/dom";
|
|
4
4
|
|
package/dist/popper.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_popper = require('./popper-
|
|
3
|
+
const require_popper = require('./popper-BwFBqHeN.cjs');
|
|
4
4
|
|
|
5
5
|
exports.getPlacement = require_popper.getPlacement;
|
|
6
6
|
exports.getPlacementSide = require_popper.getPlacementSide;
|
package/dist/popper.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./dom-query-
|
|
1
|
+
import "./dom-query-BwpPRIas.mjs";
|
|
2
2
|
import "./utils-DSBXwmDm.mjs";
|
|
3
|
-
import { i as isValidPlacement, n as getPlacement, r as getPlacementSide, t as getPlacementStyles } from "./popper-
|
|
3
|
+
import { i as isValidPlacement, n as getPlacement, r as getPlacementSide, t as getPlacementStyles } from "./popper-C6DOG0y6.mjs";
|
|
4
4
|
|
|
5
5
|
export { getPlacement, getPlacementSide, getPlacementStyles, isValidPlacement };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Lt as isIos, Xt as getComputedStyle, d as setStyleProperty, u as setStyle } from "./dom-query-BwpPRIas.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/remove-scroll/index.ts
|
|
4
4
|
const LOCK_CLASSNAME = "data-scroll-lock";
|
package/dist/scroll-snap.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require('./dom-query-
|
|
2
|
-
const require_scroll_snap = require('./scroll-snap-
|
|
1
|
+
require('./dom-query-ClqjTSZC.cjs');
|
|
2
|
+
const require_scroll_snap = require('./scroll-snap-D2Ao0kC_.cjs');
|
|
3
3
|
|
|
4
4
|
exports.findSnapPoint = require_scroll_snap.findSnapPoint;
|
|
5
5
|
exports.getScrollSnapPositions = require_scroll_snap.getScrollSnapPositions;
|
package/dist/scroll-snap.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./dom-query-
|
|
2
|
-
import { i as getSnapPositions, n as getScrollSnapPositions, r as getSnapPointTarget, t as findSnapPoint } from "./scroll-snap-
|
|
1
|
+
import "./dom-query-BwpPRIas.mjs";
|
|
2
|
+
import { i as getSnapPositions, n as getScrollSnapPositions, r as getSnapPointTarget, t as findSnapPoint } from "./scroll-snap-qgiu8AOd.mjs";
|
|
3
3
|
|
|
4
4
|
export { findSnapPoint, getScrollSnapPositions, getSnapPointTarget, getSnapPositions };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/shared/dom-query/wait-for.d.ts
|
|
2
|
+
interface WaitForOptions {
|
|
3
|
+
timeout: number;
|
|
4
|
+
rootNode?: Document | ShadowRoot | undefined;
|
|
5
|
+
}
|
|
6
|
+
type WaitForPromiseReturn<T> = [Promise<T>, () => void];
|
|
7
|
+
declare function waitForPromise<T>(promise: Promise<T>, controller: AbortController, timeout: number): WaitForPromiseReturn<T>;
|
|
8
|
+
declare function waitForElement(target: () => HTMLElement | null, options: WaitForOptions): WaitForPromiseReturn<HTMLElement>;
|
|
9
|
+
type WaitForEventReturn<K extends keyof HTMLElementEventMap> = [Promise<HTMLElementEventMap[K]>, VoidFunction];
|
|
10
|
+
interface WaitForEventOptions<T extends HTMLElement = HTMLElement> extends AddEventListenerOptions {
|
|
11
|
+
predicate?: (element: T) => boolean;
|
|
12
|
+
}
|
|
13
|
+
declare function waitForEvent<T extends HTMLElement = HTMLElement, K extends keyof HTMLElementEventMap = keyof HTMLElementEventMap>(target: (() => HTMLElement | null) | undefined, event: K, options?: WaitForEventOptions<T>): WaitForEventReturn<K>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { waitForEvent as a, waitForElement as i, WaitForOptions as n, waitForPromise as o, WaitForPromiseReturn as r, WaitForEventOptions as t };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/shared/dom-query/wait-for.d.ts
|
|
2
|
+
interface WaitForOptions {
|
|
3
|
+
timeout: number;
|
|
4
|
+
rootNode?: Document | ShadowRoot | undefined;
|
|
5
|
+
}
|
|
6
|
+
type WaitForPromiseReturn<T> = [Promise<T>, () => void];
|
|
7
|
+
declare function waitForPromise<T>(promise: Promise<T>, controller: AbortController, timeout: number): WaitForPromiseReturn<T>;
|
|
8
|
+
declare function waitForElement(target: () => HTMLElement | null, options: WaitForOptions): WaitForPromiseReturn<HTMLElement>;
|
|
9
|
+
type WaitForEventReturn<K extends keyof HTMLElementEventMap> = [Promise<HTMLElementEventMap[K]>, VoidFunction];
|
|
10
|
+
interface WaitForEventOptions<T extends HTMLElement = HTMLElement> extends AddEventListenerOptions {
|
|
11
|
+
predicate?: (element: T) => boolean;
|
|
12
|
+
}
|
|
13
|
+
declare function waitForEvent<T extends HTMLElement = HTMLElement, K extends keyof HTMLElementEventMap = keyof HTMLElementEventMap>(target: (() => HTMLElement | null) | undefined, event: K, options?: WaitForEventOptions<T>): WaitForEventReturn<K>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { waitForEvent as a, waitForElement as i, WaitForOptions as n, waitForPromise as o, WaitForPromiseReturn as r, WaitForEventOptions as t };
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
//#region src/shared/dom-query/wait-for.d.ts
|
|
2
|
-
interface WaitForOptions {
|
|
3
|
-
timeout: number;
|
|
4
|
-
rootNode?: Document | ShadowRoot | undefined;
|
|
5
|
-
}
|
|
6
|
-
type WaitForPromiseReturn<T> = [Promise<T>, () => void];
|
|
7
|
-
declare function waitForPromise<T>(promise: Promise<T>, controller: AbortController, timeout: number): WaitForPromiseReturn<T>;
|
|
8
|
-
declare function waitForElement(target: () => HTMLElement | null, options: WaitForOptions): WaitForPromiseReturn<HTMLElement>;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { waitForPromise as i, WaitForPromiseReturn as n, waitForElement as r, WaitForOptions as t };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
//#region src/shared/dom-query/wait-for.d.ts
|
|
2
|
-
interface WaitForOptions {
|
|
3
|
-
timeout: number;
|
|
4
|
-
rootNode?: Document | ShadowRoot | undefined;
|
|
5
|
-
}
|
|
6
|
-
type WaitForPromiseReturn<T> = [Promise<T>, () => void];
|
|
7
|
-
declare function waitForPromise<T>(promise: Promise<T>, controller: AbortController, timeout: number): WaitForPromiseReturn<T>;
|
|
8
|
-
declare function waitForElement(target: () => HTMLElement | null, options: WaitForOptions): WaitForPromiseReturn<HTMLElement>;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { waitForPromise as i, WaitForPromiseReturn as n, waitForElement as r, WaitForOptions as t };
|