@sprawlify/primitives 0.0.57 → 0.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/collection.d.cts +2 -2
- package/dist/collection.d.mts +2 -2
- package/dist/date-utils.d.cts +5 -5
- package/dist/date-utils.d.mts +1 -1
- package/dist/{dismissable-CtFpYFBY.mjs → dismissable-D0YyXTJv.mjs} +7 -2
- package/dist/{dismissable-DWJdIOtX.cjs → dismissable-D9NEAGMU.cjs} +6 -1
- package/dist/dismissable.cjs +1 -1
- package/dist/dismissable.mjs +1 -1
- package/dist/dom-query.d.cts +1 -1
- package/dist/dom-query.d.mts +1 -1
- package/dist/{index-60_Ru8qp.d.mts → index-BTi1wETB.d.mts} +1 -1
- package/dist/{index-HnPpYuSl.d.mts → index-BqhWpjZh.d.mts} +5 -5
- package/dist/{list-collection-swuCMCIS.d.mts → list-collection-BbgocToA.d.mts} +1 -1
- package/dist/{list-collection-BslnP0r-.d.cts → list-collection-DettiQL3.d.cts} +1 -1
- package/dist/machines/angle-slider/index.d.cts +1 -1
- package/dist/machines/angle-slider/index.d.mts +1 -1
- package/dist/machines/bottom-sheet/index.cjs +1 -1
- package/dist/machines/bottom-sheet/index.mjs +1 -1
- package/dist/machines/carousel/index.d.cts +1 -1
- package/dist/machines/carousel/index.d.mts +1 -1
- package/dist/machines/clipboard/index.d.cts +1 -1
- package/dist/machines/clipboard/index.d.mts +1 -1
- package/dist/machines/color-picker/index.cjs +1 -1
- package/dist/machines/color-picker/index.d.cts +1 -1
- package/dist/machines/color-picker/index.d.mts +2 -2
- package/dist/machines/color-picker/index.mjs +1 -1
- package/dist/machines/combobox/index.cjs +1 -1
- package/dist/machines/combobox/index.d.cts +2 -2
- package/dist/machines/combobox/index.d.mts +3 -3
- package/dist/machines/combobox/index.mjs +1 -1
- package/dist/machines/date-picker/index.cjs +1 -1
- package/dist/machines/date-picker/index.d.cts +1 -1
- package/dist/machines/date-picker/index.d.mts +3 -3
- package/dist/machines/date-picker/index.mjs +1 -1
- package/dist/machines/dialog/index.cjs +1 -1
- package/dist/machines/dialog/index.d.cts +1 -1
- package/dist/machines/dialog/index.d.mts +1 -1
- package/dist/machines/dialog/index.mjs +1 -1
- package/dist/machines/editable/index.d.cts +1 -1
- package/dist/machines/editable/index.d.mts +1 -1
- package/dist/machines/file-upload/index.cjs +2 -2
- package/dist/machines/file-upload/index.d.cts +1 -1
- package/dist/machines/file-upload/index.d.mts +1 -1
- package/dist/machines/file-upload/index.mjs +2 -2
- package/dist/machines/floating-panel/index.d.cts +1 -1
- package/dist/machines/floating-panel/index.d.mts +1 -1
- package/dist/machines/hover-card/index.cjs +1 -1
- package/dist/machines/hover-card/index.d.cts +1 -1
- package/dist/machines/hover-card/index.d.mts +2 -2
- package/dist/machines/hover-card/index.mjs +1 -1
- package/dist/machines/listbox/index.d.cts +3 -3
- package/dist/machines/listbox/index.d.mts +3 -3
- package/dist/machines/marquee/index.d.cts +3 -3
- package/dist/machines/marquee/index.d.mts +3 -3
- package/dist/machines/menu/index.cjs +30 -8
- package/dist/machines/menu/index.d.cts +2 -2
- package/dist/machines/menu/index.d.mts +3 -3
- package/dist/machines/menu/index.mjs +30 -8
- package/dist/machines/navigation-menu/index.cjs +1 -1
- package/dist/machines/navigation-menu/index.d.cts +1 -1
- package/dist/machines/navigation-menu/index.d.mts +1 -1
- package/dist/machines/navigation-menu/index.mjs +1 -1
- package/dist/machines/number-input/index.d.cts +1 -1
- package/dist/machines/number-input/index.d.mts +1 -1
- package/dist/machines/pagination/index.d.cts +1 -1
- package/dist/machines/pagination/index.d.mts +1 -1
- package/dist/machines/password-input/index.d.cts +1 -1
- package/dist/machines/password-input/index.d.mts +1 -1
- package/dist/machines/pin-input/index.d.cts +1 -1
- package/dist/machines/pin-input/index.d.mts +1 -1
- package/dist/machines/popover/index.cjs +1 -1
- package/dist/machines/popover/index.d.cts +1 -1
- package/dist/machines/popover/index.d.mts +2 -2
- package/dist/machines/popover/index.mjs +1 -1
- package/dist/machines/progress/index.d.cts +1 -1
- package/dist/machines/progress/index.d.mts +1 -1
- package/dist/machines/radio-group/index.d.cts +1 -1
- package/dist/machines/radio-group/index.d.mts +1 -1
- package/dist/machines/scroll-area/index.d.cts +1 -1
- package/dist/machines/scroll-area/index.d.mts +1 -1
- package/dist/machines/select/index.cjs +1 -1
- package/dist/machines/select/index.d.cts +2 -2
- package/dist/machines/select/index.d.mts +3 -3
- package/dist/machines/select/index.mjs +1 -1
- package/dist/machines/slider/index.d.cts +1 -1
- package/dist/machines/slider/index.d.mts +1 -1
- package/dist/machines/splitter/index.d.cts +1 -1
- package/dist/machines/splitter/index.d.mts +1 -1
- package/dist/machines/steps/index.d.cts +1 -1
- package/dist/machines/steps/index.d.mts +1 -1
- package/dist/machines/tabs/index.d.cts +1 -1
- package/dist/machines/tabs/index.d.mts +1 -1
- package/dist/machines/tags-input/index.d.cts +1 -1
- package/dist/machines/tags-input/index.d.mts +1 -1
- package/dist/machines/timer/index.d.cts +1 -1
- package/dist/machines/timer/index.d.mts +1 -1
- package/dist/machines/toast/index.cjs +1 -1
- package/dist/machines/toast/index.d.cts +1 -1
- package/dist/machines/toast/index.d.mts +1 -1
- package/dist/machines/toast/index.mjs +1 -1
- package/dist/machines/tooltip/index.d.cts +1 -1
- package/dist/machines/tooltip/index.d.mts +2 -2
- package/dist/machines/tour/index.cjs +1 -1
- package/dist/machines/tour/index.d.cts +1 -1
- package/dist/machines/tour/index.d.mts +2 -2
- package/dist/machines/tour/index.mjs +1 -1
- package/dist/machines/tree-view/index.d.cts +1 -1
- package/dist/machines/tree-view/index.d.mts +1 -1
- package/dist/popper.d.cts +1 -1
- package/dist/popper.d.mts +1 -1
- package/dist/{selection-CIoBu9mp.d.mts → selection-CTaapzrB.d.mts} +1 -1
- package/dist/{selection-DTpiPgq8.d.cts → selection-D3b3yV_x.d.cts} +1 -1
- package/package.json +1 -1
package/dist/collection.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as CollectionSearchState, c as FlatTreeNode, d as TreeCollectionMethods, f as TreeCollectionOptions, g as ValuePath, i as CollectionSearchOptions, l as FlatTreeNodeMeta, m as TreeSkipFn, n as CollectionMethods, p as TreeNode, r as CollectionOptions, s as FilePathTreeNode, t as CollectionItem, u as IndexPath } from "./types-CADkcKtr.cjs";
|
|
2
|
-
import { n as isListCollection, t as ListCollection } from "./list-collection-
|
|
3
|
-
import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-
|
|
2
|
+
import { n as isListCollection, t as ListCollection } from "./list-collection-DettiQL3.cjs";
|
|
3
|
+
import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-D3b3yV_x.cjs";
|
|
4
4
|
import { n as filePathToTree, r as flattenedToTree, t as TreeCollection } from "./tree-collection-CmehimuO.cjs";
|
|
5
5
|
export { CollectionItem, CollectionMethods, CollectionOptions, CollectionSearchOptions, CollectionSearchState, FilePathTreeNode, FlatTreeNode, FlatTreeNodeMeta, GridCollection, GridCollectionOptions, IndexPath, ListCollection, Selection, SelectionMode, TreeCollection, TreeCollectionMethods, TreeCollectionOptions, TreeNode, TreeSkipFn, ValuePath, filePathToTree, flattenedToTree, isGridCollection, isListCollection };
|
package/dist/collection.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as CollectionSearchState, c as FlatTreeNode, d as TreeCollectionMethods, f as TreeCollectionOptions, g as ValuePath, i as CollectionSearchOptions, l as FlatTreeNodeMeta, m as TreeSkipFn, n as CollectionMethods, p as TreeNode, r as CollectionOptions, s as FilePathTreeNode, t as CollectionItem, u as IndexPath } from "./types-Df8ZhdY-.mjs";
|
|
2
|
-
import { n as isListCollection, t as ListCollection } from "./list-collection-
|
|
3
|
-
import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-
|
|
2
|
+
import { n as isListCollection, t as ListCollection } from "./list-collection-BbgocToA.mjs";
|
|
3
|
+
import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-CTaapzrB.mjs";
|
|
4
4
|
import { n as filePathToTree, r as flattenedToTree, t as TreeCollection } from "./tree-collection-CqXQBHwY.mjs";
|
|
5
5
|
export { CollectionItem, CollectionMethods, CollectionOptions, CollectionSearchOptions, CollectionSearchState, FilePathTreeNode, FlatTreeNode, FlatTreeNodeMeta, GridCollection, GridCollectionOptions, IndexPath, ListCollection, Selection, SelectionMode, TreeCollection, TreeCollectionMethods, TreeCollectionOptions, TreeNode, TreeSkipFn, ValuePath, filePathToTree, flattenedToTree, isGridCollection, isListCollection };
|
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_date4 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_date4.CalendarDate | _internationalized_date4.CalendarDateTime | _internationalized_date4.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_date4.CalendarDate | _internationalized_date4.CalendarDateTime | _internationalized_date4.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_date4.CalendarDate;
|
|
73
|
+
declare function setCalendar(date: DateValue, calendar: Calendar): _internationalized_date4.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/date-utils.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as getMonthFormatter, B as constrainValue, C as getEndOfWeek, D as getWeekDays, E as getStartOfWeek, F as getUnitDuration, G as isPreviousRangeInvalid, H as isDateOutsideRange, I as alignCenter, J as DateAdjustFn, K as alignDate, L as alignEnd, M as formatSelectedDate, N as formatVisibleRange, O as getWeekdayFormats, P as getEndDate, R as alignStart, S as getDaysInWeek, T as getMonthNames, U as isDateUnavailable, V as isDateEqual, W as isNextRangeInvalid, X as DateRangePreset, Y as DateGranularity, _ as setDate, a as getAdjustedDateFn, b as getYearsRange, c as getNextSection, d as getPreviousSection, f as getSectionEnd, g as setCalendar, h as getTodayDate, i as AdjustDateReturn, j as formatRange, k as getDayFormatter, l as getPreviousPage, m as getPreviousAvailableDate, n as parseDateString, o as getNextPage, p as getSectionStart, q as alignStartDate, r as AdjustDateParams, s as getNextRow, t as getDateRangePreset, u as getPreviousRow, v as YearsRange, w as getMonthDays, x as normalizeYear, y as getDecadeRange, z as constrainStart } from "./index-
|
|
1
|
+
import { A as getMonthFormatter, B as constrainValue, C as getEndOfWeek, D as getWeekDays, E as getStartOfWeek, F as getUnitDuration, G as isPreviousRangeInvalid, H as isDateOutsideRange, I as alignCenter, J as DateAdjustFn, K as alignDate, L as alignEnd, M as formatSelectedDate, N as formatVisibleRange, O as getWeekdayFormats, P as getEndDate, R as alignStart, S as getDaysInWeek, T as getMonthNames, U as isDateUnavailable, V as isDateEqual, W as isNextRangeInvalid, X as DateRangePreset, Y as DateGranularity, _ as setDate, a as getAdjustedDateFn, b as getYearsRange, c as getNextSection, d as getPreviousSection, f as getSectionEnd, g as setCalendar, h as getTodayDate, i as AdjustDateReturn, j as formatRange, k as getDayFormatter, l as getPreviousPage, m as getPreviousAvailableDate, n as parseDateString, o as getNextPage, p as getSectionStart, q as alignStartDate, r as AdjustDateParams, s as getNextRow, t as getDateRangePreset, u as getPreviousRow, v as YearsRange, w as getMonthDays, x as normalizeYear, y as getDecadeRange, z as constrainStart } from "./index-BqhWpjZh.mjs";
|
|
2
2
|
export { AdjustDateParams, AdjustDateReturn, DateAdjustFn, DateGranularity, DateRangePreset, YearsRange, alignCenter, alignDate, alignEnd, alignStart, alignStartDate, constrainStart, constrainValue, formatRange, formatSelectedDate, formatVisibleRange, getAdjustedDateFn, getDateRangePreset, getDayFormatter, getDaysInWeek, getDecadeRange, getEndDate, getEndOfWeek, getMonthDays, getMonthFormatter, getMonthNames, getNextPage, getNextRow, getNextSection, getPreviousAvailableDate, getPreviousPage, getPreviousRow, getPreviousSection, getSectionEnd, getSectionStart, getStartOfWeek, getTodayDate, getUnitDuration, getWeekDays, getWeekdayFormats, getYearsRange, isDateEqual, isDateOutsideRange, isDateUnavailable, isNextRangeInvalid, isPreviousRangeInvalid, normalizeYear, parseDateString, setCalendar, setDate };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as getDocument, W as raf, Zt as contains, ct as addDomEvent, pt as getEventTarget, t as waitForElement, u as setStyle, un as isHTMLElement } from "./dom-query-CUb85Z22.mjs";
|
|
1
|
+
import { $t as getDocument, H as nextTick, W as raf, Zt as contains, ct as addDomEvent, pt as getEventTarget, t as waitForElement, u as setStyle, un as isHTMLElement } from "./dom-query-CUb85Z22.mjs";
|
|
2
2
|
import { at as isFunction, i as warn } from "./utils-DSBXwmDm.mjs";
|
|
3
3
|
import { t as trackInteractOutside } from "./interact-outside-xKQjln5u.mjs";
|
|
4
4
|
|
|
@@ -18,6 +18,7 @@ const LAYER_REQUEST_DISMISS_EVENT = "layer:request-dismiss";
|
|
|
18
18
|
const layerStack = {
|
|
19
19
|
layers: [],
|
|
20
20
|
branches: [],
|
|
21
|
+
recentlyRemoved: /* @__PURE__ */ new Set(),
|
|
21
22
|
count() {
|
|
22
23
|
return this.layers.length;
|
|
23
24
|
},
|
|
@@ -56,7 +57,9 @@ const layerStack = {
|
|
|
56
57
|
return this.getNestedLayersByType(node, type).length;
|
|
57
58
|
},
|
|
58
59
|
isInNestedLayer(node, target) {
|
|
59
|
-
|
|
60
|
+
if (this.getNestedLayers(node).some((layer) => contains(layer.node, target))) return true;
|
|
61
|
+
if (this.recentlyRemoved.size > 0) return true;
|
|
62
|
+
return false;
|
|
60
63
|
},
|
|
61
64
|
isInBranch(target) {
|
|
62
65
|
return Array.from(this.branches).some((branch) => contains(branch, target));
|
|
@@ -71,6 +74,8 @@ const layerStack = {
|
|
|
71
74
|
remove(node) {
|
|
72
75
|
const index = this.indexOf(node);
|
|
73
76
|
if (index < 0) return;
|
|
77
|
+
this.recentlyRemoved.add(node);
|
|
78
|
+
nextTick(() => this.recentlyRemoved.delete(node));
|
|
74
79
|
if (index < this.count() - 1) this.getNestedLayers(node).forEach((layer) => layerStack.dismiss(layer.node, node));
|
|
75
80
|
this.layers.splice(index, 1);
|
|
76
81
|
this.syncLayers();
|
|
@@ -18,6 +18,7 @@ const LAYER_REQUEST_DISMISS_EVENT = "layer:request-dismiss";
|
|
|
18
18
|
const layerStack = {
|
|
19
19
|
layers: [],
|
|
20
20
|
branches: [],
|
|
21
|
+
recentlyRemoved: /* @__PURE__ */ new Set(),
|
|
21
22
|
count() {
|
|
22
23
|
return this.layers.length;
|
|
23
24
|
},
|
|
@@ -56,7 +57,9 @@ const layerStack = {
|
|
|
56
57
|
return this.getNestedLayersByType(node, type).length;
|
|
57
58
|
},
|
|
58
59
|
isInNestedLayer(node, target) {
|
|
59
|
-
|
|
60
|
+
if (this.getNestedLayers(node).some((layer) => require_dom_query.contains(layer.node, target))) return true;
|
|
61
|
+
if (this.recentlyRemoved.size > 0) return true;
|
|
62
|
+
return false;
|
|
60
63
|
},
|
|
61
64
|
isInBranch(target) {
|
|
62
65
|
return Array.from(this.branches).some((branch) => require_dom_query.contains(branch, target));
|
|
@@ -71,6 +74,8 @@ const layerStack = {
|
|
|
71
74
|
remove(node) {
|
|
72
75
|
const index = this.indexOf(node);
|
|
73
76
|
if (index < 0) return;
|
|
77
|
+
this.recentlyRemoved.add(node);
|
|
78
|
+
require_dom_query.nextTick(() => this.recentlyRemoved.delete(node));
|
|
74
79
|
if (index < this.count() - 1) this.getNestedLayers(node).forEach((layer) => layerStack.dismiss(layer.node, node));
|
|
75
80
|
this.layers.splice(index, 1);
|
|
76
81
|
this.syncLayers();
|
package/dist/dismissable.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require('./dom-query-xZuxOsD4.cjs');
|
|
2
2
|
require('./utils-B4_qn2dt.cjs');
|
|
3
3
|
require('./interact-outside-xGMuVVaa.cjs');
|
|
4
|
-
const require_dismissable = require('./dismissable-
|
|
4
|
+
const require_dismissable = require('./dismissable-D9NEAGMU.cjs');
|
|
5
5
|
|
|
6
6
|
exports.trackDismissableBranch = require_dismissable.trackDismissableBranch;
|
|
7
7
|
exports.trackDismissableElement = require_dismissable.trackDismissableElement;
|
package/dist/dismissable.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./dom-query-CUb85Z22.mjs";
|
|
2
2
|
import "./utils-DSBXwmDm.mjs";
|
|
3
3
|
import "./interact-outside-xKQjln5u.mjs";
|
|
4
|
-
import { n as trackDismissableElement, t as trackDismissableBranch } from "./dismissable-
|
|
4
|
+
import { n as trackDismissableElement, t as trackDismissableBranch } from "./dismissable-D0YyXTJv.mjs";
|
|
5
5
|
|
|
6
6
|
export { trackDismissableBranch, trackDismissableElement };
|
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 | 0.1
|
|
60
|
+
declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 1 | 10 | 0.1;
|
|
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 | 0.1
|
|
60
|
+
declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 1 | 10 | 0.1;
|
|
61
61
|
declare function getEventPoint(event: any, type?: "page" | "client"): {
|
|
62
62
|
x: number;
|
|
63
63
|
y: number;
|
|
@@ -95,7 +95,7 @@ declare function getPlacementStyles(options?: Pick<PositioningOptions, "placemen
|
|
|
95
95
|
readonly zIndex: "inherit";
|
|
96
96
|
};
|
|
97
97
|
floating: {
|
|
98
|
-
readonly position: "
|
|
98
|
+
readonly position: "absolute" | "fixed";
|
|
99
99
|
readonly isolation: "isolate";
|
|
100
100
|
readonly minWidth: "max-content" | undefined;
|
|
101
101
|
readonly width: "var(--reference-width)" | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _internationalized_date0 from "@internationalized/date";
|
|
2
2
|
import { Calendar, DateDuration, DateFormatter, DateValue } from "@internationalized/date";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/date-utils/types.d.ts
|
|
@@ -40,7 +40,7 @@ declare function getUnitDuration(duration: DateDuration): {
|
|
|
40
40
|
weeks?: number;
|
|
41
41
|
days?: number;
|
|
42
42
|
};
|
|
43
|
-
declare function getEndDate(startDate: DateValue, duration: DateDuration):
|
|
43
|
+
declare function getEndDate(startDate: DateValue, duration: DateDuration): _internationalized_date0.CalendarDate | _internationalized_date0.CalendarDateTime | _internationalized_date0.ZonedDateTime;
|
|
44
44
|
//#endregion
|
|
45
45
|
//#region src/shared/date-utils/format.d.ts
|
|
46
46
|
declare function formatRange(startDate: DateValue, endDate: DateValue, formatter: DateFormatter, toString: (start: string, end: string) => string, timeZone: string): string;
|
|
@@ -63,7 +63,7 @@ declare function getWeekdayFormats(locale: string, timeZone: string): <T extends
|
|
|
63
63
|
narrow: string;
|
|
64
64
|
};
|
|
65
65
|
declare function getWeekDays(date: DateValue, startOfWeekProp: number | undefined, timeZone: string, locale: string): {
|
|
66
|
-
value:
|
|
66
|
+
value: _internationalized_date0.CalendarDate | _internationalized_date0.CalendarDateTime | _internationalized_date0.ZonedDateTime;
|
|
67
67
|
short: string;
|
|
68
68
|
long: string;
|
|
69
69
|
narrow: string;
|
|
@@ -82,8 +82,8 @@ declare function getDecadeRange(year: number, opts?: {
|
|
|
82
82
|
}): number[];
|
|
83
83
|
//#endregion
|
|
84
84
|
//#region src/shared/date-utils/mutation.d.ts
|
|
85
|
-
declare function getTodayDate(timeZone?: string):
|
|
86
|
-
declare function setCalendar(date: DateValue, calendar: Calendar):
|
|
85
|
+
declare function getTodayDate(timeZone?: string): _internationalized_date0.CalendarDate;
|
|
86
|
+
declare function setCalendar(date: DateValue, calendar: Calendar): _internationalized_date0.CalendarDateTime;
|
|
87
87
|
declare function setDate(date: DateValue, startDate: DateValue, isDateUnavailable: DateAvailableFn, locale: string, minValue: DateValue, maxValue: DateValue): DateValue | undefined;
|
|
88
88
|
declare function getPreviousAvailableDate(date: DateValue, minValue: DateValue, locale: string, isDateUnavailable?: DateAvailableFn): DateValue | undefined;
|
|
89
89
|
//#endregion
|
|
@@ -46,7 +46,7 @@ declare class ListCollection<T extends CollectionItem = CollectionItem> {
|
|
|
46
46
|
moveBefore: (value: string, ...values: string[]) => ListCollection<T>;
|
|
47
47
|
moveAfter: (value: string, ...values: string[]) => ListCollection<T>;
|
|
48
48
|
reorder: (fromIndex: number, toIndex: number) => ListCollection<T>;
|
|
49
|
-
compareValue: (a: string, b: string) => 1 |
|
|
49
|
+
compareValue: (a: string, b: string) => 1 | -1 | 0;
|
|
50
50
|
private range;
|
|
51
51
|
getValueRange: (from: string | null, to: string | null) => string[];
|
|
52
52
|
toString: () => string;
|
|
@@ -46,7 +46,7 @@ declare class ListCollection<T extends CollectionItem = CollectionItem> {
|
|
|
46
46
|
moveBefore: (value: string, ...values: string[]) => ListCollection<T>;
|
|
47
47
|
moveAfter: (value: string, ...values: string[]) => ListCollection<T>;
|
|
48
48
|
reorder: (fromIndex: number, toIndex: number) => ListCollection<T>;
|
|
49
|
-
compareValue: (a: string, b: string) => 1 |
|
|
49
|
+
compareValue: (a: string, b: string) => 1 | -1 | 0;
|
|
50
50
|
private range;
|
|
51
51
|
getValueRange: (from: string | null, to: string | null) => string[];
|
|
52
52
|
toString: () => string;
|
|
@@ -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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "thumb" | "track" | "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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "thumb" | "track" | "marker" | "valueText" | "markerGroup">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/angle-slider/angle-slider.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -5,7 +5,7 @@ const require_aria_hidden = require('../../aria-hidden-kcYiyWLo.cjs');
|
|
|
5
5
|
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
6
6
|
const require_core = require('../../core-CsVTCpQ_.cjs');
|
|
7
7
|
require('../../interact-outside-xGMuVVaa.cjs');
|
|
8
|
-
const require_dismissable = require('../../dismissable-
|
|
8
|
+
const require_dismissable = require('../../dismissable-D9NEAGMU.cjs');
|
|
9
9
|
const require_focus_trap = require('../../focus-trap-DcDcihd5.cjs');
|
|
10
10
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
11
11
|
const require_remove_scroll = require('../../remove-scroll-D5aUrYvL.cjs');
|
|
@@ -5,7 +5,7 @@ import { t as ariaHidden } from "../../aria-hidden-CVIz-P9c.mjs";
|
|
|
5
5
|
import { H as toPx, u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
6
6
|
import { a as createMachine } from "../../core-CujC6Y2H.mjs";
|
|
7
7
|
import "../../interact-outside-xKQjln5u.mjs";
|
|
8
|
-
import { n as trackDismissableElement } from "../../dismissable-
|
|
8
|
+
import { n as trackDismissableElement } from "../../dismissable-D0YyXTJv.mjs";
|
|
9
9
|
import { t as trapFocus } from "../../focus-trap-KZbY4M-m.mjs";
|
|
10
10
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
11
11
|
import { t as preventBodyScroll } from "../../remove-scroll-DNoftRvo.mjs";
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu6
|
|
|
3
3
|
import { b as NormalizeProps, d as Orientation, f as OrientationProperty, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/carousel/carousel.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "control" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "control" | "indicator" | "item" | "nextTrigger" | "prevTrigger" | "itemGroup" | "indicatorGroup" | "autoplayTrigger" | "progressText">;
|
|
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" | "control" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "control" | "indicator" | "item" | "nextTrigger" | "prevTrigger" | "itemGroup" | "indicatorGroup" | "autoplayTrigger" | "progressText">;
|
|
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, 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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "trigger" | "indicator" | "input">;
|
|
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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "trigger" | "indicator" | "input">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/clipboard/clipboard.types.d.ts
|
|
9
9
|
interface CopyStatusDetails {
|
|
@@ -4,7 +4,7 @@ const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
|
4
4
|
const require_color_utils = require('../../color-utils-BVq_rh8L.cjs');
|
|
5
5
|
const require_core = require('../../core-CsVTCpQ_.cjs');
|
|
6
6
|
require('../../interact-outside-xGMuVVaa.cjs');
|
|
7
|
-
const require_dismissable = require('../../dismissable-
|
|
7
|
+
const require_dismissable = require('../../dismissable-D9NEAGMU.cjs');
|
|
8
8
|
const require_popper = require('../../popper-TNUpC0Kp.cjs');
|
|
9
9
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
10
10
|
|
|
@@ -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" | "control" | "trigger" | "
|
|
9
|
+
declare const anatomy: Anatomy<"root" | "label" | "control" | "trigger" | "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";
|
|
@@ -3,10 +3,10 @@ import { a as ColorFormat, n as ColorAxes, r as ColorChannel, s as ColorType, t
|
|
|
3
3
|
import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQk5.mjs";
|
|
4
4
|
import { b as NormalizeProps, d as Orientation, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
5
5
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-Bvn6ocEE.mjs";
|
|
6
|
-
import { p as PositioningOptions } from "../../index-
|
|
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" | "control" | "trigger" | "
|
|
9
|
+
declare const anatomy: Anatomy<"root" | "label" | "control" | "trigger" | "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";
|
|
@@ -4,7 +4,7 @@ import { $ as tryCatch, u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
|
4
4
|
import { i as getColorAreaGradient, n as parseColor, t as normalizeColor } from "../../color-utils-BekVyYIJ.mjs";
|
|
5
5
|
import { a as createMachine, i as createGuards } from "../../core-CujC6Y2H.mjs";
|
|
6
6
|
import "../../interact-outside-xKQjln5u.mjs";
|
|
7
|
-
import { n as trackDismissableElement } from "../../dismissable-
|
|
7
|
+
import { n as trackDismissableElement } from "../../dismissable-D0YyXTJv.mjs";
|
|
8
8
|
import { n as getPlacement, t as getPlacementStyles } from "../../popper-DbfXVgrC.mjs";
|
|
9
9
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
|
4
4
|
const require_collection = require('../../collection-Q52RkxUe.cjs');
|
|
5
5
|
const require_core = require('../../core-CsVTCpQ_.cjs');
|
|
6
6
|
require('../../interact-outside-xGMuVVaa.cjs');
|
|
7
|
-
const require_dismissable = require('../../dismissable-
|
|
7
|
+
const require_dismissable = require('../../dismissable-D9NEAGMU.cjs');
|
|
8
8
|
const require_popper = require('../../popper-TNUpC0Kp.cjs');
|
|
9
9
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
10
10
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-smWrirg1.cjs";
|
|
2
2
|
import { r as CollectionOptions, t as CollectionItem } from "../../types-CADkcKtr.cjs";
|
|
3
|
-
import { t as ListCollection } from "../../list-collection-
|
|
3
|
+
import { t as ListCollection } from "../../list-collection-DettiQL3.cjs";
|
|
4
4
|
import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu60O.cjs";
|
|
5
5
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
6
6
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-C9-feK5c.cjs";
|
|
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" | "label" | "control" | "list" | "trigger" | "content" | "item" | "input" | "itemText" | "positioner" | "itemIndicator" | "clearTrigger" | "itemGroup" | "itemGroupLabel">;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/machines/combobox/combobox.collection.d.ts
|
|
13
13
|
declare const collection: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-DHVOqZET.mjs";
|
|
2
2
|
import { r as CollectionOptions, t as CollectionItem } from "../../types-Df8ZhdY-.mjs";
|
|
3
|
-
import { t as ListCollection } from "../../list-collection-
|
|
3
|
+
import { t as ListCollection } from "../../list-collection-BbgocToA.mjs";
|
|
4
4
|
import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQk5.mjs";
|
|
5
5
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
6
6
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-Bvn6ocEE.mjs";
|
|
7
|
-
import { p as PositioningOptions, u as Placement } from "../../index-
|
|
7
|
+
import { p as PositioningOptions, u as Placement } from "../../index-BTi1wETB.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/machines/combobox/combobox.anatomy.d.ts
|
|
10
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
10
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "list" | "trigger" | "content" | "item" | "input" | "itemText" | "positioner" | "itemIndicator" | "clearTrigger" | "itemGroup" | "itemGroupLabel">;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/machines/combobox/combobox.collection.d.ts
|
|
13
13
|
declare const collection: {
|
|
@@ -4,7 +4,7 @@ import { At as remove, Y as match, ft as isEqual, mt as addOrRemove, rt as isBoo
|
|
|
4
4
|
import { s as ListCollection } from "../../collection-CjwZd09Z.mjs";
|
|
5
5
|
import { o as setup } from "../../core-CujC6Y2H.mjs";
|
|
6
6
|
import "../../interact-outside-xKQjln5u.mjs";
|
|
7
|
-
import { n as trackDismissableElement } from "../../dismissable-
|
|
7
|
+
import { n as trackDismissableElement } from "../../dismissable-D0YyXTJv.mjs";
|
|
8
8
|
import { n as getPlacement, t as getPlacementStyles } from "../../popper-DbfXVgrC.mjs";
|
|
9
9
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
10
10
|
|
|
@@ -5,7 +5,7 @@ const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
|
5
5
|
const require_core = require('../../core-CsVTCpQ_.cjs');
|
|
6
6
|
const require_date_utils = require('../../date-utils-_Hu9b5fQ.cjs');
|
|
7
7
|
require('../../interact-outside-xGMuVVaa.cjs');
|
|
8
|
-
const require_dismissable = require('../../dismissable-
|
|
8
|
+
const require_dismissable = require('../../dismissable-D9NEAGMU.cjs');
|
|
9
9
|
const require_live_region = require('../../live-region-2RiuzOr-.cjs');
|
|
10
10
|
const require_popper = require('../../popper-TNUpC0Kp.cjs');
|
|
11
11
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
@@ -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" | "
|
|
11
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "trigger" | "content" | "input" | "table" | "view" | "positioner" | "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";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-DHVOqZET.mjs";
|
|
2
2
|
import { p as Machine, y as Service } from "../../types-DL5AIQk5.mjs";
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
|
|
4
|
-
import { X as DateRangePreset } from "../../index-
|
|
4
|
+
import { X as DateRangePreset } from "../../index-BqhWpjZh.mjs";
|
|
5
5
|
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-Bvn6ocEE.mjs";
|
|
6
6
|
import { t as LiveRegion } from "../../index-CygfPLvT.mjs";
|
|
7
|
-
import { p as PositioningOptions, u as Placement } from "../../index-
|
|
7
|
+
import { p as PositioningOptions, u as Placement } from "../../index-BTi1wETB.mjs";
|
|
8
8
|
import { 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" | "
|
|
11
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "trigger" | "content" | "input" | "table" | "view" | "positioner" | "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";
|
|
@@ -4,7 +4,7 @@ import { N as isValueWithinRange, Y as match, g as clampValue, ht as chunk, u as
|
|
|
4
4
|
import { a as createMachine, i as createGuards } from "../../core-CujC6Y2H.mjs";
|
|
5
5
|
import { A as getMonthFormatter, D as formatSelectedDate, F as isDateUnavailable, I as isNextRangeInvalid, L as isPreviousRangeInvalid, M as getUnitDuration, N as isDateEqual, P as isDateOutsideRange, R as alignDate, S as getMonthNames, W as constrainValue, _ as getYearsRange, g as getDecadeRange, i as getNextPage, j as getEndDate, k as getDayFormatter, l as getPreviousSection, n as parseDateString, o as getNextSection, p as getTodayDate, r as getAdjustedDateFn, s as getPreviousPage, t as getDateRangePreset, w as getWeekDays, x as getMonthDays, y as getDaysInWeek } from "../../date-utils-d1Jt6z5f.mjs";
|
|
6
6
|
import "../../interact-outside-xKQjln5u.mjs";
|
|
7
|
-
import { n as trackDismissableElement } from "../../dismissable-
|
|
7
|
+
import { n as trackDismissableElement } from "../../dismissable-D0YyXTJv.mjs";
|
|
8
8
|
import { t as createLiveRegion } from "../../live-region-BcSdQIM8.mjs";
|
|
9
9
|
import { n as getPlacement, t as getPlacementStyles } from "../../popper-DbfXVgrC.mjs";
|
|
10
10
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
@@ -4,7 +4,7 @@ const require_aria_hidden = require('../../aria-hidden-kcYiyWLo.cjs');
|
|
|
4
4
|
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
5
5
|
const require_core = require('../../core-CsVTCpQ_.cjs');
|
|
6
6
|
require('../../interact-outside-xGMuVVaa.cjs');
|
|
7
|
-
const require_dismissable = require('../../dismissable-
|
|
7
|
+
const require_dismissable = require('../../dismissable-D9NEAGMU.cjs');
|
|
8
8
|
const require_focus_trap = require('../../focus-trap-DcDcihd5.cjs');
|
|
9
9
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
10
10
|
const require_remove_scroll = require('../../remove-scroll-D5aUrYvL.cjs');
|
|
@@ -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 { t as ariaHidden } from "../../aria-hidden-CVIz-P9c.mjs";
|
|
|
4
4
|
import { u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
5
5
|
import { a as createMachine } from "../../core-CujC6Y2H.mjs";
|
|
6
6
|
import "../../interact-outside-xKQjln5u.mjs";
|
|
7
|
-
import { n as trackDismissableElement } from "../../dismissable-
|
|
7
|
+
import { n as trackDismissableElement } from "../../dismissable-D0YyXTJv.mjs";
|
|
8
8
|
import { t as trapFocus } from "../../focus-trap-KZbY4M-m.mjs";
|
|
9
9
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
10
10
|
import { t as preventBodyScroll } from "../../remove-scroll-DNoftRvo.mjs";
|
|
@@ -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" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "control" | "area" | "input" | "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-Bvn6ocEE.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" | "area" | "input" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/editable/editable.types.d.ts
|
|
10
10
|
interface ValueChangeDetails {
|
|
@@ -193,8 +193,7 @@ function connect(service, normalize) {
|
|
|
193
193
|
tabIndex: disabled || readOnly || props$1.disableClick ? void 0 : 0,
|
|
194
194
|
role: props$1.disableClick ? "application" : "button",
|
|
195
195
|
"aria-label": translations.dropzone,
|
|
196
|
-
"aria-disabled": disabled,
|
|
197
|
-
"aria-readonly": readOnly,
|
|
196
|
+
"aria-disabled": disabled || readOnly || void 0,
|
|
198
197
|
"data-invalid": require_dom_query.dataAttr(prop("invalid")),
|
|
199
198
|
"data-disabled": require_dom_query.dataAttr(disabled),
|
|
200
199
|
"data-readonly": require_dom_query.dataAttr(readOnly),
|
|
@@ -296,6 +295,7 @@ function connect(service, normalize) {
|
|
|
296
295
|
accept: computed("acceptAttr"),
|
|
297
296
|
webkitdirectory: prop("directory") ? "" : void 0,
|
|
298
297
|
multiple: computed("multiple") || prop("maxFiles") > 1,
|
|
298
|
+
"aria-hidden": true,
|
|
299
299
|
onClick(event) {
|
|
300
300
|
event.stopPropagation();
|
|
301
301
|
event.currentTarget.value = "";
|
|
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, 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" | "label" | "trigger" | "item" | "clearTrigger" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "item" | "clearTrigger" | "dropzone" | "itemDeleteTrigger" | "itemGroup" | "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-D-ZRl1jP.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/file-upload/file-upload.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "item" | "clearTrigger" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "item" | "clearTrigger" | "dropzone" | "itemDeleteTrigger" | "itemGroup" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/file-upload/file-upload.types.d.ts
|
|
10
10
|
interface FileRejection {
|