@markuplint/types 3.0.0-dev.24 → 3.0.0-dev.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/package.json +3 -2
  2. package/gen/specific-schema.json +0 -98
  3. package/gen/types.ts +0 -66
  4. package/src/check-multi-types.ts +0 -35
  5. package/src/check.spec.ts +0 -83
  6. package/src/check.ts +0 -48
  7. package/src/css-syntax.spec.ts +0 -167
  8. package/src/css-syntax.ts +0 -188
  9. package/src/debug.ts +0 -3
  10. package/src/defs.ts +0 -811
  11. package/src/enum.ts +0 -25
  12. package/src/get-candidate.ts +0 -24
  13. package/src/index.ts +0 -3
  14. package/src/keyword-type.ts +0 -64
  15. package/src/list.spec.ts +0 -133
  16. package/src/list.ts +0 -34
  17. package/src/match-result.ts +0 -49
  18. package/src/number.ts +0 -46
  19. package/src/primitive/index.spec.ts +0 -65
  20. package/src/primitive/index.ts +0 -7
  21. package/src/primitive/is-float.ts +0 -8
  22. package/src/primitive/is-int.ts +0 -8
  23. package/src/primitive/is-non-zero-uint.ts +0 -8
  24. package/src/primitive/is-quantity.ts +0 -38
  25. package/src/primitive/is-uint.ts +0 -15
  26. package/src/primitive/range.ts +0 -14
  27. package/src/primitive/split-unit.ts +0 -20
  28. package/src/rfc/is-bcp-47.spec.ts +0 -23
  29. package/src/rfc/is-bcp-47.ts +0 -13
  30. package/src/token/index.ts +0 -2
  31. package/src/token/token-collection.spec.ts +0 -147
  32. package/src/token/token-collection.ts +0 -444
  33. package/src/token/token.ts +0 -144
  34. package/src/types.schema.ts +0 -1113
  35. package/src/types.ts +0 -118
  36. package/src/w3c/check-serialized-permissions-policy.spec.ts +0 -38
  37. package/src/w3c/check-serialized-permissions-policy.ts +0 -303
  38. package/src/whatwg/check-autocomplete.spec.ts +0 -387
  39. package/src/whatwg/check-autocomplete.ts +0 -380
  40. package/src/whatwg/check-datetime/date-string.ts +0 -44
  41. package/src/whatwg/check-datetime/datetime-tokens.ts +0 -600
  42. package/src/whatwg/check-datetime/duration-string.ts +0 -399
  43. package/src/whatwg/check-datetime/global-date-and-time-string.ts +0 -96
  44. package/src/whatwg/check-datetime/index.spec.ts +0 -333
  45. package/src/whatwg/check-datetime/index.ts +0 -36
  46. package/src/whatwg/check-datetime/local-date-and-time-string.ts +0 -163
  47. package/src/whatwg/check-datetime/month-string.ts +0 -31
  48. package/src/whatwg/check-datetime/time-string.ts +0 -49
  49. package/src/whatwg/check-datetime/time-zone-offset-string.ts +0 -93
  50. package/src/whatwg/check-datetime/week-string.ts +0 -41
  51. package/src/whatwg/check-datetime/year-string.ts +0 -26
  52. package/src/whatwg/check-datetime/yearless-date-string.ts +0 -38
  53. package/src/whatwg/check-mime-type.spec.ts +0 -59
  54. package/src/whatwg/check-mime-type.ts +0 -46
  55. package/src/whatwg/is-abs-url.spec.ts +0 -8
  56. package/src/whatwg/is-abs-url.ts +0 -31
  57. package/src/whatwg/is-browser-context-name.ts +0 -16
  58. package/src/whatwg/is-custom-element-name.ts +0 -76
  59. package/src/whatwg/is-itemprop-name.ts +0 -17
  60. package/tsconfig.test.json +0 -3
  61. package/tsconfig.tsbuildinfo +0 -1
