@sprawlify/primitives 0.0.53 → 0.0.55
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-CEBzyx-2.mjs → aria-hidden-CVIz-P9c.mjs} +1 -1
- package/dist/{aria-hidden-CZ_i-44_.cjs → aria-hidden-kcYiyWLo.cjs} +1 -1
- package/dist/aria-hidden.cjs +2 -2
- package/dist/aria-hidden.mjs +2 -2
- package/dist/{auto-resize-CzaVlUmQ.cjs → auto-resize-C55IrFLZ.cjs} +1 -1
- package/dist/{auto-resize-BVL59TP4.mjs → auto-resize-R0jCGBHZ.mjs} +1 -1
- package/dist/auto-resize.cjs +2 -2
- package/dist/auto-resize.mjs +2 -2
- package/dist/collection.d.cts +2 -2
- package/dist/collection.d.mts +2 -2
- package/dist/{core-NCx2blZX.cjs → core-CsVTCpQ_.cjs} +1 -1
- package/dist/{core-BjksCLhs.mjs → core-CujC6Y2H.mjs} +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-B3hx8STR.mjs → dismissable-CtFpYFBY.mjs} +2 -2
- package/dist/{dismissable-BADVbumR.cjs → dismissable-DWJdIOtX.cjs} +2 -2
- package/dist/dismissable.cjs +3 -3
- package/dist/dismissable.mjs +3 -3
- package/dist/{dom-query-BwpPRIas.mjs → dom-query-CUb85Z22.mjs} +5 -5
- package/dist/{dom-query-ClqjTSZC.cjs → dom-query-xZuxOsD4.cjs} +5 -5
- package/dist/dom-query.cjs +1 -1
- package/dist/dom-query.d.cts +1 -1
- package/dist/dom-query.d.mts +1 -1
- package/dist/dom-query.mjs +1 -1
- package/dist/{focus-trap-CH_5ucTD.cjs → focus-trap-DcDcihd5.cjs} +1 -1
- package/dist/{focus-trap-CbwLeNp4.mjs → focus-trap-KZbY4M-m.mjs} +1 -1
- package/dist/focus-trap.cjs +2 -2
- package/dist/focus-trap.mjs +2 -2
- package/dist/{focus-visible-3pja4Mga.mjs → focus-visible-Bm2uoacD.mjs} +1 -1
- package/dist/{focus-visible-BbOZu8QU.cjs → focus-visible-Ddho9PEA.cjs} +1 -1
- package/dist/focus-visible.cjs +2 -2
- package/dist/focus-visible.mjs +2 -2
- package/dist/{i18n-utils-CSCl08Vd.mjs → i18n-utils-85PCPQ3H.mjs} +1 -1
- package/dist/{i18n-utils-D9RUw2tK.cjs → i18n-utils-B3KjZ58Q.cjs} +1 -1
- package/dist/i18n-utils.cjs +2 -2
- package/dist/i18n-utils.mjs +2 -2
- package/dist/{index-BqhWpjZh.d.mts → index-HnPpYuSl.d.mts} +5 -5
- package/dist/{interact-outside-D28zeFXP.cjs → interact-outside-xGMuVVaa.cjs} +1 -1
- package/dist/{interact-outside-C0yB--HG.mjs → interact-outside-xKQjln5u.mjs} +1 -1
- package/dist/interact-outside.cjs +2 -2
- package/dist/interact-outside.mjs +2 -2
- package/dist/{list-collection-BslnP0r-.d.cts → list-collection-BvMwDNHf.d.cts} +1 -1
- package/dist/{list-collection-swuCMCIS.d.mts → list-collection-CTt1eong.d.mts} +1 -1
- package/dist/machines/accordion/index.cjs +2 -2
- package/dist/machines/accordion/index.mjs +2 -2
- package/dist/machines/angle-slider/index.cjs +2 -2
- package/dist/machines/angle-slider/index.d.cts +1 -1
- package/dist/machines/angle-slider/index.d.mts +1 -1
- package/dist/machines/angle-slider/index.mjs +2 -2
- package/dist/machines/async-list/index.cjs +2 -2
- package/dist/machines/async-list/index.mjs +2 -2
- package/dist/machines/avatar/index.cjs +2 -2
- package/dist/machines/avatar/index.mjs +2 -2
- package/dist/machines/bottom-sheet/index.cjs +7 -7
- package/dist/machines/bottom-sheet/index.d.cts +1 -1
- package/dist/machines/bottom-sheet/index.d.mts +1 -1
- package/dist/machines/bottom-sheet/index.mjs +7 -7
- package/dist/machines/carousel/index.cjs +3 -3
- package/dist/machines/carousel/index.d.cts +1 -1
- package/dist/machines/carousel/index.d.mts +1 -1
- package/dist/machines/carousel/index.mjs +3 -3
- package/dist/machines/checkbox/index.cjs +3 -3
- package/dist/machines/checkbox/index.d.cts +1 -1
- package/dist/machines/checkbox/index.d.mts +1 -1
- package/dist/machines/checkbox/index.mjs +3 -3
- package/dist/machines/clipboard/index.cjs +2 -2
- package/dist/machines/clipboard/index.d.cts +1 -1
- package/dist/machines/clipboard/index.d.mts +1 -1
- package/dist/machines/clipboard/index.mjs +2 -2
- package/dist/machines/collapsible/index.cjs +2 -2
- package/dist/machines/collapsible/index.d.cts +1 -1
- package/dist/machines/collapsible/index.d.mts +1 -1
- package/dist/machines/collapsible/index.mjs +2 -2
- package/dist/machines/color-picker/index.cjs +5 -5
- package/dist/machines/color-picker/index.d.cts +1 -1
- package/dist/machines/color-picker/index.d.mts +1 -1
- package/dist/machines/color-picker/index.mjs +5 -5
- package/dist/machines/combobox/index.cjs +5 -5
- package/dist/machines/combobox/index.d.cts +2 -2
- package/dist/machines/combobox/index.d.mts +2 -2
- package/dist/machines/combobox/index.mjs +5 -5
- package/dist/machines/date-picker/index.cjs +5 -5
- package/dist/machines/date-picker/index.d.cts +1 -1
- package/dist/machines/date-picker/index.d.mts +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.d.cts +1 -1
- package/dist/machines/editable/index.d.mts +1 -1
- package/dist/machines/editable/index.mjs +3 -3
- package/dist/machines/file-upload/index.cjs +3 -3
- package/dist/machines/file-upload/index.d.cts +1 -1
- package/dist/machines/file-upload/index.d.mts +1 -1
- package/dist/machines/file-upload/index.mjs +3 -3
- package/dist/machines/floating-panel/index.cjs +2 -2
- package/dist/machines/floating-panel/index.d.cts +1 -1
- package/dist/machines/floating-panel/index.d.mts +1 -1
- package/dist/machines/floating-panel/index.mjs +2 -2
- package/dist/machines/hover-card/index.cjs +5 -5
- package/dist/machines/hover-card/index.d.cts +1 -1
- package/dist/machines/hover-card/index.d.mts +1 -1
- package/dist/machines/hover-card/index.mjs +5 -5
- package/dist/machines/image-cropper/index.cjs +2 -2
- package/dist/machines/image-cropper/index.mjs +2 -2
- package/dist/machines/listbox/index.cjs +3 -3
- package/dist/machines/listbox/index.d.cts +3 -3
- package/dist/machines/listbox/index.d.mts +3 -3
- package/dist/machines/listbox/index.mjs +3 -3
- package/dist/machines/marquee/index.cjs +2 -2
- package/dist/machines/marquee/index.d.cts +3 -3
- package/dist/machines/marquee/index.d.mts +3 -3
- package/dist/machines/marquee/index.mjs +2 -2
- package/dist/machines/menu/index.cjs +5 -5
- package/dist/machines/menu/index.d.cts +1 -1
- package/dist/machines/menu/index.d.mts +1 -1
- package/dist/machines/menu/index.mjs +5 -5
- package/dist/machines/navigation-menu/index.cjs +4 -4
- package/dist/machines/navigation-menu/index.d.cts +1 -1
- package/dist/machines/navigation-menu/index.d.mts +1 -1
- package/dist/machines/navigation-menu/index.mjs +4 -4
- package/dist/machines/number-input/index.cjs +17 -9
- 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 +17 -9
- package/dist/machines/pagination/index.cjs +2 -2
- package/dist/machines/pagination/index.mjs +2 -2
- package/dist/machines/password-input/index.cjs +2 -2
- package/dist/machines/password-input/index.d.cts +1 -1
- package/dist/machines/password-input/index.d.mts +1 -1
- package/dist/machines/password-input/index.mjs +2 -2
- package/dist/machines/pin-input/index.cjs +2 -2
- package/dist/machines/pin-input/index.d.cts +1 -1
- package/dist/machines/pin-input/index.d.mts +1 -1
- package/dist/machines/pin-input/index.mjs +2 -2
- package/dist/machines/popover/index.cjs +8 -8
- package/dist/machines/popover/index.d.cts +1 -1
- package/dist/machines/popover/index.d.mts +1 -1
- package/dist/machines/popover/index.mjs +8 -8
- package/dist/machines/presence/index.cjs +2 -2
- package/dist/machines/presence/index.mjs +2 -2
- package/dist/machines/progress/index.cjs +2 -2
- package/dist/machines/progress/index.d.cts +1 -1
- package/dist/machines/progress/index.d.mts +1 -1
- package/dist/machines/progress/index.mjs +2 -2
- package/dist/machines/qr-code/index.cjs +2 -2
- package/dist/machines/qr-code/index.mjs +2 -2
- package/dist/machines/radio-group/index.cjs +3 -3
- package/dist/machines/radio-group/index.d.cts +1 -1
- package/dist/machines/radio-group/index.d.mts +1 -1
- package/dist/machines/radio-group/index.mjs +3 -3
- package/dist/machines/rating-group/index.cjs +2 -2
- package/dist/machines/rating-group/index.mjs +2 -2
- package/dist/machines/scroll-area/index.cjs +2 -2
- package/dist/machines/scroll-area/index.d.cts +1 -1
- package/dist/machines/scroll-area/index.d.mts +1 -1
- package/dist/machines/scroll-area/index.mjs +2 -2
- package/dist/machines/select/index.cjs +5 -5
- package/dist/machines/select/index.d.cts +2 -2
- package/dist/machines/select/index.d.mts +2 -2
- package/dist/machines/select/index.mjs +5 -5
- package/dist/machines/signature-pad/index.cjs +2 -2
- package/dist/machines/signature-pad/index.d.cts +1 -1
- package/dist/machines/signature-pad/index.d.mts +1 -1
- package/dist/machines/signature-pad/index.mjs +2 -2
- package/dist/machines/slider/index.cjs +2 -2
- package/dist/machines/slider/index.d.cts +1 -1
- package/dist/machines/slider/index.d.mts +1 -1
- package/dist/machines/slider/index.mjs +2 -2
- package/dist/machines/splitter/index.cjs +2 -2
- package/dist/machines/splitter/index.mjs +2 -2
- package/dist/machines/steps/index.cjs +2 -2
- package/dist/machines/steps/index.d.cts +1 -1
- package/dist/machines/steps/index.d.mts +1 -1
- package/dist/machines/steps/index.mjs +2 -2
- package/dist/machines/switch/index.cjs +3 -3
- package/dist/machines/switch/index.d.cts +1 -1
- package/dist/machines/switch/index.d.mts +1 -1
- package/dist/machines/switch/index.mjs +3 -3
- package/dist/machines/tabs/index.cjs +2 -2
- package/dist/machines/tabs/index.d.cts +1 -1
- package/dist/machines/tabs/index.d.mts +1 -1
- package/dist/machines/tabs/index.mjs +2 -2
- package/dist/machines/tags-input/index.cjs +4 -4
- package/dist/machines/tags-input/index.d.cts +1 -1
- package/dist/machines/tags-input/index.d.mts +1 -1
- package/dist/machines/tags-input/index.mjs +4 -4
- package/dist/machines/timer/index.cjs +2 -2
- package/dist/machines/timer/index.d.cts +1 -1
- package/dist/machines/timer/index.d.mts +1 -1
- package/dist/machines/timer/index.mjs +2 -2
- package/dist/machines/toast/index.cjs +7 -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 +7 -5
- package/dist/machines/toggle/index.cjs +2 -2
- package/dist/machines/toggle/index.mjs +2 -2
- package/dist/machines/toggle-group/index.cjs +2 -2
- package/dist/machines/toggle-group/index.mjs +2 -2
- package/dist/machines/tooltip/index.cjs +4 -4
- package/dist/machines/tooltip/index.d.cts +1 -1
- package/dist/machines/tooltip/index.d.mts +1 -1
- package/dist/machines/tooltip/index.mjs +4 -4
- package/dist/machines/tour/index.cjs +6 -6
- package/dist/machines/tour/index.d.cts +1 -1
- package/dist/machines/tour/index.d.mts +1 -1
- package/dist/machines/tour/index.mjs +6 -6
- package/dist/machines/tree-view/index.cjs +2 -2
- package/dist/machines/tree-view/index.mjs +2 -2
- package/dist/{popper-C6DOG0y6.mjs → popper-DbfXVgrC.mjs} +1 -1
- package/dist/{popper-BwFBqHeN.cjs → popper-TNUpC0Kp.cjs} +1 -1
- package/dist/popper.cjs +2 -2
- package/dist/popper.mjs +2 -2
- package/dist/{remove-scroll-w6rI9a_g.cjs → remove-scroll-D5aUrYvL.cjs} +1 -1
- package/dist/{remove-scroll-Dj2rN8ST.mjs → remove-scroll-DNoftRvo.mjs} +1 -1
- package/dist/{scroll-snap-D2Ao0kC_.cjs → scroll-snap-DhVLyRe-.cjs} +1 -1
- package/dist/{scroll-snap-qgiu8AOd.mjs → scroll-snap-tDsdAemJ.mjs} +1 -1
- package/dist/scroll-snap.cjs +2 -2
- package/dist/scroll-snap.mjs +2 -2
- package/dist/{selection-CIoBu9mp.d.mts → selection-JDFmyke7.d.mts} +1 -1
- package/dist/{selection-DTpiPgq8.d.cts → selection-vng1guNc.d.cts} +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, o as LocaleProperties, t as Commo
|
|
|
4
4
|
import { i as FileMimeType, r as FileError } from "../../types-D-ZRl1jP.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/file-upload/file-upload.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "trigger" | "clearTrigger" | "itemGroup" | "itemPreview" | "itemDeleteTrigger" | "dropzone" | "itemName" | "itemPreviewImage" | "itemSizeText">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/file-upload/file-upload.types.d.ts
|
|
10
10
|
interface FileRejection {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import { W as raf, Zt as contains, a as visuallyHiddenStyle, ct as addDomEvent, in as getWindow, pt as getEventTarget, yn as dataAttr } from "../../dom-query-
|
|
2
|
+
import { W as raf, Zt as contains, a as visuallyHiddenStyle, ct as addDomEvent, in as getWindow, pt as getEventTarget, yn as dataAttr } from "../../dom-query-CUb85Z22.mjs";
|
|
3
3
|
import { W as callAll, i as warn, q as hash, u as createSplitProps, yt as flatArray } from "../../utils-DSBXwmDm.mjs";
|
|
4
|
-
import { a as createMachine } from "../../core-
|
|
4
|
+
import { a as createMachine } from "../../core-CujC6Y2H.mjs";
|
|
5
5
|
import { i as isFileEqual, r as isValidFileSize, s as getAcceptAttrString, t as isValidFileType, u as getFileEntries } from "../../file-utils-5E6-AtJ9.mjs";
|
|
6
|
-
import { c as formatBytes } from "../../i18n-utils-
|
|
6
|
+
import { c as formatBytes } from "../../i18n-utils-85PCPQ3H.mjs";
|
|
7
7
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/machines/file-upload/file-upload.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-xZuxOsD4.cjs');
|
|
3
3
|
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
|
-
const require_core = require('../../core-
|
|
4
|
+
const require_core = require('../../core-CsVTCpQ_.cjs');
|
|
5
5
|
const require_rect_utils = require('../../rect-utils-ChBPj9XR.cjs');
|
|
6
6
|
const require_store = require('../../store-DDjfrUhd.cjs');
|
|
7
7
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
4
4
|
import { a as Point, o as Rect, y as Size } from "../../types-DddL75YY.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/floating-panel/floating-panel.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"
|
|
7
|
+
declare const anatomy: AnatomyInstance<"control" | "body" | "header" | "title" | "trigger" | "content" | "closeTrigger" | "resizeTrigger" | "positioner" | "dragTrigger" | "stageTrigger">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/floating-panel/floating-panel.types.d.ts
|
|
10
10
|
interface PositionChangeDetails {
|
|
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
4
4
|
import { a as Point, o as Rect, y as Size } from "../../types-J14X3oxU.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/floating-panel/floating-panel.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"
|
|
7
|
+
declare const anatomy: AnatomyInstance<"control" | "body" | "header" | "title" | "trigger" | "content" | "closeTrigger" | "resizeTrigger" | "positioner" | "dragTrigger" | "stageTrigger">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/floating-panel/floating-panel.types.d.ts
|
|
10
10
|
interface PositionChangeDetails {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import { E as trackPointerMove, W as raf, bt as isLeftClick, ct as addDomEvent, ft as getEventStep, m as resizeObserverBorderBox, pt as getEventTarget, un as isHTMLElement, ut as getEventKey, yn as dataAttr } from "../../dom-query-
|
|
2
|
+
import { E as trackPointerMove, W as raf, bt as isLeftClick, ct as addDomEvent, ft as getEventStep, m as resizeObserverBorderBox, pt as getEventTarget, un as isHTMLElement, ut as getEventKey, yn as dataAttr } from "../../dom-query-CUb85Z22.mjs";
|
|
3
3
|
import { H as toPx, Y as match, g as clampValue, n as ensureProps, p as pick, r as invariant, u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
4
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
4
|
+
import { a as createMachine, i as createGuards } from "../../core-CujC6Y2H.mjs";
|
|
5
5
|
import { G as clampPoint, I as addPoints, K as clampSize, R as createRect, T as constrainRect, W as subtractPoints, d as getWindowRect, t as resizeRect, v as getElementRect, x as isSizeEqual, y as isPointEqual } from "../../rect-utils-CDBAit19.mjs";
|
|
6
6
|
import { a as subscribe, n as proxy } from "../../store-CpMJ6RZR.mjs";
|
|
7
7
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
|
|
2
|
-
require('../../dom-query-
|
|
2
|
+
require('../../dom-query-xZuxOsD4.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-
|
|
7
|
-
const require_popper = require('../../popper-
|
|
4
|
+
const require_core = require('../../core-CsVTCpQ_.cjs');
|
|
5
|
+
require('../../interact-outside-xGMuVVaa.cjs');
|
|
6
|
+
const require_dismissable = require('../../dismissable-DWJdIOtX.cjs');
|
|
7
|
+
const require_popper = require('../../popper-TNUpC0Kp.cjs');
|
|
8
8
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
9
9
|
|
|
10
10
|
//#region src/machines/hover-card/hover-card.anatomy.ts
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
5
5
|
import { c as Placement, d as PositioningOptions } from "../../types-D5ziaMrd.cjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/hover-card/hover-card.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "arrow" | "positioner" | "arrowTip">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/hover-card/hover-card.types.d.ts
|
|
11
11
|
interface OpenChangeDetails {
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
5
5
|
import { p as PositioningOptions, u as Placement } from "../../index-BTi1wETB.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/hover-card/hover-card.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "arrow" | "positioner" | "arrowTip">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/hover-card/hover-card.types.d.ts
|
|
11
11
|
interface OpenChangeDetails {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import "../../dom-query-
|
|
2
|
+
import "../../dom-query-CUb85Z22.mjs";
|
|
3
3
|
import { u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
4
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
5
|
-
import "../../interact-outside-
|
|
6
|
-
import { n as trackDismissableElement } from "../../dismissable-
|
|
7
|
-
import { n as getPlacement, t as getPlacementStyles } from "../../popper-
|
|
4
|
+
import { a as createMachine, i as createGuards } from "../../core-CujC6Y2H.mjs";
|
|
5
|
+
import "../../interact-outside-xKQjln5u.mjs";
|
|
6
|
+
import { n as trackDismissableElement } from "../../dismissable-CtFpYFBY.mjs";
|
|
7
|
+
import { n as getPlacement, t as getPlacementStyles } from "../../popper-DbfXVgrC.mjs";
|
|
8
8
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/hover-card/hover-card.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-xZuxOsD4.cjs');
|
|
3
3
|
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
|
-
const require_core = require('../../core-
|
|
4
|
+
const require_core = require('../../core-CsVTCpQ_.cjs');
|
|
5
5
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
6
6
|
|
|
7
7
|
//#region src/machines/image-cropper/image-cropper.anatomy.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import { Zt as contains, ct as addDomEvent, dt as getEventPoint, m as resizeObserverBorderBox, pt as getEventTarget, ut as getEventKey, yn as dataAttr } from "../../dom-query-
|
|
2
|
+
import { Zt as contains, ct as addDomEvent, dt as getEventPoint, m as resizeObserverBorderBox, pt as getEventTarget, ut as getEventKey, yn as dataAttr } from "../../dom-query-CUb85Z22.mjs";
|
|
3
3
|
import { H as toPx, W as callAll, g as clampValue, rt as isBoolean, u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
4
|
-
import { a as createMachine } from "../../core-
|
|
4
|
+
import { a as createMachine } from "../../core-CujC6Y2H.mjs";
|
|
5
5
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/image-cropper/image-cropper.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-xZuxOsD4.cjs');
|
|
3
3
|
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
4
|
const require_collection = require('../../collection-Q52RkxUe.cjs');
|
|
5
|
-
const require_core = require('../../core-
|
|
6
|
-
const require_focus_visible = require('../../focus-visible-
|
|
5
|
+
const require_core = require('../../core-CsVTCpQ_.cjs');
|
|
6
|
+
const require_focus_visible = require('../../focus-visible-Ddho9PEA.cjs');
|
|
7
7
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
8
8
|
|
|
9
9
|
//#region src/machines/listbox/listbox.anatomy.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-smWrirg1.cjs";
|
|
2
2
|
import { r as CollectionOptions, t as CollectionItem } from "../../types-CADkcKtr.cjs";
|
|
3
|
-
import { t as ListCollection } from "../../list-collection-
|
|
4
|
-
import { i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "../../selection-
|
|
3
|
+
import { t as ListCollection } from "../../list-collection-BvMwDNHf.cjs";
|
|
4
|
+
import { i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "../../selection-vng1guNc.cjs";
|
|
5
5
|
import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu60O.cjs";
|
|
6
6
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
7
7
|
import { n as TypeaheadState } from "../../typeahead-BdNwVP09.cjs";
|
|
8
8
|
|
|
9
9
|
//#region src/machines/listbox/listbox.anatomy.d.ts
|
|
10
|
-
declare const anatomy: AnatomyInstance<"
|
|
10
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "valueText" | "input" | "item" | "content" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel">;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/machines/listbox/listbox.collection.d.ts
|
|
13
13
|
declare const collection: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-DHVOqZET.mjs";
|
|
2
2
|
import { r as CollectionOptions, t as CollectionItem } from "../../types-Df8ZhdY-.mjs";
|
|
3
|
-
import { t as ListCollection } from "../../list-collection-
|
|
4
|
-
import { i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "../../selection-
|
|
3
|
+
import { t as ListCollection } from "../../list-collection-CTt1eong.mjs";
|
|
4
|
+
import { i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "../../selection-JDFmyke7.mjs";
|
|
5
5
|
import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQk5.mjs";
|
|
6
6
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
7
7
|
import { n as TypeaheadState } from "../../typeahead-DMSwLv1e.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/machines/listbox/listbox.anatomy.d.ts
|
|
10
|
-
declare const anatomy: AnatomyInstance<"
|
|
10
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "valueText" | "input" | "item" | "content" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel">;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/machines/listbox/listbox.collection.d.ts
|
|
13
13
|
declare const collection: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import { I as scrollIntoView, W as raf, Zt as contains, _t as isCtrlOrMetaKey, cn as isEditableElement, ht as isComposingEvent, mt as getNativeEvent, pt as getEventTarget, s as getByTypeahead, ut as getEventKey, vn as ariaAttr, yn as dataAttr, z as observeAttributes } from "../../dom-query-
|
|
2
|
+
import { I as scrollIntoView, W as raf, Zt as contains, _t as isCtrlOrMetaKey, cn as isEditableElement, ht as isComposingEvent, mt as getNativeEvent, pt as getEventTarget, s as getByTypeahead, ut as getEventKey, vn as ariaAttr, yn as dataAttr, z as observeAttributes } from "../../dom-query-CUb85Z22.mjs";
|
|
3
3
|
import { ft as isEqual, t as ensure, u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
4
4
|
import { a as GridCollection, i as Selection, o as isGridCollection, s as ListCollection } from "../../collection-CjwZd09Z.mjs";
|
|
5
|
-
import { o as setup } from "../../core-
|
|
6
|
-
import { a as trackFocusVisible, t as getInteractionModality } from "../../focus-visible-
|
|
5
|
+
import { o as setup } from "../../core-CujC6Y2H.mjs";
|
|
6
|
+
import { a as trackFocusVisible, t as getInteractionModality } from "../../focus-visible-Bm2uoacD.mjs";
|
|
7
7
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/machines/listbox/listbox.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-xZuxOsD4.cjs');
|
|
3
3
|
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
|
-
const require_core = require('../../core-
|
|
4
|
+
const require_core = require('../../core-CsVTCpQ_.cjs');
|
|
5
5
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
6
6
|
|
|
7
7
|
//#region src/machines/marquee/marquee.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, d as Orientation, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/marquee/marquee.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "content" | "viewport" | "edge">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/marquee/marquee.types.d.ts
|
|
9
9
|
interface PauseStatusDetails {
|
|
@@ -96,7 +96,7 @@ declare function connect<T extends PropTypes>(service: MarqueeService, normalize
|
|
|
96
96
|
declare const machine: Machine<MarqueeSchema>;
|
|
97
97
|
//#endregion
|
|
98
98
|
//#region src/machines/marquee/marquee.props.d.ts
|
|
99
|
-
declare const props: ("ids" | "id" | "getRootNode" | "paused" | "onComplete" | ("
|
|
100
|
-
declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "ids" | "id" | "getRootNode" | "paused" | "onComplete" | ("
|
|
99
|
+
declare const props: ("ids" | "id" | "getRootNode" | "paused" | "onComplete" | ("dir" | "reverse" | "translations" | "spacing" | "side" | "speed" | "delay" | "loopCount" | "autoFill" | "pauseOnInteraction" | "defaultPaused") | "onPauseChange" | "onLoopComplete")[];
|
|
100
|
+
declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "ids" | "id" | "getRootNode" | "paused" | "onComplete" | ("dir" | "reverse" | "translations" | "spacing" | "side" | "speed" | "delay" | "loopCount" | "autoFill" | "pauseOnInteraction" | "defaultPaused") | "onPauseChange" | "onLoopComplete">];
|
|
101
101
|
//#endregion
|
|
102
102
|
export { type MarqueeApi as Api, type ContentProps, type DimensionSnapshot, type EdgeProps, type ElementIds, type IntlTranslations, type MarqueeMachine as Machine, type Orientation, type PauseStatusDetails, type MarqueeProps as Props, type MarqueeService as Service, type Side, type UserDefinedContext, anatomy, connect, machine, props, splitProps };
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQ
|
|
|
3
3
|
import { b as NormalizeProps, d as Orientation, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/marquee/marquee.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "content" | "viewport" | "edge">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/marquee/marquee.types.d.ts
|
|
9
9
|
interface PauseStatusDetails {
|
|
@@ -96,7 +96,7 @@ declare function connect<T extends PropTypes>(service: MarqueeService, normalize
|
|
|
96
96
|
declare const machine: Machine<MarqueeSchema>;
|
|
97
97
|
//#endregion
|
|
98
98
|
//#region src/machines/marquee/marquee.props.d.ts
|
|
99
|
-
declare const props: ("ids" | "id" | "getRootNode" | "paused" | "onComplete" | ("
|
|
100
|
-
declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "ids" | "id" | "getRootNode" | "paused" | "onComplete" | ("
|
|
99
|
+
declare const props: ("ids" | "id" | "getRootNode" | "paused" | "onComplete" | ("dir" | "reverse" | "translations" | "spacing" | "side" | "speed" | "delay" | "loopCount" | "autoFill" | "pauseOnInteraction" | "defaultPaused") | "onPauseChange" | "onLoopComplete")[];
|
|
100
|
+
declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "ids" | "id" | "getRootNode" | "paused" | "onComplete" | ("dir" | "reverse" | "translations" | "spacing" | "side" | "speed" | "delay" | "loopCount" | "autoFill" | "pauseOnInteraction" | "defaultPaused") | "onPauseChange" | "onLoopComplete">];
|
|
101
101
|
//#endregion
|
|
102
102
|
export { type MarqueeApi as Api, type ContentProps, type DimensionSnapshot, type EdgeProps, type ElementIds, type IntlTranslations, type MarqueeMachine as Machine, type Orientation, type PauseStatusDetails, type MarqueeProps as Props, type MarqueeService as Service, type Side, type UserDefinedContext, anatomy, connect, machine, props, splitProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import { yn as dataAttr } from "../../dom-query-
|
|
2
|
+
import { yn as dataAttr } from "../../dom-query-CUb85Z22.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-CujC6Y2H.mjs";
|
|
5
5
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/marquee/marquee.anatomy.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
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-xZuxOsD4.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-
|
|
7
|
-
const require_popper = require('../../popper-
|
|
4
|
+
const require_core = require('../../core-CsVTCpQ_.cjs');
|
|
5
|
+
require('../../interact-outside-xGMuVVaa.cjs');
|
|
6
|
+
const require_dismissable = require('../../dismissable-DWJdIOtX.cjs');
|
|
7
|
+
const require_popper = require('../../popper-TNUpC0Kp.cjs');
|
|
8
8
|
const require_rect_utils = require('../../rect-utils-ChBPj9XR.cjs');
|
|
9
9
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
10
10
|
|
|
@@ -8,7 +8,7 @@ import { c as Placement, d as PositioningOptions } from "../../types-D5ziaMrd.cj
|
|
|
8
8
|
import { a as Point } from "../../types-DddL75YY.cjs";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/menu/menu.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"
|
|
11
|
+
declare const anatomy: AnatomyInstance<"indicator" | "item" | "trigger" | "separator" | "content" | "itemText" | "itemIndicator" | "arrow" | "positioner" | "arrowTip" | "itemGroup" | "itemGroupLabel" | "contextTrigger" | "triggerItem">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/menu/menu.types.d.ts
|
|
14
14
|
interface OpenChangeDetails {
|
|
@@ -8,7 +8,7 @@ import { p as PositioningOptions, u as Placement } from "../../index-BTi1wETB.mj
|
|
|
8
8
|
import { a as Point } from "../../types-J14X3oxU.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/menu/menu.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"
|
|
11
|
+
declare const anatomy: AnatomyInstance<"indicator" | "item" | "trigger" | "separator" | "content" | "itemText" | "itemIndicator" | "arrow" | "positioner" | "arrowTip" | "itemGroup" | "itemGroupLabel" | "contextTrigger" | "triggerItem">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/menu/menu.types.d.ts
|
|
14
14
|
interface OpenChangeDetails {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import { C as queryAll, Ct as isPrintableKey, G as getInitialFocus, I as scrollIntoView, K as isValidTabEvent, L as clickIfLink, St as isOpeningInNewTab, W as raf, Zt as contains, cn as isEditableElement, ct as addDomEvent, dt as getEventPoint, gt as isContextMenuEvent, in as getWindow, on as isAnchorElement, pt as getEventTarget, s as getByTypeahead, un as isHTMLElement, ut as getEventKey, vn as ariaAttr, vt as isDownloadingEvent, xt as isModifierKey, yn as dataAttr, z as observeAttributes } from "../../dom-query-
|
|
2
|
+
import { C as queryAll, Ct as isPrintableKey, G as getInitialFocus, I as scrollIntoView, K as isValidTabEvent, L as clickIfLink, St as isOpeningInNewTab, W as raf, Zt as contains, cn as isEditableElement, ct as addDomEvent, dt as getEventPoint, gt as isContextMenuEvent, in as getWindow, on as isAnchorElement, pt as getEventTarget, s as getByTypeahead, un as isHTMLElement, ut as getEventKey, vn as ariaAttr, vt as isDownloadingEvent, xt as isModifierKey, yn as dataAttr, z as observeAttributes } from "../../dom-query-CUb85Z22.mjs";
|
|
3
3
|
import { G as cast, Ot as prev, Tt as next, ft as isEqual, tt as hasProp, u as createSplitProps, vt as first, wt as last } from "../../utils-DSBXwmDm.mjs";
|
|
4
|
-
import { a as createMachine, c as mergeProps, i as createGuards } from "../../core-
|
|
5
|
-
import "../../interact-outside-
|
|
6
|
-
import { n as trackDismissableElement } from "../../dismissable-
|
|
7
|
-
import { n as getPlacement, r as getPlacementSide, t as getPlacementStyles } from "../../popper-
|
|
4
|
+
import { a as createMachine, c as mergeProps, i as createGuards } from "../../core-CujC6Y2H.mjs";
|
|
5
|
+
import "../../interact-outside-xKQjln5u.mjs";
|
|
6
|
+
import { n as trackDismissableElement } from "../../dismissable-CtFpYFBY.mjs";
|
|
7
|
+
import { n as getPlacement, r as getPlacementSide, t as getPlacementStyles } from "../../popper-DbfXVgrC.mjs";
|
|
8
8
|
import { i as isPointInPolygon, r as getElementPolygon } from "../../rect-utils-CDBAit19.mjs";
|
|
9
9
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
10
10
|
|
|
@@ -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-xZuxOsD4.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-CsVTCpQ_.cjs');
|
|
5
|
+
require('../../interact-outside-xGMuVVaa.cjs');
|
|
6
|
+
const require_dismissable = require('../../dismissable-DWJdIOtX.cjs');
|
|
7
7
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
8
8
|
|
|
9
9
|
//#region src/machines/navigation-menu/navigation-menu.anatomy.ts
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu6
|
|
|
3
3
|
import { _ as Size, b as NormalizeProps, d as Orientation, f as OrientationProperty, g as RequiredBy, m as Rect, p as Point, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/navigation-menu/navigation-menu.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "link" | "indicator" | "list" | "item" | "trigger" | "content" | "viewport" | "viewportPositioner" | "itemIndicator" | "arrow">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/navigation-menu/navigation-menu.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 { _ as Size, b as NormalizeProps, d as Orientation, f as OrientationProperty, g as RequiredBy, m as Rect, p as Point, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/navigation-menu/navigation-menu.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "link" | "indicator" | "list" | "item" | "trigger" | "content" | "viewport" | "viewportPositioner" | "itemIndicator" | "arrow">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/navigation-menu/navigation-menu.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import { C as queryAll, R as navigate, W as raf, Zt as contains, a as visuallyHiddenStyle, ct as addDomEvent, et as getTabbables, in as getWindow, wt as isSelfTarget, yn as dataAttr } from "../../dom-query-
|
|
2
|
+
import { C as queryAll, R as navigate, W as raf, Zt as contains, a as visuallyHiddenStyle, ct as addDomEvent, et as getTabbables, in as getWindow, wt as isSelfTarget, yn as dataAttr } from "../../dom-query-CUb85Z22.mjs";
|
|
3
3
|
import { H as toPx, W as callAll, n as ensureProps, u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
4
|
-
import { o as setup } from "../../core-
|
|
5
|
-
import "../../interact-outside-
|
|
6
|
-
import { n as trackDismissableElement } from "../../dismissable-
|
|
4
|
+
import { o as setup } from "../../core-CujC6Y2H.mjs";
|
|
5
|
+
import "../../interact-outside-xKQjln5u.mjs";
|
|
6
|
+
import { n as trackDismissableElement } from "../../dismissable-CtFpYFBY.mjs";
|
|
7
7
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/machines/navigation-menu/navigation-menu.anatomy.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_chunk = require('../../chunk-CbDLau6x.cjs');
|
|
2
2
|
const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
|
|
3
|
-
const require_dom_query = require('../../dom-query-
|
|
3
|
+
const require_dom_query = require('../../dom-query-xZuxOsD4.cjs');
|
|
4
4
|
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
5
|
-
const require_core = require('../../core-
|
|
5
|
+
const require_core = require('../../core-CsVTCpQ_.cjs');
|
|
6
6
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
7
7
|
let _internationalized_number = require("@internationalized/number");
|
|
8
8
|
|
|
@@ -127,8 +127,8 @@ function restoreCursor(inputEl, selection, scope) {
|
|
|
127
127
|
inputEl.setSelectionRange(start, end);
|
|
128
128
|
return;
|
|
129
129
|
}
|
|
130
|
-
const newStart =
|
|
131
|
-
const newEnd = start === end ? newStart :
|
|
130
|
+
const newStart = getNextCursorPosition(oldValue, newValue, start);
|
|
131
|
+
const newEnd = start === end ? newStart : getNextCursorPosition(oldValue, newValue, end);
|
|
132
132
|
const clampedStart = Math.max(0, Math.min(newStart, newValue.length));
|
|
133
133
|
const clampedEnd = Math.max(clampedStart, Math.min(newEnd, newValue.length));
|
|
134
134
|
inputEl.setSelectionRange(clampedStart, clampedEnd);
|
|
@@ -137,7 +137,7 @@ function restoreCursor(inputEl, selection, scope) {
|
|
|
137
137
|
inputEl.setSelectionRange(len, len);
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function getNextCursorPosition(oldValue, newValue, oldPosition) {
|
|
141
141
|
const beforeCursor = oldValue.slice(0, oldPosition);
|
|
142
142
|
const afterCursor = oldValue.slice(oldPosition);
|
|
143
143
|
let prefixLength = 0;
|
|
@@ -152,10 +152,11 @@ function getNewCursorPosition(oldValue, newValue, oldPosition) {
|
|
|
152
152
|
if (afterCursor[oldIndex] === newValue[newIndex]) suffixLength = i + 1;
|
|
153
153
|
else break;
|
|
154
154
|
}
|
|
155
|
-
if (prefixLength >= beforeCursor.length) return prefixLength;
|
|
155
|
+
if (beforeCursor.length > 0 && prefixLength >= beforeCursor.length) return prefixLength;
|
|
156
156
|
if (suffixLength >= afterCursor.length) return newValue.length - suffixLength;
|
|
157
157
|
if (prefixLength > 0) return prefixLength;
|
|
158
158
|
if (suffixLength > 0) return newValue.length - suffixLength;
|
|
159
|
+
if (oldPosition === 0 && prefixLength === 0 && suffixLength === 0) return newValue.length;
|
|
159
160
|
if (oldValue.length > 0) {
|
|
160
161
|
const ratio = oldPosition / oldValue.length;
|
|
161
162
|
return Math.round(ratio * newValue.length);
|
|
@@ -234,7 +235,12 @@ function connect(service, normalize) {
|
|
|
234
235
|
"data-required": require_dom_query.dataAttr(required),
|
|
235
236
|
"data-scrubbing": require_dom_query.dataAttr(scrubbing),
|
|
236
237
|
id: getLabelId(scope),
|
|
237
|
-
htmlFor: getInputId(scope)
|
|
238
|
+
htmlFor: getInputId(scope),
|
|
239
|
+
onClick() {
|
|
240
|
+
require_dom_query.raf(() => {
|
|
241
|
+
require_dom_query.setCaretToEnd(getInputEl(scope));
|
|
242
|
+
});
|
|
243
|
+
}
|
|
238
244
|
});
|
|
239
245
|
},
|
|
240
246
|
getControlProps() {
|
|
@@ -287,9 +293,8 @@ function connect(service, normalize) {
|
|
|
287
293
|
"aria-valuenow": Number.isNaN(computed("valueAsNumber")) ? void 0 : computed("valueAsNumber"),
|
|
288
294
|
"aria-valuetext": computed("valueText"),
|
|
289
295
|
"data-scrubbing": require_dom_query.dataAttr(scrubbing),
|
|
290
|
-
onFocus(
|
|
296
|
+
onFocus() {
|
|
291
297
|
send({ type: "INPUT.FOCUS" });
|
|
292
|
-
require_dom_query.setCaretToEnd(event.currentTarget);
|
|
293
298
|
},
|
|
294
299
|
onBlur() {
|
|
295
300
|
send({ type: "INPUT.BLUR" });
|
|
@@ -448,6 +453,9 @@ function connect(service, normalize) {
|
|
|
448
453
|
point
|
|
449
454
|
});
|
|
450
455
|
event.preventDefault();
|
|
456
|
+
require_dom_query.raf(() => {
|
|
457
|
+
require_dom_query.setCaretToEnd(getInputEl(scope));
|
|
458
|
+
});
|
|
451
459
|
},
|
|
452
460
|
style: { cursor: disabled ? void 0 : "ew-resize" }
|
|
453
461
|
});
|
|
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, o as LocaleProperties, t as Commo
|
|
|
4
4
|
import { NumberFormatter, NumberParser } from "@internationalized/number";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/number-input/number-input.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "valueText" | "control" | "input" | "incrementTrigger" | "decrementTrigger" | "scrubber">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/number-input/number-input.types.d.ts
|
|
10
10
|
interface ValueChangeDetails {
|
|
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, o as LocaleProperties, t as Commo
|
|
|
4
4
|
import { NumberFormatter, NumberParser } from "@internationalized/number";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/number-input/number-input.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "valueText" | "control" | "input" | "incrementTrigger" | "decrementTrigger" | "scrubber">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/number-input/number-input.types.d.ts
|
|
10
10
|
interface ValueChangeDetails {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import { W as raf, _n as MAX_Z_INDEX, bt as isLeftClick, ct as addDomEvent, dt as getEventPoint, ft as getEventStep, ht as isComposingEvent, in as getWindow, k as requestPointerLock, ot as setElementValue, st as trackFormControl, vn as ariaAttr, xn as setCaretToEnd, xt as isModifierKey, yn as dataAttr, z as observeAttributes, zt as isSafari } from "../../dom-query-
|
|
2
|
+
import { W as raf, _n as MAX_Z_INDEX, bt as isLeftClick, ct as addDomEvent, dt as getEventPoint, ft as getEventStep, ht as isComposingEvent, in as getWindow, k as requestPointerLock, ot as setElementValue, st as trackFormControl, vn as ariaAttr, xn as setCaretToEnd, xt as isModifierKey, yn as dataAttr, z as observeAttributes, zt as isSafari } from "../../dom-query-CUb85Z22.mjs";
|
|
3
3
|
import { I as roundToDpr, M as isValueAtMin, N as isValueWithinRange, U as wrap, W as callAll, _ as decrementValue, g as clampValue, j as isValueAtMax, k as incrementValue, u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
4
|
-
import { o as setup, s as memo } from "../../core-
|
|
4
|
+
import { o as setup, s as memo } from "../../core-CujC6Y2H.mjs";
|
|
5
5
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
6
6
|
import { NumberParser } from "@internationalized/number";
|
|
7
7
|
|
|
@@ -126,8 +126,8 @@ function restoreCursor(inputEl, selection, scope) {
|
|
|
126
126
|
inputEl.setSelectionRange(start, end);
|
|
127
127
|
return;
|
|
128
128
|
}
|
|
129
|
-
const newStart =
|
|
130
|
-
const newEnd = start === end ? newStart :
|
|
129
|
+
const newStart = getNextCursorPosition(oldValue, newValue, start);
|
|
130
|
+
const newEnd = start === end ? newStart : getNextCursorPosition(oldValue, newValue, end);
|
|
131
131
|
const clampedStart = Math.max(0, Math.min(newStart, newValue.length));
|
|
132
132
|
const clampedEnd = Math.max(clampedStart, Math.min(newEnd, newValue.length));
|
|
133
133
|
inputEl.setSelectionRange(clampedStart, clampedEnd);
|
|
@@ -136,7 +136,7 @@ function restoreCursor(inputEl, selection, scope) {
|
|
|
136
136
|
inputEl.setSelectionRange(len, len);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function getNextCursorPosition(oldValue, newValue, oldPosition) {
|
|
140
140
|
const beforeCursor = oldValue.slice(0, oldPosition);
|
|
141
141
|
const afterCursor = oldValue.slice(oldPosition);
|
|
142
142
|
let prefixLength = 0;
|
|
@@ -151,10 +151,11 @@ function getNewCursorPosition(oldValue, newValue, oldPosition) {
|
|
|
151
151
|
if (afterCursor[oldIndex] === newValue[newIndex]) suffixLength = i + 1;
|
|
152
152
|
else break;
|
|
153
153
|
}
|
|
154
|
-
if (prefixLength >= beforeCursor.length) return prefixLength;
|
|
154
|
+
if (beforeCursor.length > 0 && prefixLength >= beforeCursor.length) return prefixLength;
|
|
155
155
|
if (suffixLength >= afterCursor.length) return newValue.length - suffixLength;
|
|
156
156
|
if (prefixLength > 0) return prefixLength;
|
|
157
157
|
if (suffixLength > 0) return newValue.length - suffixLength;
|
|
158
|
+
if (oldPosition === 0 && prefixLength === 0 && suffixLength === 0) return newValue.length;
|
|
158
159
|
if (oldValue.length > 0) {
|
|
159
160
|
const ratio = oldPosition / oldValue.length;
|
|
160
161
|
return Math.round(ratio * newValue.length);
|
|
@@ -233,7 +234,12 @@ function connect(service, normalize) {
|
|
|
233
234
|
"data-required": dataAttr(required),
|
|
234
235
|
"data-scrubbing": dataAttr(scrubbing),
|
|
235
236
|
id: getLabelId(scope),
|
|
236
|
-
htmlFor: getInputId(scope)
|
|
237
|
+
htmlFor: getInputId(scope),
|
|
238
|
+
onClick() {
|
|
239
|
+
raf(() => {
|
|
240
|
+
setCaretToEnd(getInputEl(scope));
|
|
241
|
+
});
|
|
242
|
+
}
|
|
237
243
|
});
|
|
238
244
|
},
|
|
239
245
|
getControlProps() {
|
|
@@ -286,9 +292,8 @@ function connect(service, normalize) {
|
|
|
286
292
|
"aria-valuenow": Number.isNaN(computed("valueAsNumber")) ? void 0 : computed("valueAsNumber"),
|
|
287
293
|
"aria-valuetext": computed("valueText"),
|
|
288
294
|
"data-scrubbing": dataAttr(scrubbing),
|
|
289
|
-
onFocus(
|
|
295
|
+
onFocus() {
|
|
290
296
|
send({ type: "INPUT.FOCUS" });
|
|
291
|
-
setCaretToEnd(event.currentTarget);
|
|
292
297
|
},
|
|
293
298
|
onBlur() {
|
|
294
299
|
send({ type: "INPUT.BLUR" });
|
|
@@ -447,6 +452,9 @@ function connect(service, normalize) {
|
|
|
447
452
|
point
|
|
448
453
|
});
|
|
449
454
|
event.preventDefault();
|
|
455
|
+
raf(() => {
|
|
456
|
+
setCaretToEnd(getInputEl(scope));
|
|
457
|
+
});
|
|
450
458
|
},
|
|
451
459
|
style: { cursor: disabled ? void 0 : "ew-resize" }
|
|
452
460
|
});
|
|
@@ -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-xZuxOsD4.cjs');
|
|
3
3
|
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
|
-
const require_core = require('../../core-
|
|
4
|
+
const require_core = require('../../core-CsVTCpQ_.cjs');
|
|
5
5
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
6
6
|
|
|
7
7
|
//#region src/machines/pagination/pagination.anatomy.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
|
-
import { yn as dataAttr } from "../../dom-query-
|
|
2
|
+
import { yn as dataAttr } from "../../dom-query-CUb85Z22.mjs";
|
|
3
3
|
import { st as isNumber, 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-CujC6Y2H.mjs";
|
|
5
5
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/pagination/pagination.anatomy.ts
|