@types/web 0.0.299 → 0.0.301
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 +1 -1
- package/index.d.ts +35 -6
- package/package.json +1 -1
- package/ts5.5/index.d.ts +35 -6
- package/ts5.6/index.d.ts +35 -6
- package/ts5.9/index.d.ts +35 -6
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.
|
|
50
|
+
You can read what changed in version 0.0.301 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.301.
|
package/index.d.ts
CHANGED
|
@@ -6233,13 +6233,13 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6233
6233
|
*/
|
|
6234
6234
|
animationRange: string;
|
|
6235
6235
|
/**
|
|
6236
|
-
* The animation-range-end CSS property
|
|
6236
|
+
* The animation-range-end CSS property sets the point on the timeline where an animation should end.
|
|
6237
6237
|
*
|
|
6238
6238
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-range-end)
|
|
6239
6239
|
*/
|
|
6240
6240
|
animationRangeEnd: string;
|
|
6241
6241
|
/**
|
|
6242
|
-
* The animation-range-start CSS property
|
|
6242
|
+
* The animation-range-start CSS property sets the point on the timeline where an animation should start.
|
|
6243
6243
|
*
|
|
6244
6244
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-range-start)
|
|
6245
6245
|
*/
|
|
@@ -6353,7 +6353,11 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6353
6353
|
*/
|
|
6354
6354
|
backgroundSize: string;
|
|
6355
6355
|
baselineShift: string;
|
|
6356
|
-
/**
|
|
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.
|
|
@@ -8349,7 +8353,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
8349
8353
|
*/
|
|
8350
8354
|
scrollTimeline: string;
|
|
8351
8355
|
/**
|
|
8352
|
-
* The scroll-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a scroll driven animation
|
|
8356
|
+
* The scroll-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a scroll driven animation, which is progressed through by scrolling a scrollable element (scroller).
|
|
8353
8357
|
*
|
|
8354
8358
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-timeline-axis)
|
|
8355
8359
|
*/
|
|
@@ -8775,7 +8779,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
8775
8779
|
*/
|
|
8776
8780
|
viewTimelineInset: string;
|
|
8777
8781
|
/**
|
|
8778
|
-
* The view-timeline-name CSS property
|
|
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
|
|
|
@@ -13360,7 +13379,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
13360
13379
|
*/
|
|
13361
13380
|
setAttribute(qualifiedName: string, value: string): void;
|
|
13362
13381
|
/**
|
|
13363
|
-
*
|
|
13382
|
+
* If you are working with HTML documents and you don't need to specify the requested attribute as being part of a specific namespace, use the setAttribute() method instead.
|
|
13364
13383
|
*
|
|
13365
13384
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNS)
|
|
13366
13385
|
*/
|
|
@@ -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
package/ts5.5/index.d.ts
CHANGED
|
@@ -6223,13 +6223,13 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6223
6223
|
*/
|
|
6224
6224
|
animationRange: string;
|
|
6225
6225
|
/**
|
|
6226
|
-
* The animation-range-end CSS property
|
|
6226
|
+
* The animation-range-end CSS property sets the point on the timeline where an animation should end.
|
|
6227
6227
|
*
|
|
6228
6228
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-range-end)
|
|
6229
6229
|
*/
|
|
6230
6230
|
animationRangeEnd: string;
|
|
6231
6231
|
/**
|
|
6232
|
-
* The animation-range-start CSS property
|
|
6232
|
+
* The animation-range-start CSS property sets the point on the timeline where an animation should start.
|
|
6233
6233
|
*
|
|
6234
6234
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-range-start)
|
|
6235
6235
|
*/
|
|
@@ -6343,7 +6343,11 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6343
6343
|
*/
|
|
6344
6344
|
backgroundSize: string;
|
|
6345
6345
|
baselineShift: string;
|
|
6346
|
-
/**
|
|
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.
|
|
@@ -8339,7 +8343,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
8339
8343
|
*/
|
|
8340
8344
|
scrollTimeline: string;
|
|
8341
8345
|
/**
|
|
8342
|
-
* The scroll-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a scroll driven animation
|
|
8346
|
+
* The scroll-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a scroll driven animation, which is progressed through by scrolling a scrollable element (scroller).
|
|
8343
8347
|
*
|
|
8344
8348
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-timeline-axis)
|
|
8345
8349
|
*/
|
|
@@ -8765,7 +8769,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
8765
8769
|
*/
|
|
8766
8770
|
viewTimelineInset: string;
|
|
8767
8771
|
/**
|
|
8768
|
-
* The view-timeline-name CSS property
|
|
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
|
|
|
@@ -13347,7 +13366,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
13347
13366
|
*/
|
|
13348
13367
|
setAttribute(qualifiedName: string, value: string): void;
|
|
13349
13368
|
/**
|
|
13350
|
-
*
|
|
13369
|
+
* If you are working with HTML documents and you don't need to specify the requested attribute as being part of a specific namespace, use the setAttribute() method instead.
|
|
13351
13370
|
*
|
|
13352
13371
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNS)
|
|
13353
13372
|
*/
|
|
@@ -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
|
@@ -6230,13 +6230,13 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6230
6230
|
*/
|
|
6231
6231
|
animationRange: string;
|
|
6232
6232
|
/**
|
|
6233
|
-
* The animation-range-end CSS property
|
|
6233
|
+
* The animation-range-end CSS property sets the point on the timeline where an animation should end.
|
|
6234
6234
|
*
|
|
6235
6235
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-range-end)
|
|
6236
6236
|
*/
|
|
6237
6237
|
animationRangeEnd: string;
|
|
6238
6238
|
/**
|
|
6239
|
-
* The animation-range-start CSS property
|
|
6239
|
+
* The animation-range-start CSS property sets the point on the timeline where an animation should start.
|
|
6240
6240
|
*
|
|
6241
6241
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-range-start)
|
|
6242
6242
|
*/
|
|
@@ -6350,7 +6350,11 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6350
6350
|
*/
|
|
6351
6351
|
backgroundSize: string;
|
|
6352
6352
|
baselineShift: string;
|
|
6353
|
-
/**
|
|
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.
|
|
@@ -8346,7 +8350,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
8346
8350
|
*/
|
|
8347
8351
|
scrollTimeline: string;
|
|
8348
8352
|
/**
|
|
8349
|
-
* The scroll-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a scroll driven animation
|
|
8353
|
+
* The scroll-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a scroll driven animation, which is progressed through by scrolling a scrollable element (scroller).
|
|
8350
8354
|
*
|
|
8351
8355
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-timeline-axis)
|
|
8352
8356
|
*/
|
|
@@ -8772,7 +8776,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
8772
8776
|
*/
|
|
8773
8777
|
viewTimelineInset: string;
|
|
8774
8778
|
/**
|
|
8775
|
-
* The view-timeline-name CSS property
|
|
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
|
|
|
@@ -13357,7 +13376,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
13357
13376
|
*/
|
|
13358
13377
|
setAttribute(qualifiedName: string, value: string): void;
|
|
13359
13378
|
/**
|
|
13360
|
-
*
|
|
13379
|
+
* If you are working with HTML documents and you don't need to specify the requested attribute as being part of a specific namespace, use the setAttribute() method instead.
|
|
13361
13380
|
*
|
|
13362
13381
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNS)
|
|
13363
13382
|
*/
|
|
@@ -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
|
@@ -6230,13 +6230,13 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6230
6230
|
*/
|
|
6231
6231
|
animationRange: string;
|
|
6232
6232
|
/**
|
|
6233
|
-
* The animation-range-end CSS property
|
|
6233
|
+
* The animation-range-end CSS property sets the point on the timeline where an animation should end.
|
|
6234
6234
|
*
|
|
6235
6235
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-range-end)
|
|
6236
6236
|
*/
|
|
6237
6237
|
animationRangeEnd: string;
|
|
6238
6238
|
/**
|
|
6239
|
-
* The animation-range-start CSS property
|
|
6239
|
+
* The animation-range-start CSS property sets the point on the timeline where an animation should start.
|
|
6240
6240
|
*
|
|
6241
6241
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-range-start)
|
|
6242
6242
|
*/
|
|
@@ -6350,7 +6350,11 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6350
6350
|
*/
|
|
6351
6351
|
backgroundSize: string;
|
|
6352
6352
|
baselineShift: string;
|
|
6353
|
-
/**
|
|
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.
|
|
@@ -8346,7 +8350,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
8346
8350
|
*/
|
|
8347
8351
|
scrollTimeline: string;
|
|
8348
8352
|
/**
|
|
8349
|
-
* The scroll-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a scroll driven animation
|
|
8353
|
+
* The scroll-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a scroll driven animation, which is progressed through by scrolling a scrollable element (scroller).
|
|
8350
8354
|
*
|
|
8351
8355
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-timeline-axis)
|
|
8352
8356
|
*/
|
|
@@ -8772,7 +8776,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
8772
8776
|
*/
|
|
8773
8777
|
viewTimelineInset: string;
|
|
8774
8778
|
/**
|
|
8775
|
-
* The view-timeline-name CSS property
|
|
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
|
|
|
@@ -13357,7 +13376,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
13357
13376
|
*/
|
|
13358
13377
|
setAttribute(qualifiedName: string, value: string): void;
|
|
13359
13378
|
/**
|
|
13360
|
-
*
|
|
13379
|
+
* If you are working with HTML documents and you don't need to specify the requested attribute as being part of a specific namespace, use the setAttribute() method instead.
|
|
13361
13380
|
*
|
|
13362
13381
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNS)
|
|
13363
13382
|
*/
|
|
@@ -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
|
}
|