@markuplint/types 3.0.0-alpha.6 → 3.0.0-dev.24
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 +12 -8
- package/lib/check-multi-types.d.ts +1 -4
- package/lib/css-syntax.js +6 -6
- package/lib/get-candidate.d.ts +1 -4
- package/lib/match-result.d.ts +8 -21
- package/lib/primitive/is-uint.d.ts +3 -6
- package/lib/primitive/split-unit.d.ts +2 -2
- package/lib/token/token-collection.d.ts +55 -64
- package/lib/token/token.d.ts +52 -57
- package/lib/types.d.ts +55 -79
- package/lib/types.schema.d.ts +31 -1033
- package/lib/whatwg/check-datetime/datetime-tokens.d.ts +1 -21
- package/lib/whatwg/check-datetime/time-zone-offset-string.d.ts +1 -1
- package/lib/whatwg/check-mime-type.d.ts +4 -4
- package/package.json +6 -5
- package/patches/css-tree+2.3.1.patch +23 -0
- package/src/css-syntax.ts +3 -3
- package/src/types.schema.ts +67 -16
- package/tsconfig.tsbuildinfo +1 -1
- package/types.schema.json +67 -16
|
@@ -1,23 +1,3 @@
|
|
|
1
1
|
import type { TokenEachCheck } from '../../token/token-collection';
|
|
2
|
-
export declare const datetimeTokenCheck: Record<
|
|
3
|
-
| 'year'
|
|
4
|
-
| 'month'
|
|
5
|
-
| 'date'
|
|
6
|
-
| 'hour'
|
|
7
|
-
| 'minute'
|
|
8
|
-
| 'second'
|
|
9
|
-
| 'secondFractionalPart'
|
|
10
|
-
| 'week'
|
|
11
|
-
| 'hyphen'
|
|
12
|
-
| 'colon'
|
|
13
|
-
| 'extra'
|
|
14
|
-
| 'colonOrEnd'
|
|
15
|
-
| 'decimalPointOrEnd'
|
|
16
|
-
| 'localDateTimeSeparator'
|
|
17
|
-
| 'normalizedlocalDateTimeSeparator'
|
|
18
|
-
| 'plusOrMinusSign'
|
|
19
|
-
| 'weekSign',
|
|
20
|
-
TokenEachCheck
|
|
21
|
-
> &
|
|
22
|
-
Record<'_year' | '_month', number | null>;
|
|
2
|
+
export declare const datetimeTokenCheck: Record<'year' | 'month' | 'date' | 'hour' | 'minute' | 'second' | 'secondFractionalPart' | 'week' | 'hyphen' | 'colon' | 'extra' | 'colonOrEnd' | 'decimalPointOrEnd' | 'localDateTimeSeparator' | 'normalizedlocalDateTimeSeparator' | 'plusOrMinusSign' | 'weekSign', TokenEachCheck> & Record<'_year' | '_month', number | null>;
|
|
23
3
|
export declare function getMaxWeekNum(year: number): number;
|
|
@@ -4,4 +4,4 @@ import type { CustomSyntaxChecker } from '../../types';
|
|
|
4
4
|
* @see https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#time-zones
|
|
5
5
|
*/
|
|
6
6
|
export declare const checkTimeZoneOffsetString: CustomSyntaxChecker;
|
|
7
|
-
export declare function parseTimeZone(zone: string | Token): import(
|
|
7
|
+
export declare function parseTimeZone(zone: string | Token): import("../../types").Result;
|
|
@@ -4,8 +4,8 @@ import type { CustomSyntaxChecker } from '../types';
|
|
|
4
4
|
* @see https://mimesniff.spec.whatwg.org/#valid-mime-type
|
|
5
5
|
*/
|
|
6
6
|
export declare const checkMIMEType: CustomSyntaxChecker<{
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
/**
|
|
8
|
+
* @see https://mimesniff.spec.whatwg.org/#valid-mime-type-with-no-parameters
|
|
9
|
+
*/
|
|
10
|
+
withoutParameters?: boolean;
|
|
11
11
|
}>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/types",
|
|
3
|
-
"version": "3.0.0-
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "3.0.0-dev.24+f55f5eff",
|
|
4
|
+
"description": "Type declaration and value checker",
|
|
5
5
|
"repository": "git@github.com:markuplint/markuplint.git",
|
|
6
6
|
"author": "Yusuke Hirao <yusukehirao@me.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -12,22 +12,23 @@
|
|
|
12
12
|
"access": "public"
|
|
13
13
|
},
|
|
14
14
|
"scripts": {
|
|
15
|
+
"postinstall": "patch-package",
|
|
15
16
|
"build": "tsc",
|
|
16
17
|
"clean": "tsc --build --clean",
|
|
17
18
|
"schema": "ts-node './gen/types.ts'; json2ts './types.schema.json' > './src/types.schema.ts'; prettier './src/types.schema.ts' './types.schema.json' --write; eslint './src/types.schema.ts' --fix; tsc;"
|
|
18
19
|
},
|
|
19
20
|
"dependencies": {
|
|
20
21
|
"bcp-47": "1",
|
|
21
|
-
"css-tree": "1",
|
|
22
|
+
"css-tree": "^2.3.1",
|
|
22
23
|
"debug": "^4.3.4",
|
|
23
24
|
"leven": "3",
|
|
24
25
|
"whatwg-mimetype": "2"
|
|
25
26
|
},
|
|
26
27
|
"devDependencies": {
|
|
27
28
|
"@types/bcp-47": "1",
|
|
28
|
-
"@types/css-tree": "
|
|
29
|
+
"@types/css-tree": "^2.0.0",
|
|
29
30
|
"@types/debug": "^4.1.7",
|
|
30
31
|
"@types/whatwg-mimetype": "2"
|
|
31
32
|
},
|
|
32
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "f55f5eff289296feba26f20b0c085e0528c80ac4"
|
|
33
34
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
diff --git a/node_modules/css-tree/package.json b/node_modules/css-tree/package.json
|
|
2
|
+
index 934e699..6be2f82 100644
|
|
3
|
+
--- a/node_modules/css-tree/package.json
|
|
4
|
+
+++ b/node_modules/css-tree/package.json
|
|
5
|
+
@@ -70,6 +70,18 @@
|
|
6
|
+
"./utils": {
|
|
7
|
+
"import": "./lib/utils/index.js",
|
|
8
|
+
"require": "./cjs/utils/index.cjs"
|
|
9
|
+
+ },
|
|
10
|
+
+ "./lexer/error": {
|
|
11
|
+
+ "import": "./lib/lexer/error.js",
|
|
12
|
+
+ "require": "./cjs/lexer/error.cjs"
|
|
13
|
+
+ },
|
|
14
|
+
+ "./lexer/match": {
|
|
15
|
+
+ "import": "./lib/lexer/match.js",
|
|
16
|
+
+ "require": "./cjs/lexer/match.cjs"
|
|
17
|
+
+ },
|
|
18
|
+
+ "./lexer/prepare-tokens": {
|
|
19
|
+
+ "import": "./lib/lexer/prepare-tokens.js",
|
|
20
|
+
+ "require": "./cjs/lexer/prepare-tokens.cjs"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"browser": {
|
package/src/css-syntax.ts
CHANGED
|
@@ -3,11 +3,11 @@ import type { CustomCssSyntax, CssSyntaxTokenizer, CSSSyntaxToken, GetNextToken,
|
|
|
3
3
|
// @ts-ignore
|
|
4
4
|
import csstree from 'css-tree';
|
|
5
5
|
// @ts-ignore
|
|
6
|
-
import { SyntaxMatchError } from 'css-tree/
|
|
6
|
+
import { SyntaxMatchError } from 'css-tree/lexer/error';
|
|
7
7
|
// @ts-ignore
|
|
8
|
-
import { matchAsTree } from 'css-tree/
|
|
8
|
+
import { matchAsTree } from 'css-tree/lexer/match';
|
|
9
9
|
// @ts-ignore
|
|
10
|
-
import prepareTokens from 'css-tree/
|
|
10
|
+
import prepareTokens from 'css-tree/lexer/prepare-tokens';
|
|
11
11
|
|
|
12
12
|
import { log } from './debug';
|
|
13
13
|
import { tokenizers } from './defs';
|
package/src/types.schema.ts
CHANGED
|
@@ -108,12 +108,14 @@ export type CssSyntax =
|
|
|
108
108
|
| "<'-webkit-text-stroke-width'>"
|
|
109
109
|
| "<'-webkit-touch-callout'>"
|
|
110
110
|
| "<'-webkit-user-modify'>"
|
|
111
|
+
| "<'accent-color'>"
|
|
111
112
|
| "<'align-content'>"
|
|
112
113
|
| "<'align-items'>"
|
|
113
114
|
| "<'align-self'>"
|
|
114
115
|
| "<'align-tracks'>"
|
|
115
116
|
| "<'all'>"
|
|
116
117
|
| "<'animation'>"
|
|
118
|
+
| "<'animation-composition'>"
|
|
117
119
|
| "<'animation-delay'>"
|
|
118
120
|
| "<'animation-direction'>"
|
|
119
121
|
| "<'animation-duration'>"
|
|
@@ -122,6 +124,7 @@ export type CssSyntax =
|
|
|
122
124
|
| "<'animation-name'>"
|
|
123
125
|
| "<'animation-play-state'>"
|
|
124
126
|
| "<'animation-timing-function'>"
|
|
127
|
+
| "<'animation-timeline'>"
|
|
125
128
|
| "<'appearance'>"
|
|
126
129
|
| "<'aspect-ratio'>"
|
|
127
130
|
| "<'azimuth'>"
|
|
@@ -218,12 +221,15 @@ export type CssSyntax =
|
|
|
218
221
|
| "<'break-before'>"
|
|
219
222
|
| "<'break-inside'>"
|
|
220
223
|
| "<'caption-side'>"
|
|
224
|
+
| "<'caret'>"
|
|
221
225
|
| "<'caret-color'>"
|
|
226
|
+
| "<'caret-shape'>"
|
|
222
227
|
| "<'clear'>"
|
|
223
228
|
| "<'clip'>"
|
|
224
229
|
| "<'clip-path'>"
|
|
225
230
|
| "<'color'>"
|
|
226
|
-
| "<'color-adjust'>"
|
|
231
|
+
| "<'print-color-adjust'>"
|
|
232
|
+
| "<'color-scheme'>"
|
|
227
233
|
| "<'column-count'>"
|
|
228
234
|
| "<'column-fill'>"
|
|
229
235
|
| "<'column-gap'>"
|
|
@@ -235,7 +241,13 @@ export type CssSyntax =
|
|
|
235
241
|
| "<'column-width'>"
|
|
236
242
|
| "<'columns'>"
|
|
237
243
|
| "<'contain'>"
|
|
244
|
+
| "<'contain-intrinsic-size'>"
|
|
245
|
+
| "<'contain-intrinsic-block-size'>"
|
|
246
|
+
| "<'contain-intrinsic-height'>"
|
|
247
|
+
| "<'contain-intrinsic-inline-size'>"
|
|
248
|
+
| "<'contain-intrinsic-width'>"
|
|
238
249
|
| "<'content'>"
|
|
250
|
+
| "<'content-visibility'>"
|
|
239
251
|
| "<'counter-increment'>"
|
|
240
252
|
| "<'counter-reset'>"
|
|
241
253
|
| "<'counter-set'>"
|
|
@@ -273,6 +285,7 @@ export type CssSyntax =
|
|
|
273
285
|
| "<'font-variant-numeric'>"
|
|
274
286
|
| "<'font-variant-position'>"
|
|
275
287
|
| "<'font-weight'>"
|
|
288
|
+
| "<'forced-color-adjust'>"
|
|
276
289
|
| "<'gap'>"
|
|
277
290
|
| "<'grid'>"
|
|
278
291
|
| "<'grid-area'>"
|
|
@@ -294,6 +307,7 @@ export type CssSyntax =
|
|
|
294
307
|
| "<'grid-template-rows'>"
|
|
295
308
|
| "<'hanging-punctuation'>"
|
|
296
309
|
| "<'height'>"
|
|
310
|
+
| "<'hyphenate-character'>"
|
|
297
311
|
| "<'hyphens'>"
|
|
298
312
|
| "<'image-orientation'>"
|
|
299
313
|
| "<'image-rendering'>"
|
|
@@ -302,6 +316,7 @@ export type CssSyntax =
|
|
|
302
316
|
| "<'initial-letter'>"
|
|
303
317
|
| "<'initial-letter-align'>"
|
|
304
318
|
| "<'inline-size'>"
|
|
319
|
+
| "<'input-security'>"
|
|
305
320
|
| "<'inset'>"
|
|
306
321
|
| "<'inset-block'>"
|
|
307
322
|
| "<'inset-block-end'>"
|
|
@@ -354,6 +369,8 @@ export type CssSyntax =
|
|
|
354
369
|
| "<'mask-size'>"
|
|
355
370
|
| "<'mask-type'>"
|
|
356
371
|
| "<'masonry-auto-flow'>"
|
|
372
|
+
| "<'math-depth'>"
|
|
373
|
+
| "<'math-shift'>"
|
|
357
374
|
| "<'math-style'>"
|
|
358
375
|
| "<'max-block-size'>"
|
|
359
376
|
| "<'max-height'>"
|
|
@@ -385,6 +402,7 @@ export type CssSyntax =
|
|
|
385
402
|
| "<'overflow-anchor'>"
|
|
386
403
|
| "<'overflow-block'>"
|
|
387
404
|
| "<'overflow-clip-box'>"
|
|
405
|
+
| "<'overflow-clip-margin'>"
|
|
388
406
|
| "<'overflow-inline'>"
|
|
389
407
|
| "<'overflow-wrap'>"
|
|
390
408
|
| "<'overflow-x'>"
|
|
@@ -460,6 +478,9 @@ export type CssSyntax =
|
|
|
460
478
|
| "<'scroll-snap-type'>"
|
|
461
479
|
| "<'scroll-snap-type-x'>"
|
|
462
480
|
| "<'scroll-snap-type-y'>"
|
|
481
|
+
| "<'scroll-timeline'>"
|
|
482
|
+
| "<'scroll-timeline-axis'>"
|
|
483
|
+
| "<'scroll-timeline-name'>"
|
|
463
484
|
| "<'shape-image-threshold'>"
|
|
464
485
|
| "<'shape-margin'>"
|
|
465
486
|
| "<'shape-outside'>"
|
|
@@ -591,13 +612,18 @@ export type CssSyntax =
|
|
|
591
612
|
| "<'voice-rate'>"
|
|
592
613
|
| "<'voice-stress'>"
|
|
593
614
|
| "<'voice-volume'>"
|
|
615
|
+
| '<abs()>'
|
|
594
616
|
| '<absolute-size>'
|
|
617
|
+
| '<acos()>'
|
|
595
618
|
| '<alpha-value>'
|
|
596
619
|
| '<angle-percentage>'
|
|
597
620
|
| '<angular-color-hint>'
|
|
598
621
|
| '<angular-color-stop>'
|
|
599
622
|
| '<angular-color-stop-list>'
|
|
600
623
|
| '<animateable-feature>'
|
|
624
|
+
| '<asin()>'
|
|
625
|
+
| '<atan()>'
|
|
626
|
+
| '<atan2()>'
|
|
601
627
|
| '<attachment>'
|
|
602
628
|
| '<attr()>'
|
|
603
629
|
| '<attr-matcher>'
|
|
@@ -605,6 +631,7 @@ export type CssSyntax =
|
|
|
605
631
|
| '<attribute-selector>'
|
|
606
632
|
| '<auto-repeat>'
|
|
607
633
|
| '<auto-track-list>'
|
|
634
|
+
| '<axis>'
|
|
608
635
|
| '<baseline-position>'
|
|
609
636
|
| '<basic-shape>'
|
|
610
637
|
| '<bg-image>'
|
|
@@ -619,6 +646,7 @@ export type CssSyntax =
|
|
|
619
646
|
| '<calc-sum>'
|
|
620
647
|
| '<calc-product>'
|
|
621
648
|
| '<calc-value>'
|
|
649
|
+
| '<calc-constant>'
|
|
622
650
|
| '<cf-final-image>'
|
|
623
651
|
| '<cf-mixing-image>'
|
|
624
652
|
| '<circle()>'
|
|
@@ -646,7 +674,10 @@ export type CssSyntax =
|
|
|
646
674
|
| '<content-position>'
|
|
647
675
|
| '<content-replacement>'
|
|
648
676
|
| '<contrast()>'
|
|
677
|
+
| '<cos()>'
|
|
678
|
+
| '<counter>'
|
|
649
679
|
| '<counter()>'
|
|
680
|
+
| '<counter-name>'
|
|
650
681
|
| '<counter-style>'
|
|
651
682
|
| '<counter-style-name>'
|
|
652
683
|
| '<counters()>'
|
|
@@ -667,6 +698,7 @@ export type CssSyntax =
|
|
|
667
698
|
| '<ellipse()>'
|
|
668
699
|
| '<ending-shape>'
|
|
669
700
|
| '<env()>'
|
|
701
|
+
| '<exp()>'
|
|
670
702
|
| '<explicit-track-list>'
|
|
671
703
|
| '<family-name>'
|
|
672
704
|
| '<feature-tag-value>'
|
|
@@ -680,7 +712,6 @@ export type CssSyntax =
|
|
|
680
712
|
| '<filter-function>'
|
|
681
713
|
| '<filter-function-list>'
|
|
682
714
|
| '<final-bg-layer>'
|
|
683
|
-
| '<fit-content()>'
|
|
684
715
|
| '<fixed-breadth>'
|
|
685
716
|
| '<fixed-repeat>'
|
|
686
717
|
| '<fixed-size>'
|
|
@@ -700,6 +731,8 @@ export type CssSyntax =
|
|
|
700
731
|
| '<hsla()>'
|
|
701
732
|
| '<hue>'
|
|
702
733
|
| '<hue-rotate()>'
|
|
734
|
+
| '<hwb()>'
|
|
735
|
+
| '<hypot()>'
|
|
703
736
|
| '<id-selector>'
|
|
704
737
|
| '<image>'
|
|
705
738
|
| '<image()>'
|
|
@@ -714,6 +747,10 @@ export type CssSyntax =
|
|
|
714
747
|
| '<keyframe-block>'
|
|
715
748
|
| '<keyframe-block-list>'
|
|
716
749
|
| '<keyframe-selector>'
|
|
750
|
+
| '<lab()>'
|
|
751
|
+
| '<layer()>'
|
|
752
|
+
| '<layer-name>'
|
|
753
|
+
| '<lch()>'
|
|
717
754
|
| '<leader()>'
|
|
718
755
|
| '<leader-type>'
|
|
719
756
|
| '<length-percentage>'
|
|
@@ -724,6 +761,7 @@ export type CssSyntax =
|
|
|
724
761
|
| '<linear-color-hint>'
|
|
725
762
|
| '<linear-color-stop>'
|
|
726
763
|
| '<linear-gradient()>'
|
|
764
|
+
| '<log()>'
|
|
727
765
|
| '<mask-layer>'
|
|
728
766
|
| '<mask-position>'
|
|
729
767
|
| '<mask-reference>'
|
|
@@ -749,6 +787,8 @@ export type CssSyntax =
|
|
|
749
787
|
| '<mf-value>'
|
|
750
788
|
| '<min()>'
|
|
751
789
|
| '<minmax()>'
|
|
790
|
+
| '<mod()>'
|
|
791
|
+
| '<name-repeat>'
|
|
752
792
|
| '<named-color>'
|
|
753
793
|
| '<namespace-prefix>'
|
|
754
794
|
| '<ns-prefix>'
|
|
@@ -765,22 +805,28 @@ export type CssSyntax =
|
|
|
765
805
|
| '<page-margin-box-type>'
|
|
766
806
|
| '<page-selector-list>'
|
|
767
807
|
| '<page-selector>'
|
|
808
|
+
| '<page-size>'
|
|
768
809
|
| '<path()>'
|
|
769
810
|
| '<paint()>'
|
|
770
811
|
| '<perspective()>'
|
|
771
812
|
| '<polygon()>'
|
|
772
813
|
| '<position>'
|
|
814
|
+
| '<pow()>'
|
|
773
815
|
| '<pseudo-class-selector>'
|
|
774
816
|
| '<pseudo-element-selector>'
|
|
775
817
|
| '<pseudo-page>'
|
|
776
818
|
| '<quote>'
|
|
777
819
|
| '<radial-gradient()>'
|
|
820
|
+
| '<ratio>'
|
|
778
821
|
| '<relative-selector>'
|
|
779
822
|
| '<relative-selector-list>'
|
|
780
823
|
| '<relative-size>'
|
|
824
|
+
| '<rem()>'
|
|
781
825
|
| '<repeat-style>'
|
|
826
|
+
| '<repeating-conic-gradient()>'
|
|
782
827
|
| '<repeating-linear-gradient()>'
|
|
783
828
|
| '<repeating-radial-gradient()>'
|
|
829
|
+
| '<reversed-counter-name>'
|
|
784
830
|
| '<rgb()>'
|
|
785
831
|
| '<rgba()>'
|
|
786
832
|
| '<rotate()>'
|
|
@@ -788,14 +834,18 @@ export type CssSyntax =
|
|
|
788
834
|
| '<rotateX()>'
|
|
789
835
|
| '<rotateY()>'
|
|
790
836
|
| '<rotateZ()>'
|
|
837
|
+
| '<round()>'
|
|
838
|
+
| '<rounding-strategy>'
|
|
791
839
|
| '<saturate()>'
|
|
792
840
|
| '<scale()>'
|
|
793
841
|
| '<scale3d()>'
|
|
794
842
|
| '<scaleX()>'
|
|
795
843
|
| '<scaleY()>'
|
|
796
844
|
| '<scaleZ()>'
|
|
845
|
+
| '<scroller>'
|
|
797
846
|
| '<self-position>'
|
|
798
847
|
| '<shape-radius>'
|
|
848
|
+
| '<sign()>'
|
|
799
849
|
| '<skew()>'
|
|
800
850
|
| '<skewX()>'
|
|
801
851
|
| '<skewY()>'
|
|
@@ -805,14 +855,17 @@ export type CssSyntax =
|
|
|
805
855
|
| '<shape>'
|
|
806
856
|
| '<shape-box>'
|
|
807
857
|
| '<side-or-corner>'
|
|
858
|
+
| '<sin()>'
|
|
808
859
|
| '<single-animation>'
|
|
809
860
|
| '<single-animation-direction>'
|
|
810
861
|
| '<single-animation-fill-mode>'
|
|
811
862
|
| '<single-animation-iteration-count>'
|
|
812
863
|
| '<single-animation-play-state>'
|
|
864
|
+
| '<single-animation-timeline>'
|
|
813
865
|
| '<single-transition>'
|
|
814
866
|
| '<single-transition-property>'
|
|
815
867
|
| '<size>'
|
|
868
|
+
| '<sqrt()>'
|
|
816
869
|
| '<step-position>'
|
|
817
870
|
| '<step-timing-function>'
|
|
818
871
|
| '<subclass-selector>'
|
|
@@ -822,12 +875,14 @@ export type CssSyntax =
|
|
|
822
875
|
| '<supports-decl>'
|
|
823
876
|
| '<supports-selector-fn>'
|
|
824
877
|
| '<symbol>'
|
|
878
|
+
| '<tan()>'
|
|
825
879
|
| '<target>'
|
|
826
880
|
| '<target-counter()>'
|
|
827
881
|
| '<target-counters()>'
|
|
828
882
|
| '<target-text()>'
|
|
829
883
|
| '<time-percentage>'
|
|
830
|
-
| '<
|
|
884
|
+
| '<timeline-name>'
|
|
885
|
+
| '<easing-function>'
|
|
831
886
|
| '<track-breadth>'
|
|
832
887
|
| '<track-list>'
|
|
833
888
|
| '<track-repeat>'
|
|
@@ -843,6 +898,7 @@ export type CssSyntax =
|
|
|
843
898
|
| '<type-selector>'
|
|
844
899
|
| '<var()>'
|
|
845
900
|
| '<viewport-length>'
|
|
901
|
+
| '<visual-box>'
|
|
846
902
|
| '<wq-name>'
|
|
847
903
|
| '<-legacy-gradient>'
|
|
848
904
|
| '<-legacy-linear-gradient>'
|
|
@@ -873,23 +929,20 @@ export type CssSyntax =
|
|
|
873
929
|
| '<age>'
|
|
874
930
|
| '<attr-name>'
|
|
875
931
|
| '<attr-fallback>'
|
|
876
|
-
| '<
|
|
932
|
+
| '<bg-clip>'
|
|
877
933
|
| '<bottom>'
|
|
878
934
|
| '<generic-voice>'
|
|
879
935
|
| '<gender>'
|
|
880
936
|
| '<left>'
|
|
881
937
|
| '<mask-image>'
|
|
882
|
-
| '<name-repeat>'
|
|
883
938
|
| '<paint>'
|
|
884
|
-
| '<page-size>'
|
|
885
|
-
| '<ratio>'
|
|
886
939
|
| '<right>'
|
|
940
|
+
| '<scroll-timeline-axis>'
|
|
941
|
+
| '<scroll-timeline-name>'
|
|
942
|
+
| '<single-animation-composition>'
|
|
887
943
|
| '<svg-length>'
|
|
888
944
|
| '<svg-writing-mode>'
|
|
889
945
|
| '<top>'
|
|
890
|
-
| '<track-group>'
|
|
891
|
-
| '<track-list-v0>'
|
|
892
|
-
| '<track-minmax>'
|
|
893
946
|
| '<x>'
|
|
894
947
|
| '<y>'
|
|
895
948
|
| '<declaration>'
|
|
@@ -898,7 +951,6 @@ export type CssSyntax =
|
|
|
898
951
|
| '<url-modifier>'
|
|
899
952
|
| '<number-zero-one>'
|
|
900
953
|
| '<number-one-or-greater>'
|
|
901
|
-
| '<positive-integer>'
|
|
902
954
|
| '<-non-standard-display>'
|
|
903
955
|
| '<ident-token>'
|
|
904
956
|
| '<function-token>'
|
|
@@ -926,6 +978,10 @@ export type CssSyntax =
|
|
|
926
978
|
| '<}-token>'
|
|
927
979
|
| '<string>'
|
|
928
980
|
| '<ident>'
|
|
981
|
+
| '<percentage>'
|
|
982
|
+
| '<zero>'
|
|
983
|
+
| '<number>'
|
|
984
|
+
| '<integer>'
|
|
929
985
|
| '<custom-ident>'
|
|
930
986
|
| '<custom-property-name>'
|
|
931
987
|
| '<hex-color>'
|
|
@@ -942,11 +998,6 @@ export type CssSyntax =
|
|
|
942
998
|
| '<resolution>'
|
|
943
999
|
| '<semitones>'
|
|
944
1000
|
| '<time>'
|
|
945
|
-
| '<percentage>'
|
|
946
|
-
| '<zero>'
|
|
947
|
-
| '<number>'
|
|
948
|
-
| '<integer>'
|
|
949
|
-
| '<-ms-legacy-expression>'
|
|
950
1001
|
| '<bcp-47>';
|
|
951
1002
|
export type ExtendedType =
|
|
952
1003
|
| 'Any'
|