@types/web 0.0.232 → 0.0.233

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 CHANGED
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
47
47
 
48
48
  ## Deploy Metadata
49
49
 
50
- You can read what changed in version 0.0.232 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.232.
50
+ You can read what changed in version 0.0.233 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.233.
package/index.d.ts CHANGED
@@ -716,6 +716,10 @@ interface GetAnimationsOptions {
716
716
  subtree?: boolean;
717
717
  }
718
718
 
719
+ interface GetComposedRangesOptions {
720
+ shadowRoots?: ShadowRoot[];
721
+ }
722
+
719
723
  interface GetHTMLOptions {
720
724
  serializableShadowRoots?: boolean;
721
725
  shadowRoots?: ShadowRoot[];
@@ -2520,6 +2524,7 @@ interface ANGLE_instanced_arrays {
2520
2524
  }
2521
2525
 
2522
2526
  interface ARIAMixin {
2527
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaActiveDescendantElement) */
2523
2528
  ariaActiveDescendantElement: Element | null;
2524
2529
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic) */
2525
2530
  ariaAtomic: string | null;
@@ -2541,18 +2546,23 @@ interface ARIAMixin {
2541
2546
  ariaColIndexText: string | null;
2542
2547
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan) */
2543
2548
  ariaColSpan: string | null;
2549
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaControlsElements) */
2544
2550
  ariaControlsElements: ReadonlyArray<Element> | null;
2545
2551
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent) */
2546
2552
  ariaCurrent: string | null;
2553
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements) */
2547
2554
  ariaDescribedByElements: ReadonlyArray<Element> | null;
2548
2555
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription) */
2549
2556
  ariaDescription: string | null;
2557
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDetailsElements) */
2550
2558
  ariaDetailsElements: ReadonlyArray<Element> | null;
2551
2559
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled) */
2552
2560
  ariaDisabled: string | null;
2561
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaErrorMessageElements) */
2553
2562
  ariaErrorMessageElements: ReadonlyArray<Element> | null;
2554
2563
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded) */
2555
2564
  ariaExpanded: string | null;
2565
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaFlowToElements) */
2556
2566
  ariaFlowToElements: ReadonlyArray<Element> | null;
2557
2567
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup) */
2558
2568
  ariaHasPopup: string | null;
@@ -2564,6 +2574,7 @@ interface ARIAMixin {
2564
2574
  ariaKeyShortcuts: string | null;
2565
2575
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel) */
2566
2576
  ariaLabel: string | null;
2577
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements) */
2567
2578
  ariaLabelledByElements: ReadonlyArray<Element> | null;
2568
2579
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel) */
2569
2580
  ariaLevel: string | null;
@@ -2577,6 +2588,7 @@ interface ARIAMixin {
2577
2588
  ariaMultiSelectable: string | null;
2578
2589
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation) */
2579
2590
  ariaOrientation: string | null;
2591
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOwnsElements) */
2580
2592
  ariaOwnsElements: ReadonlyArray<Element> | null;
2581
2593
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder) */
2582
2594
  ariaPlaceholder: string | null;
@@ -10096,6 +10108,7 @@ interface GlobalEventHandlersEventMap {
10096
10108
  "animationstart": AnimationEvent;
10097
10109
  "auxclick": PointerEvent;
10098
10110
  "beforeinput": InputEvent;
10111
+ "beforematch": Event;
10099
10112
  "beforetoggle": ToggleEvent;
10100
10113
  "blur": FocusEvent;
10101
10114
  "cancel": Event;
@@ -10214,6 +10227,8 @@ interface GlobalEventHandlers {
10214
10227
  onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
10215
10228
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
10216
10229
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
10230
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */
10231
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
10217
10232
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
10218
10233
  onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
10219
10234
  /**
@@ -23491,6 +23506,8 @@ interface Selection {
23491
23506
  empty(): void;
23492
23507
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/extend) */
23493
23508
  extend(node: Node, offset?: number): void;
23509
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getComposedRanges) */
23510
+ getComposedRanges(options?: GetComposedRangesOptions): StaticRange[];
23494
23511
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getRangeAt) */
23495
23512
  getRangeAt(index: number): Range;
23496
23513
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/modify) */
@@ -30167,6 +30184,8 @@ declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null
30167
30184
  declare var onauxclick: ((this: Window, ev: PointerEvent) => any) | null;
30168
30185
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
30169
30186
  declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null;
