@sprawlify/primitives 0.0.57 → 0.0.59
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/collection.d.cts +2 -2
- package/dist/collection.d.mts +2 -2
- package/dist/date-utils.d.cts +5 -5
- package/dist/date-utils.d.mts +1 -1
- package/dist/{dismissable-CtFpYFBY.mjs → dismissable-D0YyXTJv.mjs} +7 -2
- package/dist/{dismissable-DWJdIOtX.cjs → dismissable-D9NEAGMU.cjs} +6 -1
- package/dist/dismissable.cjs +1 -1
- package/dist/dismissable.mjs +1 -1
- package/dist/dom-query.d.cts +1 -1
- package/dist/dom-query.d.mts +1 -1
- package/dist/{index-60_Ru8qp.d.mts → index-BTi1wETB.d.mts} +1 -1
- package/dist/{index-HnPpYuSl.d.mts → index-BqhWpjZh.d.mts} +5 -5
- package/dist/{list-collection-swuCMCIS.d.mts → list-collection-BbgocToA.d.mts} +1 -1
- package/dist/{list-collection-BslnP0r-.d.cts → list-collection-DettiQL3.d.cts} +1 -1
- package/dist/machines/angle-slider/index.d.cts +1 -1
- package/dist/machines/angle-slider/index.d.mts +1 -1
- package/dist/machines/bottom-sheet/index.cjs +1 -1
- package/dist/machines/bottom-sheet/index.mjs +1 -1
- package/dist/machines/carousel/index.d.cts +1 -1
- package/dist/machines/carousel/index.d.mts +1 -1
- package/dist/machines/clipboard/index.d.cts +1 -1
- package/dist/machines/clipboard/index.d.mts +1 -1
- package/dist/machines/color-picker/index.cjs +1 -1
- package/dist/machines/color-picker/index.d.cts +1 -1
- package/dist/machines/color-picker/index.d.mts +2 -2
- package/dist/machines/color-picker/index.mjs +1 -1
- package/dist/machines/combobox/index.cjs +1 -1
- package/dist/machines/combobox/index.d.cts +2 -2
- package/dist/machines/combobox/index.d.mts +3 -3
- package/dist/machines/combobox/index.mjs +1 -1
- package/dist/machines/date-picker/index.cjs +1 -1
- package/dist/machines/date-picker/index.d.cts +1 -1
- package/dist/machines/date-picker/index.d.mts +3 -3
- package/dist/machines/date-picker/index.mjs +1 -1
- package/dist/machines/dialog/index.cjs +1 -1
- package/dist/machines/dialog/index.d.cts +1 -1
- package/dist/machines/dialog/index.d.mts +1 -1
- package/dist/machines/dialog/index.mjs +1 -1
- package/dist/machines/editable/index.d.cts +1 -1
- package/dist/machines/editable/index.d.mts +1 -1
- package/dist/machines/file-upload/index.cjs +2 -2
- 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 +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/hover-card/index.cjs +1 -1
- package/dist/machines/hover-card/index.d.cts +1 -1
- package/dist/machines/hover-card/index.d.mts +2 -2
- package/dist/machines/hover-card/index.mjs +1 -1
- package/dist/machines/listbox/index.d.cts +3 -3
- package/dist/machines/listbox/index.d.mts +3 -3
- package/dist/machines/marquee/index.d.cts +3 -3
- package/dist/machines/marquee/index.d.mts +3 -3
- package/dist/machines/menu/index.cjs +30 -8
- package/dist/machines/menu/index.d.cts +2 -2
- package/dist/machines/menu/index.d.mts +3 -3
- package/dist/machines/menu/index.mjs +30 -8
- package/dist/machines/navigation-menu/index.cjs +1 -1
- 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 +1 -1
- package/dist/machines/number-input/index.d.cts +1 -1
- package/dist/machines/number-input/index.d.mts +1 -1
- package/dist/machines/pagination/index.d.cts +1 -1
- package/dist/machines/pagination/index.d.mts +1 -1
- package/dist/machines/password-input/index.d.cts +1 -1
- package/dist/machines/password-input/index.d.mts +1 -1
- package/dist/machines/pin-input/index.d.cts +1 -1
- package/dist/machines/pin-input/index.d.mts +1 -1
- package/dist/machines/popover/index.cjs +1 -1
- package/dist/machines/popover/index.d.cts +1 -1
- package/dist/machines/popover/index.d.mts +2 -2
- package/dist/machines/popover/index.mjs +1 -1
- package/dist/machines/progress/index.d.cts +1 -1
- package/dist/machines/progress/index.d.mts +1 -1
- package/dist/machines/radio-group/index.d.cts +1 -1
- package/dist/machines/radio-group/index.d.mts +1 -1
- package/dist/machines/scroll-area/index.d.cts +1 -1
- package/dist/machines/scroll-area/index.d.mts +1 -1
- package/dist/machines/select/index.cjs +1 -1
- package/dist/machines/select/index.d.cts +2 -2
- package/dist/machines/select/index.d.mts +3 -3
- package/dist/machines/select/index.mjs +1 -1
- package/dist/machines/slider/index.d.cts +1 -1
- package/dist/machines/slider/index.d.mts +1 -1
- package/dist/machines/splitter/index.d.cts +1 -1
- package/dist/machines/splitter/index.d.mts +1 -1
- package/dist/machines/steps/index.d.cts +1 -1
- package/dist/machines/steps/index.d.mts +1 -1
- package/dist/machines/tabs/index.d.cts +1 -1
- package/dist/machines/tabs/index.d.mts +1 -1
- package/dist/machines/tags-input/index.d.cts +1 -1
- package/dist/machines/tags-input/index.d.mts +1 -1
- package/dist/machines/timer/index.d.cts +1 -1
- package/dist/machines/timer/index.d.mts +1 -1
- package/dist/machines/toast/index.cjs +1 -1
- package/dist/machines/toast/index.d.cts +1 -1
- package/dist/machines/toast/index.d.mts +1 -1
- package/dist/machines/toast/index.mjs +1 -1
- package/dist/machines/tooltip/index.d.cts +1 -1
- package/dist/machines/tooltip/index.d.mts +2 -2
- package/dist/machines/tour/index.cjs +1 -1
- package/dist/machines/tour/index.d.cts +1 -1
- package/dist/machines/tour/index.d.mts +2 -2
- package/dist/machines/tour/index.mjs +1 -1
- package/dist/machines/tree-view/index.d.cts +1 -1
- package/dist/machines/tree-view/index.d.mts +1 -1
- package/dist/popper.d.cts +1 -1
- package/dist/popper.d.mts +1 -1
- package/dist/{selection-CIoBu9mp.d.mts → selection-CTaapzrB.d.mts} +1 -1
- package/dist/{selection-DTpiPgq8.d.cts → selection-D3b3yV_x.d.cts} +1 -1
- package/package.json +1 -1
|
@@ -193,8 +193,7 @@ function connect(service, normalize) {
|
|
|
193
193
|
tabIndex: disabled || readOnly || props$1.disableClick ? void 0 : 0,
|
|
194
194
|
role: props$1.disableClick ? "application" : "button",
|
|
195
195
|
"aria-label": translations.dropzone,
|
|
196
|
-
"aria-disabled": disabled,
|
|
197
|
-
"aria-readonly": readOnly,
|
|
196
|
+
"aria-disabled": disabled || readOnly || void 0,
|
|
198
197
|
"data-invalid": dataAttr(prop("invalid")),
|
|
199
198
|
"data-disabled": dataAttr(disabled),
|
|
200
199
|
"data-readonly": dataAttr(readOnly),
|
|
@@ -296,6 +295,7 @@ function connect(service, normalize) {
|
|
|
296
295
|
accept: computed("acceptAttr"),
|
|
297
296
|
webkitdirectory: prop("directory") ? "" : void 0,
|
|
298
297
|
multiple: computed("multiple") || prop("maxFiles") > 1,
|
|
298
|
+
"aria-hidden": true,
|
|
299
299
|
onClick(event) {
|
|
300
300
|
event.stopPropagation();
|
|
301
301
|
event.currentTarget.value = "";
|
|
@@ -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<"control" | "trigger" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"control" | "trigger" | "content" | "body" | "header" | "title" | "positioner" | "closeTrigger" | "resizeTrigger" | "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<"control" | "trigger" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"control" | "trigger" | "content" | "body" | "header" | "title" | "positioner" | "closeTrigger" | "resizeTrigger" | "dragTrigger" | "stageTrigger">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/floating-panel/floating-panel.types.d.ts
|
|
10
10
|
interface PositionChangeDetails {
|
|
@@ -3,7 +3,7 @@ require('../../dom-query-xZuxOsD4.cjs');
|
|
|
3
3
|
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
4
|
const require_core = require('../../core-CsVTCpQ_.cjs');
|
|
5
5
|
require('../../interact-outside-xGMuVVaa.cjs');
|
|
6
|
-
const require_dismissable = require('../../dismissable-
|
|
6
|
+
const require_dismissable = require('../../dismissable-D9NEAGMU.cjs');
|
|
7
7
|
const require_popper = require('../../popper-TNUpC0Kp.cjs');
|
|
8
8
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
9
9
|
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
5
5
|
import { 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<"trigger" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "arrow" | "arrowTip" | "positioner">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/hover-card/hover-card.types.d.ts
|
|
11
11
|
interface OpenChangeDetails {
|
|
@@ -2,10 +2,10 @@ import { n as AnatomyInstance } from "../../create-anatomy-DHVOqZET.mjs";
|
|
|
2
2
|
import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQk5.mjs";
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
4
4
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-Bvn6ocEE.mjs";
|
|
5
|
-
import { p as PositioningOptions, u as Placement } from "../../index-
|
|
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<"trigger" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "arrow" | "arrowTip" | "positioner">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/hover-card/hover-card.types.d.ts
|
|
11
11
|
interface OpenChangeDetails {
|
|
@@ -3,7 +3,7 @@ import "../../dom-query-CUb85Z22.mjs";
|
|
|
3
3
|
import { u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
4
4
|
import { a as createMachine, i as createGuards } from "../../core-CujC6Y2H.mjs";
|
|
5
5
|
import "../../interact-outside-xKQjln5u.mjs";
|
|
6
|
-
import { n as trackDismissableElement } from "../../dismissable-
|
|
6
|
+
import { n as trackDismissableElement } from "../../dismissable-D0YyXTJv.mjs";
|
|
7
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
|
|
|
@@ -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-DettiQL3.cjs";
|
|
4
|
+
import { i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "../../selection-D3b3yV_x.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<"root" | "
|
|
10
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "content" | "item" | "input" | "itemText" | "itemIndicator" | "valueText" | "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-BbgocToA.mjs";
|
|
4
|
+
import { i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "../../selection-CTaapzrB.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<"root" | "
|
|
10
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "content" | "item" | "input" | "itemText" | "itemIndicator" | "valueText" | "itemGroup" | "itemGroupLabel">;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/machines/listbox/listbox.collection.d.ts
|
|
13
13
|
declare const collection: {
|
|
@@ -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<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "content" | "item" | "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" | "
|
|
100
|
-
declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "ids" | "id" | "getRootNode" | "
|
|
99
|
+
declare const props: ("ids" | "id" | "getRootNode" | "onComplete" | "paused" | ("dir" | "reverse" | "translations" | "side" | "speed" | "delay" | "loopCount" | "spacing" | "autoFill" | "pauseOnInteraction" | "defaultPaused") | "onPauseChange" | "onLoopComplete")[];
|
|
100
|
+
declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "ids" | "id" | "getRootNode" | "onComplete" | "paused" | ("dir" | "reverse" | "translations" | "side" | "speed" | "delay" | "loopCount" | "spacing" | "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<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "content" | "item" | "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" | "
|
|
100
|
-
declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "ids" | "id" | "getRootNode" | "
|
|
99
|
+
declare const props: ("ids" | "id" | "getRootNode" | "onComplete" | "paused" | ("dir" | "reverse" | "translations" | "side" | "speed" | "delay" | "loopCount" | "spacing" | "autoFill" | "pauseOnInteraction" | "defaultPaused") | "onPauseChange" | "onLoopComplete")[];
|
|
100
|
+
declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "ids" | "id" | "getRootNode" | "onComplete" | "paused" | ("dir" | "reverse" | "translations" | "side" | "speed" | "delay" | "loopCount" | "spacing" | "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 @@ const require_dom_query = require('../../dom-query-xZuxOsD4.cjs');
|
|
|
3
3
|
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
4
|
const require_core = require('../../core-CsVTCpQ_.cjs');
|
|
5
5
|
require('../../interact-outside-xGMuVVaa.cjs');
|
|
6
|
-
const require_dismissable = require('../../dismissable-
|
|
6
|
+
const require_dismissable = require('../../dismissable-D9NEAGMU.cjs');
|
|
7
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');
|
|
@@ -130,7 +130,8 @@ function connect(service, normalize) {
|
|
|
130
130
|
type: "ITEM_POINTERMOVE",
|
|
131
131
|
id,
|
|
132
132
|
target,
|
|
133
|
-
closeOnSelect
|
|
133
|
+
closeOnSelect,
|
|
134
|
+
point: require_dom_query.getEventPoint(event)
|
|
134
135
|
});
|
|
135
136
|
},
|
|
136
137
|
onPointerLeave(event) {
|
|
@@ -852,8 +853,12 @@ const machine = require_core.createMachine({
|
|
|
852
853
|
}, { actions: ["clickHighlightedItem"] }],
|
|
853
854
|
ITEM_POINTERMOVE: [{
|
|
854
855
|
guard: not("isPointerSuspended"),
|
|
855
|
-
actions: [
|
|
856
|
-
|
|
856
|
+
actions: [
|
|
857
|
+
"setHighlightedItem",
|
|
858
|
+
"focusMenu",
|
|
859
|
+
"closeSiblingMenus"
|
|
860
|
+
]
|
|
861
|
+
}, { actions: ["setLastHighlightedItem", "closeSiblingMenus"] }],
|
|
857
862
|
ITEM_POINTERLEAVE: {
|
|
858
863
|
guard: and(not("isPointerSuspended"), not("isTriggerItem")),
|
|
859
864
|
actions: ["clearHighlightedItem"]
|
|
@@ -888,7 +893,10 @@ const machine = require_core.createMachine({
|
|
|
888
893
|
guard: "isTriggerItem",
|
|
889
894
|
actions: ["setIntentPolygon"]
|
|
890
895
|
},
|
|
891
|
-
TRIGGER_POINTERLEAVE: {
|
|
896
|
+
TRIGGER_POINTERLEAVE: {
|
|
897
|
+
target: "closing",
|
|
898
|
+
actions: ["setIntentPolygon"]
|
|
899
|
+
},
|
|
892
900
|
ITEM_POINTERDOWN: { actions: ["setHighlightedItem"] },
|
|
893
901
|
TYPEAHEAD: { actions: ["highlightMatchedItem"] },
|
|
894
902
|
FOCUS_MENU: { actions: ["focusMenu"] },
|
|
@@ -901,7 +909,7 @@ const machine = require_core.createMachine({
|
|
|
901
909
|
closeOnSelect: ({ prop, event }) => !!(event?.closeOnSelect ?? prop("closeOnSelect")),
|
|
902
910
|
isTriggerItem: ({ event }) => isTriggerItem(event.target),
|
|
903
911
|
isTriggerItemHighlighted: ({ event, scope, computed }) => {
|
|
904
|
-
return !!(event.target ?? scope.getById(computed("highlightedId")))?.hasAttribute("
|
|
912
|
+
return !!(event.target ?? scope.getById(computed("highlightedId")))?.hasAttribute("data-controls");
|
|
905
913
|
},
|
|
906
914
|
isSubmenu: ({ context }) => context.get("isSubmenu"),
|
|
907
915
|
isPointerSuspended: ({ context }) => context.get("suspendPointer"),
|
|
@@ -916,13 +924,13 @@ const machine = require_core.createMachine({
|
|
|
916
924
|
waitForOpenDelay({ send }) {
|
|
917
925
|
const timer = setTimeout(() => {
|
|
918
926
|
send({ type: "DELAY.OPEN" });
|
|
919
|
-
},
|
|
927
|
+
}, 200);
|
|
920
928
|
return () => clearTimeout(timer);
|
|
921
929
|
},
|
|
922
930
|
waitForCloseDelay({ send }) {
|
|
923
931
|
const timer = setTimeout(() => {
|
|
924
932
|
send({ type: "DELAY.CLOSE" });
|
|
925
|
-
},
|
|
933
|
+
}, 100);
|
|
926
934
|
return () => clearTimeout(timer);
|
|
927
935
|
},
|
|
928
936
|
waitForLongPress({ send }) {
|
|
@@ -1174,6 +1182,20 @@ const machine = require_core.createMachine({
|
|
|
1174
1182
|
children[event.id] = event.value;
|
|
1175
1183
|
refs.set("children", children);
|
|
1176
1184
|
},
|
|
1185
|
+
closeSiblingMenus({ refs, event, scope }) {
|
|
1186
|
+
const target = event.target;
|
|
1187
|
+
if (!isTriggerItem(target)) return;
|
|
1188
|
+
const hoveredChildId = target?.getAttribute("data-uid");
|
|
1189
|
+
const children = refs.get("children");
|
|
1190
|
+
for (const id in children) {
|
|
1191
|
+
if (id === hoveredChildId) continue;
|
|
1192
|
+
const child = children[id];
|
|
1193
|
+
const intentPolygon = child.context.get("intentPolygon");
|
|
1194
|
+
if (intentPolygon && event.point && require_rect_utils.isPointInPolygon(intentPolygon, event.point)) continue;
|
|
1195
|
+
getContentEl(scope)?.focus({ preventScroll: true });
|
|
1196
|
+
child.send({ type: "CLOSE" });
|
|
1197
|
+
}
|
|
1198
|
+
},
|
|
1177
1199
|
closeRootMenu({ refs }) {
|
|
1178
1200
|
closeRootMenu({ parent: refs.get("parent") });
|
|
1179
1201
|
},
|
|
@@ -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<"trigger" | "
|
|
11
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "indicator" | "item" | "separator" | "itemText" | "arrow" | "arrowTip" | "positioner" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "contextTrigger" | "triggerItem">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/menu/menu.types.d.ts
|
|
14
14
|
interface OpenChangeDetails {
|
|
@@ -84,7 +84,7 @@ interface MenuSchema {
|
|
|
84
84
|
}
|
|
85
85
|
type MenuService = Service<MenuSchema>;
|
|
86
86
|
type MenuMachine = Machine<MenuSchema>;
|
|
87
|
-
type ChildMenuService = Pick<MenuService, "prop" | "send" | "scope">;
|
|
87
|
+
type ChildMenuService = Pick<MenuService, "prop" | "send" | "scope" | "context">;
|
|
88
88
|
type ParentMenuService = Pick<MenuService, "prop" | "send" | "refs" | "context">;
|
|
89
89
|
interface Api {
|
|
90
90
|
getItemProps: (props: ItemProps) => Record<string, any>;
|
|
@@ -4,11 +4,11 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
4
4
|
import { n as TypeaheadState } from "../../typeahead-DMSwLv1e.mjs";
|
|
5
5
|
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-Bvn6ocEE.mjs";
|
|
6
6
|
import { t as DismissableElementHandlers } from "../../dismissable-layer-C39y-V3t.mjs";
|
|
7
|
-
import { p as PositioningOptions, u as Placement } from "../../index-
|
|
7
|
+
import { p as PositioningOptions, u as Placement } from "../../index-BTi1wETB.mjs";
|
|
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<"trigger" | "
|
|
11
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "indicator" | "item" | "separator" | "itemText" | "arrow" | "arrowTip" | "positioner" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "contextTrigger" | "triggerItem">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/menu/menu.types.d.ts
|
|
14
14
|
interface OpenChangeDetails {
|
|
@@ -84,7 +84,7 @@ interface MenuSchema {
|
|
|
84
84
|
}
|
|
85
85
|
type MenuService = Service<MenuSchema>;
|
|
86
86
|
type MenuMachine = Machine<MenuSchema>;
|
|
87
|
-
type ChildMenuService = Pick<MenuService, "prop" | "send" | "scope">;
|
|
87
|
+
type ChildMenuService = Pick<MenuService, "prop" | "send" | "scope" | "context">;
|
|
88
88
|
type ParentMenuService = Pick<MenuService, "prop" | "send" | "refs" | "context">;
|
|
89
89
|
interface Api {
|
|
90
90
|
getItemProps: (props: ItemProps) => Record<string, any>;
|
|
@@ -3,7 +3,7 @@ import { C as queryAll, Ct as isPrintableKey, G as getInitialFocus, I as scrollI
|
|
|
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
4
|
import { a as createMachine, c as mergeProps, i as createGuards } from "../../core-CujC6Y2H.mjs";
|
|
5
5
|
import "../../interact-outside-xKQjln5u.mjs";
|
|
6
|
-
import { n as trackDismissableElement } from "../../dismissable-
|
|
6
|
+
import { n as trackDismissableElement } from "../../dismissable-D0YyXTJv.mjs";
|
|
7
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";
|
|
@@ -130,7 +130,8 @@ function connect(service, normalize) {
|
|
|
130
130
|
type: "ITEM_POINTERMOVE",
|
|
131
131
|
id,
|
|
132
132
|
target,
|
|
133
|
-
closeOnSelect
|
|
133
|
+
closeOnSelect,
|
|
134
|
+
point: getEventPoint(event)
|
|
134
135
|
});
|
|
135
136
|
},
|
|
136
137
|
onPointerLeave(event) {
|
|
@@ -852,8 +853,12 @@ const machine = createMachine({
|
|
|
852
853
|
}, { actions: ["clickHighlightedItem"] }],
|
|
853
854
|
ITEM_POINTERMOVE: [{
|
|
854
855
|
guard: not("isPointerSuspended"),
|
|
855
|
-
actions: [
|
|
856
|
-
|
|
856
|
+
actions: [
|
|
857
|
+
"setHighlightedItem",
|
|
858
|
+
"focusMenu",
|
|
859
|
+
"closeSiblingMenus"
|
|
860
|
+
]
|
|
861
|
+
}, { actions: ["setLastHighlightedItem", "closeSiblingMenus"] }],
|
|
857
862
|
ITEM_POINTERLEAVE: {
|
|
858
863
|
guard: and(not("isPointerSuspended"), not("isTriggerItem")),
|
|
859
864
|
actions: ["clearHighlightedItem"]
|
|
@@ -888,7 +893,10 @@ const machine = createMachine({
|
|
|
888
893
|
guard: "isTriggerItem",
|
|
889
894
|
actions: ["setIntentPolygon"]
|
|
890
895
|
},
|
|
891
|
-
TRIGGER_POINTERLEAVE: {
|
|
896
|
+
TRIGGER_POINTERLEAVE: {
|
|
897
|
+
target: "closing",
|
|
898
|
+
actions: ["setIntentPolygon"]
|
|
899
|
+
},
|
|
892
900
|
ITEM_POINTERDOWN: { actions: ["setHighlightedItem"] },
|
|
893
901
|
TYPEAHEAD: { actions: ["highlightMatchedItem"] },
|
|
894
902
|
FOCUS_MENU: { actions: ["focusMenu"] },
|
|
@@ -901,7 +909,7 @@ const machine = createMachine({
|
|
|
901
909
|
closeOnSelect: ({ prop, event }) => !!(event?.closeOnSelect ?? prop("closeOnSelect")),
|
|
902
910
|
isTriggerItem: ({ event }) => isTriggerItem(event.target),
|
|
903
911
|
isTriggerItemHighlighted: ({ event, scope, computed }) => {
|
|
904
|
-
return !!(event.target ?? scope.getById(computed("highlightedId")))?.hasAttribute("
|
|
912
|
+
return !!(event.target ?? scope.getById(computed("highlightedId")))?.hasAttribute("data-controls");
|
|
905
913
|
},
|
|
906
914
|
isSubmenu: ({ context }) => context.get("isSubmenu"),
|
|
907
915
|
isPointerSuspended: ({ context }) => context.get("suspendPointer"),
|
|
@@ -916,13 +924,13 @@ const machine = createMachine({
|
|
|
916
924
|
waitForOpenDelay({ send }) {
|
|
917
925
|
const timer = setTimeout(() => {
|
|
918
926
|
send({ type: "DELAY.OPEN" });
|
|
919
|
-
},
|
|
927
|
+
}, 200);
|
|
920
928
|
return () => clearTimeout(timer);
|
|
921
929
|
},
|
|
922
930
|
waitForCloseDelay({ send }) {
|
|
923
931
|
const timer = setTimeout(() => {
|
|
924
932
|
send({ type: "DELAY.CLOSE" });
|
|
925
|
-
},
|
|
933
|
+
}, 100);
|
|
926
934
|
return () => clearTimeout(timer);
|
|
927
935
|
},
|
|
928
936
|
waitForLongPress({ send }) {
|
|
@@ -1174,6 +1182,20 @@ const machine = createMachine({
|
|
|
1174
1182
|
children[event.id] = event.value;
|
|
1175
1183
|
refs.set("children", children);
|
|
1176
1184
|
},
|
|
1185
|
+
closeSiblingMenus({ refs, event, scope }) {
|
|
1186
|
+
const target = event.target;
|
|
1187
|
+
if (!isTriggerItem(target)) return;
|
|
1188
|
+
const hoveredChildId = target?.getAttribute("data-uid");
|
|
1189
|
+
const children = refs.get("children");
|
|
1190
|
+
for (const id in children) {
|
|
1191
|
+
if (id === hoveredChildId) continue;
|
|
1192
|
+
const child = children[id];
|
|
1193
|
+
const intentPolygon = child.context.get("intentPolygon");
|
|
1194
|
+
if (intentPolygon && event.point && isPointInPolygon(intentPolygon, event.point)) continue;
|
|
1195
|
+
getContentEl(scope)?.focus({ preventScroll: true });
|
|
1196
|
+
child.send({ type: "CLOSE" });
|
|
1197
|
+
}
|
|
1198
|
+
},
|
|
1177
1199
|
closeRootMenu({ refs }) {
|
|
1178
1200
|
closeRootMenu({ parent: refs.get("parent") });
|
|
1179
1201
|
},
|
|
@@ -3,7 +3,7 @@ const require_dom_query = require('../../dom-query-xZuxOsD4.cjs');
|
|
|
3
3
|
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
4
|
const require_core = require('../../core-CsVTCpQ_.cjs');
|
|
5
5
|
require('../../interact-outside-xGMuVVaa.cjs');
|
|
6
|
-
const require_dismissable = require('../../dismissable-
|
|
6
|
+
const require_dismissable = require('../../dismissable-D9NEAGMU.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<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "list" | "trigger" | "content" | "indicator" | "item" | "viewport" | "link" | "arrow" | "itemIndicator" | "viewportPositioner">;
|
|
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<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "list" | "trigger" | "content" | "indicator" | "item" | "viewport" | "link" | "arrow" | "itemIndicator" | "viewportPositioner">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/navigation-menu/navigation-menu.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { C as queryAll, R as navigate, W as raf, Zt as contains, a as visuallyHi
|
|
|
3
3
|
import { H as toPx, W as callAll, n as ensureProps, u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
4
4
|
import { o as setup } from "../../core-CujC6Y2H.mjs";
|
|
5
5
|
import "../../interact-outside-xKQjln5u.mjs";
|
|
6
|
-
import { n as trackDismissableElement } from "../../dismissable-
|
|
6
|
+
import { n as trackDismissableElement } from "../../dismissable-D0YyXTJv.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
|
|
@@ -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<"root" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "valueText" | "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<"root" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "valueText" | "incrementTrigger" | "decrementTrigger" | "scrubber">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/number-input/number-input.types.d.ts
|
|
10
10
|
interface ValueChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu6
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/pagination/pagination.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "item" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "nextTrigger" | "prevTrigger" | "ellipsis" | "firstTrigger" | "lastTrigger">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/pagination/pagination.types.d.ts
|
|
9
9
|
interface PageChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQ
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/pagination/pagination.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "item" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "nextTrigger" | "prevTrigger" | "ellipsis" | "firstTrigger" | "lastTrigger">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/pagination/pagination.types.d.ts
|
|
9
9
|
interface PageChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu6
|
|
|
3
3
|
import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/password-input/password-input.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "indicator" | "input" | "visibilityTrigger">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/password-input/password-input.types.d.ts
|
|
9
9
|
interface VisibilityChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQ
|
|
|
3
3
|
import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/password-input/password-input.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "indicator" | "input" | "visibilityTrigger">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/password-input/password-input.types.d.ts
|
|
9
9
|
interface VisibilityChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu6
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/pin-input/pin-input.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/pin-input/pin-input.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQ
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/pin-input/pin-input.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/pin-input/pin-input.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -4,7 +4,7 @@ const require_aria_hidden = require('../../aria-hidden-kcYiyWLo.cjs');
|
|
|
4
4
|
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
5
5
|
const require_core = require('../../core-CsVTCpQ_.cjs');
|
|
6
6
|
require('../../interact-outside-xGMuVVaa.cjs');
|
|
7
|
-
const require_dismissable = require('../../dismissable-
|
|
7
|
+
const require_dismissable = require('../../dismissable-D9NEAGMU.cjs');
|
|
8
8
|
const require_focus_trap = require('../../focus-trap-DcDcihd5.cjs');
|
|
9
9
|
const require_popper = require('../../popper-TNUpC0Kp.cjs');
|
|
10
10
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
@@ -6,7 +6,7 @@ import { r as PersistentElementOptions, t as DismissableElementHandlers } from "
|
|
|
6
6
|
import { c as Placement, d as PositioningOptions } from "../../types-D5ziaMrd.cjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/popover/popover.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"trigger" | "
|
|
9
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "indicator" | "title" | "arrow" | "arrowTip" | "positioner" | "description" | "closeTrigger" | "anchor">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/popover/popover.types.d.ts
|
|
12
12
|
interface OpenChangeDetails {
|
|
@@ -3,10 +3,10 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQ
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
4
4
|
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-Bvn6ocEE.mjs";
|
|
5
5
|
import { r as PersistentElementOptions, t as DismissableElementHandlers } from "../../dismissable-layer-C39y-V3t.mjs";
|
|
6
|
-
import { p as PositioningOptions, u as Placement } from "../../index-
|
|
6
|
+
import { p as PositioningOptions, u as Placement } from "../../index-BTi1wETB.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/popover/popover.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"trigger" | "
|
|
9
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "indicator" | "title" | "arrow" | "arrowTip" | "positioner" | "description" | "closeTrigger" | "anchor">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/popover/popover.types.d.ts
|
|
12
12
|
interface OpenChangeDetails {
|
|
@@ -4,7 +4,7 @@ import { t as ariaHidden } from "../../aria-hidden-CVIz-P9c.mjs";
|
|
|
4
4
|
import { u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
5
5
|
import { a as createMachine } from "../../core-CujC6Y2H.mjs";
|
|
6
6
|
import "../../interact-outside-xKQjln5u.mjs";
|
|
7
|
-
import { n as trackDismissableElement } from "../../dismissable-
|
|
7
|
+
import { n as trackDismissableElement } from "../../dismissable-D0YyXTJv.mjs";
|
|
8
8
|
import { t as trapFocus } from "../../focus-trap-KZbY4M-m.mjs";
|
|
9
9
|
import { n as getPlacement, t as getPlacementStyles } from "../../popper-DbfXVgrC.mjs";
|
|
10
10
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
@@ -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, f as OrientationProperty, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/progress/progress.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "circle" | "view" | "valueText" | "range" | "circleTrack" | "circleRange">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/progress/progress.types.d.ts
|
|
9
9
|
type ProgressState = "indeterminate" | "loading" | "complete";
|
|
@@ -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, f as OrientationProperty, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/progress/progress.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "circle" | "view" | "valueText" | "range" | "circleTrack" | "circleRange">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/progress/progress.types.d.ts
|
|
9
9
|
type ProgressState = "indeterminate" | "loading" | "complete";
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu6
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/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 {
|