@types/web 0.0.300 → 0.0.302

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.300 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.300.
50
+ You can read what changed in version 0.0.302 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.302.
package/index.d.ts CHANGED
@@ -6353,7 +6353,11 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
6353
6353
  */
6354
6354
  backgroundSize: string;
6355
6355
  baselineShift: string;
6356
- /** The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type. */
6356
+ /**
6357
+ * The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type.
6358
+ *
6359
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/baseline-source)
6360
+ */
6357
6361
  baselineSource: string;
6358
6362
  /**
6359
6363
  * The block-size CSS property defines the size of an element's block along the block axis. If the writing-mode is horizontal, it corresponds to the height; if the writing mode is vertical, it corresponds to the width. A related property is inline-size, which defines the other dimension of the element.
@@ -8763,7 +8767,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
8763
8767
  */
8764
8768
  viewTimeline: string;
8765
8769
  /**
8766
- * The view-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a named view progress timeline animation, which is progressed through based on the change in visibility of an element (known as the subject) inside a scrollable element (scroller). view-timeline-axis is set on the subject. See CSS scroll-driven animations for more details.
8770
+ * The view-timeline-axis CSS property specifies the scroll direction to be used for a named view progress timeline.
8767
8771
  *
8768
8772
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/view-timeline-axis)
8769
8773
  */
@@ -8775,7 +8779,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
8775
8779
  */
8776
8780
  viewTimelineInset: string;
8777
8781
  /**
8778
- * The view-timeline-name CSS property is used to define the name of a named view progress timeline, which is progressed through based on the change in visibility of an element (known as the subject) inside a scrollable element (scroller). view-timeline is set on the subject.
8782
+ * The view-timeline-name CSS property specifies the names of one or more named view progress timelines associated with the element.
8779
8783
  *
8780
8784
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/view-timeline-name)
8781
8785
  */
@@ -9626,8 +9630,23 @@ declare var CSSVariableReferenceValue: {
9626
9630
  new(variable: string, fallback?: CSSUnparsedValue | null): CSSVariableReferenceValue;
9627
9631
  };
9628
9632
 
9633
+ /**
9634
+ * The **`CSSViewTransitionRule`** interface represents a CSS @view-transition at-rule.
9635
+ *
9636
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSViewTransitionRule)
9637
+ */
9629
9638
  interface CSSViewTransitionRule extends CSSRule {
9639
+ /**
9640
+ * The **`navigation`** read-only property of the CSSViewTransitionRule interface returns the associated @view-transition at-rule's navigation descriptor value.
9641
+ *
9642
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSViewTransitionRule/navigation)
9643
+ */
9630
9644
  readonly navigation: string;
9645
+ /**
9646
+ * The **`types`** read-only property of the CSSViewTransitionRule interface returns an array containing the associated @view-transition at-rule's types descriptor values.
9647
+ *
9648
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSViewTransitionRule/types)
9649
+ */
9631
9650
  readonly types: ReadonlyArray<string>;
9632
9651
  }
9633
9652
 
@@ -36352,6 +36371,11 @@ interface ViewTransition {
36352
36371
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/ready)
36353
36372
  */
36354
36373
  readonly ready: Promise<void>;
36374
+ /**
36375
+ * The **`types`** read-only property of the ViewTransition interface is a ViewTransitionTypeSet that allows the types set on the view transition to be accessed and modified.
36376
+ *
36377
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/types)
36378
+ */
36355
36379
  types: ViewTransitionTypeSet;