30187
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */
30188
+ declare var onbeforematch: ((this: Window, ev: Event) => any) | null;
30170
30189
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
30171
30190
  declare var onbeforetoggle: ((this: Window, ev: ToggleEvent) => any) | null;
30172
30191
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.232",
3
+ "version": "0.0.233",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -716,6 +716,10 @@ interface GetAnimationsOptions {
716
716
  subtree?: boolean;
717
717
  }
718
718
 
719
+ interface GetComposedRangesOptions {
720
+ shadowRoots?: ShadowRoot[];
721
+ }
722
+
719
723
  interface GetHTMLOptions {
720
724
  serializableShadowRoots?: boolean;
721
725
  shadowRoots?: ShadowRoot[];
@@ -2520,6 +2524,7 @@ interface ANGLE_instanced_arrays {
2520
2524
  }
2521
2525
 
2522
2526
  interface ARIAMixin {
2527
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaActiveDescendantElement) */
2523
2528
  ariaActiveDescendantElement: Element | null;
2524
2529
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic) */
2525
2530
  ariaAtomic: string | null;
@@ -2541,18 +2546,23 @@ interface ARIAMixin {
2541
2546
  ariaColIndexText: string | null;
2542
2547
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan) */
2543
2548
  ariaColSpan: string | null;
2549
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaControlsElements) */
2544
2550
  ariaControlsElements: ReadonlyArray<Element> | null;
2545
2551
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent) */
2546
2552
  ariaCurrent: string | null;
2553
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements) */
2547
2554
  ariaDescribedByElements: ReadonlyArray<Element> | null;
2548
2555
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription) */
2549
2556
  ariaDescription: string | null;
2557
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDetailsElements) */
2550
2558
  ariaDetailsElements: ReadonlyArray<Element> | null;
2551
2559
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled) */
2552
2560
  ariaDisabled: string | null;
2561
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaErrorMessageElements) */
2553
2562
  ariaErrorMessageElements: ReadonlyArray<Element> | null;
2554
2563
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded) */
2555
2564
  ariaExpanded: string | null;
2565
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaFlowToElements) */
2556
2566
  ariaFlowToElements: ReadonlyArray<Element> | null;
2557
2567
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup) */
2558
2568
  ariaHasPopup: string | null;
@@ -2564,6 +2574,7 @@ interface ARIAMixin {
2564
2574
  ariaKeyShortcuts: string | null;
2565
2575
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel) */
2566
2576
  ariaLabel: string | null;
2577
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements) */
2567
2578
  ariaLabelledByElements: ReadonlyArray<Element> | null;
2568
2579
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel) */
2569
2580
  ariaLevel: string | null;
@@ -2577,6 +2588,7 @@ interface ARIAMixin {
2577
2588
  ariaMultiSelectable: string | null;
2578
2589
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation) */
2579
2590
  ariaOrientation: string | null;
2591
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOwnsElements) */
2580
2592
  ariaOwnsElements: ReadonlyArray<Element> | null;
2581
2593
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder) */
2582
2594
  ariaPlaceholder: string | null;
@@ -10086,6 +10098,7 @@ interface GlobalEventHandlersEventMap {
10086
10098
  "animationstart": AnimationEvent;
10087
10099
  "auxclick": PointerEvent;
10088
10100
  "beforeinput": InputEvent;
10101
+ "beforematch": Event;
10089
10102
  "beforetoggle": ToggleEvent;
10090
10103
  "blur": FocusEvent;
10091
10104
  "cancel": Event;
@@ -10204,6 +10217,8 @@ interface GlobalEventHandlers {
10204
10217
  onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
10205
10218
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
10206
10219
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
10220
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */
10221
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
10207
10222
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
10208
10223
  onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
10209
10224
  /**
@@ -23470,6 +23485,8 @@ interface Selection {
23470
23485
  empty(): void;
23471
23486
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/extend) */
23472
23487
  extend(node: Node, offset?: number): void;
23488
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getComposedRanges) */
23489
+ getComposedRanges(options?: GetComposedRangesOptions): StaticRange[];
23473
23490
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getRangeAt) */
23474
23491
  getRangeAt(index: number): Range;
23475
23492
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/modify) */
@@ -30145,6 +30162,8 @@ declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null
30145
30162
  declare var onauxclick: ((this: Window, ev: PointerEvent) => any) | null;
30146
30163
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
30147
30164
  declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null;
30165
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */
30166
+ declare var onbeforematch: ((this: Window, ev: Event) => any) | null;
30148
30167
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
30149
30168
  declare var onbeforetoggle: ((this: Window, ev: ToggleEvent) => any) | null;
