@types/web 0.0.123 → 0.0.125

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.123 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.123.
50
+ You can read what changed in version 0.0.125 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.125.
package/index.d.ts CHANGED
@@ -4180,10 +4180,11 @@ interface CSSStyleDeclaration {
4180
4180
  gridColumn: string;
4181
4181
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-column-end) */
4182
4182
  gridColumnEnd: string;
4183
+ /** @deprecated This is a legacy alias of `columnGap`. */
4183
4184
  gridColumnGap: string;
4184
4185
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-column-start) */
4185
4186
  gridColumnStart: string;
4186
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/gap) */
4187
+ /** @deprecated This is a legacy alias of `gap`. */
4187
4188
  gridGap: string;
4188
4189
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-row) */
4189
4190
  gridRow: string;
@@ -4512,7 +4513,6 @@ interface CSSStyleDeclaration {
4512
4513
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/shape-outside) */
4513
4514
  shapeOutside: string;
4514
4515
  shapeRendering: string;
4515
- speak: string;
4516
4516
  stopColor: string;
4517
4517
  stopOpacity: string;
4518
4518
  stroke: string;
@@ -9962,6 +9962,7 @@ declare var HTMLDataListElement: {
9962
9962
 
9963
9963
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement) */
9964
9964
  interface HTMLDetailsElement extends HTMLElement {
9965
+ name: string;
9965
9966
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
9966
9967
  open: boolean;
9967
9968
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -10851,6 +10852,8 @@ interface HTMLImageElement extends HTMLElement {
10851
10852
  readonly currentSrc: string;
10852
10853
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decoding) */
10853
10854
  decoding: "async" | "sync" | "auto";
10855
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/fetchPriority) */
10856
+ fetchPriority: string;
10854
10857
  /**
10855
10858
  * Sets or retrieves the height of the object.
10856
10859
  *
@@ -11279,6 +11282,8 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
11279
11282
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/crossOrigin) */
11280
11283
  crossOrigin: string | null;
11281
11284
  disabled: boolean;
11285
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */
11286
+ fetchPriority: string;
11282
11287
  /** Sets or retrieves a destination URL or an anchor point. */
11283
11288
  href: string;
11284
11289
  /** Sets or retrieves the language code of the object. */
@@ -12330,6 +12335,7 @@ interface HTMLScriptElement extends HTMLElement {
12330
12335
  * @deprecated
12331
12336
  */
12332
12337
  event: string;
12338
+ fetchPriority: string;
12333
12339
  /**
12334
12340
  * Sets or retrieves the object that is bound to the event script.
12335
12341
  * @deprecated
@@ -13490,6 +13496,26 @@ declare var Headers: {
13490
13496
  new(init?: HeadersInit): Headers;
13491
13497
  };
13492
13498
 
13499
+ interface Highlight {
13500
+ priority: number;
13501
+ type: HighlightType;
13502
+ forEach(callbackfn: (value: AbstractRange, key: AbstractRange, parent: Highlight) => void, thisArg?: any): void;
13503
+ }
13504
+
13505
+ declare var Highlight: {
13506
+ prototype: Highlight;
13507
+ new(...initialRanges: AbstractRange[]): Highlight;
13508
+ };
13509
+
13510
+ interface HighlightRegistry {
13511
+ forEach(callbackfn: (value: Highlight, key: string, parent: HighlightRegistry) => void, thisArg?: any): void;
13512
+ }
13513
+
13514
+ declare var HighlightRegistry: {
13515
+ prototype: HighlightRegistry;
13516
+ new(): HighlightRegistry;
13517
+ };
13518
+
13493
13519
  /**
13494
13520
  * Allows manipulation of the browser session history, that is the pages visited in the tab or frame that the current page is loaded in.
13495
13521
  *
@@ -26566,10 +26592,13 @@ declare var console: Console;
26566
26592
 
26567
26593
  /** Holds useful CSS-related methods. No object with this interface are implemented: it contains only static methods and therefore is a utilitarian interface. */
26568
26594
  declare namespace CSS {
26595
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/highlights_static) */
26596
+ var highlights: HighlightRegistry;
26569
26597
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
26570
26598
  function Hz(value: number): CSSUnitValue;
26571
26599
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
26572
26600
  function Q(value: number): CSSUnitValue;
26601
+ function cap(value: number): CSSUnitValue;
26573
26602
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
26574
26603
  function ch(value: number): CSSUnitValue;
26575
26604
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
@@ -26648,10 +26677,14 @@ declare namespace CSS {
26648
26677
  function px(value: number): CSSUnitValue;
26649
26678
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
26650
26679
  function rad(value: number): CSSUnitValue;
26680
+ function rcap(value: number): CSSUnitValue;
26681
+ function rch(value: number): CSSUnitValue;
26651
26682
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/registerProperty_static) */
26652
26683
  function registerProperty(definition: PropertyDefinition): void;
26653
26684
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
26654
26685
  function rem(value: number): CSSUnitValue;
26686
+ function rex(value: number): CSSUnitValue;
26687
+ function ric(value: number): CSSUnitValue;
26655
26688
  function rlh(value: number): CSSUnitValue;
26656
26689
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
26657
26690
  function s(value: number): CSSUnitValue;
@@ -28192,6 +28225,7 @@ type GamepadMappingType = "" | "standard" | "xr-standard";
28192
28225
  type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
28193
28226
  type HardwareAcceleration = "no-preference" | "prefer-hardware" | "prefer-software";
28194
28227
  type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
28228
+ type HighlightType = "grammar-error" | "highlight" | "spelling-error";
28195
28229
  type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
28196
28230
  type IDBRequestReadyState = "done" | "pending";
28197
28231
  type IDBTransactionDurability = "default" | "relaxed" | "strict";
package/iterable.d.ts CHANGED
@@ -134,6 +134,12 @@ interface Headers {
134
134
  values(): IterableIterator<string>;
135
135
  }
136
136
 
137
+ interface Highlight extends Set<AbstractRange> {
138
+ }
139
+
140
+ interface HighlightRegistry extends Map<string, Highlight> {
141
+ }
142
+
137
143
  interface IDBDatabase {
138
144
  /**
139
145
  * Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.123",
3
+ "version": "0.0.125",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],