@@ -1,1113 +0,0 @@
1
- /* tslint:disable */
2
- /**
3
- * This file was automatically generated by json-schema-to-typescript.
4
- * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
- * and run json-schema-to-typescript to regenerate this file.
6
- */
7
-
8
- export type Type = KeywordDefinedType | List | Enum | Number;
9
- export type KeywordDefinedType = CssSyntax | ExtendedType | HtmlAttrRequirement;
10
- export type CssSyntax =
11
- | "<'--*'>"
12
- | "<'-ms-accelerator'>"
13
- | "<'-ms-block-progression'>"
14
- | "<'-ms-content-zoom-chaining'>"
15
- | "<'-ms-content-zooming'>"
16
- | "<'-ms-content-zoom-limit'>"
17
- | "<'-ms-content-zoom-limit-max'>"
18
- | "<'-ms-content-zoom-limit-min'>"
19
- | "<'-ms-content-zoom-snap'>"
20
- | "<'-ms-content-zoom-snap-points'>"
21
- | "<'-ms-content-zoom-snap-type'>"
22
- | "<'-ms-filter'>"
23
- | "<'-ms-flow-from'>"
24
- | "<'-ms-flow-into'>"
25
- | "<'-ms-grid-columns'>"
26
- | "<'-ms-grid-rows'>"
27
- | "<'-ms-high-contrast-adjust'>"
28
- | "<'-ms-hyphenate-limit-chars'>"
29
- | "<'-ms-hyphenate-limit-lines'>"
30
- | "<'-ms-hyphenate-limit-zone'>"
31
- | "<'-ms-ime-align'>"
32
- | "<'-ms-overflow-style'>"
33
- | "<'-ms-scrollbar-3dlight-color'>"
34
- | "<'-ms-scrollbar-arrow-color'>"
35
- | "<'-ms-scrollbar-base-color'>"
36
- | "<'-ms-scrollbar-darkshadow-color'>"
37
- | "<'-ms-scrollbar-face-color'>"
38
- | "<'-ms-scrollbar-highlight-color'>"
39
- | "<'-ms-scrollbar-shadow-color'>"
40
- | "<'-ms-scrollbar-track-color'>"
41
- | "<'-ms-scroll-chaining'>"
42
- | "<'-ms-scroll-limit'>"
43
- | "<'-ms-scroll-limit-x-max'>"
44
- | "<'-ms-scroll-limit-x-min'>"
45
- | "<'-ms-scroll-limit-y-max'>"
46
- | "<'-ms-scroll-limit-y-min'>"
47
- | "<'-ms-scroll-rails'>"
48
- | "<'-ms-scroll-snap-points-x'>"
49
- | "<'-ms-scroll-snap-points-y'>"
50
- | "<'-ms-scroll-snap-type'>"
51
- | "<'-ms-scroll-snap-x'>"
52
- | "<'-ms-scroll-snap-y'>"
53
- | "<'-ms-scroll-translation'>"
54
- | "<'-ms-text-autospace'>"
55
- | "<'-ms-touch-select'>"
56
- | "<'-ms-user-select'>"
57
- | "<'-ms-wrap-flow'>"
58
- | "<'-ms-wrap-margin'>"
59
- | "<'-ms-wrap-through'>"
60
- | "<'-moz-appearance'>"
61
- | "<'-moz-binding'>"
62
- | "<'-moz-border-bottom-colors'>"
63
- | "<'-moz-border-left-colors'>"
64
- | "<'-moz-border-right-colors'>"
65
- | "<'-moz-border-top-colors'>"
66
- | "<'-moz-context-properties'>"
67
- | "<'-moz-float-edge'>"
68
- | "<'-moz-force-broken-image-icon'>"
69
- | "<'-moz-image-region'>"
70
- | "<'-moz-orient'>"
71
- | "<'-moz-outline-radius'>"
72
- | "<'-moz-outline-radius-bottomleft'>"
73
- | "<'-moz-outline-radius-bottomright'>"
74
- | "<'-moz-outline-radius-topleft'>"
75
- | "<'-moz-outline-radius-topright'>"
76
- | "<'-moz-stack-sizing'>"
77
- | "<'-moz-text-blink'>"
78
- | "<'-moz-user-focus'>"
79
- | "<'-moz-user-input'>"
80
- | "<'-moz-user-modify'>"
81
- | "<'-moz-window-dragging'>"
82
- | "<'-moz-window-shadow'>"
83
- | "<'-webkit-appearance'>"
84
- | "<'-webkit-border-before'>"
85
- | "<'-webkit-border-before-color'>"
86
- | "<'-webkit-border-before-style'>"
87
- | "<'-webkit-border-before-width'>"
88
- | "<'-webkit-box-reflect'>"
89
- | "<'-webkit-line-clamp'>"
90
- | "<'-webkit-mask'>"
91
- | "<'-webkit-mask-attachment'>"
92
- | "<'-webkit-mask-clip'>"
93
- | "<'-webkit-mask-composite'>"
94
- | "<'-webkit-mask-image'>"
95
- | "<'-webkit-mask-origin'>"
96
- | "<'-webkit-mask-position'>"
97
- | "<'-webkit-mask-position-x'>"
98
- | "<'-webkit-mask-position-y'>"
99
- | "<'-webkit-mask-repeat'>"
100
- | "<'-webkit-mask-repeat-x'>"
101
- | "<'-webkit-mask-repeat-y'>"
102
- | "<'-webkit-mask-size'>"
103
- | "<'-webkit-overflow-scrolling'>"
104
- | "<'-webkit-tap-highlight-color'>"
105
- | "<'-webkit-text-fill-color'>"
106
- | "<'-webkit-text-stroke'>"
107
- | "<'-webkit-text-stroke-color'>"
108
- | "<'-webkit-text-stroke-width'>"
109
- | "<'-webkit-touch-callout'>"
110
- | "<'-webkit-user-modify'>"
111
- | "<'accent-color'>"
112
- | "<'align-content'>"
113
- | "<'align-items'>"
114
- | "<'align-self'>"
115
- | "<'align-tracks'>"
116
- | "<'all'>"
117
- | "<'animation'>"
118
- | "<'animation-composition'>"
119
- | "<'animation-delay'>"
120
- | "<'animation-direction'>"
121
- | "<'animation-duration'>"
122
- | "<'animation-fill-mode'>"
123
- | "<'animation-iteration-count'>"
124
- | "<'animation-name'>"
125
- | "<'animation-play-state'>"
126
- | "<'animation-timing-function'>"
127
- | "<'animation-timeline'>"
128
- | "<'appearance'>"
129
- | "<'aspect-ratio'>"
130
- | "<'azimuth'>"
131
- | "<'backdrop-filter'>"
132
- | "<'backface-visibility'>"
133
- | "<'background'>"
134
- | "<'background-attachment'>"
135
- | "<'background-blend-mode'>"
136
- | "<'background-clip'>"
137
- | "<'background-color'>"
138
- | "<'background-image'>"
139
- | "<'background-origin'>"
140
- | "<'background-position'>"
141
- | "<'background-position-x'>"
142
- | "<'background-position-y'>"
143
- | "<'background-repeat'>"
144
- | "<'background-size'>"
145
- | "<'block-overflow'>"
146
- | "<'block-size'>"
147
- | "<'border'>"
148
- | "<'border-block'>"
149
- | "<'border-block-color'>"
150
- | "<'border-block-style'>"
151
- | "<'border-block-width'>"
152
- | "<'border-block-end'>"
153
- | "<'border-block-end-color'>"
154
- | "<'border-block-end-style'>"
155
- | "<'border-block-end-width'>"
156
- | "<'border-block-start'>"
157
- | "<'border-block-start-color'>"
158
- | "<'border-block-start-style'>"
159
- | "<'border-block-start-width'>"
160
- | "<'border-bottom'>"
161
- | "<'border-bottom-color'>"
162
- | "<'border-bottom-left-radius'>"
163
- | "<'border-bottom-right-radius'>"
164
- | "<'border-bottom-style'>"
165
- | "<'border-bottom-width'>"
166
- | "<'border-collapse'>"
167
- | "<'border-color'>"
168
- | "<'border-end-end-radius'>"
169
- | "<'border-end-start-radius'>"
170
- | "<'border-image'>"
171
- | "<'border-image-outset'>"
172
- | "<'border-image-repeat'>"
173
- | "<'border-image-slice'>"
174
- | "<'border-image-source'>"
175
- | "<'border-image-width'>"
176
- | "<'border-inline'>"
177
- | "<'border-inline-end'>"
178
- | "<'border-inline-color'>"
179
- | "<'border-inline-style'>"
180
- | "<'border-inline-width'>"
181
- | "<'border-inline-end-color'>"
182
- | "<'border-inline-end-style'>"
183
- | "<'border-inline-end-width'>"
184
- | "<'border-inline-start'>"
185
- | "<'border-inline-start-color'>"
186
- | "<'border-inline-start-style'>"
187
- | "<'border-inline-start-width'>"
188
- | "<'border-left'>"
189
- | "<'border-left-color'>"
190
- | "<'border-left-style'>"
191
- | "<'border-left-width'>"
192
- | "<'border-radius'>"
193
- | "<'border-right'>"
194
- | "<'border-right-color'>"
195
- | "<'border-right-style'>"
196
- | "<'border-right-width'>"
197
- | "<'border-spacing'>"
198
- | "<'border-start-end-radius'>"
199
- | "<'border-start-start-radius'>"
200
- | "<'border-style'>"
201
- | "<'border-top'>"
202
- | "<'border-top-color'>"
203
- | "<'border-top-left-radius'>"
204
- | "<'border-top-right-radius'>"
205
- | "<'border-top-style'>"
206
- | "<'border-top-width'>"
207
- | "<'border-width'>"
208
- | "<'bottom'>"
209
- | "<'box-align'>"
210
- | "<'box-decoration-break'>"
211
- | "<'box-direction'>"
212
- | "<'box-flex'>"
213
- | "<'box-flex-group'>"
214
- | "<'box-lines'>"
215
- | "<'box-ordinal-group'>"
216
- | "<'box-orient'>"
217
- | "<'box-pack'>"
218
- | "<'box-shadow'>"
219
- | "<'box-sizing'>"
220
- | "<'break-after'>"
221
- | "<'break-before'>"
222
- | "<'break-inside'>"
223
- | "<'caption-side'>"
224
- | "<'caret'>"
225
- | "<'caret-color'>"
226
- | "<'caret-shape'>"
227
- | "<'clear'>"
228
- | "<'clip'>"
229
- | "<'clip-path'>"
230
- | "<'color'>"
231
- | "<'print-color-adjust'>"
232
- | "<'color-scheme'>"
233
- | "<'column-count'>"
234
- | "<'column-fill'>"
235
- | "<'column-gap'>"
236
- | "<'column-rule'>"
237
- | "<'column-rule-color'>"
238
- | "<'column-rule-style'>"
239
- | "<'column-rule-width'>"
240
- | "<'column-span'>"
241
- | "<'column-width'>"
242
- | "<'columns'>"
243
- | "<'contain'>"
244
- | "<'contain-intrinsic-size'>"
245
- | "<'contain-intrinsic-block-size'>"
246
- | "<'contain-intrinsic-height'>"
247
- | "<'contain-intrinsic-inline-size'>"
248
- | "<'contain-intrinsic-width'>"
249
- | "<'content'>"
250
- | "<'content-visibility'>"
251
- | "<'counter-increment'>"
252
- | "<'counter-reset'>"
253
- | "<'counter-set'>"
254
- | "<'cursor'>"
255
- | "<'direction'>"
256
- | "<'display'>"
257
- | "<'empty-cells'>"
258
- | "<'filter'>"
259
- | "<'flex'>"
260
- | "<'flex-basis'>"
261
- | "<'flex-direction'>"
262
- | "<'flex-flow'>"
263
- | "<'flex-grow'>"
264
- | "<'flex-shrink'>"
265
- | "<'flex-wrap'>"
266
- | "<'float'>"
267
- | "<'font'>"
268
- | "<'font-family'>"
269
- | "<'font-feature-settings'>"
270
- | "<'font-kerning'>"
271
- | "<'font-language-override'>"
272
- | "<'font-optical-sizing'>"
273
- | "<'font-variation-settings'>"
274
- | "<'font-size'>"
275
- | "<'font-size-adjust'>"
276
- | "<'font-smooth'>"
277
- | "<'font-stretch'>"
278
- | "<'font-style'>"
279
- | "<'font-synthesis'>"
280
- | "<'font-variant'>"
281
- | "<'font-variant-alternates'>"
282
- | "<'font-variant-caps'>"
283
- | "<'font-variant-east-asian'>"
284
- | "<'font-variant-ligatures'>"
285
- | "<'font-variant-numeric'>"
286
- | "<'font-variant-position'>"
287
- | "<'font-weight'>"
288
- | "<'forced-color-adjust'>"
289
- | "<'gap'>"
290
- | "<'grid'>"
291
- | "<'grid-area'>"
292
- | "<'grid-auto-columns'>"
293
- | "<'grid-auto-flow'>"
294
- | "<'grid-auto-rows'>"
295
- | "<'grid-column'>"
296
- | "<'grid-column-end'>"
297
- | "<'grid-column-gap'>"
298
- | "<'grid-column-start'>"
299
- | "<'grid-gap'>"
300
- | "<'grid-row'>"
301
- | "<'grid-row-end'>"
302
- | "<'grid-row-gap'>"
303
- | "<'grid-row-start'>"
304
- | "<'grid-template'>"
305
- | "<'grid-template-areas'>"
306
- | "<'grid-template-columns'>"
307
- | "<'grid-template-rows'>"
308
- | "<'hanging-punctuation'>"
309
- | "<'height'>"
310
- | "<'hyphenate-character'>"
311
- | "<'hyphens'>"
312
- | "<'image-orientation'>"
313
- | "<'image-rendering'>"
314
- | "<'image-resolution'>"
315
- | "<'ime-mode'>"
316
- | "<'initial-letter'>"
317
- | "<'initial-letter-align'>"
318
- | "<'inline-size'>"
319
- | "<'input-security'>"
320
- | "<'inset'>"
321
- | "<'inset-block'>"
322
- | "<'inset-block-end'>"
323
- | "<'inset-block-start'>"
324
- | "<'inset-inline'>"
325
- | "<'inset-inline-end'>"
326
- | "<'inset-inline-start'>"
327
- | "<'isolation'>"
328
- | "<'justify-content'>"
329
- | "<'justify-items'>"
330
- | "<'justify-self'>"
331
- | "<'justify-tracks'>"
332
- | "<'left'>"
333
- | "<'letter-spacing'>"
334
- | "<'line-break'>"
335
- | "<'line-clamp'>"
336
- | "<'line-height'>"
337
- | "<'line-height-step'>"
338
- | "<'list-style'>"
339
- | "<'list-style-image'>"
340
- | "<'list-style-position'>"
341
- | "<'list-style-type'>"
342
- | "<'margin'>"
343
- | "<'margin-block'>"
344
- | "<'margin-block-end'>"
345
- | "<'margin-block-start'>"
346
- | "<'margin-bottom'>"
347
- | "<'margin-inline'>"
348
- | "<'margin-inline-end'>"
349
- | "<'margin-inline-start'>"
350
- | "<'margin-left'>"
351
- | "<'margin-right'>"
352
- | "<'margin-top'>"
353
- | "<'margin-trim'>"
354
- | "<'mask'>"
355
- | "<'mask-border'>"
356
- | "<'mask-border-mode'>"
357
- | "<'mask-border-outset'>"
358
- | "<'mask-border-repeat'>"
359
- | "<'mask-border-slice'>"
360
- | "<'mask-border-source'>"
361
- | "<'mask-border-width'>"
362
- | "<'mask-clip'>"
363
- | "<'mask-composite'>"
364
- | "<'mask-image'>"
365
- | "<'mask-mode'>"
366
- | "<'mask-origin'>"
367
- | "<'mask-position'>"
368
- | "<'mask-repeat'>"
369
- | "<'mask-size'>"
370
- | "<'mask-type'>"
371
- | "<'masonry-auto-flow'>"
372
- | "<'math-depth'>"
373
- | "<'math-shift'>"
374
- | "<'math-style'>"
375
- | "<'max-block-size'>"
376
- | "<'max-height'>"
377
- | "<'max-inline-size'>"
378
- | "<'max-lines'>"
379
- | "<'max-width'>"
380
- | "<'min-block-size'>"
381
- | "<'min-height'>"
382
- | "<'min-inline-size'>"
383
- | "<'min-width'>"
384
- | "<'mix-blend-mode'>"
385
- | "<'object-fit'>"
386
- | "<'object-position'>"
387
- | "<'offset'>"
388
- | "<'offset-anchor'>"
389
- | "<'offset-distance'>"
390
- | "<'offset-path'>"
391
- | "<'offset-position'>"
392
- | "<'offset-rotate'>"
393
- | "<'opacity'>"
394
- | "<'order'>"
395
- | "<'orphans'>"
396
- | "<'outline'>"
397
- | "<'outline-color'>"
398
- | "<'outline-offset'>"
399
- | "<'outline-style'>"
400
- | "<'outline-width'>"
401
- | "<'overflow'>"
402
- | "<'overflow-anchor'>"
403
- | "<'overflow-block'>"
404
- | "<'overflow-clip-box'>"
405
- | "<'overflow-clip-margin'>"
406
- | "<'overflow-inline'>"
407
- | "<'overflow-wrap'>"
408
- | "<'overflow-x'>"
409
- | "<'overflow-y'>"
410
- | "<'overscroll-behavior'>"
411
- | "<'overscroll-behavior-block'>"
412
- | "<'overscroll-behavior-inline'>"
413
- | "<'overscroll-behavior-x'>"
414
- | "<'overscroll-behavior-y'>"
415
- | "<'padding'>"
416
- | "<'padding-block'>"
417
- | "<'padding-block-end'>"
418
- | "<'padding-block-start'>"
419
- | "<'padding-bottom'>"
420
- | "<'padding-inline'>"
421
- | "<'padding-inline-end'>"
422
- | "<'padding-inline-start'>"
423
- | "<'padding-left'>"
424
- | "<'padding-right'>"
425
- | "<'padding-top'>"
426
- | "<'page-break-after'>"
427
- | "<'page-break-before'>"
428
- | "<'page-break-inside'>"
429
- | "<'paint-order'>"
430
- | "<'perspective'>"
431
- | "<'perspective-origin'>"
432
- | "<'place-content'>"
433
- | "<'place-items'>"
434
- | "<'place-self'>"
435
- | "<'pointer-events'>"
436
- | "<'position'>"
437
- | "<'quotes'>"
438
- | "<'resize'>"
439
- | "<'right'>"
440
- | "<'rotate'>"
441
- | "<'row-gap'>"
442
- | "<'ruby-align'>"
443
- | "<'ruby-merge'>"
444
- | "<'ruby-position'>"
445
- | "<'scale'>"
446
- | "<'scrollbar-color'>"
447
- | "<'scrollbar-gutter'>"
448
- | "<'scrollbar-width'>"
449
- | "<'scroll-behavior'>"
450
- | "<'scroll-margin'>"
451
- | "<'scroll-margin-block'>"
452
- | "<'scroll-margin-block-start'>"
453
- | "<'scroll-margin-block-end'>"
454
- | "<'scroll-margin-bottom'>"
455
- | "<'scroll-margin-inline'>"
456
- | "<'scroll-margin-inline-start'>"
457
- | "<'scroll-margin-inline-end'>"
458
- | "<'scroll-margin-left'>"
459
- | "<'scroll-margin-right'>"
460
- | "<'scroll-margin-top'>"
461
- | "<'scroll-padding'>"
462
- | "<'scroll-padding-block'>"
463
- | "<'scroll-padding-block-start'>"
464
- | "<'scroll-padding-block-end'>"
465
- | "<'scroll-padding-bottom'>"
466
- | "<'scroll-padding-inline'>"
467
- | "<'scroll-padding-inline-start'>"
468
- | "<'scroll-padding-inline-end'>"
469
- | "<'scroll-padding-left'>"
470
- | "<'scroll-padding-right'>"
471
- | "<'scroll-padding-top'>"
472
- | "<'scroll-snap-align'>"
473
- | "<'scroll-snap-coordinate'>"
474
- | "<'scroll-snap-destination'>"
475
- | "<'scroll-snap-points-x'>"
476
- | "<'scroll-snap-points-y'>"
477
- | "<'scroll-snap-stop'>"
478
- | "<'scroll-snap-type'>"
479
- | "<'scroll-snap-type-x'>"
480
- | "<'scroll-snap-type-y'>"
481
- | "<'scroll-timeline'>"
482
- | "<'scroll-timeline-axis'>"
483
- | "<'scroll-timeline-name'>"
484
- | "<'shape-image-threshold'>"
485
- | "<'shape-margin'>"
486
- | "<'shape-outside'>"
487
- | "<'tab-size'>"
488
- | "<'table-layout'>"
489
- | "<'text-align'>"
490
- | "<'text-align-last'>"
491
- | "<'text-combine-upright'>"
492
- | "<'text-decoration'>"
493
- | "<'text-decoration-color'>"
494
- | "<'text-decoration-line'>"
495
- | "<'text-decoration-skip'>"
496
- | "<'text-decoration-skip-ink'>"
497
- | "<'text-decoration-style'>"
498
- | "<'text-decoration-thickness'>"
499
- | "<'text-emphasis'>"
500
- | "<'text-emphasis-color'>"
501
- | "<'text-emphasis-position'>"
502
- | "<'text-emphasis-style'>"
503
- | "<'text-indent'>"
504
- | "<'text-justify'>"
505
- | "<'text-orientation'>"
506
- | "<'text-overflow'>"
507
- | "<'text-rendering'>"
508
- | "<'text-shadow'>"
509
- | "<'text-size-adjust'>"
510
- | "<'text-transform'>"
511
- | "<'text-underline-offset'>"
512
- | "<'text-underline-position'>"
513
- | "<'top'>"
514
- | "<'touch-action'>"
515
- | "<'transform'>"
516
- | "<'transform-box'>"
517
- | "<'transform-origin'>"
518
- | "<'transform-style'>"
519
- | "<'transition'>"
520
- | "<'transition-delay'>"
521
- | "<'transition-duration'>"
522
- | "<'transition-property'>"
523
- | "<'transition-timing-function'>"
524
- | "<'translate'>"
525
- | "<'unicode-bidi'>"
526
- | "<'user-select'>"
527
- | "<'vertical-align'>"
528
- | "<'visibility'>"
529
- | "<'white-space'>"
530
- | "<'widows'>"
531
- | "<'width'>"
532
- | "<'will-change'>"
533
- | "<'word-break'>"
534
- | "<'word-spacing'>"
535
- | "<'word-wrap'>"
536
- | "<'writing-mode'>"
537
- | "<'z-index'>"
538
- | "<'zoom'>"
539
- | "<'-moz-background-clip'>"
540
- | "<'-moz-border-radius-bottomleft'>"
541
- | "<'-moz-border-radius-bottomright'>"
542
- | "<'-moz-border-radius-topleft'>"
543
- | "<'-moz-border-radius-topright'>"
544
- | "<'-moz-control-character-visibility'>"
545
- | "<'-moz-osx-font-smoothing'>"
546
- | "<'-moz-user-select'>"
547
- | "<'-ms-flex-align'>"
548
- | "<'-ms-flex-item-align'>"
549
- | "<'-ms-flex-line-pack'>"
550
- | "<'-ms-flex-negative'>"
551
- | "<'-ms-flex-pack'>"
552
- | "<'-ms-flex-order'>"
553
- | "<'-ms-flex-positive'>"
554
- | "<'-ms-flex-preferred-size'>"
555
- | "<'-ms-interpolation-mode'>"
556
- | "<'-ms-grid-column-align'>"
557
- | "<'-ms-grid-row-align'>"
558
- | "<'-ms-hyphenate-limit-last'>"
559
- | "<'-webkit-background-clip'>"
560
- | "<'-webkit-column-break-after'>"
561
- | "<'-webkit-column-break-before'>"
562
- | "<'-webkit-column-break-inside'>"
563
- | "<'-webkit-font-smoothing'>"
564
- | "<'-webkit-mask-box-image'>"
565
- | "<'-webkit-print-color-adjust'>"
566
- | "<'-webkit-text-security'>"
567
- | "<'-webkit-user-drag'>"
568
- | "<'-webkit-user-select'>"
569
- | "<'alignment-baseline'>"
570
- | "<'baseline-shift'>"
571
- | "<'behavior'>"
572
- | "<'clip-rule'>"
573
- | "<'cue'>"
574
- | "<'cue-after'>"
575
- | "<'cue-before'>"
576
- | "<'dominant-baseline'>"
577
- | "<'fill'>"
578
- | "<'fill-opacity'>"
579
- | "<'fill-rule'>"
580
- | "<'glyph-orientation-horizontal'>"
581
- | "<'glyph-orientation-vertical'>"
582
- | "<'kerning'>"
583
- | "<'marker'>"
584
- | "<'marker-end'>"
585
- | "<'marker-mid'>"
586
- | "<'marker-start'>"
587
- | "<'pause'>"
588
- | "<'pause-after'>"
589
- | "<'pause-before'>"
590
- | "<'rest'>"
591
- | "<'rest-after'>"
592
- | "<'rest-before'>"
593
- | "<'shape-rendering'>"
594
- | "<'src'>"
595
- | "<'speak'>"
596
- | "<'speak-as'>"
597
- | "<'stroke'>"
598
- | "<'stroke-dasharray'>"
599
- | "<'stroke-dashoffset'>"
600
- | "<'stroke-linecap'>"
601
- | "<'stroke-linejoin'>"
602
- | "<'stroke-miterlimit'>"
603
- | "<'stroke-opacity'>"
604
- | "<'stroke-width'>"
605
- | "<'text-anchor'>"
606
- | "<'unicode-range'>"
607
- | "<'voice-balance'>"
608
- | "<'voice-duration'>"
609
- | "<'voice-family'>"
610
- | "<'voice-pitch'>"
611
- | "<'voice-range'>"
612
- | "<'voice-rate'>"
613
- | "<'voice-stress'>"
614
- | "<'voice-volume'>"
615
- | '<abs()>'
616
- | '<absolute-size>'
617
- | '<acos()>'
618
- | '<alpha-value>'
619
- | '<angle-percentage>'
620
- | '<angular-color-hint>'
621
- | '<angular-color-stop>'
622
- | '<angular-color-stop-list>'
623
- | '<animateable-feature>'
624
- | '<asin()>'
625
- | '<atan()>'
626
- | '<atan2()>'
627
- | '<attachment>'
628
- | '<attr()>'
629
- | '<attr-matcher>'
630
- | '<attr-modifier>'
631
- | '<attribute-selector>'
632
- | '<auto-repeat>'
633
- | '<auto-track-list>'
634
- | '<axis>'
635
- | '<baseline-position>'
636
- | '<basic-shape>'
637
- | '<bg-image>'
638
- | '<bg-layer>'
639
- | '<bg-position>'
640
- | '<bg-size>'
641
- | '<blur()>'
642
- | '<blend-mode>'
643
- | '<box>'
644
- | '<brightness()>'
645
- | '<calc()>'
646
- | '<calc-sum>'
647
- | '<calc-product>'
648
- | '<calc-value>'
649
- | '<calc-constant>'
650
- | '<cf-final-image>'
651
- | '<cf-mixing-image>'
652
- | '<circle()>'
653
- | '<clamp()>'
654
- | '<class-selector>'
655
- | '<clip-source>'
656
- | '<color>'
657
- | '<color-stop>'
658
- | '<color-stop-angle>'
659
- | '<color-stop-length>'
660
- | '<color-stop-list>'
661
- | '<combinator>'
662
- | '<common-lig-values>'
663
- | '<compat-auto>'
664
- | '<composite-style>'
665
- | '<compositing-operator>'
666
- | '<compound-selector>'
667
- | '<compound-selector-list>'
668
- | '<complex-selector>'
669
- | '<complex-selector-list>'
670
- | '<conic-gradient()>'
671
- | '<contextual-alt-values>'
672
- | '<content-distribution>'
673
- | '<content-list>'
674
- | '<content-position>'
675
- | '<content-replacement>'
676
- | '<contrast()>'
677
- | '<cos()>'
678
- | '<counter>'
679
- | '<counter()>'
680
- | '<counter-name>'
681
- | '<counter-style>'
682
- | '<counter-style-name>'
683
- | '<counters()>'
684
- | '<cross-fade()>'
685
- | '<cubic-bezier-timing-function>'
686
- | '<deprecated-system-color>'
687
- | '<discretionary-lig-values>'
688
- | '<display-box>'
689
- | '<display-inside>'
690
- | '<display-internal>'
691
- | '<display-legacy>'
692
- | '<display-listitem>'
693
- | '<display-outside>'
694
- | '<drop-shadow()>'
695
- | '<east-asian-variant-values>'
696
- | '<east-asian-width-values>'
697
- | '<element()>'
698
- | '<ellipse()>'
699
- | '<ending-shape>'
700
- | '<env()>'
701
- | '<exp()>'
702
- | '<explicit-track-list>'
703
- | '<family-name>'
704
- | '<feature-tag-value>'
705
- | '<feature-type>'
706
- | '<feature-value-block>'
707
- | '<feature-value-block-list>'
708
- | '<feature-value-declaration>'
709
- | '<feature-value-declaration-list>'
710
- | '<feature-value-name>'
711
- | '<fill-rule>'
712
- | '<filter-function>'
713
- | '<filter-function-list>'
714
- | '<final-bg-layer>'
715
- | '<fixed-breadth>'
716
- | '<fixed-repeat>'
717
- | '<fixed-size>'
718
- | '<font-stretch-absolute>'
719
- | '<font-variant-css21>'
720
- | '<font-weight-absolute>'
721
- | '<frequency-percentage>'
722
- | '<general-enclosed>'
723
- | '<generic-family>'
724
- | '<generic-name>'
725
- | '<geometry-box>'
726
- | '<gradient>'
727
- | '<grayscale()>'
728
- | '<grid-line>'
729
- | '<historical-lig-values>'
730
- | '<hsl()>'
731
- | '<hsla()>'
732
- | '<hue>'
733
- | '<hue-rotate()>'
734
- | '<hwb()>'
735
- | '<hypot()>'
736
- | '<id-selector>'
737
- | '<image>'
738
- | '<image()>'
739
- | '<image-set()>'
740
- | '<image-set-option>'
741
- | '<image-src>'
742
- | '<image-tags>'
743
- | '<inflexible-breadth>'
744
- | '<inset()>'
745
- | '<invert()>'
746
- | '<keyframes-name>'
747
- | '<keyframe-block>'
748
- | '<keyframe-block-list>'
749
- | '<keyframe-selector>'
750
- | '<lab()>'
751
- | '<layer()>'
752
- | '<layer-name>'
753
- | '<lch()>'
754
- | '<leader()>'
755
- | '<leader-type>'
756
- | '<length-percentage>'
757
- | '<line-names>'
758
- | '<line-name-list>'
759
- | '<line-style>'
760
- | '<line-width>'
761
- | '<linear-color-hint>'
762
- | '<linear-color-stop>'
763
- | '<linear-gradient()>'
764
- | '<log()>'
765
- | '<mask-layer>'
766
- | '<mask-position>'
767
- | '<mask-reference>'
768
- | '<mask-source>'
769
- | '<masking-mode>'
770
- | '<matrix()>'
771
- | '<matrix3d()>'
772
- | '<max()>'
773
- | '<media-and>'
774
- | '<media-condition>'
775
- | '<media-condition-without-or>'
776
- | '<media-feature>'
777
- | '<media-in-parens>'
778
- | '<media-not>'
779
- | '<media-or>'
780
- | '<media-query>'
781
- | '<media-query-list>'
782
- | '<media-type>'
783
- | '<mf-boolean>'
784
- | '<mf-name>'
785
- | '<mf-plain>'
786
- | '<mf-range>'
787
- | '<mf-value>'
788
- | '<min()>'
789
- | '<minmax()>'
790
- | '<mod()>'
791
- | '<name-repeat>'
792
- | '<named-color>'
793
- | '<namespace-prefix>'
794
- | '<ns-prefix>'
795
- | '<number-percentage>'
796
- | '<numeric-figure-values>'
797
- | '<numeric-fraction-values>'
798
- | '<numeric-spacing-values>'
799
- | '<nth>'
800
- | '<opacity()>'
801
- | '<overflow-position>'
802
- | '<outline-radius>'
803
- | '<page-body>'
804
- | '<page-margin-box>'
805
- | '<page-margin-box-type>'
806
- | '<page-selector-list>'
807
- | '<page-selector>'
808
- | '<page-size>'
809
- | '<path()>'
810
- | '<paint()>'
811
- | '<perspective()>'
812
- | '<polygon()>'
813
- | '<position>'
814
- | '<pow()>'
815
- | '<pseudo-class-selector>'
816
- | '<pseudo-element-selector>'
817
- | '<pseudo-page>'
818
- | '<quote>'
819
- | '<radial-gradient()>'
820
- | '<ratio>'
821
- | '<relative-selector>'
822
- | '<relative-selector-list>'
823
- | '<relative-size>'
824
- | '<rem()>'
825
- | '<repeat-style>'
826
- | '<repeating-conic-gradient()>'
827
- | '<repeating-linear-gradient()>'
828
- | '<repeating-radial-gradient()>'
829
- | '<reversed-counter-name>'
830
- | '<rgb()>'
831
- | '<rgba()>'
832
- | '<rotate()>'
833
- | '<rotate3d()>'
834
- | '<rotateX()>'
835
- | '<rotateY()>'
836
- | '<rotateZ()>'
837
- | '<round()>'
838
- | '<rounding-strategy>'
839
- | '<saturate()>'
840
- | '<scale()>'
841
- | '<scale3d()>'
842
- | '<scaleX()>'
843
- | '<scaleY()>'
844
- | '<scaleZ()>'
845
- | '<scroller>'
846
- | '<self-position>'
847
- | '<shape-radius>'
848
- | '<sign()>'
849
- | '<skew()>'
850
- | '<skewX()>'
851
- | '<skewY()>'
852
- | '<sepia()>'
853
- | '<shadow>'
854
- | '<shadow-t>'
855
- | '<shape>'
856
- | '<shape-box>'
857
- | '<side-or-corner>'
858
- | '<sin()>'
859
- | '<single-animation>'
860
- | '<single-animation-direction>'
861
- | '<single-animation-fill-mode>'
862
- | '<single-animation-iteration-count>'
863
- | '<single-animation-play-state>'
864
- | '<single-animation-timeline>'
865
- | '<single-transition>'
866
- | '<single-transition-property>'
867
- | '<size>'
868
- | '<sqrt()>'
869
- | '<step-position>'
870
- | '<step-timing-function>'
871
- | '<subclass-selector>'
872
- | '<supports-condition>'
873
- | '<supports-in-parens>'
874
- | '<supports-feature>'
875
- | '<supports-decl>'
876
- | '<supports-selector-fn>'
877
- | '<symbol>'
878
- | '<tan()>'
879
- | '<target>'
880
- | '<target-counter()>'
881
- | '<target-counters()>'
882
- | '<target-text()>'
883
- | '<time-percentage>'
884
- | '<timeline-name>'
885
- | '<easing-function>'
886
- | '<track-breadth>'
887
- | '<track-list>'
888
- | '<track-repeat>'
889
- | '<track-size>'
890
- | '<transform-function>'
891
- | '<transform-list>'
892
- | '<translate()>'
893
- | '<translate3d()>'
894
- | '<translateX()>'
895
- | '<translateY()>'
896
- | '<translateZ()>'
897
- | '<type-or-unit>'
898
- | '<type-selector>'
899
- | '<var()>'
900
- | '<viewport-length>'
901
- | '<visual-box>'
902
- | '<wq-name>'
903
- | '<-legacy-gradient>'
904
- | '<-legacy-linear-gradient>'
905
- | '<-legacy-repeating-linear-gradient>'
906
- | '<-legacy-linear-gradient-arguments>'
907
- | '<-legacy-radial-gradient>'
908
- | '<-legacy-repeating-radial-gradient>'
909
- | '<-legacy-radial-gradient-arguments>'
910
- | '<-legacy-radial-gradient-size>'
911
- | '<-legacy-radial-gradient-shape>'
912
- | '<-non-standard-font>'
913
- | '<-non-standard-color>'
914
- | '<-non-standard-image-rendering>'
915
- | '<-non-standard-overflow>'
916
- | '<-non-standard-width>'
917
- | '<-webkit-gradient()>'
918
- | '<-webkit-gradient-color-stop>'
919
- | '<-webkit-gradient-point>'
920
- | '<-webkit-gradient-radius>'
921
- | '<-webkit-gradient-type>'
922
- | '<-webkit-mask-box-repeat>'
923
- | '<-webkit-mask-clip-style>'
924
- | '<-ms-filter-function-list>'
925
- | '<-ms-filter-function>'
926
- | '<-ms-filter-function-progid>'
927
- | '<-ms-filter-function-legacy>'
928
- | '<-ms-filter>'
929
- | '<age>'
930
- | '<attr-name>'
931
- | '<attr-fallback>'
932
- | '<bg-clip>'
933
- | '<bottom>'
934
- | '<generic-voice>'
935
- | '<gender>'
936
- | '<left>'
937
- | '<mask-image>'
938
- | '<paint>'
939
- | '<right>'
940
- | '<scroll-timeline-axis>'
941
- | '<scroll-timeline-name>'
942
- | '<single-animation-composition>'
943
- | '<svg-length>'
944
- | '<svg-writing-mode>'
945
- | '<top>'
946
- | '<x>'
947
- | '<y>'
948
- | '<declaration>'
949
- | '<declaration-list>'
950
- | '<url>'
951
- | '<url-modifier>'
952
- | '<number-zero-one>'
953
- | '<number-one-or-greater>'
954
- | '<-non-standard-display>'
955
- | '<ident-token>'
956
- | '<function-token>'
957
- | '<at-keyword-token>'
958
- | '<hash-token>'
959
- | '<string-token>'
960
- | '<bad-string-token>'
961
- | '<url-token>'
962
- | '<bad-url-token>'
963
- | '<delim-token>'
964
- | '<number-token>'
965
- | '<percentage-token>'
966
- | '<dimension-token>'
967
- | '<whitespace-token>'
968
- | '<CDO-token>'
969
- | '<CDC-token>'
970
- | '<colon-token>'
971
- | '<semicolon-token>'
972
- | '<comma-token>'
973
- | '<[-token>'
974
- | '<]-token>'
975
- | '<(-token>'
976
- | '<)-token>'
977
- | '<{-token>'
978
- | '<}-token>'
979
- | '<string>'
980
- | '<ident>'
981
- | '<percentage>'
982
- | '<zero>'
983
- | '<number>'
984
- | '<integer>'
985
- | '<custom-ident>'
986
- | '<custom-property-name>'
987
- | '<hex-color>'
988
- | '<an-plus-b>'
989
- | '<urange>'
990
- | '<declaration-value>'
991
- | '<any-value>'
992
- | '<dimension>'
993
- | '<angle>'
994
- | '<decibel>'
995
- | '<frequency>'
996
- | '<flex>'
997
- | '<length>'
998
- | '<resolution>'
999
- | '<semitones>'
1000
- | '<time>'
1001
- | '<bcp-47>';
1002
- export type ExtendedType =
1003
- | 'Any'
1004
- | 'NoEmptyAny'
1005
- | 'OneLineAny'
1006
- | 'Zero'
1007
- | 'Number'
1008
- | 'Int'
1009
- | 'Uint'
1010
- | 'XMLName'
1011
- | 'DOMID'
1012
- | 'FunctionBody'
1013
- | 'Pattern'
1014
- | 'DateTime'
1015
- | 'TabIndex'
1016
- | 'BCP47'
1017
- | 'URL'
1018
- | 'AbsoluteURL'
1019
- | 'HashName'
1020
- | 'OneCodePointChar'
1021
- | 'CustomElementName'
1022
- | 'BrowsingContextName'
1023
- | 'BrowsingContextNameOrKeyword'
1024
- | 'HTTPSchemaURL'
1025
- | 'MIMEType'
1026
- | 'ItemProp'
1027
- | 'Srcset'
1028
- | 'SourceSizeList'
1029
- | 'IconSize'
1030
- | 'AutoComplete'
1031
- | 'Accept'
1032
- | 'SerializedPermissionsPolicy'
1033
- | '<css-declaration-list>'
1034
- | '<class-list>'
1035
- | '<svg-font-size>'
1036
- | '<svg-font-size-adjust>'
1037
- | "<'color-profile'>"
1038
- | "<'color-rendering'>"
1039
- | "<'enable-background'>"
1040
- | '<list-of-svg-feature-string>'
1041
- | '<animatable-value>'
1042
- | '<begin-value-list>'
1043
- | '<end-value-list>'
1044
- | '<list-of-value>'
1045
- | '<clock-value>'
1046
- | '<color-matrix>'
1047
- | '<dasharray>'
1048
- | '<key-points>'
1049
- | '<key-splines>'
1050
- | '<key-times>'
1051
- | '<system-language>'
1052
- | '<origin>'
1053
- | '<svg-path>'
1054
- | '<points>'
1055
- | '<preserve-aspect-ratio>'
1056
- | '<view-box>'
1057
- | '<rotate>'
1058
- | '<text-coordinate>'
1059
- | '<list-of-lengths>'
1060
- | '<list-of-numbers>'
1061
- | '<list-of-percentages>'
1062
- | '<number-optional-number>';
1063
- export type HtmlAttrRequirement = 'Boolean';
1064
-
1065
- export interface TypesSchema {
1066
- type?: Type;
1067
- }
1068
- /**
1069
- * - [Space-separated tokens](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#space-separated-tokens)
1070
- * - [Comma-separated tokens](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#comma-separated-tokens)
1071
- */
1072
- export interface List {
1073
- token: ExtendedType | Enum;
1074
- disallowToSurroundBySpaces?: boolean;
1075
- allowEmpty?: boolean;
1076
- ordered?: boolean;
1077
- unique?: boolean;
1078
- caseInsensitive?: boolean;
1079
- number?:
1080
- | ('zeroOrMore' | 'oneOrMore')
1081
- | {
1082
- min: number;
1083
- max: number;
1084
- };
1085
- separator: 'space' | 'comma';
1086
- }
1087
- /**
1088
- * [Enumerated attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#enumerated-attribute)
1089
- */
1090
- export interface Enum {
1091
- /**
1092
- * @minItems 1
1093
- */
1094
- enum: [string, ...string[]];
1095
- disallowToSurroundBySpaces?: boolean;
1096
- caseInsensitive?: boolean;
1097
- invalidValueDefault?: string;
1098
- missingValueDefault?: string;
1099
- sameStates?: {
1100
- [k: string]: unknown;
1101
- };
1102
- }
1103
- /**
1104
- * [Numbers](https://html.spec.whatwg.org/dev/common-microsyntaxes.html#numbers)
1105
- */
1106
- export interface Number {
1107
- type: 'float' | 'integer';
1108
- gt?: number;
1109
- gte?: number;
1110
- lt?: number;
1111
- lte?: number;
1112
- clampable?: boolean;
1113
- }