@types/web 0.0.87 → 0.0.89

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 +18 -13
  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.87 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.87.
50
+ You can read what changed in version 0.0.89 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.89.
package/index.d.ts CHANGED
@@ -2007,7 +2007,6 @@ interface ARIAMixin {
2007
2007
  ariaChecked: string | null;
2008
2008
  ariaColCount: string | null;
2009
2009
  ariaColIndex: string | null;
2010
- ariaColIndexText: string | null;
2011
2010
  ariaColSpan: string | null;
2012
2011
  ariaCurrent: string | null;
2013
2012
  ariaDisabled: string | null;
@@ -2031,7 +2030,6 @@ interface ARIAMixin {
2031
2030
  ariaRoleDescription: string | null;
2032
2031
  ariaRowCount: string | null;
2033
2032
  ariaRowIndex: string | null;
2034
- ariaRowIndexText: string | null;
2035
2033
  ariaRowSpan: string | null;
2036
2034
  ariaSelected: string | null;
2037
2035
  ariaSetSize: string | null;
@@ -3002,6 +3000,7 @@ interface CSSStyleDeclaration {
3002
3000
  containerName: string;
3003
3001
  containerType: string;
3004
3002
  content: string;
3003
+ contentVisibility: string;
3005
3004
  counterIncrement: string;
3006
3005
  counterReset: string;
3007
3006
  counterSet: string;
@@ -3121,6 +3120,7 @@ interface CSSStyleDeclaration {
3121
3120
  maskRepeat: string;
3122
3121
  maskSize: string;
3123
3122
  maskType: string;
3123
+ mathStyle: string;
3124
3124
  maxBlockSize: string;
3125
3125
  maxHeight: string;
3126
3126
  maxInlineSize: string;
@@ -3774,6 +3774,7 @@ declare var ClipboardEvent: {
3774
3774
 
3775
3775
  /** Available only in secure contexts. */
3776
3776
  interface ClipboardItem {
3777
+ readonly presentationStyle: PresentationStyle;
3777
3778
  readonly types: ReadonlyArray<string>;
3778
3779
  getType(type: string): Promise<Blob>;
3779
3780
  }
@@ -5390,7 +5391,7 @@ interface FileReader extends EventTarget {
5390
5391
  onloadend: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;
5391
5392
  onloadstart: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;
5392
5393
  onprogress: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;
5393
- readonly readyState: number;
5394
+ readonly readyState: typeof FileReader.EMPTY | typeof FileReader.LOADING | typeof FileReader.DONE;
5394
5395
  readonly result: string | ArrayBuffer | null;
5395
5396
  abort(): void;
5396
5397
  readAsArrayBuffer(blob: Blob): void;
@@ -5748,9 +5749,9 @@ interface GlobalEventHandlersEventMap {
5748
5749
  "compositionstart": CompositionEvent;
5749
5750
  "compositionupdate": CompositionEvent;
5750
5751
  "contextmenu": MouseEvent;
5751
- "copy": Event;
5752
+ "copy": ClipboardEvent;
5752
5753
  "cuechange": Event;
5753
- "cut": Event;
5754
+ "cut": ClipboardEvent;
5754
5755
  "dblclick": MouseEvent;
5755
5756
  "drag": DragEvent;
5756
5757
  "dragend": DragEvent;
@@ -5785,7 +5786,7 @@ interface GlobalEventHandlersEventMap {
5785
5786
  "mouseout": MouseEvent;
5786
5787
  "mouseover": MouseEvent;
5787
5788
  "mouseup": MouseEvent;
5788
- "paste": Event;
5789
+ "paste": ClipboardEvent;
5789
5790
  "pause": Event;
5790
5791
  "play": Event;
5791
5792
  "playing": Event;
@@ -5871,9 +5872,9 @@ interface GlobalEventHandlers {
5871
5872
  * @param ev The mouse event.
5872
5873
  */
5873
5874
  oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
5874
- oncopy: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5875
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
5875
5876
  oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5876
- oncut: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5877
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
5877
5878
  /**
5878
5879
  * Fires when the user double-clicks the object.
5879
5880
  * @param ev The mouse event.
@@ -6003,7 +6004,7 @@ interface GlobalEventHandlers {
6003
6004
  * @param ev The mouse event.
6004
6005
  */
6005
6006
  onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
6006
- onpaste: ((this: GlobalEventHandlers, ev: Event) => any) | null;
6007
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
6007
6008
  /**
6008
6009
  * Occurs when playback is paused.
6009
6010
  * @param ev The event.
@@ -10561,6 +10562,10 @@ interface OffscreenCanvas extends EventTarget {
10561
10562
  *
10562
10563
  * Returns null if the canvas has already been initialized with another context type (e.g., trying to get a "2d" context after getting a "webgl" context).
10563
10564
  */
10565
+ getContext(contextId: "2d", options?: any): OffscreenCanvasRenderingContext2D | null;
10566
+ getContext(contextId: "bitmaprenderer", options?: any): ImageBitmapRenderingContext | null;
10567
+ getContext(contextId: "webgl", options?: any): WebGLRenderingContext | null;
10568
+ getContext(contextId: "webgl2", options?: any): WebGL2RenderingContext | null;
10564
10569
  getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;
10565
10570
  /** Returns a newly created ImageBitmap object with the image in the OffscreenCanvas object. The image in the OffscreenCanvas object is replaced with a new blank image. */
10566
10571
  transferToImageBitmap(): ImageBitmap;
@@ -18201,9 +18206,9 @@ declare var onclose: ((this: Window, ev: Event) => any) | null;
18201
18206
  * @param ev The mouse event.
18202
18207
  */
18203
18208
  declare var oncontextmenu: ((this: Window, ev: MouseEvent) => any) | null;
18204
- declare var oncopy: ((this: Window, ev: Event) => any) | null;
18209
+ declare var oncopy: ((this: Window, ev: ClipboardEvent) => any) | null;
18205
18210
  declare var oncuechange: ((this: Window, ev: Event) => any) | null;
18206
- declare var oncut: ((this: Window, ev: Event) => any) | null;
18211
+ declare var oncut: ((this: Window, ev: ClipboardEvent) => any) | null;
18207
18212
  /**
18208
18213
  * Fires when the user double-clicks the object.
18209
18214
  * @param ev The mouse event.
@@ -18333,7 +18338,7 @@ declare var onmouseover: ((this: Window, ev: MouseEvent) => any) | null;
18333
18338
  * @param ev The mouse event.
18334
18339
  */
18335
18340
  declare var onmouseup: ((this: Window, ev: MouseEvent) => any) | null;
18336
- declare var onpaste: ((this: Window, ev: Event) => any) | null;
18341
+ declare var onpaste: ((this: Window, ev: ClipboardEvent) => any) | null;
18337
18342
  /**
18338
18343
  * Occurs when playback is paused.
18339
18344
  * @param ev The event.
@@ -18599,7 +18604,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
18599
18604
  type IDBRequestReadyState = "done" | "pending";
18600
18605
  type IDBTransactionDurability = "default" | "relaxed" | "strict";
18601
18606
  type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
18602
- type ImageOrientation = "flipY" | "none";
18607
+ type ImageOrientation = "flipY" | "from-image";
18603
18608
  type ImageSmoothingQuality = "high" | "low" | "medium";
18604
18609
  type InsertPosition = "afterbegin" | "afterend" | "beforebegin" | "beforeend";
18605
18610
  type IterationCompositeOperation = "accumulate" | "replace";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.87",
3
+ "version": "0.0.89",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],