foldkit-primitives 0.10.2 → 0.11.0

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.
@@ -199,5 +199,443 @@ export declare const keepScroll: (options?: KeepScrollOptions) => Stream.Stream<
199
199
  */
200
200
  export declare const pointedLinks: () => Stream.Stream<Url>;
201
201
  //#endregion
202
+ //#region src/dom/fluid-hover.d.ts
203
+ /** The custom properties `FluidHover` writes on its container for a highlight named `name`. */
204
+ export declare const fluidHovered: (name: string) => {
205
+ readonly x: `--fk-${string}-x`;
206
+ readonly y: `--fk-${string}-y`;
207
+ readonly w: `--fk-${string}-w`;
208
+ readonly h: `--fk-${string}-h`;
209
+ /** `1` while an item is highlighted, `0` once the pointer and focus have left. */
210
+ readonly shown: `--fk-${string}-shown`;
211
+ /**
212
+ * `0` for the frame the highlight appears in, then `1`: a highlight's
213
+ * movement scales its duration by it, so it appears on its item rather
214
+ * than sliding in from where it last was.
215
+ */
216
+ readonly moving: `--fk-${string}-moving`;
217
+ };
218
+ /**
219
+ * The attribute `FluidHover` sets on its container, to the highlight's name,
220
+ * while it runs: a stylist draws the highlight, and drops each item's own
221
+ * hover, only under it.
222
+ */
223
+ export declare const FLUID_HOVER_ATTRIBUTE = "data-fluid-hover";
224
+ /** The attribute that names, inside an item, the control a press in a gap reaches. */
225
+ export declare const FLUID_PRESS_ATTRIBUTE = "data-fluid-press";
226
+ /** The attribute on the item the highlight is shown on, for what CSS draws beside it. */
227
+ export declare const FLUID_LIT_ATTRIBUTE = "data-fluid-lit";
228
+ declare const Axis: Schema.Literals<readonly ["x", "y", "xy"]>;
229
+ export type FluidAxis = typeof Axis.Type;
230
+ /**
231
+ * One highlight that follows the pointer across a container's items, as a
232
+ * Mount, with no Message and no Model: which item the pointer is nearest is
233
+ * presentation, known to the DOM and to no transition.
234
+ *
235
+ * The item nearest the pointer is the one highlighted, so the pointer in a gap
236
+ * between two items still points at one, and the highlight moves from item to
237
+ * item instead of blinking off between them. On the `y` axis nearness is read
238
+ * vertically (a list), on `x` horizontally (a strip), on `xy` both (a grid). A
239
+ * disabled item (`aria-disabled="true"`, `data-disabled`, `:disabled`) is never
240
+ * highlighted. An item reached by the keyboard (`:focus-visible`) is
241
+ * highlighted too; a touch highlights nothing, since there is no pointer to
242
+ * follow before the press.
243
+ *
244
+ * The container gets `--fk-<name>-x`, `-y`, `-w` and `-h` in pixels, relative
245
+ * to its scroll box like `Measure`'s, and `-shown` and `-moving` (see
246
+ * `fluidHovered`); a view draws the highlight as an absolutely placed child
247
+ * that reads them. With `gapClick`, a click in a gap presses the highlighted
248
+ * item: its descendant marked `data-fluid-press`, or the item itself; with
249
+ * `gapReach` too, only a click within that many pixels of it, as a grid of
250
+ * cards with wide gutters wants (Fluid Functionalism's uses 16). A popup
251
+ * measured before it has a layout box keeps its last complete place, and
252
+ * tries again for three frames, rather than drawing the highlight at zero.
253
+ * The item the highlight is shown on carries `data-fluid-lit`, so a style
254
+ * can change what sits beside it (a table hides the lines around the lit
255
+ * row).
256
+ *
257
+ * `follows` names the item the highlight sits on while the pointer is not
258
+ * moving it: a menu marks the row its keys reach (`[data-active]`), and the
259
+ * highlight goes there whenever that mark moves, so the keys and the pointer
260
+ * light the same one. `from` names the item a fresh highlight grows out of,
261
+ * as a tab's hover leaves the chosen tab. A highlight always fades where it
262
+ * is: once the pointer leaves, nothing should move. It stays only for an item
263
+ * the keyboard reached (`:focus-visible`), not one a click focused.
264
+ */
265
+ export declare const FluidHover: Mount.MountDefinitionWithArgs<"FluidHover", {
266
+ /** The highlight's name, which names the custom properties. */
267
+ name: Schema.String;
268
+ /** The selector of an item within the container. */
269
+ item: Schema.String;
270
+ axis: Schema.Literals<readonly ["x", "y", "xy"]>;
271
+ gapClick: Schema.Boolean;
272
+ /** How far from the highlighted item, in pixels, a click in a gap still presses it. */
273
+ gapReach: Schema.optional<Schema.Number>;
274
+ /** The selector of the item the highlight sits on while the pointer is not moving it. */
275
+ follows: Schema.optional<Schema.String>;
276
+ /** The selector of the item a fresh highlight grows out of. */
277
+ from: Schema.optional<Schema.String>;
278
+ }, never>;
279
+ //#endregion
280
+ //#region src/dom/scroll-bars.d.ts
281
+ /**
282
+ * The attribute that marks a bar beside a scroller `ScrollBars` runs on, set
283
+ * to the axis it shows: `block` (the up-and-down bar) or `inline`.
284
+ */
285
+ export declare const SCROLL_BAR_ATTRIBUTE = "data-scroll-bar";
286
+ /**
287
+ * The attribute `ScrollBars` sets on its scroller while it draws the bars, so a
288
+ * style hides the native bar only then: with no Mount running (a coarse
289
+ * pointer, a page not yet hydrated) the browser's bar stays.
290
+ */
291
+ export declare const SCROLL_OVERLAID_ATTRIBUTE = "data-scroll-overlaid";
292
+ /**
293
+ * The custom properties `ScrollBars` writes on each bar, in pixels, for its
294
+ * thumb to read: how far along the bar the thumb starts, and how long it is.
295
+ * Physical: an inline bar's offset is from its left edge in either direction.
296
+ */
297
+ export declare const scrollThumb: {
298
+ readonly offset: '--fk-scroll-thumb-offset';
299
+ readonly size: '--fk-scroll-thumb-size';
300
+ };
301
+ /**
302
+ * An overlay scrollbar as a Mount, with no Message and no Model: where a
303
+ * scroller is scrolled is the browser's, and the bar only shows it.
304
+ *
305
+ * It runs on the scroller (or on an element holding it, named by `scroller`,
306
+ * when the scroller carries another Mount) and drives the bars drawn beside
307
+ * it: the scroller's parent's children marked `data-scroll-bar` (`block` or
308
+ * `inline`), which a style lays over the scroller's edge. Each bar gets `data-scrollable` while its axis has
309
+ * more to scroll, `data-shown` while the scroller scrolls or the pointer moves
310
+ * over it, until `idle` milliseconds pass with neither (or longer, while the
311
+ * pointer rests on a bar), and `data-dragging` while its thumb is dragged; and
312
+ * `--fk-scroll-thumb-offset` and `-size` (see `scrollThumb`). Pressing a bar
313
+ * off its thumb moves the thumb there, then drags it.
314
+ *
315
+ * It does nothing where the primary pointer is coarse or cannot hover, decided
316
+ * when it mounts: touch keeps the browser's bar and its physics. Otherwise the
317
+ * scroller gets `data-scroll-overlaid`, for a style to hide the native bar.
318
+ * How the bar looks, rests, widens and fades is the style's.
319
+ */
320
+ export declare const ScrollBars: Mount.MountDefinitionWithArgs<"ScrollBars", {
321
+ /** How long, in milliseconds, the bars stay after the last scroll or move. Default 600. */
322
+ idle: Schema.optional<Schema.Number>;
323
+ /**
324
+ * The scroller, as a selector within the element, when it cannot hold this
325
+ * Mount itself (another component's, with a Mount of its own); looked for
326
+ * once, when it mounts. Default: the element is the scroller.
327
+ */
328
+ scroller: Schema.optional<Schema.String>;
329
+ }, never>;
330
+ //#endregion
331
+ //#region src/dom/swipe.d.ts
332
+ export declare const SwipeStarted: Schema.TaggedStruct<"SwipeStarted", {
333
+ readonly pointerId: Schema.Number;
334
+ readonly pointerType: Schema.String;
335
+ /** The border box of what `measure` names (the element itself by default), as the swipe starts. */
336
+ readonly width: Schema.Number;
337
+ readonly height: Schema.Number;
338
+ }>;
339
+ export type SwipeStarted = typeof SwipeStarted.Type;
340
+ export declare const Swiped: Schema.TaggedStruct<"Swiped", {
341
+ readonly pointerId: Schema.Number;
342
+ /** From where the pointer went down, in CSS pixels. */
343
+ readonly deltaX: Schema.Number;
344
+ readonly deltaY: Schema.Number;
345
+ }>;
346
+ export type Swiped = typeof Swiped.Type;
347
+ export declare const SwipeEnded: Schema.TaggedStruct<"SwipeEnded", {
348
+ readonly pointerId: Schema.Number;
349
+ /** From where the pointer went down to where it came up, in CSS pixels. */
350
+ readonly deltaX: Schema.Number;
351
+ readonly deltaY: Schema.Number;
352
+ /**
353
+ * How fast the pointer was moving as it came up, in pixels a millisecond,
354
+ * over the last `SWIPE_WINDOW` milliseconds: 0 when it rested there first.
355
+ */
356
+ readonly velocityX: Schema.Number;
357
+ readonly velocityY: Schema.Number;
358
+ /** `false` when the pointer was cancelled or capture was lost. */
359
+ readonly completed: Schema.Boolean;
360
+ }>;
361
+ export type SwipeEnded = typeof SwipeEnded.Type;
362
+ export type SwipeFact = SwipeStarted | Swiped | SwipeEnded;
363
+ /** How far back, in milliseconds, the release velocity looks. */
364
+ export declare const SWIPE_WINDOW = 100;
365
+ interface Sample {
366
+ readonly at: number;
367
+ readonly x: number;
368
+ readonly y: number;
369
+ }
370
+ /**
371
+ * The velocity of the samples within `SWIPE_WINDOW` of the last: the way
372
+ * from the oldest of them to the last over the time between. A pointer that
373
+ * came to rest before the last sample has no recent way to measure, so 0.
374
+ */
375
+ export declare const velocityOf: (samples: ReadonlyArray<Sample>) => {
376
+ x: number;
377
+ y: number;
378
+ };
379
+ /**
380
+ * `Move` with the speed of its release, for a gesture that a flick ends
381
+ * (a sheet dragged to dismiss, a card swiped away): a primary-button pointer
382
+ * down captures the pointer, each move reports the delta from where it
383
+ * started, and up reports the last delta with the velocity over the last
384
+ * `SWIPE_WINDOW` milliseconds, by the events' own time stamps. Cancel or
385
+ * lost capture ends it incomplete. The start reports the size of what is
386
+ * moved, so a distance can be read as a share of it. What a delta or a speed
387
+ * means is the parent's `update`. Capture is released with the Mount.
388
+ */
389
+ export declare const Swipe: Mount.MountDefinitionWithArgs<"Swipe", {
390
+ /**
391
+ * The nearest ancestor matching this selector is measured as the swipe
392
+ * starts, for what the swipe moves (a sheet's panel, dragged by its
393
+ * handle). Default: the element itself.
394
+ */
395
+ measure: Schema.optional<Schema.String>;
396
+ }, {
397
+ readonly _tag: "SwipeStarted";
398
+ readonly pointerId: number;
399
+ readonly pointerType: string;
400
+ readonly width: number;
401
+ readonly height: number;
402
+ } | {
403
+ readonly _tag: "Swiped";
404
+ readonly pointerId: number;
405
+ readonly deltaX: number;
406
+ readonly deltaY: number;
407
+ } | {
408
+ readonly _tag: "SwipeEnded";
409
+ readonly pointerId: number;
410
+ readonly deltaX: number;
411
+ readonly deltaY: number;
412
+ readonly velocityX: number;
413
+ readonly velocityY: number;
414
+ readonly completed: boolean;
415
+ }>;
416
+ //#endregion
417
+ //#region src/dom/scroll-settle.d.ts
418
+ export declare const ScrollSettled: Schema.TaggedStruct<"ScrollSettled", {
419
+ /** The item whose start lies nearest the scroller's start, from 0. */
420
+ readonly index: Schema.Number;
421
+ }>;
422
+ export type ScrollSettled = typeof ScrollSettled.Type;
423
+ /** How long a scroll must be still to count as settled, where `scrollend` is missing. */
424
+ export declare const SETTLE_QUIET = 120;
425
+ /**
426
+ * Hears a scroller come to rest, as a Mount: after a swipe, a fling, a
427
+ * trackpad or a scroll a Command made, it reports which of its items starts
428
+ * nearest its own start (inside its `scroll-padding`), the start being the
429
+ * right edge right to left. A snapping carousel reads it as the slide shown.
430
+ *
431
+ * At insert it first scrolls, at once, to item `start` (the Mount's args are
432
+ * read only then, so this is where a redrawn or restored scroller begins),
433
+ * and reports where it lies, since a scroller drawn already at rest sends no
434
+ * `scrollend`. It listens for `scrollend` where the browser has it, and
435
+ * otherwise for a scroll that is quiet for `SETTLE_QUIET` milliseconds.
436
+ */
437
+ export declare const ScrollSettle: Mount.MountDefinitionWithArgs<"ScrollSettle", {
438
+ /** Which children are the items; default every child. */
439
+ item: Schema.optional<Schema.String>;
440
+ /** Default `inline`, the row a carousel scrolls along. */
441
+ axis: Schema.optional<Schema.Literals<readonly ["inline", "block"]>>;
442
+ /** The item to scroll to at insert; default the first, which needs no scroll. */
443
+ start: Schema.optional<Schema.Number>;
444
+ }, {
445
+ readonly _tag: "ScrollSettled";
446
+ readonly index: number;
447
+ }>;
448
+ //#endregion
449
+ //#region src/dom/pointer-position.d.ts
450
+ /**
451
+ * A place in an element's padding box, in CSS pixels from its top left
452
+ * corner, and the pointer's pressure there (0 to 1; a mouse reads 0.5 while
453
+ * a button is down). A captured pointer can be outside the box, so `x` and
454
+ * `y` can be negative or past its size.
455
+ */
456
+ export declare const PointerPoint: Schema.Struct<{
457
+ readonly x: Schema.Number;
458
+ readonly y: Schema.Number;
459
+ readonly pressure: Schema.Number;
460
+ }>;
461
+ export type PointerPoint = typeof PointerPoint.Type;
462
+ export declare const PointerPressed: Schema.TaggedStruct<"PointerPressed", {
463
+ readonly width: Schema.Number;
464
+ readonly height: Schema.Number;
465
+ readonly point: Schema.Struct<{
466
+ readonly x: Schema.Number;
467
+ readonly y: Schema.Number;
468
+ readonly pressure: Schema.Number;
469
+ }>;
470
+ /** `mouse`, `pen` or `touch`, as the browser names it. */
471
+ readonly pointerType: Schema.String;
472
+ }>;
473
+ export type PointerPressed = typeof PointerPressed.Type;
474
+ export declare const PointerMoved: Schema.TaggedStruct<"PointerMoved", {
475
+ readonly width: Schema.Number;
476
+ readonly height: Schema.Number;
477
+ /** Where the pointer is now. */
478
+ readonly point: Schema.Struct<{
479
+ readonly x: Schema.Number;
480
+ readonly y: Schema.Number;
481
+ readonly pressure: Schema.Number;
482
+ }>;
483
+ /**
484
+ * Every place it passed since the last move, ending with `point`: the
485
+ * browser's coalesced events, so a fast stroke keeps its curve. Just
486
+ * `point` where the browser coalesces none.
487
+ */
488
+ readonly points: Schema.$Array<Schema.Struct<{
489
+ readonly x: Schema.Number;
490
+ readonly y: Schema.Number;
491
+ readonly pressure: Schema.Number;
492
+ }>>;
493
+ }>;
494
+ export type PointerMoved = typeof PointerMoved.Type;
495
+ export declare const PointerReleased: Schema.TaggedStruct<"PointerReleased", {
496
+ /** `false` when the pointer was cancelled, lost its capture, or pressed again unreleased. */
497
+ readonly completed: Schema.Boolean;
498
+ }>;
499
+ export type PointerReleased = typeof PointerReleased.Type;
500
+ export type PointerFact = PointerPressed | PointerMoved | PointerReleased;
501
+ interface Sides {
502
+ readonly top: number;
503
+ readonly right: number;
504
+ readonly bottom: number;
505
+ readonly left: number;
506
+ }
507
+ export interface Rect {
508
+ readonly left: number;
509
+ readonly top: number;
510
+ readonly width: number;
511
+ readonly height: number;
512
+ }
513
+ /**
514
+ * The padding box of an element whose border box is `rect`: inside its
515
+ * border, padding included. An absolutely positioned child (a thumb, a
516
+ * stroke) is laid out against it, so a place read here is where that child
517
+ * sits, whatever padding a stylist adds.
518
+ */
519
+ export declare const paddingBoxOf: (layout: {
520
+ readonly rect: Rect;
521
+ readonly border: Sides;
522
+ }) => Rect;
523
+ /**
524
+ * An element's padding box now, in the viewport, as `PointerPosition`
525
+ * measures it: for a size kept beside its places, which a `ResizeObserver`'s
526
+ * content box does not match once the element has padding. Read from the
527
+ * bounding rectangle and the computed border, since `clientWidth` and
528
+ * `clientLeft` round to whole pixels.
529
+ */
530
+ export declare const measurePaddingBox: (element: Element) => Rect;
531
+ /**
532
+ * Where one pointer is inside an element, as a Mount, for a surface the
533
+ * pointer draws on or points into (a color area, a dial, a signature pad): a
534
+ * primary press, each move until the release, and the release, each with
535
+ * the place in the element's padding box and the box's size. The box is
536
+ * measured at each event, so an element that moved or resized is followed.
537
+ * Coordinates are raw, left to right and top down whatever the direction:
538
+ * what a place means (a share, an angle, a reading direction) is the parent's.
539
+ *
540
+ * The pointer is captured from press to release, so a drag that leaves the
541
+ * element is still heard, and the moves and the release are listened to only
542
+ * meanwhile. A press keeps the browser's own focus and text selection away,
543
+ * and a second pointer while one is down is ignored.
544
+ */
545
+ export declare const PointerPosition: Mount.MountDefinitionWithArgs<"PointerPosition", {
546
+ /**
547
+ * A descendant to focus on a press, found by this selector (a thumb), so
548
+ * the keys go on from where the pointer left it.
549
+ */
550
+ focus: Schema.optionalKey<Schema.String>;
551
+ }, {
552
+ readonly _tag: "PointerPressed";
553
+ readonly width: number;
554
+ readonly height: number;
555
+ readonly point: {
556
+ readonly x: number;
557
+ readonly y: number;
558
+ readonly pressure: number;
559
+ };
560
+ readonly pointerType: string;
561
+ } | {
562
+ readonly _tag: "PointerMoved";
563
+ readonly width: number;
564
+ readonly height: number;
565
+ readonly point: {
566
+ readonly x: number;
567
+ readonly y: number;
568
+ readonly pressure: number;
569
+ };
570
+ readonly points: readonly {
571
+ readonly x: number;
572
+ readonly y: number;
573
+ readonly pressure: number;
574
+ }[];
575
+ } | {
576
+ readonly _tag: "PointerReleased";
577
+ readonly completed: boolean;
578
+ }>;
579
+ //#endregion
580
+ //#region src/dom/track-box.d.ts
581
+ /** The attribute on the mounted element naming the element `TrackBox` follows, by id. */
582
+ export declare const TRACK_TARGET_ATTRIBUTE = "data-target";
583
+ /** The custom properties `TrackBox` writes for `name`, as `measured` names `Measure`'s. */
584
+ export declare const trackedBox: (name: string) => {
585
+ readonly x: `--fk-${string}-x`;
586
+ readonly y: `--fk-${string}-y`;
587
+ readonly w: `--fk-${string}-w`;
588
+ readonly h: `--fk-${string}-h`;
589
+ readonly radius: `--fk-${string}-radius`;
590
+ };
591
+ /** Sent as the followed element changes: its id, and whether it is on the page. */
592
+ export declare const TrackedTarget: Schema.TaggedStruct<"TrackedTarget", {
593
+ readonly target: Schema.String;
594
+ readonly found: Schema.Boolean;
595
+ }>;
596
+ export type TrackedTarget = typeof TrackedTarget.Type;
597
+ /**
598
+ * The radius a box of `width` by `height` draws for a computed
599
+ * `border-top-left-radius` of `value` (`8px`, `50%`, `8px 4px`): its
600
+ * horizontal length in pixels, a share of the width for a percentage, and
601
+ * never more than half the shorter side, where the browser stops it.
602
+ */
603
+ export declare const cornerRadius: (value: string, width: number, height: number) => number;
604
+ /**
605
+ * Follows another element's box, as a Mount: the element whose id is the
606
+ * mounted element's `data-target` (`TRACK_TARGET_ATTRIBUTE`). Its box in
607
+ * viewport pixels is written on the mounted element as `--fk-<name>-x`,
608
+ * `-y`, `-w` and `-h`, and with `radius`, its top left corner's radius as
609
+ * `--fk-<name>-radius` (`cornerRadius`), so a fixed overlay drawn from them
610
+ * (a tour's cutout, a coach mark's ring) sits over it. While nothing is
611
+ * followed they are removed, so a stylist's fallbacks apply.
612
+ *
613
+ * The box is read again on a scroll anywhere (heard on the way down, since
614
+ * `scroll` does not bubble), a window resize, the followed element's own
615
+ * resize, and any change to the document's elements, which is also how a
616
+ * target drawn anew under the same id is found. `data-target` is read again
617
+ * whenever it changes, so one element can glide from target to target
618
+ * without being drawn again, which a Mount's args, read once, could not do.
619
+ * What moves the target by any other way (a stylesheet added) is seen at the
620
+ * next of these.
621
+ *
622
+ * Whether a target is on the page is the parent's to act on (a tour shows
623
+ * the step in the middle instead), so each change of the target or of
624
+ * whether it is found sends `TrackedTarget`, starting with the first one.
625
+ * Since it sends a Message, a component may draw it by default: a Scene test
626
+ * resolves it with what the parent maps it to. An empty `data-target` follows
627
+ * nothing and sends nothing.
628
+ */
629
+ export declare const TrackBox: Mount.MountDefinitionWithArgs<"TrackBox", {
630
+ /** The custom properties' prefix: `tour` writes `--fk-tour-x`. */
631
+ name: Schema.String;
632
+ /** Whether to write the target's corner radius too; it reads the target's computed style. */
633
+ radius: Schema.optional<Schema.Boolean>;
634
+ }, {
635
+ readonly _tag: "TrackedTarget";
636
+ readonly target: string;
637
+ readonly found: boolean;
638
+ }>;
639
+ //#endregion
202
640
  export { DRAG_THRESHOLD, DragCancelled, DragDropped, DragFact, DragPlace, DragStarted, DragZone, DraggedOver, EditAsked, EditableText, Fact, FocusScope, HideOutside, Move, MoveEnded, MoveStarted, Moved, PointerDrag, ScrollLock, TargetFact, TargetHovered, TargetPressed, Targets, TextCancelled, TextCommitted, TextEdited, TextFact, boxOf, tabbableWithin, targetOf, textOf, zoneOf };
