drab 7.0.2 → 8.0.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.
Files changed (59) hide show
  1. package/dist/base/index.d.ts +122 -48
  2. package/dist/base/index.d.ts.map +1 -1
  3. package/dist/base/index.js +10 -7
  4. package/dist/contextmenu/index.d.ts +90 -35
  5. package/dist/contextmenu/index.d.ts.map +1 -1
  6. package/dist/define.d.ts +0 -1
  7. package/dist/define.d.ts.map +1 -1
  8. package/dist/define.js +0 -1
  9. package/dist/editor/index.d.ts +90 -35
  10. package/dist/editor/index.d.ts.map +1 -1
  11. package/dist/fullscreen/index.d.ts +90 -36
  12. package/dist/fullscreen/index.d.ts.map +1 -1
  13. package/dist/fullscreen/index.js +3 -14
  14. package/dist/index.d.ts +0 -1
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +0 -1
  17. package/dist/intersect/index.d.ts +90 -36
  18. package/dist/intersect/index.d.ts.map +1 -1
  19. package/dist/intersect/index.js +1 -11
  20. package/dist/prefetch/index.d.ts +62 -25
  21. package/dist/prefetch/index.d.ts.map +1 -1
  22. package/dist/prefetch/index.js +17 -30
  23. package/dist/share/index.d.ts +120 -47
  24. package/dist/share/index.d.ts.map +1 -1
  25. package/dist/tablesort/index.d.ts +120 -47
  26. package/dist/tablesort/index.d.ts.map +1 -1
  27. package/dist/tablesort/index.js +54 -54
  28. package/dist/tabs/index.d.ts +61 -24
  29. package/dist/tabs/index.d.ts.map +1 -1
  30. package/dist/tabs/index.js +10 -2
  31. package/dist/types/index.d.ts +0 -2
  32. package/dist/types/index.d.ts.map +1 -1
  33. package/dist/util/validate.d.ts.map +1 -1
  34. package/dist/util/validate.js +2 -1
  35. package/dist/wakelock/index.d.ts +120 -47
  36. package/dist/wakelock/index.d.ts.map +1 -1
  37. package/dist/wakelock/index.js +1 -2
  38. package/package.json +4 -4
  39. package/src/base/index.ts +10 -7
  40. package/src/contextmenu/index.ts +2 -3
  41. package/src/define.ts +0 -1
  42. package/src/editor/index.ts +1 -2
  43. package/src/fullscreen/index.ts +6 -18
  44. package/src/index.ts +0 -1
  45. package/src/intersect/index.ts +2 -14
  46. package/src/prefetch/index.ts +21 -36
  47. package/src/tablesort/index.ts +64 -63
  48. package/src/tabs/index.ts +16 -2
  49. package/src/types/index.ts +0 -2
  50. package/src/util/validate.ts +2 -1
  51. package/src/wakelock/index.ts +2 -5
  52. package/dist/dialog/define.d.ts +0 -2
  53. package/dist/dialog/define.d.ts.map +0 -1
  54. package/dist/dialog/define.js +0 -3
  55. package/dist/dialog/index.d.ts +0 -1079
  56. package/dist/dialog/index.d.ts.map +0 -1
  57. package/dist/dialog/index.js +0 -90
  58. package/src/dialog/define.ts +0 -4
  59. package/src/dialog/index.ts +0 -120
