foldkit-primitives 0.9.0 → 0.10.1
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/README.md +31 -1
- package/dist/device/index.d.mts +69 -36
- package/dist/device/index.d.mts.map +1 -1
- package/dist/device/index.mjs +34 -34
- package/dist/device/index.mjs.map +1 -1
- package/dist/dom/index.d.mts +68 -19
- package/dist/dom/index.d.mts.map +1 -1
- package/dist/dom/index.mjs +32 -25
- package/dist/dom/index.mjs.map +1 -1
- package/dist/{editable-text-BbsPOATY.d.mts → editable-text-Dvm-Fuqs.d.mts} +65 -3
- package/dist/editable-text-Dvm-Fuqs.d.mts.map +1 -0
- package/dist/events/index.d.mts +52 -31
- package/dist/events/index.d.mts.map +1 -1
- package/dist/events/index.mjs +40 -28
- package/dist/events/index.mjs.map +1 -1
- package/dist/{follow-tab-stop-BDxyoUPQ.mjs → follow-tab-stop-Ci1tqAIW.mjs} +63 -61
- package/dist/follow-tab-stop-Ci1tqAIW.mjs.map +1 -0
- package/dist/{index-Cppf-lBx.d.mts → index-CmmxqSEi.d.mts} +34 -15
- package/dist/index-CmmxqSEi.d.mts.map +1 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +3 -3
- package/dist/{input-modality-m6v7__Xs.mjs → input-modality-BXD383jg.mjs} +9 -9
- package/dist/input-modality-BXD383jg.mjs.map +1 -0
- package/dist/{input-modality-DGOhAknO.d.mts → input-modality-BY-bSrEc.d.mts} +9 -2
- package/dist/input-modality-BY-bSrEc.d.mts.map +1 -0
- package/dist/interaction/index.d.mts +118 -118
- package/dist/interaction/index.d.mts.map +1 -1
- package/dist/interaction/index.mjs +3 -3
- package/dist/interaction/index.mjs.map +1 -1
- package/dist/media/index.d.mts +24 -3
- package/dist/media/index.d.mts.map +1 -1
- package/dist/media/index.mjs +23 -13
- package/dist/media/index.mjs.map +1 -1
- package/dist/motion/index.d.mts +1 -1
- package/dist/motion/index.mjs +1 -2
- package/dist/{motion-DGGBZ0wt.mjs → motion-DmFDppRn.mjs} +20 -20
- package/dist/{motion-DGGBZ0wt.mjs.map → motion-DmFDppRn.mjs.map} +1 -1
- package/dist/net/index.d.mts +63 -25
- package/dist/net/index.d.mts.map +1 -1
- package/dist/net/index.mjs +31 -31
- package/dist/net/index.mjs.map +1 -1
- package/dist/observers/index.d.mts +25 -0
- package/dist/observers/index.d.mts.map +1 -1
- package/dist/observers/index.mjs +22 -22
- package/dist/observers/index.mjs.map +1 -1
- package/dist/state/index.d.mts +98 -44
- package/dist/state/index.d.mts.map +1 -1
- package/dist/state/index.mjs +39 -39
- package/dist/state/index.mjs.map +1 -1
- package/dist/time/index.d.mts +35 -5
- package/dist/time/index.d.mts.map +1 -1
- package/dist/time/index.mjs +20 -20
- package/dist/time/index.mjs.map +1 -1
- package/package.json +14 -14
- package/dist/editable-text-BbsPOATY.d.mts.map +0 -1
- package/dist/follow-tab-stop-BDxyoUPQ.mjs.map +0 -1
- package/dist/index-Cppf-lBx.d.mts.map +0 -1
- package/dist/input-modality-DGOhAknO.d.mts.map +0 -1
- package/dist/input-modality-m6v7__Xs.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ScrollLock, C as targetOf, D as MoveStarted, E as MoveEnded, M as tabbableWithin, O as Moved, S as Targets, T as Move, _ as boxOf, a as TextEdited, b as TargetHovered, c as DRAG_THRESHOLD, d as DragFact, f as DragPlace, g as PointerDrag, h as DraggedOver, i as TextCommitted, j as FocusScope, k as HideOutside, l as DragCancelled, m as DragZone, n as EditableText, o as TextFact, p as DragStarted, r as TextCancelled, s as textOf, t as EditAsked, u as DragDropped, v as zoneOf, w as Fact$1, x as TargetPressed, y as TargetFact } from "../editable-text-
|
|
2
|
-
import { a as modalityOfKey, i as Modality, r as InputModalityModel, t as InputModality } from "../input-modality-
|
|
1
|
+
import { A as ScrollLock, C as targetOf, D as MoveStarted, E as MoveEnded, M as tabbableWithin, O as Moved, S as Targets, T as Move, _ as boxOf, a as TextEdited, b as TargetHovered, c as DRAG_THRESHOLD, d as DragFact, f as DragPlace, g as PointerDrag, h as DraggedOver, i as TextCommitted, j as FocusScope, k as HideOutside, l as DragCancelled, m as DragZone, n as EditableText, o as TextFact, p as DragStarted, r as TextCancelled, s as textOf, t as EditAsked, u as DragDropped, v as zoneOf, w as Fact$1, x as TargetPressed, y as TargetFact } from "../editable-text-Dvm-Fuqs.mjs";
|
|
2
|
+
import { a as modalityOfKey, i as Modality, r as InputModalityModel, t as InputModality } from "../input-modality-BY-bSrEc.mjs";
|
|
3
3
|
import { Option, Schema } from "effect";
|
|
4
4
|
import * as Mount from "foldkit/mount";
|
|
5
5
|
import { Bundle, Declared } from "foldkit-bundle";
|
|
@@ -33,17 +33,17 @@ type Model$9 = typeof Model$9.Type;
|
|
|
33
33
|
declare const Message$9: import("foldkit/message").MessageUnion<{
|
|
34
34
|
/** A pointer went down; `inside` are the layers whose element or trigger was on the event's path. */
|
|
35
35
|
readonly PressedAt: {
|
|
36
|
-
|
|
36
|
+
layers: Schema.$Array<Schema.Struct<{
|
|
37
37
|
readonly id: Schema.String;
|
|
38
38
|
/** Dismiss on a press outside it. */
|
|
39
39
|
readonly outside: Schema.Boolean;
|
|
40
40
|
/** Dismiss on Escape when topmost. */
|
|
41
41
|
readonly escape: Schema.Boolean;
|
|
42
42
|
}>>;
|
|
43
|
-
|
|
43
|
+
inside: Schema.$Array<Schema.String>;
|
|
44
44
|
};
|
|
45
45
|
readonly PressedEscape: {
|
|
46
|
-
|
|
46
|
+
layers: Schema.$Array<Schema.Struct<{
|
|
47
47
|
readonly id: Schema.String;
|
|
48
48
|
/** Dismiss on a press outside it. */
|
|
49
49
|
readonly outside: Schema.Boolean;
|
|
@@ -156,7 +156,7 @@ type Model$8 = typeof Model$8.Type;
|
|
|
156
156
|
declare const Message$8: import("foldkit/message").MessageUnion<{
|
|
157
157
|
/** An item became current: the user focused it, or a key moved there. */
|
|
158
158
|
readonly Focused: {
|
|
159
|
-
|
|
159
|
+
id: Schema.String;
|
|
160
160
|
};
|
|
161
161
|
}>;
|
|
162
162
|
type Message$8 = typeof Message$8.Type;
|
|
@@ -170,7 +170,7 @@ declare const Args$8: Schema.Struct<{
|
|
|
170
170
|
}>;
|
|
171
171
|
type Args$8 = typeof Args$8.Type;
|
|
172
172
|
declare const bundle$8: Bundle.Bundle<"RovingTabindex", {
|
|
173
|
-
readonly orientation: "
|
|
173
|
+
readonly orientation: "both" | "horizontal" | "vertical";
|
|
174
174
|
readonly loop: boolean;
|
|
175
175
|
readonly virtual: boolean;
|
|
176
176
|
}, {
|
|
@@ -237,7 +237,7 @@ type Model$7 = typeof Model$7.Type;
|
|
|
237
237
|
declare const Message$7: import("foldkit/message").MessageUnion<{
|
|
238
238
|
/** A cell became current: the user focused it, or a key moved there. */
|
|
239
239
|
readonly Focused: {
|
|
240
|
-
|
|
240
|
+
id: Schema.String;
|
|
241
241
|
};
|
|
242
242
|
}>;
|
|
243
243
|
type Message$7 = typeof Message$7.Type;
|
|
@@ -325,14 +325,14 @@ declare const Model$6: Schema.Struct<{
|
|
|
325
325
|
type Model$6 = typeof Model$6.Type;
|
|
326
326
|
declare const Message$6: import("foldkit/message").MessageUnion<{
|
|
327
327
|
readonly Announced: {
|
|
328
|
-
|
|
329
|
-
|
|
328
|
+
message: Schema.String;
|
|
329
|
+
politeness: Schema.Literals<readonly ["polite", "assertive"]>;
|
|
330
330
|
};
|
|
331
331
|
readonly Read: {
|
|
332
|
-
|
|
332
|
+
generation: Schema.Number;
|
|
333
333
|
};
|
|
334
334
|
readonly Cleared: {
|
|
335
|
-
|
|
335
|
+
generation: Schema.Number;
|
|
336
336
|
};
|
|
337
337
|
}>;
|
|
338
338
|
type Message$6 = typeof Message$6.Type;
|
|
@@ -353,16 +353,16 @@ declare const bundle$6: Bundle.Bundle<"LiveAnnounce", {
|
|
|
353
353
|
readonly assertive: string;
|
|
354
354
|
readonly pending: {
|
|
355
355
|
readonly message: string;
|
|
356
|
-
readonly politeness: "
|
|
356
|
+
readonly politeness: "assertive" | "polite";
|
|
357
357
|
} | null;
|
|
358
358
|
readonly generation: number;
|
|
359
359
|
}, {
|
|
360
|
-
readonly _tag: "Cleared";
|
|
361
|
-
readonly generation: number;
|
|
362
|
-
} | {
|
|
363
360
|
readonly _tag: "Announced";
|
|
364
361
|
readonly message: string;
|
|
365
|
-
readonly politeness: "
|
|
362
|
+
readonly politeness: "assertive" | "polite";
|
|
363
|
+
} | {
|
|
364
|
+
readonly _tag: "Cleared";
|
|
365
|
+
readonly generation: number;
|
|
366
366
|
} | {
|
|
367
367
|
readonly _tag: "Read";
|
|
368
368
|
readonly generation: number;
|
|
@@ -388,15 +388,15 @@ type Model$5 = typeof Model$5.Type;
|
|
|
388
388
|
declare const Message$5: import("foldkit/message").MessageUnion<{
|
|
389
389
|
/** An item became current: focused, or reached by a key. */
|
|
390
390
|
readonly Focused: {
|
|
391
|
-
|
|
391
|
+
id: Schema.String;
|
|
392
392
|
};
|
|
393
393
|
/** A printable key extended the query; `match` is the item it now picks, if any. */
|
|
394
394
|
readonly Typed: {
|
|
395
|
-
|
|
396
|
-
|
|
395
|
+
char: Schema.String;
|
|
396
|
+
match: Schema.NullOr<Schema.String>;
|
|
397
397
|
};
|
|
398
398
|
readonly Expired: {
|
|
399
|
-
|
|
399
|
+
generation: Schema.Number;
|
|
400
400
|
};
|
|
401
401
|
readonly Cleared: {};
|
|
402
402
|
}>;
|
|
@@ -412,7 +412,7 @@ declare const Args$5: Schema.Struct<{
|
|
|
412
412
|
}>;
|
|
413
413
|
type Args$5 = typeof Args$5.Type;
|
|
414
414
|
declare const bundle$5: Bundle.Bundle<"ListNavigation", {
|
|
415
|
-
readonly orientation: "
|
|
415
|
+
readonly orientation: "both" | "horizontal" | "vertical";
|
|
416
416
|
readonly loop: boolean;
|
|
417
417
|
readonly virtual: boolean;
|
|
418
418
|
readonly timeoutMs: number;
|
|
@@ -423,16 +423,16 @@ declare const bundle$5: Bundle.Bundle<"ListNavigation", {
|
|
|
423
423
|
readonly generation: number;
|
|
424
424
|
}, {
|
|
425
425
|
readonly _tag: "Cleared";
|
|
426
|
-
} | {
|
|
427
|
-
readonly _tag: "Typed";
|
|
428
|
-
readonly char: string;
|
|
429
|
-
readonly match: string | null;
|
|
430
426
|
} | {
|
|
431
427
|
readonly _tag: "Expired";
|
|
432
428
|
readonly generation: number;
|
|
433
429
|
} | {
|
|
434
430
|
readonly _tag: "Focused";
|
|
435
431
|
readonly id: string;
|
|
432
|
+
} | {
|
|
433
|
+
readonly _tag: "Typed";
|
|
434
|
+
readonly char: string;
|
|
435
|
+
readonly match: string | null;
|
|
436
436
|
}, never, never, never, void, {}, {}>;
|
|
437
437
|
interface BehaviorOptions$8<Input, Slots, ParentMessage> {
|
|
438
438
|
readonly container: keyof Slots & string;
|
|
@@ -491,33 +491,33 @@ declare const Model$4: Schema.Struct<{
|
|
|
491
491
|
type Model$4 = typeof Model$4.Type;
|
|
492
492
|
declare const Message$4: import("foldkit/message").MessageUnion<{
|
|
493
493
|
readonly PointerDown: {
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
494
|
+
pointerId: Schema.Number;
|
|
495
|
+
button: Schema.Number;
|
|
496
|
+
pointerType: Schema.String;
|
|
497
497
|
};
|
|
498
498
|
readonly PointerUp: {
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
499
|
+
pointerId: Schema.Number;
|
|
500
|
+
pointerType: Schema.String;
|
|
501
|
+
shiftKey: Schema.Boolean;
|
|
502
502
|
};
|
|
503
503
|
readonly PointerCancelled: {
|
|
504
|
-
|
|
504
|
+
pointerId: Schema.Number;
|
|
505
505
|
};
|
|
506
506
|
readonly KeyDown: {
|
|
507
|
-
|
|
508
|
-
|
|
507
|
+
key: Schema.String;
|
|
508
|
+
repeat: Schema.Boolean;
|
|
509
509
|
};
|
|
510
510
|
readonly KeyUp: {
|
|
511
|
-
|
|
512
|
-
|
|
511
|
+
key: Schema.String;
|
|
512
|
+
shiftKey: Schema.Boolean;
|
|
513
513
|
};
|
|
514
514
|
readonly Clicked: {
|
|
515
|
-
|
|
516
|
-
|
|
515
|
+
detail: Schema.Number;
|
|
516
|
+
shiftKey: Schema.Boolean;
|
|
517
517
|
};
|
|
518
518
|
readonly Elapsed: {
|
|
519
|
-
|
|
520
|
-
|
|
519
|
+
generation: Schema.Number;
|
|
520
|
+
pointerType: Schema.Literals<readonly ["mouse", "touch", "pen", "keyboard", "virtual"]>;
|
|
521
521
|
};
|
|
522
522
|
}>;
|
|
523
523
|
type Message$4 = typeof Message$4.Type;
|
|
@@ -537,18 +537,13 @@ declare const bundle$4: Bundle.Bundle<"LongPress", {
|
|
|
537
537
|
readonly key: string | null;
|
|
538
538
|
readonly generation: number;
|
|
539
539
|
}, {
|
|
540
|
-
readonly _tag: "
|
|
541
|
-
readonly
|
|
542
|
-
readonly button: number;
|
|
543
|
-
readonly pointerType: string;
|
|
544
|
-
} | {
|
|
545
|
-
readonly _tag: "PointerUp";
|
|
546
|
-
readonly pointerId: number;
|
|
547
|
-
readonly pointerType: string;
|
|
540
|
+
readonly _tag: "Clicked";
|
|
541
|
+
readonly detail: number;
|
|
548
542
|
readonly shiftKey: boolean;
|
|
549
543
|
} | {
|
|
550
|
-
readonly _tag: "
|
|
551
|
-
readonly
|
|
544
|
+
readonly _tag: "Elapsed";
|
|
545
|
+
readonly generation: number;
|
|
546
|
+
readonly pointerType: "keyboard" | "mouse" | "pen" | "touch" | "virtual";
|
|
552
547
|
} | {
|
|
553
548
|
readonly _tag: "KeyDown";
|
|
554
549
|
readonly key: string;
|
|
@@ -558,16 +553,21 @@ declare const bundle$4: Bundle.Bundle<"LongPress", {
|
|
|
558
553
|
readonly key: string;
|
|
559
554
|
readonly shiftKey: boolean;
|
|
560
555
|
} | {
|
|
561
|
-
readonly _tag: "
|
|
562
|
-
readonly
|
|
563
|
-
readonly shiftKey: boolean;
|
|
556
|
+
readonly _tag: "PointerCancelled";
|
|
557
|
+
readonly pointerId: number;
|
|
564
558
|
} | {
|
|
565
|
-
readonly _tag: "
|
|
566
|
-
readonly
|
|
567
|
-
readonly
|
|
559
|
+
readonly _tag: "PointerDown";
|
|
560
|
+
readonly pointerId: number;
|
|
561
|
+
readonly button: number;
|
|
562
|
+
readonly pointerType: string;
|
|
563
|
+
} | {
|
|
564
|
+
readonly _tag: "PointerUp";
|
|
565
|
+
readonly pointerId: number;
|
|
566
|
+
readonly pointerType: string;
|
|
567
|
+
readonly shiftKey: boolean;
|
|
568
568
|
}, {
|
|
569
569
|
readonly _tag: "LongPressed";
|
|
570
|
-
readonly pointerType: "keyboard" | "
|
|
570
|
+
readonly pointerType: "keyboard" | "mouse" | "pen" | "touch" | "virtual";
|
|
571
571
|
}, never, never, void, {}, {}>;
|
|
572
572
|
interface BehaviorOptions$7<Slots> {
|
|
573
573
|
readonly target: keyof Slots & string;
|
|
@@ -651,33 +651,33 @@ declare const Model$3: Schema.Struct<{
|
|
|
651
651
|
type Model$3 = typeof Model$3.Type;
|
|
652
652
|
declare const Message$3: import("foldkit/message").MessageUnion<{
|
|
653
653
|
readonly PointerDown: {
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
654
|
+
pointerId: Schema.Number;
|
|
655
|
+
button: Schema.Number;
|
|
656
|
+
pointerType: Schema.String;
|
|
657
657
|
};
|
|
658
658
|
readonly PointerUp: {
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
659
|
+
pointerId: Schema.Number;
|
|
660
|
+
pointerType: Schema.String;
|
|
661
|
+
shiftKey: Schema.Boolean;
|
|
662
662
|
};
|
|
663
663
|
readonly PointerCancelled: {
|
|
664
|
-
|
|
664
|
+
pointerId: Schema.Number;
|
|
665
665
|
};
|
|
666
666
|
readonly KeyDown: {
|
|
667
|
-
|
|
668
|
-
|
|
667
|
+
key: Schema.String;
|
|
668
|
+
repeat: Schema.Boolean;
|
|
669
669
|
};
|
|
670
670
|
readonly KeyUp: {
|
|
671
|
-
|
|
672
|
-
|
|
671
|
+
key: Schema.String;
|
|
672
|
+
shiftKey: Schema.Boolean;
|
|
673
673
|
};
|
|
674
674
|
/** `detail` is 0 for a click no pointer made: keyboard on a native control, or assistive technology. */
|
|
675
675
|
readonly Clicked: {
|
|
676
|
-
|
|
677
|
-
|
|
676
|
+
detail: Schema.Number;
|
|
677
|
+
shiftKey: Schema.Boolean;
|
|
678
678
|
};
|
|
679
679
|
readonly Unsuppressed: {
|
|
680
|
-
|
|
680
|
+
generation: Schema.Number;
|
|
681
681
|
};
|
|
682
682
|
}>;
|
|
683
683
|
type Message$3 = typeof Message$3.Type;
|
|
@@ -701,18 +701,9 @@ declare const bundle$3: Bundle.Bundle<"Press", {
|
|
|
701
701
|
readonly suppressing: number | null;
|
|
702
702
|
readonly generation: number;
|
|
703
703
|
}, {
|
|
704
|
-
readonly _tag: "
|
|
705
|
-
readonly
|
|
706
|
-
readonly button: number;
|
|
707
|
-
readonly pointerType: string;
|
|
708
|
-
} | {
|
|
709
|
-
readonly _tag: "PointerUp";
|
|
710
|
-
readonly pointerId: number;
|
|
711
|
-
readonly pointerType: string;
|
|
704
|
+
readonly _tag: "Clicked";
|
|
705
|
+
readonly detail: number;
|
|
712
706
|
readonly shiftKey: boolean;
|
|
713
|
-
} | {
|
|
714
|
-
readonly _tag: "PointerCancelled";
|
|
715
|
-
readonly pointerId: number;
|
|
716
707
|
} | {
|
|
717
708
|
readonly _tag: "KeyDown";
|
|
718
709
|
readonly key: string;
|
|
@@ -722,15 +713,24 @@ declare const bundle$3: Bundle.Bundle<"Press", {
|
|
|
722
713
|
readonly key: string;
|
|
723
714
|
readonly shiftKey: boolean;
|
|
724
715
|
} | {
|
|
725
|
-
readonly _tag: "
|
|
726
|
-
readonly
|
|
716
|
+
readonly _tag: "PointerCancelled";
|
|
717
|
+
readonly pointerId: number;
|
|
718
|
+
} | {
|
|
719
|
+
readonly _tag: "PointerDown";
|
|
720
|
+
readonly pointerId: number;
|
|
721
|
+
readonly button: number;
|
|
722
|
+
readonly pointerType: string;
|
|
723
|
+
} | {
|
|
724
|
+
readonly _tag: "PointerUp";
|
|
725
|
+
readonly pointerId: number;
|
|
726
|
+
readonly pointerType: string;
|
|
727
727
|
readonly shiftKey: boolean;
|
|
728
728
|
} | {
|
|
729
729
|
readonly _tag: "Unsuppressed";
|
|
730
730
|
readonly generation: number;
|
|
731
731
|
}, {
|
|
732
732
|
readonly _tag: "Pressed";
|
|
733
|
-
readonly pointerType: "keyboard" | "
|
|
733
|
+
readonly pointerType: "keyboard" | "mouse" | "pen" | "touch" | "virtual";
|
|
734
734
|
readonly shiftKey: boolean;
|
|
735
735
|
}, never, never, void, {}, {}>;
|
|
736
736
|
/** What the element reports; `Unsuppressed` comes from the timer, not the DOM. */
|
|
@@ -745,18 +745,9 @@ type Fact = Exclude<Message$3, {
|
|
|
745
745
|
* at event time so a toggle needs no remount. Nothing else is decided here.
|
|
746
746
|
*/
|
|
747
747
|
declare const events: Mount.MountDefinitionNoArgs<"PressEvents", {
|
|
748
|
-
readonly _tag: "
|
|
749
|
-
readonly
|
|
750
|
-
readonly button: number;
|
|
751
|
-
readonly pointerType: string;
|
|
752
|
-
} | {
|
|
753
|
-
readonly _tag: "PointerUp";
|
|
754
|
-
readonly pointerId: number;
|
|
755
|
-
readonly pointerType: string;
|
|
748
|
+
readonly _tag: "Clicked";
|
|
749
|
+
readonly detail: number;
|
|
756
750
|
readonly shiftKey: boolean;
|
|
757
|
-
} | {
|
|
758
|
-
readonly _tag: "PointerCancelled";
|
|
759
|
-
readonly pointerId: number;
|
|
760
751
|
} | {
|
|
761
752
|
readonly _tag: "KeyDown";
|
|
762
753
|
readonly key: string;
|
|
@@ -766,8 +757,17 @@ declare const events: Mount.MountDefinitionNoArgs<"PressEvents", {
|
|
|
766
757
|
readonly key: string;
|
|
767
758
|
readonly shiftKey: boolean;
|
|
768
759
|
} | {
|
|
769
|
-
readonly _tag: "
|
|
770
|
-
readonly
|
|
760
|
+
readonly _tag: "PointerCancelled";
|
|
761
|
+
readonly pointerId: number;
|
|
762
|
+
} | {
|
|
763
|
+
readonly _tag: "PointerDown";
|
|
764
|
+
readonly pointerId: number;
|
|
765
|
+
readonly button: number;
|
|
766
|
+
readonly pointerType: string;
|
|
767
|
+
} | {
|
|
768
|
+
readonly _tag: "PointerUp";
|
|
769
|
+
readonly pointerId: number;
|
|
770
|
+
readonly pointerType: string;
|
|
771
771
|
readonly shiftKey: boolean;
|
|
772
772
|
}>;
|
|
773
773
|
interface BehaviorOptions$5<Input, Slots> {
|
|
@@ -797,15 +797,15 @@ type Model$2 = typeof Model$2.Type;
|
|
|
797
797
|
declare const Message$2: import("foldkit/message").MessageUnion<{
|
|
798
798
|
/** A plain activation: replaces in single mode, toggles in multiple mode. */
|
|
799
799
|
readonly Activated: {
|
|
800
|
-
|
|
800
|
+
id: Schema.String;
|
|
801
801
|
};
|
|
802
802
|
/** A Shift activation: selects everything between the anchor and `id` in `order`. */
|
|
803
803
|
readonly Ranged: {
|
|
804
|
-
|
|
805
|
-
|
|
804
|
+
id: Schema.String;
|
|
805
|
+
order: Schema.$Array<Schema.String>;
|
|
806
806
|
};
|
|
807
807
|
readonly Replaced: {
|
|
808
|
-
|
|
808
|
+
ids: Schema.$Array<Schema.String>;
|
|
809
809
|
};
|
|
810
810
|
readonly Cleared: {};
|
|
811
811
|
}>;
|
|
@@ -819,16 +819,16 @@ type Args$2 = typeof Args$2.Type;
|
|
|
819
819
|
/** The ids between `from` and `to` in `order`, inclusive, in `order`'s order. */
|
|
820
820
|
declare const between: (order: ReadonlyArray<string>, from: string | null, to: string) => ReadonlyArray<string>;
|
|
821
821
|
declare const bundle$2: Bundle.Bundle<"Selection", {
|
|
822
|
-
readonly mode: "
|
|
822
|
+
readonly mode: "multiple" | "none" | "single";
|
|
823
823
|
readonly allowEmpty: boolean;
|
|
824
824
|
}, {
|
|
825
825
|
readonly selected: readonly string[];
|
|
826
826
|
readonly anchor: string | null;
|
|
827
827
|
}, {
|
|
828
|
-
readonly _tag: "Cleared";
|
|
829
|
-
} | {
|
|
830
828
|
readonly _tag: "Activated";
|
|
831
829
|
readonly id: string;
|
|
830
|
+
} | {
|
|
831
|
+
readonly _tag: "Cleared";
|
|
832
832
|
} | {
|
|
833
833
|
readonly _tag: "Ranged";
|
|
834
834
|
readonly id: string;
|
|
@@ -987,13 +987,13 @@ type Model$1 = typeof Model$1.Type;
|
|
|
987
987
|
declare const Message$1: import("foldkit/message").MessageUnion<{
|
|
988
988
|
/** A row became current: the user focused it, or a key moved there. */
|
|
989
989
|
readonly Focused: {
|
|
990
|
-
|
|
990
|
+
id: Schema.String;
|
|
991
991
|
};
|
|
992
992
|
readonly Opened: {
|
|
993
|
-
|
|
993
|
+
id: Schema.String;
|
|
994
994
|
};
|
|
995
995
|
readonly Closed: {
|
|
996
|
-
|
|
996
|
+
id: Schema.String;
|
|
997
997
|
};
|
|
998
998
|
}>;
|
|
999
999
|
type Message$1 = typeof Message$1.Type;
|
|
@@ -1010,13 +1010,13 @@ declare const bundle$1: Bundle.Bundle<"TreeNavigation", {
|
|
|
1010
1010
|
readonly current: string | null;
|
|
1011
1011
|
readonly toggled: readonly string[];
|
|
1012
1012
|
}, {
|
|
1013
|
-
readonly _tag: "
|
|
1013
|
+
readonly _tag: "Closed";
|
|
1014
1014
|
readonly id: string;
|
|
1015
1015
|
} | {
|
|
1016
|
-
readonly _tag: "
|
|
1016
|
+
readonly _tag: "Focused";
|
|
1017
1017
|
readonly id: string;
|
|
1018
1018
|
} | {
|
|
1019
|
-
readonly _tag: "
|
|
1019
|
+
readonly _tag: "Opened";
|
|
1020
1020
|
readonly id: string;
|
|
1021
1021
|
}, never, never, never, void, {}, {}>;
|
|
1022
1022
|
/** One row of the tree, in tree order: a parent comes before its children. */
|
|
@@ -1059,7 +1059,7 @@ type Action = {
|
|
|
1059
1059
|
* over. With nothing current, Down and Home land on the first row, Up and End
|
|
1060
1060
|
* on the last. Right and Left swap under `rtl`.
|
|
1061
1061
|
*/
|
|
1062
|
-
declare const move: (rows: ReadonlyArray<Shown>, current: string | null, key: string, modifiers: KeyboardModifiers, model: Model$1, args: Args$1, direction?:
|
|
1062
|
+
declare const move: (rows: ReadonlyArray<Shown>, current: string | null, key: string, modifiers: KeyboardModifiers, model: Model$1, args: Args$1, direction?: 'ltr' | 'rtl') => Action | undefined;
|
|
1063
1063
|
/** The row that holds the tab stop: the current one while it is showing, else the first. */
|
|
1064
1064
|
declare const tabStop: (rows: ReadonlyArray<Shown>, current: string | null) => string | undefined;
|
|
1065
1065
|
interface BehaviorOptions$1<Input, Slots> {
|
|
@@ -1096,11 +1096,11 @@ type Model = typeof Model.Type;
|
|
|
1096
1096
|
declare const Message: import("foldkit/message").MessageUnion<{
|
|
1097
1097
|
/** A printable key was pressed with no ctrl, alt or meta. */
|
|
1098
1098
|
readonly Typed: {
|
|
1099
|
-
|
|
1099
|
+
char: Schema.String;
|
|
1100
1100
|
};
|
|
1101
1101
|
/** The clear timer fired for `generation`. */
|
|
1102
1102
|
readonly Expired: {
|
|
1103
|
-
|
|
1103
|
+
generation: Schema.Number;
|
|
1104
1104
|
};
|
|
1105
1105
|
/** The query was dropped on purpose (a blur, a selection). */
|
|
1106
1106
|
readonly Cleared: {};
|
|
@@ -1117,13 +1117,13 @@ declare const bundle: Bundle.Bundle<"Typeahead", {
|
|
|
1117
1117
|
readonly query: string;
|
|
1118
1118
|
readonly generation: number;
|
|
1119
1119
|
}, {
|
|
1120
|
-
readonly _tag: "
|
|
1121
|
-
readonly char: string;
|
|
1120
|
+
readonly _tag: "Cleared";
|
|
1122
1121
|
} | {
|
|
1123
1122
|
readonly _tag: "Expired";
|
|
1124
1123
|
readonly generation: number;
|
|
1125
1124
|
} | {
|
|
1126
|
-
readonly _tag: "
|
|
1125
|
+
readonly _tag: "Typed";
|
|
1126
|
+
readonly char: string;
|
|
1127
1127
|
}, never, never, never, void, {}, {}>;
|
|
1128
1128
|
/**
|
|
1129
1129
|
* The enabled index whose text starts with `query`, searching forward from
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/interaction/dismiss-layer.ts","../../src/interaction/editable-text.ts","../../src/interaction/focus-scope.ts","../../src/interaction/focus-visible.ts","../../src/interaction/roving-tabindex.ts","../../src/interaction/grid-navigation.ts","../../src/interaction/layers.ts","../../src/interaction/live-announce.ts","../../src/interaction/list-navigation.ts","../../src/interaction/long-press.ts","../../src/interaction/move.ts","../../src/interaction/overlay.ts","../../src/interaction/press.ts","../../src/interaction/selection.ts","../../src/interaction/targets.ts","../../src/interaction/pointer-drag.ts","../../src/interaction/placing.ts","../../src/interaction/tree-navigation.ts","../../src/interaction/typeahead.ts"],"mappings":";;;;;;;;;;cAmBa;cACA;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":["Layer","Model","Message","bundle","BehaviorOptions","behavior","BehaviorOptions","behavior","BehaviorOptions","behavior","BehaviorOptions","behavior","Model","Message","Args","bundle","MoveOptions","move","tabStop","BehaviorOptions","behavior","Model","Message","Args","bundle","RovingTabindex.Direction","move","BehaviorOptions","behavior","Model","Message","Args","bundle","Model","Message","Args","bundle","BehaviorOptions","RovingTabindex.Direction","RovingTabindex.MoveOptions","behavior","Model","Message","Args","bundle","BehaviorOptions","behavior","BehaviorOptions","Fact","behavior","dismissLayerBundle","Model","Message","Args","bundle","BehaviorOptions","behavior","Model","Message","Args","bundle","BehaviorOptions","behavior","BehaviorOptions","behavior","BehaviorOptions","behavior","Model","Message","Args","bundle","BehaviorOptions","behavior"],"sources":["../../src/interaction/dismiss-layer.ts","../../src/interaction/editable-text.ts","../../src/interaction/focus-scope.ts","../../src/interaction/focus-visible.ts","../../src/interaction/roving-tabindex.ts","../../src/interaction/grid-navigation.ts","../../src/interaction/layers.ts","../../src/interaction/live-announce.ts","../../src/interaction/list-navigation.ts","../../src/interaction/long-press.ts","../../src/interaction/move.ts","../../src/interaction/overlay.ts","../../src/interaction/press.ts","../../src/interaction/selection.ts","../../src/interaction/targets.ts","../../src/interaction/pointer-drag.ts","../../src/interaction/placing.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WAEtC,SAAS;WACT,aAAa,OAAO;;;;;;;;;;;cAqBlBC,aACV,sBAAoB,UAAY,gBAAgBF,UAAQ,QAAM,MAAQD,YACtE,OAAK,OAAS,WACd,0BAA0B,KAAK,QAAQF,YAAS,eAAa,SACnDI,kBAAgB,OAAO,WAC/B,SAAS,cAAc,OAAO,OAAO;;;;cCtN7B,OAAK,OAAA;;;;;;KAMN,eAAe,MAAM;cAEpB,mCAAO;;;IAET,MAAI,OAAA;;;;IAEF,YAAU,OAAA;;;;;KAIX,iBAAiB,QAAQ;cAExB,MAAI,OAAA;;sBAAJ,OAAA;;KAOD,cAAc,KAAK;cAElB,QAAM,OAAA;;;;;;;;;;;;;;;;;;;;;;cAuCN,QAAK,OACT,uBAAqB,SACnB,uBAAqB,eACjB;;cAgBF,cAAW,aAAe,WAAa;UAGnC,gBAAgB,OAAO;;WAE7B,YAAY;WACZ,QAAQ,OAAO,UAAU,UAAU,WAAW;;WAE9C,OAAO,OAAO,OAAO;;;WAGrB,UAAU,OAAO;;;;;;;;;cAUf,WACV,sBAAoB,UAAY,gBAAgB,QAAQ,YACxD,OAAK,OAAS,WACd,0BAA0B,KAAK,QAAQ,UAAS,eAAa,SACnD,gBAAgB,OAAO,WAC/B,SAAS,cAAc,OAAO,OAAO"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
|
-
import { C as MoveEnded, D as ScrollLock, E as HideOutside, O as FocusScope, S as Move, T as Moved, _ as zoneOf, a as TextCommitted, b as Targets, d as DragPlace, f as DragStarted, g as boxOf, h as PointerDrag, i as TextCancelled, k as tabbableWithin, l as DragCancelled, m as DraggedOver, n as EditAsked, o as TextEdited, p as DragZone, r as EditableText, s as textOf, t as FollowTabStop, u as DragDropped, v as TargetHovered, w as MoveStarted, x as targetOf, y as TargetPressed } from "../follow-tab-stop-
|
|
2
|
+
import { C as MoveEnded, D as ScrollLock, E as HideOutside, O as FocusScope, S as Move, T as Moved, _ as zoneOf, a as TextCommitted, b as Targets, d as DragPlace, f as DragStarted, g as boxOf, h as PointerDrag, i as TextCancelled, k as tabbableWithin, l as DragCancelled, m as DraggedOver, n as EditAsked, o as TextEdited, p as DragZone, r as EditableText, s as textOf, t as FollowTabStop, u as DragDropped, v as TargetHovered, w as MoveStarted, x as targetOf, y as TargetPressed } from "../follow-tab-stop-Ci1tqAIW.mjs";
|
|
3
3
|
import { n as perInput, r as sameIds, t as clearQuery } from "../internal-DP-xLKbT.mjs";
|
|
4
|
-
import { a as modalityOfKey, i as Modality, t as InputModality } from "../input-modality-
|
|
4
|
+
import { a as modalityOfKey, i as Modality, t as InputModality } from "../input-modality-BXD383jg.mjs";
|
|
5
5
|
import { Effect, Option, Queue, Schema, Stream } from "effect";
|
|
6
6
|
import * as Mount from "foldkit/mount";
|
|
7
7
|
import { defineMessageUnion } from "foldkit/message";
|
|
@@ -88,7 +88,7 @@ const bundle$9 = Bundle.make("DismissLayer", {
|
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
90
|
},
|
|
91
|
-
subscriptions: () => Subscription.make()(() => ({ document: Subscription.
|
|
91
|
+
subscriptions: () => Subscription.make()(() => ({ document: Subscription.persistentEntry(documentEvents()) }))
|
|
92
92
|
});
|
|
93
93
|
const openLayers = (root) => Array.from(root.querySelectorAll(`[${LAYER_ATTRIBUTE}]`)).map((element) => ({
|
|
94
94
|
id: element.getAttribute("data-foldkit-plus-layer") ?? "",
|