@sprawlify/primitives 0.0.35 → 0.0.37
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-DSdN9ih2.cjs → aria-hidden-BvgZzsAL.cjs} +1 -1
- package/dist/{aria-hidden-Bq1drpzH.mjs → aria-hidden-wBl-ydCt.mjs} +1 -1
- package/dist/aria-hidden.cjs +2 -2
- package/dist/aria-hidden.mjs +2 -2
- package/dist/{auto-resize-Bh8HjZd5.cjs → auto-resize-CkKiwQYL.cjs} +1 -1
- package/dist/{auto-resize-DLuF3IFp.mjs → auto-resize-DVZTqSCn.mjs} +1 -1
- package/dist/auto-resize.cjs +2 -2
- package/dist/auto-resize.mjs +2 -2
- package/dist/{collection-C26svdLV.cjs → collection-C5tUixCe.cjs} +2 -2
- package/dist/{collection-CIpGDBdt.mjs → collection-C85P2ZDW.mjs} +2 -2
- package/dist/collection.cjs +2 -2
- package/dist/collection.mjs +2 -2
- package/dist/{color-utils-DGt9e4DC.mjs → color-utils-BUIU6o8a.mjs} +2 -2
- package/dist/{color-utils-ZGUFwZHm.cjs → color-utils-CLAICiIG.cjs} +2 -2
- package/dist/color-utils.cjs +2 -2
- package/dist/color-utils.mjs +2 -2
- package/dist/{core-BXoiGBfo.cjs → core-BKy77dr-.cjs} +2 -2
- package/dist/{core-BLrKf6Qi.mjs → core-C5T2xAtS.mjs} +2 -2
- package/dist/core.cjs +3 -3
- package/dist/core.mjs +3 -3
- package/dist/date-utils.d.cts +5 -5
- package/dist/{defineProperty-Bzw41Glr.mjs → defineProperty-bTDhmYM0.mjs} +4 -4
- package/dist/{defineProperty-CTuz_M0G.cjs → defineProperty-xA1FicUs.cjs} +4 -4
- package/dist/{dismissable-xKLesXM6.mjs → dismissable-DzGf_m8e.mjs} +3 -3
- package/dist/{dismissable-DAGPnT9O.cjs → dismissable-oSXyfI9I.cjs} +3 -3
- package/dist/dismissable.cjs +4 -4
- package/dist/dismissable.mjs +4 -4
- package/dist/{dom-query-BaSlGC4X.mjs → dom-query-CmBiBVLQ.mjs} +1 -1
- package/dist/{dom-query-fmUvyB3x.cjs → dom-query-sJjCgg-g.cjs} +1 -1
- package/dist/dom-query.cjs +1 -1
- package/dist/dom-query.mjs +1 -1
- package/dist/{focus-trap-9PNm7ZOS.cjs → focus-trap-BRP__9iJ.cjs} +2 -2
- package/dist/{focus-trap-zo20IBVh.mjs → focus-trap-C5OuWDZw.mjs} +2 -2
- package/dist/focus-trap.cjs +2 -2
- package/dist/focus-trap.mjs +2 -2
- package/dist/{focus-visible-BHSdwdWA.cjs → focus-visible-ZrhnzqqT.cjs} +1 -1
- package/dist/{focus-visible-D6iSwUgD.mjs → focus-visible-uWtBxami.mjs} +1 -1
- package/dist/focus-visible.cjs +2 -2
- package/dist/focus-visible.mjs +2 -2
- package/dist/hotkeys.cjs +1 -1
- package/dist/hotkeys.mjs +1 -1
- package/dist/{i18n-utils-DNxuEaJv.cjs → i18n-utils-35tI2sL_.cjs} +1 -1
- package/dist/{i18n-utils-BYlbN_An.mjs → i18n-utils-DsQpHwRE.mjs} +1 -1
- package/dist/i18n-utils.cjs +2 -2
- package/dist/i18n-utils.mjs +2 -2
- package/dist/{interact-outside-DkNMPOqV.mjs → interact-outside-DRtM9Nss.mjs} +2 -2
- package/dist/{interact-outside-DhVG9So9.cjs → interact-outside-mZW1FIf5.cjs} +2 -2
- package/dist/interact-outside.cjs +3 -3
- package/dist/interact-outside.mjs +3 -3
- package/dist/machines/accordion/index.cjs +3 -3
- package/dist/machines/accordion/index.d.cts +1 -1
- package/dist/machines/accordion/index.d.mts +1 -1
- package/dist/machines/accordion/index.mjs +3 -3
- package/dist/machines/angle-slider/index.cjs +4 -4
- 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 +4 -4
- package/dist/machines/async-list/index.cjs +3 -3
- package/dist/machines/async-list/index.mjs +3 -3
- package/dist/machines/avatar/index.cjs +3 -3
- package/dist/machines/avatar/index.mjs +3 -3
- package/dist/machines/bottom-sheet/index.cjs +9 -9
- 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 +9 -9
- package/dist/machines/carousel/index.cjs +4 -4
- package/dist/machines/carousel/index.d.cts +1 -1
- package/dist/machines/carousel/index.d.mts +1 -1
- package/dist/machines/carousel/index.mjs +4 -4
- package/dist/machines/checkbox/index.cjs +4 -4
- package/dist/machines/checkbox/index.d.cts +1 -1
- package/dist/machines/checkbox/index.d.mts +1 -1
- package/dist/machines/checkbox/index.mjs +4 -4
- package/dist/machines/clipboard/index.cjs +3 -3
- package/dist/machines/clipboard/index.d.cts +1 -1
- package/dist/machines/clipboard/index.d.mts +1 -1
- package/dist/machines/clipboard/index.mjs +3 -3
- package/dist/machines/collapsible/index.cjs +3 -3
- package/dist/machines/collapsible/index.mjs +3 -3
- package/dist/machines/color-picker/index.cjs +7 -7
- 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 +7 -7
- package/dist/machines/combobox/index.cjs +7 -7
- package/dist/machines/combobox/index.d.cts +1 -1
- package/dist/machines/combobox/index.d.mts +1 -1
- package/dist/machines/combobox/index.mjs +7 -7
- package/dist/machines/date-picker/index.cjs +6 -6
- 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 +6 -6
- package/dist/machines/dialog/index.cjs +8 -8
- package/dist/machines/dialog/index.d.cts +1 -1
- package/dist/machines/dialog/index.d.mts +1 -1
- package/dist/machines/dialog/index.mjs +8 -8
- package/dist/machines/editable/index.cjs +4 -4
- package/dist/machines/editable/index.d.cts +1 -1
- package/dist/machines/editable/index.d.mts +1 -1
- package/dist/machines/editable/index.mjs +4 -4
- package/dist/machines/file-upload/index.cjs +4 -4
- 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 +4 -4
- package/dist/machines/floating-panel/index.cjs +4 -4
- 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 +4 -4
- package/dist/machines/hover-card/index.cjs +6 -6
- 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 +6 -6
- package/dist/machines/image-cropper/index.cjs +3 -3
- package/dist/machines/image-cropper/index.mjs +3 -3
- package/dist/machines/listbox/index.cjs +5 -5
- package/dist/machines/listbox/index.d.cts +1 -1
- package/dist/machines/listbox/index.d.mts +1 -1
- package/dist/machines/listbox/index.mjs +5 -5
- package/dist/machines/marquee/index.cjs +3 -3
- package/dist/machines/marquee/index.d.cts +2 -2
- package/dist/machines/marquee/index.d.mts +2 -2
- package/dist/machines/marquee/index.mjs +3 -3
- package/dist/machines/menu/index.cjs +7 -7
- package/dist/machines/menu/index.d.cts +1 -1
- package/dist/machines/menu/index.d.mts +1 -1
- package/dist/machines/menu/index.mjs +7 -7
- package/dist/machines/navigation-menu/index.cjs +5 -5
- 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 +5 -5
- package/dist/machines/number-input/index.cjs +3 -3
- 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 +3 -3
- package/dist/machines/pagination/index.cjs +3 -3
- package/dist/machines/pagination/index.mjs +3 -3
- package/dist/machines/password-input/index.cjs +3 -3
- 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 +3 -3
- package/dist/machines/pin-input/index.cjs +3 -3
- 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 +3 -3
- package/dist/machines/popover/index.cjs +9 -9
- package/dist/machines/popover/index.d.cts +1 -1
- package/dist/machines/popover/index.d.mts +1 -1
- package/dist/machines/popover/index.mjs +9 -9
- package/dist/machines/presence/index.cjs +3 -3
- package/dist/machines/presence/index.mjs +3 -3
- package/dist/machines/progress/index.cjs +3 -3
- package/dist/machines/progress/index.d.cts +1 -1
- package/dist/machines/progress/index.d.mts +1 -1
- package/dist/machines/progress/index.mjs +3 -3
- package/dist/machines/qr-code/index.cjs +3 -3
- package/dist/machines/qr-code/index.mjs +3 -3
- package/dist/machines/radio-group/index.cjs +4 -4
- 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 +4 -4
- package/dist/machines/rating-group/index.cjs +3 -3
- 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 +3 -3
- package/dist/machines/scroll-area/index.cjs +4 -4
- package/dist/machines/scroll-area/index.mjs +4 -4
- package/dist/machines/select/index.cjs +7 -7
- package/dist/machines/select/index.d.cts +1 -1
- package/dist/machines/select/index.d.mts +1 -1
- package/dist/machines/select/index.mjs +7 -7
- package/dist/machines/signature-pad/index.cjs +3 -3
- 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 +3 -3
- package/dist/machines/slider/index.cjs +3 -3
- package/dist/machines/slider/index.d.cts +1 -1
- package/dist/machines/slider/index.d.mts +1 -1
- package/dist/machines/slider/index.mjs +3 -3
- package/dist/machines/splitter/index.cjs +3 -3
- package/dist/machines/splitter/index.d.cts +1 -1
- package/dist/machines/splitter/index.d.mts +1 -1
- package/dist/machines/splitter/index.mjs +3 -3
- package/dist/machines/steps/index.cjs +3 -3
- package/dist/machines/steps/index.d.cts +1 -1
- package/dist/machines/steps/index.d.mts +1 -1
- package/dist/machines/steps/index.mjs +3 -3
- package/dist/machines/switch/index.cjs +4 -4
- package/dist/machines/switch/index.d.cts +1 -1
- package/dist/machines/switch/index.d.mts +1 -1
- package/dist/machines/switch/index.mjs +4 -4
- package/dist/machines/tabs/index.cjs +3 -3
- package/dist/machines/tabs/index.d.cts +1 -1
- package/dist/machines/tabs/index.d.mts +1 -1
- package/dist/machines/tabs/index.mjs +3 -3
- package/dist/machines/tags-input/index.cjs +5 -5
- 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 +5 -5
- package/dist/machines/timer/index.cjs +3 -3
- package/dist/machines/timer/index.d.cts +1 -1
- package/dist/machines/timer/index.d.mts +1 -1
- package/dist/machines/timer/index.mjs +3 -3
- package/dist/machines/toast/index.cjs +5 -5
- package/dist/machines/toast/index.d.cts +1 -1
- package/dist/machines/toast/index.d.mts +1 -1
- package/dist/machines/toast/index.mjs +5 -5
- package/dist/machines/toggle/index.cjs +3 -3
- package/dist/machines/toggle/index.mjs +3 -3
- package/dist/machines/toggle-group/index.cjs +3 -3
- package/dist/machines/toggle-group/index.mjs +3 -3
- package/dist/machines/tooltip/index.cjs +26 -8
- package/dist/machines/tooltip/index.d.cts +1 -1
- package/dist/machines/tooltip/index.d.mts +1 -1
- package/dist/machines/tooltip/index.mjs +26 -8
- package/dist/machines/tour/index.cjs +7 -7
- package/dist/machines/tour/index.d.cts +1 -1
- package/dist/machines/tour/index.d.mts +1 -1
- package/dist/machines/tour/index.mjs +7 -7
- package/dist/machines/tree-view/index.cjs +4 -4
- 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 +4 -4
- package/dist/{popper-CasttusN.cjs → popper-CfnxH2_q.cjs} +2 -2
- package/dist/{popper-BN7E_8-R.mjs → popper-Ckr_W9Yk.mjs} +2 -2
- package/dist/popper.cjs +3 -3
- package/dist/popper.mjs +3 -3
- package/dist/{rect-utils-C6Nug-pt.mjs → rect-utils-CDBAit19.mjs} +1 -1
- package/dist/{rect-utils-C-9DRQNd.cjs → rect-utils-ChBPj9XR.cjs} +1 -1
- package/dist/rect-utils.cjs +1 -1
- package/dist/rect-utils.mjs +1 -1
- package/dist/{remove-scroll-BPLI9jr9.cjs → remove-scroll-CArAGldl.cjs} +1 -1
- package/dist/{remove-scroll-Btia-r68.mjs → remove-scroll-QEuUIozE.mjs} +1 -1
- package/dist/{scroll-snap-VzQ4ngQ4.cjs → scroll-snap-D3VaQ9z6.cjs} +1 -1
- package/dist/{scroll-snap-DY-Wmmhl.mjs → scroll-snap-wXfw6tha.mjs} +1 -1
- package/dist/scroll-snap.cjs +2 -2
- package/dist/scroll-snap.mjs +2 -2
- package/dist/{utils-CMs0714u.cjs → utils-B4_qn2dt.cjs} +5 -5
- package/dist/{utils-B_odTlcq.mjs → utils-DSBXwmDm.mjs} +5 -5
- package/dist/utils.cjs +1 -1
- package/dist/utils.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
|
|
2
|
-
const require_dom_query = require('../../dom-query-
|
|
3
|
-
const require_utils = require('../../utils-
|
|
4
|
-
const require_core = require('../../core-
|
|
2
|
+
const require_dom_query = require('../../dom-query-sJjCgg-g.cjs');
|
|
3
|
+
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
|
+
const require_core = require('../../core-BKy77dr-.cjs');
|
|
5
5
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
6
6
|
|
|
7
7
|
//#region src/machines/steps/steps.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/steps/steps.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "nextTrigger" | "prevTrigger" | "indicator" | "progress" | "list" | "trigger" | "separator" | "content">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/steps/steps.types.d.ts
|
|
9
9
|
interface StepChangeDetails {
|
|
@@ -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/steps/steps.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "nextTrigger" | "prevTrigger" | "indicator" | "progress" | "list" | "trigger" | "separator" | "content">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/steps/steps.types.d.ts
|
|
9
9
|
interface StepChangeDetails {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import { vn as dataAttr } from "../../dom-query-
|
|
3
|
-
import { N as isValueWithinRange, bt as fromLength, u as createSplitProps } from "../../utils-
|
|
4
|
-
import { a as createMachine, s as memo } from "../../core-
|
|
2
|
+
import { vn as dataAttr } from "../../dom-query-CmBiBVLQ.mjs";
|
|
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-C5T2xAtS.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-
|
|
3
|
-
const require_utils = require('../../utils-
|
|
4
|
-
const require_core = require('../../core-
|
|
5
|
-
const require_focus_visible = require('../../focus-visible-
|
|
2
|
+
const require_dom_query = require('../../dom-query-sJjCgg-g.cjs');
|
|
3
|
+
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
|
+
const require_core = require('../../core-BKy77dr-.cjs');
|
|
5
|
+
const require_focus_visible = require('../../focus-visible-ZrhnzqqT.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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "control" | "label" | "thumb">;
|
|
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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "control" | "label" | "thumb">;
|
|
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 { Rt as isSafari, ft as getEventTarget, i as visuallyHiddenStyle, it as setElementChecked, nt as dispatchInputCheckedEvent, ot as trackFormControl, vn as dataAttr, w as trackPress } from "../../dom-query-
|
|
3
|
-
import { u as createSplitProps } from "../../utils-
|
|
4
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
5
|
-
import { a as trackFocusVisible, n as isFocusVisible } from "../../focus-visible-
|
|
2
|
+
import { Rt as isSafari, ft as getEventTarget, i as visuallyHiddenStyle, it as setElementChecked, nt as dispatchInputCheckedEvent, ot as trackFormControl, vn as dataAttr, w as trackPress } from "../../dom-query-CmBiBVLQ.mjs";
|
|
3
|
+
import { u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
4
|
+
import { a as createMachine, i as createGuards } from "../../core-C5T2xAtS.mjs";
|
|
5
|
+
import { a as trackFocusVisible, n as isFocusVisible } from "../../focus-visible-uWtBxami.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-
|
|
3
|
-
const require_utils = require('../../utils-
|
|
4
|
-
const require_core = require('../../core-
|
|
2
|
+
const require_dom_query = require('../../dom-query-sJjCgg-g.cjs');
|
|
3
|
+
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
|
+
const require_core = require('../../core-BKy77dr-.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" | "indicator" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "indicator" | "list" | "trigger" | "content">;
|
|
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" | "indicator" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "indicator" | "list" | "trigger" | "content">;
|
|
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 { I as clickIfLink, J as getFocusables, Rt as isSafari, S as queryAll, U as raf, Xt as contains, an as isAnchorElement, b as prevById, ft as getEventTarget, lt as getEventKey, mt as isComposingEvent, p as resizeObserverBorderBox, v as itemById, vn as dataAttr, xt as isOpeningInNewTab, y as nextById } from "../../dom-query-
|
|
3
|
-
import { H as toPx, W as callAll, ft as isEqual, u as createSplitProps, vt as first, wt as last } from "../../utils-
|
|
4
|
-
import { o as setup } from "../../core-
|
|
2
|
+
import { I as clickIfLink, J as getFocusables, Rt as isSafari, S as queryAll, U as raf, Xt as contains, an as isAnchorElement, b as prevById, ft as getEventTarget, lt as getEventKey, mt as isComposingEvent, p as resizeObserverBorderBox, v as itemById, vn as dataAttr, xt as isOpeningInNewTab, y as nextById } from "../../dom-query-CmBiBVLQ.mjs";
|
|
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-C5T2xAtS.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-
|
|
4
|
-
const require_utils = require('../../utils-
|
|
5
|
-
const require_core = require('../../core-
|
|
6
|
-
const require_interact_outside = require('../../interact-outside-
|
|
2
|
+
const require_dom_query = require('../../dom-query-sJjCgg-g.cjs');
|
|
3
|
+
const require_auto_resize = require('../../auto-resize-CkKiwQYL.cjs');
|
|
4
|
+
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
5
|
+
const require_core = require('../../core-BKy77dr-.cjs');
|
|
6
|
+
const require_interact_outside = require('../../interact-outside-mZW1FIf5.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" | "item" | "control" | "input" | "label" | "clearTrigger" | "itemText" | "itemDeleteTrigger" | "itemPreview" | "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" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "control" | "input" | "label" | "clearTrigger" | "itemText" | "itemDeleteTrigger" | "itemPreview" | "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 { S as queryAll, U as raf, Xt as contains, _ as indexOfId, _n as ariaAttr, at as setElementValue, b as prevById, lt as getEventKey, mt as isComposingEvent, ot as trackFormControl, pt as getNativeEvent, rt as dispatchInputValueEvent, vn as dataAttr, y as nextById, yn as isCaretAtStart, yt as isLeftClick } from "../../dom-query-
|
|
3
|
-
import { n as autoResizeInput } from "../../auto-resize-
|
|
4
|
-
import { Nt as uniq, ft as isEqual, i as warn, jt as removeAt, u as createSplitProps } from "../../utils-
|
|
5
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
6
|
-
import { t as trackInteractOutside } from "../../interact-outside-
|
|
2
|
+
import { S as queryAll, U as raf, Xt as contains, _ as indexOfId, _n as ariaAttr, at as setElementValue, b as prevById, lt as getEventKey, mt as isComposingEvent, ot as trackFormControl, pt as getNativeEvent, rt as dispatchInputValueEvent, vn as dataAttr, y as nextById, yn as isCaretAtStart, yt as isLeftClick } from "../../dom-query-CmBiBVLQ.mjs";
|
|
3
|
+
import { n as autoResizeInput } from "../../auto-resize-DVZTqSCn.mjs";
|
|
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-C5T2xAtS.mjs";
|
|
6
|
+
import { t as trackInteractOutside } from "../../interact-outside-DRtM9Nss.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-
|
|
3
|
-
const require_utils = require('../../utils-
|
|
4
|
-
const require_core = require('../../core-
|
|
2
|
+
require('../../dom-query-sJjCgg-g.cjs');
|
|
3
|
+
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
|
+
const require_core = require('../../core-BKy77dr-.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" | "item" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "control" | "area" | "separator" | "actionTrigger" | "itemLabel" | "itemValue">;
|
|
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" | "item" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "control" | "area" | "separator" | "actionTrigger" | "itemLabel" | "itemValue">;
|
|
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-
|
|
3
|
-
import { Y as match, ct as isObject, g as clampValue, o as setRafInterval, s as setRafTimeout, u as createSplitProps } from "../../utils-
|
|
4
|
-
import { a as createMachine, s as memo } from "../../core-
|
|
2
|
+
import "../../dom-query-CmBiBVLQ.mjs";
|
|
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-C5T2xAtS.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-
|
|
3
|
-
const require_utils = require('../../utils-
|
|
4
|
-
const require_core = require('../../core-
|
|
5
|
-
require('../../interact-outside-
|
|
6
|
-
const require_dismissable = require('../../dismissable-
|
|
2
|
+
const require_dom_query = require('../../dom-query-sJjCgg-g.cjs');
|
|
3
|
+
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
|
+
const require_core = require('../../core-BKy77dr-.cjs');
|
|
5
|
+
require('../../interact-outside-mZW1FIf5.cjs');
|
|
6
|
+
const require_dismissable = require('../../dismissable-oSXyfI9I.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" | "group" | "description" | "actionTrigger" | "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" | "group" | "description" | "actionTrigger" | "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 { B as AnimationFrame, U as raf, Xt as contains, gn as MAX_Z_INDEX, st as addDomEvent, vn as dataAttr } from "../../dom-query-
|
|
3
|
-
import { Z as runIfFn, et as uuid, i as warn, l as compact, n as ensureProps, s as setRafTimeout } from "../../utils-
|
|
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-
|
|
2
|
+
import { B as AnimationFrame, U as raf, Xt as contains, gn as MAX_Z_INDEX, st as addDomEvent, vn as dataAttr } from "../../dom-query-CmBiBVLQ.mjs";
|
|
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-C5T2xAtS.mjs";
|
|
5
|
+
import "../../interact-outside-DRtM9Nss.mjs";
|
|
6
|
+
import { t as trackDismissableBranch } from "../../dismissable-DzGf_m8e.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-
|
|
3
|
-
const require_utils = require('../../utils-
|
|
4
|
-
const require_core = require('../../core-
|
|
2
|
+
const require_dom_query = require('../../dom-query-sJjCgg-g.cjs');
|
|
3
|
+
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
|
+
const require_core = require('../../core-BKy77dr-.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 { vn as dataAttr } from "../../dom-query-
|
|
3
|
-
import { u as createSplitProps } from "../../utils-
|
|
4
|
-
import { a as createMachine } from "../../core-
|
|
2
|
+
import { vn as dataAttr } from "../../dom-query-CmBiBVLQ.mjs";
|
|
3
|
+
import { u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
4
|
+
import { a as createMachine } from "../../core-C5T2xAtS.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-
|
|
3
|
-
const require_utils = require('../../utils-
|
|
4
|
-
const require_core = require('../../core-
|
|
2
|
+
const require_dom_query = require('../../dom-query-sJjCgg-g.cjs');
|
|
3
|
+
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
|
+
const require_core = require('../../core-BKy77dr-.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 { Rt as isSafari, S as queryAll, U as raf, Xt as contains, b as prevById, ft as getEventTarget, lt as getEventKey, vn as dataAttr, y as nextById } from "../../dom-query-
|
|
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-
|
|
4
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
2
|
+
import { Rt as isSafari, S as queryAll, U as raf, Xt as contains, b as prevById, ft as getEventTarget, lt as getEventKey, vn as dataAttr, y as nextById } from "../../dom-query-CmBiBVLQ.mjs";
|
|
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-C5T2xAtS.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-
|
|
3
|
-
const require_utils = require('../../utils-
|
|
4
|
-
const require_core = require('../../core-
|
|
5
|
-
const require_focus_visible = require('../../focus-visible-
|
|
6
|
-
const require_popper = require('../../popper-
|
|
2
|
+
const require_dom_query = require('../../dom-query-sJjCgg-g.cjs');
|
|
3
|
+
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
|
+
const require_core = require('../../core-BKy77dr-.cjs');
|
|
5
|
+
const require_focus_visible = require('../../focus-visible-ZrhnzqqT.cjs');
|
|
6
|
+
const require_popper = require('../../popper-CfnxH2_q.cjs');
|
|
7
7
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
8
8
|
|
|
9
9
|
//#region src/machines/tooltip/tooltip.anatomy.ts
|
|
@@ -21,7 +21,11 @@ const getPositionerEl = (scope) => scope.getById(getPositionerId(scope));
|
|
|
21
21
|
|
|
22
22
|
//#endregion
|
|
23
23
|
//#region src/machines/tooltip/tooltip.store.ts
|
|
24
|
-
const store = require_utils.createStore({
|
|
24
|
+
const store = require_utils.createStore({
|
|
25
|
+
id: null,
|
|
26
|
+
prevId: null,
|
|
27
|
+
instant: false
|
|
28
|
+
});
|
|
25
29
|
|
|
26
30
|
//#endregion
|
|
27
31
|
//#region src/machines/tooltip/tooltip.connect.ts
|
|
@@ -142,11 +146,15 @@ function connect(service, normalize) {
|
|
|
142
146
|
});
|
|
143
147
|
},
|
|
144
148
|
getContentProps() {
|
|
149
|
+
const isCurrentTooltip = store.get("id") === id;
|
|
150
|
+
const isPrevTooltip = store.get("prevId") === id;
|
|
151
|
+
const instant = store.get("instant") && (open && isCurrentTooltip || isPrevTooltip);
|
|
145
152
|
return normalize.element({
|
|
146
153
|
...parts.content.attrs,
|
|
147
154
|
dir: prop("dir"),
|
|
148
155
|
hidden: !open,
|
|
149
156
|
"data-state": open ? "open" : "closed",
|
|
157
|
+
"data-instant": require_dom_query.dataAttr(instant),
|
|
150
158
|
role: hasAriaLabel ? void 0 : "tooltip",
|
|
151
159
|
id: hasAriaLabel ? void 0 : contentId,
|
|
152
160
|
"data-placement": context.get("currentPlacement"),
|
|
@@ -355,10 +363,20 @@ const machine = require_core.createMachine({
|
|
|
355
363
|
},
|
|
356
364
|
actions: {
|
|
357
365
|
setGlobalId: ({ prop }) => {
|
|
358
|
-
store.
|
|
366
|
+
const prevId = store.get("id");
|
|
367
|
+
const isInstant = prevId !== null && prevId !== prop("id");
|
|
368
|
+
store.update({
|
|
369
|
+
id: prop("id"),
|
|
370
|
+
prevId: isInstant ? prevId : null,
|
|
371
|
+
instant: isInstant
|
|
372
|
+
});
|
|
359
373
|
},
|
|
360
374
|
clearGlobalId: ({ prop }) => {
|
|
361
|
-
if (prop("id") === store.get("id")) store.
|
|
375
|
+
if (prop("id") === store.get("id")) store.update({
|
|
376
|
+
id: null,
|
|
377
|
+
prevId: null,
|
|
378
|
+
instant: false
|
|
379
|
+
});
|
|
362
380
|
},
|
|
363
381
|
invokeOnOpen: ({ prop }) => {
|
|
364
382
|
prop("onOpenChange")?.({ open: true });
|
|
@@ -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" | "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<"trigger" | "
|
|
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 { j as getOverflowAncestors, mt as isComposingEvent, st as addDomEvent, vn as dataAttr, yt as isLeftClick } from "../../dom-query-
|
|
3
|
-
import { c as createStore, u as createSplitProps } from "../../utils-
|
|
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-
|
|
2
|
+
import { j as getOverflowAncestors, mt as isComposingEvent, st as addDomEvent, vn as dataAttr, yt as isLeftClick } from "../../dom-query-CmBiBVLQ.mjs";
|
|
3
|
+
import { c as createStore, u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
4
|
+
import { a as createMachine, i as createGuards } from "../../core-C5T2xAtS.mjs";
|
|
5
|
+
import { a as trackFocusVisible, n as isFocusVisible } from "../../focus-visible-uWtBxami.mjs";
|
|
6
|
+
import { n as getPlacement, t as getPlacementStyles } from "../../popper-Ckr_W9Yk.mjs";
|
|
7
7
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/machines/tooltip/tooltip.anatomy.ts
|
|
@@ -21,7 +21,11 @@ const getPositionerEl = (scope) => scope.getById(getPositionerId(scope));
|
|
|
21
21
|
|
|
22
22
|
//#endregion
|
|
23
23
|
//#region src/machines/tooltip/tooltip.store.ts
|
|
24
|
-
const store = createStore({
|
|
24
|
+
const store = createStore({
|
|
25
|
+
id: null,
|
|
26
|
+
prevId: null,
|
|
27
|
+
instant: false
|
|
28
|
+
});
|
|
25
29
|
|
|
26
30
|
//#endregion
|
|
27
31
|
//#region src/machines/tooltip/tooltip.connect.ts
|
|
@@ -142,11 +146,15 @@ function connect(service, normalize) {
|
|
|
142
146
|
});
|
|
143
147
|
},
|
|
144
148
|
getContentProps() {
|
|
149
|
+
const isCurrentTooltip = store.get("id") === id;
|
|
150
|
+
const isPrevTooltip = store.get("prevId") === id;
|
|
151
|
+
const instant = store.get("instant") && (open && isCurrentTooltip || isPrevTooltip);
|
|
145
152
|
return normalize.element({
|
|
146
153
|
...parts.content.attrs,
|
|
147
154
|
dir: prop("dir"),
|
|
148
155
|
hidden: !open,
|
|
149
156
|
"data-state": open ? "open" : "closed",
|
|
157
|
+
"data-instant": dataAttr(instant),
|
|
150
158
|
role: hasAriaLabel ? void 0 : "tooltip",
|
|
151
159
|
id: hasAriaLabel ? void 0 : contentId,
|
|
152
160
|
"data-placement": context.get("currentPlacement"),
|
|
@@ -355,10 +363,20 @@ const machine = createMachine({
|
|
|
355
363
|
},
|
|
356
364
|
actions: {
|
|
357
365
|
setGlobalId: ({ prop }) => {
|
|
358
|
-
store.
|
|
366
|
+
const prevId = store.get("id");
|
|
367
|
+
const isInstant = prevId !== null && prevId !== prop("id");
|
|
368
|
+
store.update({
|
|
369
|
+
id: prop("id"),
|
|
370
|
+
prevId: isInstant ? prevId : null,
|
|
371
|
+
instant: isInstant
|
|
372
|
+
});
|
|
359
373
|
},
|
|
360
374
|
clearGlobalId: ({ prop }) => {
|
|
361
|
-
if (prop("id") === store.get("id")) store.
|
|
375
|
+
if (prop("id") === store.get("id")) store.update({
|
|
376
|
+
id: null,
|
|
377
|
+
prevId: null,
|
|
378
|
+
instant: false
|
|
379
|
+
});
|
|
362
380
|
},
|
|
363
381
|
invokeOnOpen: ({ prop }) => {
|
|
364
382
|
prop("onOpenChange")?.({ open: true });
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
|
|
2
|
-
const require_dom_query = require('../../dom-query-
|
|
3
|
-
const require_utils = require('../../utils-
|
|
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-
|
|
2
|
+
const require_dom_query = require('../../dom-query-sJjCgg-g.cjs');
|
|
3
|
+
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
|
+
const require_core = require('../../core-BKy77dr-.cjs');
|
|
5
|
+
const require_interact_outside = require('../../interact-outside-mZW1FIf5.cjs');
|
|
6
|
+
const require_dismissable = require('../../dismissable-oSXyfI9I.cjs');
|
|
7
|
+
const require_focus_trap = require('../../focus-trap-BRP__9iJ.cjs');
|
|
8
|
+
const require_popper = require('../../popper-CfnxH2_q.cjs');
|
|
9
9
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
10
10
|
|
|
11
11
|
//#region src/machines/tour/tour.anatomy.ts
|
|
@@ -6,7 +6,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
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<"progressText" | "title" | "content" | "description" | "actionTrigger" | "closeTrigger" | "arrow" | "arrowTip" | "positioner" | "backdrop" | "spotlight">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/tour/utils/rect.d.ts
|
|
12
12
|
interface Point {
|
|
@@ -6,7 +6,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
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<"progressText" | "title" | "content" | "description" | "actionTrigger" | "closeTrigger" | "arrow" | "arrowTip" | "positioner" | "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 { U as raf, Xt as contains, Yt as getComputedStyle$1, ln as isHTMLElement, n as waitForPromise, rn as getWindow, t as waitForElement, vn as dataAttr } from "../../dom-query-
|
|
3
|
-
import { Et as nextIndex, dt as isString, ft as isEqual, i as warn, kt as prevIndex, u as createSplitProps } from "../../utils-
|
|
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-
|
|
2
|
+
import { U as raf, Xt as contains, Yt as getComputedStyle$1, ln as isHTMLElement, n as waitForPromise, rn as getWindow, t as waitForElement, vn as dataAttr } from "../../dom-query-CmBiBVLQ.mjs";
|
|
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-C5T2xAtS.mjs";
|
|
5
|
+
import { t as trackInteractOutside } from "../../interact-outside-DRtM9Nss.mjs";
|
|
6
|
+
import { t as trackDismissableBranch } from "../../dismissable-DzGf_m8e.mjs";
|
|
7
|
+
import { t as trapFocus } from "../../focus-trap-C5OuWDZw.mjs";
|
|
8
|
+
import { n as getPlacement, t as getPlacementStyles } from "../../popper-Ckr_W9Yk.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-
|
|
3
|
-
const require_utils = require('../../utils-
|
|
4
|
-
const require_collection = require('../../collection-
|
|
5
|
-
const require_core = require('../../core-
|
|
2
|
+
const require_dom_query = require('../../dom-query-sJjCgg-g.cjs');
|
|
3
|
+
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
|
+
const require_collection = require('../../collection-C5tUixCe.cjs');
|
|
5
|
+
const require_core = require('../../core-BKy77dr-.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" | "label" | "
|
|
9
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "itemIndicator" | "itemText" | "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: {
|