@sprawlify/primitives 0.0.22 → 0.0.24
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-0DmMA3br.mjs → collection-Don0IqzY.mjs} +1 -1
- package/dist/{collection-DIoIDISa.cjs → collection-DrxGD6r-.cjs} +1 -1
- package/dist/collection.cjs +2 -2
- package/dist/collection.d.cts +2 -2
- package/dist/collection.d.mts +2 -2
- package/dist/collection.mjs +2 -2
- package/dist/{color-utils-D0Lo5X-u.mjs → color-utils-CjwofPil.mjs} +1 -1
- package/dist/{color-utils-LER_6Zwu.cjs → color-utils-grkMlPoh.cjs} +1 -1
- package/dist/color-utils.cjs +2 -2
- package/dist/color-utils.mjs +2 -2
- package/dist/{core-BRMAHlpt.d.mts → core-75kSaDJc.d.mts} +1 -1
- package/dist/{core-CQFbMdTl.cjs → core-DHn58LRl.cjs} +1 -1
- package/dist/{core-qHH8MshY.mjs → core-DVmt6PX7.mjs} +1 -1
- package/dist/{core-DE3PyXL7.d.cts → core-D_pI64vx.d.cts} +1 -1
- package/dist/core.cjs +2 -2
- package/dist/core.d.cts +1 -1
- package/dist/core.d.mts +1 -1
- package/dist/core.mjs +2 -2
- package/dist/{dismissable-C-6M-juU.mjs → dismissable-CyZwVu7n.mjs} +2 -2
- package/dist/{dismissable-layer-2TW8ZBcS.d.cts → dismissable-layer-DmvOBneO.d.cts} +1 -1
- package/dist/{dismissable-layer-CllXZ1N9.d.mts → dismissable-layer-xYn_dIUQ.d.mts} +1 -1
- package/dist/{dismissable-CTfKZ4OG.cjs → dismissable-rIq_LmT8.cjs} +2 -2
- package/dist/dismissable.cjs +3 -3
- package/dist/dismissable.d.cts +1 -1
- package/dist/dismissable.d.mts +1 -1
- package/dist/dismissable.mjs +3 -3
- package/dist/{functions-DFnYr-gp.d.cts → functions-2ix8ad1e.d.cts} +2 -1
- package/dist/{functions-i_nVCRW0.d.mts → functions-qoGE2jOS.d.mts} +2 -1
- package/dist/{interact-outside-BtY3-DVp.mjs → interact-outside-D9gKK1XW.mjs} +1 -1
- package/dist/{interact-outside-C8-oFBpB.cjs → interact-outside-Dp8GERFa.cjs} +1 -1
- package/dist/interact-outside.cjs +2 -2
- package/dist/interact-outside.mjs +2 -2
- 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/accordion/index.cjs +4 -3
- package/dist/machines/accordion/index.d.cts +1 -1
- package/dist/machines/accordion/index.d.mts +1 -1
- package/dist/machines/accordion/index.mjs +4 -3
- package/dist/machines/angle-slider/index.cjs +2 -2
- package/dist/machines/angle-slider/index.d.cts +1 -1
- package/dist/machines/angle-slider/index.d.mts +1 -1
- package/dist/machines/angle-slider/index.mjs +2 -2
- package/dist/machines/async-list/index.cjs +2 -2
- package/dist/machines/async-list/index.mjs +2 -2
- package/dist/machines/avatar/index.cjs +2 -2
- package/dist/machines/avatar/index.mjs +2 -2
- package/dist/machines/bottom-sheet/index.cjs +4 -4
- package/dist/machines/bottom-sheet/index.d.cts +2 -2
- package/dist/machines/bottom-sheet/index.d.mts +2 -2
- package/dist/machines/bottom-sheet/index.mjs +4 -4
- package/dist/machines/carousel/index.cjs +2 -2
- package/dist/machines/carousel/index.d.cts +1 -1
- package/dist/machines/carousel/index.d.mts +1 -1
- package/dist/machines/carousel/index.mjs +2 -2
- package/dist/machines/checkbox/index.cjs +2 -2
- package/dist/machines/checkbox/index.d.cts +1 -1
- package/dist/machines/checkbox/index.d.mts +1 -1
- package/dist/machines/checkbox/index.mjs +2 -2
- package/dist/machines/clipboard/index.cjs +2 -2
- package/dist/machines/clipboard/index.d.cts +1 -1
- package/dist/machines/clipboard/index.d.mts +1 -1
- package/dist/machines/clipboard/index.mjs +2 -2
- package/dist/machines/collapsible/index.cjs +2 -2
- package/dist/machines/collapsible/index.d.cts +1 -1
- package/dist/machines/collapsible/index.d.mts +1 -1
- package/dist/machines/collapsible/index.mjs +2 -2
- package/dist/machines/color-picker/index.cjs +6 -6
- package/dist/machines/color-picker/index.d.cts +1 -1
- package/dist/machines/color-picker/index.d.mts +1 -1
- package/dist/machines/color-picker/index.mjs +6 -6
- package/dist/machines/combobox/index.cjs +6 -6
- package/dist/machines/combobox/index.d.cts +2 -2
- package/dist/machines/combobox/index.d.mts +2 -2
- package/dist/machines/combobox/index.mjs +6 -6
- package/dist/machines/date-picker/index.cjs +5 -5
- package/dist/machines/date-picker/index.d.cts +1 -1
- package/dist/machines/date-picker/index.d.mts +1 -1
- package/dist/machines/date-picker/index.mjs +5 -5
- package/dist/machines/dialog/index.cjs +4 -4
- package/dist/machines/dialog/index.d.cts +2 -2
- package/dist/machines/dialog/index.d.mts +2 -2
- package/dist/machines/dialog/index.mjs +4 -4
- package/dist/machines/editable/index.cjs +3 -3
- package/dist/machines/editable/index.d.cts +1 -1
- package/dist/machines/editable/index.d.mts +1 -1
- package/dist/machines/editable/index.mjs +3 -3
- package/dist/machines/file-upload/index.cjs +50 -30
- package/dist/machines/file-upload/index.d.cts +6 -1
- package/dist/machines/file-upload/index.d.mts +6 -1
- package/dist/machines/file-upload/index.mjs +50 -30
- package/dist/machines/floating-panel/index.cjs +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/floating-panel/index.mjs +2 -2
- package/dist/machines/hover-card/index.cjs +5 -5
- package/dist/machines/hover-card/index.d.cts +1 -1
- package/dist/machines/hover-card/index.d.mts +1 -1
- package/dist/machines/hover-card/index.mjs +5 -5
- package/dist/machines/image-cropper/index.cjs +2 -2
- package/dist/machines/image-cropper/index.mjs +2 -2
- package/dist/machines/listbox/index.cjs +3 -3
- package/dist/machines/listbox/index.d.cts +3 -3
- package/dist/machines/listbox/index.d.mts +3 -3
- package/dist/machines/listbox/index.mjs +3 -3
- package/dist/machines/marquee/index.cjs +2 -2
- package/dist/machines/marquee/index.d.cts +3 -3
- package/dist/machines/marquee/index.d.mts +3 -3
- package/dist/machines/marquee/index.mjs +2 -2
- package/dist/machines/menu/index.cjs +6 -5
- package/dist/machines/menu/index.d.cts +2 -2
- package/dist/machines/menu/index.d.mts +2 -2
- package/dist/machines/menu/index.mjs +6 -5
- package/dist/machines/navigation-menu/index.cjs +4 -4
- 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 +4 -4
- package/dist/machines/number-input/index.cjs +2 -2
- package/dist/machines/number-input/index.d.cts +1 -1
- package/dist/machines/number-input/index.d.mts +1 -1
- package/dist/machines/number-input/index.mjs +2 -2
- package/dist/machines/pagination/index.cjs +2 -2
- package/dist/machines/pagination/index.mjs +2 -2
- package/dist/machines/password-input/index.cjs +2 -2
- package/dist/machines/password-input/index.d.cts +1 -1
- package/dist/machines/password-input/index.d.mts +1 -1
- package/dist/machines/password-input/index.mjs +2 -2
- package/dist/machines/pin-input/index.cjs +2 -2
- package/dist/machines/pin-input/index.d.cts +1 -1
- package/dist/machines/pin-input/index.d.mts +1 -1
- package/dist/machines/pin-input/index.mjs +2 -2
- package/dist/machines/popover/index.cjs +5 -5
- package/dist/machines/popover/index.d.cts +2 -2
- package/dist/machines/popover/index.d.mts +2 -2
- package/dist/machines/popover/index.mjs +5 -5
- package/dist/machines/presence/index.cjs +2 -2
- package/dist/machines/presence/index.mjs +2 -2
- package/dist/machines/progress/index.cjs +2 -2
- package/dist/machines/progress/index.d.cts +1 -1
- package/dist/machines/progress/index.d.mts +1 -1
- package/dist/machines/progress/index.mjs +2 -2
- package/dist/machines/qr-code/index.cjs +2 -2
- package/dist/machines/qr-code/index.mjs +2 -2
- package/dist/machines/radio-group/index.cjs +2 -2
- package/dist/machines/radio-group/index.d.cts +1 -1
- package/dist/machines/radio-group/index.d.mts +1 -1
- package/dist/machines/radio-group/index.mjs +2 -2
- package/dist/machines/rating-group/index.cjs +3 -3
- package/dist/machines/rating-group/index.d.cts +1 -1
- package/dist/machines/rating-group/index.d.mts +1 -1
- package/dist/machines/rating-group/index.mjs +3 -3
- package/dist/machines/scroll-area/index.cjs +2 -2
- package/dist/machines/scroll-area/index.d.cts +1 -1
- package/dist/machines/scroll-area/index.d.mts +1 -1
- package/dist/machines/scroll-area/index.mjs +2 -2
- package/dist/machines/select/index.cjs +6 -6
- package/dist/machines/select/index.d.cts +2 -2
- package/dist/machines/select/index.d.mts +2 -2
- package/dist/machines/select/index.mjs +6 -6
- package/dist/machines/signature-pad/index.cjs +2 -2
- package/dist/machines/signature-pad/index.d.cts +1 -1
- package/dist/machines/signature-pad/index.d.mts +1 -1
- package/dist/machines/signature-pad/index.mjs +2 -2
- package/dist/machines/slider/index.cjs +2 -2
- package/dist/machines/slider/index.d.cts +1 -1
- package/dist/machines/slider/index.d.mts +1 -1
- package/dist/machines/slider/index.mjs +2 -2
- package/dist/machines/splitter/index.cjs +2 -2
- package/dist/machines/splitter/index.mjs +2 -2
- package/dist/machines/steps/index.cjs +2 -2
- package/dist/machines/steps/index.d.cts +1 -1
- package/dist/machines/steps/index.d.mts +1 -1
- package/dist/machines/steps/index.mjs +2 -2
- package/dist/machines/switch/index.cjs +2 -2
- package/dist/machines/switch/index.d.cts +1 -1
- package/dist/machines/switch/index.d.mts +1 -1
- package/dist/machines/switch/index.mjs +2 -2
- package/dist/machines/tabs/index.cjs +2 -2
- package/dist/machines/tabs/index.d.cts +1 -1
- package/dist/machines/tabs/index.d.mts +1 -1
- package/dist/machines/tabs/index.mjs +2 -2
- package/dist/machines/tags-input/index.cjs +3 -3
- package/dist/machines/tags-input/index.d.cts +1 -1
- package/dist/machines/tags-input/index.d.mts +1 -1
- package/dist/machines/tags-input/index.mjs +3 -3
- package/dist/machines/timer/index.cjs +2 -2
- package/dist/machines/timer/index.d.cts +1 -1
- package/dist/machines/timer/index.d.mts +1 -1
- package/dist/machines/timer/index.mjs +2 -2
- package/dist/machines/toast/index.cjs +4 -4
- package/dist/machines/toast/index.d.cts +1 -1
- package/dist/machines/toast/index.d.mts +1 -1
- package/dist/machines/toast/index.mjs +4 -4
- package/dist/machines/toggle/index.cjs +2 -2
- package/dist/machines/toggle/index.mjs +2 -2
- package/dist/machines/toggle-group/index.cjs +2 -2
- package/dist/machines/toggle-group/index.mjs +2 -2
- package/dist/machines/tooltip/index.cjs +3 -3
- package/dist/machines/tooltip/index.d.cts +1 -1
- package/dist/machines/tooltip/index.d.mts +1 -1
- package/dist/machines/tooltip/index.mjs +3 -3
- package/dist/machines/tour/index.cjs +5 -5
- package/dist/machines/tour/index.d.cts +1 -1
- package/dist/machines/tour/index.d.mts +1 -1
- package/dist/machines/tour/index.mjs +5 -5
- package/dist/machines/tree-view/index.cjs +3 -3
- package/dist/machines/tree-view/index.d.cts +1 -1
- package/dist/machines/tree-view/index.d.mts +1 -1
- package/dist/machines/tree-view/index.mjs +3 -3
- package/dist/{popper-PO8HYerg.mjs → popper-CjBC91Tz.mjs} +1 -1
- package/dist/{popper-Bv3pzKqX.cjs → popper-kp05O3Bm.cjs} +1 -1
- package/dist/popper.cjs +2 -2
- package/dist/popper.mjs +2 -2
- 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/dist/{utils-hFKGi-oS.mjs → utils-BIwaJq8z.mjs} +14 -1
- package/dist/{utils-_6frwjgJ.cjs → utils-CtgLe8Vv.cjs} +19 -0
- package/dist/utils.cjs +2 -1
- package/dist/utils.d.cts +2 -2
- package/dist/utils.d.mts +2 -2
- package/dist/utils.mjs +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as _defineProperty } from "./defineProperty-Cql4jybt.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { Et as nextIndex, ct as isObject, ft as isEqual, ht as chunk, kt as prevIndex, tt as hasProp } from "./utils-BIwaJq8z.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/collection/list-collection.ts
|
|
5
5
|
let _Symbol$iterator;
|
package/dist/collection.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require('./utils-
|
|
2
|
-
const require_collection = require('./collection-
|
|
1
|
+
require('./utils-CtgLe8Vv.cjs');
|
|
2
|
+
const require_collection = require('./collection-DrxGD6r-.cjs');
|
|
3
3
|
|
|
4
4
|
exports.GridCollection = require_collection.GridCollection;
|
|
5
5
|
exports.ListCollection = require_collection.ListCollection;
|
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-Dlv1BAsc.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-DYIVkVee.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/collection.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./utils-
|
|
2
|
-
import { a as GridCollection, c as isListCollection, i as Selection, n as filePathToTree, o as isGridCollection, r as flattenedToTree, s as ListCollection, t as TreeCollection } from "./collection-
|
|
1
|
+
import "./utils-BIwaJq8z.mjs";
|
|
2
|
+
import { a as GridCollection, c as isListCollection, i as Selection, n as filePathToTree, o as isGridCollection, r as flattenedToTree, s as ListCollection, t as TreeCollection } from "./collection-Don0IqzY.mjs";
|
|
3
3
|
|
|
4
4
|
export { GridCollection, ListCollection, Selection, TreeCollection, filePathToTree, flattenedToTree, isGridCollection, isListCollection };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as _defineProperty } from "./defineProperty-Cql4jybt.mjs";
|
|
2
|
-
import { B as snapValueToStep, C as getPercentValue, P as mod, T as getValuePercent, V as toFixedNumber, g as clampValue } from "./utils-
|
|
2
|
+
import { B as snapValueToStep, C as getPercentValue, P as mod, T as getValuePercent, V as toFixedNumber, g as clampValue } from "./utils-BIwaJq8z.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/color-utils/color-format-gradient.ts
|
|
5
5
|
const generateRGB_R = (orientation, dir, zValue) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_defineProperty = require('./defineProperty-BoUOT9Ie.cjs');
|
|
2
|
-
const require_utils = require('./utils-
|
|
2
|
+
const require_utils = require('./utils-CtgLe8Vv.cjs');
|
|
3
3
|
|
|
4
4
|
//#region src/shared/color-utils/color-format-gradient.ts
|
|
5
5
|
const generateRGB_R = (orientation, dir, zValue) => {
|
package/dist/color-utils.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require('./utils-
|
|
2
|
-
const require_color_utils = require('./color-utils-
|
|
1
|
+
require('./utils-CtgLe8Vv.cjs');
|
|
2
|
+
const require_color_utils = require('./color-utils-grkMlPoh.cjs');
|
|
3
3
|
|
|
4
4
|
exports.Color = require_color_utils.Color;
|
|
5
5
|
exports.getColorAreaGradient = require_color_utils.getColorAreaGradient;
|
package/dist/color-utils.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./utils-
|
|
2
|
-
import { i as getColorAreaGradient, n as parseColor, r as Color, t as normalizeColor } from "./color-utils-
|
|
1
|
+
import "./utils-BIwaJq8z.mjs";
|
|
2
|
+
import { i as getColorAreaGradient, n as parseColor, r as Color, t as normalizeColor } from "./color-utils-CjwofPil.mjs";
|
|
3
3
|
|
|
4
4
|
export { Color, getColorAreaGradient, normalizeColor, parseColor };
|
|
@@ -42,8 +42,8 @@ declare function createScope(props: Pick<Scope, "id" | "ids" | "getRootNode">):
|
|
|
42
42
|
getActiveElement: () => HTMLElement | null;
|
|
43
43
|
isActiveElement: typeof isActiveElement;
|
|
44
44
|
getById: <T extends Element = HTMLElement>(id: string) => T | null;
|
|
45
|
-
id?: string | undefined | undefined;
|
|
46
45
|
ids?: Record<string, any> | undefined;
|
|
46
|
+
id?: string | undefined | undefined;
|
|
47
47
|
};
|
|
48
48
|
//#endregion
|
|
49
49
|
export { memo as a, setup as i, createGuards as n, mergeProps as o, createMachine as r, createScope as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_dom_query = require('./dom-query-CWZdWUGp.cjs');
|
|
2
|
-
const require_utils = require('./utils-
|
|
2
|
+
const require_utils = require('./utils-CtgLe8Vv.cjs');
|
|
3
3
|
|
|
4
4
|
//#region src/shared/core/merge-props.ts
|
|
5
5
|
const clsx = (...args) => args.map((str) => str?.trim?.()).filter(Boolean).join(" ");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Qt as getDocument, Zt as getActiveElement, in as isActiveElement } from "./dom-query-Bwyyt0Vp.mjs";
|
|
2
|
-
import { W as callAll, dt as
|
|
2
|
+
import { W as callAll, dt as isString, ft as isEqual } from "./utils-BIwaJq8z.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/core/merge-props.ts
|
|
5
5
|
const clsx = (...args) => args.map((str) => str?.trim?.()).filter(Boolean).join(" ");
|
|
@@ -42,8 +42,8 @@ declare function createScope(props: Pick<Scope, "id" | "ids" | "getRootNode">):
|
|
|
42
42
|
getActiveElement: () => HTMLElement | null;
|
|
43
43
|
isActiveElement: typeof isActiveElement;
|
|
44
44
|
getById: <T extends Element = HTMLElement>(id: string) => T | null;
|
|
45
|
-
id?: string | undefined | undefined;
|
|
46
45
|
ids?: Record<string, any> | undefined;
|
|
46
|
+
id?: string | undefined | undefined;
|
|
47
47
|
};
|
|
48
48
|
//#endregion
|
|
49
49
|
export { memo as a, setup as i, createGuards as n, mergeProps as o, createMachine as r, createScope as t };
|
package/dist/core.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
require('./dom-query-CWZdWUGp.cjs');
|
|
2
|
-
require('./utils-
|
|
3
|
-
const require_core = require('./core-
|
|
2
|
+
require('./utils-CtgLe8Vv.cjs');
|
|
3
|
+
const require_core = require('./core-DHn58LRl.cjs');
|
|
4
4
|
|
|
5
5
|
exports.INIT_STATE = require_core.INIT_STATE;
|
|
6
6
|
exports.MachineStatus = require_core.MachineStatus;
|
package/dist/core.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as memo, i as setup, n as createGuards, o as mergeProps, r as createMachine, t as createScope } from "./core-
|
|
1
|
+
import { a as memo, i as setup, n as createGuards, o as mergeProps, r as createMachine, t as createScope } from "./core-D_pI64vx.cjs";
|
|
2
2
|
import { _ as PropFn, a as BindableParams, b as Transition, c as ComputedFn, d as GuardFn, f as INIT_STATE, g as Params, h as MachineStatus, i as BindableFn, l as EffectsOrFn, m as MachineSchema, n as Bindable, o as BindableRefs, p as Machine, r as BindableContext, s as ChooseFn, t as ActionsOrFn, u as EventObject, v as Scope, x as ValueOrFn, y as Service } from "./types-BIy26Uwn.cjs";
|
|
3
3
|
export { ActionsOrFn, Bindable, BindableContext, BindableFn, BindableParams, BindableRefs, ChooseFn, ComputedFn, EffectsOrFn, EventObject, GuardFn, INIT_STATE, Machine, MachineSchema, MachineStatus, Params, PropFn, Scope, Service, Transition, ValueOrFn, createGuards, createMachine, createScope, memo, mergeProps, setup };
|
package/dist/core.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as memo, i as setup, n as createGuards, o as mergeProps, r as createMachine, t as createScope } from "./core-
|
|
1
|
+
import { a as memo, i as setup, n as createGuards, o as mergeProps, r as createMachine, t as createScope } from "./core-75kSaDJc.mjs";
|
|
2
2
|
import { _ as PropFn, a as BindableParams, b as Transition, c as ComputedFn, d as GuardFn, f as INIT_STATE, g as Params, h as MachineStatus, i as BindableFn, l as EffectsOrFn, m as MachineSchema, n as Bindable, o as BindableRefs, p as Machine, r as BindableContext, s as ChooseFn, t as ActionsOrFn, u as EventObject, v as Scope, x as ValueOrFn, y as Service } from "./types-jyV564Ip.mjs";
|
|
3
3
|
export { ActionsOrFn, Bindable, BindableContext, BindableFn, BindableParams, BindableRefs, ChooseFn, ComputedFn, EffectsOrFn, EventObject, GuardFn, INIT_STATE, Machine, MachineSchema, MachineStatus, Params, PropFn, Scope, Service, Transition, ValueOrFn, createGuards, createMachine, createScope, memo, mergeProps, setup };
|
package/dist/core.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./dom-query-Bwyyt0Vp.mjs";
|
|
2
|
-
import "./utils-
|
|
3
|
-
import { a as createMachine, c as mergeProps, i as createGuards, n as INIT_STATE, o as setup, r as MachineStatus, s as memo, t as createScope } from "./core-
|
|
2
|
+
import "./utils-BIwaJq8z.mjs";
|
|
3
|
+
import { a as createMachine, c as mergeProps, i as createGuards, n as INIT_STATE, o as setup, r as MachineStatus, s as memo, t as createScope } from "./core-DVmt6PX7.mjs";
|
|
4
4
|
|
|
5
5
|
export { INIT_STATE, MachineStatus, createGuards, createMachine, createScope, memo, mergeProps, setup };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Qt as getDocument, U as raf, Xt as contains, ft as getEventTarget, l as setStyle, ln as isHTMLElement, st as addDomEvent, t as waitForElement } from "./dom-query-Bwyyt0Vp.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { t as trackInteractOutside } from "./interact-outside-
|
|
2
|
+
import { at as isFunction, i as warn } from "./utils-BIwaJq8z.mjs";
|
|
3
|
+
import { t as trackInteractOutside } from "./interact-outside-D9gKK1XW.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/shared/dismissable/escape-keydown.ts
|
|
6
6
|
function trackEscapeKeydown(node, fn) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as InteractOutsideHandlers } from "./index-DFiQyzeW.cjs";
|
|
2
|
-
import { t as MaybeFunction } from "./functions-
|
|
2
|
+
import { t as MaybeFunction } from "./functions-2ix8ad1e.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/dismissable/layer-stack.d.ts
|
|
5
5
|
type LayerType = "dialog" | "popover" | "menu" | "listbox" | (string & {});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as InteractOutsideHandlers } from "./index-9OlOKr2i.mjs";
|
|
2
|
-
import { t as MaybeFunction } from "./functions-
|
|
2
|
+
import { t as MaybeFunction } from "./functions-qoGE2jOS.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/dismissable/layer-stack.d.ts
|
|
5
5
|
type LayerType = "dialog" | "popover" | "menu" | "listbox" | (string & {});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_dom_query = require('./dom-query-CWZdWUGp.cjs');
|
|
2
|
-
const require_utils = require('./utils-
|
|
3
|
-
const require_interact_outside = require('./interact-outside-
|
|
2
|
+
const require_utils = require('./utils-CtgLe8Vv.cjs');
|
|
3
|
+
const require_interact_outside = require('./interact-outside-Dp8GERFa.cjs');
|
|
4
4
|
|
|
5
5
|
//#region src/shared/dismissable/escape-keydown.ts
|
|
6
6
|
function trackEscapeKeydown(node, fn) {
|
package/dist/dismissable.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require('./dom-query-CWZdWUGp.cjs');
|
|
2
|
-
require('./utils-
|
|
3
|
-
require('./interact-outside-
|
|
4
|
-
const require_dismissable = require('./dismissable-
|
|
2
|
+
require('./utils-CtgLe8Vv.cjs');
|
|
3
|
+
require('./interact-outside-Dp8GERFa.cjs');
|
|
4
|
+
const require_dismissable = require('./dismissable-rIq_LmT8.cjs');
|
|
5
5
|
|
|
6
6
|
exports.trackDismissableBranch = require_dismissable.trackDismissableBranch;
|
|
7
7
|
exports.trackDismissableElement = require_dismissable.trackDismissableElement;
|
package/dist/dismissable.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "./index-DFiQyzeW.cjs";
|
|
2
|
-
import { a as trackDismissableElement, i as trackDismissableBranch, n as DismissableElementOptions, o as LayerType, r as PersistentElementOptions, t as DismissableElementHandlers } from "./dismissable-layer-
|
|
2
|
+
import { a as trackDismissableElement, i as trackDismissableBranch, n as DismissableElementOptions, o as LayerType, r as PersistentElementOptions, t as DismissableElementHandlers } from "./dismissable-layer-DmvOBneO.cjs";
|
|
3
3
|
export { DismissableElementHandlers, DismissableElementOptions, FocusOutsideEvent, InteractOutsideEvent, InteractOutsideHandlers, LayerType, PersistentElementOptions, PointerDownOutsideEvent, trackDismissableBranch, trackDismissableElement };
|
package/dist/dismissable.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "./index-9OlOKr2i.mjs";
|
|
2
|
-
import { a as trackDismissableElement, i as trackDismissableBranch, n as DismissableElementOptions, o as LayerType, r as PersistentElementOptions, t as DismissableElementHandlers } from "./dismissable-layer-
|
|
2
|
+
import { a as trackDismissableElement, i as trackDismissableBranch, n as DismissableElementOptions, o as LayerType, r as PersistentElementOptions, t as DismissableElementHandlers } from "./dismissable-layer-xYn_dIUQ.mjs";
|
|
3
3
|
export { DismissableElementHandlers, DismissableElementOptions, FocusOutsideEvent, InteractOutsideEvent, InteractOutsideHandlers, LayerType, PersistentElementOptions, PointerDownOutsideEvent, trackDismissableBranch, trackDismissableElement };
|
package/dist/dismissable.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./dom-query-Bwyyt0Vp.mjs";
|
|
2
|
-
import "./utils-
|
|
3
|
-
import "./interact-outside-
|
|
4
|
-
import { n as trackDismissableElement, t as trackDismissableBranch } from "./dismissable-
|
|
2
|
+
import "./utils-BIwaJq8z.mjs";
|
|
3
|
+
import "./interact-outside-D9gKK1XW.mjs";
|
|
4
|
+
import { n as trackDismissableElement, t as trackDismissableBranch } from "./dismissable-CyZwVu7n.mjs";
|
|
5
5
|
|
|
6
6
|
export { trackDismissableBranch, trackDismissableElement };
|
|
@@ -11,5 +11,6 @@ declare function match<V extends string | number = string, R = unknown>(key: V,
|
|
|
11
11
|
declare const tryCatch: <R>(fn: () => R, fallback: () => R) => R;
|
|
12
12
|
declare function throttle<T extends (...args: any[]) => void>(fn: T, wait?: number): T;
|
|
13
13
|
declare function debounce<T extends (...args: any[]) => void>(fn: T, wait?: number): T;
|
|
14
|
+
declare const hash: (value: string) => string;
|
|
14
15
|
//#endregion
|
|
15
|
-
export { debounce as a,
|
|
16
|
+
export { debounce as a, match as c, throttle as d, tryCatch as f, cast as i, noop as l, Nullable as n, hash as o, uuid as p, callAll as r, identity as s, MaybeFunction as t, runIfFn as u };
|
|
@@ -11,5 +11,6 @@ declare function match<V extends string | number = string, R = unknown>(key: V,
|
|
|
11
11
|
declare const tryCatch: <R>(fn: () => R, fallback: () => R) => R;
|
|
12
12
|
declare function throttle<T extends (...args: any[]) => void>(fn: T, wait?: number): T;
|
|
13
13
|
declare function debounce<T extends (...args: any[]) => void>(fn: T, wait?: number): T;
|
|
14
|
+
declare const hash: (value: string) => string;
|
|
14
15
|
//#endregion
|
|
15
|
-
export { debounce as a,
|
|
16
|
+
export { debounce as a, match as c, throttle as d, tryCatch as f, cast as i, noop as l, Nullable as n, hash as o, uuid as p, callAll as r, identity as s, MaybeFunction as t, runIfFn as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as getNearestOverflowAncestor, Kt as isControlledElement, Qt as getDocument, U as raf, Xt as contains, et as isFocusable, ft as getEventTarget, ht as isContextMenuEvent, ln as isHTMLElement, pn as isShadowRoot, rn as getWindow, st as addDomEvent, zt as isTouchDevice } from "./dom-query-Bwyyt0Vp.mjs";
|
|
2
|
-
import { W as callAll } from "./utils-
|
|
2
|
+
import { W as callAll } from "./utils-BIwaJq8z.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/shared/interact-outside/frame-utils.ts
|
|
5
5
|
function getWindowFrames(win) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require('./dom-query-CWZdWUGp.cjs');
|
|
2
|
-
require('./utils-
|
|
3
|
-
const require_interact_outside = require('./interact-outside-
|
|
2
|
+
require('./utils-CtgLe8Vv.cjs');
|
|
3
|
+
const require_interact_outside = require('./interact-outside-Dp8GERFa.cjs');
|
|
4
4
|
|
|
5
5
|
exports.trackInteractOutside = require_interact_outside.trackInteractOutside;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./dom-query-Bwyyt0Vp.mjs";
|
|
2
|
-
import "./utils-
|
|
3
|
-
import { t as trackInteractOutside } from "./interact-outside-
|
|
2
|
+
import "./utils-BIwaJq8z.mjs";
|
|
3
|
+
import { t as trackInteractOutside } from "./interact-outside-D9gKK1XW.mjs";
|
|
4
4
|
|
|
5
5
|
export { trackInteractOutside };
|
|
@@ -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;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
|
|
2
2
|
const require_dom_query = require('../../dom-query-CWZdWUGp.cjs');
|
|
3
|
-
const require_utils = require('../../utils-
|
|
4
|
-
const require_core = require('../../core-
|
|
3
|
+
const require_utils = require('../../utils-CtgLe8Vv.cjs');
|
|
4
|
+
const require_core = require('../../core-DHn58LRl.cjs');
|
|
5
5
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
6
6
|
|
|
7
7
|
//#region src/machines/accordion/accordion.anatomy.ts
|
|
@@ -16,7 +16,7 @@ const getItemContentId = (ctx, value) => ctx.ids?.itemContent?.(value) ?? `accor
|
|
|
16
16
|
const getItemTriggerId = (ctx, value) => ctx.ids?.itemTrigger?.(value) ?? `accordion:${ctx.id}:trigger:${value}`;
|
|
17
17
|
const getRootEl = (ctx) => ctx.getById(getRootId(ctx));
|
|
18
18
|
const getTriggerEls = (ctx) => {
|
|
19
|
-
const selector = `[
|
|
19
|
+
const selector = `[data-controls][data-ownedby='${CSS.escape(getRootId(ctx))}']:not([disabled])`;
|
|
20
20
|
return require_dom_query.queryAll(getRootEl(ctx), selector);
|
|
21
21
|
};
|
|
22
22
|
const getFirstTriggerEl = (ctx) => require_utils.first(getTriggerEls(ctx));
|
|
@@ -107,6 +107,7 @@ function connect(service, normalize) {
|
|
|
107
107
|
dir: prop("dir"),
|
|
108
108
|
id: getItemTriggerId(scope, value$1),
|
|
109
109
|
"aria-controls": getItemContentId(scope, value$1),
|
|
110
|
+
"data-controls": getItemContentId(scope, value$1),
|
|
110
111
|
"aria-expanded": itemState.expanded,
|
|
111
112
|
disabled: itemState.disabled,
|
|
112
113
|
"data-orientation": prop("orientation"),
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-BIy26U
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-UNyqrBDu.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/accordion/accordion.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "item" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "itemContent" | "itemTrigger" | "itemIndicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/accordion/accordion.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-jyV564
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVcPBg7R.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/accordion/accordion.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "item" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "itemContent" | "itemTrigger" | "itemIndicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/accordion/accordion.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
2
|
import { Rt as isSafari, S as queryAll, b as prevById, lt as getEventKey, vn as dataAttr, y as nextById } from "../../dom-query-Bwyyt0Vp.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
3
|
+
import { At as remove, i as warn, pt as add, u as createSplitProps, vt as first, wt as last } from "../../utils-BIwaJq8z.mjs";
|
|
4
|
+
import { a as createMachine, i as createGuards } from "../../core-DVmt6PX7.mjs";
|
|
5
5
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/accordion/accordion.anatomy.ts
|
|
@@ -16,7 +16,7 @@ const getItemContentId = (ctx, value) => ctx.ids?.itemContent?.(value) ?? `accor
|
|
|
16
16
|
const getItemTriggerId = (ctx, value) => ctx.ids?.itemTrigger?.(value) ?? `accordion:${ctx.id}:trigger:${value}`;
|
|
17
17
|
const getRootEl = (ctx) => ctx.getById(getRootId(ctx));
|
|
18
18
|
const getTriggerEls = (ctx) => {
|
|
19
|
-
const selector = `[
|
|
19
|
+
const selector = `[data-controls][data-ownedby='${CSS.escape(getRootId(ctx))}']:not([disabled])`;
|
|
20
20
|
return queryAll(getRootEl(ctx), selector);
|
|
21
21
|
};
|
|
22
22
|
const getFirstTriggerEl = (ctx) => first(getTriggerEls(ctx));
|
|
@@ -107,6 +107,7 @@ function connect(service, normalize) {
|
|
|
107
107
|
dir: prop("dir"),
|
|
108
108
|
id: getItemTriggerId(scope, value$1),
|
|
109
109
|
"aria-controls": getItemContentId(scope, value$1),
|
|
110
|
+
"data-controls": getItemContentId(scope, value$1),
|
|
110
111
|
"aria-expanded": itemState.expanded,
|
|
111
112
|
disabled: itemState.disabled,
|
|
112
113
|
"data-orientation": prop("orientation"),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
|
|
2
2
|
const require_dom_query = require('../../dom-query-CWZdWUGp.cjs');
|
|
3
|
-
const require_utils = require('../../utils-
|
|
4
|
-
const require_core = require('../../core-
|
|
3
|
+
const require_utils = require('../../utils-CtgLe8Vv.cjs');
|
|
4
|
+
const require_core = require('../../core-DHn58LRl.cjs');
|
|
5
5
|
const require_rect_utils = require('../../rect-utils-Dp9Wvl7-.cjs');
|
|
6
6
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
7
7
|
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-BIy26U
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-UNyqrBDu.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/angle-slider/angle-slider.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "track" | "control" | "label" | "thumb" | "valueText" | "markerGroup" | "marker">;
|
|
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-jyV564
|
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVcPBg7R.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/angle-slider/angle-slider.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "track" | "control" | "label" | "thumb" | "valueText" | "markerGroup" | "marker">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/angle-slider/angle-slider.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
2
|
import { T as trackPointerMove, U as raf, at as setElementValue, dt as getEventStep, pt as getNativeEvent, ut as getEventPoint, vn as dataAttr, yt as isLeftClick } from "../../dom-query-Bwyyt0Vp.mjs";
|
|
3
|
-
import { B as snapValueToStep, u as createSplitProps } from "../../utils-
|
|
4
|
-
import { a as createMachine } from "../../core-
|
|
3
|
+
import { B as snapValueToStep, u as createSplitProps } from "../../utils-BIwaJq8z.mjs";
|
|
4
|
+
import { a as createMachine } from "../../core-DVmt6PX7.mjs";
|
|
5
5
|
import { R as createRect, q as getPointAngle } from "../../rect-utils-j6C9uZk1.mjs";
|
|
6
6
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
require('../../dom-query-CWZdWUGp.cjs');
|
|
2
|
-
const require_utils = require('../../utils-
|
|
3
|
-
const require_core = require('../../core-
|
|
2
|
+
const require_utils = require('../../utils-CtgLe8Vv.cjs');
|
|
3
|
+
const require_core = require('../../core-DHn58LRl.cjs');
|
|
4
4
|
|
|
5
5
|
//#region src/machines/async-list/async-list.connect.ts
|
|
6
6
|
function connect(service) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../dom-query-Bwyyt0Vp.mjs";
|
|
2
|
-
import { n as ensureProps, t as ensure } from "../../utils-
|
|
3
|
-
import { a as createMachine } from "../../core-
|
|
2
|
+
import { n as ensureProps, t as ensure } from "../../utils-BIwaJq8z.mjs";
|
|
3
|
+
import { a as createMachine } from "../../core-DVmt6PX7.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/async-list/async-list.connect.ts
|
|
6
6
|
function connect(service) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
|
|
2
2
|
const require_dom_query = require('../../dom-query-CWZdWUGp.cjs');
|
|
3
|
-
const require_utils = require('../../utils-
|
|
4
|
-
const require_core = require('../../core-
|
|
3
|
+
const require_utils = require('../../utils-CtgLe8Vv.cjs');
|
|
4
|
+
const require_core = require('../../core-DHn58LRl.cjs');
|
|
5
5
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
6
6
|
|
|
7
7
|
//#region src/machines/avatar/avatar.anatomy.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
2
|
import { R as observeAttributes, z as observeChildren } from "../../dom-query-Bwyyt0Vp.mjs";
|
|
3
|
-
import { u as createSplitProps } from "../../utils-
|
|
4
|
-
import { a as createMachine } from "../../core-
|
|
3
|
+
import { u as createSplitProps } from "../../utils-BIwaJq8z.mjs";
|
|
4
|
+
import { a as createMachine } from "../../core-DVmt6PX7.mjs";
|
|
5
5
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/avatar/avatar.anatomy.ts
|
|
@@ -2,10 +2,10 @@ const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
|
|
|
2
2
|
const require_dom_query = require('../../dom-query-CWZdWUGp.cjs');
|
|
3
3
|
const require_defineProperty = require('../../defineProperty-BoUOT9Ie.cjs');
|
|
4
4
|
const require_aria_hidden = require('../../aria-hidden-DtLU6hSU.cjs');
|
|
5
|
-
const require_utils = require('../../utils-
|
|
6
|
-
const require_core = require('../../core-
|
|
7
|
-
require('../../interact-outside-
|
|
8
|
-
const require_dismissable = require('../../dismissable-
|
|
5
|
+
const require_utils = require('../../utils-CtgLe8Vv.cjs');
|
|
6
|
+
const require_core = require('../../core-DHn58LRl.cjs');
|
|
7
|
+
require('../../interact-outside-Dp8GERFa.cjs');
|
|
8
|
+
const require_dismissable = require('../../dismissable-rIq_LmT8.cjs');
|
|
9
9
|
const require_focus_trap = require('../../focus-trap-DMoa9bOi.cjs');
|
|
10
10
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
11
11
|
const require_remove_scroll = require('../../remove-scroll-Dh9PjZFE.cjs');
|
|
@@ -2,10 +2,10 @@ import { n as AnatomyInstance } from "../../create-anatomy-smWrirg1.cjs";
|
|
|
2
2
|
import { p as Machine, u as EventObject, y as Service } from "../../types-BIy26Uwn.cjs";
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, p as Point, r as DirectionProperty, s as MaybeElement, t as CommonProperties, x as PropTypes } from "../../index-UNyqrBDu.cjs";
|
|
4
4
|
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-DFiQyzeW.cjs";
|
|
5
|
-
import { t as DismissableElementHandlers } from "../../dismissable-layer-
|
|
5
|
+
import { t as DismissableElementHandlers } from "../../dismissable-layer-DmvOBneO.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<"content" | "title" | "trigger" | "closeTrigger" | "backdrop" | "grabber" | "grabberIndicator">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/bottom-sheet/utils/drag-manager.d.ts
|
|
11
11
|
declare class DragManager {
|
|
@@ -2,10 +2,10 @@ import { n as AnatomyInstance } from "../../create-anatomy-DHVOqZET.mjs";
|
|
|
2
2
|
import { p as Machine, u as EventObject, y as Service } from "../../types-jyV564Ip.mjs";
|
|
3
3
|
import { b as NormalizeProps, g as RequiredBy, p as Point, r as DirectionProperty, s as MaybeElement, t as CommonProperties, x as PropTypes } from "../../index-BVcPBg7R.mjs";
|
|
4
4
|
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-9OlOKr2i.mjs";
|
|
5
|
-
import { t as DismissableElementHandlers } from "../../dismissable-layer-
|
|
5
|
+
import { t as DismissableElementHandlers } from "../../dismissable-layer-xYn_dIUQ.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<"content" | "title" | "trigger" | "closeTrigger" | "backdrop" | "grabber" | "grabberIndicator">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/bottom-sheet/utils/drag-manager.d.ts
|
|
11
11
|
declare class DragManager {
|
|
@@ -2,10 +2,10 @@ import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
|
2
2
|
import { U as raf, ft as getEventTarget, p as resizeObserverBorderBox, st as addDomEvent, ut as getEventPoint, yt as isLeftClick } from "../../dom-query-Bwyyt0Vp.mjs";
|
|
3
3
|
import { t as _defineProperty } from "../../defineProperty-Cql4jybt.mjs";
|
|
4
4
|
import { t as ariaHidden } from "../../aria-hidden-DIoJxbA3.mjs";
|
|
5
|
-
import { H as toPx, u as createSplitProps } from "../../utils-
|
|
6
|
-
import { a as createMachine } from "../../core-
|
|
7
|
-
import "../../interact-outside-
|
|
8
|
-
import { n as trackDismissableElement } from "../../dismissable-
|
|
5
|
+
import { H as toPx, u as createSplitProps } from "../../utils-BIwaJq8z.mjs";
|
|
6
|
+
import { a as createMachine } from "../../core-DVmt6PX7.mjs";
|
|
7
|
+
import "../../interact-outside-D9gKK1XW.mjs";
|
|
8
|
+
import { n as trackDismissableElement } from "../../dismissable-CyZwVu7n.mjs";
|
|
9
9
|
import { t as trapFocus } from "../../focus-trap-BG22frp5.mjs";
|
|
10
10
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
11
11
|
import { t as preventBodyScroll } from "../../remove-scroll-C73TLIgr.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_create_anatomy = require('../../create-anatomy-CDsIFUXg.cjs');
|
|
2
2
|
const require_dom_query = require('../../dom-query-CWZdWUGp.cjs');
|
|
3
|
-
const require_utils = require('../../utils-
|
|
4
|
-
const require_core = require('../../core-
|
|
3
|
+
const require_utils = require('../../utils-CtgLe8Vv.cjs');
|
|
4
|
+
const require_core = require('../../core-DHn58LRl.cjs');
|
|
5
5
|
const require_scroll_snap = require('../../scroll-snap-BsPbmOTg.cjs');
|
|
6
6
|
const require_create_props = require('../../create-props-l5q5b8Wo.cjs');
|
|
7
7
|
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-BIy26U
|
|
|
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-UNyqrBDu.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/carousel/carousel.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "control" | "indicator" | "item" | "itemGroup" | "nextTrigger" | "prevTrigger" | "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-jyV564
|
|
|
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-BVcPBg7R.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/carousel/carousel.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "control" | "indicator" | "item" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger" | "progressText">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/carousel/carousel.types.d.ts
|
|
9
9
|
interface PageChangeDetails {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createAnatomy } from "../../create-anatomy-CArN8dVu.mjs";
|
|
2
2
|
import { $ as getTabbables, S as queryAll, T as trackPointerMove, U as raf, Xt as contains, _n as ariaAttr, et as isFocusable, ft as getEventTarget, lt as getEventKey, p as resizeObserverBorderBox, st as addDomEvent, vn as dataAttr, yt as isLeftClick } from "../../dom-query-Bwyyt0Vp.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { a as createMachine } from "../../core-
|
|
3
|
+
import { At as remove, Et as nextIndex, Nt as uniq, Q as throttle, W as callAll, ct as isObject, g as clampValue, kt as prevIndex, n as ensureProps, pt as add, u as createSplitProps } from "../../utils-BIwaJq8z.mjs";
|
|
4
|
+
import { a as createMachine } from "../../core-DVmt6PX7.mjs";
|
|
5
5
|
import { n as getScrollSnapPositions, t as findSnapPoint } from "../../scroll-snap-D4hJV_c8.mjs";
|
|
6
6
|
import { t as createProps } from "../../create-props-SRSjdUTq.mjs";
|
|
7
7
|
|