203
641
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../../src/dom/autofocus.ts","../../src/dom/clipboard.ts","../../src/dom/input-mask.ts","../../src/dom/keep-in-view.ts","../../src/dom/script-loader.ts","../../src/dom/share.ts","../../src/dom/measure.ts","../../src/dom/follow-tab-stop.ts","../../src/dom/scroll.ts","../../src/dom/pointed-links.ts"],"mappings":";;;;;;qBAGa,SAAO,OAAA;YACR,iBAAiB,QAAQ;;;;;;;;qBASxB,WAAS,MAAA;;;;;qBCJT,4CAAgB;;;IAEb,SAAO,OAAA;;;YAEX,0BAA0B,iBAAiB;qBAE1C,gDAAoB;;IACvB,MAAI,OAAA;;;IACE,SAAO,OAAA;;;YAEX,8BAA8B,qBAAqB;;;;;;qBAUlD,WAAQ,iBAAmB,QAAQ;;;;;qBAsBnC,gBAAe,QAAQ;;;;qBC/CvB,OAAK,OAAA;;;;YAIN,eAAe,MAAM;;;;;;;qBAiCpB,YAAS,eACP;WAED;WAAyB;;;;;;;;;;;qBA6C1B,WAAS,MAAA;WAAT,OAAA;;;;;;;;;;;;;;;;;qBC7EA,YAAU,MAAA;;YAAV,OAAA;;;;qBCDA,yCAAa;;;IAEV,SAAO,OAAA;;;YAEX,uBAAuB,cAAc;;qBASpC,aAAU,gBAAkB,QAAQ;;;qBCbpC,WAAS,OAAA;;;;;YAKV,mBAAmB,UAAU;qBAE5B,wCAAY;;;;IAGR,SAAO,OAAA;;;YAEZ,sBAAsB,aAAa;;qBAUlC,QAAK,MAAU,cAAY,QAAQ;;;;qBC7BnC,WAAQ;WAEjB;WACA;WACA;WACA;WACA;;;;;;;;;;;;;;;;;;;;;qBAsBS,SAAO,MAAA;;;;;;;;;;;;;;qBCrBP,eAAa,MAAA;;;;iBCuBT;;WAEN;;WAEA;;;;;WAKA;;;;;;;;qBAuHE,aAAU,UAAa,sBAAyB,OAAO;;;;;;;;;;qBCvJvD,oBAAmB,OAAO,OAAO"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../../src/dom/autofocus.ts","../../src/dom/clipboard.ts","../../src/dom/input-mask.ts","../../src/dom/keep-in-view.ts","../../src/dom/script-loader.ts","../../src/dom/share.ts","../../src/dom/measure.ts","../../src/dom/follow-tab-stop.ts","../../src/dom/scroll.ts","../../src/dom/pointed-links.ts","../../src/dom/fluid-hover.ts","../../src/dom/scroll-bars.ts","../../src/dom/swipe.ts","../../src/dom/scroll-settle.ts","../../src/dom/pointer-position.ts","../../src/dom/track-box.ts"],"mappings":";;;;;;qBAGa,SAAO,OAAA;YACR,iBAAiB,QAAQ;;;;;;;;qBASxB,WAAS,MAAA;;;;;qBCJT,4CAAgB;;;IAEb,SAAO,OAAA;;;YAEX,0BAA0B,iBAAiB;qBAE1C,gDAAoB;;IACvB,MAAI,OAAA;;;IACE,SAAO,OAAA;;;YAEX,8BAA8B,qBAAqB;;;;;;qBAUlD,WAAQ,iBAAmB,QAAQ;;;;;qBAsBnC,gBAAe,QAAQ;;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