@types/web 0.0.82 → 0.0.83

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 +7 -1
  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.82 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.82.
50
+ You can read what changed in version 0.0.83 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.83.
package/index.d.ts CHANGED
@@ -180,6 +180,11 @@ interface ChannelSplitterOptions extends AudioNodeOptions {
180
180
  numberOfOutputs?: number;
181
181
  }
182
182
 
183
+ interface CheckVisibilityOptions {
184
+ checkOpacity?: boolean;
185
+ checkVisibilityCSS?: boolean;
186
+ }
187
+
183
188
  interface ClientQueryOptions {
184
189
  includeUncontrolled?: boolean;
185
190
  type?: ClientTypes;
@@ -5046,6 +5051,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non
5046
5051
  readonly tagName: string;
5047
5052
  /** Creates a shadow root for element and returns it. */
5048
5053
  attachShadow(init: ShadowRootInit): ShadowRoot;
5054
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
5049
5055
  /** Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. */
5050
5056
  closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
5051
5057
  closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
@@ -7113,7 +7119,7 @@ interface HTMLInputElement extends HTMLElement {
7113
7119
  indeterminate: boolean;
7114
7120
  readonly labels: NodeListOf<HTMLLabelElement> | null;
7115
7121
  /** Specifies the ID of a pre-defined datalist of options for an input element. */
7116
- readonly list: HTMLElement | null;
7122
+ readonly list: HTMLDataListElement | null;
7117
7123
  /** Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field. */
7118
7124
  max: string;
7119
7125
  /** Sets or retrieves the maximum number of characters that the user can enter in a text control. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.82",
3
+ "version": "0.0.83",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],