@sprawlify/primitives 0.0.55 → 0.0.57
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/{color-CIaXnwJx.d.mts → color-Bcy-SLQ1.d.mts} +2 -2
- package/dist/{color-_pKYh-E2.d.cts → color-Bj20c2qw.d.cts} +2 -2
- package/dist/{color-utils-CLAICiIG.cjs → color-utils-BVq_rh8L.cjs} +3 -3
- package/dist/{color-utils-BUIU6o8a.mjs → color-utils-BekVyYIJ.mjs} +3 -3
- package/dist/color-utils.cjs +1 -1
- package/dist/color-utils.d.cts +1 -1
- package/dist/color-utils.d.mts +1 -1
- package/dist/color-utils.mjs +1 -1
- package/dist/{index-BTi1wETB.d.mts → index-60_Ru8qp.d.mts} +1 -1
- package/dist/{list-collection-BvMwDNHf.d.cts → list-collection-BslnP0r-.d.cts} +1 -1
- package/dist/{list-collection-CTt1eong.d.mts → list-collection-swuCMCIS.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/bottom-sheet/index.d.cts +1 -1
- package/dist/machines/bottom-sheet/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/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.cjs +20 -9
- package/dist/machines/color-picker/index.d.cts +2 -2
- package/dist/machines/color-picker/index.d.mts +3 -3
- package/dist/machines/color-picker/index.mjs +20 -9
- package/dist/machines/combobox/index.d.cts +2 -2
- package/dist/machines/combobox/index.d.mts +3 -3
- package/dist/machines/date-picker/index.d.cts +1 -1
- package/dist/machines/date-picker/index.d.mts +2 -2
- 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 +2 -2
- package/dist/machines/image-cropper/index.cjs +90 -29
- package/dist/machines/image-cropper/index.d.cts +1 -1
- package/dist/machines/image-cropper/index.d.mts +1 -1
- package/dist/machines/image-cropper/index.mjs +90 -29
- 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.d.cts +1 -1
- package/dist/machines/menu/index.d.mts +2 -2
- package/dist/machines/navigation-menu/index.d.cts +1 -1
- package/dist/machines/navigation-menu/index.d.mts +1 -1
- package/dist/machines/number-input/index.d.cts +1 -1
- package/dist/machines/number-input/index.d.mts +1 -1
- package/dist/machines/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.d.cts +1 -1
- package/dist/machines/popover/index.d.mts +2 -2
- 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.d.cts +2 -2
- package/dist/machines/select/index.d.mts +3 -3
- 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.d.cts +1 -1
- package/dist/machines/tooltip/index.d.mts +2 -2
- package/dist/machines/tour/index.cjs +2 -2
- package/dist/machines/tour/index.d.cts +1 -1
- package/dist/machines/tour/index.d.mts +2 -2
- package/dist/machines/tour/index.mjs +2 -2
- 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-JDFmyke7.d.mts → selection-CIoBu9mp.d.mts} +1 -1
- package/dist/{selection-vng1guNc.d.cts → selection-DTpiPgq8.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-BslnP0r-.cjs";
|
|
3
|
+
import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-DTpiPgq8.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-swuCMCIS.mjs";
|
|
3
|
+
import { a as isGridCollection, i as GridCollectionOptions, n as SelectionMode, r as GridCollection, t as Selection } from "./selection-CIoBu9mp.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 };
|
|
@@ -19,7 +19,7 @@ interface ColorChannelRange {
|
|
|
19
19
|
interface ColorType {
|
|
20
20
|
toFormat(format: ColorFormat): ColorType;
|
|
21
21
|
toJSON(): Record<string, number>;
|
|
22
|
-
toString(format
|
|
22
|
+
toString(format?: ColorStringFormat): string;
|
|
23
23
|
toHexInt(): number;
|
|
24
24
|
getChannelValue(channel: ColorChannel): number;
|
|
25
25
|
withChannelValue(channel: ColorChannel, value: number): ColorType;
|
|
@@ -40,7 +40,7 @@ interface ColorType {
|
|
|
40
40
|
declare abstract class Color implements ColorType {
|
|
41
41
|
abstract toFormat(format: ColorFormat): ColorType;
|
|
42
42
|
abstract toJSON(): Record<string, number>;
|
|
43
|
-
abstract toString(format
|
|
43
|
+
abstract toString(format?: ColorStringFormat): string;
|
|
44
44
|
abstract clone(): ColorType;
|
|
45
45
|
abstract getChannelRange(channel: ColorChannel): ColorChannelRange;
|
|
46
46
|
abstract getFormat(): ColorFormat;
|
|
@@ -19,7 +19,7 @@ interface ColorChannelRange {
|
|
|
19
19
|
interface ColorType {
|
|
20
20
|
toFormat(format: ColorFormat): ColorType;
|
|
21
21
|
toJSON(): Record<string, number>;
|
|
22
|
-
toString(format
|
|
22
|
+
toString(format?: ColorStringFormat): string;
|
|
23
23
|
toHexInt(): number;
|
|
24
24
|
getChannelValue(channel: ColorChannel): number;
|
|
25
25
|
withChannelValue(channel: ColorChannel, value: number): ColorType;
|
|
@@ -40,7 +40,7 @@ interface ColorType {
|
|
|
40
40
|
declare abstract class Color implements ColorType {
|
|
41
41
|
abstract toFormat(format: ColorFormat): ColorType;
|
|
42
42
|
abstract toJSON(): Record<string, number>;
|
|
43
|
-
abstract toString(format
|
|
43
|
+
abstract toString(format?: ColorStringFormat): string;
|
|
44
44
|
abstract clone(): ColorType;
|
|
45
45
|
abstract getChannelRange(channel: ColorChannel): ColorChannelRange;
|
|
46
46
|
abstract getFormat(): ColorFormat;
|
|
@@ -230,7 +230,7 @@ var RGBColor = class RGBColor extends Color {
|
|
|
230
230
|
if (match?.[1]) colors = match[1].split(",").map((value$1) => Number(value$1.trim())).map((num, i) => require_utils.clampValue(num, 0, i < 3 ? 255 : 1));
|
|
231
231
|
return colors.length < 3 ? void 0 : new RGBColor(colors[0], colors[1], colors[2], colors[3] ?? 1);
|
|
232
232
|
}
|
|
233
|
-
toString(format) {
|
|
233
|
+
toString(format = "css") {
|
|
234
234
|
switch (format) {
|
|
235
235
|
case "hex": return "#" + (this.red.toString(16).padStart(2, "0") + this.green.toString(16).padStart(2, "0") + this.blue.toString(16).padStart(2, "0")).toUpperCase();
|
|
236
236
|
case "hexa": return "#" + (this.red.toString(16).padStart(2, "0") + this.green.toString(16).padStart(2, "0") + this.blue.toString(16).padStart(2, "0") + Math.round(this.alpha * 255).toString(16).padStart(2, "0")).toUpperCase();
|
|
@@ -381,7 +381,7 @@ var HSLColor = class HSLColor extends Color {
|
|
|
381
381
|
return new HSLColor(require_utils.mod(h, 360), require_utils.clampValue(s, 0, 100), require_utils.clampValue(l, 0, 100), require_utils.clampValue(a ?? 1, 0, 1));
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
|
-
toString(format) {
|
|
384
|
+
toString(format = "css") {
|
|
385
385
|
switch (format) {
|
|
386
386
|
case "hex": return this.toRGB().toString("hex");
|
|
387
387
|
case "hexa": return this.toRGB().toString("hexa");
|
|
@@ -511,7 +511,7 @@ var HSBColor = class HSBColor extends Color {
|
|
|
511
511
|
return new HSBColor(require_utils.mod(h, 360), require_utils.clampValue(s, 0, 100), require_utils.clampValue(b, 0, 100), require_utils.clampValue(a ?? 1, 0, 1));
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
|
-
toString(format) {
|
|
514
|
+
toString(format = "css") {
|
|
515
515
|
switch (format) {
|
|
516
516
|
case "css": return this.toHSL().toString("css");
|
|
517
517
|
case "hex": return this.toRGB().toString("hex");
|
|
@@ -230,7 +230,7 @@ var RGBColor = class RGBColor extends Color {
|
|
|
230
230
|
if (match?.[1]) colors = match[1].split(",").map((value$1) => Number(value$1.trim())).map((num, i) => clampValue(num, 0, i < 3 ? 255 : 1));
|
|
231
231
|
return colors.length < 3 ? void 0 : new RGBColor(colors[0], colors[1], colors[2], colors[3] ?? 1);
|
|
232
232
|
}
|
|
233
|
-
toString(format) {
|
|
233
|
+
toString(format = "css") {
|
|
234
234
|
switch (format) {
|
|
235
235
|
case "hex": return "#" + (this.red.toString(16).padStart(2, "0") + this.green.toString(16).padStart(2, "0") + this.blue.toString(16).padStart(2, "0")).toUpperCase();
|
|
236
236
|
case "hexa": return "#" + (this.red.toString(16).padStart(2, "0") + this.green.toString(16).padStart(2, "0") + this.blue.toString(16).padStart(2, "0") + Math.round(this.alpha * 255).toString(16).padStart(2, "0")).toUpperCase();
|
|
@@ -381,7 +381,7 @@ var HSLColor = class HSLColor extends Color {
|
|
|
381
381
|
return new HSLColor(mod(h, 360), clampValue(s, 0, 100), clampValue(l, 0, 100), clampValue(a ?? 1, 0, 1));
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
|
-
toString(format) {
|
|
384
|
+
toString(format = "css") {
|
|
385
385
|
switch (format) {
|
|
386
386
|
case "hex": return this.toRGB().toString("hex");
|
|
387
387
|
case "hexa": return this.toRGB().toString("hexa");
|
|
@@ -511,7 +511,7 @@ var HSBColor = class HSBColor extends Color {
|
|
|
511
511
|
return new HSBColor(mod(h, 360), clampValue(s, 0, 100), clampValue(b, 0, 100), clampValue(a ?? 1, 0, 1));
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
|
-
toString(format) {
|
|
514
|
+
toString(format = "css") {
|
|
515
515
|
switch (format) {
|
|
516
516
|
case "css": return this.toHSL().toString("css");
|
|
517
517
|
case "hex": return this.toRGB().toString("hex");
|
package/dist/color-utils.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require('./utils-B4_qn2dt.cjs');
|
|
2
|
-
const require_color_utils = require('./color-utils-
|
|
2
|
+
const require_color_utils = require('./color-utils-BVq_rh8L.cjs');
|
|
3
3
|
|
|
4
4
|
exports.Color = require_color_utils.Color;
|
|
5
5
|
exports.getColorAreaGradient = require_color_utils.getColorAreaGradient;
|
package/dist/color-utils.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ColorFormat, i as ColorChannelRange, n as ColorAxes, o as ColorStringFormat, r as ColorChannel, s as ColorType, t as Color } from "./color-
|
|
1
|
+
import { a as ColorFormat, i as ColorChannelRange, n as ColorAxes, o as ColorStringFormat, r as ColorChannel, s as ColorType, t as Color } from "./color-Bj20c2qw.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/color-utils/area-gradient.d.ts
|
|
4
4
|
interface GradientOptions {
|
package/dist/color-utils.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ColorFormat, i as ColorChannelRange, n as ColorAxes, o as ColorStringFormat, r as ColorChannel, s as ColorType, t as Color } from "./color-
|
|
1
|
+
import { a as ColorFormat, i as ColorChannelRange, n as ColorAxes, o as ColorStringFormat, r as ColorChannel, s as ColorType, t as Color } from "./color-Bcy-SLQ1.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/color-utils/area-gradient.d.ts
|
|
4
4
|
interface GradientOptions {
|
package/dist/color-utils.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./utils-DSBXwmDm.mjs";
|
|
2
|
-
import { i as getColorAreaGradient, n as parseColor, r as Color, t as normalizeColor } from "./color-utils-
|
|
2
|
+
import { i as getColorAreaGradient, n as parseColor, r as Color, t as normalizeColor } from "./color-utils-BekVyYIJ.mjs";
|
|
3
3
|
|
|
4
4
|
export { Color, getColorAreaGradient, normalizeColor, parseColor };
|
|
@@ -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: "fixed" | "absolute";
|
|
99
99
|
readonly isolation: "isolate";
|
|
100
100
|
readonly minWidth: "max-content" | undefined;
|
|
101
101
|
readonly width: "var(--reference-width)" | undefined;
|
|
@@ -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) =>
|
|
49
|
+
compareValue: (a: string, b: string) => 1 | 0 | -1;
|
|
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) =>
|
|
49
|
+
compareValue: (a: string, b: string) => 1 | 0 | -1;
|
|
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" | "track" | "label" | "control" | "valueText" | "marker" | "thumb" | "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" | "track" | "label" | "control" | "valueText" | "marker" | "thumb" | "markerGroup">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/angle-slider/angle-slider.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOuts
|
|
|
5
5
|
import { t as DismissableElementHandlers } from "../../dismissable-layer-D-7fwQL8.cjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/bottom-sheet/bottom-sheet.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "title" | "closeTrigger" | "backdrop" | "grabber" | "grabberIndicator">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/bottom-sheet/utils/drag-manager.d.ts
|
|
11
11
|
declare class DragManager {
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOuts
|
|
|
5
5
|
import { t as DismissableElementHandlers } from "../../dismissable-layer-C39y-V3t.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/bottom-sheet/bottom-sheet.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "title" | "closeTrigger" | "backdrop" | "grabber" | "grabberIndicator">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/bottom-sheet/utils/drag-manager.d.ts
|
|
11
11
|
declare class DragManager {
|
|
@@ -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" | "item" | "indicator" | "prevTrigger" | "nextTrigger" | "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" | "item" | "indicator" | "prevTrigger" | "nextTrigger" | "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" | "input" | "label" | "control" | "trigger" | "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" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "input" | "label" | "control" | "trigger" | "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" | "content" | "indicator">;
|
|
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" | "content" | "indicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/collapsible/collapsible.types.d.ts
|
|
9
9
|
interface OpenChangeDetails {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
|
|
2
2
|
const require_dom_query = require('../../dom-query-xZuxOsD4.cjs');
|
|
3
3
|
const require_utils = require('../../utils-B4_qn2dt.cjs');
|
|
4
|
-
const require_color_utils = require('../../color-utils-
|
|
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
7
|
const require_dismissable = require('../../dismissable-DWJdIOtX.cjs');
|
|
@@ -929,12 +929,18 @@ function prefixHex(value) {
|
|
|
929
929
|
//#endregion
|
|
930
930
|
//#region src/machines/color-picker/color-picker.machine.ts
|
|
931
931
|
const { and } = require_core.createGuards();
|
|
932
|
+
const hashObject = (obj) => {
|
|
933
|
+
let hash = "";
|
|
934
|
+
for (const key in obj) hash += `${key}:${obj[key] ?? ""};`;
|
|
935
|
+
return hash;
|
|
936
|
+
};
|
|
937
|
+
const DEFAULT_COLOR = parse("#000000");
|
|
932
938
|
const machine = require_core.createMachine({
|
|
933
939
|
props({ props: props$1 }) {
|
|
934
940
|
return {
|
|
935
941
|
dir: "ltr",
|
|
936
|
-
defaultValue:
|
|
937
|
-
defaultFormat:
|
|
942
|
+
defaultValue: DEFAULT_COLOR,
|
|
943
|
+
defaultFormat: (props$1.value ?? props$1.defaultValue ?? DEFAULT_COLOR).getFormat(),
|
|
938
944
|
openAutoFocus: true,
|
|
939
945
|
...props$1,
|
|
940
946
|
positioning: {
|
|
@@ -952,17 +958,16 @@ const machine = require_core.createMachine({
|
|
|
952
958
|
defaultValue: prop("defaultValue"),
|
|
953
959
|
value: prop("value"),
|
|
954
960
|
isEqual(a, b) {
|
|
955
|
-
return a.
|
|
961
|
+
return b != null && a.isEqual(b);
|
|
956
962
|
},
|
|
957
963
|
hash(a) {
|
|
958
|
-
return a.
|
|
964
|
+
return hashObject(a.toJSON());
|
|
959
965
|
},
|
|
960
966
|
onChange(value) {
|
|
961
|
-
const
|
|
962
|
-
const valueAsString = value.toString(ctx.get("format"));
|
|
967
|
+
const format = getContext().get("format");
|
|
963
968
|
prop("onValueChange")?.({
|
|
964
969
|
value,
|
|
965
|
-
valueAsString
|
|
970
|
+
valueAsString: value.toString(format)
|
|
966
971
|
});
|
|
967
972
|
}
|
|
968
973
|
})),
|
|
@@ -997,7 +1002,7 @@ const machine = require_core.createMachine({
|
|
|
997
1002
|
action(["syncInputElements", "dispatchChangeEvent"]);
|
|
998
1003
|
});
|
|
999
1004
|
track([() => context.get("format")], () => {
|
|
1000
|
-
action(["syncFormatSelectElement"]);
|
|
1005
|
+
action(["syncFormatSelectElement", "syncValueWithFormat"]);
|
|
1001
1006
|
});
|
|
1002
1007
|
track([() => prop("open")], () => {
|
|
1003
1008
|
action(["toggleVisibility"]);
|
|
@@ -1428,6 +1433,12 @@ const machine = require_core.createMachine({
|
|
|
1428
1433
|
syncFormatSelectElement({ context, scope }) {
|
|
1429
1434
|
syncFormatSelect(scope, context.get("format"));
|
|
1430
1435
|
},
|
|
1436
|
+
syncValueWithFormat({ context }) {
|
|
1437
|
+
const value = context.get("value");
|
|
1438
|
+
const newValue = value.toFormat(context.get("format"));
|
|
1439
|
+
if (newValue.isEqual(value)) return;
|
|
1440
|
+
context.set("value", newValue);
|
|
1441
|
+
},
|
|
1431
1442
|
invokeOnOpen({ prop, context }) {
|
|
1432
1443
|
if (prop("inline")) return;
|
|
1433
1444
|
prop("onOpenChange")?.({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as Anatomy } from "../../create-anatomy-smWrirg1.cjs";
|
|
2
|
-
import { a as ColorFormat, n as ColorAxes, r as ColorChannel, s as ColorType, t as Color } from "../../color-
|
|
2
|
+
import { a as ColorFormat, n as ColorAxes, r as ColorChannel, s as ColorType, t as Color } from "../../color-Bj20c2qw.cjs";
|
|
3
3
|
import { p as Machine, u as EventObject, y as Service } from "../../types-DejIu60O.cjs";
|
|
4
4
|
import { b as NormalizeProps, d as Orientation, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-Bqw3r34-.cjs";
|
|
5
5
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-C9-feK5c.cjs";
|
|
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" | "
|
|
9
|
+
declare const anatomy: Anatomy<"root" | "label" | "control" | "trigger" | "positioner" | "content" | "valueText" | "area" | "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";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as Anatomy } from "../../create-anatomy-DHVOqZET.mjs";
|
|
2
|
-
import { a as ColorFormat, n as ColorAxes, r as ColorChannel, s as ColorType, t as Color } from "../../color-
|
|
2
|
+
import { a as ColorFormat, n as ColorAxes, r as ColorChannel, s as ColorType, t as Color } from "../../color-Bcy-SLQ1.mjs";
|
|
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-60_Ru8qp.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/color-picker/color-picker.anatomy.d.ts
|
|
9
|
-
declare const anatomy: Anatomy<"root" | "label" | "
|
|
9
|
+
declare const anatomy: Anatomy<"root" | "label" | "control" | "trigger" | "positioner" | "content" | "valueText" | "area" | "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";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
2
|
import { A as getRelativePoint, C as queryAll, D as disableTextSelection, E as trackPointerMove, G as getInitialFocus, S as query, W as raf, a as visuallyHiddenStyle, bt as isLeftClick, dt as getEventPoint, ft as getEventStep, it as dispatchInputValueEvent, ot as setElementValue, st as trackFormControl, ut as getEventKey, xt as isModifierKey, yn as dataAttr } from "../../dom-query-CUb85Z22.mjs";
|
|
3
3
|
import { $ as tryCatch, u as createSplitProps } from "../../utils-DSBXwmDm.mjs";
|
|
4
|
-
import { i as getColorAreaGradient, n as parseColor, t as normalizeColor } from "../../color-utils-
|
|
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
7
|
import { n as trackDismissableElement } from "../../dismissable-CtFpYFBY.mjs";
|
|
@@ -929,12 +929,18 @@ function prefixHex(value) {
|
|
|
929
929
|
//#endregion
|
|
930
930
|
//#region src/machines/color-picker/color-picker.machine.ts
|
|
931
931
|
const { and } = createGuards();
|
|
932
|
+
const hashObject = (obj) => {
|
|
933
|
+
let hash = "";
|
|
934
|
+
for (const key in obj) hash += `${key}:${obj[key] ?? ""};`;
|
|
935
|
+
return hash;
|
|
936
|
+
};
|
|
937
|
+
const DEFAULT_COLOR = parse("#000000");
|
|
932
938
|
const machine = createMachine({
|
|
933
939
|
props({ props: props$1 }) {
|
|
934
940
|
return {
|
|
935
941
|
dir: "ltr",
|
|
936
|
-
defaultValue:
|
|
937
|
-
defaultFormat:
|
|
942
|
+
defaultValue: DEFAULT_COLOR,
|
|
943
|
+
defaultFormat: (props$1.value ?? props$1.defaultValue ?? DEFAULT_COLOR).getFormat(),
|
|
938
944
|
openAutoFocus: true,
|
|
939
945
|
...props$1,
|
|
940
946
|
positioning: {
|
|
@@ -952,17 +958,16 @@ const machine = createMachine({
|
|
|
952
958
|
defaultValue: prop("defaultValue"),
|
|
953
959
|
value: prop("value"),
|
|
954
960
|
isEqual(a, b) {
|
|
955
|
-
return a.
|
|
961
|
+
return b != null && a.isEqual(b);
|
|
956
962
|
},
|
|
957
963
|
hash(a) {
|
|
958
|
-
return a.
|
|
964
|
+
return hashObject(a.toJSON());
|
|
959
965
|
},
|
|
960
966
|
onChange(value) {
|
|
961
|
-
const
|
|
962
|
-
const valueAsString = value.toString(ctx.get("format"));
|
|
967
|
+
const format = getContext().get("format");
|
|
963
968
|
prop("onValueChange")?.({
|
|
964
969
|
value,
|
|
965
|
-
valueAsString
|
|
970
|
+
valueAsString: value.toString(format)
|
|
966
971
|
});
|
|
967
972
|
}
|
|
968
973
|
})),
|
|
@@ -997,7 +1002,7 @@ const machine = createMachine({
|
|
|
997
1002
|
action(["syncInputElements", "dispatchChangeEvent"]);
|
|
998
1003
|
});
|
|
999
1004
|
track([() => context.get("format")], () => {
|
|
1000
|
-
action(["syncFormatSelectElement"]);
|
|
1005
|
+
action(["syncFormatSelectElement", "syncValueWithFormat"]);
|
|
1001
1006
|
});
|
|
1002
1007
|
track([() => prop("open")], () => {
|
|
1003
1008
|
action(["toggleVisibility"]);
|
|
@@ -1428,6 +1433,12 @@ const machine = createMachine({
|
|
|
1428
1433
|
syncFormatSelectElement({ context, scope }) {
|
|
1429
1434
|
syncFormatSelect(scope, context.get("format"));
|
|
1430
1435
|
},
|
|
1436
|
+
syncValueWithFormat({ context }) {
|
|
1437
|
+
const value = context.get("value");
|
|
1438
|
+
const newValue = value.toFormat(context.get("format"));
|
|
1439
|
+
if (newValue.isEqual(value)) return;
|
|
1440
|
+
context.set("value", newValue);
|
|
1441
|
+
},
|
|
1431
1442
|
invokeOnOpen({ prop, context }) {
|
|
1432
1443
|
if (prop("inline")) return;
|
|
1433
1444
|
prop("onOpenChange")?.({
|
|
@@ -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-BslnP0r-.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" | "input" | "label" | "control" | "trigger" | "positioner" | "content" | "item" | "itemIndicator" | "itemText" | "clearTrigger" | "list" | "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-swuCMCIS.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-60_Ru8qp.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" | "input" | "label" | "control" | "trigger" | "positioner" | "content" | "item" | "itemIndicator" | "itemText" | "clearTrigger" | "list" | "itemGroup" | "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" | "
|
|
11
|
+
declare const anatomy: AnatomyInstance<"root" | "input" | "view" | "label" | "control" | "trigger" | "positioner" | "content" | "table" | "clearTrigger" | "prevTrigger" | "nextTrigger" | "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,11 +4,11 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
4
4
|
import { X as DateRangePreset } from "../../index-HnPpYuSl.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-60_Ru8qp.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" | "input" | "view" | "label" | "control" | "trigger" | "positioner" | "content" | "table" | "clearTrigger" | "prevTrigger" | "nextTrigger" | "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<"
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "positioner" | "content" | "title" | "closeTrigger" | "description" | "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<"
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "positioner" | "content" | "title" | "closeTrigger" | "description" | "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" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "input" | "label" | "control" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/editable/editable.types.d.ts
|
|
10
10
|
interface ValueChangeDetails {
|
|
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
|
|
|
4
4
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-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" | "input" | "label" | "control" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/editable/editable.types.d.ts
|
|
10
10
|
interface ValueChangeDetails {
|
|
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, o as LocaleProperties, t as Commo
|
|
|
4
4
|
import { i as FileMimeType, r as FileError } from "../../types-F-0xFywm.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/file-upload/file-upload.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "item" | "clearTrigger" | "itemDeleteTrigger" | "itemPreview" | "itemGroup" | "dropzone" | "itemName" | "itemSizeText" | "itemPreviewImage">;
|
|
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" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "trigger" | "item" | "clearTrigger" | "itemDeleteTrigger" | "itemPreview" | "itemGroup" | "dropzone" | "itemName" | "itemSizeText" | "itemPreviewImage">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/file-upload/file-upload.types.d.ts
|
|
10
10
|
interface FileRejection {
|