30150
30169
  /**
package/ts5.6/index.d.ts CHANGED
@@ -716,6 +716,10 @@ interface GetAnimationsOptions {
716
716
  subtree?: boolean;
717
717
  }
718
718
 
719
+ interface GetComposedRangesOptions {
720
+ shadowRoots?: ShadowRoot[];
721
+ }
722
+
719
723
  interface GetHTMLOptions {
720
724
  serializableShadowRoots?: boolean;
721
725
  shadowRoots?: ShadowRoot[];
@@ -2520,6 +2524,7 @@ interface ANGLE_instanced_arrays {
2520
2524
  }
2521
2525
 
2522
2526
  interface ARIAMixin {
2527
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaActiveDescendantElement) */
2523
2528
  ariaActiveDescendantElement: Element | null;
2524
2529
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic) */
2525
2530
  ariaAtomic: string | null;
@@ -2541,18 +2546,23 @@ interface ARIAMixin {
2541
2546
  ariaColIndexText: string | null;
2542
2547
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan) */
2543
2548
  ariaColSpan: string | null;
2549
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaControlsElements) */
2544
2550
  ariaControlsElements: ReadonlyArray<Element> | null;
2545
2551
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent) */
2546
2552
  ariaCurrent: string | null;
2553
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements) */
2547
2554
  ariaDescribedByElements: ReadonlyArray<Element> | null;
2548
2555
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription) */
2549
2556
  ariaDescription: string | null;
2557
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDetailsElements) */
2550
2558
  ariaDetailsElements: ReadonlyArray<Element> | null;
2551
2559
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled) */
2552
2560
  ariaDisabled: string | null;
2561
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaErrorMessageElements) */
2553
2562
  ariaErrorMessageElements: ReadonlyArray<Element> | null;
2554
2563
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded) */
2555
2564
  ariaExpanded: string | null;
2565
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaFlowToElements) */
2556
2566
  ariaFlowToElements: ReadonlyArray<Element> | null;
2557
2567
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup) */
2558
2568
  ariaHasPopup: string | null;
@@ -2564,6 +2574,7 @@ interface ARIAMixin {
2564
2574
  ariaKeyShortcuts: string | null;
2565
2575
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel) */
2566
2576
  ariaLabel: string | null;
2577
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements) */
2567
2578
  ariaLabelledByElements: ReadonlyArray<Element> | null;
2568
2579
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel) */
2569
2580
  ariaLevel: string | null;
@@ -2577,6 +2588,7 @@ interface ARIAMixin {
2577
2588
  ariaMultiSelectable: string | null;
2578
2589
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation) */
2579
2590
  ariaOrientation: string | null;
2591
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOwnsElements) */
2580
2592
  ariaOwnsElements: ReadonlyArray<Element> | null;
2581
2593
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder) */
2582
2594
  ariaPlaceholder: string | null;
@@ -10096,6 +10108,7 @@ interface GlobalEventHandlersEventMap {
10096
10108
  "animationstart": AnimationEvent;
10097
10109
  "auxclick": PointerEvent;
10098
10110
  "beforeinput": InputEvent;
10111
+ "beforematch": Event;
10099
10112
  "beforetoggle": ToggleEvent;
10100
10113
  "blur": FocusEvent;
10101
10114
  "cancel": Event;
@@ -10214,6 +10227,8 @@ interface GlobalEventHandlers {
10214
10227
  onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
10215
10228
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
10216
10229
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
10230
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */
10231
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
10217
10232
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
10218
10233
  onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
10219
10234
  /**
@@ -23491,6 +23506,8 @@ interface Selection {
23491
23506
  empty(): void;
23492
23507
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/extend) */
23493
23508
  extend(node: Node, offset?: number): void;
23509
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getComposedRanges) */
23510
+ getComposedRanges(options?: GetComposedRangesOptions): StaticRange[];
23494
23511
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getRangeAt) */
23495
23512
  getRangeAt(index: number): Range;
23496
23513
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/modify) */
@@ -30167,6 +30184,8 @@ declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null
30167
30184
  declare var onauxclick: ((this: Window, ev: PointerEvent) => any) | null;
30168
30185
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
30169
30186
  declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null;
30187
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */
30188
+ declare var onbeforematch: ((this: Window, ev: Event) => any) | null;
30170
30189
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
30171
30190
  declare var onbeforetoggle: ((this: Window, ev: ToggleEvent) => any) | null;
30172
30191
  /**