@sprawlify/primitives 0.0.98 → 0.0.99
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-UJAPt1aA.cjs → aria-hidden-BAGrxNHt.cjs} +1 -1
- package/dist/{aria-hidden-P3kaF8gG.mjs → aria-hidden-BX4SWNE_.mjs} +1 -1
- package/dist/aria-hidden.cjs +2 -2
- package/dist/aria-hidden.mjs +2 -2
- package/dist/{auto-resize-DzPXdyR-.cjs → auto-resize-B1BDDnp1.cjs} +1 -1
- package/dist/{auto-resize-Bjzuo5Lh.mjs → auto-resize-CN2vAzdj.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-DfVajPnu.mjs → core-BmIEKqtP.mjs} +1 -1
- package/dist/{core-BiGlJ-4W.cjs → core-nBg9RC_y.cjs} +1 -1
- package/dist/core.cjs +2 -2
- package/dist/core.mjs +2 -2
- package/dist/{dismissable-DPXx0m0m.cjs → dismissable-ChwcJMHk.cjs} +2 -2
- package/dist/{dismissable-BAYaXwxZ.mjs → dismissable-DWfZGIA7.mjs} +2 -2
- package/dist/dismissable.cjs +3 -3
- package/dist/dismissable.mjs +3 -3
- package/dist/{dom-query-6Wt-Tikf.cjs → dom-query-Bd63cRVF.cjs} +26 -6
- package/dist/{dom-query-dX8Dakb4.mjs → dom-query-s2ESLR2U.mjs} +15 -7
- package/dist/dom-query.cjs +3 -1
- package/dist/dom-query.d.cts +8 -2
- package/dist/dom-query.d.mts +8 -2
- package/dist/dom-query.mjs +2 -2
- package/dist/{focus-trap-Cd09JaUn.mjs → focus-trap-DzBvBlTH.mjs} +1 -1
- package/dist/{focus-trap-ClCNF7kY.cjs → focus-trap-fucc6OU_.cjs} +1 -1
- package/dist/focus-trap.cjs +2 -2
- package/dist/focus-trap.mjs +2 -2
- package/dist/{focus-visible-CqHoOOjw.cjs → focus-visible-75XTctXf.cjs} +1 -1
- package/dist/{focus-visible-CSuBQ5QZ.mjs → focus-visible-D5qBaAOn.mjs} +1 -1
- package/dist/focus-visible.cjs +2 -2
- package/dist/focus-visible.mjs +2 -2
- package/dist/{i18n-utils-bHwTSOWi.cjs → i18n-utils-DB-lUfrr.cjs} +1 -1
- package/dist/{i18n-utils-BsXTdcWB.mjs → i18n-utils-oWZyUib_.mjs} +1 -1
- package/dist/i18n-utils.cjs +2 -2
- package/dist/i18n-utils.mjs +2 -2
- package/dist/{interact-outside-C-8lOhpV.mjs → interact-outside-2qkUnl4N.mjs} +1 -1
- package/dist/{interact-outside-DRaFGdMg.cjs → interact-outside-Cx4J0EBf.cjs} +1 -1
- package/dist/interact-outside.cjs +2 -2
- package/dist/interact-outside.mjs +2 -2
- package/dist/{list-collection-C0swT4Wu.d.cts → list-collection-Cjgbx_9l.d.cts} +1 -1
- package/dist/{list-collection-AgReIMJ0.d.mts → list-collection-IF510iNl.d.mts} +1 -1
- package/dist/machines/accordion/index.cjs +2 -2
- package/dist/machines/accordion/index.d.cts +1 -1
- package/dist/machines/accordion/index.d.mts +1 -1
- 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/aspect-ratio/index.cjs +2 -2
- package/dist/machines/aspect-ratio/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/cascade-select/index.cjs +5 -5
- package/dist/machines/cascade-select/index.d.cts +2 -2
- package/dist/machines/cascade-select/index.d.mts +2 -2
- package/dist/machines/cascade-select/index.mjs +5 -5
- package/dist/machines/checkbox/index.cjs +3 -3
- 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 +52 -16
- 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 +53 -17
- 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/dropdown-menu/index.cjs +5 -5
- package/dist/machines/dropdown-menu/index.d.cts +1 -1
- package/dist/machines/dropdown-menu/index.d.mts +1 -1
- package/dist/machines/dropdown-menu/index.mjs +5 -5
- 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/navigation-menu/index.cjs +4 -4
- package/dist/machines/navigation-menu/index.d.cts +1 -1
- package/dist/machines/navigation-menu/index.d.mts +1 -1
- package/dist/machines/navigation-menu/index.mjs +4 -4
- package/dist/machines/number-input/index.cjs +2 -2
- package/dist/machines/number-input/index.d.cts +1 -1
- package/dist/machines/number-input/index.d.mts +1 -1
- package/dist/machines/number-input/index.mjs +2 -2
- package/dist/machines/pagination/index.cjs +2 -2
- package/dist/machines/pagination/index.mjs +2 -2
- package/dist/machines/password-input/index.cjs +2 -2
- package/dist/machines/password-input/index.mjs +2 -2
- package/dist/machines/pin-input/index.cjs +2 -2
- package/dist/machines/pin-input/index.mjs +2 -2
- package/dist/machines/popover/index.cjs +8 -8
- package/dist/machines/popover/index.d.cts +1 -1
- package/dist/machines/popover/index.d.mts +1 -1
- package/dist/machines/popover/index.mjs +8 -8
- package/dist/machines/presence/index.cjs +2 -2
- package/dist/machines/presence/index.mjs +2 -2
- package/dist/machines/progress/index.cjs +2 -2
- package/dist/machines/progress/index.d.cts +1 -1
- package/dist/machines/progress/index.d.mts +1 -1
- package/dist/machines/progress/index.mjs +2 -2
- package/dist/machines/qr-code/index.cjs +2 -2
- package/dist/machines/qr-code/index.mjs +2 -2
- package/dist/machines/radio-group/index.cjs +3 -3
- package/dist/machines/radio-group/index.d.cts +1 -1
- package/dist/machines/radio-group/index.d.mts +1 -1
- package/dist/machines/radio-group/index.mjs +3 -3
- package/dist/machines/rating-group/index.cjs +2 -2
- package/dist/machines/rating-group/index.d.cts +1 -1
- package/dist/machines/rating-group/index.d.mts +1 -1
- package/dist/machines/rating-group/index.mjs +2 -2
- package/dist/machines/scroll-area/index.cjs +2 -2
- package/dist/machines/scroll-area/index.d.cts +1 -1
- package/dist/machines/scroll-area/index.d.mts +1 -1
- package/dist/machines/scroll-area/index.mjs +2 -2
- package/dist/machines/select/index.cjs +22 -8
- package/dist/machines/select/index.d.cts +3 -2
- package/dist/machines/select/index.d.mts +3 -2
- package/dist/machines/select/index.mjs +22 -8
- package/dist/machines/separator/index.cjs +2 -2
- package/dist/machines/separator/index.mjs +2 -2
- package/dist/machines/signature-pad/index.cjs +2 -2
- package/dist/machines/signature-pad/index.mjs +2 -2
- package/dist/machines/slider/index.cjs +2 -2
- package/dist/machines/slider/index.d.cts +1 -1
- package/dist/machines/slider/index.d.mts +1 -1
- package/dist/machines/slider/index.mjs +2 -2
- package/dist/machines/splitter/index.cjs +2 -2
- package/dist/machines/splitter/index.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.mjs +3 -3
- package/dist/machines/tabs/index.cjs +2 -2
- package/dist/machines/tabs/index.d.cts +1 -1
- package/dist/machines/tabs/index.d.mts +1 -1
- package/dist/machines/tabs/index.mjs +2 -2
- package/dist/machines/tags-input/index.cjs +4 -4
- package/dist/machines/tags-input/index.d.cts +1 -1
- package/dist/machines/tags-input/index.d.mts +1 -1
- package/dist/machines/tags-input/index.mjs +4 -4
- package/dist/machines/timer/index.cjs +2 -2
- package/dist/machines/timer/index.d.cts +1 -1
- package/dist/machines/timer/index.d.mts +1 -1
- package/dist/machines/timer/index.mjs +2 -2
- package/dist/machines/toast/index.cjs +4 -4
- package/dist/machines/toast/index.d.cts +1 -1
- package/dist/machines/toast/index.d.mts +1 -1
- package/dist/machines/toast/index.mjs +4 -4
- package/dist/machines/toggle/index.cjs +2 -2
- package/dist/machines/toggle/index.mjs +2 -2
- package/dist/machines/toggle-group/index.cjs +2 -2
- package/dist/machines/toggle-group/index.mjs +2 -2
- package/dist/machines/tooltip/index.cjs +4 -4
- package/dist/machines/tooltip/index.d.cts +1 -1
- package/dist/machines/tooltip/index.d.mts +1 -1
- package/dist/machines/tooltip/index.mjs +4 -4
- package/dist/machines/tour/index.cjs +6 -6
- package/dist/machines/tour/index.d.cts +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.d.cts +1 -1
- package/dist/machines/tree-view/index.d.mts +1 -1
- package/dist/machines/tree-view/index.mjs +2 -2
- package/dist/{popper-CfOHZlHP.mjs → popper-3Bdh0pfy.mjs} +1 -1
- package/dist/{popper-zq1F_iY8.cjs → popper-Bca_O70s.cjs} +1 -1
- package/dist/popper.cjs +2 -2
- package/dist/popper.mjs +2 -2
- package/dist/{remove-scroll-B8AJyezV.cjs → remove-scroll-D9FAOapi.cjs} +1 -1
- package/dist/{remove-scroll-DCUb1JPX.mjs → remove-scroll-HcSiTbd5.mjs} +1 -1
- package/dist/{scroll-snap-De0H9CWU.mjs → scroll-snap-DfSwN3As.mjs} +1 -1
- package/dist/{scroll-snap-voc0pMJd.cjs → scroll-snap-Dp_2adEa.cjs} +1 -1
- package/dist/scroll-snap.cjs +2 -2
- package/dist/scroll-snap.mjs +2 -2
- package/dist/{selection-aObDFAzS.d.mts → selection-6urf-c8j.d.mts} +1 -1
- package/dist/{selection-k8FM_y4w.d.cts → selection-BmS2RDMq.d.cts} +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
-
const require_dom_query = require("../../dom-query-
|
|
3
|
+
const require_dom_query = require("../../dom-query-Bd63cRVF.cjs");
|
|
4
4
|
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
-
const require_core = require("../../core-
|
|
6
|
-
const require_focus_visible = require("../../focus-visible-
|
|
5
|
+
const require_core = require("../../core-nBg9RC_y.cjs");
|
|
6
|
+
const require_focus_visible = require("../../focus-visible-75XTctXf.cjs");
|
|
7
7
|
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
8
8
|
//#region src/machines/radio-group/radio-group.anatomy.ts
|
|
9
9
|
const anatomy = require_create_anatomy.createAnatomy("radio-group").parts("root", "label", "item", "itemText", "itemControl", "indicator");
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/radio-group/radio-group.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "indicator" | "item" | "itemText" | "itemControl">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/radio-group/radio-group.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/radio-group/radio-group.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "indicator" | "item" | "itemText" | "itemControl">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/radio-group/radio-group.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
-
import { C as queryAll,
|
|
2
|
+
import { C as queryAll, St as isLeftClick, Vt as isSafari, a as visuallyHiddenStyle, lt as trackFormControl, m as resizeObserverBorderBox, rt as dispatchInputCheckedEvent, xn as dataAttr } from "../../dom-query-s2ESLR2U.mjs";
|
|
3
3
|
import { H as toPx, u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
5
|
-
import { a as trackFocusVisible, n as isFocusVisible } from "../../focus-visible-
|
|
4
|
+
import { a as createMachine, i as createGuards } from "../../core-BmIEKqtP.mjs";
|
|
5
|
+
import { a as trackFocusVisible, n as isFocusVisible } from "../../focus-visible-D5qBaAOn.mjs";
|
|
6
6
|
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
7
7
|
//#region src/machines/radio-group/radio-group.anatomy.ts
|
|
8
8
|
const anatomy = createAnatomy("radio-group").parts("root", "label", "item", "itemText", "itemControl", "indicator");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
-
const require_dom_query = require("../../dom-query-
|
|
3
|
+
const require_dom_query = require("../../dom-query-Bd63cRVF.cjs");
|
|
4
4
|
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
-
const require_core = require("../../core-
|
|
5
|
+
const require_core = require("../../core-nBg9RC_y.cjs");
|
|
6
6
|
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
7
7
|
//#region src/machines/rating-group/rating-group.anatomy.ts
|
|
8
8
|
const anatomy = require_create_anatomy.createAnatomy("rating-group").parts("root", "label", "item", "control");
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/rating-group/rating-group.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "item">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/rating-group/rating-group.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/rating-group/rating-group.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "item">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/rating-group/rating-group.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
-
import { A as getRelativePoint, S as query, W as raf,
|
|
2
|
+
import { A as getRelativePoint, S as query, St as isLeftClick, W as raf, bn as ariaAttr, ft as getEventKey, it as dispatchInputValueEvent, lt as trackFormControl, pt as getEventPoint, xn as dataAttr } from "../../dom-query-s2ESLR2U.mjs";
|
|
3
3
|
import { u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
-
import { a as createMachine } from "../../core-
|
|
4
|
+
import { a as createMachine } from "../../core-BmIEKqtP.mjs";
|
|
5
5
|
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
6
6
|
//#region src/machines/rating-group/rating-group.anatomy.ts
|
|
7
7
|
const anatomy = createAnatomy("rating-group").parts("root", "label", "item", "control");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
-
const require_dom_query = require("../../dom-query-
|
|
3
|
+
const require_dom_query = require("../../dom-query-Bd63cRVF.cjs");
|
|
4
4
|
const require_defineProperty = require("../../defineProperty-8IOBQ1i_.cjs");
|
|
5
5
|
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
6
|
-
const require_core = require("../../core-
|
|
6
|
+
const require_core = require("../../core-nBg9RC_y.cjs");
|
|
7
7
|
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
8
8
|
//#region src/machines/scroll-area/scroll-area.anatomy.ts
|
|
9
9
|
const anatomy = require_create_anatomy.createAnatomy("scroll-area").parts("root", "viewport", "content", "scrollbar", "thumb", "corner");
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
|
|
|
3
3
|
import { _ as Size, b as NormalizeProps, d as Orientation, p as Point, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/scroll-area/scroll-area.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "thumb" | "content" | "viewport" | "scrollbar" | "corner">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/scroll-area/utils/timeout.d.ts
|
|
9
9
|
declare class Timeout {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
|
|
|
3
3
|
import { _ as Size, b as NormalizeProps, d as Orientation, p as Point, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/scroll-area/scroll-area.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "thumb" | "content" | "viewport" | "scrollbar" | "corner">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/scroll-area/utils/timeout.d.ts
|
|
9
9
|
declare class Timeout {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { $t as contains, E as trackPointerMove, Qt as getComputedStyle, S as query, d as setStyleProperty, ht as getEventTarget, pt as getEventPoint, ut as addDomEvent, xn as dataAttr } from "../../dom-query-s2ESLR2U.mjs";
|
|
3
3
|
import { t as _defineProperty } from "../../defineProperty-D5oW_HU_.mjs";
|
|
4
4
|
import { H as toPx, W as callAll, ft as isEqual, g as clampValue, l as compact, n as ensureProps, u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
5
|
-
import { a as createMachine } from "../../core-
|
|
5
|
+
import { a as createMachine } from "../../core-BmIEKqtP.mjs";
|
|
6
6
|
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
7
7
|
//#region src/machines/scroll-area/scroll-area.anatomy.ts
|
|
8
8
|
const anatomy = createAnatomy("scroll-area").parts("root", "viewport", "content", "scrollbar", "thumb", "corner");
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
-
const require_dom_query = require("../../dom-query-
|
|
3
|
+
const require_dom_query = require("../../dom-query-Bd63cRVF.cjs");
|
|
4
4
|
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
5
|
const require_collection = require("../../collection-BBgC8xCb.cjs");
|
|
6
|
-
const require_core = require("../../core-
|
|
7
|
-
require("../../interact-outside-
|
|
8
|
-
const require_dismissable = require("../../dismissable-
|
|
9
|
-
const require_popper = require("../../popper-
|
|
6
|
+
const require_core = require("../../core-nBg9RC_y.cjs");
|
|
7
|
+
require("../../interact-outside-Cx4J0EBf.cjs");
|
|
8
|
+
const require_dismissable = require("../../dismissable-ChwcJMHk.cjs");
|
|
9
|
+
const require_popper = require("../../popper-Bca_O70s.cjs");
|
|
10
10
|
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
11
11
|
//#region src/machines/select/select.anatomy.ts
|
|
12
12
|
const anatomy = require_create_anatomy.createAnatomy("select").parts("label", "positioner", "trigger", "indicator", "clearTrigger", "item", "itemText", "itemIndicator", "itemGroup", "itemGroupLabel", "list", "content", "root", "control", "valueText");
|
|
@@ -63,7 +63,7 @@ function connect(service, normalize) {
|
|
|
63
63
|
function getItemState(props) {
|
|
64
64
|
const _disabled = collection.getItemDisabled(props.item);
|
|
65
65
|
const value = collection.getItemValue(props.item);
|
|
66
|
-
require_utils.ensure(value, () => `[
|
|
66
|
+
require_utils.ensure(value, () => `[zag-js] No value found for item ${JSON.stringify(props.item)}`);
|
|
67
67
|
return {
|
|
68
68
|
value,
|
|
69
69
|
disabled: Boolean(disabled || _disabled),
|
|
@@ -371,6 +371,13 @@ function connect(service, normalize) {
|
|
|
371
371
|
getHiddenSelectProps() {
|
|
372
372
|
const value = context.get("value");
|
|
373
373
|
const defaultValue = prop("multiple") ? value : value?.[0];
|
|
374
|
+
const handleChange = (e) => {
|
|
375
|
+
if (require_dom_query.isInternalChangeEvent(require_dom_query.getNativeEvent(e))) return;
|
|
376
|
+
send({
|
|
377
|
+
type: "VALUE.SET",
|
|
378
|
+
value: getSelectedValues(e.currentTarget)
|
|
379
|
+
});
|
|
380
|
+
};
|
|
374
381
|
return normalize.select({
|
|
375
382
|
name: prop("name"),
|
|
376
383
|
form: prop("form"),
|
|
@@ -382,6 +389,9 @@ function connect(service, normalize) {
|
|
|
382
389
|
defaultValue,
|
|
383
390
|
style: require_dom_query.visuallyHiddenStyle,
|
|
384
391
|
tabIndex: -1,
|
|
392
|
+
autoComplete: prop("autoComplete"),
|
|
393
|
+
onChange: handleChange,
|
|
394
|
+
onInput: handleChange,
|
|
385
395
|
onFocus() {
|
|
386
396
|
getTriggerEl(scope)?.focus({ preventScroll: true });
|
|
387
397
|
},
|
|
@@ -475,6 +485,9 @@ function connect(service, normalize) {
|
|
|
475
485
|
}
|
|
476
486
|
};
|
|
477
487
|
}
|
|
488
|
+
const getSelectedValues = (el) => {
|
|
489
|
+
return el.multiple ? Array.from(el.selectedOptions, (o) => o.value) : el.value ? [el.value] : [];
|
|
490
|
+
};
|
|
478
491
|
//#endregion
|
|
479
492
|
//#region src/machines/select/select.machine.ts
|
|
480
493
|
const { and, not, or } = require_core.createGuards();
|
|
@@ -1088,11 +1101,11 @@ const machine = require_core.createMachine({
|
|
|
1088
1101
|
queueMicrotask(() => {
|
|
1089
1102
|
const node = getHiddenSelectEl(scope);
|
|
1090
1103
|
if (!node) return;
|
|
1091
|
-
const
|
|
1104
|
+
const evt = new (scope.getWin()).Event("change", {
|
|
1092
1105
|
bubbles: true,
|
|
1093
1106
|
composed: true
|
|
1094
1107
|
});
|
|
1095
|
-
node.dispatchEvent(
|
|
1108
|
+
node.dispatchEvent(require_dom_query.markAsInternalChangeEvent(evt));
|
|
1096
1109
|
});
|
|
1097
1110
|
}
|
|
1098
1111
|
}
|
|
@@ -1105,6 +1118,7 @@ function restoreFocusFn(event) {
|
|
|
1105
1118
|
//#endregion
|
|
1106
1119
|
//#region src/machines/select/select.props.ts
|
|
1107
1120
|
const props = require_create_props.createProps()([
|
|
1121
|
+
"autoComplete",
|
|
1108
1122
|
"closeOnSelect",
|
|
1109
1123
|
"collection",
|
|
1110
1124
|
"composite",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
2
|
import { r as CollectionOptions, t as CollectionItem } from "../../types-D-7AMgSE.cjs";
|
|
3
|
-
import { t as ListCollection } from "../../list-collection-
|
|
3
|
+
import { t as ListCollection } from "../../list-collection-Cjgbx_9l.cjs";
|
|
4
4
|
import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMTKq.cjs";
|
|
5
5
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
6
6
|
import { n as TypeaheadState } from "../../typeahead-DMooWbbX.cjs";
|
|
@@ -8,7 +8,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
8
8
|
import { c as Placement, d as PositioningOptions } from "../../types-DEn9MoSw.cjs";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/select/select.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
11
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "indicator" | "valueText" | "trigger" | "content" | "item" | "itemIndicator" | "list" | "positioner" | "itemText" | "clearTrigger" | "itemGroup" | "itemGroupLabel">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/select/select.collection.d.ts
|
|
14
14
|
declare const collection: {
|
|
@@ -56,6 +56,7 @@ interface SelectProps<T extends CollectionItem = CollectionItem> extends Directi
|
|
|
56
56
|
ids?: ElementIds | undefined;
|
|
57
57
|
name?: string | undefined;
|
|
58
58
|
form?: string | undefined;
|
|
59
|
+
autoComplete?: string | undefined;
|
|
59
60
|
disabled?: boolean | undefined;
|
|
60
61
|
invalid?: boolean | undefined;
|
|
61
62
|
readOnly?: boolean | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
|
|
2
2
|
import { r as CollectionOptions, t as CollectionItem } from "../../types-9uw8LHpE.mjs";
|
|
3
|
-
import { t as ListCollection } from "../../list-collection-
|
|
3
|
+
import { t as ListCollection } from "../../list-collection-IF510iNl.mjs";
|
|
4
4
|
import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rzfD.mjs";
|
|
5
5
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
6
6
|
import { n as TypeaheadState } from "../../typeahead-Bbeb1fAR.mjs";
|
|
@@ -8,7 +8,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
8
8
|
import { p as PositioningOptions, u as Placement } from "../../index-DHp3-EkH.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/select/select.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
11
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "indicator" | "valueText" | "trigger" | "content" | "item" | "itemIndicator" | "list" | "positioner" | "itemText" | "clearTrigger" | "itemGroup" | "itemGroupLabel">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/select/select.collection.d.ts
|
|
14
14
|
declare const collection: {
|
|
@@ -56,6 +56,7 @@ interface SelectProps<T extends CollectionItem = CollectionItem> extends Directi
|
|
|
56
56
|
ids?: ElementIds | undefined;
|
|
57
57
|
name?: string | undefined;
|
|
58
58
|
form?: string | undefined;
|
|
59
|
+
autoComplete?: string | undefined;
|
|
59
60
|
disabled?: boolean | undefined;
|
|
60
61
|
invalid?: boolean | undefined;
|
|
61
62
|
readOnly?: boolean | undefined;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
-
import { G as getInitialFocus, I as scrollIntoView, K as isValidTabEvent, W as raf,
|
|
2
|
+
import { $t as contains, G as getInitialFocus, I as scrollIntoView, K as isValidTabEvent, W as raf, a as visuallyHiddenStyle, at as isInternalChangeEvent, bn as ariaAttr, ft as getEventKey, gt as getNativeEvent, ht as getEventTarget, lt as trackFormControl, ot as markAsInternalChangeEvent, s as getByTypeahead, un as isEditableElement, xn as dataAttr, z as observeAttributes } from "../../dom-query-s2ESLR2U.mjs";
|
|
3
3
|
import { ft as isEqual, mt as addOrRemove, t as ensure, u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
4
|
import { s as ListCollection } from "../../collection-DgzidRvr.mjs";
|
|
5
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
6
|
-
import "../../interact-outside-
|
|
7
|
-
import { n as trackDismissableElement } from "../../dismissable-
|
|
8
|
-
import { n as getPlacement, t as getPlacementStyles } from "../../popper-
|
|
5
|
+
import { a as createMachine, i as createGuards } from "../../core-BmIEKqtP.mjs";
|
|
6
|
+
import "../../interact-outside-2qkUnl4N.mjs";
|
|
7
|
+
import { n as trackDismissableElement } from "../../dismissable-DWfZGIA7.mjs";
|
|
8
|
+
import { n as getPlacement, t as getPlacementStyles } from "../../popper-3Bdh0pfy.mjs";
|
|
9
9
|
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
10
10
|
//#region src/machines/select/select.anatomy.ts
|
|
11
11
|
const anatomy = createAnatomy("select").parts("label", "positioner", "trigger", "indicator", "clearTrigger", "item", "itemText", "itemIndicator", "itemGroup", "itemGroupLabel", "list", "content", "root", "control", "valueText");
|
|
@@ -62,7 +62,7 @@ function connect(service, normalize) {
|
|
|
62
62
|
function getItemState(props) {
|
|
63
63
|
const _disabled = collection.getItemDisabled(props.item);
|
|
64
64
|
const value = collection.getItemValue(props.item);
|
|
65
|
-
ensure(value, () => `[
|
|
65
|
+
ensure(value, () => `[zag-js] No value found for item ${JSON.stringify(props.item)}`);
|
|
66
66
|
return {
|
|
67
67
|
value,
|
|
68
68
|
disabled: Boolean(disabled || _disabled),
|
|
@@ -370,6 +370,13 @@ function connect(service, normalize) {
|
|
|
370
370
|
getHiddenSelectProps() {
|
|
371
371
|
const value = context.get("value");
|
|
372
372
|
const defaultValue = prop("multiple") ? value : value?.[0];
|
|
373
|
+
const handleChange = (e) => {
|
|
374
|
+
if (isInternalChangeEvent(getNativeEvent(e))) return;
|
|
375
|
+
send({
|
|
376
|
+
type: "VALUE.SET",
|
|
377
|
+
value: getSelectedValues(e.currentTarget)
|
|
378
|
+
});
|
|
379
|
+
};
|
|
373
380
|
return normalize.select({
|
|
374
381
|
name: prop("name"),
|
|
375
382
|
form: prop("form"),
|
|
@@ -381,6 +388,9 @@ function connect(service, normalize) {
|
|
|
381
388
|
defaultValue,
|
|
382
389
|
style: visuallyHiddenStyle,
|
|
383
390
|
tabIndex: -1,
|
|
391
|
+
autoComplete: prop("autoComplete"),
|
|
392
|
+
onChange: handleChange,
|
|
393
|
+
onInput: handleChange,
|
|
384
394
|
onFocus() {
|
|
385
395
|
getTriggerEl(scope)?.focus({ preventScroll: true });
|
|
386
396
|
},
|
|
@@ -474,6 +484,9 @@ function connect(service, normalize) {
|
|
|
474
484
|
}
|
|
475
485
|
};
|
|
476
486
|
}
|
|
487
|
+
const getSelectedValues = (el) => {
|
|
488
|
+
return el.multiple ? Array.from(el.selectedOptions, (o) => o.value) : el.value ? [el.value] : [];
|
|
489
|
+
};
|
|
477
490
|
//#endregion
|
|
478
491
|
//#region src/machines/select/select.machine.ts
|
|
479
492
|
const { and, not, or } = createGuards();
|
|
@@ -1087,11 +1100,11 @@ const machine = createMachine({
|
|
|
1087
1100
|
queueMicrotask(() => {
|
|
1088
1101
|
const node = getHiddenSelectEl(scope);
|
|
1089
1102
|
if (!node) return;
|
|
1090
|
-
const
|
|
1103
|
+
const evt = new (scope.getWin()).Event("change", {
|
|
1091
1104
|
bubbles: true,
|
|
1092
1105
|
composed: true
|
|
1093
1106
|
});
|
|
1094
|
-
node.dispatchEvent(
|
|
1107
|
+
node.dispatchEvent(markAsInternalChangeEvent(evt));
|
|
1095
1108
|
});
|
|
1096
1109
|
}
|
|
1097
1110
|
}
|
|
@@ -1104,6 +1117,7 @@ function restoreFocusFn(event) {
|
|
|
1104
1117
|
//#endregion
|
|
1105
1118
|
//#region src/machines/select/select.props.ts
|
|
1106
1119
|
const props = createProps()([
|
|
1120
|
+
"autoComplete",
|
|
1107
1121
|
"closeOnSelect",
|
|
1108
1122
|
"collection",
|
|
1109
1123
|
"composite",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
-
require("../../dom-query-
|
|
3
|
+
require("../../dom-query-Bd63cRVF.cjs");
|
|
4
4
|
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
-
const require_core = require("../../core-
|
|
5
|
+
const require_core = require("../../core-nBg9RC_y.cjs");
|
|
6
6
|
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
7
7
|
//#region src/machines/separator/separator.anatomy.ts
|
|
8
8
|
const anatomy = require_create_anatomy.createAnatomy("separator").parts("root");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
-
import "../../dom-query-
|
|
2
|
+
import "../../dom-query-s2ESLR2U.mjs";
|
|
3
3
|
import { u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
-
import { a as createMachine } from "../../core-
|
|
4
|
+
import { a as createMachine } from "../../core-BmIEKqtP.mjs";
|
|
5
5
|
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
6
6
|
//#region src/machines/separator/separator.anatomy.ts
|
|
7
7
|
const anatomy = createAnatomy("separator").parts("root");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
3
|
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
4
|
-
const require_dom_query = require("../../dom-query-
|
|
4
|
+
const require_dom_query = require("../../dom-query-Bd63cRVF.cjs");
|
|
5
5
|
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
6
|
-
const require_core = require("../../core-
|
|
6
|
+
const require_core = require("../../core-nBg9RC_y.cjs");
|
|
7
7
|
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
8
8
|
let perfect_freehand = require("perfect-freehand");
|
|
9
9
|
perfect_freehand = require_chunk.__toESM(perfect_freehand);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
-
import { A as getRelativePoint,
|
|
2
|
+
import { A as getRelativePoint, Ct as isModifierKey, E as trackPointerMove, S as query, St as isLeftClick, Wt as getDataUrl$1, ht as getEventTarget, xn as dataAttr } from "../../dom-query-s2ESLR2U.mjs";
|
|
3
3
|
import { u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
-
import { a as createMachine } from "../../core-
|
|
4
|
+
import { a as createMachine } from "../../core-BmIEKqtP.mjs";
|
|
5
5
|
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
6
6
|
import getStroke from "perfect-freehand";
|
|
7
7
|
//#region src/machines/signature-pad/signature-pad.anatomy.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
-
const require_dom_query = require("../../dom-query-
|
|
3
|
+
const require_dom_query = require("../../dom-query-Bd63cRVF.cjs");
|
|
4
4
|
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
-
const require_core = require("../../core-
|
|
5
|
+
const require_core = require("../../core-nBg9RC_y.cjs");
|
|
6
6
|
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
7
7
|
//#region src/machines/slider/slider.anatomy.ts
|
|
8
8
|
const anatomy = require_create_anatomy.createAnatomy("slider").parts("root", "label", "thumb", "valueText", "track", "range", "control", "markerGroup", "marker", "draggingIndicator");
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/slider/slider.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "track" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "track" | "thumb" | "valueText" | "markerGroup" | "marker" | "range" | "draggingIndicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/slider/slider.types.d.ts
|
|
9
9
|
type ThumbCollisionBehavior = "none" | "push" | "swap";
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/slider/slider.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "track" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "track" | "thumb" | "valueText" | "markerGroup" | "marker" | "range" | "draggingIndicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/slider/slider.types.d.ts
|
|
9
9
|
type ThumbCollisionBehavior = "none" | "push" | "swap";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
-
import { C as queryAll,
|
|
2
|
+
import { C as queryAll, Ct as isModifierKey, E as trackPointerMove, St as isLeftClick, W as raf, bn as ariaAttr, ct as setElementValue, ft as getEventKey, it as dispatchInputValueEvent, lt as trackFormControl, m as resizeObserverBorderBox, mt as getEventStep, pt as getEventPoint, xn as dataAttr } from "../../dom-query-s2ESLR2U.mjs";
|
|
3
3
|
import { B as snapValueToStep, C as getPercentValue, E as getValueRanges, H as toPx, N as isValueWithinRange, O as getValueTransformer, S as getNextStepValue, T as getValuePercent, W as callAll, ft as isEqual, g as clampValue, h as clampPercent, p as pick, u as createSplitProps, vt as first, w as getPreviousStepValue, wt as last, z as setValueAtIndex } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
-
import { a as createMachine, s as memo } from "../../core-
|
|
4
|
+
import { a as createMachine, s as memo } from "../../core-BmIEKqtP.mjs";
|
|
5
5
|
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
6
6
|
//#region src/machines/slider/slider.anatomy.ts
|
|
7
7
|
const anatomy = createAnatomy("slider").parts("root", "label", "thumb", "valueText", "track", "range", "control", "markerGroup", "marker", "draggingIndicator");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
-
const require_dom_query = require("../../dom-query-
|
|
3
|
+
const require_dom_query = require("../../dom-query-Bd63cRVF.cjs");
|
|
4
4
|
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
-
const require_core = require("../../core-
|
|
5
|
+
const require_core = require("../../core-nBg9RC_y.cjs");
|
|
6
6
|
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
7
7
|
//#region src/machines/splitter/splitter.anatomy.ts
|
|
8
8
|
const anatomy = require_create_anatomy.createAnatomy("splitter").parts("root", "panel", "resizeTrigger", "resizeTriggerIndicator");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
-
import { C as queryAll, E as trackPointerMove,
|
|
2
|
+
import { C as queryAll, E as trackPointerMove, St as isLeftClick, ft as getEventKey, pt as getEventPoint, xn as dataAttr } from "../../dom-query-s2ESLR2U.mjs";
|
|
3
3
|
import { Ot as prev, Tt as next, ft as isEqual, n as ensureProps, s as setRafTimeout, t as ensure, u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
-
import { a as createMachine } from "../../core-
|
|
4
|
+
import { a as createMachine } from "../../core-BmIEKqtP.mjs";
|
|
5
5
|
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
6
6
|
//#region src/machines/splitter/splitter.anatomy.ts
|
|
7
7
|
const anatomy = createAnatomy("splitter").parts("root", "panel", "resizeTrigger", "resizeTriggerIndicator");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
-
const require_dom_query = require("../../dom-query-
|
|
3
|
+
const require_dom_query = require("../../dom-query-Bd63cRVF.cjs");
|
|
4
4
|
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
-
const require_core = require("../../core-
|
|
5
|
+
const require_core = require("../../core-nBg9RC_y.cjs");
|
|
6
6
|
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
7
7
|
//#region src/machines/steps/steps.anatomy.ts
|
|
8
8
|
const anatomy = require_create_anatomy.createAnatomy("steps").parts("root", "list", "item", "trigger", "indicator", "separator", "content", "nextTrigger", "prevTrigger", "progress");
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.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" | "indicator" | "trigger" | "content" | "item" | "progress" | "list" | "separator" | "nextTrigger" | "prevTrigger">;
|
|
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-DUM9rz
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.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" | "indicator" | "trigger" | "content" | "item" | "progress" | "list" | "separator" | "nextTrigger" | "prevTrigger">;
|
|
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-Dr0evdYy.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { xn as dataAttr } from "../../dom-query-s2ESLR2U.mjs";
|
|
3
3
|
import { N as isValueWithinRange, bt as fromLength, u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
-
import { a as createMachine, s as memo } from "../../core-
|
|
4
|
+
import { a as createMachine, s as memo } from "../../core-BmIEKqtP.mjs";
|
|
5
5
|
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
6
6
|
//#region src/machines/steps/steps.anatomy.ts
|
|
7
7
|
const anatomy = createAnatomy("steps").parts("root", "list", "item", "trigger", "indicator", "separator", "content", "nextTrigger", "prevTrigger", "progress");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
-
const require_dom_query = require("../../dom-query-
|
|
3
|
+
const require_dom_query = require("../../dom-query-Bd63cRVF.cjs");
|
|
4
4
|
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
-
const require_core = require("../../core-
|
|
6
|
-
const require_focus_visible = require("../../focus-visible-
|
|
5
|
+
const require_core = require("../../core-nBg9RC_y.cjs");
|
|
6
|
+
const require_focus_visible = require("../../focus-visible-75XTctXf.cjs");
|
|
7
7
|
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
8
8
|
//#region src/machines/switch/switch.anatomy.ts
|
|
9
9
|
const anatomy = require_create_anatomy.createAnatomy("switch").parts("root", "label", "control", "thumb");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
-
import { T as trackPress, a as visuallyHiddenStyle,
|
|
2
|
+
import { T as trackPress, Vt as isSafari, a as visuallyHiddenStyle, ht as getEventTarget, lt as trackFormControl, rt as dispatchInputCheckedEvent, st as setElementChecked, xn as dataAttr } from "../../dom-query-s2ESLR2U.mjs";
|
|
3
3
|
import { u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
5
|
-
import { a as trackFocusVisible, n as isFocusVisible } from "../../focus-visible-
|
|
4
|
+
import { a as createMachine, i as createGuards } from "../../core-BmIEKqtP.mjs";
|
|
5
|
+
import { a as trackFocusVisible, n as isFocusVisible } from "../../focus-visible-D5qBaAOn.mjs";
|
|
6
6
|
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
7
7
|
//#region src/machines/switch/switch.anatomy.ts
|
|
8
8
|
const anatomy = createAnatomy("switch").parts("root", "label", "control", "thumb");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
-
const require_dom_query = require("../../dom-query-
|
|
3
|
+
const require_dom_query = require("../../dom-query-Bd63cRVF.cjs");
|
|
4
4
|
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
-
const require_core = require("../../core-
|
|
5
|
+
const require_core = require("../../core-nBg9RC_y.cjs");
|
|
6
6
|
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
7
7
|
//#region src/machines/tabs/tabs.anatomy.ts
|
|
8
8
|
const anatomy = require_create_anatomy.createAnatomy("tabs").parts("root", "list", "trigger", "content", "indicator");
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMT
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/tabs/tabs.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "indicator" | "trigger" | "content" | "list">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/tabs/tabs.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/tabs/tabs.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "indicator" | "trigger" | "content" | "list">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/tabs/tabs.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|