@sprawlify/primitives 0.0.35 → 0.0.36
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/date-utils.d.cts +5 -5
- package/dist/dom-query.d.cts +1 -1
- package/dist/dom-query.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/carousel/index.d.cts +1 -1
- package/dist/machines/carousel/index.d.mts +1 -1
- package/dist/machines/checkbox/index.d.cts +1 -1
- package/dist/machines/checkbox/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/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.d.cts +1 -1
- package/dist/machines/combobox/index.d.mts +1 -1
- 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.d.cts +1 -1
- package/dist/machines/dialog/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/image-cropper/index.d.cts +1 -1
- package/dist/machines/image-cropper/index.d.mts +1 -1
- package/dist/machines/listbox/index.d.cts +1 -1
- package/dist/machines/listbox/index.d.mts +1 -1
- package/dist/machines/marquee/index.d.cts +3 -3
- package/dist/machines/marquee/index.d.mts +3 -3
- package/dist/machines/menu/index.d.cts +1 -1
- package/dist/machines/menu/index.d.mts +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/password-input/index.d.cts +1 -1
- package/dist/machines/password-input/index.d.mts +1 -1
- package/dist/machines/popover/index.d.cts +1 -1
- package/dist/machines/popover/index.d.mts +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/rating-group/index.d.cts +1 -1
- package/dist/machines/rating-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.d.cts +1 -1
- package/dist/machines/select/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/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/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.cjs +21 -3
- package/dist/machines/tooltip/index.d.cts +1 -1
- package/dist/machines/tooltip/index.d.mts +1 -1
- package/dist/machines/tooltip/index.mjs +21 -3
- package/dist/machines/tour/index.d.cts +1 -1
- package/dist/machines/tour/index.d.mts +1 -1
- package/dist/machines/tree-view/index.d.cts +1 -1
- package/dist/machines/tree-view/index.d.mts +1 -1
- package/package.json +1 -1
package/dist/date-utils.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as DateRangePreset, i as DateGranularity, n as DateAlignment, r as DateAvailableFn, t as DateAdjustFn } from "./types-GxLIgJib.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _internationalized_date0 from "@internationalized/date";
|
|
3
3
|
import { Calendar, DateDuration, DateFormatter, DateValue } from "@internationalized/date";
|
|
4
4
|
|
|
5
5
|
//#region src/shared/date-utils/align.d.ts
|
|
@@ -27,7 +27,7 @@ declare function getUnitDuration(duration: DateDuration): {
|
|
|
27
27
|
weeks?: number;
|
|
28
28
|
days?: number;
|
|
29
29
|
};
|
|
30
|
-
declare function getEndDate(startDate: DateValue, duration: DateDuration):
|
|
30
|
+
declare function getEndDate(startDate: DateValue, duration: DateDuration): _internationalized_date0.CalendarDate | _internationalized_date0.CalendarDateTime | _internationalized_date0.ZonedDateTime;
|
|
31
31
|
//#endregion
|
|
32
32
|
//#region src/shared/date-utils/format.d.ts
|
|
33
33
|
declare function formatRange(startDate: DateValue, endDate: DateValue, formatter: DateFormatter, toString: (start: string, end: string) => string, timeZone: string): string;
|
|
@@ -50,7 +50,7 @@ declare function getWeekdayFormats(locale: string, timeZone: string): <T extends
|
|
|
50
50
|
narrow: string;
|
|
51
51
|
};
|
|
52
52
|
declare function getWeekDays(date: DateValue, startOfWeekProp: number | undefined, timeZone: string, locale: string): {
|
|
53
|
-
value:
|
|
53
|
+
value: _internationalized_date0.CalendarDate | _internationalized_date0.CalendarDateTime | _internationalized_date0.ZonedDateTime;
|
|
54
54
|
short: string;
|
|
55
55
|
long: string;
|
|
56
56
|
narrow: string;
|
|
@@ -69,8 +69,8 @@ declare function getDecadeRange(year: number, opts?: {
|
|
|
69
69
|
}): number[];
|
|
70
70
|
//#endregion
|
|
71
71
|
//#region src/shared/date-utils/mutation.d.ts
|
|
72
|
-
declare function getTodayDate(timeZone?: string):
|
|
73
|
-
declare function setCalendar(date: DateValue, calendar: Calendar):
|
|
72
|
+
declare function getTodayDate(timeZone?: string): _internationalized_date0.CalendarDate;
|
|
73
|
+
declare function setCalendar(date: DateValue, calendar: Calendar): _internationalized_date0.CalendarDateTime;
|
|
74
74
|
declare function setDate(date: DateValue, startDate: DateValue, isDateUnavailable: DateAvailableFn, locale: string, minValue: DateValue, maxValue: DateValue): DateValue | undefined;
|
|
75
75
|
declare function getPreviousAvailableDate(date: DateValue, minValue: DateValue, locale: string, isDateUnavailable?: DateAvailableFn): DateValue | undefined;
|
|
76
76
|
//#endregion
|
package/dist/dom-query.d.cts
CHANGED
|
@@ -57,7 +57,7 @@ declare const isModifierKey: (e: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "al
|
|
|
57
57
|
declare const isTouchEvent: (event: AnyPointerEvent) => event is TouchEvent;
|
|
58
58
|
declare function getEventKey(event: Pick<KeyboardEvent, "key">, options?: EventKeyOptions): string;
|
|
59
59
|
declare function getNativeEvent<E>(event: E): NativeEvent<E>;
|
|
60
|
-
declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 1 |
|
|
60
|
+
declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 1 | 0.1 | 10;
|
|
61
61
|
declare function getEventPoint(event: any, type?: "page" | "client"): {
|
|
62
62
|
x: number;
|
|
63
63
|
y: number;
|
package/dist/dom-query.d.mts
CHANGED
|
@@ -57,7 +57,7 @@ declare const isModifierKey: (e: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "al
|
|
|
57
57
|
declare const isTouchEvent: (event: AnyPointerEvent) => event is TouchEvent;
|
|
58
58
|
declare function getEventKey(event: Pick<KeyboardEvent, "key">, options?: EventKeyOptions): string;
|
|
59
59
|
declare function getNativeEvent<E>(event: E): NativeEvent<E>;
|
|
60
|
-
declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 1 |
|
|
60
|
+
declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 1 | 0.1 | 10;
|
|
61
61
|
declare function getEventPoint(event: any, type?: "page" | "client"): {
|
|
62
62
|
x: number;
|
|
63
63
|
y: number;
|
|
@@ -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/accordion/accordion.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "item" | "itemIndicator" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "itemIndicator" | "itemContent" | "itemTrigger">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/accordion/accordion.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/accordion/accordion.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "item" | "itemIndicator" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "itemIndicator" | "itemContent" | "itemTrigger">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/accordion/accordion.types.d.ts
|
|
9
9
|
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/angle-slider/angle-slider.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "control" | "thumb" | "marker" | "valueText" | "markerGroup">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/angle-slider/angle-slider.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/angle-slider/angle-slider.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "control" | "thumb" | "marker" | "valueText" | "markerGroup">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/angle-slider/angle-slider.types.d.ts
|
|
9
9
|
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, 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/carousel/carousel.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "itemGroup" | "control" | "indicator" | "nextTrigger" | "prevTrigger" | "progressText" | "indicatorGroup" | "autoplayTrigger">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/carousel/carousel.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, 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/carousel/carousel.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "itemGroup" | "control" | "indicator" | "nextTrigger" | "prevTrigger" | "progressText" | "indicatorGroup" | "autoplayTrigger">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/carousel/carousel.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, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/checkbox/checkbox.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "indicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/checkbox/checkbox.types.d.ts
|
|
9
9
|
type CheckedState = boolean | "indeterminate";
|
|
@@ -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/checkbox/checkbox.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "indicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/checkbox/checkbox.types.d.ts
|
|
9
9
|
type CheckedState = boolean | "indeterminate";
|
|
@@ -3,7 +3,7 @@ import { p as Machine, y as Service } from "../../types-DejIu60O.cjs";
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/clipboard/clipboard.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "input" | "control" | "indicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/clipboard/clipboard.types.d.ts
|
|
9
9
|
interface CopyStatusDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, y as Service } from "../../types-DL5AIQk5.mjs";
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/clipboard/clipboard.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "input" | "control" | "indicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/clipboard/clipboard.types.d.ts
|
|
9
9
|
interface CopyStatusDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, y as Service } from "../../types-DejIu60O.cjs";
|
|
|
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/collapsible/collapsible.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "indicator" | "content">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/collapsible/collapsible.types.d.ts
|
|
9
9
|
interface OpenChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, y as Service } from "../../types-DL5AIQk5.mjs";
|
|
|
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/collapsible/collapsible.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "indicator" | "content">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/collapsible/collapsible.types.d.ts
|
|
9
9
|
interface OpenChangeDetails {
|
|
@@ -6,7 +6,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
6
6
|
import { d as PositioningOptions } from "../../types-D5ziaMrd.cjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/color-picker/color-picker.anatomy.d.ts
|
|
9
|
-
declare const anatomy: Anatomy<"root" | "label" | "trigger" | "
|
|
9
|
+
declare const anatomy: Anatomy<"root" | "label" | "trigger" | "control" | "content" | "area" | "positioner" | "valueText" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/color-picker/color-picker.types.d.ts
|
|
12
12
|
type ExtendedColorChannel = ColorChannel | "hex" | "css";
|
|
@@ -6,7 +6,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
6
6
|
import { p as PositioningOptions } from "../../index-BTi1wETB.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/color-picker/color-picker.anatomy.d.ts
|
|
9
|
-
declare const anatomy: Anatomy<"root" | "label" | "trigger" | "
|
|
9
|
+
declare const anatomy: Anatomy<"root" | "label" | "trigger" | "control" | "content" | "area" | "positioner" | "valueText" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/color-picker/color-picker.types.d.ts
|
|
12
12
|
type ExtendedColorChannel = ColorChannel | "hex" | "css";
|
|
@@ -7,7 +7,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
7
7
|
import { c as Placement, d as PositioningOptions } from "../../types-D5ziaMrd.cjs";
|
|
8
8
|
|
|
9
9
|
//#region src/machines/combobox/combobox.anatomy.d.ts
|
|
10
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
10
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "itemGroup" | "label" | "trigger" | "clearTrigger" | "input" | "control" | "content" | "list" | "itemIndicator" | "itemText" | "positioner" | "itemGroupLabel">;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/machines/combobox/combobox.collection.d.ts
|
|
13
13
|
declare const collection: {
|
|
@@ -7,7 +7,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
7
7
|
import { p as PositioningOptions, u as Placement } from "../../index-BTi1wETB.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/machines/combobox/combobox.anatomy.d.ts
|
|
10
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
10
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "itemGroup" | "label" | "trigger" | "clearTrigger" | "input" | "control" | "content" | "list" | "itemIndicator" | "itemText" | "positioner" | "itemGroupLabel">;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/machines/combobox/combobox.collection.d.ts
|
|
13
13
|
declare const collection: {
|
|
@@ -8,7 +8,7 @@ import { c as Placement, d as PositioningOptions } from "../../types-D5ziaMrd.cj
|
|
|
8
8
|
import { Calendar, CalendarDate, CalendarDateTime, DateDuration, DateFormatter, DateValue, DateValue as DateValue$1, ZonedDateTime } from "@internationalized/date";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/date-picker/date-picker.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "
|
|
11
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "clearTrigger" | "input" | "view" | "control" | "content" | "table" | "nextTrigger" | "prevTrigger" | "positioner" | "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-BTi1wETB.mj
|
|
|
8
8
|
import { Calendar, CalendarDate, CalendarDateTime, DateDuration, DateFormatter, DateValue, DateValue as DateValue$1, ZonedDateTime } from "@internationalized/date";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/date-picker/date-picker.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "
|
|
11
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "clearTrigger" | "input" | "view" | "control" | "content" | "table" | "nextTrigger" | "prevTrigger" | "positioner" | "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";
|
|
@@ -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-D-7fwQL8.cjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/dialog/dialog.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"trigger" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "title" | "positioner" | "description" | "closeTrigger" | "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-C39y-V3t.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/dialog/dialog.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"trigger" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "title" | "positioner" | "description" | "closeTrigger" | "backdrop">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/dialog/dialog.types.d.ts
|
|
11
11
|
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-C9-feK5c.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/editable/editable.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "area" | "preview" | "submitTrigger" | "cancelTrigger" | "editTrigger">;
|
|
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-Bvn6ocEE.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/editable/editable.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "area" | "preview" | "submitTrigger" | "cancelTrigger" | "editTrigger">;
|
|
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-F-0xFywm.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/file-upload/file-upload.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "dropzone" | "item" | "itemDeleteTrigger" | "itemGroup" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText" | "label" | "trigger" | "clearTrigger">;
|
|
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-D-ZRl1jP.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/file-upload/file-upload.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "dropzone" | "item" | "itemDeleteTrigger" | "itemGroup" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText" | "label" | "trigger" | "clearTrigger">;
|
|
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-DddL75YY.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/floating-panel/floating-panel.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"trigger" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"trigger" | "control" | "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<"trigger" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"trigger" | "control" | "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 {
|
|
@@ -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 {
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
5
5
|
import { p as PositioningOptions, u as Placement } from "../../index-BTi1wETB.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/hover-card/hover-card.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"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 { p as Machine, u as EventObject, y as Service } from "../../types-DejIu6
|
|
|
3
3
|
import { _ as Size, b as NormalizeProps, 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/image-cropper/image-cropper.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "viewport" | "image" | "selection" | "handle" | "grid">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/image-cropper/image-cropper.types.d.ts
|
|
9
9
|
type HandlePosition = "n" | "e" | "s" | "w" | "ne" | "se" | "sw" | "nw";
|
|
@@ -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, 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/image-cropper/image-cropper.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "viewport" | "image" | "selection" | "handle" | "grid">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/image-cropper/image-cropper.types.d.ts
|
|
9
9
|
type HandlePosition = "n" | "e" | "s" | "w" | "ne" | "se" | "sw" | "nw";
|
|
@@ -7,7 +7,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
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" | "item" | "itemGroup" | "label" | "input" | "content" | "itemIndicator" | "itemText" | "valueText" | "itemGroupLabel">;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/machines/listbox/listbox.collection.d.ts
|
|
13
13
|
declare const collection: {
|
|
@@ -7,7 +7,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
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" | "item" | "itemGroup" | "label" | "input" | "content" | "itemIndicator" | "itemText" | "valueText" | "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" | "item" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "viewport" | "content" | "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" | ("translations" | "dir" | "reverse" | "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" | ("translations" | "dir" | "reverse" | "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" | "item" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "viewport" | "content" | "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" | ("translations" | "dir" | "reverse" | "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" | ("translations" | "dir" | "reverse" | "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 };
|
|
@@ -8,7 +8,7 @@ import { c as Placement, d as PositioningOptions } from "../../types-D5ziaMrd.cj
|
|
|
8
8
|
import { a as Point } from "../../types-DddL75YY.cjs";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/menu/menu.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"
|
|
11
|
+
declare const anatomy: AnatomyInstance<"item" | "itemGroup" | "trigger" | "indicator" | "content" | "separator" | "itemIndicator" | "itemText" | "arrow" | "arrowTip" | "positioner" | "contextTrigger" | "itemGroupLabel" | "triggerItem">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/menu/menu.types.d.ts
|
|
14
14
|
interface OpenChangeDetails {
|
|
@@ -8,7 +8,7 @@ import { p as PositioningOptions, u as Placement } from "../../index-BTi1wETB.mj
|
|
|
8
8
|
import { a as Point } from "../../types-J14X3oxU.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/menu/menu.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"
|
|
11
|
+
declare const anatomy: AnatomyInstance<"item" | "itemGroup" | "trigger" | "indicator" | "content" | "separator" | "itemIndicator" | "itemText" | "arrow" | "arrowTip" | "positioner" | "contextTrigger" | "itemGroupLabel" | "triggerItem">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/menu/menu.types.d.ts
|
|
14
14
|
interface OpenChangeDetails {
|
|
@@ -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" | "item" | "trigger" | "indicator" | "viewport" | "content" | "link" | "list" | "itemIndicator" | "arrow" | "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" | "item" | "trigger" | "indicator" | "viewport" | "content" | "link" | "list" | "itemIndicator" | "arrow" | "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-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" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "indicator" | "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" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "indicator" | "visibilityTrigger">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/password-input/password-input.types.d.ts
|
|
9
9
|
interface VisibilityChangeDetails {
|
|
@@ -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<"
|
|
9
|
+
declare const anatomy: AnatomyInstance<"trigger" | "indicator" | "content" | "title" | "arrow" | "arrowTip" | "positioner" | "description" | "closeTrigger" | "anchor">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/popover/popover.types.d.ts
|
|
12
12
|
interface OpenChangeDetails {
|
|
@@ -6,7 +6,7 @@ import { r as PersistentElementOptions, t as DismissableElementHandlers } from "
|
|
|
6
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<"
|
|
9
|
+
declare const anatomy: AnatomyInstance<"trigger" | "indicator" | "content" | "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,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" | "label" | "track" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "view" | "circle" | "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" | "label" | "track" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "view" | "circle" | "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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "indicator" | "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-DL5AIQ
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/radio-group/radio-group.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "indicator" | "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-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/rating-group/rating-group.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "control">;
|
|
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-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/rating-group/rating-group.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "control">;
|
|
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-DejIu6
|
|
|
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-Bqw3r34-.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" | "viewport" | "content" | "scrollbar" | "thumb" | "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-DL5AIQ
|
|
|
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-BuUzJjaP.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" | "viewport" | "content" | "scrollbar" | "thumb" | "corner">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/scroll-area/utils/timeout.d.ts
|
|
9
9
|
declare class Timeout {
|
|
@@ -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-D5ziaMrd.cjs";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/select/select.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
11
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "itemGroup" | "label" | "trigger" | "clearTrigger" | "control" | "indicator" | "content" | "list" | "itemIndicator" | "itemText" | "positioner" | "valueText" | "itemGroupLabel">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/select/select.collection.d.ts
|
|
14
14
|
declare const collection: {
|
|
@@ -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-BTi1wETB.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/select/select.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
11
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "itemGroup" | "label" | "trigger" | "clearTrigger" | "control" | "indicator" | "content" | "list" | "itemIndicator" | "itemText" | "positioner" | "valueText" | "itemGroupLabel">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/select/select.collection.d.ts
|
|
14
14
|
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, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/slider/slider.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "control" | "thumb" | "marker" | "valueText" | "range" | "markerGroup" | "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-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/slider/slider.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "track" | "control" | "thumb" | "marker" | "valueText" | "range" | "markerGroup" | "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-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/splitter/splitter.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "resizeTrigger" | "panel" | "resizeTriggerIndicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/splitter/splitter.types.d.ts
|
|
9
9
|
type ResizeEvent = PointerEvent | KeyboardEvent;
|
|
@@ -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/splitter/splitter.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "resizeTrigger" | "panel" | "resizeTriggerIndicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/splitter/splitter.types.d.ts
|
|
9
9
|
type ResizeEvent = PointerEvent | KeyboardEvent;
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu6
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/steps/steps.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "trigger" | "progress" | "indicator" | "content" | "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-DL5AIQ
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/steps/steps.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "trigger" | "progress" | "indicator" | "content" | "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-DejIu6
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/switch/switch.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "thumb">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/switch/switch.types.d.ts
|
|
9
9
|
interface CheckedChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQ
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/switch/switch.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "thumb">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/switch/switch.types.d.ts
|
|
9
9
|
interface CheckedChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu6
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/tabs/tabs.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "indicator" | "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-DL5AIQ
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/tabs/tabs.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "indicator" | "content" | "list">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/tabs/tabs.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
5
5
|
import { t as LiveRegion } from "../../index-Owca7uxB.cjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/tags-input/tags-input.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "itemDeleteTrigger" | "itemPreview" | "label" | "clearTrigger" | "input" | "control" | "itemText" | "itemInput">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/tags-input/tags-input.types.d.ts
|
|
11
11
|
interface ValueChangeDetails {
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
5
5
|
import { t as LiveRegion } from "../../index-CygfPLvT.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/tags-input/tags-input.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "itemDeleteTrigger" | "itemPreview" | "label" | "clearTrigger" | "input" | "control" | "itemText" | "itemInput">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/tags-input/tags-input.types.d.ts
|
|
11
11
|
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, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/timer/timer.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "item" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "control" | "area" | "separator" | "itemLabel" | "itemValue" | "actionTrigger">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/timer/timer.types.d.ts
|
|
9
9
|
interface Time<T = number> {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQ
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/timer/timer.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "item" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "control" | "area" | "separator" | "itemLabel" | "itemValue" | "actionTrigger">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/timer/timer.types.d.ts
|
|
9
9
|
interface Time<T = number> {
|
|
@@ -176,7 +176,7 @@ interface ToastApi<T extends PropTypes = PropTypes, O = any> {
|
|
|
176
176
|
declare function groupConnect<T extends PropTypes, O = any>(service: Service<ToastGroupSchema>, normalize: NormalizeProps<T>): ToastGroupApi<T, O>;
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region src/machines/toast/toast.anatomy.d.ts
|
|
179
|
-
declare const anatomy: AnatomyInstance<"root" | "title" | "
|
|
179
|
+
declare const anatomy: AnatomyInstance<"root" | "title" | "actionTrigger" | "group" | "description" | "closeTrigger">;
|
|
180
180
|
//#endregion
|
|
181
181
|
//#region src/machines/toast/toast.connect.d.ts
|
|
182
182
|
declare function connect<T extends PropTypes, O>(service: Service<ToastSchema<O>>, normalize: NormalizeProps<T>): ToastApi<T, O>;
|
|
@@ -176,7 +176,7 @@ interface ToastApi<T extends PropTypes = PropTypes, O = any> {
|
|
|
176
176
|
declare function groupConnect<T extends PropTypes, O = any>(service: Service<ToastGroupSchema>, normalize: NormalizeProps<T>): ToastGroupApi<T, O>;
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region src/machines/toast/toast.anatomy.d.ts
|
|
179
|
-
declare const anatomy: AnatomyInstance<"root" | "title" | "
|
|
179
|
+
declare const anatomy: AnatomyInstance<"root" | "title" | "actionTrigger" | "group" | "description" | "closeTrigger">;
|
|
180
180
|
//#endregion
|
|
181
181
|
//#region src/machines/toast/toast.connect.d.ts
|
|
182
182
|
declare function connect<T extends PropTypes, O>(service: Service<ToastSchema<O>>, normalize: NormalizeProps<T>): ToastApi<T, O>;
|
|
@@ -21,7 +21,11 @@ const getPositionerEl = (scope) => scope.getById(getPositionerId(scope));
|
|
|
21
21
|
|
|
22
22
|
//#endregion
|
|
23
23
|
//#region src/machines/tooltip/tooltip.store.ts
|
|
24
|
-
const store = require_utils.createStore({
|
|
24
|
+
const store = require_utils.createStore({
|
|
25
|
+
id: null,
|
|
26
|
+
prevId: null,
|
|
27
|
+
instant: false
|
|
28
|
+
});
|
|
25
29
|
|
|
26
30
|
//#endregion
|
|
27
31
|
//#region src/machines/tooltip/tooltip.connect.ts
|
|
@@ -142,11 +146,15 @@ function connect(service, normalize) {
|
|
|
142
146
|
});
|
|
143
147
|
},
|
|
144
148
|
getContentProps() {
|
|
149
|
+
const isCurrentTooltip = store.get("id") === id;
|
|
150
|
+
const isPrevTooltip = store.get("prevId") === id;
|
|
151
|
+
const instant = store.get("instant") && (open && isCurrentTooltip || isPrevTooltip);
|
|
145
152
|
return normalize.element({
|
|
146
153
|
...parts.content.attrs,
|
|
147
154
|
dir: prop("dir"),
|
|
148
155
|
hidden: !open,
|
|
149
156
|
"data-state": open ? "open" : "closed",
|
|
157
|
+
"data-instant": require_dom_query.dataAttr(instant),
|
|
150
158
|
role: hasAriaLabel ? void 0 : "tooltip",
|
|
151
159
|
id: hasAriaLabel ? void 0 : contentId,
|
|
152
160
|
"data-placement": context.get("currentPlacement"),
|
|
@@ -355,10 +363,20 @@ const machine = require_core.createMachine({
|
|
|
355
363
|
},
|
|
356
364
|
actions: {
|
|
357
365
|
setGlobalId: ({ prop }) => {
|
|
358
|
-
store.
|
|
366
|
+
const prevId = store.get("id");
|
|
367
|
+
const isInstant = prevId !== null && prevId !== prop("id");
|
|
368
|
+
store.update({
|
|
369
|
+
id: prop("id"),
|
|
370
|
+
prevId: isInstant ? prevId : null,
|
|
371
|
+
instant: isInstant
|
|
372
|
+
});
|
|
359
373
|
},
|
|
360
374
|
clearGlobalId: ({ prop }) => {
|
|
361
|
-
if (prop("id") === store.get("id")) store.
|
|
375
|
+
if (prop("id") === store.get("id")) store.update({
|
|
376
|
+
id: null,
|
|
377
|
+
prevId: null,
|
|
378
|
+
instant: false
|
|
379
|
+
});
|
|
362
380
|
},
|
|
363
381
|
invokeOnOpen: ({ prop }) => {
|
|
364
382
|
prop("onOpenChange")?.({ open: true });
|
|
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
4
4
|
import { c as Placement, d as PositioningOptions } from "../../types-D5ziaMrd.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/tooltip/tooltip.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"trigger" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "arrow" | "arrowTip" | "positioner">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/tooltip/tooltip.types.d.ts
|
|
10
10
|
interface OpenChangeDetails {
|
|
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
4
4
|
import { p as PositioningOptions, u as Placement } from "../../index-BTi1wETB.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/tooltip/tooltip.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"trigger" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "arrow" | "arrowTip" | "positioner">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/tooltip/tooltip.types.d.ts
|
|
10
10
|
interface OpenChangeDetails {
|
|
@@ -21,7 +21,11 @@ const getPositionerEl = (scope) => scope.getById(getPositionerId(scope));
|
|
|
21
21
|
|
|
22
22
|
//#endregion
|
|
23
23
|
//#region src/machines/tooltip/tooltip.store.ts
|
|
24
|
-
const store = createStore({
|
|
24
|
+
const store = createStore({
|
|
25
|
+
id: null,
|
|
26
|
+
prevId: null,
|
|
27
|
+
instant: false
|
|
28
|
+
});
|
|
25
29
|
|
|
26
30
|
//#endregion
|
|
27
31
|
//#region src/machines/tooltip/tooltip.connect.ts
|
|
@@ -142,11 +146,15 @@ function connect(service, normalize) {
|
|
|
142
146
|
});
|
|
143
147
|
},
|
|
144
148
|
getContentProps() {
|
|
149
|
+
const isCurrentTooltip = store.get("id") === id;
|
|
150
|
+
const isPrevTooltip = store.get("prevId") === id;
|
|
151
|
+
const instant = store.get("instant") && (open && isCurrentTooltip || isPrevTooltip);
|
|
145
152
|
return normalize.element({
|
|
146
153
|
...parts.content.attrs,
|
|
147
154
|
dir: prop("dir"),
|
|
148
155
|
hidden: !open,
|
|
149
156
|
"data-state": open ? "open" : "closed",
|
|
157
|
+
"data-instant": dataAttr(instant),
|
|
150
158
|
role: hasAriaLabel ? void 0 : "tooltip",
|
|
151
159
|
id: hasAriaLabel ? void 0 : contentId,
|
|
152
160
|
"data-placement": context.get("currentPlacement"),
|
|
@@ -355,10 +363,20 @@ const machine = createMachine({
|
|
|
355
363
|
},
|
|
356
364
|
actions: {
|
|
357
365
|
setGlobalId: ({ prop }) => {
|
|
358
|
-
store.
|
|
366
|
+
const prevId = store.get("id");
|
|
367
|
+
const isInstant = prevId !== null && prevId !== prop("id");
|
|
368
|
+
store.update({
|
|
369
|
+
id: prop("id"),
|
|
370
|
+
prevId: isInstant ? prevId : null,
|
|
371
|
+
instant: isInstant
|
|
372
|
+
});
|
|
359
373
|
},
|
|
360
374
|
clearGlobalId: ({ prop }) => {
|
|
361
|
-
if (prop("id") === store.get("id")) store.
|
|
375
|
+
if (prop("id") === store.get("id")) store.update({
|
|
376
|
+
id: null,
|
|
377
|
+
prevId: null,
|
|
378
|
+
instant: false
|
|
379
|
+
});
|
|
362
380
|
},
|
|
363
381
|
invokeOnOpen: ({ prop }) => {
|
|
364
382
|
prop("onOpenChange")?.({ open: true });
|
|
@@ -6,7 +6,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
6
6
|
import { c as Placement } from "../../types-D5ziaMrd.cjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tour/tour.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"
|
|
9
|
+
declare const anatomy: AnatomyInstance<"content" | "title" | "arrow" | "arrowTip" | "positioner" | "actionTrigger" | "description" | "closeTrigger" | "backdrop" | "progressText" | "spotlight">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/tour/utils/rect.d.ts
|
|
12
12
|
interface Point {
|
|
@@ -6,7 +6,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
6
6
|
import { u as Placement } from "../../index-BTi1wETB.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tour/tour.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"
|
|
9
|
+
declare const anatomy: AnatomyInstance<"content" | "title" | "arrow" | "arrowTip" | "positioner" | "actionTrigger" | "description" | "closeTrigger" | "backdrop" | "progressText" | "spotlight">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/tour/utils/rect.d.ts
|
|
12
12
|
interface Point {
|
|
@@ -6,7 +6,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
6
6
|
import { n as TypeaheadState } from "../../typeahead-BdNwVP09.cjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tree-view/tree-view.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
9
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "tree" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "itemIndicator" | "itemText" | "nodeCheckbox" | "nodeRenameInput">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/tree-view/tree-view.collection.d.ts
|
|
12
12
|
declare const collection: {
|
|
@@ -6,7 +6,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
6
6
|
import { n as TypeaheadState } from "../../typeahead-DMSwLv1e.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tree-view/tree-view.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
9
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "tree" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "itemIndicator" | "itemText" | "nodeCheckbox" | "nodeRenameInput">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/tree-view/tree-view.collection.d.ts
|
|
12
12
|
declare const collection: {
|