@types/web 0.0.244 → 0.0.246
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 +322 -1
- package/package.json +1 -1
- package/ts5.5/index.d.ts +321 -1
- package/ts5.6/index.d.ts +322 -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.
|
|
50
|
+
You can read what changed in version 0.0.246 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.246.
|
package/index.d.ts
CHANGED
|
@@ -2295,6 +2295,39 @@ interface ULongRange {
|
|
|
2295
2295
|
min?: number;
|
|
2296
2296
|
}
|
|
2297
2297
|
|
|
2298
|
+
interface URLPatternComponentResult {
|
|
2299
|
+
groups?: Record<string, string | undefined>;
|
|
2300
|
+
input?: string;
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2303
|
+
interface URLPatternInit {
|
|
2304
|
+
baseURL?: string;
|
|
2305
|
+
hash?: string;
|
|
2306
|
+
hostname?: string;
|
|
2307
|
+
password?: string;
|
|
2308
|
+
pathname?: string;
|
|
2309
|
+
port?: string;
|
|
2310
|
+
protocol?: string;
|
|
2311
|
+
search?: string;
|
|
2312
|
+
username?: string;
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
|
+
interface URLPatternOptions {
|
|
2316
|
+
ignoreCase?: boolean;
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2319
|
+
interface URLPatternResult {
|
|
2320
|
+
hash?: URLPatternComponentResult;
|
|
2321
|
+
hostname?: URLPatternComponentResult;
|
|
2322
|
+
inputs?: URLPatternInput[];
|
|
2323
|
+
password?: URLPatternComponentResult;
|
|
2324
|
+
pathname?: URLPatternComponentResult;
|
|
2325
|
+
port?: URLPatternComponentResult;
|
|
2326
|
+
protocol?: URLPatternComponentResult;
|
|
2327
|
+
search?: URLPatternComponentResult;
|
|
2328
|
+
username?: URLPatternComponentResult;
|
|
2329
|
+
}
|
|
2330
|
+
|
|
2298
2331
|
interface UnderlyingByteSource {
|
|
2299
2332
|
autoAllocateChunkSize?: number;
|
|
2300
2333
|
cancel?: UnderlyingSourceCancelCallback;
|
|
@@ -5402,6 +5435,39 @@ declare var CSSNumericValue: {
|
|
|
5402
5435
|
parse(cssText: string): CSSNumericValue;
|
|
5403
5436
|
};
|
|
5404
5437
|
|
|
5438
|
+
/**
|
|
5439
|
+
* The **`CSSPageDescriptors`** interface represents a CSS declaration block for an @page at-rule.
|
|
5440
|
+
*
|
|
5441
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors)
|
|
5442
|
+
*/
|
|
5443
|
+
interface CSSPageDescriptors extends CSSStyleDeclaration {
|
|
5444
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin) */
|
|
5445
|
+
margin: string;
|
|
5446
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-bottom) */
|
|
5447
|
+
"margin-bottom": string;
|
|
5448
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-left) */
|
|
5449
|
+
"margin-left": string;
|
|
5450
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-right) */
|
|
5451
|
+
"margin-right": string;
|
|
5452
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-top) */
|
|
5453
|
+
"margin-top": string;
|
|
5454
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#marginbottom) */
|
|
5455
|
+
marginBottom: string;
|
|
5456
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#marginleft) */
|
|
5457
|
+
marginLeft: string;
|
|
5458
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#marginright) */
|
|
5459
|
+
marginRight: string;
|
|
5460
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margintop) */
|
|
5461
|
+
marginTop: string;
|
|
5462
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#size) */
|
|
5463
|
+
size: string;
|
|
5464
|
+
}
|
|
5465
|
+
|
|
5466
|
+
declare var CSSPageDescriptors: {
|
|
5467
|
+
prototype: CSSPageDescriptors;
|
|
5468
|
+
new(): CSSPageDescriptors;
|
|
5469
|
+
};
|
|
5470
|
+
|
|
5405
5471
|
/**
|
|
5406
5472
|
* **`CSSPageRule`** represents a single CSS @page rule.
|
|
5407
5473
|
*
|
|
@@ -5419,7 +5485,7 @@ interface CSSPageRule extends CSSGroupingRule {
|
|
|
5419
5485
|
*
|
|
5420
5486
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/style)
|
|
5421
5487
|
*/
|
|
5422
|
-
get style():
|
|
5488
|
+
get style(): CSSPageDescriptors;
|
|
5423
5489
|
set style(cssText: string);
|
|
5424
5490
|
}
|
|
5425
5491
|
|
|
@@ -5447,6 +5513,185 @@ declare var CSSPerspective: {
|
|
|
5447
5513
|
new(length: CSSPerspectiveValue): CSSPerspective;
|
|
5448
5514
|
};
|
|
5449
5515
|
|
|
5516
|
+
/**
|
|
5517
|
+
* The **`CSSPositionTryDescriptors`** interface defines properties that represent the list of CSS descriptors that can be set in the body of a @position-try at-rule.
|
|
5518
|
+
*
|
|
5519
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors)
|
|
5520
|
+
*/
|
|
5521
|
+
interface CSSPositionTryDescriptors extends CSSStyleDeclaration {
|
|
5522
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5523
|
+
"align-self": string;
|
|
5524
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5525
|
+
alignSelf: string;
|
|
5526
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5527
|
+
"block-size": string;
|
|
5528
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5529
|
+
blockSize: string;
|
|
5530
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5531
|
+
bottom: string;
|
|
5532
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5533
|
+
height: string;
|
|
5534
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5535
|
+
"inline-size": string;
|
|
5536
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5537
|
+
inlineSize: string;
|
|
5538
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5539
|
+
inset: string;
|
|
5540
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5541
|
+
"inset-block": string;
|
|
5542
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5543
|
+
"inset-block-end": string;
|
|
5544
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5545
|
+
"inset-block-start": string;
|
|
5546
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5547
|
+
"inset-inline": string;
|
|
5548
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5549
|
+
"inset-inline-end": string;
|
|
5550
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5551
|
+
"inset-inline-start": string;
|
|
5552
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5553
|
+
insetBlock: string;
|
|
5554
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5555
|
+
insetBlockEnd: string;
|
|
5556
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5557
|
+
insetBlockStart: string;
|
|
5558
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5559
|
+
insetInline: string;
|
|
5560
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5561
|
+
insetInlineEnd: string;
|
|
5562
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5563
|
+
insetInlineStart: string;
|
|
5564
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5565
|
+
"justify-self": string;
|
|
5566
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5567
|
+
justifySelf: string;
|
|
5568
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5569
|
+
left: string;
|
|
5570
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5571
|
+
margin: string;
|
|
5572
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5573
|
+
"margin-block": string;
|
|
5574
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5575
|
+
"margin-block-end": string;
|
|
5576
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5577
|
+
"margin-block-start": string;
|
|
5578
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5579
|
+
"margin-bottom": string;
|
|
5580
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5581
|
+
"margin-inline": string;
|
|
5582
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5583
|
+
"margin-inline-end": string;
|
|
5584
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5585
|
+
"margin-inline-start": string;
|
|
5586
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5587
|
+
"margin-left": string;
|
|
5588
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5589
|
+
"margin-right": string;
|
|
5590
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5591
|
+
"margin-top": string;
|
|
5592
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5593
|
+
marginBlock: string;
|
|
5594
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5595
|
+
marginBlockEnd: string;
|
|
5596
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5597
|
+
marginBlockStart: string;
|
|
5598
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5599
|
+
marginBottom: string;
|
|
5600
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5601
|
+
marginInline: string;
|
|
5602
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5603
|
+
marginInlineEnd: string;
|
|
5604
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5605
|
+
marginInlineStart: string;
|
|
5606
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5607
|
+
marginLeft: string;
|
|
5608
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5609
|
+
marginRight: string;
|
|
5610
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5611
|
+
marginTop: string;
|
|
5612
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5613
|
+
"max-block-size": string;
|
|
5614
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5615
|
+
"max-height": string;
|
|
5616
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5617
|
+
"max-inline-size": string;
|
|
5618
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5619
|
+
"max-width": string;
|
|
5620
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5621
|
+
maxBlockSize: string;
|
|
5622
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5623
|
+
maxHeight: string;
|
|
5624
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5625
|
+
maxInlineSize: string;
|
|
5626
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5627
|
+
maxWidth: string;
|
|
5628
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5629
|
+
"min-block-size": string;
|
|
5630
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5631
|
+
"min-height": string;
|
|
5632
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5633
|
+
"min-inline-size": string;
|
|
5634
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5635
|
+
"min-width": string;
|
|
5636
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5637
|
+
minBlockSize: string;
|
|
5638
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5639
|
+
minHeight: string;
|
|
5640
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5641
|
+
minInlineSize: string;
|
|
5642
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5643
|
+
minWidth: string;
|
|
5644
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5645
|
+
"place-self": string;
|
|
5646
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5647
|
+
placeSelf: string;
|
|
5648
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5649
|
+
"position-anchor": string;
|
|
5650
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5651
|
+
"position-area": string;
|
|
5652
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5653
|
+
positionAnchor: string;
|
|
5654
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5655
|
+
positionArea: string;
|
|
5656
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5657
|
+
right: string;
|
|
5658
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5659
|
+
top: string;
|
|
5660
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5661
|
+
width: string;
|
|
5662
|
+
}
|
|
5663
|
+
|
|
5664
|
+
declare var CSSPositionTryDescriptors: {
|
|
5665
|
+
prototype: CSSPositionTryDescriptors;
|
|
5666
|
+
new(): CSSPositionTryDescriptors;
|
|
5667
|
+
};
|
|
5668
|
+
|
|
5669
|
+
/**
|
|
5670
|
+
* The **`CSSPositionTryRule`** interface describes an object representing a @position-try at-rule.
|
|
5671
|
+
*
|
|
5672
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule)
|
|
5673
|
+
*/
|
|
5674
|
+
interface CSSPositionTryRule extends CSSRule {
|
|
5675
|
+
/**
|
|
5676
|
+
* The **`name`** read-only property of the CSSPositionTryRule interface represents the name of the position try fallback option specified by the `@position-try` at-rule's dashed-ident.
|
|
5677
|
+
*
|
|
5678
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/name)
|
|
5679
|
+
*/
|
|
5680
|
+
readonly name: string;
|
|
5681
|
+
/**
|
|
5682
|
+
* The **`style`** read-only property of the CSSPositionTryRule interface returns a CSSPositionTryDescriptors object representing the declarations set in the body of the `@position-try` at-rule.
|
|
5683
|
+
*
|
|
5684
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/style)
|
|
5685
|
+
*/
|
|
5686
|
+
get style(): CSSPositionTryDescriptors;
|
|
5687
|
+
set style(cssText: string);
|
|
5688
|
+
}
|
|
5689
|
+
|
|
5690
|
+
declare var CSSPositionTryRule: {
|
|
5691
|
+
prototype: CSSPositionTryRule;
|
|
5692
|
+
new(): CSSPositionTryRule;
|
|
5693
|
+
};
|
|
5694
|
+
|
|
5450
5695
|
/**
|
|
5451
5696
|
* The **`CSSPropertyRule`** interface of the CSS Properties and Values API represents a single CSS @property rule.
|
|
5452
5697
|
*
|
|
@@ -32785,6 +33030,81 @@ declare var URL: {
|
|
|
32785
33030
|
type webkitURL = URL;
|
|
32786
33031
|
declare var webkitURL: typeof URL;
|
|
32787
33032
|
|
|
33033
|
+
/**
|
|
33034
|
+
* The **`URLPattern`** interface of the URL Pattern API matches URLs or parts of URLs against a pattern.
|
|
33035
|
+
*
|
|
33036
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern)
|
|
33037
|
+
*/
|
|
33038
|
+
interface URLPattern {
|
|
33039
|
+
readonly hasRegExpGroups: boolean;
|
|
33040
|
+
/**
|
|
33041
|
+
* The **`hash`** read-only property of the URLPattern interface is a string containing the pattern used to match the fragment part of a URL.
|
|
33042
|
+
*
|
|
33043
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hash)
|
|
33044
|
+
*/
|
|
33045
|
+
readonly hash: string;
|
|
33046
|
+
/**
|
|
33047
|
+
* The **`hostname`** read-only property of the URLPattern interface is a string containing the pattern used to match the hostname part of a URL.
|
|
33048
|
+
*
|
|
33049
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hostname)
|
|
33050
|
+
*/
|
|
33051
|
+
readonly hostname: string;
|
|
33052
|
+
/**
|
|
33053
|
+
* The **`password`** read-only property of the URLPattern interface is a string containing the pattern used to match the password part of a URL.
|
|
33054
|
+
*
|
|
33055
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/password)
|
|
33056
|
+
*/
|
|
33057
|
+
readonly password: string;
|
|
33058
|
+
/**
|
|
33059
|
+
* The **`pathname`** read-only property of the URLPattern interface is a string containing the pattern used to match the pathname part of a URL.
|
|
33060
|
+
*
|
|
33061
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/pathname)
|
|
33062
|
+
*/
|
|
33063
|
+
readonly pathname: string;
|
|
33064
|
+
/**
|
|
33065
|
+
* The **`port`** read-only property of the URLPattern interface is a string containing the pattern used to match the port part of a URL.
|
|
33066
|
+
*
|
|
33067
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/port)
|
|
33068
|
+
*/
|
|
33069
|
+
readonly port: string;
|
|
33070
|
+
/**
|
|
33071
|
+
* The **`protocol`** read-only property of the URLPattern interface is a string containing the pattern used to match the protocol part of a URL.
|
|
33072
|
+
*
|
|
33073
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/protocol)
|
|
33074
|
+
*/
|
|
33075
|
+
readonly protocol: string;
|
|
33076
|
+
/**
|
|
33077
|
+
* The **`search`** read-only property of the URLPattern interface is a string containing the pattern used to match the search part of a URL.
|
|
33078
|
+
*
|
|
33079
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/search)
|
|
33080
|
+
*/
|
|
33081
|
+
readonly search: string;
|
|
33082
|
+
/**
|
|
33083
|
+
* The **`username`** read-only property of the URLPattern interface is a string containing the pattern used to match the username part of a URL.
|
|
33084
|
+
*
|
|
33085
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/username)
|
|
33086
|
+
*/
|
|
33087
|
+
readonly username: string;
|
|
33088
|
+
/**
|
|
33089
|
+
* The **`exec()`** method of the URLPattern interface takes a URL or object of URL parts, and returns either an object containing the results of matching the URL to the pattern, or `null` if the URL does not match the pattern.
|
|
33090
|
+
*
|
|
33091
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/exec)
|
|
33092
|
+
*/
|
|
33093
|
+
exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
|
|
33094
|
+
/**
|
|
33095
|
+
* The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
|
|
33096
|
+
*
|
|
33097
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
|
|
33098
|
+
*/
|
|
33099
|
+
test(input?: URLPatternInput, baseURL?: string | URL): boolean;
|
|
33100
|
+
}
|
|
33101
|
+
|
|
33102
|
+
declare var URLPattern: {
|
|
33103
|
+
prototype: URLPattern;
|
|
33104
|
+
new(input: URLPatternInput, baseURL: string | URL, options?: URLPatternOptions): URLPattern;
|
|
33105
|
+
new(input?: URLPatternInput, options?: URLPatternOptions): URLPattern;
|
|
33106
|
+
};
|
|
33107
|
+
|
|
32788
33108
|
/**
|
|
32789
33109
|
* The **`URLSearchParams`** interface defines utility methods to work with the query string of a URL.
|
|
32790
33110
|
*
|
|
@@ -39263,6 +39583,7 @@ type RequestInfo = Request | string;
|
|
|
39263
39583
|
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
|
|
39264
39584
|
type TimerHandler = string | Function;
|
|
39265
39585
|
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | AudioData | VideoFrame | RTCDataChannel | ArrayBuffer;
|
|
39586
|
+
type URLPatternInput = string | URLPatternInit;
|
|
39266
39587
|
type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
|
|
39267
39588
|
type VibratePattern = number | number[];
|
|
39268
39589
|
type WindowProxy = Window;
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -2295,6 +2295,39 @@ interface ULongRange {
|
|
|
2295
2295
|
min?: number;
|
|
2296
2296
|
}
|
|
2297
2297
|
|
|
2298
|
+
interface URLPatternComponentResult {
|
|
2299
|
+
groups?: Record<string, string | undefined>;
|
|
2300
|
+
input?: string;
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2303
|
+
interface URLPatternInit {
|
|
2304
|
+
baseURL?: string;
|
|
2305
|
+
hash?: string;
|
|
2306
|
+
hostname?: string;
|
|
2307
|
+
password?: string;
|
|
2308
|
+
pathname?: string;
|
|
2309
|
+
port?: string;
|
|
2310
|
+
protocol?: string;
|
|
2311
|
+
search?: string;
|
|
2312
|
+
username?: string;
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
|
+
interface URLPatternOptions {
|
|
2316
|
+
ignoreCase?: boolean;
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2319
|
+
interface URLPatternResult {
|
|
2320
|
+
hash?: URLPatternComponentResult;
|
|
2321
|
+
hostname?: URLPatternComponentResult;
|
|
2322
|
+
inputs?: URLPatternInput[];
|
|
2323
|
+
password?: URLPatternComponentResult;
|
|
2324
|
+
pathname?: URLPatternComponentResult;
|
|
2325
|
+
port?: URLPatternComponentResult;
|
|
2326
|
+
protocol?: URLPatternComponentResult;
|
|
2327
|
+
search?: URLPatternComponentResult;
|
|
2328
|
+
username?: URLPatternComponentResult;
|
|
2329
|
+
}
|
|
2330
|
+
|
|
2298
2331
|
interface UnderlyingByteSource {
|
|
2299
2332
|
autoAllocateChunkSize?: number;
|
|
2300
2333
|
cancel?: UnderlyingSourceCancelCallback;
|
|
@@ -5397,6 +5430,39 @@ declare var CSSNumericValue: {
|
|
|
5397
5430
|
parse(cssText: string): CSSNumericValue;
|
|
5398
5431
|
};
|
|
5399
5432
|
|
|
5433
|
+
/**
|
|
5434
|
+
* The **`CSSPageDescriptors`** interface represents a CSS declaration block for an @page at-rule.
|
|
5435
|
+
*
|
|
5436
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors)
|
|
5437
|
+
*/
|
|
5438
|
+
interface CSSPageDescriptors extends CSSStyleDeclaration {
|
|
5439
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin) */
|
|
5440
|
+
margin: string;
|
|
5441
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-bottom) */
|
|
5442
|
+
"margin-bottom": string;
|
|
5443
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-left) */
|
|
5444
|
+
"margin-left": string;
|
|
5445
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-right) */
|
|
5446
|
+
"margin-right": string;
|
|
5447
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-top) */
|
|
5448
|
+
"margin-top": string;
|
|
5449
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#marginbottom) */
|
|
5450
|
+
marginBottom: string;
|
|
5451
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#marginleft) */
|
|
5452
|
+
marginLeft: string;
|
|
5453
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#marginright) */
|
|
5454
|
+
marginRight: string;
|
|
5455
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margintop) */
|
|
5456
|
+
marginTop: string;
|
|
5457
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#size) */
|
|
5458
|
+
size: string;
|
|
5459
|
+
}
|
|
5460
|
+
|
|
5461
|
+
declare var CSSPageDescriptors: {
|
|
5462
|
+
prototype: CSSPageDescriptors;
|
|
5463
|
+
new(): CSSPageDescriptors;
|
|
5464
|
+
};
|
|
5465
|
+
|
|
5400
5466
|
/**
|
|
5401
5467
|
* **`CSSPageRule`** represents a single CSS @page rule.
|
|
5402
5468
|
*
|
|
@@ -5414,7 +5480,7 @@ interface CSSPageRule extends CSSGroupingRule {
|
|
|
5414
5480
|
*
|
|
5415
5481
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/style)
|
|
5416
5482
|
*/
|
|
5417
|
-
readonly style:
|
|
5483
|
+
readonly style: CSSPageDescriptors;
|
|
5418
5484
|
}
|
|
5419
5485
|
|
|
5420
5486
|
declare var CSSPageRule: {
|
|
@@ -5441,6 +5507,184 @@ declare var CSSPerspective: {
|
|
|
5441
5507
|
new(length: CSSPerspectiveValue): CSSPerspective;
|
|
5442
5508
|
};
|
|
5443
5509
|
|
|
5510
|
+
/**
|
|
5511
|
+
* The **`CSSPositionTryDescriptors`** interface defines properties that represent the list of CSS descriptors that can be set in the body of a @position-try at-rule.
|
|
5512
|
+
*
|
|
5513
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors)
|
|
5514
|
+
*/
|
|
5515
|
+
interface CSSPositionTryDescriptors extends CSSStyleDeclaration {
|
|
5516
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5517
|
+
"align-self": string;
|
|
5518
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5519
|
+
alignSelf: string;
|
|
5520
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5521
|
+
"block-size": string;
|
|
5522
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5523
|
+
blockSize: string;
|
|
5524
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5525
|
+
bottom: string;
|
|
5526
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5527
|
+
height: string;
|
|
5528
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5529
|
+
"inline-size": string;
|
|
5530
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5531
|
+
inlineSize: string;
|
|
5532
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5533
|
+
inset: string;
|
|
5534
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5535
|
+
"inset-block": string;
|
|
5536
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5537
|
+
"inset-block-end": string;
|
|
5538
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5539
|
+
"inset-block-start": string;
|
|
5540
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5541
|
+
"inset-inline": string;
|
|
5542
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5543
|
+
"inset-inline-end": string;
|
|
5544
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5545
|
+
"inset-inline-start": string;
|
|
5546
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5547
|
+
insetBlock: string;
|
|
5548
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5549
|
+
insetBlockEnd: string;
|
|
5550
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5551
|
+
insetBlockStart: string;
|
|
5552
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5553
|
+
insetInline: string;
|
|
5554
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5555
|
+
insetInlineEnd: string;
|
|
5556
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5557
|
+
insetInlineStart: string;
|
|
5558
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5559
|
+
"justify-self": string;
|
|
5560
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5561
|
+
justifySelf: string;
|
|
5562
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5563
|
+
left: string;
|
|
5564
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5565
|
+
margin: string;
|
|
5566
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5567
|
+
"margin-block": string;
|
|
5568
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5569
|
+
"margin-block-end": string;
|
|
5570
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5571
|
+
"margin-block-start": string;
|
|
5572
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5573
|
+
"margin-bottom": string;
|
|
5574
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5575
|
+
"margin-inline": string;
|
|
5576
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5577
|
+
"margin-inline-end": string;
|
|
5578
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5579
|
+
"margin-inline-start": string;
|
|
5580
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5581
|
+
"margin-left": string;
|
|
5582
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5583
|
+
"margin-right": string;
|
|
5584
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5585
|
+
"margin-top": string;
|
|
5586
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5587
|
+
marginBlock: string;
|
|
5588
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5589
|
+
marginBlockEnd: string;
|
|
5590
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5591
|
+
marginBlockStart: string;
|
|
5592
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5593
|
+
marginBottom: string;
|
|
5594
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5595
|
+
marginInline: string;
|
|
5596
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5597
|
+
marginInlineEnd: string;
|
|
5598
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5599
|
+
marginInlineStart: string;
|
|
5600
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5601
|
+
marginLeft: string;
|
|
5602
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5603
|
+
marginRight: string;
|
|
5604
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5605
|
+
marginTop: string;
|
|
5606
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5607
|
+
"max-block-size": string;
|
|
5608
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5609
|
+
"max-height": string;
|
|
5610
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5611
|
+
"max-inline-size": string;
|
|
5612
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5613
|
+
"max-width": string;
|
|
5614
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5615
|
+
maxBlockSize: string;
|
|
5616
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5617
|
+
maxHeight: string;
|
|
5618
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5619
|
+
maxInlineSize: string;
|
|
5620
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5621
|
+
maxWidth: string;
|
|
5622
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5623
|
+
"min-block-size": string;
|
|
5624
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5625
|
+
"min-height": string;
|
|
5626
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5627
|
+
"min-inline-size": string;
|
|
5628
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5629
|
+
"min-width": string;
|
|
5630
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5631
|
+
minBlockSize: string;
|
|
5632
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5633
|
+
minHeight: string;
|
|
5634
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5635
|
+
minInlineSize: string;
|
|
5636
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5637
|
+
minWidth: string;
|
|
5638
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5639
|
+
"place-self": string;
|
|
5640
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5641
|
+
placeSelf: string;
|
|
5642
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5643
|
+
"position-anchor": string;
|
|
5644
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5645
|
+
"position-area": string;
|
|
5646
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5647
|
+
positionAnchor: string;
|
|
5648
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5649
|
+
positionArea: string;
|
|
5650
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5651
|
+
right: string;
|
|
5652
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5653
|
+
top: string;
|
|
5654
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5655
|
+
width: string;
|
|
5656
|
+
}
|
|
5657
|
+
|
|
5658
|
+
declare var CSSPositionTryDescriptors: {
|
|
5659
|
+
prototype: CSSPositionTryDescriptors;
|
|
5660
|
+
new(): CSSPositionTryDescriptors;
|
|
5661
|
+
};
|
|
5662
|
+
|
|
5663
|
+
/**
|
|
5664
|
+
* The **`CSSPositionTryRule`** interface describes an object representing a @position-try at-rule.
|
|
5665
|
+
*
|
|
5666
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule)
|
|
5667
|
+
*/
|
|
5668
|
+
interface CSSPositionTryRule extends CSSRule {
|
|
5669
|
+
/**
|
|
5670
|
+
* The **`name`** read-only property of the CSSPositionTryRule interface represents the name of the position try fallback option specified by the `@position-try` at-rule's dashed-ident.
|
|
5671
|
+
*
|
|
5672
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/name)
|
|
5673
|
+
*/
|
|
5674
|
+
readonly name: string;
|
|
5675
|
+
/**
|
|
5676
|
+
* The **`style`** read-only property of the CSSPositionTryRule interface returns a CSSPositionTryDescriptors object representing the declarations set in the body of the `@position-try` at-rule.
|
|
5677
|
+
*
|
|
5678
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/style)
|
|
5679
|
+
*/
|
|
5680
|
+
readonly style: CSSPositionTryDescriptors;
|
|
5681
|
+
}
|
|
5682
|
+
|
|
5683
|
+
declare var CSSPositionTryRule: {
|
|
5684
|
+
prototype: CSSPositionTryRule;
|
|
5685
|
+
new(): CSSPositionTryRule;
|
|
5686
|
+
};
|
|
5687
|
+
|
|
5444
5688
|
/**
|
|
5445
5689
|
* The **`CSSPropertyRule`** interface of the CSS Properties and Values API represents a single CSS @property rule.
|
|
5446
5690
|
*
|
|
@@ -32763,6 +33007,81 @@ declare var URL: {
|
|
|
32763
33007
|
type webkitURL = URL;
|
|
32764
33008
|
declare var webkitURL: typeof URL;
|
|
32765
33009
|
|
|
33010
|
+
/**
|
|
33011
|
+
* The **`URLPattern`** interface of the URL Pattern API matches URLs or parts of URLs against a pattern.
|
|
33012
|
+
*
|
|
33013
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern)
|
|
33014
|
+
*/
|
|
33015
|
+
interface URLPattern {
|
|
33016
|
+
readonly hasRegExpGroups: boolean;
|
|
33017
|
+
/**
|
|
33018
|
+
* The **`hash`** read-only property of the URLPattern interface is a string containing the pattern used to match the fragment part of a URL.
|
|
33019
|
+
*
|
|
33020
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hash)
|
|
33021
|
+
*/
|
|
33022
|
+
readonly hash: string;
|
|
33023
|
+
/**
|
|
33024
|
+
* The **`hostname`** read-only property of the URLPattern interface is a string containing the pattern used to match the hostname part of a URL.
|
|
33025
|
+
*
|
|
33026
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hostname)
|
|
33027
|
+
*/
|
|
33028
|
+
readonly hostname: string;
|
|
33029
|
+
/**
|
|
33030
|
+
* The **`password`** read-only property of the URLPattern interface is a string containing the pattern used to match the password part of a URL.
|
|
33031
|
+
*
|
|
33032
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/password)
|
|
33033
|
+
*/
|
|
33034
|
+
readonly password: string;
|
|
33035
|
+
/**
|
|
33036
|
+
* The **`pathname`** read-only property of the URLPattern interface is a string containing the pattern used to match the pathname part of a URL.
|
|
33037
|
+
*
|
|
33038
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/pathname)
|
|
33039
|
+
*/
|
|
33040
|
+
readonly pathname: string;
|
|
33041
|
+
/**
|
|
33042
|
+
* The **`port`** read-only property of the URLPattern interface is a string containing the pattern used to match the port part of a URL.
|
|
33043
|
+
*
|
|
33044
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/port)
|
|
33045
|
+
*/
|
|
33046
|
+
readonly port: string;
|
|
33047
|
+
/**
|
|
33048
|
+
* The **`protocol`** read-only property of the URLPattern interface is a string containing the pattern used to match the protocol part of a URL.
|
|
33049
|
+
*
|
|
33050
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/protocol)
|
|
33051
|
+
*/
|
|
33052
|
+
readonly protocol: string;
|
|
33053
|
+
/**
|
|
33054
|
+
* The **`search`** read-only property of the URLPattern interface is a string containing the pattern used to match the search part of a URL.
|
|
33055
|
+
*
|
|
33056
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/search)
|
|
33057
|
+
*/
|
|
33058
|
+
readonly search: string;
|
|
33059
|
+
/**
|
|
33060
|
+
* The **`username`** read-only property of the URLPattern interface is a string containing the pattern used to match the username part of a URL.
|
|
33061
|
+
*
|
|
33062
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/username)
|
|
33063
|
+
*/
|
|
33064
|
+
readonly username: string;
|
|
33065
|
+
/**
|
|
33066
|
+
* The **`exec()`** method of the URLPattern interface takes a URL or object of URL parts, and returns either an object containing the results of matching the URL to the pattern, or `null` if the URL does not match the pattern.
|
|
33067
|
+
*
|
|
33068
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/exec)
|
|
33069
|
+
*/
|
|
33070
|
+
exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
|
|
33071
|
+
/**
|
|
33072
|
+
* The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
|
|
33073
|
+
*
|
|
33074
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
|
|
33075
|
+
*/
|
|
33076
|
+
test(input?: URLPatternInput, baseURL?: string | URL): boolean;
|
|
33077
|
+
}
|
|
33078
|
+
|
|
33079
|
+
declare var URLPattern: {
|
|
33080
|
+
prototype: URLPattern;
|
|
33081
|
+
new(input: URLPatternInput, baseURL: string | URL, options?: URLPatternOptions): URLPattern;
|
|
33082
|
+
new(input?: URLPatternInput, options?: URLPatternOptions): URLPattern;
|
|
33083
|
+
};
|
|
33084
|
+
|
|
32766
33085
|
/**
|
|
32767
33086
|
* The **`URLSearchParams`** interface defines utility methods to work with the query string of a URL.
|
|
32768
33087
|
*
|
|
@@ -39241,6 +39560,7 @@ type RequestInfo = Request | string;
|
|
|
39241
39560
|
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
|
|
39242
39561
|
type TimerHandler = string | Function;
|
|
39243
39562
|
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | AudioData | VideoFrame | RTCDataChannel | ArrayBuffer;
|
|
39563
|
+
type URLPatternInput = string | URLPatternInit;
|
|
39244
39564
|
type Uint32List = Uint32Array | GLuint[];
|
|
39245
39565
|
type VibratePattern = number | number[];
|
|
39246
39566
|
type WindowProxy = Window;
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -2295,6 +2295,39 @@ interface ULongRange {
|
|
|
2295
2295
|
min?: number;
|
|
2296
2296
|
}
|
|
2297
2297
|
|
|
2298
|
+
interface URLPatternComponentResult {
|
|
2299
|
+
groups?: Record<string, string | undefined>;
|
|
2300
|
+
input?: string;
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2303
|
+
interface URLPatternInit {
|
|
2304
|
+
baseURL?: string;
|
|
2305
|
+
hash?: string;
|
|
2306
|
+
hostname?: string;
|
|
2307
|
+
password?: string;
|
|
2308
|
+
pathname?: string;
|
|
2309
|
+
port?: string;
|
|
2310
|
+
protocol?: string;
|
|
2311
|
+
search?: string;
|
|
2312
|
+
username?: string;
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
|
+
interface URLPatternOptions {
|
|
2316
|
+
ignoreCase?: boolean;
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2319
|
+
interface URLPatternResult {
|
|
2320
|
+
hash?: URLPatternComponentResult;
|
|
2321
|
+
hostname?: URLPatternComponentResult;
|
|
2322
|
+
inputs?: URLPatternInput[];
|
|
2323
|
+
password?: URLPatternComponentResult;
|
|
2324
|
+
pathname?: URLPatternComponentResult;
|
|
2325
|
+
port?: URLPatternComponentResult;
|
|
2326
|
+
protocol?: URLPatternComponentResult;
|
|
2327
|
+
search?: URLPatternComponentResult;
|
|
2328
|
+
username?: URLPatternComponentResult;
|
|
2329
|
+
}
|
|
2330
|
+
|
|
2298
2331
|
interface UnderlyingByteSource {
|
|
2299
2332
|
autoAllocateChunkSize?: number;
|
|
2300
2333
|
cancel?: UnderlyingSourceCancelCallback;
|
|
@@ -5402,6 +5435,39 @@ declare var CSSNumericValue: {
|
|
|
5402
5435
|
parse(cssText: string): CSSNumericValue;
|
|
5403
5436
|
};
|
|
5404
5437
|
|
|
5438
|
+
/**
|
|
5439
|
+
* The **`CSSPageDescriptors`** interface represents a CSS declaration block for an @page at-rule.
|
|
5440
|
+
*
|
|
5441
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors)
|
|
5442
|
+
*/
|
|
5443
|
+
interface CSSPageDescriptors extends CSSStyleDeclaration {
|
|
5444
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin) */
|
|
5445
|
+
margin: string;
|
|
5446
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-bottom) */
|
|
5447
|
+
"margin-bottom": string;
|
|
5448
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-left) */
|
|
5449
|
+
"margin-left": string;
|
|
5450
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-right) */
|
|
5451
|
+
"margin-right": string;
|
|
5452
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-top) */
|
|
5453
|
+
"margin-top": string;
|
|
5454
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#marginbottom) */
|
|
5455
|
+
marginBottom: string;
|
|
5456
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#marginleft) */
|
|
5457
|
+
marginLeft: string;
|
|
5458
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#marginright) */
|
|
5459
|
+
marginRight: string;
|
|
5460
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margintop) */
|
|
5461
|
+
marginTop: string;
|
|
5462
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#size) */
|
|
5463
|
+
size: string;
|
|
5464
|
+
}
|
|
5465
|
+
|
|
5466
|
+
declare var CSSPageDescriptors: {
|
|
5467
|
+
prototype: CSSPageDescriptors;
|
|
5468
|
+
new(): CSSPageDescriptors;
|
|
5469
|
+
};
|
|
5470
|
+
|
|
5405
5471
|
/**
|
|
5406
5472
|
* **`CSSPageRule`** represents a single CSS @page rule.
|
|
5407
5473
|
*
|
|
@@ -5419,7 +5485,7 @@ interface CSSPageRule extends CSSGroupingRule {
|
|
|
5419
5485
|
*
|
|
5420
5486
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/style)
|
|
5421
5487
|
*/
|
|
5422
|
-
get style():
|
|
5488
|
+
get style(): CSSPageDescriptors;
|
|
5423
5489
|
set style(cssText: string);
|
|
5424
5490
|
}
|
|
5425
5491
|
|
|
@@ -5447,6 +5513,185 @@ declare var CSSPerspective: {
|
|
|
5447
5513
|
new(length: CSSPerspectiveValue): CSSPerspective;
|
|
5448
5514
|
};
|
|
5449
5515
|
|
|
5516
|
+
/**
|
|
5517
|
+
* The **`CSSPositionTryDescriptors`** interface defines properties that represent the list of CSS descriptors that can be set in the body of a @position-try at-rule.
|
|
5518
|
+
*
|
|
5519
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors)
|
|
5520
|
+
*/
|
|
5521
|
+
interface CSSPositionTryDescriptors extends CSSStyleDeclaration {
|
|
5522
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5523
|
+
"align-self": string;
|
|
5524
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5525
|
+
alignSelf: string;
|
|
5526
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5527
|
+
"block-size": string;
|
|
5528
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5529
|
+
blockSize: string;
|
|
5530
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5531
|
+
bottom: string;
|
|
5532
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5533
|
+
height: string;
|
|
5534
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5535
|
+
"inline-size": string;
|
|
5536
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5537
|
+
inlineSize: string;
|
|
5538
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5539
|
+
inset: string;
|
|
5540
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5541
|
+
"inset-block": string;
|
|
5542
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5543
|
+
"inset-block-end": string;
|
|
5544
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5545
|
+
"inset-block-start": string;
|
|
5546
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5547
|
+
"inset-inline": string;
|
|
5548
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5549
|
+
"inset-inline-end": string;
|
|
5550
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5551
|
+
"inset-inline-start": string;
|
|
5552
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5553
|
+
insetBlock: string;
|
|
5554
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5555
|
+
insetBlockEnd: string;
|
|
5556
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5557
|
+
insetBlockStart: string;
|
|
5558
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5559
|
+
insetInline: string;
|
|
5560
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5561
|
+
insetInlineEnd: string;
|
|
5562
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5563
|
+
insetInlineStart: string;
|
|
5564
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5565
|
+
"justify-self": string;
|
|
5566
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5567
|
+
justifySelf: string;
|
|
5568
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5569
|
+
left: string;
|
|
5570
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5571
|
+
margin: string;
|
|
5572
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5573
|
+
"margin-block": string;
|
|
5574
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5575
|
+
"margin-block-end": string;
|
|
5576
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5577
|
+
"margin-block-start": string;
|
|
5578
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5579
|
+
"margin-bottom": string;
|
|
5580
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5581
|
+
"margin-inline": string;
|
|
5582
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5583
|
+
"margin-inline-end": string;
|
|
5584
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5585
|
+
"margin-inline-start": string;
|
|
5586
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5587
|
+
"margin-left": string;
|
|
5588
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5589
|
+
"margin-right": string;
|
|
5590
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5591
|
+
"margin-top": string;
|
|
5592
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5593
|
+
marginBlock: string;
|
|
5594
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5595
|
+
marginBlockEnd: string;
|
|
5596
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5597
|
+
marginBlockStart: string;
|
|
5598
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5599
|
+
marginBottom: string;
|
|
5600
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5601
|
+
marginInline: string;
|
|
5602
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5603
|
+
marginInlineEnd: string;
|
|
5604
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5605
|
+
marginInlineStart: string;
|
|
5606
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5607
|
+
marginLeft: string;
|
|
5608
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5609
|
+
marginRight: string;
|
|
5610
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5611
|
+
marginTop: string;
|
|
5612
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5613
|
+
"max-block-size": string;
|
|
5614
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5615
|
+
"max-height": string;
|
|
5616
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5617
|
+
"max-inline-size": string;
|
|
5618
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5619
|
+
"max-width": string;
|
|
5620
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5621
|
+
maxBlockSize: string;
|
|
5622
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5623
|
+
maxHeight: string;
|
|
5624
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5625
|
+
maxInlineSize: string;
|
|
5626
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5627
|
+
maxWidth: string;
|
|
5628
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5629
|
+
"min-block-size": string;
|
|
5630
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5631
|
+
"min-height": string;
|
|
5632
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5633
|
+
"min-inline-size": string;
|
|
5634
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5635
|
+
"min-width": string;
|
|
5636
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5637
|
+
minBlockSize: string;
|
|
5638
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5639
|
+
minHeight: string;
|
|
5640
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5641
|
+
minInlineSize: string;
|
|
5642
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5643
|
+
minWidth: string;
|
|
5644
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5645
|
+
"place-self": string;
|
|
5646
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5647
|
+
placeSelf: string;
|
|
5648
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5649
|
+
"position-anchor": string;
|
|
5650
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5651
|
+
"position-area": string;
|
|
5652
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5653
|
+
positionAnchor: string;
|
|
5654
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5655
|
+
positionArea: string;
|
|
5656
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5657
|
+
right: string;
|
|
5658
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5659
|
+
top: string;
|
|
5660
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5661
|
+
width: string;
|
|
5662
|
+
}
|
|
5663
|
+
|
|
5664
|
+
declare var CSSPositionTryDescriptors: {
|
|
5665
|
+
prototype: CSSPositionTryDescriptors;
|
|
5666
|
+
new(): CSSPositionTryDescriptors;
|
|
5667
|
+
};
|
|
5668
|
+
|
|
5669
|
+
/**
|
|
5670
|
+
* The **`CSSPositionTryRule`** interface describes an object representing a @position-try at-rule.
|
|
5671
|
+
*
|
|
5672
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule)
|
|
5673
|
+
*/
|
|
5674
|
+
interface CSSPositionTryRule extends CSSRule {
|
|
5675
|
+
/**
|
|
5676
|
+
* The **`name`** read-only property of the CSSPositionTryRule interface represents the name of the position try fallback option specified by the `@position-try` at-rule's dashed-ident.
|
|
5677
|
+
*
|
|
5678
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/name)
|
|
5679
|
+
*/
|
|
5680
|
+
readonly name: string;
|
|
5681
|
+
/**
|
|
5682
|
+
* The **`style`** read-only property of the CSSPositionTryRule interface returns a CSSPositionTryDescriptors object representing the declarations set in the body of the `@position-try` at-rule.
|
|
5683
|
+
*
|
|
5684
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/style)
|
|
5685
|
+
*/
|
|
5686
|
+
get style(): CSSPositionTryDescriptors;
|
|
5687
|
+
set style(cssText: string);
|
|
5688
|
+
}
|
|
5689
|
+
|
|
5690
|
+
declare var CSSPositionTryRule: {
|
|
5691
|
+
prototype: CSSPositionTryRule;
|
|
5692
|
+
new(): CSSPositionTryRule;
|
|
5693
|
+
};
|
|
5694
|
+
|
|
5450
5695
|
/**
|
|
5451
5696
|
* The **`CSSPropertyRule`** interface of the CSS Properties and Values API represents a single CSS @property rule.
|
|
5452
5697
|
*
|
|
@@ -32785,6 +33030,81 @@ declare var URL: {
|
|
|
32785
33030
|
type webkitURL = URL;
|
|
32786
33031
|
declare var webkitURL: typeof URL;
|
|
32787
33032
|
|
|
33033
|
+
/**
|
|
33034
|
+
* The **`URLPattern`** interface of the URL Pattern API matches URLs or parts of URLs against a pattern.
|
|
33035
|
+
*
|
|
33036
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern)
|
|
33037
|
+
*/
|
|
33038
|
+
interface URLPattern {
|
|
33039
|
+
readonly hasRegExpGroups: boolean;
|
|
33040
|
+
/**
|
|
33041
|
+
* The **`hash`** read-only property of the URLPattern interface is a string containing the pattern used to match the fragment part of a URL.
|
|
33042
|
+
*
|
|
33043
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hash)
|
|
33044
|
+
*/
|
|
33045
|
+
readonly hash: string;
|
|
33046
|
+
/**
|
|
33047
|
+
* The **`hostname`** read-only property of the URLPattern interface is a string containing the pattern used to match the hostname part of a URL.
|
|
33048
|
+
*
|
|
33049
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hostname)
|
|
33050
|
+
*/
|
|
33051
|
+
readonly hostname: string;
|
|
33052
|
+
/**
|
|
33053
|
+
* The **`password`** read-only property of the URLPattern interface is a string containing the pattern used to match the password part of a URL.
|
|
33054
|
+
*
|
|
33055
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/password)
|
|
33056
|
+
*/
|
|
33057
|
+
readonly password: string;
|
|
33058
|
+
/**
|
|
33059
|
+
* The **`pathname`** read-only property of the URLPattern interface is a string containing the pattern used to match the pathname part of a URL.
|
|
33060
|
+
*
|
|
33061
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/pathname)
|
|
33062
|
+
*/
|
|
33063
|
+
readonly pathname: string;
|
|
33064
|
+
/**
|
|
33065
|
+
* The **`port`** read-only property of the URLPattern interface is a string containing the pattern used to match the port part of a URL.
|
|
33066
|
+
*
|
|
33067
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/port)
|
|
33068
|
+
*/
|
|
33069
|
+
readonly port: string;
|
|
33070
|
+
/**
|
|
33071
|
+
* The **`protocol`** read-only property of the URLPattern interface is a string containing the pattern used to match the protocol part of a URL.
|
|
33072
|
+
*
|
|
33073
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/protocol)
|
|
33074
|
+
*/
|
|
33075
|
+
readonly protocol: string;
|
|
33076
|
+
/**
|
|
33077
|
+
* The **`search`** read-only property of the URLPattern interface is a string containing the pattern used to match the search part of a URL.
|
|
33078
|
+
*
|
|
33079
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/search)
|
|
33080
|
+
*/
|
|
33081
|
+
readonly search: string;
|
|
33082
|
+
/**
|
|
33083
|
+
* The **`username`** read-only property of the URLPattern interface is a string containing the pattern used to match the username part of a URL.
|
|
33084
|
+
*
|
|
33085
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/username)
|
|
33086
|
+
*/
|
|
33087
|
+
readonly username: string;
|
|
33088
|
+
/**
|
|
33089
|
+
* The **`exec()`** method of the URLPattern interface takes a URL or object of URL parts, and returns either an object containing the results of matching the URL to the pattern, or `null` if the URL does not match the pattern.
|
|
33090
|
+
*
|
|
33091
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/exec)
|
|
33092
|
+
*/
|
|
33093
|
+
exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
|
|
33094
|
+
/**
|
|
33095
|
+
* The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
|
|
33096
|
+
*
|
|
33097
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
|
|
33098
|
+
*/
|
|
33099
|
+
test(input?: URLPatternInput, baseURL?: string | URL): boolean;
|
|
33100
|
+
}
|
|
33101
|
+
|
|
33102
|
+
declare var URLPattern: {
|
|
33103
|
+
prototype: URLPattern;
|
|
33104
|
+
new(input: URLPatternInput, baseURL: string | URL, options?: URLPatternOptions): URLPattern;
|
|
33105
|
+
new(input?: URLPatternInput, options?: URLPatternOptions): URLPattern;
|
|
33106
|
+
};
|
|
33107
|
+
|
|
32788
33108
|
/**
|
|
32789
33109
|
* The **`URLSearchParams`** interface defines utility methods to work with the query string of a URL.
|
|
32790
33110
|
*
|
|
@@ -39263,6 +39583,7 @@ type RequestInfo = Request | string;
|
|
|
39263
39583
|
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
|
|
39264
39584
|
type TimerHandler = string | Function;
|
|
39265
39585
|
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | AudioData | VideoFrame | RTCDataChannel | ArrayBuffer;
|
|
39586
|
+
type URLPatternInput = string | URLPatternInit;
|
|
39266
39587
|
type Uint32List = Uint32Array | GLuint[];
|
|
39267
39588
|
type VibratePattern = number | number[];
|
|
39268
39589
|
type WindowProxy = Window;
|