@sprawlify/primitives 0.1.10 → 0.1.12
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-BBgC8xCb.cjs → collection-D0Abtxc0.cjs} +68 -0
- package/dist/{collection-DgzidRvr.mjs → collection-GSpaYJ2f.mjs} +45 -1
- package/dist/collection.cjs +5 -1
- package/dist/collection.d.cts +49 -3
- package/dist/collection.d.mts +49 -3
- package/dist/collection.mjs +2 -2
- package/dist/{focus-trap-BewqTQFt.cjs → focus-trap-BbU9QXMe.cjs} +1 -1
- package/dist/{focus-trap-Do8IUXYh.mjs → focus-trap-CzhQ01j4.mjs} +1 -1
- package/dist/focus-trap.cjs +1 -1
- package/dist/focus-trap.mjs +1 -1
- package/dist/{list-collection-B_8BN0XB.d.cts → list-collection-Cjgbx_9l.d.cts} +1 -1
- package/dist/{list-collection-DkRA5LOq.d.mts → list-collection-IF510iNl.d.mts} +1 -1
- package/dist/machines/accordion/index.d.cts +1 -1
- package/dist/machines/accordion/index.d.mts +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/cascade-select/index.cjs +1 -1
- 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 +1 -1
- package/dist/machines/clipboard/index.d.cts +1 -1
- package/dist/machines/clipboard/index.d.mts +1 -1
- package/dist/machines/collapsible/index.d.cts +1 -1
- package/dist/machines/collapsible/index.d.mts +1 -1
- package/dist/machines/color-picker/index.d.cts +1 -1
- package/dist/machines/color-picker/index.d.mts +1 -1
- package/dist/machines/combobox/index.cjs +279 -355
- package/dist/machines/combobox/index.d.cts +5 -4
- package/dist/machines/combobox/index.d.mts +5 -4
- package/dist/machines/combobox/index.mjs +279 -355
- package/dist/machines/date-input/index.cjs +1830 -0
- package/dist/machines/date-input/index.d.cts +223 -0
- package/dist/machines/date-input/index.d.mts +223 -0
- package/dist/machines/date-input/index.mjs +1813 -0
- package/dist/machines/date-picker/index.d.cts +1 -1
- package/dist/machines/date-picker/index.d.mts +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/drawer/index.cjs +1 -1
- package/dist/machines/drawer/index.d.cts +1 -1
- package/dist/machines/drawer/index.d.mts +1 -1
- package/dist/machines/drawer/index.mjs +1 -1
- package/dist/machines/dropdown-menu/index.d.cts +1 -1
- package/dist/machines/dropdown-menu/index.d.mts +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.d.cts +1 -1
- package/dist/machines/file-upload/index.d.mts +1 -1
- 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.d.cts +1 -1
- package/dist/machines/hover-card/index.d.mts +1 -1
- package/dist/machines/listbox/index.cjs +41 -16
- package/dist/machines/listbox/index.d.cts +5 -4
- package/dist/machines/listbox/index.d.mts +5 -4
- package/dist/machines/listbox/index.mjs +42 -17
- package/dist/machines/marquee/index.d.cts +2 -2
- package/dist/machines/marquee/index.d.mts +2 -2
- package/dist/machines/navigation-menu/index.d.cts +1 -1
- package/dist/machines/navigation-menu/index.d.mts +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/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 +1 -1
- 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/select/index.cjs +47 -18
- package/dist/machines/select/index.d.cts +4 -3
- package/dist/machines/select/index.d.mts +4 -3
- package/dist/machines/select/index.mjs +48 -19
- package/dist/machines/signature-pad/index.d.cts +1 -1
- package/dist/machines/signature-pad/index.d.mts +1 -1
- package/dist/machines/slider/index.d.cts +1 -1
- package/dist/machines/slider/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/switch/index.d.cts +1 -1
- package/dist/machines/switch/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.d.cts +1 -1
- package/dist/machines/toast/index.d.mts +1 -1
- package/dist/machines/tooltip/index.d.cts +1 -1
- package/dist/machines/tooltip/index.d.mts +1 -1
- package/dist/machines/tour/index.cjs +1 -1
- package/dist/machines/tour/index.d.cts +1 -1
- package/dist/machines/tour/index.d.mts +1 -1
- package/dist/machines/tour/index.mjs +1 -1
- package/dist/machines/tree-view/index.cjs +1 -1
- 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 +1 -1
- package/dist/{selection-DdNvrKbj.d.mts → selection-6urf-c8j.d.mts} +1 -1
- package/dist/{selection-Bb_ZSVxe.d.cts → selection-BmS2RDMq.d.cts} +1 -1
- package/package.json +13 -1
|
@@ -8,7 +8,7 @@ import { c as Placement, d as PositioningOptions } from "../../types-CZAtqGqH.cj
|
|
|
8
8
|
import { Calendar, CalendarDate, CalendarDateTime, CalendarIdentifier, DateDuration, DateFormatter, ZonedDateTime } from "@internationalized/date";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/date-picker/date-picker.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
11
|
+
declare const anatomy: AnatomyInstance<"root" | "content" | "label" | "control" | "trigger" | "input" | "positioner" | "table" | "view" | "nextTrigger" | "prevTrigger" | "clearTrigger" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/date-picker/date-picker.types.d.ts
|
|
14
14
|
type DateView = "day" | "month" | "year";
|
|
@@ -8,7 +8,7 @@ import { p as PositioningOptions, u as Placement } from "../../index-fMh0VDkR.mj
|
|
|
8
8
|
import { Calendar, CalendarDate, CalendarDateTime, CalendarIdentifier, DateDuration, DateFormatter, ZonedDateTime } from "@internationalized/date";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/date-picker/date-picker.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
11
|
+
declare const anatomy: AnatomyInstance<"root" | "content" | "label" | "control" | "trigger" | "input" | "positioner" | "table" | "view" | "nextTrigger" | "prevTrigger" | "clearTrigger" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/date-picker/date-picker.types.d.ts
|
|
14
14
|
type DateView = "day" | "month" | "year";
|
|
@@ -6,7 +6,7 @@ const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
|
6
6
|
const require_core = require("../../core-Bw_czdwX.cjs");
|
|
7
7
|
require("../../interact-outside-Bg-QSXqp.cjs");
|
|
8
8
|
const require_dismissable = require("../../dismissable-DxjbwsOf.cjs");
|
|
9
|
-
const require_focus_trap = require("../../focus-trap-
|
|
9
|
+
const require_focus_trap = require("../../focus-trap-BbU9QXMe.cjs");
|
|
10
10
|
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
11
11
|
const require_remove_scroll = require("../../remove-scroll-D4CMJmU2.cjs");
|
|
12
12
|
//#region src/machines/dialog/dialog.anatomy.ts
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOuts
|
|
|
5
5
|
import { r as PersistentElementOptions, t as DismissableElementHandlers } from "../../dismissable-layer-ZgyqN8AD.cjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/dialog/dialog.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"
|
|
8
|
+
declare const anatomy: AnatomyInstance<"content" | "trigger" | "title" | "description" | "closeTrigger" | "positioner" | "backdrop">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/dialog/dialog.types.d.ts
|
|
11
11
|
interface OpenChangeDetails {
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOuts
|
|
|
5
5
|
import { r as PersistentElementOptions, t as DismissableElementHandlers } from "../../dismissable-layer-h14gHVbJ.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/dialog/dialog.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"
|
|
8
|
+
declare const anatomy: AnatomyInstance<"content" | "trigger" | "title" | "description" | "closeTrigger" | "positioner" | "backdrop">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/dialog/dialog.types.d.ts
|
|
11
11
|
interface OpenChangeDetails {
|
|
@@ -5,7 +5,7 @@ import { u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
|
5
5
|
import { a as createMachine } from "../../core-CTtbW9qh.mjs";
|
|
6
6
|
import "../../interact-outside-Ba50N1a5.mjs";
|
|
7
7
|
import { n as trackDismissableElement } from "../../dismissable-B9k5K6f9.mjs";
|
|
8
|
-
import { t as trapFocus } from "../../focus-trap-
|
|
8
|
+
import { t as trapFocus } from "../../focus-trap-CzhQ01j4.mjs";
|
|
9
9
|
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
10
10
|
import { t as preventBodyScroll } from "../../remove-scroll-D55GZoBb.mjs";
|
|
11
11
|
//#region src/machines/dialog/dialog.anatomy.ts
|
|
@@ -7,7 +7,7 @@ const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
|
7
7
|
const require_core = require("../../core-Bw_czdwX.cjs");
|
|
8
8
|
require("../../interact-outside-Bg-QSXqp.cjs");
|
|
9
9
|
const require_dismissable = require("../../dismissable-DxjbwsOf.cjs");
|
|
10
|
-
const require_focus_trap = require("../../focus-trap-
|
|
10
|
+
const require_focus_trap = require("../../focus-trap-BbU9QXMe.cjs");
|
|
11
11
|
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
12
12
|
const require_remove_scroll = require("../../remove-scroll-D4CMJmU2.cjs");
|
|
13
13
|
//#region src/machines/drawer/drawer.anatomy.ts
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOuts
|
|
|
5
5
|
import { t as DismissableElementHandlers } from "../../dismissable-layer-ZgyqN8AD.cjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/drawer/drawer.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"
|
|
8
|
+
declare const anatomy: AnatomyInstance<"content" | "trigger" | "title" | "description" | "closeTrigger" | "positioner" | "backdrop" | "grabber" | "grabberIndicator" | "swipeArea">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/drawer/utils/session.d.ts
|
|
11
11
|
type GestureAxis = "x" | "y";
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOuts
|
|
|
5
5
|
import { t as DismissableElementHandlers } from "../../dismissable-layer-h14gHVbJ.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/drawer/drawer.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"
|
|
8
|
+
declare const anatomy: AnatomyInstance<"content" | "trigger" | "title" | "description" | "closeTrigger" | "positioner" | "backdrop" | "grabber" | "grabberIndicator" | "swipeArea">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/drawer/utils/session.d.ts
|
|
11
11
|
type GestureAxis = "x" | "y";
|
|
@@ -6,7 +6,7 @@ import { H as toPx, g as clampValue, l as compact, u as createSplitProps } from
|
|
|
6
6
|
import { a as createMachine, i as createGuards } from "../../core-CTtbW9qh.mjs";
|
|
7
7
|
import "../../interact-outside-Ba50N1a5.mjs";
|
|
8
8
|
import { n as trackDismissableElement } from "../../dismissable-B9k5K6f9.mjs";
|
|
9
|
-
import { t as trapFocus } from "../../focus-trap-
|
|
9
|
+
import { t as trapFocus } from "../../focus-trap-CzhQ01j4.mjs";
|
|
10
10
|
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
11
11
|
import { t as preventBodyScroll } from "../../remove-scroll-D55GZoBb.mjs";
|
|
12
12
|
//#region src/machines/drawer/drawer.anatomy.ts
|
|
@@ -8,7 +8,7 @@ import { c as Placement, d as PositioningOptions } from "../../types-CZAtqGqH.cj
|
|
|
8
8
|
import { a as Point } from "../../types-CLXYEgfm.cjs";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/dropdown-menu/dropdown-menu.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"
|
|
11
|
+
declare const anatomy: AnatomyInstance<"content" | "trigger" | "indicator" | "item" | "itemIndicator" | "itemText" | "separator" | "arrow" | "arrowTip" | "positioner" | "itemGroup" | "itemGroupLabel" | "triggerItem">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/dropdown-menu/dropdown-menu.types.d.ts
|
|
14
14
|
interface OpenChangeDetails {
|
|
@@ -8,7 +8,7 @@ import { p as PositioningOptions, u as Placement } from "../../index-fMh0VDkR.mj
|
|
|
8
8
|
import { a as Point } from "../../types-DU764tY_.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/dropdown-menu/dropdown-menu.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"
|
|
11
|
+
declare const anatomy: AnatomyInstance<"content" | "trigger" | "indicator" | "item" | "itemIndicator" | "itemText" | "separator" | "arrow" | "arrowTip" | "positioner" | "itemGroup" | "itemGroupLabel" | "triggerItem">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/dropdown-menu/dropdown-menu.types.d.ts
|
|
14
14
|
interface OpenChangeDetails {
|
|
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
4
4
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-DzWGFhcS.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/editable/editable.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/editable/editable.types.d.ts
|
|
10
10
|
interface ValueChangeDetails {
|
|
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
4
4
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CGNNiDyE.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/editable/editable.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "input" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/editable/editable.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 { i as FileMimeType, r as FileError } from "../../types-CylWsfOz.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/file-upload/file-upload.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "item" | "itemGroup" | "clearTrigger" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "item" | "itemGroup" | "clearTrigger" | "dropzone" | "itemDeleteTrigger" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/file-upload/file-upload.types.d.ts
|
|
10
10
|
interface FileRejection {
|
|
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, o as LocaleProperties, t as Commo
|
|
|
4
4
|
import { i as FileMimeType, r as FileError } from "../../types-Cctd5dol.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/file-upload/file-upload.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "item" | "itemGroup" | "clearTrigger" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "item" | "itemGroup" | "clearTrigger" | "dropzone" | "itemDeleteTrigger" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/file-upload/file-upload.types.d.ts
|
|
10
10
|
interface FileRejection {
|
|
@@ -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-CLXYEgfm.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/floating-panel/floating-panel.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"
|
|
7
|
+
declare const anatomy: AnatomyInstance<"content" | "control" | "trigger" | "title" | "closeTrigger" | "positioner" | "body" | "header" | "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-DU764tY_.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/floating-panel/floating-panel.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"
|
|
7
|
+
declare const anatomy: AnatomyInstance<"content" | "control" | "trigger" | "title" | "closeTrigger" | "positioner" | "body" | "header" | "resizeTrigger" | "dragTrigger" | "stageTrigger">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/floating-panel/floating-panel.types.d.ts
|
|
10
10
|
interface PositionChangeDetails {
|
|
@@ -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-CZAtqGqH.cjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/hover-card/hover-card.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"
|
|
8
|
+
declare const anatomy: AnatomyInstance<"content" | "trigger" | "arrow" | "arrowTip" | "positioner">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/hover-card/hover-card.types.d.ts
|
|
11
11
|
interface OpenChangeDetails {
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
5
5
|
import { p as PositioningOptions, u as Placement } from "../../index-fMh0VDkR.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/hover-card/hover-card.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"
|
|
8
|
+
declare const anatomy: AnatomyInstance<"content" | "trigger" | "arrow" | "arrowTip" | "positioner">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/hover-card/hover-card.types.d.ts
|
|
11
11
|
interface OpenChangeDetails {
|
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
3
|
const require_dom_query = require("../../dom-query-BUO7rGsg.cjs");
|
|
4
4
|
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
-
const require_collection = require("../../collection-
|
|
5
|
+
const require_collection = require("../../collection-D0Abtxc0.cjs");
|
|
6
6
|
const require_core = require("../../core-Bw_czdwX.cjs");
|
|
7
7
|
const require_focus_visible = require("../../focus-visible-Co_9bW09.cjs");
|
|
8
8
|
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
@@ -47,7 +47,7 @@ function connect(service, normalize) {
|
|
|
47
47
|
const focusVisible = refs.get("focusVisible") && focused;
|
|
48
48
|
const inputState = refs.get("inputState");
|
|
49
49
|
const value = context.get("value");
|
|
50
|
-
const selectedItems =
|
|
50
|
+
const selectedItems = computed("selectedItems");
|
|
51
51
|
const highlightedValue = context.get("highlightedValue");
|
|
52
52
|
const highlightedItem = context.get("highlightedItem");
|
|
53
53
|
const isTypingAhead = computed("isTypingAhead");
|
|
@@ -465,17 +465,32 @@ const machine = createMachine({
|
|
|
465
465
|
...props
|
|
466
466
|
};
|
|
467
467
|
},
|
|
468
|
-
context({ prop, bindable }) {
|
|
468
|
+
context({ prop, bindable, getContext }) {
|
|
469
|
+
const initialValue = prop("value") ?? prop("defaultValue") ?? [];
|
|
470
|
+
const initialSelectedItems = prop("collection").findMany(initialValue);
|
|
469
471
|
return {
|
|
470
472
|
value: bindable(() => ({
|
|
471
473
|
defaultValue: prop("defaultValue"),
|
|
472
474
|
value: prop("value"),
|
|
473
475
|
isEqual: require_utils.isEqual,
|
|
474
476
|
onChange(value) {
|
|
475
|
-
const
|
|
477
|
+
const context = getContext();
|
|
478
|
+
const collection = prop("collection");
|
|
479
|
+
const proposed = require_collection.deriveSelectionState({
|
|
480
|
+
values: value,
|
|
481
|
+
collection,
|
|
482
|
+
selectedItemMap: context.get("selectedItemMap")
|
|
483
|
+
});
|
|
484
|
+
const effectiveValue = prop("value") ?? value;
|
|
485
|
+
const effective = effectiveValue === value ? proposed : require_collection.deriveSelectionState({
|
|
486
|
+
values: effectiveValue,
|
|
487
|
+
collection,
|
|
488
|
+
selectedItemMap: proposed.nextSelectedItemMap
|
|
489
|
+
});
|
|
490
|
+
context.set("selectedItemMap", effective.nextSelectedItemMap);
|
|
476
491
|
return prop("onValueChange")?.({
|
|
477
492
|
value,
|
|
478
|
-
items
|
|
493
|
+
items: proposed.selectedItems
|
|
479
494
|
});
|
|
480
495
|
}
|
|
481
496
|
})),
|
|
@@ -492,9 +507,11 @@ const machine = createMachine({
|
|
|
492
507
|
}
|
|
493
508
|
})),
|
|
494
509
|
highlightedItem: bindable(() => ({ defaultValue: null })),
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
510
|
+
selectedItemMap: bindable(() => {
|
|
511
|
+
return { defaultValue: require_collection.createSelectedItemMap({
|
|
512
|
+
selectedItems: initialSelectedItems,
|
|
513
|
+
collection: prop("collection")
|
|
514
|
+
}) };
|
|
498
515
|
}),
|
|
499
516
|
focused: bindable(() => ({
|
|
500
517
|
sync: true,
|
|
@@ -523,7 +540,12 @@ const machine = createMachine({
|
|
|
523
540
|
return selection;
|
|
524
541
|
},
|
|
525
542
|
multiple: ({ prop }) => prop("selectionMode") === "multiple" || prop("selectionMode") === "extended",
|
|
526
|
-
|
|
543
|
+
selectedItems: ({ context, prop }) => require_collection.resolveSelectedItems({
|
|
544
|
+
values: context.get("value"),
|
|
545
|
+
collection: prop("collection"),
|
|
546
|
+
selectedItemMap: context.get("selectedItemMap")
|
|
547
|
+
}),
|
|
548
|
+
valueAsString: ({ computed, prop }) => prop("collection").stringifyItems(computed("selectedItems"))
|
|
527
549
|
},
|
|
528
550
|
initialState() {
|
|
529
551
|
return "idle";
|
|
@@ -585,7 +607,7 @@ const machine = createMachine({
|
|
|
585
607
|
const exec = (immediate) => {
|
|
586
608
|
const highlightedValue = context.get("highlightedValue");
|
|
587
609
|
if (highlightedValue == null) return;
|
|
588
|
-
if (require_focus_visible.getInteractionModality()
|
|
610
|
+
if (require_focus_visible.getInteractionModality() === "pointer") return;
|
|
589
611
|
const contentEl = getContentEl(scope);
|
|
590
612
|
const scrollToIndexFn = prop("scrollToIndexFn");
|
|
591
613
|
if (scrollToIndexFn) {
|
|
@@ -604,7 +626,10 @@ const machine = createMachine({
|
|
|
604
626
|
block: "nearest"
|
|
605
627
|
});
|
|
606
628
|
};
|
|
607
|
-
require_dom_query.raf(() =>
|
|
629
|
+
require_dom_query.raf(() => {
|
|
630
|
+
require_focus_visible.setInteractionModality("virtual");
|
|
631
|
+
exec(true);
|
|
632
|
+
});
|
|
608
633
|
const contentEl = () => getContentEl(scope);
|
|
609
634
|
return require_dom_query.observeAttributes(contentEl, {
|
|
610
635
|
defer: true,
|
|
@@ -681,12 +706,12 @@ const machine = createMachine({
|
|
|
681
706
|
context.set("value", []);
|
|
682
707
|
},
|
|
683
708
|
syncSelectedItems({ context, prop }) {
|
|
684
|
-
const
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
709
|
+
const next = require_collection.deriveSelectionState({
|
|
710
|
+
values: context.get("value"),
|
|
711
|
+
collection: prop("collection"),
|
|
712
|
+
selectedItemMap: context.get("selectedItemMap")
|
|
688
713
|
});
|
|
689
|
-
context.set("
|
|
714
|
+
context.set("selectedItemMap", next.nextSelectedItemMap);
|
|
690
715
|
},
|
|
691
716
|
syncHighlightedItem({ context, prop }) {
|
|
692
717
|
const collection = prop("collection");
|
|
@@ -1,13 +1,13 @@
|
|
|
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-
|
|
4
|
-
import { i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "../../selection-
|
|
3
|
+
import { t as ListCollection } from "../../list-collection-Cjgbx_9l.cjs";
|
|
4
|
+
import { i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "../../selection-BmS2RDMq.cjs";
|
|
5
5
|
import { b as Service, p as Machine, u as EventObject } from "../../types-u-LWCSDE.cjs";
|
|
6
6
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
7
7
|
import { n as TypeaheadState } from "../../typeahead-DMooWbbX.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" | "content" | "label" | "valueText" | "item" | "itemIndicator" | "input" | "itemText" | "itemGroup" | "itemGroupLabel">;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/machines/listbox/listbox.collection.d.ts
|
|
13
13
|
declare const collection: {
|
|
@@ -73,7 +73,7 @@ interface ListboxSchema<T extends CollectionItem = CollectionItem> {
|
|
|
73
73
|
value: string[];
|
|
74
74
|
highlightedValue: string | null;
|
|
75
75
|
highlightedItem: T | null;
|
|
76
|
-
|
|
76
|
+
selectedItemMap: Map<string, T>;
|
|
77
77
|
focused: boolean;
|
|
78
78
|
};
|
|
79
79
|
computed: {
|
|
@@ -82,6 +82,7 @@ interface ListboxSchema<T extends CollectionItem = CollectionItem> {
|
|
|
82
82
|
isInteractive: boolean;
|
|
83
83
|
selection: Selection;
|
|
84
84
|
multiple: boolean;
|
|
85
|
+
selectedItems: T[];
|
|
85
86
|
valueAsString: string;
|
|
86
87
|
};
|
|
87
88
|
refs: {
|
|
@@ -1,13 +1,13 @@
|
|
|
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-
|
|
4
|
-
import { i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "../../selection-
|
|
3
|
+
import { t as ListCollection } from "../../list-collection-IF510iNl.mjs";
|
|
4
|
+
import { i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "../../selection-6urf-c8j.mjs";
|
|
5
5
|
import { b as Service, p as Machine, u as EventObject } from "../../types-DvUmCWsb.mjs";
|
|
6
6
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
7
7
|
import { n as TypeaheadState } from "../../typeahead-Bbeb1fAR.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" | "content" | "label" | "valueText" | "item" | "itemIndicator" | "input" | "itemText" | "itemGroup" | "itemGroupLabel">;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/machines/listbox/listbox.collection.d.ts
|
|
13
13
|
declare const collection: {
|
|
@@ -73,7 +73,7 @@ interface ListboxSchema<T extends CollectionItem = CollectionItem> {
|
|
|
73
73
|
value: string[];
|
|
74
74
|
highlightedValue: string | null;
|
|
75
75
|
highlightedItem: T | null;
|
|
76
|
-
|
|
76
|
+
selectedItemMap: Map<string, T>;
|
|
77
77
|
focused: boolean;
|
|
78
78
|
};
|
|
79
79
|
computed: {
|
|
@@ -82,6 +82,7 @@ interface ListboxSchema<T extends CollectionItem = CollectionItem> {
|
|
|
82
82
|
isInteractive: boolean;
|
|
83
83
|
selection: Selection;
|
|
84
84
|
multiple: boolean;
|
|
85
|
+
selectedItems: T[];
|
|
85
86
|
valueAsString: string;
|
|
86
87
|
};
|
|
87
88
|
refs: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
2
|
import { $t as contains, I as scrollIntoView, W as raf, _t as isComposingEvent, bn as ariaAttr, ft as getEventKey, gt as getNativeEvent, ht as getEventTarget, s as getByTypeahead, un as isEditableElement, xn as dataAttr, yt as isCtrlOrMetaKey, z as observeAttributes } from "../../dom-query-BFuRs3l4.mjs";
|
|
3
3
|
import { ft as isEqual, t as ensure, u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
-
import { a as
|
|
4
|
+
import { a as createSelectedItemMap, d as ListCollection, i as Selection, l as GridCollection, o as deriveSelectionState, s as resolveSelectedItems, u as isGridCollection } from "../../collection-GSpaYJ2f.mjs";
|
|
5
5
|
import { o as setup } from "../../core-CTtbW9qh.mjs";
|
|
6
|
-
import { o as trackFocusVisible, t as getInteractionModality } from "../../focus-visible-BuLf8M9F.mjs";
|
|
6
|
+
import { a as setInteractionModality, o as trackFocusVisible, t as getInteractionModality } from "../../focus-visible-BuLf8M9F.mjs";
|
|
7
7
|
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
8
8
|
//#region src/machines/listbox/listbox.anatomy.ts
|
|
9
9
|
const anatomy = createAnatomy("listbox").parts("label", "input", "item", "itemText", "itemIndicator", "itemGroup", "itemGroupLabel", "content", "root", "valueText");
|
|
@@ -46,7 +46,7 @@ function connect(service, normalize) {
|
|
|
46
46
|
const focusVisible = refs.get("focusVisible") && focused;
|
|
47
47
|
const inputState = refs.get("inputState");
|
|
48
48
|
const value = context.get("value");
|
|
49
|
-
const selectedItems =
|
|
49
|
+
const selectedItems = computed("selectedItems");
|
|
50
50
|
const highlightedValue = context.get("highlightedValue");
|
|
51
51
|
const highlightedItem = context.get("highlightedItem");
|
|
52
52
|
const isTypingAhead = computed("isTypingAhead");
|
|
@@ -464,17 +464,32 @@ const machine = createMachine({
|
|
|
464
464
|
...props
|
|
465
465
|
};
|
|
466
466
|
},
|
|
467
|
-
context({ prop, bindable }) {
|
|
467
|
+
context({ prop, bindable, getContext }) {
|
|
468
|
+
const initialValue = prop("value") ?? prop("defaultValue") ?? [];
|
|
469
|
+
const initialSelectedItems = prop("collection").findMany(initialValue);
|
|
468
470
|
return {
|
|
469
471
|
value: bindable(() => ({
|
|
470
472
|
defaultValue: prop("defaultValue"),
|
|
471
473
|
value: prop("value"),
|
|
472
474
|
isEqual,
|
|
473
475
|
onChange(value) {
|
|
474
|
-
const
|
|
476
|
+
const context = getContext();
|
|
477
|
+
const collection = prop("collection");
|
|
478
|
+
const proposed = deriveSelectionState({
|
|
479
|
+
values: value,
|
|
480
|
+
collection,
|
|
481
|
+
selectedItemMap: context.get("selectedItemMap")
|
|
482
|
+
});
|
|
483
|
+
const effectiveValue = prop("value") ?? value;
|
|
484
|
+
const effective = effectiveValue === value ? proposed : deriveSelectionState({
|
|
485
|
+
values: effectiveValue,
|
|
486
|
+
collection,
|
|
487
|
+
selectedItemMap: proposed.nextSelectedItemMap
|
|
488
|
+
});
|
|
489
|
+
context.set("selectedItemMap", effective.nextSelectedItemMap);
|
|
475
490
|
return prop("onValueChange")?.({
|
|
476
491
|
value,
|
|
477
|
-
items
|
|
492
|
+
items: proposed.selectedItems
|
|
478
493
|
});
|
|
479
494
|
}
|
|
480
495
|
})),
|
|
@@ -491,9 +506,11 @@ const machine = createMachine({
|
|
|
491
506
|
}
|
|
492
507
|
})),
|
|
493
508
|
highlightedItem: bindable(() => ({ defaultValue: null })),
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
509
|
+
selectedItemMap: bindable(() => {
|
|
510
|
+
return { defaultValue: createSelectedItemMap({
|
|
511
|
+
selectedItems: initialSelectedItems,
|
|
512
|
+
collection: prop("collection")
|
|
513
|
+
}) };
|
|
497
514
|
}),
|
|
498
515
|
focused: bindable(() => ({
|
|
499
516
|
sync: true,
|
|
@@ -522,7 +539,12 @@ const machine = createMachine({
|
|
|
522
539
|
return selection;
|
|
523
540
|
},
|
|
524
541
|
multiple: ({ prop }) => prop("selectionMode") === "multiple" || prop("selectionMode") === "extended",
|
|
525
|
-
|
|
542
|
+
selectedItems: ({ context, prop }) => resolveSelectedItems({
|
|
543
|
+
values: context.get("value"),
|
|
544
|
+
collection: prop("collection"),
|
|
545
|
+
selectedItemMap: context.get("selectedItemMap")
|
|
546
|
+
}),
|
|
547
|
+
valueAsString: ({ computed, prop }) => prop("collection").stringifyItems(computed("selectedItems"))
|
|
526
548
|
},
|
|
527
549
|
initialState() {
|
|
528
550
|
return "idle";
|
|
@@ -584,7 +606,7 @@ const machine = createMachine({
|
|
|
584
606
|
const exec = (immediate) => {
|
|
585
607
|
const highlightedValue = context.get("highlightedValue");
|
|
586
608
|
if (highlightedValue == null) return;
|
|
587
|
-
if (getInteractionModality()
|
|
609
|
+
if (getInteractionModality() === "pointer") return;
|
|
588
610
|
const contentEl = getContentEl(scope);
|
|
589
611
|
const scrollToIndexFn = prop("scrollToIndexFn");
|
|
590
612
|
if (scrollToIndexFn) {
|
|
@@ -603,7 +625,10 @@ const machine = createMachine({
|
|
|
603
625
|
block: "nearest"
|
|
604
626
|
});
|
|
605
627
|
};
|
|
606
|
-
raf(() =>
|
|
628
|
+
raf(() => {
|
|
629
|
+
setInteractionModality("virtual");
|
|
630
|
+
exec(true);
|
|
631
|
+
});
|
|
607
632
|
const contentEl = () => getContentEl(scope);
|
|
608
633
|
return observeAttributes(contentEl, {
|
|
609
634
|
defer: true,
|
|
@@ -680,12 +705,12 @@ const machine = createMachine({
|
|
|
680
705
|
context.set("value", []);
|
|
681
706
|
},
|
|
682
707
|
syncSelectedItems({ context, prop }) {
|
|
683
|
-
const
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
708
|
+
const next = deriveSelectionState({
|
|
709
|
+
values: context.get("value"),
|
|
710
|
+
collection: prop("collection"),
|
|
711
|
+
selectedItemMap: context.get("selectedItemMap")
|
|
687
712
|
});
|
|
688
|
-
context.set("
|
|
713
|
+
context.set("selectedItemMap", next.nextSelectedItemMap);
|
|
689
714
|
},
|
|
690
715
|
syncHighlightedItem({ context, prop }) {
|
|
691
716
|
const collection = prop("collection");
|
|
@@ -96,7 +96,7 @@ declare function connect<T extends PropTypes>(service: MarqueeService, normalize
|
|
|
96
96
|
declare const machine: Machine<MarqueeSchema>;
|
|
97
97
|
//#endregion
|
|
98
98
|
//#region src/machines/marquee/marquee.props.d.ts
|
|
99
|
-
declare const props: ("ids" | "id" | "getRootNode" | "paused" | "onComplete" | ("
|
|
100
|
-
declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "ids" | "id" | "getRootNode" | "paused" | "onComplete" | ("
|
|
99
|
+
declare const props: ("ids" | "id" | "getRootNode" | "paused" | "onComplete" | ("dir" | "reverse" | "translations" | "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" | "paused" | "onComplete" | ("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 };
|
|
@@ -96,7 +96,7 @@ declare function connect<T extends PropTypes>(service: MarqueeService, normalize
|
|
|
96
96
|
declare const machine: Machine<MarqueeSchema>;
|
|
97
97
|
//#endregion
|
|
98
98
|
//#region src/machines/marquee/marquee.props.d.ts
|
|
99
|
-
declare const props: ("ids" | "id" | "getRootNode" | "paused" | "onComplete" | ("
|
|
100
|
-
declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "ids" | "id" | "getRootNode" | "paused" | "onComplete" | ("
|
|
99
|
+
declare const props: ("ids" | "id" | "getRootNode" | "paused" | "onComplete" | ("dir" | "reverse" | "translations" | "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" | "paused" | "onComplete" | ("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 { b as Service, p as Machine, u as EventObject } from "../../types-u-LWCS
|
|
|
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-CLRsezW5.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" | "content" | "trigger" | "indicator" | "item" | "itemIndicator" | "list" | "arrow" | "link" | "viewport" | "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 { b as Service, p as Machine, u as EventObject } from "../../types-DvUmCW
|
|
|
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-BVFlU3b9.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" | "content" | "trigger" | "indicator" | "item" | "itemIndicator" | "list" | "arrow" | "link" | "viewport" | "viewportPositioner">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/navigation-menu/navigation-menu.types.d.ts
|
|
9
9
|
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" | "valueText" | "control" | "input" | "incrementTrigger" | "decrementTrigger" | "scrubber">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/number-input/number-input.types.d.ts
|
|
10
10
|
interface ValueChangeDetails {
|
|
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, o as LocaleProperties, t as Commo
|
|
|
4
4
|
import { NumberFormatter, NumberParser } from "@internationalized/number";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/number-input/number-input.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "valueText" | "control" | "input" | "incrementTrigger" | "decrementTrigger" | "scrubber">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/number-input/number-input.types.d.ts
|
|
10
10
|
interface ValueChangeDetails {
|