36356
36380
  /**
36357
36381
  * The **`updateCallbackDone`** read-only property of the ViewTransition interface is a Promise that fulfills when the promise returned by the document.startViewTransition() method's callback fulfills, or rejects when it rejects.
@@ -36372,6 +36396,11 @@ declare var ViewTransition: {
36372
36396
  new(): ViewTransition;
36373
36397
  };
36374
36398
 
36399
+ /**
36400
+ * The **`ViewTransitionTypeSet`** interface of the View Transition API is a set-like object representing the types of an active view transition. This enables the types to be queried or modified on-the-fly during a transition.
36401
+ *
36402
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransitionTypeSet)
36403
+ */
36375
36404
  interface ViewTransitionTypeSet {
36376
36405
  forEach(callbackfn: (value: string, key: string, parent: ViewTransitionTypeSet) => void, thisArg?: any): void;
36377
36406
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.300",
3
+ "version": "0.0.302",
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
@@ -6343,7 +6343,11 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
6343
6343
  */
6344
6344
  backgroundSize: string;
6345
6345
  baselineShift: string;
6346
- /** The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type. */
6346
+ /**
6347
+ * The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type.
6348
+ *
6349
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/baseline-source)
6350
+ */
6347
6351
  baselineSource: string;
6348
6352
  /**
6349
6353
  * The block-size CSS property defines the size of an element's block along the block axis. If the writing-mode is horizontal, it corresponds to the height; if the writing mode is vertical, it corresponds to the width. A related property is inline-size, which defines the other dimension of the element.
@@ -8753,7 +8757,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
8753
8757
  */
8754
8758
  viewTimeline: string;
8755
8759
  /**
8756
- * The view-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a named view progress timeline animation, which is progressed through based on the change in visibility of an element (known as the subject) inside a scrollable element (scroller). view-timeline-axis is set on the subject. See CSS scroll-driven animations for more details.
8760
+ * The view-timeline-axis CSS property specifies the scroll direction to be used for a named view progress timeline.
8757
8761
  *
8758
8762
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/view-timeline-axis)
8759
8763
  */
@@ -8765,7 +8769,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
8765
8769
  */
8766
8770
  viewTimelineInset: string;
8767
8771
  /**
8768
- * The view-timeline-name CSS property is used to define the name of a named view progress timeline, which is progressed through based on the change in visibility of an element (known as the subject) inside a scrollable element (scroller). view-timeline is set on the subject.
8772
+ * The view-timeline-name CSS property specifies the names of one or more named view progress timelines associated with the element.
8769
8773
  *
8770
8774
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/view-timeline-name)
8771
8775
  */
@@ -9615,8 +9619,23 @@ declare var CSSVariableReferenceValue: {
9615
9619
  new(variable: string, fallback?: CSSUnparsedValue | null): CSSVariableReferenceValue;
9616
9620
  };
9617
9621
 
9622
+ /**
9623
+ * The **`CSSViewTransitionRule`** interface represents a CSS @view-transition at-rule.
9624
+ *
9625
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSViewTransitionRule)
9626
+ */
9618
9627
  interface CSSViewTransitionRule extends CSSRule {
9628
+ /**
9629
+ * The **`navigation`** read-only property of the CSSViewTransitionRule interface returns the associated @view-transition at-rule's navigation descriptor value.
9630
+ *
9631
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSViewTransitionRule/navigation)
9632
+ */
9619
9633
  readonly navigation: string;
9634
+ /**
9635
+ * The **`types`** read-only property of the CSSViewTransitionRule interface returns an array containing the associated @view-transition at-rule's types descriptor values.
9636
+ *
9637
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSViewTransitionRule/types)
9638
+ */
9620
9639
  readonly types: ReadonlyArray<string>;
9621
9640
  }
9622
9641
 
@@ -36326,6 +36345,11 @@ interface ViewTransition {
36326
36345
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/ready)
36327
36346
  */
36328
36347
  readonly ready: Promise<void>;
36348
+ /**
36349
+ * The **`types`** read-only property of the ViewTransition interface is a ViewTransitionTypeSet that allows the types set on the view transition to be accessed and modified.
36350
+ *
36351
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/types)
36352
+ */
36329
36353
  types: ViewTransitionTypeSet;
36330
36354
  /**
36331
36355
  * The **`updateCallbackDone`** read-only property of the ViewTransition interface is a Promise that fulfills when the promise returned by the document.startViewTransition() method's callback fulfills, or rejects when it rejects.
@@ -36346,6 +36370,11 @@ declare var ViewTransition: {
36346
36370
  new(): ViewTransition;
36347
36371
  };
36348
36372
 
36373
+ /**
36374
+ * The **`ViewTransitionTypeSet`** interface of the View Transition API is a set-like object representing the types of an active view transition. This enables the types to be queried or modified on-the-fly during a transition.
36375
+ *
36376
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransitionTypeSet)
36377
+ */
36349
36378
  interface ViewTransitionTypeSet {
36350
36379
  forEach(callbackfn: (value: string, key: string, parent: ViewTransitionTypeSet) => void, thisArg?: any): void;
36351
36380
  }
package/ts5.6/index.d.ts CHANGED
@@ -6350,7 +6350,11 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
6350
6350
  */
6351
6351
  backgroundSize: string;
6352
6352
  baselineShift: string;
6353
- /** The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type. */
6353
+ /**
6354
+ * The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type.
6355
+ *
6356
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/baseline-source)
6357
+ */
6354
6358
  baselineSource: string;
6355
6359
  /**
6356
6360
  * The block-size CSS property defines the size of an element's block along the block axis. If the writing-mode is horizontal, it corresponds to the height; if the writing mode is vertical, it corresponds to the width. A related property is inline-size, which defines the other dimension of the element.
@@ -8760,7 +8764,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
8760
8764
  */
8761
8765
  viewTimeline: string;
8762
8766
  /**
8763
- * The view-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a named view progress timeline animation, which is progressed through based on the change in visibility of an element (known as the subject) inside a scrollable element (scroller). view-timeline-axis is set on the subject. See CSS scroll-driven animations for more details.
8767
+ * The view-timeline-axis CSS property specifies the scroll direction to be used for a named view progress timeline.
8764
8768
  *
8765
8769
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/view-timeline-axis)
8766
8770
  */
@@ -8772,7 +8776,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
8772
8776
  */
8773
8777
  viewTimelineInset: string;
8774
8778
  /**
8775
- * The view-timeline-name CSS property is used to define the name of a named view progress timeline, which is progressed through based on the change in visibility of an element (known as the subject) inside a scrollable element (scroller). view-timeline is set on the subject.
8779
+ * The view-timeline-name CSS property specifies the names of one or more named view progress timelines associated with the element.
8776
8780
  *
8777
8781
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/view-timeline-name)
8778
8782
  */
@@ -9623,8 +9627,23 @@ declare var CSSVariableReferenceValue: {
9623
9627
  new(variable: string, fallback?: CSSUnparsedValue | null): CSSVariableReferenceValue;
9624
9628
  };
9625
9629
 
9630
+ /**
9631
+ * The **`CSSViewTransitionRule`** interface represents a CSS @view-transition at-rule.
9632
+ *
9633
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSViewTransitionRule)
9634
+ */
9626
9635
  interface CSSViewTransitionRule extends CSSRule {
9636
+ /**
9637
+ * The **`navigation`** read-only property of the CSSViewTransitionRule interface returns the associated @view-transition at-rule's navigation descriptor value.
9638
+ *
9639
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSViewTransitionRule/navigation)
9640
+ */
9627
9641
  readonly navigation: string;
9642
+ /**
9643
+ * The **`types`** read-only property of the CSSViewTransitionRule interface returns an array containing the associated @view-transition at-rule's types descriptor values.
9644
+ *
9645
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSViewTransitionRule/types)
9646
+ */
9628
9647
  readonly types: ReadonlyArray<string>;
9629
9648
  }
9630
9649
 
@@ -36349,6 +36368,11 @@ interface ViewTransition {
36349
36368
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/ready)
36350
36369
  */
36351
36370
  readonly ready: Promise<void>;
36371
+ /**
36372
+ * The **`types`** read-only property of the ViewTransition interface is a ViewTransitionTypeSet that allows the types set on the view transition to be accessed and modified.
36373
+ *
36374
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/types)
36375
+ */
36352
36376
  types: ViewTransitionTypeSet;
36353
36377
  /**
36354
36378
  * The **`updateCallbackDone`** read-only property of the ViewTransition interface is a Promise that fulfills when the promise returned by the document.startViewTransition() method's callback fulfills, or rejects when it rejects.
@@ -36369,6 +36393,11 @@ declare var ViewTransition: {
36369
36393
  new(): ViewTransition;
36370
36394
  };
36371
36395
 
36396
+ /**
36397
+ * The **`ViewTransitionTypeSet`** interface of the View Transition API is a set-like object representing the types of an active view transition. This enables the types to be queried or modified on-the-fly during a transition.
36398
+ *
36399
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransitionTypeSet)
36400
+ */
36372
36401
  interface ViewTransitionTypeSet {
36373
36402
  forEach(callbackfn: (value: string, key: string, parent: ViewTransitionTypeSet) => void, thisArg?: any): void;
36374
36403
  }
package/ts5.9/index.d.ts CHANGED
@@ -6350,7 +6350,11 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
6350
6350
  */
6351
6351
  backgroundSize: string;
6352
6352
  baselineShift: string;
6353
- /** The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type. */
6353
+ /**
6354
+ * The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type.
6355
+ *
6356
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/baseline-source)
6357
+ */
6354
6358
  baselineSource: string;
6355
6359
  /**
6356
6360
  * The block-size CSS property defines the size of an element's block along the block axis. If the writing-mode is horizontal, it corresponds to the height; if the writing mode is vertical, it corresponds to the width. A related property is inline-size, which defines the other dimension of the element.
@@ -8760,7 +8764,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
8760
8764
  */
8761
8765
  viewTimeline: string;
8762
8766
  /**
8763
- * The view-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a named view progress timeline animation, which is progressed through based on the change in visibility of an element (known as the subject) inside a scrollable element (scroller). view-timeline-axis is set on the subject. See CSS scroll-driven animations for more details.
8767
+ * The view-timeline-axis CSS property specifies the scroll direction to be used for a named view progress timeline.
8764
8768
  *
8765
8769
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/view-timeline-axis)
8766
8770
  */
@@ -8772,7 +8776,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
8772
8776
  */
8773
8777
  viewTimelineInset: string;
8774
8778
  /**
8775
- * The view-timeline-name CSS property is used to define the name of a named view progress timeline, which is progressed through based on the change in visibility of an element (known as the subject) inside a scrollable element (scroller). view-timeline is set on the subject.
8779
+ * The view-timeline-name CSS property specifies the names of one or more named view progress timelines associated with the element.
8776
8780
  *
8777
8781
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/view-timeline-name)
8778
8782
  */
@@ -9623,8 +9627,23 @@ declare var CSSVariableReferenceValue: {
9623
9627
  new(variable: string, fallback?: CSSUnparsedValue | null): CSSVariableReferenceValue;
9624
9628
  };
9625
9629
 
9630
+ /**
9631
+ * The **`CSSViewTransitionRule`** interface represents a CSS @view-transition at-rule.
9632
+ *
9633
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSViewTransitionRule)
9634
+ */
9626
9635
  interface CSSViewTransitionRule extends CSSRule {
9636
+ /**
9637
+ * The **`navigation`** read-only property of the CSSViewTransitionRule interface returns the associated @view-transition at-rule's navigation descriptor value.
9638
+ *
9639
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSViewTransitionRule/navigation)
9640
+ */
9627
9641
  readonly navigation: string;
9642
+ /**
9643
+ * The **`types`** read-only property of the CSSViewTransitionRule interface returns an array containing the associated @view-transition at-rule's types descriptor values.
9644
+ *
9645
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSViewTransitionRule/types)
9646
+ */
9628
9647
  readonly types: ReadonlyArray<string>;
9629
9648
  }
9630
9649
 
@@ -36349,6 +36368,11 @@ interface ViewTransition {
36349
36368
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/ready)
36350
36369
  */
36351
36370
  readonly ready: Promise<void>;
36371
+ /**
36372
+ * The **`types`** read-only property of the ViewTransition interface is a ViewTransitionTypeSet that allows the types set on the view transition to be accessed and modified.
36373
+ *
36374
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/types)
36375
+ */
36352
36376
  types: ViewTransitionTypeSet;
36353
36377
  /**
36354
36378
  * The **`updateCallbackDone`** read-only property of the ViewTransition interface is a Promise that fulfills when the promise returned by the document.startViewTransition() method's callback fulfills, or rejects when it rejects.
@@ -36369,6 +36393,11 @@ declare var ViewTransition: {
36369
36393
  new(): ViewTransition;
36370
36394
  };
36371
36395
 
36396
+ /**
36397
+ * The **`ViewTransitionTypeSet`** interface of the View Transition API is a set-like object representing the types of an active view transition. This enables the types to be queried or modified on-the-fly during a transition.
36398
+ *
36399
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransitionTypeSet)
36400
+ */
36372
36401
  interface ViewTransitionTypeSet {
36373
36402
  forEach(callbackfn: (value: string, key: string, parent: ViewTransitionTypeSet) => void, thisArg?: any): void;
36374
36403
  }