@@ -10,7 +10,7 @@ export type Constructor<T> = new (...args: any[]) => T;
10
10
  export declare const Lifecycle: <T extends Constructor<HTMLElement>>(Super?: T) => {
11
11
  new (...args: any[]): {
12
12
  /** To clean up event listeners added to `document` when the element is removed. */
13
- "__#1@#listenerController": AbortController;
13
+ controller: AbortController;
14
14
  /**
15
15
  * Wrapper around `addEventListener` that ensures when the element is
16
16
  * removed from the DOM, these event listeners are cleaned up.
@@ -45,9 +45,10 @@ export declare const Lifecycle: <T extends Constructor<HTMLElement>>(Super?: T)
45
45
  accessKey: string;
46
46
  readonly accessKeyLabel: string;
47
47
  autocapitalize: string;
48
+ autocorrect: boolean;
48
49
  dir: string;
49
50
  draggable: boolean;
50
- hidden: boolean;
51
+ hidden: boolean | "until-found";
51
52
  inert: boolean;
52
53
  innerText: string;
53
54
  lang: string;
@@ -65,8 +66,8 @@ export declare const Lifecycle: <T extends Constructor<HTMLElement>>(Super?: T)
65
66
  attachInternals(): ElementInternals;
66
67
  click(): void;
67
68
  hidePopover(): void;
68
- showPopover(): void;
69
- togglePopover(options?: boolean): boolean;
69
+ showPopover(options?: ShowPopoverOptions): void;
70
+ togglePopover(options?: TogglePopoverOptions | boolean): boolean;
70
71
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
71
72
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
72
73
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -80,6 +81,7 @@ export declare const Lifecycle: <T extends Constructor<HTMLElement>>(Super?: T)
80
81
  readonly clientTop: number;
81
82
  readonly clientWidth: number;
82
83
  readonly currentCSSZoom: number;
84
+ readonly customElementRegistry: CustomElementRegistry | null;
83
85
  id: string;
84
86
  innerHTML: string;
85
87
  readonly localName: string;
@@ -130,6 +132,9 @@ export declare const Lifecycle: <T extends Constructor<HTMLElement>>(Super?: T)
130
132
  insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
131
133
  insertAdjacentHTML(position: InsertPosition, string: string): void;
132
134
  insertAdjacentText(where: InsertPosition, data: string): void;
135
+ matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
136
+ matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
137
+ matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
133
138
  matches(selectors: string): boolean;
134
139
  releasePointerCapture(pointerId: number): void;
135
140
  removeAttribute(qualifiedName: string): void;
@@ -152,6 +157,8 @@ export declare const Lifecycle: <T extends Constructor<HTMLElement>>(Super?: T)
152
157
  setPointerCapture(pointerId: number): void;
153
158
  toggleAttribute(qualifiedName: string, force?: boolean): boolean;
154
159
  webkitMatchesSelector(selectors: string): boolean;
160
+ get textContent(): string;
161
+ set textContent(value: string | null);
155
162
  readonly baseURI: string;
156
163
  readonly childNodes: NodeListOf<ChildNode>;
157
164
  readonly firstChild: ChildNode | null;
@@ -164,7 +171,6 @@ export declare const Lifecycle: <T extends Constructor<HTMLElement>>(Super?: T)
164
171
  readonly parentElement: HTMLElement | null;
165
172
  readonly parentNode: ParentNode | null;
166
173
  readonly previousSibling: ChildNode | null;
167
- textContent: string | null;
168
174
  appendChild<T_1 extends Node>(node: T_1): T_1;
169
175
  cloneNode(subtree?: boolean): Node;
170
176
  compareDocumentPosition(other: Node): number;
@@ -199,6 +205,7 @@ export declare const Lifecycle: <T extends Constructor<HTMLElement>>(Super?: T)
199
205
  readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
200
206
  readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
201
207
  dispatchEvent(event: Event): boolean;
208
+ ariaActiveDescendantElement: Element | null;
202
209
  ariaAtomic: string | null;
203
210
  ariaAutoComplete: string | null;
204
211
  ariaBrailleLabel: string | null;
@@ -209,21 +216,28 @@ export declare const Lifecycle: <T extends Constructor<HTMLElement>>(Super?: T)
209
216
  ariaColIndex: string | null;
210
217
  ariaColIndexText: string | null;
211
218
  ariaColSpan: string | null;
219
+ ariaControlsElements: ReadonlyArray<Element> | null;
212
220
  ariaCurrent: string | null;
221
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
213
222
  ariaDescription: string | null;
223
+ ariaDetailsElements: ReadonlyArray<Element> | null;
214
224
  ariaDisabled: string | null;
225
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
215
226
  ariaExpanded: string | null;
227
+ ariaFlowToElements: ReadonlyArray<Element> | null;
216
228
  ariaHasPopup: string | null;
217
229
  ariaHidden: string | null;
218
230
  ariaInvalid: string | null;
219
231
  ariaKeyShortcuts: string | null;
220
232
  ariaLabel: string | null;
233
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
221
234
  ariaLevel: string | null;
222
235
  ariaLive: string | null;
223
236
  ariaModal: string | null;
224
237
  ariaMultiLine: string | null;
225
238
  ariaMultiSelectable: string | null;
226
239
  ariaOrientation: string | null;
240
+ ariaOwnsElements: ReadonlyArray<Element> | null;
227
241
  ariaPlaceholder: string | null;
228
242
  ariaPosInSet: string | null;
229
243
  ariaPressed: string | null;
@@ -256,6 +270,7 @@ export declare const Lifecycle: <T extends Constructor<HTMLElement>>(Super?: T)
256
270
  readonly firstElementChild: Element | null;
257
271
  readonly lastElementChild: Element | null;
258
272
  append(...nodes: (Node | string)[]): void;
273
+ moveBefore(node: Node, child: Node | null): void;
259
274
  prepend(...nodes: (Node | string)[]): void;
260
275
  querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
261
276
  querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
@@ -281,18 +296,20 @@ export declare const Lifecycle: <T extends Constructor<HTMLElement>>(Super?: T)
281
296
  onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
282
297
  onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
283
298
  onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
284
- onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
299
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
285
300
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
286
- onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
301
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
302
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
287
303
  onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
288
304
  oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
289
305
  oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
290
306
  oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
291
307
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
292
- onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
308
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
293
309
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
310
+ oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
294
311
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
295
- oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
312
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
296
313
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
297
314
  oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
298
315
  oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -312,7 +329,7 @@ export declare const Lifecycle: <T extends Constructor<HTMLElement>>(Super?: T)
312
329
  onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
313
330
  onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
314
331
  ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
315
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
332
+ oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
316
333
  oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
317
334
  onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
318
335
  onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
@@ -340,6 +357,7 @@ export declare const Lifecycle: <T extends Constructor<HTMLElement>>(Super?: T)
340
357
  onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
341
358
  onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
342
359
  onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
360
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
343
361
  onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
344
362
  onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
345
363
  onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -358,7 +376,7 @@ export declare const Lifecycle: <T extends Constructor<HTMLElement>>(Super?: T)
358
376
  onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
359
377
  onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
360
378
  ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
361
- ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
379
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
362
380
  ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
363
381
  ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
364
382
  ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
@@ -376,7 +394,7 @@ export declare const Lifecycle: <T extends Constructor<HTMLElement>>(Super?: T)
376
394
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
377
395
  autofocus: boolean;
378
396
  readonly dataset: DOMStringMap;
379
- nonce?: string;
397
+ nonce: string;
380
398
  tabIndex: number;
381
399
  blur(): void;
382
400
  focus(options?: FocusOptions): void;
@@ -396,11 +414,13 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super?: T) =>
396
414
  /**
397
415
  * Event for the `trigger` to execute.
398
416
  *
399
- * For example, set to `"mouseover"` to execute the event when the user hovers the mouse over the `trigger`, instead of when they click it.
417
+ * For example, set to `"mouseover"` to execute the event when the user
418
+ * hovers the mouse over the `trigger`, instead of when they click it.
400
419
  *
401
420
  * @default "click"
402
421
  */
403
- event: keyof HTMLElementEventMap;
422
+ get event(): keyof HTMLElementEventMap;
423
+ set event(value: keyof HTMLElementEventMap);
404
424
  /**
405
425
  * @param instance The instance of the desired element to validate against,
406
426
  * ex: `HTMLButtonElement`. Defaults to `HTMLElement`.
@@ -423,9 +443,10 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super?: T) =>
423
443
  accessKey: string;
424
444
  readonly accessKeyLabel: string;
425
445
  autocapitalize: string;
446
+ autocorrect: boolean;
426
447
  dir: string;
427
448
  draggable: boolean;
428
- hidden: boolean;
449
+ hidden: boolean | "until-found";
429
450
  inert: boolean;
430
451
  innerText: string;
431
452
  lang: string;
@@ -443,8 +464,8 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super?: T) =>
443
464
  attachInternals(): ElementInternals;
444
465
  click(): void;
445
466
  hidePopover(): void;
446
- showPopover(): void;
447
- togglePopover(options?: boolean): boolean;
467
+ showPopover(options?: ShowPopoverOptions): void;
468
+ togglePopover(options?: TogglePopoverOptions | boolean): boolean;
448
469
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
449
470
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
450
471
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -458,6 +479,7 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super?: T) =>
458
479
  readonly clientTop: number;
459
480
  readonly clientWidth: number;
460
481
  readonly currentCSSZoom: number;
482
+ readonly customElementRegistry: CustomElementRegistry | null;
461
483
  id: string;
462
484
  innerHTML: string;
463
485
  readonly localName: string;
@@ -508,6 +530,9 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super?: T) =>
508
530
  insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
509
531
  insertAdjacentHTML(position: InsertPosition, string: string): void;
510
532
  insertAdjacentText(where: InsertPosition, data: string): void;
533
+ matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
534
+ matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
535
+ matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
511
536
  matches(selectors: string): boolean;
512
537
  releasePointerCapture(pointerId: number): void;
513
538
  removeAttribute(qualifiedName: string): void;
@@ -530,6 +555,8 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super?: T) =>
530
555
  setPointerCapture(pointerId: number): void;
531
556
  toggleAttribute(qualifiedName: string, force?: boolean): boolean;
532
557
  webkitMatchesSelector(selectors: string): boolean;
558
+ get textContent(): string;
559
+ set textContent(value: string | null);
533
560
  readonly baseURI: string;
534
561
  readonly childNodes: NodeListOf<ChildNode>;
535
562
  readonly firstChild: ChildNode | null;
@@ -542,7 +569,6 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super?: T) =>
542
569
  readonly parentElement: HTMLElement | null;
543
570
  readonly parentNode: ParentNode | null;
544
571
  readonly previousSibling: ChildNode | null;
545
- textContent: string | null;
546
572
  appendChild<T_1 extends Node>(node: T_1): T_1;
547
573
  cloneNode(subtree?: boolean): Node;
548
574
  compareDocumentPosition(other: Node): number;
@@ -577,6 +603,7 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super?: T) =>
577
603
  readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
578
604
  readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
579
605
  dispatchEvent(event: Event): boolean;
606
+ ariaActiveDescendantElement: Element | null;
580
607
  ariaAtomic: string | null;
581
608
  ariaAutoComplete: string | null;
582
609
  ariaBrailleLabel: string | null;
@@ -587,21 +614,28 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super?: T) =>
587
614
  ariaColIndex: string | null;
588
615
  ariaColIndexText: string | null;
589
616
  ariaColSpan: string | null;
617
+ ariaControlsElements: ReadonlyArray<Element> | null;
590
618
  ariaCurrent: string | null;
619
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
591
620
  ariaDescription: string | null;
621
+ ariaDetailsElements: ReadonlyArray<Element> | null;
592
622
  ariaDisabled: string | null;
623
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
593
624
  ariaExpanded: string | null;
625
+ ariaFlowToElements: ReadonlyArray<Element> | null;
594
626
  ariaHasPopup: string | null;
595
627
  ariaHidden: string | null;
596
628
  ariaInvalid: string | null;
597
629
  ariaKeyShortcuts: string | null;
598
630
  ariaLabel: string | null;
631
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
599
632
  ariaLevel: string | null;
600
633
  ariaLive: string | null;
601
634
  ariaModal: string | null;
602
635
  ariaMultiLine: string | null;
603
636
  ariaMultiSelectable: string | null;
604
637
  ariaOrientation: string | null;
638
+ ariaOwnsElements: ReadonlyArray<Element> | null;
605
639
  ariaPlaceholder: string | null;
606
640
  ariaPosInSet: string | null;
607
641
  ariaPressed: string | null;
@@ -634,6 +668,7 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super?: T) =>
634
668
  readonly firstElementChild: Element | null;
635
669
  readonly lastElementChild: Element | null;
636
670
  append(...nodes: (Node | string)[]): void;
671
+ moveBefore(node: Node, child: Node | null): void;
637
672
  prepend(...nodes: (Node | string)[]): void;
638
673
  querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
639
674
  querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
@@ -659,18 +694,20 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super?: T) =>
659
694
  onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
660
695
  onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
661
696
  onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
662
- onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
697
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
663
698
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
664
- onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
699
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
700
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
665
701
  onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
666
702
  oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
667
703
  oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
668
704
  oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
669
705
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
670
- onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
706
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
671
707
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
708
+ oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
672
709
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
673
- oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
710
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
674
711
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
675
712
  oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
676
713
  oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -690,7 +727,7 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super?: T) =>
690
727
  onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
691
728
  onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
692
729
  ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
693
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
730
+ oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
694
731
  oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
695
732
  onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
696
733
  onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
@@ -718,6 +755,7 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super?: T) =>
718
755
  onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
719
756
  onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
720
757
  onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
758
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
721
759
  onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
722
760
  onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
723
761
  onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -736,7 +774,7 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super?: T) =>
736
774
  onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
737
775
  onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
738
776
  ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
739
- ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
777
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
740
778
  ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
741
779
  ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
742
780
  ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
@@ -754,7 +792,7 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super?: T) =>
754
792
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
755
793
  autofocus: boolean;
756
794
  readonly dataset: DOMStringMap;
757
- nonce?: string;
795
+ nonce: string;
758
796
  tabIndex: number;
759
797
  blur(): void;
760
798
  focus(options?: FocusOptions): void;
@@ -789,9 +827,10 @@ export declare const Content: <T extends Constructor<HTMLElement>>(Super?: T) =>
789
827
  accessKey: string;
790
828
  readonly accessKeyLabel: string;
791
829
  autocapitalize: string;
830
+ autocorrect: boolean;
792
831
  dir: string;
793
832
  draggable: boolean;
794
- hidden: boolean;
833
+ hidden: boolean | "until-found";
795
834
  inert: boolean;
796
835
  innerText: string;
797
836
  lang: string;
@@ -809,8 +848,8 @@ export declare const Content: <T extends Constructor<HTMLElement>>(Super?: T) =>
809
848
  attachInternals(): ElementInternals;
810
849
  click(): void;
811
850
  hidePopover(): void;
812
- showPopover(): void;
813
- togglePopover(options?: boolean): boolean;
851
+ showPopover(options?: ShowPopoverOptions): void;
852
+ togglePopover(options?: TogglePopoverOptions | boolean): boolean;
814
853
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
815
854
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
816
855
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -824,6 +863,7 @@ export declare const Content: <T extends Constructor<HTMLElement>>(Super?: T) =>
824
863
  readonly clientTop: number;
825
864
  readonly clientWidth: number;
826
865
  readonly currentCSSZoom: number;
866
+ readonly customElementRegistry: CustomElementRegistry | null;
827
867
  id: string;
828
868
  innerHTML: string;
829
869
  readonly localName: string;
@@ -874,6 +914,9 @@ export declare const Content: <T extends Constructor<HTMLElement>>(Super?: T) =>
874
914
  insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
875
915
  insertAdjacentHTML(position: InsertPosition, string: string): void;
876
916
  insertAdjacentText(where: InsertPosition, data: string): void;
917
+ matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
918
+ matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
919
+ matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
877
920
  matches(selectors: string): boolean;
878
921
  releasePointerCapture(pointerId: number): void;
879
922
  removeAttribute(qualifiedName: string): void;
@@ -896,6 +939,8 @@ export declare const Content: <T extends Constructor<HTMLElement>>(Super?: T) =>
896
939
  setPointerCapture(pointerId: number): void;
897
940
  toggleAttribute(qualifiedName: string, force?: boolean): boolean;
898
941
  webkitMatchesSelector(selectors: string): boolean;
942
+ get textContent(): string;
943
+ set textContent(value: string | null);
899
944
  readonly baseURI: string;
900
945
  readonly childNodes: NodeListOf<ChildNode>;
901
946
  readonly firstChild: ChildNode | null;
@@ -908,7 +953,6 @@ export declare const Content: <T extends Constructor<HTMLElement>>(Super?: T) =>
908
953
  readonly parentElement: HTMLElement | null;
909
954
  readonly parentNode: ParentNode | null;
910
955
  readonly previousSibling: ChildNode | null;
911
- textContent: string | null;
912
956
  appendChild<T_1 extends Node>(node: T_1): T_1;
913
957
  cloneNode(subtree?: boolean): Node;
914
958
  compareDocumentPosition(other: Node): number;
@@ -943,6 +987,7 @@ export declare const Content: <T extends Constructor<HTMLElement>>(Super?: T) =>
943
987
  readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
944
988
  readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
945
989
  dispatchEvent(event: Event): boolean;
990
+ ariaActiveDescendantElement: Element | null;
946
991
  ariaAtomic: string | null;
947
992
  ariaAutoComplete: string | null;
948
993
  ariaBrailleLabel: string | null;
@@ -953,21 +998,28 @@ export declare const Content: <T extends Constructor<HTMLElement>>(Super?: T) =>
953
998
  ariaColIndex: string | null;
954
999
  ariaColIndexText: string | null;
955
1000
  ariaColSpan: string | null;
1001
+ ariaControlsElements: ReadonlyArray<Element> | null;
956
1002
  ariaCurrent: string | null;
1003
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
957
1004
  ariaDescription: string | null;
1005
+ ariaDetailsElements: ReadonlyArray<Element> | null;
958
1006
  ariaDisabled: string | null;
1007
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
959
1008
  ariaExpanded: string | null;
1009
+ ariaFlowToElements: ReadonlyArray<Element> | null;
960
1010
  ariaHasPopup: string | null;
961
1011
  ariaHidden: string | null;
962
1012
  ariaInvalid: string | null;
963
1013
  ariaKeyShortcuts: string | null;
964
1014
  ariaLabel: string | null;
1015
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
965
1016
  ariaLevel: string | null;
966
1017
  ariaLive: string | null;
967
1018
  ariaModal: string | null;
968
1019
  ariaMultiLine: string | null;
969
1020
  ariaMultiSelectable: string | null;
970
1021
  ariaOrientation: string | null;
1022
+ ariaOwnsElements: ReadonlyArray<Element> | null;
971
1023
  ariaPlaceholder: string | null;
972
1024
  ariaPosInSet: string | null;
973
1025
  ariaPressed: string | null;
@@ -1000,6 +1052,7 @@ export declare const Content: <T extends Constructor<HTMLElement>>(Super?: T) =>
1000
1052
  readonly firstElementChild: Element | null;
1001
1053
  readonly lastElementChild: Element | null;
1002
1054
  append(...nodes: (Node | string)[]): void;
1055
+ moveBefore(node: Node, child: Node | null): void;
1003
1056
  prepend(...nodes: (Node | string)[]): void;
1004
1057
  querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
1005
1058
  querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
@@ -1025,18 +1078,20 @@ export declare const Content: <T extends Constructor<HTMLElement>>(Super?: T) =>
1025
1078
  onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1026
1079
  onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1027
1080
  onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1028
- onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1081
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1029
1082
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
1030
- onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1083
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1084
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
1031
1085
  onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
1032
1086
  oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1033
1087
  oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1034
1088
  oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1035
1089
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1036
- onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1090
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1037
1091
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1092
+ oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1038
1093
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1039
- oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1094
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1040
1095
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1041
1096
  oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1042
1097
  oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -1056,7 +1111,7 @@ export declare const Content: <T extends Constructor<HTMLElement>>(Super?: T) =>
1056
1111
  onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
1057
1112
  onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
1058
1113
  ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1059
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1114
+ oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
1060
1115
  oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1061
1116
  onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
1062
1117
  onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
@@ -1084,6 +1139,7 @@ export declare const Content: <T extends Constructor<HTMLElement>>(Super?: T) =>
1084
1139
  onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1085
1140
  onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1086
1141
  onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1142
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1087
1143
  onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1088
1144
  onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
1089
1145
  onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -1102,7 +1158,7 @@ export declare const Content: <T extends Constructor<HTMLElement>>(Super?: T) =>
1102
1158
  onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
1103
1159
  onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1104
1160
  ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1105
- ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1161
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
1106
1162
  ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1107
1163
  ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1108
1164
  ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
@@ -1120,7 +1176,7 @@ export declare const Content: <T extends Constructor<HTMLElement>>(Super?: T) =>
1120
1176
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1121
1177
  autofocus: boolean;
1122
1178
  readonly dataset: DOMStringMap;
1123
- nonce?: string;
1179
+ nonce: string;
1124
1180
  tabIndex: number;
1125
1181
  blur(): void;
1126
1182
  focus(options?: FocusOptions): void;
@@ -1135,9 +1191,10 @@ export declare const Announce: <T extends Constructor<HTMLElement>>(Super?: T) =
1135
1191
  accessKey: string;
1136
1192
  readonly accessKeyLabel: string;
1137
1193
  autocapitalize: string;
1194
+ autocorrect: boolean;
1138
1195
  dir: string;
1139
1196
  draggable: boolean;
1140
- hidden: boolean;
1197
+ hidden: boolean | "until-found";
1141
1198
  inert: boolean;
1142
1199
  innerText: string;
1143
1200
  lang: string;
@@ -1155,8 +1212,8 @@ export declare const Announce: <T extends Constructor<HTMLElement>>(Super?: T) =
1155
1212
  attachInternals(): ElementInternals;
1156
1213
  click(): void;
1157
1214
  hidePopover(): void;
1158
- showPopover(): void;
1159
- togglePopover(options?: boolean): boolean;
1215
+ showPopover(options?: ShowPopoverOptions): void;
1216
+ togglePopover(options?: TogglePopoverOptions | boolean): boolean;
1160
1217
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1161
1218
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1162
1219
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -1170,6 +1227,7 @@ export declare const Announce: <T extends Constructor<HTMLElement>>(Super?: T) =
1170
1227
  readonly clientTop: number;
1171
1228
  readonly clientWidth: number;
1172
1229
  readonly currentCSSZoom: number;
1230
+ readonly customElementRegistry: CustomElementRegistry | null;
1173
1231
  id: string;
1174
1232
  innerHTML: string;
1175
1233
  readonly localName: string;
@@ -1220,6 +1278,9 @@ export declare const Announce: <T extends Constructor<HTMLElement>>(Super?: T) =
1220
1278
  insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
1221
1279
  insertAdjacentHTML(position: InsertPosition, string: string): void;
1222
1280
  insertAdjacentText(where: InsertPosition, data: string): void;
1281
+ matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
1282
+ matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
1283
+ matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
1223
1284
  matches(selectors: string): boolean;
1224
1285
  releasePointerCapture(pointerId: number): void;
1225
1286
  removeAttribute(qualifiedName: string): void;
@@ -1242,6 +1303,8 @@ export declare const Announce: <T extends Constructor<HTMLElement>>(Super?: T) =
1242
1303
  setPointerCapture(pointerId: number): void;
1243
1304
  toggleAttribute(qualifiedName: string, force?: boolean): boolean;
1244
1305
  webkitMatchesSelector(selectors: string): boolean;
1306
+ get textContent(): string;
1307
+ set textContent(value: string | null);
1245
1308
  readonly baseURI: string;
1246
1309
  readonly childNodes: NodeListOf<ChildNode>;
1247
1310
  readonly firstChild: ChildNode | null;
@@ -1254,7 +1317,6 @@ export declare const Announce: <T extends Constructor<HTMLElement>>(Super?: T) =
1254
1317
  readonly parentElement: HTMLElement | null;
1255
1318
  readonly parentNode: ParentNode | null;
1256
1319
  readonly previousSibling: ChildNode | null;
1257
- textContent: string | null;
1258
1320
  appendChild<T_1 extends Node>(node: T_1): T_1;
1259
1321
  cloneNode(subtree?: boolean): Node;
1260
1322
  compareDocumentPosition(other: Node): number;
@@ -1289,6 +1351,7 @@ export declare const Announce: <T extends Constructor<HTMLElement>>(Super?: T) =
1289
1351
  readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
1290
1352
  readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
1291
1353
  dispatchEvent(event: Event): boolean;
1354
+ ariaActiveDescendantElement: Element | null;
1292
1355
  ariaAtomic: string | null;
1293
1356
  ariaAutoComplete: string | null;
1294
1357
  ariaBrailleLabel: string | null;
@@ -1299,21 +1362,28 @@ export declare const Announce: <T extends Constructor<HTMLElement>>(Super?: T) =
1299
1362
  ariaColIndex: string | null;
1300
1363
  ariaColIndexText: string | null;
1301
1364
  ariaColSpan: string | null;
1365
+ ariaControlsElements: ReadonlyArray<Element> | null;
1302
1366
  ariaCurrent: string | null;
1367
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
1303
1368
  ariaDescription: string | null;
1369
+ ariaDetailsElements: ReadonlyArray<Element> | null;
1304
1370
  ariaDisabled: string | null;
1371
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
1305
1372
  ariaExpanded: string | null;
1373
+ ariaFlowToElements: ReadonlyArray<Element> | null;
1306
1374
  ariaHasPopup: string | null;
1307
1375
  ariaHidden: string | null;
1308
1376
  ariaInvalid: string | null;
1309
1377
  ariaKeyShortcuts: string | null;
1310
1378
  ariaLabel: string | null;
1379
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
1311
1380
  ariaLevel: string | null;
1312
1381
  ariaLive: string | null;
1313
1382
  ariaModal: string | null;
1314
1383
  ariaMultiLine: string | null;
1315
1384
  ariaMultiSelectable: string | null;
1316
1385
  ariaOrientation: string | null;
1386
+ ariaOwnsElements: ReadonlyArray<Element> | null;
1317
1387
  ariaPlaceholder: string | null;
1318
1388
  ariaPosInSet: string | null;
1319
1389
  ariaPressed: string | null;
@@ -1346,6 +1416,7 @@ export declare const Announce: <T extends Constructor<HTMLElement>>(Super?: T) =
1346
1416
  readonly firstElementChild: Element | null;
1347
1417
  readonly lastElementChild: Element | null;
1348
1418
  append(...nodes: (Node | string)[]): void;
1419
+ moveBefore(node: Node, child: Node | null): void;
1349
1420
  prepend(...nodes: (Node | string)[]): void;
1350
1421
  querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
1351
1422
  querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
@@ -1371,18 +1442,20 @@ export declare const Announce: <T extends Constructor<HTMLElement>>(Super?: T) =
1371
1442
  onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1372
1443
  onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1373
1444
  onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1374
- onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1445
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1375
1446
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
1376
- onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1447
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1448
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
1377
1449
  onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
1378
1450
  oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1379
1451
  oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1380
1452
  oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1381
1453
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1382
- onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1454
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1383
1455
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1456
+ oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1384
1457
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1385
- oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1458
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1386
1459
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1387
1460
  oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1388
1461
  oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -1402,7 +1475,7 @@ export declare const Announce: <T extends Constructor<HTMLElement>>(Super?: T) =
1402
1475
  onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
1403
1476
  onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
1404
1477
  ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1405
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1478
+ oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
1406
1479
  oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1407
1480
  onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
1408
1481
  onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
@@ -1430,6 +1503,7 @@ export declare const Announce: <T extends Constructor<HTMLElement>>(Super?: T) =
1430
1503
  onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1431
1504
  onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1432
1505
  onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1506
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1433
1507
  onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1434
1508
  onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
1435
1509
  onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -1448,7 +1522,7 @@ export declare const Announce: <T extends Constructor<HTMLElement>>(Super?: T) =
1448
1522
  onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
1449
1523
  onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1450
1524
  ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1451
- ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1525
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
1452
1526
  ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1453
1527
  ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1454
1528
  ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
@@ -1466,7 +1540,7 @@ export declare const Announce: <T extends Constructor<HTMLElement>>(Super?: T) =
1466
1540
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1467
1541
  autofocus: boolean;
1468
1542
  readonly dataset: DOMStringMap;
1469
- nonce?: string;
1543
+ nonce: string;
1470
1544
  tabIndex: number;
1471
1545
  blur(): void;
1472
1546
  focus(options?: FocusOptions): void;
@@ -1475,7 +1549,7 @@ export declare const Announce: <T extends Constructor<HTMLElement>>(Super?: T) =
1475
1549
  * A single `Announcer` element to share between all drab elements to announce
1476
1550
  * interactive changes.
1477
1551
  */
1478
- "__#2@#announcer": Announcer;
1552
+ announcer: Announcer;
1479
1553
  } & T;
1480
1554
  export {};
1481
1555
  //# sourceMappingURL=index.d.ts.map