@types/web 0.0.86 → 0.0.87

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 (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +26 -24
  3. package/package.json +1 -1
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.86 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.86.
50
+ You can read what changed in version 0.0.87 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.87.
package/index.d.ts CHANGED
@@ -2702,6 +2702,15 @@ declare var CSSFontFaceRule: {
2702
2702
  new(): CSSFontFaceRule;
2703
2703
  };
2704
2704
 
2705
+ interface CSSFontFeatureValuesRule extends CSSRule {
2706
+ fontFamily: string;
2707
+ }
2708
+
2709
+ declare var CSSFontFeatureValuesRule: {
2710
+ prototype: CSSFontFeatureValuesRule;
2711
+ new(): CSSFontFeatureValuesRule;
2712
+ };
2713
+
2705
2714
  interface CSSFontPaletteValuesRule extends CSSRule {
2706
2715
  readonly basePalette: string;
2707
2716
  readonly fontFamily: string;
@@ -4441,7 +4450,7 @@ declare var DeviceOrientationEvent: {
4441
4450
  new(type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent;
4442
4451
  };
4443
4452
 
4444
- interface DocumentEventMap extends DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
4453
+ interface DocumentEventMap extends GlobalEventHandlersEventMap {
4445
4454
  "DOMContentLoaded": Event;
4446
4455
  "fullscreenchange": Event;
4447
4456
  "fullscreenerror": Event;
@@ -4452,7 +4461,7 @@ interface DocumentEventMap extends DocumentAndElementEventHandlersEventMap, Glob
4452
4461
  }
4453
4462
 
4454
4463
  /** Any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree. */
4455
- interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase {
4464
+ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase {
4456
4465
  /** Sets or gets the URL for the current document. */
4457
4466
  readonly URL: string;
4458
4467
  /**
@@ -4858,22 +4867,6 @@ declare var Document: {
4858
4867
  new(): Document;
4859
4868
  };
4860
4869
 
4861
- interface DocumentAndElementEventHandlersEventMap {
4862
- "copy": ClipboardEvent;
4863
- "cut": ClipboardEvent;
4864
- "paste": ClipboardEvent;
4865
- }
4866
-
4867
- interface DocumentAndElementEventHandlers {
4868
- oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
4869
- oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
4870
- onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
4871
- addEventListener<K extends keyof DocumentAndElementEventHandlersEventMap>(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4872
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4873
- removeEventListener<K extends keyof DocumentAndElementEventHandlersEventMap>(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4874
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4875
- }
4876
-
4877
4870
  /** A minimal document object that has no parent. It is used as a lightweight version of Document that stores a segment of a document structure comprised of nodes just like a standard document. The key difference is that because the document fragment isn't part of the active document tree structure, changes made to the fragment don't affect the document, cause reflow, or incur any performance impact that can occur when changes are made. */
4878
4871
  interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
4879
4872
  readonly ownerDocument: Document;
@@ -5755,7 +5748,9 @@ interface GlobalEventHandlersEventMap {
5755
5748
  "compositionstart": CompositionEvent;
5756
5749
  "compositionupdate": CompositionEvent;
5757
5750
  "contextmenu": MouseEvent;
5751
+ "copy": Event;
5758
5752
  "cuechange": Event;
5753
+ "cut": Event;
5759
5754
  "dblclick": MouseEvent;
5760
5755
  "drag": DragEvent;
5761
5756
  "dragend": DragEvent;
@@ -5790,6 +5785,7 @@ interface GlobalEventHandlersEventMap {
5790
5785
  "mouseout": MouseEvent;
5791
5786
  "mouseover": MouseEvent;
5792
5787
  "mouseup": MouseEvent;
5788
+ "paste": Event;
5793
5789
  "pause": Event;
5794
5790
  "play": Event;
5795
5791
  "playing": Event;
@@ -5875,7 +5871,9 @@ interface GlobalEventHandlers {
5875
5871
  * @param ev The mouse event.
5876
5872
  */
5877
5873
  oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
5874
+ oncopy: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5878
5875
  oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5876
+ oncut: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5879
5877
  /**
5880
5878
  * Fires when the user double-clicks the object.
5881
5879
  * @param ev The mouse event.
@@ -6005,6 +6003,7 @@ interface GlobalEventHandlers {
6005
6003
  * @param ev The mouse event.
6006
6004
  */
6007
6005
  onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
6006
+ onpaste: ((this: GlobalEventHandlers, ev: Event) => any) | null;
6008
6007
  /**
6009
6008
  * Occurs when playback is paused.
6010
6009
  * @param ev The event.
@@ -6531,11 +6530,11 @@ declare var HTMLDocument: {
6531
6530
  new(): HTMLDocument;
6532
6531
  };
6533
6532
 
6534
- interface HTMLElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
6533
+ interface HTMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap {
6535
6534
  }
6536
6535
 
6537
6536
  /** Any HTML element. Some elements directly implement this interface, while others implement it via an interface that inherits it. */
6538
- interface HTMLElement extends Element, DocumentAndElementEventHandlers, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement {
6537
+ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement {
6539
6538
  accessKey: string;
6540
6539
  readonly accessKeyLabel: string;
6541
6540
  autocapitalize: string;
@@ -9435,10 +9434,10 @@ declare var MIDIPort: {
9435
9434
  new(): MIDIPort;
9436
9435
  };
9437
9436
 
9438
- interface MathMLElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
9437
+ interface MathMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap {
9439
9438
  }
9440
9439
 
9441
- interface MathMLElement extends Element, DocumentAndElementEventHandlers, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
9440
+ interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
9442
9441
  addEventListener<K extends keyof MathMLElementEventMap>(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
9443
9442
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
9444
9443
  removeEventListener<K extends keyof MathMLElementEventMap>(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -12270,11 +12269,11 @@ declare var SVGDescElement: {
12270
12269
  new(): SVGDescElement;
12271
12270
  };
12272
12271
 
12273
- interface SVGElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
12272
+ interface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap {
12274
12273
  }
12275
12274
 
12276
12275
  /** All of the SVG DOM interfaces that correspond directly to elements in the SVG language derive from the SVGElement interface. */
12277
- interface SVGElement extends Element, DocumentAndElementEventHandlers, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
12276
+ interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
12278
12277
  /** @deprecated */
12279
12278
  readonly className: any;
12280
12279
  readonly ownerSVGElement: SVGSVGElement | null;
@@ -18202,7 +18201,9 @@ declare var onclose: ((this: Window, ev: Event) => any) | null;
18202
18201
  * @param ev The mouse event.
18203
18202
  */
18204
18203
  declare var oncontextmenu: ((this: Window, ev: MouseEvent) => any) | null;
18204
+ declare var oncopy: ((this: Window, ev: Event) => any) | null;
18205
18205
  declare var oncuechange: ((this: Window, ev: Event) => any) | null;
18206
+ declare var oncut: ((this: Window, ev: Event) => any) | null;
18206
18207
  /**
18207
18208
  * Fires when the user double-clicks the object.
18208
18209
  * @param ev The mouse event.
@@ -18332,6 +18333,7 @@ declare var onmouseover: ((this: Window, ev: MouseEvent) => any) | null;
18332
18333
  * @param ev The mouse event.
18333
18334
  */
18334
18335
  declare var onmouseup: ((this: Window, ev: MouseEvent) => any) | null;
18336
+ declare var onpaste: ((this: Window, ev: Event) => any) | null;
18335
18337
  /**
18336
18338
  * Occurs when playback is paused.
18337
18339
  * @param ev The event.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.86",
3
+ "version": "0.0.87",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],