@wirekyt/dom 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/machines/angle-slider/index.d.cts +1 -1
- package/dist/machines/angle-slider/index.d.ts +1 -1
- package/dist/machines/carousel/index.d.cts +1 -1
- package/dist/machines/carousel/index.d.ts +1 -1
- package/dist/machines/cascade-select/index.d.cts +2 -2
- package/dist/machines/cascade-select/index.d.ts +2 -2
- package/dist/machines/checkbox/index.d.cts +1 -1
- package/dist/machines/checkbox/index.d.ts +1 -1
- package/dist/machines/clipboard/index.d.cts +1 -1
- package/dist/machines/clipboard/index.d.ts +1 -1
- package/dist/machines/collapsible/index.d.cts +1 -1
- package/dist/machines/collapsible/index.d.ts +1 -1
- package/dist/machines/color-picker/index.d.cts +1 -1
- package/dist/machines/color-picker/index.d.ts +1 -1
- package/dist/machines/combobox/index.d.cts +1 -1
- package/dist/machines/combobox/index.d.ts +1 -1
- package/dist/machines/date-input/index.cjs +0 -4
- package/dist/machines/date-input/index.d.cts +1 -1
- package/dist/machines/date-input/index.d.ts +1 -1
- package/dist/machines/date-input/index.js +0 -4
- package/dist/machines/date-picker/index.d.cts +1 -1
- package/dist/machines/date-picker/index.d.ts +1 -1
- package/dist/machines/dialog/index.d.cts +1 -1
- package/dist/machines/dialog/index.d.ts +1 -1
- package/dist/machines/drawer/index.d.cts +1 -1
- package/dist/machines/drawer/index.d.ts +1 -1
- package/dist/machines/editable/index.d.cts +1 -1
- package/dist/machines/editable/index.d.ts +1 -1
- package/dist/machines/file-upload/index.d.cts +1 -1
- package/dist/machines/file-upload/index.d.ts +1 -1
- package/dist/machines/floating-panel/index.d.cts +1 -1
- package/dist/machines/floating-panel/index.d.ts +1 -1
- package/dist/machines/image-cropper/index.d.cts +1 -1
- package/dist/machines/image-cropper/index.d.ts +1 -1
- package/dist/machines/listbox/index.d.cts +1 -1
- package/dist/machines/listbox/index.d.ts +1 -1
- package/dist/machines/marquee/index.d.cts +2 -2
- package/dist/machines/marquee/index.d.ts +2 -2
- package/dist/machines/menu/index.d.cts +1 -1
- package/dist/machines/menu/index.d.ts +1 -1
- package/dist/machines/navigation-menu/index.d.cts +1 -1
- package/dist/machines/navigation-menu/index.d.ts +1 -1
- package/dist/machines/number-input/index.d.cts +1 -1
- package/dist/machines/number-input/index.d.ts +1 -1
- package/dist/machines/pagination/index.d.cts +1 -1
- package/dist/machines/pagination/index.d.ts +1 -1
- package/dist/machines/password-input/index.d.cts +1 -1
- package/dist/machines/password-input/index.d.ts +1 -1
- package/dist/machines/pin-input/index.d.cts +1 -1
- package/dist/machines/pin-input/index.d.ts +1 -1
- package/dist/machines/popover/index.d.cts +1 -1
- package/dist/machines/popover/index.d.ts +1 -1
- package/dist/machines/progress/index.d.cts +1 -1
- package/dist/machines/progress/index.d.ts +1 -1
- package/dist/machines/radio-group/index.d.cts +1 -1
- package/dist/machines/radio-group/index.d.ts +1 -1
- package/dist/machines/rating-group/index.d.cts +1 -1
- package/dist/machines/rating-group/index.d.ts +1 -1
- package/dist/machines/scroll-area/index.d.cts +1 -1
- package/dist/machines/scroll-area/index.d.ts +1 -1
- package/dist/machines/select/index.d.cts +1 -1
- package/dist/machines/select/index.d.ts +1 -1
- package/dist/machines/signature-pad/index.d.cts +1 -1
- package/dist/machines/signature-pad/index.d.ts +1 -1
- package/dist/machines/slider/index.d.cts +1 -1
- package/dist/machines/slider/index.d.ts +1 -1
- package/dist/machines/splitter/index.cjs +0 -8
- package/dist/machines/splitter/index.d.cts +0 -23
- package/dist/machines/splitter/index.d.ts +0 -23
- package/dist/machines/splitter/index.js +0 -8
- package/dist/machines/steps/index.d.cts +1 -1
- package/dist/machines/steps/index.d.ts +1 -1
- package/dist/machines/tabs/index.d.cts +1 -1
- package/dist/machines/tabs/index.d.ts +1 -1
- package/dist/machines/tags-input/index.d.cts +1 -1
- package/dist/machines/tags-input/index.d.ts +1 -1
- package/dist/machines/timer/index.d.cts +1 -1
- package/dist/machines/timer/index.d.ts +1 -1
- package/dist/machines/toast/index.d.cts +1 -1
- package/dist/machines/toast/index.d.ts +1 -1
- package/dist/machines/toc/index.d.cts +1 -1
- package/dist/machines/toc/index.d.ts +1 -1
- package/dist/machines/tour/index.cjs +0 -4
- package/dist/machines/tour/index.d.cts +1 -1
- package/dist/machines/tour/index.d.ts +1 -1
- package/dist/machines/tour/index.js +0 -4
- package/dist/machines/tree-view/index.d.cts +1 -1
- package/dist/machines/tree-view/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import { r as PersistentElementOptions, t as DismissableElementHandlers } from "
|
|
|
6
6
|
import "../../index-DlAisY_i.cjs";
|
|
7
7
|
import { p as PositioningOptions, u as Placement } from "../../index-3tNJficI.cjs";
|
|
8
8
|
//#region src/machines/popover/anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"
|
|
9
|
+
declare const anatomy: AnatomyInstance<"trigger" | "indicator" | "content" | "title" | "arrow" | "arrowTip" | "positioner" | "anchor" | "closeTrigger" | "description">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/popover/types.d.ts
|
|
12
12
|
interface OpenChangeDetails {
|
|
@@ -6,7 +6,7 @@ import { r as PersistentElementOptions, t as DismissableElementHandlers } from "
|
|
|
6
6
|
import "../../index-DNDQD0mg.js";
|
|
7
7
|
import { p as PositioningOptions, u as Placement } from "../../index-3tNJficI.js";
|
|
8
8
|
//#region src/machines/popover/anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"
|
|
9
|
+
declare const anatomy: AnatomyInstance<"trigger" | "indicator" | "content" | "title" | "arrow" | "arrowTip" | "positioner" | "anchor" | "closeTrigger" | "description">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/popover/types.d.ts
|
|
12
12
|
interface OpenChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { M as Service, S as EventObject, T as Machine } from "../../index-pUYD4e
|
|
|
3
3
|
import { b as PropTypes, d as Orientation, f as OrientationProperty, g as RequiredBy, r as DirectionProperty, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.cjs";
|
|
4
4
|
import "../../index-DlAisY_i.cjs";
|
|
5
5
|
//#region src/machines/progress/anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"track" | "root" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"track" | "root" | "label" | "view" | "circle" | "valueText" | "range" | "circleTrack" | "circleRange">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/progress/types.d.ts
|
|
9
9
|
type ProgressState = "indeterminate" | "loading" | "complete";
|
|
@@ -3,7 +3,7 @@ import { M as Service, S as EventObject, T as Machine } from "../../index-CF2VuD
|
|
|
3
3
|
import { b as PropTypes, d as Orientation, f as OrientationProperty, g as RequiredBy, r as DirectionProperty, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.js";
|
|
4
4
|
import "../../index-DNDQD0mg.js";
|
|
5
5
|
//#region src/machines/progress/anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"track" | "root" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"track" | "root" | "label" | "view" | "circle" | "valueText" | "range" | "circleTrack" | "circleRange">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/progress/types.d.ts
|
|
9
9
|
type ProgressState = "indeterminate" | "loading" | "complete";
|
|
@@ -3,7 +3,7 @@ import { M as Service, S as EventObject, T as Machine } from "../../index-pUYD4e
|
|
|
3
3
|
import { b as PropTypes, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.cjs";
|
|
4
4
|
import "../../index-DlAisY_i.cjs";
|
|
5
5
|
//#region src/machines/radio-group/anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "indicator" | "label" | "itemControl" | "itemText">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/radio-group/types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { M as Service, S as EventObject, T as Machine } from "../../index-CF2VuD
|
|
|
3
3
|
import { b as PropTypes, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.js";
|
|
4
4
|
import "../../index-DNDQD0mg.js";
|
|
5
5
|
//#region src/machines/radio-group/anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "indicator" | "label" | "itemControl" | "itemText">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/radio-group/types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { M as Service, S as EventObject, T as Machine } from "../../index-pUYD4e
|
|
|
3
3
|
import { b as PropTypes, g as RequiredBy, r as DirectionProperty, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.cjs";
|
|
4
4
|
import "../../index-DlAisY_i.cjs";
|
|
5
5
|
//#region src/machines/rating-group/anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "control">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/rating-group/types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { M as Service, S as EventObject, T as Machine } from "../../index-CF2VuD
|
|
|
3
3
|
import { b as PropTypes, g as RequiredBy, r as DirectionProperty, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.js";
|
|
4
4
|
import "../../index-DNDQD0mg.js";
|
|
5
5
|
//#region src/machines/rating-group/anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "control">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/rating-group/types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { M as Service, S as EventObject, T as Machine } from "../../index-pUYD4e
|
|
|
3
3
|
import { _ as Size, b as PropTypes, d as Orientation, p as Point, r as DirectionProperty, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.cjs";
|
|
4
4
|
import "../../index-DlAisY_i.cjs";
|
|
5
5
|
//#region src/machines/scroll-area/anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "content" | "viewport" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "content" | "viewport" | "scrollbar" | "thumb" | "corner">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/scroll-area/utils/timeout.d.ts
|
|
9
9
|
declare class Timeout {
|
|
@@ -3,7 +3,7 @@ import { M as Service, S as EventObject, T as Machine } from "../../index-CF2VuD
|
|
|
3
3
|
import { _ as Size, b as PropTypes, d as Orientation, p as Point, r as DirectionProperty, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.js";
|
|
4
4
|
import "../../index-DNDQD0mg.js";
|
|
5
5
|
//#region src/machines/scroll-area/anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "content" | "viewport" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "content" | "viewport" | "scrollbar" | "thumb" | "corner">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/scroll-area/utils/timeout.d.ts
|
|
9
9
|
declare class Timeout {
|
|
@@ -9,7 +9,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
9
9
|
import "../../index-DlAisY_i.cjs";
|
|
10
10
|
import { p as PositioningOptions, u as Placement } from "../../index-3tNJficI.cjs";
|
|
11
11
|
//#region src/machines/select/anatomy.d.ts
|
|
12
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
12
|
+
declare const anatomy: AnatomyInstance<"root" | "list" | "item" | "trigger" | "indicator" | "content" | "itemGroup" | "label" | "clearTrigger" | "control" | "itemIndicator" | "valueText" | "positioner" | "itemText" | "itemGroupLabel">;
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/machines/select/collection.d.ts
|
|
15
15
|
declare const collection: {
|
|
@@ -9,7 +9,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
9
9
|
import "../../index-DNDQD0mg.js";
|
|
10
10
|
import { p as PositioningOptions, u as Placement } from "../../index-3tNJficI.js";
|
|
11
11
|
//#region src/machines/select/anatomy.d.ts
|
|
12
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
12
|
+
declare const anatomy: AnatomyInstance<"root" | "list" | "item" | "trigger" | "indicator" | "content" | "itemGroup" | "label" | "clearTrigger" | "control" | "itemIndicator" | "valueText" | "positioner" | "itemText" | "itemGroupLabel">;
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/machines/select/collection.d.ts
|
|
15
15
|
declare const collection: {
|
|
@@ -4,7 +4,7 @@ import { b as PropTypes, g as RequiredBy, r as DirectionProperty, t as CommonPro
|
|
|
4
4
|
import "../../index-DlAisY_i.cjs";
|
|
5
5
|
import { StrokeOptions } from "perfect-freehand";
|
|
6
6
|
//#region src/machines/signature-pad/anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "clearTrigger" | "control" | "segment" | "segmentPath" | "guide">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/signature-pad/types.d.ts
|
|
10
10
|
interface Point {
|
|
@@ -4,7 +4,7 @@ import { b as PropTypes, g as RequiredBy, r as DirectionProperty, t as CommonPro
|
|
|
4
4
|
import "../../index-DNDQD0mg.js";
|
|
5
5
|
import { StrokeOptions } from "perfect-freehand";
|
|
6
6
|
//#region src/machines/signature-pad/anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "label" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "label" | "clearTrigger" | "control" | "segment" | "segmentPath" | "guide">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/signature-pad/types.d.ts
|
|
10
10
|
interface Point {
|
|
@@ -3,7 +3,7 @@ import { M as Service, S as EventObject, T as Machine } from "../../index-pUYD4e
|
|
|
3
3
|
import { b as PropTypes, g as RequiredBy, r as DirectionProperty, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.cjs";
|
|
4
4
|
import "../../index-DlAisY_i.cjs";
|
|
5
5
|
//#region src/machines/slider/anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"track" | "root" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"track" | "root" | "label" | "marker" | "control" | "valueText" | "range" | "thumb" | "markerGroup" | "draggingIndicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/slider/types.d.ts
|
|
9
9
|
type ThumbCollisionBehavior = "none" | "push" | "swap";
|
|
@@ -3,7 +3,7 @@ import { M as Service, S as EventObject, T as Machine } from "../../index-CF2VuD
|
|
|
3
3
|
import { b as PropTypes, g as RequiredBy, r as DirectionProperty, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.js";
|
|
4
4
|
import "../../index-DNDQD0mg.js";
|
|
5
5
|
//#region src/machines/slider/anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"track" | "root" | "label" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"track" | "root" | "label" | "marker" | "control" | "valueText" | "range" | "thumb" | "markerGroup" | "draggingIndicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/slider/types.d.ts
|
|
9
9
|
type ThumbCollisionBehavior = "none" | "push" | "swap";
|
|
@@ -1566,10 +1566,6 @@ var SplitterRegistry = class {
|
|
|
1566
1566
|
const firstHandle = this.handles.values().next().value;
|
|
1567
1567
|
return require_dom_query.getDocument(firstHandle?.element);
|
|
1568
1568
|
}
|
|
1569
|
-
/**
|
|
1570
|
-
* Fast hit-test: only checks pointer proximity to handles (no stacking order).
|
|
1571
|
-
* Used for pointermove cursor feedback.
|
|
1572
|
-
*/
|
|
1573
1569
|
findHitHandles(x, y, pointerType) {
|
|
1574
1570
|
const intersecting = [];
|
|
1575
1571
|
const margin = this.options.hitAreaMargins[pointerType];
|
|
@@ -1579,10 +1575,6 @@ var SplitterRegistry = class {
|
|
|
1579
1575
|
});
|
|
1580
1576
|
return intersecting;
|
|
1581
1577
|
}
|
|
1582
|
-
/**
|
|
1583
|
-
* Full intersection check: hit-test + stacking order verification.
|
|
1584
|
-
* Used for pointerdown activation where correctness matters.
|
|
1585
|
-
*/
|
|
1586
1578
|
findIntersectingHandles(x, y, pointerType, eventTarget) {
|
|
1587
1579
|
const hits = this.findHitHandles(x, y, pointerType);
|
|
1588
1580
|
const targetElement = require_dom_query.isElement(eventTarget) ? eventTarget : null;
|
|
@@ -14,26 +14,11 @@ interface ResizeHandleData {
|
|
|
14
14
|
onDeactivate: VoidFunction;
|
|
15
15
|
}
|
|
16
16
|
interface HitAreaMargins {
|
|
17
|
-
/**
|
|
18
|
-
* The margin for coarse pointers (touch, pen)
|
|
19
|
-
* @default 15
|
|
20
|
-
*/
|
|
21
17
|
coarse?: number;
|
|
22
|
-
/**
|
|
23
|
-
* The margin for fine pointers (mouse)
|
|
24
|
-
* @default 5
|
|
25
|
-
*/
|
|
26
18
|
fine?: number;
|
|
27
19
|
}
|
|
28
20
|
interface SplitterRegistryOptions {
|
|
29
|
-
/**
|
|
30
|
-
* The nonce for the injected cursor stylesheet (for CSP compliance).
|
|
31
|
-
*/
|
|
32
21
|
nonce?: string;
|
|
33
|
-
/**
|
|
34
|
-
* The hit area margins for resize handles.
|
|
35
|
-
* Larger margins make it easier to grab handles, especially on touch devices.
|
|
36
|
-
*/
|
|
37
22
|
hitAreaMargins?: HitAreaMargins;
|
|
38
23
|
}
|
|
39
24
|
declare class SplitterRegistry {
|
|
@@ -47,15 +32,7 @@ declare class SplitterRegistry {
|
|
|
47
32
|
private detachGlobalListeners;
|
|
48
33
|
private getPointerType;
|
|
49
34
|
private get doc();
|
|
50
|
-
/**
|
|
51
|
-
* Fast hit-test: only checks pointer proximity to handles (no stacking order).
|
|
52
|
-
* Used for pointermove cursor feedback.
|
|
53
|
-
*/
|
|
54
35
|
private findHitHandles;
|
|
55
|
-
/**
|
|
56
|
-
* Full intersection check: hit-test + stacking order verification.
|
|
57
|
-
* Used for pointerdown activation where correctness matters.
|
|
58
|
-
*/
|
|
59
36
|
private findIntersectingHandles;
|
|
60
37
|
private handlePointerMove;
|
|
61
38
|
private handlePointerDown;
|
|
@@ -14,26 +14,11 @@ interface ResizeHandleData {
|
|
|
14
14
|
onDeactivate: VoidFunction;
|
|
15
15
|
}
|
|
16
16
|
interface HitAreaMargins {
|
|
17
|
-
/**
|
|
18
|
-
* The margin for coarse pointers (touch, pen)
|
|
19
|
-
* @default 15
|
|
20
|
-
*/
|
|
21
17
|
coarse?: number;
|
|
22
|
-
/**
|
|
23
|
-
* The margin for fine pointers (mouse)
|
|
24
|
-
* @default 5
|
|
25
|
-
*/
|
|
26
18
|
fine?: number;
|
|
27
19
|
}
|
|
28
20
|
interface SplitterRegistryOptions {
|
|
29
|
-
/**
|
|
30
|
-
* The nonce for the injected cursor stylesheet (for CSP compliance).
|
|
31
|
-
*/
|
|
32
21
|
nonce?: string;
|
|
33
|
-
/**
|
|
34
|
-
* The hit area margins for resize handles.
|
|
35
|
-
* Larger margins make it easier to grab handles, especially on touch devices.
|
|
36
|
-
*/
|
|
37
22
|
hitAreaMargins?: HitAreaMargins;
|
|
38
23
|
}
|
|
39
24
|
declare class SplitterRegistry {
|
|
@@ -47,15 +32,7 @@ declare class SplitterRegistry {
|
|
|
47
32
|
private detachGlobalListeners;
|
|
48
33
|
private getPointerType;
|
|
49
34
|
private get doc();
|
|
50
|
-
/**
|
|
51
|
-
* Fast hit-test: only checks pointer proximity to handles (no stacking order).
|
|
52
|
-
* Used for pointermove cursor feedback.
|
|
53
|
-
*/
|
|
54
35
|
private findHitHandles;
|
|
55
|
-
/**
|
|
56
|
-
* Full intersection check: hit-test + stacking order verification.
|
|
57
|
-
* Used for pointerdown activation where correctness matters.
|
|
58
|
-
*/
|
|
59
36
|
private findIntersectingHandles;
|
|
60
37
|
private handlePointerMove;
|
|
61
38
|
private handlePointerDown;
|
|
@@ -1565,10 +1565,6 @@ var SplitterRegistry = class {
|
|
|
1565
1565
|
const firstHandle = this.handles.values().next().value;
|
|
1566
1566
|
return getDocument(firstHandle?.element);
|
|
1567
1567
|
}
|
|
1568
|
-
/**
|
|
1569
|
-
* Fast hit-test: only checks pointer proximity to handles (no stacking order).
|
|
1570
|
-
* Used for pointermove cursor feedback.
|
|
1571
|
-
*/
|
|
1572
1568
|
findHitHandles(x, y, pointerType) {
|
|
1573
1569
|
const intersecting = [];
|
|
1574
1570
|
const margin = this.options.hitAreaMargins[pointerType];
|
|
@@ -1578,10 +1574,6 @@ var SplitterRegistry = class {
|
|
|
1578
1574
|
});
|
|
1579
1575
|
return intersecting;
|
|
1580
1576
|
}
|
|
1581
|
-
/**
|
|
1582
|
-
* Full intersection check: hit-test + stacking order verification.
|
|
1583
|
-
* Used for pointerdown activation where correctness matters.
|
|
1584
|
-
*/
|
|
1585
1577
|
findIntersectingHandles(x, y, pointerType, eventTarget) {
|
|
1586
1578
|
const hits = this.findHitHandles(x, y, pointerType);
|
|
1587
1579
|
const targetElement = isElement(eventTarget) ? eventTarget : null;
|
|
@@ -3,7 +3,7 @@ import { M as Service, S as EventObject, T as Machine } from "../../index-pUYD4e
|
|
|
3
3
|
import { b as PropTypes, g as RequiredBy, r as DirectionProperty, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.cjs";
|
|
4
4
|
import "../../index-DlAisY_i.cjs";
|
|
5
5
|
//#region src/machines/steps/anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "list" | "item" | "trigger" | "indicator" | "separator" | "content" | "nextTrigger" | "prevTrigger" | "progress">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/steps/types.d.ts
|
|
9
9
|
interface StepChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { M as Service, S as EventObject, T as Machine } from "../../index-CF2VuD
|
|
|
3
3
|
import { b as PropTypes, g as RequiredBy, r as DirectionProperty, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.js";
|
|
4
4
|
import "../../index-DNDQD0mg.js";
|
|
5
5
|
//#region src/machines/steps/anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "list" | "item" | "trigger" | "indicator" | "separator" | "content" | "nextTrigger" | "prevTrigger" | "progress">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/steps/types.d.ts
|
|
9
9
|
interface StepChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { M as Service, S as EventObject, T as Machine } from "../../index-pUYD4e
|
|
|
3
3
|
import { b as PropTypes, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.cjs";
|
|
4
4
|
import "../../index-DlAisY_i.cjs";
|
|
5
5
|
//#region src/machines/tabs/anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "list" | "trigger" | "indicator" | "content">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/tabs/types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { M as Service, S as EventObject, T as Machine } from "../../index-CF2VuD
|
|
|
3
3
|
import { b as PropTypes, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.js";
|
|
4
4
|
import "../../index-DNDQD0mg.js";
|
|
5
5
|
//#region src/machines/tabs/anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "list" | "trigger" | "indicator" | "content">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/tabs/types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
5
5
|
import "../../index-DlAisY_i.cjs";
|
|
6
6
|
import { t as LiveRegion } from "../../index-BMtpmaRD.cjs";
|
|
7
7
|
//#region src/machines/tags-input/anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "itemDeleteTrigger" | "itemPreview" | "label" | "clearTrigger" | "input" | "control" | "itemText" | "itemInput">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/tags-input/types.d.ts
|
|
11
11
|
interface ValueChangeDetails {
|
|
@@ -5,7 +5,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
5
5
|
import "../../index-DNDQD0mg.js";
|
|
6
6
|
import { t as LiveRegion } from "../../index-BMtpmaRD.js";
|
|
7
7
|
//#region src/machines/tags-input/anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "itemDeleteTrigger" | "itemPreview" | "label" | "clearTrigger" | "input" | "control" | "itemText" | "itemInput">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/tags-input/types.d.ts
|
|
11
11
|
interface ValueChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { M as Service, S as EventObject, T as Machine } from "../../index-pUYD4e
|
|
|
3
3
|
import { b as PropTypes, g as RequiredBy, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.cjs";
|
|
4
4
|
import "../../index-DlAisY_i.cjs";
|
|
5
5
|
//#region src/machines/timer/anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "separator" | "area" | "control" | "itemLabel" | "itemValue" | "actionTrigger">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/timer/types.d.ts
|
|
9
9
|
interface Time<T = number> {
|
|
@@ -3,7 +3,7 @@ import { M as Service, S as EventObject, T as Machine } from "../../index-CF2VuD
|
|
|
3
3
|
import { b as PropTypes, g as RequiredBy, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.js";
|
|
4
4
|
import "../../index-DNDQD0mg.js";
|
|
5
5
|
//#region src/machines/timer/anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "separator" | "area" | "control" | "itemLabel" | "itemValue" | "actionTrigger">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/timer/types.d.ts
|
|
9
9
|
interface Time<T = number> {
|
|
@@ -184,7 +184,7 @@ interface ToastApi<T extends PropTypes = PropTypes, O = any> {
|
|
|
184
184
|
declare function groupConnect<T extends PropTypes, O = any>(service: Service<ToastGroupSchema>, normalize: NormalizeProps<T>): ToastGroupApi<T, O>;
|
|
185
185
|
//#endregion
|
|
186
186
|
//#region src/machines/toast/anatomy.d.ts
|
|
187
|
-
declare const anatomy: AnatomyInstance<"root" | "title" | "
|
|
187
|
+
declare const anatomy: AnatomyInstance<"root" | "title" | "closeTrigger" | "actionTrigger" | "description" | "group">;
|
|
188
188
|
//#endregion
|
|
189
189
|
//#region src/machines/toast/connect.d.ts
|
|
190
190
|
declare function connect<T extends PropTypes, O>(service: Service<ToastSchema<O>>, normalize: NormalizeProps<T>): ToastApi<T, O>;
|
|
@@ -184,7 +184,7 @@ interface ToastApi<T extends PropTypes = PropTypes, O = any> {
|
|
|
184
184
|
declare function groupConnect<T extends PropTypes, O = any>(service: Service<ToastGroupSchema>, normalize: NormalizeProps<T>): ToastGroupApi<T, O>;
|
|
185
185
|
//#endregion
|
|
186
186
|
//#region src/machines/toast/anatomy.d.ts
|
|
187
|
-
declare const anatomy: AnatomyInstance<"root" | "title" | "
|
|
187
|
+
declare const anatomy: AnatomyInstance<"root" | "title" | "closeTrigger" | "actionTrigger" | "description" | "group">;
|
|
188
188
|
//#endregion
|
|
189
189
|
//#region src/machines/toast/connect.d.ts
|
|
190
190
|
declare function connect<T extends PropTypes, O>(service: Service<ToastSchema<O>>, normalize: NormalizeProps<T>): ToastApi<T, O>;
|
|
@@ -3,7 +3,7 @@ import { M as Service, S as EventObject, T as Machine } from "../../index-pUYD4e
|
|
|
3
3
|
import { b as PropTypes, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.cjs";
|
|
4
4
|
import "../../index-DlAisY_i.cjs";
|
|
5
5
|
//#region src/machines/toc/anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "list" | "item" | "indicator" | "link" | "title">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/toc/types.d.ts
|
|
9
9
|
interface TocItem {
|
|
@@ -3,7 +3,7 @@ import { M as Service, S as EventObject, T as Machine } from "../../index-CF2VuD
|
|
|
3
3
|
import { b as PropTypes, g as RequiredBy, m as Rect, r as DirectionProperty, t as CommonProperties, y as NormalizeProps } from "../../index-BXfunVyD.js";
|
|
4
4
|
import "../../index-DNDQD0mg.js";
|
|
5
5
|
//#region src/machines/toc/anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "list" | "item" | "indicator" | "link" | "title">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/toc/types.d.ts
|
|
9
9
|
interface TocItem {
|
|
@@ -967,10 +967,6 @@ const machine = require_core.createMachine({
|
|
|
967
967
|
}
|
|
968
968
|
}
|
|
969
969
|
});
|
|
970
|
-
/**
|
|
971
|
-
* Shared logic for syncing target element attributes.
|
|
972
|
-
* Used by both actions and the watch callback.
|
|
973
|
-
*/
|
|
974
970
|
function syncTargetAttrsFromContext(params) {
|
|
975
971
|
const { context, refs, prop } = params;
|
|
976
972
|
const targetEl = context.get("resolvedTarget");
|
|
@@ -7,7 +7,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
7
7
|
import "../../index-DlAisY_i.cjs";
|
|
8
8
|
import { u as Placement } from "../../index-3tNJficI.cjs";
|
|
9
9
|
//#region src/machines/tour/anatomy.d.ts
|
|
10
|
-
declare const anatomy: AnatomyInstance<"content" | "
|
|
10
|
+
declare const anatomy: AnatomyInstance<"content" | "title" | "progressText" | "arrow" | "arrowTip" | "positioner" | "closeTrigger" | "actionTrigger" | "description" | "backdrop" | "spotlight">;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/machines/tour/utils/rect.d.ts
|
|
13
13
|
interface Point {
|
|
@@ -7,7 +7,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
7
7
|
import "../../index-DNDQD0mg.js";
|
|
8
8
|
import { u as Placement } from "../../index-3tNJficI.js";
|
|
9
9
|
//#region src/machines/tour/anatomy.d.ts
|
|
10
|
-
declare const anatomy: AnatomyInstance<"content" | "
|
|
10
|
+
declare const anatomy: AnatomyInstance<"content" | "title" | "progressText" | "arrow" | "arrowTip" | "positioner" | "closeTrigger" | "actionTrigger" | "description" | "backdrop" | "spotlight">;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/machines/tour/utils/rect.d.ts
|
|
13
13
|
interface Point {
|
|
@@ -966,10 +966,6 @@ const machine = createMachine({
|
|
|
966
966
|
}
|
|
967
967
|
}
|
|
968
968
|
});
|
|
969
|
-
/**
|
|
970
|
-
* Shared logic for syncing target element attributes.
|
|
971
|
-
* Used by both actions and the watch callback.
|
|
972
|
-
*/
|
|
973
969
|
function syncTargetAttrsFromContext(params) {
|
|
974
970
|
const { context, refs, prop } = params;
|
|
975
971
|
const targetEl = context.get("resolvedTarget");
|
|
@@ -7,7 +7,7 @@ import "../../index-BWiYePx8.cjs";
|
|
|
7
7
|
import { n as TypeaheadState } from "../../typeahead-DremEgML.cjs";
|
|
8
8
|
import "../../index-DlAisY_i.cjs";
|
|
9
9
|
//#region src/machines/tree-view/anatomy.d.ts
|
|
10
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
10
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "itemIndicator" | "itemText" | "tree" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "nodeCheckbox" | "nodeRenameInput">;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/machines/tree-view/collection.d.ts
|
|
13
13
|
declare const collection: {
|
|
@@ -7,7 +7,7 @@ import "../../index-vPrqYDHu.js";
|
|
|
7
7
|
import { n as TypeaheadState } from "../../typeahead-DremEgML.js";
|
|
8
8
|
import "../../index-DNDQD0mg.js";
|
|
9
9
|
//#region src/machines/tree-view/anatomy.d.ts
|
|
10
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
10
|
+
declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "itemIndicator" | "itemText" | "tree" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "nodeCheckbox" | "nodeRenameInput">;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/machines/tree-view/collection.d.ts
|
|
13
13
|
declare const collection: {
|