@sprawlify/primitives 0.0.50 → 0.0.52
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-C85P2ZDW.mjs → collection-CjwZd09Z.mjs} +7 -1
- package/dist/{collection-C5tUixCe.cjs → collection-Q52RkxUe.cjs} +7 -1
- package/dist/collection.cjs +1 -1
- package/dist/collection.d.cts +1 -1
- package/dist/collection.d.mts +1 -1
- package/dist/collection.mjs +1 -1
- 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/date-utils.d.mts +1 -1
- 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/{index-BqhWpjZh.d.mts → index-ExuT65LJ.d.mts} +5 -5
- 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 +6 -6
- package/dist/machines/combobox/index.d.cts +1 -1
- package/dist/machines/combobox/index.d.mts +1 -1
- package/dist/machines/combobox/index.mjs +6 -6
- 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 +2 -2
- 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.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 +4 -4
- package/dist/machines/listbox/index.d.cts +1 -1
- package/dist/machines/listbox/index.d.mts +1 -1
- package/dist/machines/listbox/index.mjs +4 -4
- 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.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.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 +6 -6
- package/dist/machines/select/index.d.cts +1 -1
- package/dist/machines/select/index.d.mts +1 -1
- package/dist/machines/select/index.mjs +6 -6
- package/dist/machines/signature-pad/index.cjs +2 -2
- package/dist/machines/signature-pad/index.mjs +2 -2
- package/dist/machines/slider/index.cjs +2 -2
- package/dist/machines/slider/index.d.cts +1 -1
- package/dist/machines/slider/index.d.mts +1 -1
- package/dist/machines/slider/index.mjs +2 -2
- package/dist/machines/splitter/index.cjs +2 -2
- package/dist/machines/splitter/index.d.cts +1 -1
- package/dist/machines/splitter/index.d.mts +1 -1
- 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 +13 -8
- package/dist/machines/tree-view/index.d.cts +2 -2
- package/dist/machines/tree-view/index.d.mts +2 -2
- package/dist/machines/tree-view/index.mjs +13 -8
- 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/{tree-collection-Dlv1BAsc.d.cts → tree-collection-CmehimuO.d.cts} +1 -1
- package/dist/{tree-collection-DYIVkVee.d.mts → tree-collection-CqXQBHwY.d.mts} +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,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 { N as isValueWithinRange, bt as fromLength, 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/steps/steps.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
|
-
const require_core = require('../../core-
|
|
5
|
-
const require_focus_visible = require('../../focus-visible-
|
|
4
|
+
const require_core = require('../../core-NCx2blZX.cjs');
|
|
5
|
+
const require_focus_visible = require('../../focus-visible-BbOZu8QU.cjs');
|
|
6
6
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
7
7
|
|
|
8
8
|
//#region src/machines/switch/switch.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, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/switch/switch.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "thumb" | "control">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/switch/switch.types.d.ts
|
|
9
9
|
interface CheckedChangeDetails {
|
|
@@ -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/switch/switch.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "thumb" | "control">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/switch/switch.types.d.ts
|
|
9
9
|
interface CheckedChangeDetails {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { T as trackPress, a as visuallyHiddenStyle, at as setElementChecked, pt as getEventTarget, rt as dispatchInputCheckedEvent, st as trackFormControl, yn as dataAttr, zt as isSafari } from "../../dom-query-BwpPRIas.mjs";
|
|
3
3
|
import { 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-
|
|
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
6
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/switch/switch.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/tabs/tabs.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, 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" | "list" | "trigger" | "content" | "indicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/tabs/tabs.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-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" | "list" | "trigger" | "content" | "indicator">;
|
|
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" | "label" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "item" | "itemText" | "clearTrigger" | "itemPreview" | "itemDeleteTrigger" | "itemInput">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/tags-input/tags-input.types.d.ts
|
|
11
11
|
interface ValueChangeDetails {
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
5
5
|
import { t as LiveRegion } from "../../index-CygfPLvT.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/tags-input/tags-input.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "item" | "itemText" | "clearTrigger" | "itemPreview" | "itemDeleteTrigger" | "itemInput">;
|
|
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" | "area" | "item" | "itemLabel" | "itemValue" | "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" | "area" | "item" | "itemLabel" | "itemValue" | "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" | "title" | "
|
|
179
|
+
declare const anatomy: AnatomyInstance<"root" | "title" | "actionTrigger" | "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" | "title" | "
|
|
179
|
+
declare const anatomy: AnatomyInstance<"root" | "title" | "actionTrigger" | "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<"
|
|
7
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "arrow" | "arrowTip" | "positioner">;
|
|
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<"
|
|
7
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "arrow" | "arrowTip" | "positioner">;
|
|
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<"content" | "title" | "
|
|
9
|
+
declare const anatomy: AnatomyInstance<"content" | "title" | "actionTrigger" | "arrow" | "description" | "closeTrigger" | "arrowTip" | "positioner" | "progressText" | "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<"content" | "title" | "
|
|
9
|
+
declare const anatomy: AnatomyInstance<"content" | "title" | "actionTrigger" | "arrow" | "description" | "closeTrigger" | "arrowTip" | "positioner" | "progressText" | "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
|
-
const require_collection = require('../../collection-
|
|
5
|
-
const require_core = require('../../core-
|
|
4
|
+
const require_collection = require('../../collection-Q52RkxUe.cjs');
|
|
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
|
|
@@ -76,18 +76,21 @@ function connect(service, normalize) {
|
|
|
76
76
|
const focusedValue = context.get("focusedValue");
|
|
77
77
|
const loadingStatus = context.get("loadingStatus");
|
|
78
78
|
const renamingValue = context.get("renamingValue");
|
|
79
|
+
const skip = ({ indexPath }) => {
|
|
80
|
+
return collection$1.getValuePath(indexPath).slice(0, -1).some((value) => !expandedValue.includes(value));
|
|
81
|
+
};
|
|
82
|
+
const firstNode = collection$1.getFirstNode(void 0, { skip });
|
|
83
|
+
const firstNodeValue = firstNode ? collection$1.getNodeValue(firstNode) : null;
|
|
79
84
|
function getNodeState(props$1) {
|
|
80
85
|
const { node, indexPath } = props$1;
|
|
81
86
|
const value = collection$1.getNodeValue(node);
|
|
82
|
-
const firstNode = collection$1.getFirstNode();
|
|
83
|
-
const firstNodeValue = firstNode ? collection$1.getNodeValue(firstNode) : null;
|
|
84
87
|
return {
|
|
85
88
|
id: getNodeId(scope, value),
|
|
86
89
|
value,
|
|
87
90
|
indexPath,
|
|
88
91
|
valuePath: collection$1.getValuePath(indexPath),
|
|
89
92
|
disabled: Boolean(node.disabled),
|
|
90
|
-
focused: focusedValue == null ? firstNodeValue
|
|
93
|
+
focused: focusedValue == null ? firstNodeValue === value : focusedValue === value,
|
|
91
94
|
selected: selectedValue.includes(value),
|
|
92
95
|
expanded: expandedValue.includes(value),
|
|
93
96
|
loading: loadingStatus[value] === "loading",
|
|
@@ -971,7 +974,8 @@ const machine = require_core.createMachine({
|
|
|
971
974
|
focusTreeFirstNode(params) {
|
|
972
975
|
const { prop, scope } = params;
|
|
973
976
|
const collection$1 = prop("collection");
|
|
974
|
-
const firstNode = collection$1.getFirstNode();
|
|
977
|
+
const firstNode = collection$1.getFirstNode(void 0, { skip: skipFn(params) });
|
|
978
|
+
if (!firstNode) return;
|
|
975
979
|
const firstValue = collection$1.getNodeValue(firstNode);
|
|
976
980
|
if (scrollToNode(params, firstValue)) require_dom_query.raf(() => focusNode(scope, firstValue));
|
|
977
981
|
else focusNode(scope, firstValue);
|
|
@@ -988,7 +992,8 @@ const machine = require_core.createMachine({
|
|
|
988
992
|
const { event, prop, scope } = params;
|
|
989
993
|
const collection$1 = prop("collection");
|
|
990
994
|
const branchNode = collection$1.findNode(event.id);
|
|
991
|
-
const firstNode = collection$1.getFirstNode(branchNode);
|
|
995
|
+
const firstNode = collection$1.getFirstNode(branchNode, { skip: skipFn(params) });
|
|
996
|
+
if (!firstNode) return;
|
|
992
997
|
const firstValue = collection$1.getNodeValue(firstNode);
|
|
993
998
|
if (scrollToNode(params, firstValue)) require_dom_query.raf(() => focusNode(scope, firstValue));
|
|
994
999
|
else focusNode(scope, firstValue);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-smWrirg1.cjs";
|
|
2
2
|
import { f as TreeCollectionOptions, g as ValuePath, p as TreeNode, s as FilePathTreeNode, u as IndexPath } from "../../types-CADkcKtr.cjs";
|
|
3
|
-
import { t as TreeCollection } from "../../tree-collection-
|
|
3
|
+
import { t as TreeCollection } from "../../tree-collection-CmehimuO.cjs";
|
|
4
4
|
import { p as Machine, y as Service } from "../../types-DejIu60O.cjs";
|
|
5
5
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
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" | "label" | "item" | "itemText" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "
|
|
9
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemText" | "itemIndicator" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/tree-view/tree-view.collection.d.ts
|
|
12
12
|
declare const collection: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-DHVOqZET.mjs";
|
|
2
2
|
import { f as TreeCollectionOptions, g as ValuePath, p as TreeNode, s as FilePathTreeNode, u as IndexPath } from "../../types-Df8ZhdY-.mjs";
|
|
3
|
-
import { t as TreeCollection } from "../../tree-collection-
|
|
3
|
+
import { t as TreeCollection } from "../../tree-collection-CqXQBHwY.mjs";
|
|
4
4
|
import { p as Machine, y as Service } from "../../types-DL5AIQk5.mjs";
|
|
5
5
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
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" | "label" | "item" | "itemText" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "
|
|
9
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemText" | "itemIndicator" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "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
|
-
import { n as filePathToTree, t as TreeCollection } from "../../collection-
|
|
5
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
4
|
+
import { n as filePathToTree, t as TreeCollection } from "../../collection-CjwZd09Z.mjs";
|
|
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
|
|
@@ -76,18 +76,21 @@ function connect(service, normalize) {
|
|
|
76
76
|
const focusedValue = context.get("focusedValue");
|
|
77
77
|
const loadingStatus = context.get("loadingStatus");
|
|
78
78
|
const renamingValue = context.get("renamingValue");
|
|
79
|
+
const skip = ({ indexPath }) => {
|
|
80
|
+
return collection$1.getValuePath(indexPath).slice(0, -1).some((value) => !expandedValue.includes(value));
|
|
81
|
+
};
|
|
82
|
+
const firstNode = collection$1.getFirstNode(void 0, { skip });
|
|
83
|
+
const firstNodeValue = firstNode ? collection$1.getNodeValue(firstNode) : null;
|
|
79
84
|
function getNodeState(props$1) {
|
|
80
85
|
const { node, indexPath } = props$1;
|
|
81
86
|
const value = collection$1.getNodeValue(node);
|
|
82
|
-
const firstNode = collection$1.getFirstNode();
|
|
83
|
-
const firstNodeValue = firstNode ? collection$1.getNodeValue(firstNode) : null;
|
|
84
87
|
return {
|
|
85
88
|
id: getNodeId(scope, value),
|
|
86
89
|
value,
|
|
87
90
|
indexPath,
|
|
88
91
|
valuePath: collection$1.getValuePath(indexPath),
|
|
89
92
|
disabled: Boolean(node.disabled),
|
|
90
|
-
focused: focusedValue == null ? firstNodeValue
|
|
93
|
+
focused: focusedValue == null ? firstNodeValue === value : focusedValue === value,
|
|
91
94
|
selected: selectedValue.includes(value),
|
|
92
95
|
expanded: expandedValue.includes(value),
|
|
93
96
|
loading: loadingStatus[value] === "loading",
|
|
@@ -971,7 +974,8 @@ const machine = createMachine({
|
|
|
971
974
|
focusTreeFirstNode(params) {
|
|
972
975
|
const { prop, scope } = params;
|
|
973
976
|
const collection$1 = prop("collection");
|
|
974
|
-
const firstNode = collection$1.getFirstNode();
|
|
977
|
+
const firstNode = collection$1.getFirstNode(void 0, { skip: skipFn(params) });
|
|
978
|
+
if (!firstNode) return;
|
|
975
979
|
const firstValue = collection$1.getNodeValue(firstNode);
|
|
976
980
|
if (scrollToNode(params, firstValue)) raf(() => focusNode(scope, firstValue));
|
|
977
981
|
else focusNode(scope, firstValue);
|
|
@@ -988,7 +992,8 @@ const machine = createMachine({
|
|
|
988
992
|
const { event, prop, scope } = params;
|
|
989
993
|
const collection$1 = prop("collection");
|
|
990
994
|
const branchNode = collection$1.findNode(event.id);
|
|
991
|
-
const firstNode = collection$1.getFirstNode(branchNode);
|
|
995
|
+
const firstNode = collection$1.getFirstNode(branchNode, { skip: skipFn(params) });
|
|
996
|
+
if (!firstNode) return;
|
|
992
997
|
const firstValue = collection$1.getNodeValue(firstNode);
|
|
993
998
|
if (scrollToNode(params, firstValue)) raf(() => focusNode(scope, firstValue));
|
|
994
999
|
else focusNode(scope, firstValue);
|
|
@@ -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
|
|