@stylexjs/stylex 0.2.0-beta.8 → 0.3.0

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 (52) hide show
  1. package/README.md +284 -0
  2. package/lib/StyleXCSSTypes.d.ts +1414 -0
  3. package/lib/StyleXCSSTypes.js +0 -9
  4. package/lib/StyleXCSSTypes.js.flow +1503 -0
  5. package/lib/StyleXSheet.d.ts +49 -0
  6. package/lib/StyleXSheet.js +7 -120
  7. package/lib/StyleXSheet.js.flow +49 -0
  8. package/lib/StyleXTypes.d.ts +212 -0
  9. package/lib/StyleXTypes.js +0 -9
  10. package/lib/StyleXTypes.js.flow +184 -0
  11. package/lib/native/CSSCustomPropertyValue.d.ts +26 -0
  12. package/lib/native/CSSCustomPropertyValue.js +27 -0
  13. package/lib/native/CSSCustomPropertyValue.js.flow +27 -0
  14. package/lib/native/CSSLengthUnitValue.d.ts +18 -0
  15. package/lib/native/CSSLengthUnitValue.js +73 -0
  16. package/lib/native/CSSLengthUnitValue.js.flow +21 -0
  17. package/lib/native/CSSMediaQuery.d.ts +25 -0
  18. package/lib/native/CSSMediaQuery.js +55 -0
  19. package/lib/native/CSSMediaQuery.js.flow +26 -0
  20. package/lib/native/SpreadOptions.d.ts +19 -0
  21. package/lib/native/SpreadOptions.js +1 -0
  22. package/lib/native/SpreadOptions.js.flow +19 -0
  23. package/lib/native/__tests__/__snapshots__/stylex-css-var-test.js.snap +48 -0
  24. package/lib/native/__tests__/__snapshots__/stylex-test.js.snap +1046 -0
  25. package/lib/native/__tests__/parseTimeValue-test.js +11 -0
  26. package/lib/native/__tests__/stylex-css-var-test.js +148 -0
  27. package/lib/native/__tests__/stylex-test.js +924 -0
  28. package/lib/native/errorMsg.d.ts +11 -0
  29. package/lib/native/errorMsg.js +13 -0
  30. package/lib/native/errorMsg.js.flow +12 -0
  31. package/lib/native/fixContentBox.d.ts +11 -0
  32. package/lib/native/fixContentBox.js +59 -0
  33. package/lib/native/fixContentBox.js.flow +11 -0
  34. package/lib/native/flattenStyle.d.ts +15 -0
  35. package/lib/native/flattenStyle.js +20 -0
  36. package/lib/native/flattenStyle.js.flow +20 -0
  37. package/lib/native/parseShadow.d.ts +18 -0
  38. package/lib/native/parseShadow.js +36 -0
  39. package/lib/native/parseShadow.js.flow +19 -0
  40. package/lib/native/parseTimeValue.d.ts +11 -0
  41. package/lib/native/parseTimeValue.js +18 -0
  42. package/lib/native/parseTimeValue.js.flow +12 -0
  43. package/lib/native/stylex.d.ts +50 -0
  44. package/lib/native/stylex.js +393 -0
  45. package/lib/native/stylex.js.flow +60 -0
  46. package/lib/stylex-inject.d.ts +15 -0
  47. package/lib/stylex-inject.js +0 -9
  48. package/lib/stylex-inject.js.flow +14 -0
  49. package/lib/stylex.d.ts +134 -59
  50. package/lib/stylex.js +123 -91
  51. package/lib/stylex.js.flow +151 -0
  52. package/package.json +8 -6
@@ -0,0 +1,1414 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ *
8
+ */
9
+
10
+ type CSSCursor =
11
+ | 'auto'
12
+ | 'default'
13
+ | 'none'
14
+ | 'context-menu'
15
+ | 'help'
16
+ | 'inherit'
17
+ | 'pointer'
18
+ | 'progress'
19
+ | 'wait'
20
+ | 'cell'
21
+ | 'crosshair'
22
+ | 'text'
23
+ | 'vertical-text'
24
+ | 'alias'
25
+ | 'copy'
26
+ | 'move'
27
+ | 'no-drop'
28
+ | 'not-allowed'
29
+ | 'e-resize'
30
+ | 'n-resize'
31
+ | 'ne-resize'
32
+ | 'nw-resize'
33
+ | 's-resize'
34
+ | 'se-resize'
35
+ | 'sw-resize'
36
+ | 'w-resize'
37
+ | 'ew-resize'
38
+ | 'ns-resize'
39
+ | 'nesw-resize'
40
+ | 'nwse-resize'
41
+ | 'col-resize'
42
+ | 'row-resize'
43
+ | 'all-scroll'
44
+ | 'zoom-in'
45
+ | 'zoom-out'
46
+ | 'grab'
47
+ | 'grabbing'
48
+ | '-webkit-grab'
49
+ | '-webkit-grabbing';
50
+ type alignContent =
51
+ | 'flex-start'
52
+ | 'flex-end'
53
+ | 'center'
54
+ | 'space-between'
55
+ | 'space-around'
56
+ | 'stretch'
57
+ | all;
58
+ type alignItems =
59
+ | 'start'
60
+ | 'end'
61
+ | 'flex-start'
62
+ | 'flex-end'
63
+ | 'center'
64
+ | 'baseline'
65
+ | 'stretch'
66
+ | all;
67
+ type alignSelf =
68
+ | 'auto'
69
+ | 'flex-start'
70
+ | 'flex-end'
71
+ | 'center'
72
+ | 'baseline'
73
+ | 'stretch'
74
+ | all;
75
+ type all = null | 'initial' | 'inherit' | 'unset';
76
+ type animationDelay = time;
77
+ type animationDirection = singleAnimationDirection;
78
+ type animationDuration = time;
79
+ type animationFillMode = singleAnimationFillMode;
80
+ type animationIterationCount = singleAnimationIterationCount;
81
+ type animationName = singleAnimationName;
82
+ type animationPlayState = singleAnimationPlayState;
83
+ type animationTimingFunction = singleTimingFunction;
84
+ type appearance = 'auto' | 'none' | 'textfield' | string;
85
+ type backdropFilter = 'none' | string;
86
+ type backfaceVisibility = 'visible' | 'hidden';
87
+ type backgroundAttachment = attachment;
88
+ type backgroundBlendMode = blendMode;
89
+ type backgroundClip = box;
90
+ type backgroundColor = color;
91
+ type backgroundImage = bgImage;
92
+ type backgroundOrigin = box;
93
+ type backgroundPosition = string;
94
+ type backgroundPositionX = string;
95
+ type backgroundPositionY = string;
96
+ type backgroundRepeat = repeatStyle;
97
+ type backgroundSize = bgSize;
98
+ type blockSize = width;
99
+ type border = borderWidth | brStyle | color;
100
+ type borderBlockEnd = borderWidth | borderStyle | color;
101
+ type borderBlockEndColor = color;
102
+ type borderBlockEndStyle = borderStyle;
103
+ type borderBlockEndWidth = borderWidth;
104
+ type borderBlockStart = borderWidth | borderStyle | color;
105
+ type borderBlockStartColor = color;
106
+ type borderBlockStartStyle = borderStyle;
107
+ type borderBlockStartWidth = borderWidth;
108
+ type borderBottomLeftRadius = lengthPercentage;
109
+ type borderBottomRightRadius = lengthPercentage;
110
+ type borderBottomStyle = brStyle;
111
+ type borderBottomWidth = borderWidth;
112
+ type borderCollapse = 'collapse' | 'separate';
113
+ type borderColor = color;
114
+ type borderImage =
115
+ | borderImageSource
116
+ | borderImageSlice
117
+ | string
118
+ | borderImageRepeat;
119
+ type borderImageOutset = string;
120
+ type borderImageRepeat = string;
121
+ type borderImageSlice = string | number | 'fill';
122
+ type borderImageSource = 'none' | string;
123
+ type borderImageWidth = string;
124
+ type borderInlineEnd = borderWidth | borderStyle | color;
125
+ type borderInlineEndColor = color;
126
+ type borderInlineEndStyle = borderStyle;
127
+ type borderInlineEndWidth = borderWidth;
128
+ type borderInlineStart = borderWidth | borderStyle | color;
129
+ type borderInlineStartColor = color;
130
+ type borderInlineStartStyle = borderStyle;
131
+ type borderInlineStartWidth = borderWidth;
132
+ type borderLeftColor = color;
133
+ type borderLeftStyle = brStyle;
134
+ type borderLeftWidth = borderWidth;
135
+ type borderRightColor = color;
136
+ type borderRightStyle = brStyle;
137
+ type borderRightWidth = borderWidth;
138
+ type borderRadius = lengthPercentage;
139
+ type borderSpacing = number;
140
+ type borderStyle = brStyle;
141
+ type borderTopLeftRadius = lengthPercentage;
142
+ type borderTopRightRadius = lengthPercentage;
143
+ type borderTopStyle = brStyle;
144
+ type borderTopWidth = borderWidth;
145
+ type boxAlign = 'start' | 'center' | 'end' | 'baseline' | 'stretch';
146
+ type boxDecorationBreak = 'slice' | 'clone';
147
+ type boxDirection = 'normal' | 'reverse' | 'inherit';
148
+ type boxFlex = number;
149
+ type boxFlexGroup = number;
150
+ type boxLines = 'single' | 'multiple';
151
+ type boxOrdinalGroup = number;
152
+ type boxOrient =
153
+ | 'horizontal'
154
+ | 'vertical'
155
+ | 'inline-axis'
156
+ | 'block-axis'
157
+ | 'inherit';
158
+ type boxShadow = 'none' | string;
159
+ type boxSizing = 'content-box' | 'border-box';
160
+ type boxSuppress = 'show' | 'discard' | 'hide';
161
+ type breakAfter =
162
+ | 'auto'
163
+ | 'avoid'
164
+ | 'avoid-page'
165
+ | 'page'
166
+ | 'left'
167
+ | 'right'
168
+ | 'recto'
169
+ | 'verso'
170
+ | 'avoid-column'
171
+ | 'column'
172
+ | 'avoid-region'
173
+ | 'region';
174
+ type breakBefore =
175
+ | 'auto'
176
+ | 'avoid'
177
+ | 'avoid-page'
178
+ | 'page'
179
+ | 'left'
180
+ | 'right'
181
+ | 'recto'
182
+ | 'verso'
183
+ | 'avoid-column'
184
+ | 'column'
185
+ | 'avoid-region'
186
+ | 'region';
187
+ type breakInside =
188
+ | 'auto'
189
+ | 'avoid'
190
+ | 'avoid-page'
191
+ | 'avoid-column'
192
+ | 'avoid-region';
193
+ type captionSide =
194
+ | 'top'
195
+ | 'bottom'
196
+ | 'block-start'
197
+ | 'block-end'
198
+ | 'inline-start'
199
+ | 'inline-end';
200
+ type clear = 'none' | 'left' | 'right' | 'both' | 'inline-start' | 'inline-end';
201
+ type clip = string | 'auto';
202
+ type clipPath = string | 'none';
203
+ type columnCount = number | 'auto';
204
+ type columnFill = 'auto' | 'balance';
205
+ type columnGap = number | string | 'normal';
206
+ type columnRule = columnRuleWidth | columnRuleStyle | columnRuleColor;
207
+ type columnRuleColor = color;
208
+ type columnRuleStyle = brStyle;
209
+ type columnRuleWidth = borderWidth;
210
+ type columnSpan = 'none' | 'all';
211
+ type columnWidth = number | 'auto';
212
+ type columns = columnWidth | columnCount;
213
+ type contain = 'none' | 'strict' | 'content' | string;
214
+ type content = string;
215
+ type counterIncrement = string | 'none';
216
+ type counterReset = string | 'none';
217
+ type cursor = CSSCursor;
218
+ type direction = 'ltr' | 'rtl' | 'inherit';
219
+ type display =
220
+ | 'none'
221
+ | 'inherit'
222
+ | 'inline'
223
+ | 'block'
224
+ | 'list-item'
225
+ | 'inline-list-item'
226
+ | 'inline-block'
227
+ | 'inline-table'
228
+ | 'table'
229
+ | 'table-cell'
230
+ | 'table-column'
231
+ | 'table-column-group'
232
+ | 'table-footer-group'
233
+ | 'table-header-group'
234
+ | 'table-row'
235
+ | 'table-row-group'
236
+ | 'flex'
237
+ | 'inline-flex'
238
+ | 'grid'
239
+ | 'inline-grid'
240
+ | 'run-in'
241
+ | 'ruby'
242
+ | 'ruby-base'
243
+ | 'ruby-text'
244
+ | 'ruby-base-container'
245
+ | 'ruby-text-container'
246
+ | 'contents';
247
+ type displayInside = 'auto' | 'block' | 'table' | 'flex' | 'grid' | 'ruby';
248
+ type displayList = 'none' | 'list-item';
249
+ type displayOutside =
250
+ | 'block-level'
251
+ | 'inline-level'
252
+ | 'run-in'
253
+ | 'contents'
254
+ | 'none'
255
+ | 'table-row-group'
256
+ | 'table-header-group'
257
+ | 'table-footer-group'
258
+ | 'table-row'
259
+ | 'table-cell'
260
+ | 'table-column-group'
261
+ | 'table-column'
262
+ | 'table-caption'
263
+ | 'ruby-base'
264
+ | 'ruby-text'
265
+ | 'ruby-base-container'
266
+ | 'ruby-text-container';
267
+ type emptyCells = 'show' | 'hide';
268
+ type filter = 'none' | string;
269
+ type flex = 'none' | string | number;
270
+ type flexBasis = 'content' | number | string | 'inherit';
271
+ type flexDirection =
272
+ | 'row'
273
+ | 'row-reverse'
274
+ | 'column'
275
+ | 'column-reverse'
276
+ | 'inherit';
277
+ type flexFlow = flexDirection | flexWrap;
278
+ type flexGrow = number | 'inherit';
279
+ type flexShrink = number | 'inherit';
280
+ type flexWrap = 'nowrap' | 'wrap' | 'wrap-reverse' | 'inherit';
281
+ type float =
282
+ | 'left'
283
+ | 'right'
284
+ | 'none'
285
+ | 'start'
286
+ | 'end'
287
+ | 'inline-start'
288
+ | 'inline-end'
289
+ | 'inherit';
290
+ type fontFamily = string;
291
+ type fontFeatureSettings = 'normal' | string;
292
+ type fontKerning = 'auto' | 'normal' | 'none';
293
+ type fontLanguageOverride = 'normal' | string;
294
+ type fontSize = absoluteSize | relativeSize | lengthPercentage;
295
+ type fontSizeAdjust = 'none' | number;
296
+ type fontStretch =
297
+ | 'normal'
298
+ | 'ultra-condensed'
299
+ | 'extra-condensed'
300
+ | 'condensed'
301
+ | 'semi-condensed'
302
+ | 'semi-expanded'
303
+ | 'expanded'
304
+ | 'extra-expanded'
305
+ | 'ultra-expanded';
306
+ type fontStyle = 'normal' | 'italic' | 'oblique';
307
+ type fontSynthesis = 'none' | string;
308
+ type fontVariant = 'normal' | 'none' | string;
309
+ type fontVariantAlternates = 'normal' | string;
310
+ type fontVariantCaps =
311
+ | 'normal'
312
+ | 'small-caps'
313
+ | 'all-small-caps'
314
+ | 'petite-caps'
315
+ | 'all-petite-caps'
316
+ | 'unicase'
317
+ | 'titling-caps';
318
+ type fontVariantEastAsian = 'normal' | string;
319
+ type fontVariantLigatures = 'normal' | 'none' | string;
320
+ type fontVariantNumeric = 'normal' | string;
321
+ type fontVariantPosition = 'normal' | 'sub' | 'super';
322
+ type fontWeight =
323
+ | 'inherit'
324
+ | 'normal'
325
+ | 'bold'
326
+ | 'bolder'
327
+ | 'lighter'
328
+ | 100
329
+ | 200
330
+ | 300
331
+ | 400
332
+ | 500
333
+ | 600
334
+ | 700
335
+ | 800
336
+ | 900;
337
+ type gap = number | string;
338
+ type grid = gridTemplate | string;
339
+ type gridArea = gridLine | string;
340
+ type gridAutoColumns = trackSize;
341
+ type gridAutoFlow = string | 'dense';
342
+ type gridAutoRows = trackSize;
343
+ type gridColumn = gridLine | string;
344
+ type gridColumnEnd = gridLine;
345
+ type gridColumnGap = lengthPercentage;
346
+ type gridColumnStart = gridLine;
347
+ type gridGap = gridRowGap | gridColumnGap;
348
+ type gridRow = gridLine | string;
349
+ type gridRowEnd = gridLine;
350
+ type gridRowGap = lengthPercentage;
351
+ type gridRowStart = gridLine;
352
+ type gridTemplate = 'none' | 'subgrid' | string;
353
+ type gridTemplateAreas = 'none' | string;
354
+ type gridTemplateColumns = 'none' | 'subgrid' | string;
355
+ type gridTemplateRows = 'none' | 'subgrid' | string;
356
+ type hyphens = 'none' | 'manual' | 'auto';
357
+ type imageOrientation = 'from-image' | number | string;
358
+ type imageRendering =
359
+ | 'auto'
360
+ | 'crisp-edges'
361
+ | 'pixelated'
362
+ | 'optimizeSpeed'
363
+ | 'optimizeQuality'
364
+ | string;
365
+ type imageResolution = string | 'snap';
366
+ type imeMode = 'auto' | 'normal' | 'active' | 'inactive' | 'disabled';
367
+ type initialLetter = 'normal' | string;
368
+ type initialLetterAlign = string;
369
+ type inlineSize = width;
370
+ type isolation = 'auto' | 'isolate';
371
+ type justifyContent =
372
+ | 'flex-start'
373
+ | 'flex-end'
374
+ | 'center'
375
+ | 'space-between'
376
+ | 'space-around'
377
+ | 'space-evenly'
378
+ | 'inherit';
379
+ type justifyItems =
380
+ | 'start'
381
+ | 'end'
382
+ | 'flex-start'
383
+ | 'flex-end'
384
+ | 'center'
385
+ | 'baseline'
386
+ | 'stretch'
387
+ | all;
388
+ type justifySelf =
389
+ | 'auto'
390
+ | 'normal'
391
+ | 'stretch'
392
+ | baselinePosition
393
+ | selfPosition
394
+ | 'left'
395
+ | 'right';
396
+ type letterSpacing = 'normal' | lengthPercentage;
397
+ type lineBreak = 'auto' | 'loose' | 'normal' | 'strict';
398
+ type lineHeight = 'inherit' | number;
399
+ type listStyle = listStyleType | listStylePosition | listStyleImage;
400
+ type listStyleImage = string | 'none';
401
+ type listStylePosition = 'inside' | 'outside';
402
+ type listStyleType = string | 'none';
403
+ type margin = number | string;
404
+ type marginBlockEnd = marginLeft;
405
+ type marginBlockStart = marginLeft;
406
+ type marginBottom = number | string | 'auto';
407
+ type marginInlineEnd = marginLeft;
408
+ type marginInlineStart = marginLeft;
409
+ type marginLeft = number | string | 'auto';
410
+ type marginRight = number | string | 'auto';
411
+ type marginTop = number | string | 'auto';
412
+ type markerOffset = number | 'auto';
413
+ type mask = maskLayer;
414
+ type maskClip = string;
415
+ type maskComposite = compositeOperator;
416
+ type maskMode = maskingMode;
417
+ type maskOrigin = geometryBox;
418
+ type maskPosition = string;
419
+ type maskRepeat = repeatStyle;
420
+ type maskSize = bgSize;
421
+ type maskType = 'luminance' | 'alpha';
422
+ type maxBlockSize = maxWidth;
423
+ type maxHeight =
424
+ | number
425
+ | string
426
+ | 'none'
427
+ | 'max-content'
428
+ | 'min-content'
429
+ | 'fit-content'
430
+ | 'fill-available';
431
+ type maxInlineSize = maxWidth;
432
+ type maxWidth =
433
+ | number
434
+ | string
435
+ | 'none'
436
+ | 'max-content'
437
+ | 'min-content'
438
+ | 'fit-content'
439
+ | 'fill-available';
440
+ type minBlockSize = minWidth;
441
+ type minHeight =
442
+ | number
443
+ | string
444
+ | 'auto'
445
+ | 'max-content'
446
+ | 'min-content'
447
+ | 'fit-content'
448
+ | 'fill-available';
449
+ type minInlineSize = minWidth;
450
+ type minWidth =
451
+ | number
452
+ | string
453
+ | 'auto'
454
+ | 'max-content'
455
+ | 'min-content'
456
+ | 'fit-content'
457
+ | 'fill-available';
458
+ type mixBlendMode = blendMode;
459
+ type motion = motionPath | motionOffset | motionRotation;
460
+ type motionOffset = lengthPercentage;
461
+ type motionPath = string | geometryBox | 'none';
462
+ type motionRotation = string | number;
463
+ type MsOverflowStyle =
464
+ | 'auto'
465
+ | 'none'
466
+ | 'scrollbar'
467
+ | '-ms-autohiding-scrollbar';
468
+ type objectFit = 'fill' | 'contain' | 'cover' | 'none' | 'scale-down';
469
+ type objectPosition = string;
470
+ type opacity = number;
471
+ type order = number;
472
+ type orphans = number;
473
+ type outline = string;
474
+ type outlineColor = color | 'invert';
475
+ type outlineOffset = number;
476
+ type outlineStyle = 'auto' | brStyle;
477
+ type outlineWidth = borderWidth;
478
+ type overflow = 'visible' | 'hidden' | 'scroll' | 'auto';
479
+ type overflowAnchor = 'auto' | 'none';
480
+ type overflowWrap = 'normal' | 'break-word';
481
+ type overflowX = 'visible' | 'hidden' | 'scroll' | 'auto';
482
+ type overflowY = 'visible' | 'hidden' | 'scroll' | 'auto';
483
+ type overscrollBehavior = 'none' | 'contain' | 'auto';
484
+ type overscrollBehaviorX = 'none' | 'contain' | 'auto';
485
+ type overscrollBehaviorY = 'none' | 'contain' | 'auto';
486
+ type padding = number | string;
487
+ type paddingBlockEnd = paddingLeft;
488
+ type paddingBlockStart = paddingLeft;
489
+ type paddingBottom = number | string;
490
+ type paddingLeft = number | string;
491
+ type paddingRight = number | string;
492
+ type paddingTop = number | string;
493
+ type pageBreakAfter = 'auto' | 'always' | 'avoid' | 'left' | 'right';
494
+ type pageBreakBefore = 'auto' | 'always' | 'avoid' | 'left' | 'right';
495
+ type pageBreakInside = 'auto' | 'avoid';
496
+ type perspective = 'none' | number;
497
+ type perspectiveOrigin = string;
498
+ type pointerEvents =
499
+ | 'auto'
500
+ | 'none'
501
+ | 'visiblePainted'
502
+ | 'visibleFill'
503
+ | 'visibleStroke'
504
+ | 'visible'
505
+ | 'painted'
506
+ | 'fill'
507
+ | 'stroke'
508
+ | 'all'
509
+ | 'inherit';
510
+ type position = 'static' | 'relative' | 'absolute' | 'sticky' | 'fixed';
511
+ type quotes = string | 'none';
512
+ type resize = 'none' | 'both' | 'horizontal' | 'vertical';
513
+ type rowGap = number | string;
514
+ type rubyAlign = 'start' | 'center' | 'space-between' | 'space-around';
515
+ type rubyMerge = 'separate' | 'collapse' | 'auto';
516
+ type rubyPosition = 'over' | 'under' | 'inter-character';
517
+ type scrollBehavior = 'auto' | 'smooth';
518
+ type scrollSnapAlign = 'none' | 'start' | 'end' | 'center';
519
+ type scrollSnapType = 'none' | 'x mandatory' | 'y mandatory';
520
+ type selfPosition =
521
+ | 'center'
522
+ | 'start'
523
+ | 'end'
524
+ | 'self-start'
525
+ | 'self-end'
526
+ | 'flex-start'
527
+ | 'flex-end';
528
+ type shapeImageThreshold = number;
529
+ type shapeMargin = lengthPercentage;
530
+ type shapeOutside = 'none' | shapeBox | string;
531
+ type tabSize = number;
532
+ type tableLayout = 'auto' | 'fixed';
533
+ type textAlign =
534
+ | 'start'
535
+ | 'end'
536
+ | 'left'
537
+ | 'right'
538
+ | 'center'
539
+ | 'justify'
540
+ | 'match-parent'
541
+ | 'inherit';
542
+ type textAlignLast =
543
+ | 'auto'
544
+ | 'start'
545
+ | 'end'
546
+ | 'left'
547
+ | 'right'
548
+ | 'center'
549
+ | 'justify'
550
+ | 'inherit';
551
+ type textCombineUpright = 'none' | 'all' | string;
552
+ type textDecoration =
553
+ | textDecorationLine
554
+ | textDecorationStyle
555
+ | textDecorationColor;
556
+ type textDecorationColor = color;
557
+ type textDecorationLine = 'none' | string;
558
+ type textDecorationSkip = 'none' | string;
559
+ type textDecorationStyle = 'solid' | 'double' | 'dotted' | 'dashed' | 'wavy';
560
+ type textEmphasis = textEmphasisStyle | textEmphasisColor;
561
+ type textEmphasisColor = color;
562
+ type textEmphasisPosition = string;
563
+ type textEmphasisStyle = 'none' | string;
564
+ type textIndent = lengthPercentage | 'hanging' | 'each-line';
565
+ type textOrientation = 'mixed' | 'upright' | 'sideways';
566
+ type textOverflow = string;
567
+ type textRendering =
568
+ | 'auto'
569
+ | 'optimizeSpeed'
570
+ | 'optimizeLegibility'
571
+ | 'geometricPrecision';
572
+ type textShadow = 'none' | string;
573
+ type textSizeAdjust = 'none' | 'auto' | string;
574
+ type textTransform =
575
+ | 'none'
576
+ | 'capitalize'
577
+ | 'uppercase'
578
+ | 'lowercase'
579
+ | 'full-width';
580
+ type textUnderlinePosition = 'auto' | string;
581
+ type touchAction = 'auto' | 'none' | string | 'manipulation';
582
+ type transform = 'none' | string;
583
+ type transformBox = 'border-box' | 'fill-box' | 'view-box';
584
+ type transformOrigin = string | number;
585
+ type transformStyle = 'flat' | 'preserve-3d';
586
+ type transition = singleTransition;
587
+ type transitionDelay = time;
588
+ type transitionDuration = time;
589
+ type transitionProperty = 'none' | singleTransitionProperty;
590
+ type transitionTimingFunction = singleTransitionTimingFunction;
591
+ type unicodeBidi =
592
+ | 'normal'
593
+ | 'embed'
594
+ | 'isolate'
595
+ | 'bidi-override'
596
+ | 'isolate-override'
597
+ | 'plaintext';
598
+ type userSelect = 'auto' | 'text' | 'none' | 'contain' | 'all';
599
+ type verticalAlign =
600
+ | 'baseline'
601
+ | 'sub'
602
+ | 'super'
603
+ | 'text-top'
604
+ | 'text-bottom'
605
+ | 'middle'
606
+ | 'top'
607
+ | 'bottom'
608
+ | string
609
+ | number;
610
+ type visibility = 'visible' | 'hidden' | 'collapse';
611
+ type whiteSpace =
612
+ | 'normal'
613
+ | 'pre'
614
+ | 'nowrap'
615
+ | 'pre-wrap'
616
+ | 'pre-line'
617
+ | 'initial'
618
+ | 'inherit';
619
+ type widows = number;
620
+ type width =
621
+ | string
622
+ | number
623
+ | 'available'
624
+ | 'min-content'
625
+ | 'max-content'
626
+ | 'fit-content'
627
+ | 'auto';
628
+ type willChange = 'auto' | animatableFeature;
629
+ type wordBreak = 'normal' | 'break-all' | 'keep-all' | nonStandardWordBreak;
630
+ type wordSpacing = 'normal' | lengthPercentage;
631
+ type wordWrap = 'normal' | 'break-word';
632
+ type writingMode =
633
+ | 'horizontal-tb'
634
+ | 'vertical-rl'
635
+ | 'vertical-lr'
636
+ | 'sideways-rl'
637
+ | 'sideways-lr'
638
+ | svgWritingMode;
639
+ type zIndex = 'auto' | number;
640
+ type alignmentBaseline =
641
+ | 'auto'
642
+ | 'baseline'
643
+ | 'before-edge'
644
+ | 'text-before-edge'
645
+ | 'middle'
646
+ | 'central'
647
+ | 'after-edge'
648
+ | 'text-after-edge'
649
+ | 'ideographic'
650
+ | 'alphabetic'
651
+ | 'hanging'
652
+ | 'mathematical';
653
+ type baselinePosition = 'baseline' | 'first baseline' | 'last baseline';
654
+ type baselineShift = 'baseline' | 'sub' | 'super' | svgLength;
655
+ type behavior = string;
656
+ type clipRule = 'nonzero' | 'evenodd';
657
+ type cue = cueBefore | cueAfter;
658
+ type cueAfter = string | number | 'none';
659
+ type cueBefore = string | number | 'none';
660
+ type dominantBaseline =
661
+ | 'auto'
662
+ | 'use-script'
663
+ | 'no-change'
664
+ | 'reset-size'
665
+ | 'ideographic'
666
+ | 'alphabetic'
667
+ | 'hanging'
668
+ | 'mathematical'
669
+ | 'central'
670
+ | 'middle'
671
+ | 'text-after-edge'
672
+ | 'text-before-edge';
673
+ type fill = paint;
674
+ type fillOpacity = number;
675
+ type fillRule = 'nonzero' | 'evenodd';
676
+ type glyphOrientationHorizontal = number;
677
+ type glyphOrientationVertical = number;
678
+ type kerning = 'auto' | svgLength;
679
+ type marker = 'none' | string;
680
+ type markerEnd = 'none' | string;
681
+ type markerMid = 'none' | string;
682
+ type markerStart = 'none' | string;
683
+ type pause = pauseBefore | pauseAfter;
684
+ type pauseAfter =
685
+ | number
686
+ | 'none'
687
+ | 'x-weak'
688
+ | 'weak'
689
+ | 'medium'
690
+ | 'strong'
691
+ | 'x-strong';
692
+ type pauseBefore =
693
+ | number
694
+ | 'none'
695
+ | 'x-weak'
696
+ | 'weak'
697
+ | 'medium'
698
+ | 'strong'
699
+ | 'x-strong';
700
+ type rest = restBefore | restAfter;
701
+ type restAfter =
702
+ | number
703
+ | 'none'
704
+ | 'x-weak'
705
+ | 'weak'
706
+ | 'medium'
707
+ | 'strong'
708
+ | 'x-strong';
709
+ type restBefore =
710
+ | number
711
+ | 'none'
712
+ | 'x-weak'
713
+ | 'weak'
714
+ | 'medium'
715
+ | 'strong'
716
+ | 'x-strong';
717
+ type shapeRendering =
718
+ | 'auto'
719
+ | 'optimizeSpeed'
720
+ | 'crispEdges'
721
+ | 'geometricPrecision';
722
+ type src = string;
723
+ type speak = 'auto' | 'none' | 'normal';
724
+ type speakAs = 'normal' | 'spell-out' | 'digits' | string;
725
+ type stroke = paint;
726
+ type strokeDasharray = 'none' | string;
727
+ type strokeDashoffset = svgLength;
728
+ type strokeLinecap = 'butt' | 'round' | 'square';
729
+ type strokeLinejoin = 'miter' | 'round' | 'bevel';
730
+ type strokeMiterlimit = number;
731
+ type strokeOpacity = number;
732
+ type strokeWidth = svgLength;
733
+ type textAnchor = 'start' | 'middle' | 'end';
734
+ type unicodeRange = string;
735
+ type voiceBalance =
736
+ | number
737
+ | 'left'
738
+ | 'center'
739
+ | 'right'
740
+ | 'leftwards'
741
+ | 'rightwards';
742
+ type voiceDuration = 'auto' | time;
743
+ type voiceFamily = string | 'preserve';
744
+ type voicePitch = number | 'absolute' | string;
745
+ type voiceRange = number | 'absolute' | string;
746
+ type voiceRate = string;
747
+ type voiceStress = 'normal' | 'strong' | 'moderate' | 'none' | 'reduced';
748
+ type voiceVolume = 'silent' | string;
749
+ type absoluteSize =
750
+ | 'xx-small'
751
+ | 'x-small'
752
+ | 'small'
753
+ | 'medium'
754
+ | 'large'
755
+ | 'x-large'
756
+ | 'xx-large';
757
+ type animatableFeature = 'scroll-position' | 'contents' | string;
758
+ type attachment = 'scroll' | 'fixed' | 'local';
759
+ type bgImage = 'none' | string;
760
+ type bgSize = string | 'cover' | 'contain';
761
+ type box = 'border-box' | 'padding-box' | 'content-box';
762
+ type brStyle =
763
+ | 'none'
764
+ | 'hidden'
765
+ | 'dotted'
766
+ | 'dashed'
767
+ | 'solid'
768
+ | 'double'
769
+ | 'groove'
770
+ | 'ridge'
771
+ | 'inset'
772
+ | 'outset';
773
+ type borderWidth = number | 'thin' | 'medium' | 'thick' | string;
774
+ type color = string;
775
+ type compositeOperator = 'add' | 'subtract' | 'intersect' | 'exclude';
776
+ type geometryBox = shapeBox | 'fill-box' | 'stroke-box' | 'view-box';
777
+ type gridLine = 'auto' | string;
778
+ type lengthPercentage = number | string;
779
+ type maskLayer =
780
+ | maskReference
781
+ | maskingMode
782
+ | string
783
+ | repeatStyle
784
+ | geometryBox
785
+ | compositeOperator;
786
+ type maskReference = 'none' | string;
787
+ type maskingMode = 'alpha' | 'luminance' | 'match-source';
788
+ type relativeSize = 'larger' | 'smaller';
789
+ type repeatStyle = 'repeat-x' | 'repeat-y' | string;
790
+ type shapeBox = box | 'margin-box';
791
+ type singleAnimationDirection =
792
+ | 'normal'
793
+ | 'reverse'
794
+ | 'alternate'
795
+ | 'alternate-reverse';
796
+ type singleAnimationFillMode = 'none' | 'forwards' | 'backwards' | 'both';
797
+ type singleAnimationIterationCount = 'infinite' | number;
798
+ type singleAnimationName = 'none' | string;
799
+ type singleAnimationPlayState = 'running' | 'paused';
800
+ type singleTimingFunction = singleTransitionTimingFunction;
801
+ type singleTransition = singleTransitionTimingFunction | string | number;
802
+ type singleTransitionTimingFunction =
803
+ | 'ease'
804
+ | 'linear'
805
+ | 'ease-in'
806
+ | 'ease-out'
807
+ | 'ease-in-out'
808
+ | 'step-start'
809
+ | 'step-end'
810
+ | string;
811
+ type singleTransitionProperty = 'all' | string;
812
+ type time = string;
813
+ type trackBreadth =
814
+ | lengthPercentage
815
+ | string
816
+ | 'min-content'
817
+ | 'max-content'
818
+ | 'auto';
819
+ type trackSize = trackBreadth | string;
820
+ type nonStandardWordBreak = 'break-word';
821
+ type blendMode =
822
+ | 'normal'
823
+ | 'multiply'
824
+ | 'screen'
825
+ | 'overlay'
826
+ | 'darken'
827
+ | 'lighten'
828
+ | 'color-dodge'
829
+ | 'color-burn'
830
+ | 'hard-light'
831
+ | 'soft-light'
832
+ | 'difference'
833
+ | 'exclusion'
834
+ | 'hue'
835
+ | 'saturation'
836
+ | 'color'
837
+ | 'luminosity';
838
+ type maskImage = maskReference;
839
+ type paint = 'none' | 'currentColor' | color | string;
840
+ type svgLength = string | number;
841
+ type svgWritingMode = 'lr-tb' | 'rl-tb' | 'tb-rl' | 'lr' | 'rl' | 'tb';
842
+ type top = number | string;
843
+ type OptionalArray<T> = Array<T> | T;
844
+ export type SupportedVendorSpecificCSSProperties = Readonly<{
845
+ MozOsxFontSmoothing?: null | 'grayscale';
846
+ WebkitAppearance?: null | appearance;
847
+ WebkitFontSmoothing?: null | 'antialiased';
848
+ WebkitTapHighlightColor?: null | color;
849
+ }>;
850
+ export type CSSProperties = Readonly<{
851
+ theme?: all | string;
852
+ MozOsxFontSmoothing?: all | 'grayscale';
853
+ WebkitAppearance?: all | appearance;
854
+ WebkitFontSmoothing?: all | 'antialiased';
855
+ WebkitTapHighlightColor?: all | color;
856
+ WebkitMaskImage?: all | maskImage;
857
+ WebkitTextFillColor?: all | color;
858
+ textFillColor?: all | color;
859
+ WebkitTextStrokeWidth?: all | number | string;
860
+ WebkitTextStrokeColor?: all | color;
861
+ WebkitBackgroundClip?:
862
+ | null
863
+ | 'border-box'
864
+ | 'padding-box'
865
+ | 'content-box'
866
+ | 'text';
867
+ backgroundClip?: all | 'border-box' | 'padding-box' | 'content-box' | 'text';
868
+ WebkitBoxOrient?:
869
+ | null
870
+ | 'vertical'
871
+ | 'horizontal'
872
+ | 'inline-axis'
873
+ | 'block-axis';
874
+ WebkitLineClamp?: all | number;
875
+ accentColor?: all | color;
876
+ aspectRatio?: all | number | string;
877
+ placeContent?: all | string;
878
+ alignContent?: all | alignContent;
879
+ justifyContent?: all | justifyContent;
880
+ placeItems?: all | string;
881
+ alignItems?: all | alignItems;
882
+ justifyItems?: all | justifyItems;
883
+ alignSelf?: all | alignSelf;
884
+ justifySelf?: all | justifySelf;
885
+ alignmentBaseline?: all | alignmentBaseline;
886
+ alignTracks?: all | string;
887
+ justifyTracks?: all | string;
888
+ masonryAutoFlow?: all | string;
889
+ animation?: all | string;
890
+ animationComposition?: all | string;
891
+ animationDelay?: all | OptionalArray<animationDelay>;
892
+ animationDirection?: all | OptionalArray<animationDirection>;
893
+ animationDuration?: all | OptionalArray<animationDuration>;
894
+ animationFillMode?: all | OptionalArray<animationFillMode>;
895
+ animationIterationCount?: all | OptionalArray<animationIterationCount>;
896
+ animationName?: all | OptionalArray<animationName>;
897
+ animationPlayState?: all | OptionalArray<animationPlayState>;
898
+ animationTimingFunction?: all | OptionalArray<animationTimingFunction>;
899
+ animationTimeline?: all | string;
900
+ animationRange?: all | string;
901
+ animationRangeStart?: all | string;
902
+ animationRangeEnd?: all | string;
903
+ appearance?: all | appearance;
904
+ azimuth?: all | string;
905
+ backdropFilter?: all | backdropFilter;
906
+ backfaceVisibility?: all | backfaceVisibility;
907
+ background?: all | string;
908
+ backgroundAttachment?: all | OptionalArray<backgroundAttachment>;
909
+ backgroundBlendMode?: all | OptionalArray<backgroundBlendMode>;
910
+ backgroundClip?: all | OptionalArray<backgroundClip>;
911
+ backgroundColor?: all | backgroundColor;
912
+ backgroundImage?: all | OptionalArray<backgroundImage>;
913
+ backgroundOrigin?: all | OptionalArray<backgroundOrigin>;
914
+ backgroundPosition?: all | OptionalArray<backgroundPosition>;
915
+ backgroundPositionX?: all | OptionalArray<backgroundPositionX>;
916
+ backgroundPositionY?: all | OptionalArray<backgroundPositionY>;
917
+ backgroundRepeat?: all | OptionalArray<backgroundRepeat>;
918
+ backgroundSize?: all | OptionalArray<backgroundSize>;
919
+ baselineShift?: all | baselineShift;
920
+ behavior?: all | behavior;
921
+ blockSize?: all | blockSize;
922
+ border?: all | border;
923
+ borderBlock?: all | borderBlockEnd;
924
+ borderBlockColor?: all | borderBlockEndColor;
925
+ borderBlockStyle?: all | borderBlockEndStyle;
926
+ borderBlockWidth?: all | borderBlockEndWidth;
927
+ borderBlockEnd?: all | borderBlockEnd;
928
+ borderBlockEndColor?: all | borderBlockEndColor;
929
+ borderBlockEndStyle?: all | borderBlockEndStyle;
930
+ borderBlockEndWidth?: all | borderBlockEndWidth;
931
+ borderBlockStart?: all | borderBlockStart;
932
+ borderBlockStartColor?: all | borderBlockStartColor;
933
+ borderBlockStartStyle?: all | borderBlockStartStyle;
934
+ borderBlockStartWidth?: all | borderBlockStartWidth;
935
+ borderBottom?: all | border;
936
+ borderBottomColor?: all | color;
937
+ borderBottomStyle?: all | borderBottomStyle;
938
+ borderBottomWidth?: all | borderBottomWidth;
939
+ borderCollapse?: all | borderCollapse;
940
+ borderColor?: all | borderColor;
941
+ borderEnd?: all | border;
942
+ borderEndColor?: all | borderRightColor;
943
+ borderEndStyle?: all | borderRightStyle;
944
+ borderEndWidth?: all | borderRightWidth;
945
+ borderImage?: all | borderImage;
946
+ borderImageOutset?: all | borderImageOutset;
947
+ borderImageRepeat?: all | borderImageRepeat;
948
+ borderImageSlice?: all | borderImageSlice;
949
+ borderImageSource?: all | borderImageSource;
950
+ borderImageWidth?: all | borderImageWidth;
951
+ borderInline?: all | borderInlineEnd;
952
+ borderInlineColor?: all | borderInlineEndColor;
953
+ borderInlineStyle?: all | borderInlineEndStyle;
954
+ borderInlineWidth?: all | borderInlineEndWidth;
955
+ borderInlineEnd?: all | borderInlineEnd;
956
+ borderInlineEndColor?: all | borderInlineEndColor;
957
+ borderInlineEndStyle?: all | borderInlineEndStyle;
958
+ borderInlineEndWidth?: all | borderInlineEndWidth;
959
+ borderInlineStart?: all | borderInlineStart;
960
+ borderInlineStartColor?: all | borderInlineStartColor;
961
+ borderInlineStartStyle?: all | borderInlineStartStyle;
962
+ borderInlineStartWidth?: all | borderInlineStartWidth;
963
+ borderLeft?: all | border;
964
+ borderLeftColor?: all | borderLeftColor;
965
+ borderLeftStyle?: all | borderLeftStyle;
966
+ borderLeftWidth?: all | borderLeftWidth;
967
+ borderRight?: all | border;
968
+ borderRightColor?: all | borderRightColor;
969
+ borderRightStyle?: all | borderRightStyle;
970
+ borderRightWidth?: all | borderRightWidth;
971
+ borderSpacing?: all | borderSpacing;
972
+ borderStart?: all | border;
973
+ borderStartColor?: all | borderLeftColor;
974
+ borderStartStyle?: all | borderLeftStyle;
975
+ borderStartWidth?: all | borderLeftWidth;
976
+ borderStyle?: all | borderStyle;
977
+ borderTop?: all | border;
978
+ borderTopColor?: all | color;
979
+ borderRadius?: all | borderRadius;
980
+ borderEndStartRadius?: all | borderBottomLeftRadius;
981
+ borderStartStartRadius?: all | borderTopLeftRadius;
982
+ borderStartEndRadius?: all | borderTopRightRadius;
983
+ borderEndEndRadius?: all | borderBottomRightRadius;
984
+ borderTopLeftRadius?: all | borderTopLeftRadius;
985
+ borderTopRightRadius?: all | borderTopRightRadius;
986
+ borderBottomLeftRadius?: all | borderBottomLeftRadius;
987
+ borderBottomRightRadius?: all | borderBottomRightRadius;
988
+ borderTopStyle?: all | borderTopStyle;
989
+ borderTopWidth?: all | borderTopWidth;
990
+ borderWidth?: all | borderWidth;
991
+ bottom?: all | number | string;
992
+ boxAlign?: all | boxAlign;
993
+ boxDecorationBreak?: all | boxDecorationBreak;
994
+ boxDirection?: all | boxDirection;
995
+ boxFlex?: all | boxFlex;
996
+ boxFlexGroup?: all | boxFlexGroup;
997
+ boxLines?: all | boxLines;
998
+ boxOrdinalGroup?: all | boxOrdinalGroup;
999
+ boxOrient?: all | boxOrient;
1000
+ boxShadow?: all | OptionalArray<boxShadow>;
1001
+ boxSizing?: all | boxSizing;
1002
+ boxSuppress?: all | boxSuppress;
1003
+ breakAfter?: all | breakAfter;
1004
+ breakBefore?: all | breakBefore;
1005
+ breakInside?: all | breakInside;
1006
+ captionSide?: all | captionSide;
1007
+ caret?: all | string;
1008
+ caretColor?: all | color;
1009
+ caretShape?: all | string;
1010
+ clear?: all | clear;
1011
+ clip?: all | clip;
1012
+ clipPath?: all | clipPath;
1013
+ clipRule?: all | clipRule;
1014
+ color?: all | color;
1015
+ colorScheme?:
1016
+ | null
1017
+ | 'normal'
1018
+ | 'light'
1019
+ | 'dark'
1020
+ | 'light dark'
1021
+ | 'only light'
1022
+ | 'only dark';
1023
+ forcedColorAdjust?: all | 'auto' | 'none';
1024
+ printColorAdjust?: all | 'economy' | 'exact';
1025
+ columns?: all | columns;
1026
+ columnCount?: all | columnCount;
1027
+ columnWidth?: all | columnWidth;
1028
+ columnRule?: all | columnRule;
1029
+ columnRuleColor?: all | columnRuleColor;
1030
+ columnRuleStyle?: all | columnRuleStyle;
1031
+ columnRuleWidth?: all | columnRuleWidth;
1032
+ columnFill?: all | columnFill;
1033
+ columnGap?: all | columnGap;
1034
+ columnSpan?: all | columnSpan;
1035
+ contain?: all | contain;
1036
+ containIntrinsicSize?: all | number | string;
1037
+ containIntrinsicBlockSize?: all | number | string;
1038
+ containIntrinsicInlineSize?: all | number | string;
1039
+ containIntrinsicHeightSize?: all | number | string;
1040
+ containIntrinsicWidthSize?: all | number | string;
1041
+ container?: all | string;
1042
+ containerName?: all | string;
1043
+ containerType?: all | 'size' | 'inline-size' | 'normal';
1044
+ contentVisibility?: all | 'visible' | 'hidden' | 'auto';
1045
+ content?: all | content;
1046
+ counterIncrement?: all | counterIncrement;
1047
+ counterReset?: all | counterReset;
1048
+ counterSet?: all | string | number;
1049
+ cue?: all | cue;
1050
+ cueAfter?: all | cueAfter;
1051
+ cueBefore?: all | cueBefore;
1052
+ cursor?: all | OptionalArray<cursor>;
1053
+ direction?: all | direction;
1054
+ display?: all | display;
1055
+ displayInside?: all | displayInside;
1056
+ displayList?: all | displayList;
1057
+ displayOutside?: all | displayOutside;
1058
+ dominantBaseline?: all | dominantBaseline;
1059
+ emptyCells?: all | emptyCells;
1060
+ end?: all | number | string;
1061
+ fill?: all | fill;
1062
+ fillOpacity?: all | fillOpacity;
1063
+ fillRule?: all | fillRule;
1064
+ filter?: all | filter;
1065
+ flex?: all | flex;
1066
+ flexBasis?: all | flexBasis;
1067
+ flexDirection?: all | flexDirection;
1068
+ flexFlow?: all | flexFlow;
1069
+ flexGrow?: all | flexGrow;
1070
+ flexShrink?: all | flexShrink;
1071
+ flexWrap?: all | flexWrap;
1072
+ float?: all | float;
1073
+ font?: all | string;
1074
+ fontFamily?: all | fontFamily;
1075
+ fontFeatureSettings?: all | fontFeatureSettings;
1076
+ fontKerning?: all | fontKerning;
1077
+ fontLanguageOverride?: all | fontLanguageOverride;
1078
+ fontSize?: all | fontSize;
1079
+ fontSizeAdjust?: all | fontSizeAdjust;
1080
+ fontStretch?: all | fontStretch;
1081
+ fontStyle?: all | fontStyle;
1082
+ fontSynthesis?: all | fontSynthesis;
1083
+ fontSynthesisWeight?: all | 'auto' | 'none';
1084
+ fontSynthesisStyle?: all | 'auto' | 'none';
1085
+ fontSynthesisSmallCaps?: all | 'auto' | 'none';
1086
+ fontSynthesisPosition?: all | 'auto' | 'none';
1087
+ fontVariant?: all | fontVariant;
1088
+ fontVariantAlternates?: all | fontVariantAlternates;
1089
+ fontVariantCaps?: all | fontVariantCaps;
1090
+ fontVariantEastAsian?: all | fontVariantEastAsian;
1091
+ fontVariantLigatures?: all | fontVariantLigatures;
1092
+ fontVariantNumeric?: all | fontVariantNumeric;
1093
+ fontVariantPosition?: all | fontVariantPosition;
1094
+ fontWeight?: all | fontWeight;
1095
+ fontFeatureSettings?: all | string;
1096
+ fontKerning?: all | 'auto' | 'normal' | 'none';
1097
+ fontLanguageOverride?: all | string;
1098
+ fontOpticalSizing?: all | 'auto' | 'none';
1099
+ fontPalette?: all | 'light' | 'dark' | string;
1100
+ fontVariationSettings?: all | string;
1101
+ gap?: all | gap;
1102
+ glyphOrientationHorizontal?: all | glyphOrientationHorizontal;
1103
+ glyphOrientationVertical?: all | glyphOrientationVertical;
1104
+ grid?: all | grid;
1105
+ gridArea?: all | gridArea;
1106
+ gridAutoColumns?: all | gridAutoColumns;
1107
+ gridAutoFlow?: all | gridAutoFlow;
1108
+ gridAutoRows?: all | gridAutoRows;
1109
+ gridColumn?: all | gridColumn;
1110
+ gridColumnEnd?: all | gridColumnEnd;
1111
+ gridColumnGap?: all | gridColumnGap;
1112
+ gridColumnStart?: all | gridColumnStart;
1113
+ gridGap?: all | gridGap;
1114
+ gridRow?: all | gridRow;
1115
+ gridRowEnd?: all | gridRowEnd;
1116
+ gridRowGap?: all | gridRowGap;
1117
+ gridRowStart?: all | gridRowStart;
1118
+ gridTemplate?: all | gridTemplate;
1119
+ gridTemplateAreas?: all | gridTemplateAreas;
1120
+ gridTemplateColumns?: all | gridTemplateColumns;
1121
+ gridTemplateRows?: all | gridTemplateRows;
1122
+ hangingPunctuation?: all | string;
1123
+ hyphenateCharacter?: all | string;
1124
+ hyphenateLimitChars?: all | string | number;
1125
+ hyphens?: all | hyphens;
1126
+ height?: all | number | string;
1127
+ imageOrientation?: all | imageOrientation;
1128
+ imageRendering?: all | imageRendering;
1129
+ imageResolution?: all | imageResolution;
1130
+ imeMode?: all | imeMode;
1131
+ initialLetter?: all | initialLetter;
1132
+ initialLetterAlign?: all | initialLetterAlign;
1133
+ inlineSize?: all | inlineSize;
1134
+ inset?: all | number | string;
1135
+ insetBlock?: all | number | string;
1136
+ insetBlockEnd?: all | number | string;
1137
+ insetBlockStart?: all | number | string;
1138
+ insetInline?: all | number | string;
1139
+ insetInlineEnd?: all | number | string;
1140
+ insetInlineStart?: all | number | string;
1141
+ isolation?: all | isolation;
1142
+ kerning?: all | kerning;
1143
+ left?: all | number | string;
1144
+ letterSpacing?: all | letterSpacing;
1145
+ lineBreak?: all | lineBreak;
1146
+ lineHeight?: all | lineHeight;
1147
+ lineHeightStep?: all | number | string;
1148
+ listStyle?: all | listStyle;
1149
+ listStyleImage?: all | listStyleImage;
1150
+ listStylePosition?: all | listStylePosition;
1151
+ listStyleType?: all | listStyleType;
1152
+ margin?: all | margin;
1153
+ marginBlock?: all | marginBlockEnd;
1154
+ marginBlockEnd?: all | marginBlockEnd;
1155
+ marginBlockStart?: all | marginBlockStart;
1156
+ marginBottom?: all | marginBottom;
1157
+ marginEnd?: all | marginRight;
1158
+ marginHorizontal?: all | marginLeft;
1159
+ marginInline?: all | marginInlineEnd;
1160
+ marginInlineEnd?: all | marginInlineEnd;
1161
+ marginInlineStart?: all | marginInlineStart;
1162
+ marginLeft?: all | marginLeft;
1163
+ marginRight?: all | marginRight;
1164
+ marginStart?: all | marginLeft;
1165
+ marginTop?: all | marginTop;
1166
+ marginVertical?: all | marginTop;
1167
+ marginTrim?:
1168
+ | null
1169
+ | 'none'
1170
+ | 'block'
1171
+ | 'block-start'
1172
+ | 'block-end'
1173
+ | 'inline'
1174
+ | 'inline-start'
1175
+ | 'inline-end';
1176
+ marker?: all | marker;
1177
+ markerEnd?: all | markerEnd;
1178
+ markerMid?: all | markerMid;
1179
+ markerOffset?: all | markerOffset;
1180
+ markerStart?: all | markerStart;
1181
+ mask?: all | mask;
1182
+ maskClip?: all | maskClip;
1183
+ maskComposite?: all | maskComposite;
1184
+ maskImage?: all | maskImage;
1185
+ maskMode?: all | maskMode;
1186
+ maskOrigin?: all | maskOrigin;
1187
+ maskPosition?: all | maskPosition;
1188
+ maskRepeat?: all | maskRepeat;
1189
+ maskSize?: all | maskSize;
1190
+ maskType?: all | maskType;
1191
+ maskBorder?: all | string;
1192
+ maskBorderMode?: all | 'alpha' | 'luminance';
1193
+ maskBorderOutset?: all | string | number;
1194
+ maskBorderRepeat?: all | 'stretch' | 'repeat' | 'round' | 'space';
1195
+ maskBorderSlice?: all | string | number;
1196
+ maskBorderSource?: all | string;
1197
+ maskBorderWidth?: all | string | number;
1198
+ maxBlockSize?: all | maxBlockSize;
1199
+ maxHeight?: all | maxHeight;
1200
+ maxInlineSize?: all | maxInlineSize;
1201
+ maxWidth?: all | maxWidth;
1202
+ minBlockSize?: all | minBlockSize;
1203
+ minHeight?: all | minHeight;
1204
+ minInlineSize?: all | minInlineSize;
1205
+ minWidth?: all | minWidth;
1206
+ mixBlendMode?: all | mixBlendMode;
1207
+ motion?: all | motion;
1208
+ motionOffset?: all | motionOffset;
1209
+ motionPath?: all | motionPath;
1210
+ motionRotation?: all | motionRotation;
1211
+ MsOverflowStyle?: all | MsOverflowStyle;
1212
+ objectFit?: all | objectFit;
1213
+ objectPosition?: all | objectPosition;
1214
+ offset?: all | string;
1215
+ offsetAnchor?: all | string;
1216
+ offsetDistance?: all | string | number;
1217
+ offsetPath?: all | string;
1218
+ offsetPosition?: all | string;
1219
+ offsetRotate?: all | string;
1220
+ opacity?: all | opacity;
1221
+ order?: all | order;
1222
+ orphans?: all | orphans;
1223
+ outline?: all | outline;
1224
+ outlineColor?: all | outlineColor;
1225
+ outlineOffset?: all | outlineOffset;
1226
+ outlineStyle?: all | outlineStyle;
1227
+ outlineWidth?: all | outlineWidth;
1228
+ overflow?: all | overflow;
1229
+ overflowBlock?: all | overflowY;
1230
+ overflowBlockX?: all | overflowX;
1231
+ overflowX?: all | overflowX;
1232
+ overflowY?: all | overflowY;
1233
+ overflowAnchor?: all | overflowAnchor;
1234
+ overflowClipMargin?: all | string;
1235
+ overflowWrap?: all | overflowWrap;
1236
+ overscrollBehavior?: all | overscrollBehavior;
1237
+ overscrollBehaviorBlock?: all | overscrollBehaviorY;
1238
+ overscrollBehaviorY?: all | overscrollBehaviorY;
1239
+ overscrollBehaviorInline?: all | overscrollBehaviorX;
1240
+ overscrollBehaviorX?: all | overscrollBehaviorX;
1241
+ padding?: all | padding;
1242
+ paddingBlock?: all | paddingBlockEnd;
1243
+ paddingBlockEnd?: all | paddingBlockEnd;
1244
+ paddingBlockStart?: all | paddingBlockStart;
1245
+ paddingInline?: all | paddingBlockEnd;
1246
+ paddingInlineEnd?: all | paddingBlockEnd;
1247
+ paddingInlineStart?: all | paddingBlockStart;
1248
+ paddingBottom?: all | paddingBottom;
1249
+ paddingEnd?: all | paddingBottom;
1250
+ paddingHorizontal?: all | paddingLeft;
1251
+ paddingLeft?: all | paddingLeft;
1252
+ paddingRight?: all | paddingRight;
1253
+ paddingStart?: all | paddingLeft;
1254
+ paddingTop?: all | paddingTop;
1255
+ paddingVertical?: all | paddingTop;
1256
+ page?: all | string;
1257
+ pageBreakAfter?: all | pageBreakAfter;
1258
+ pageBreakBefore?: all | pageBreakBefore;
1259
+ pageBreakInside?: all | pageBreakInside;
1260
+ paintOrder?:
1261
+ | null
1262
+ | 'normal'
1263
+ | 'stroke'
1264
+ | 'fill'
1265
+ | 'markers'
1266
+ | 'stroke fill'
1267
+ | 'stroke markers'
1268
+ | 'fill markers'
1269
+ | 'stroke fill markers';
1270
+ pause?: all | pause;
1271
+ pauseAfter?: all | pauseAfter;
1272
+ pauseBefore?: all | pauseBefore;
1273
+ perspective?: all | perspective;
1274
+ perspectiveOrigin?: all | perspectiveOrigin;
1275
+ pointerEvents?: all | pointerEvents;
1276
+ position?: all | position;
1277
+ quotes?: all | quotes;
1278
+ resize?: all | resize;
1279
+ rest?: all | rest;
1280
+ restAfter?: all | restAfter;
1281
+ restBefore?: all | restBefore;
1282
+ right?: all | number | string;
1283
+ rowGap?: all | rowGap;
1284
+ rubyAlign?: all | rubyAlign;
1285
+ rubyMerge?: all | rubyMerge;
1286
+ rubyPosition?: all | rubyPosition;
1287
+ mathDepth?: all | number | string;
1288
+ mathShift?: all | 'normal' | 'compact';
1289
+ mathStyle?: all | 'normal' | 'compact';
1290
+ scrollbarWidth?: all | string | number;
1291
+ scrollBehavior?: all | scrollBehavior;
1292
+ scrollMargin?: all | number | string;
1293
+ scrollMarginTop?: all | number | string;
1294
+ scrollMarginRight?: all | number | string;
1295
+ scrollMarginBottom?: all | number | string;
1296
+ scrollMarginLeft?: all | number | string;
1297
+ scrollMarginBlock?: all | number | string;
1298
+ scrollMarginBlockEnd?: all | number | string;
1299
+ scrollMarginBlockStart?: all | number | string;
1300
+ scrollMarginInline?: all | number | string;
1301
+ scrollMarginInlineEnd?: all | number | string;
1302
+ scrollMarginInlineStart?: all | number | string;
1303
+ scrollPadding?: all | number | string;
1304
+ scrollPaddingTop?: all | number | string;
1305
+ scrollPaddingRight?: all | number | string;
1306
+ scrollPaddingBottom?: all | number | string;
1307
+ scrollPaddingLeft?: all | number | string;
1308
+ scrollPaddingBlock?: all | number | string;
1309
+ scrollPaddingBlockEnd?: all | number | string;
1310
+ scrollPaddingBlockStart?: all | number | string;
1311
+ scrollPaddingInline?: all | number | string;
1312
+ scrollPaddingInlineEnd?: all | number | string;
1313
+ scrollPaddingInlineStart?: all | number | string;
1314
+ scrollSnapAlign?: all | scrollSnapAlign;
1315
+ scrollSnapStop?: all | 'normal' | 'always';
1316
+ scrollSnapType?: all | scrollSnapType;
1317
+ scrollTimeline?: all | string;
1318
+ scrollTimelineAxis?: all | 'block' | 'inline' | 'x' | 'y';
1319
+ scrollTimelineName?: all | string;
1320
+ scrollbarColor?: all | color;
1321
+ scrollbarWidth?: all | width;
1322
+ shapeImageThreshold?: all | shapeImageThreshold;
1323
+ shapeMargin?: all | shapeMargin;
1324
+ shapeOutside?: all | shapeOutside;
1325
+ shapeRendering?: all | shapeRendering;
1326
+ speak?: all | speak;
1327
+ speakAs?: all | speakAs;
1328
+ src?: all | src;
1329
+ start?: all | number | string;
1330
+ stroke?: all | stroke;
1331
+ strokeDasharray?: all | strokeDasharray;
1332
+ strokeDashoffset?: all | strokeDashoffset;
1333
+ strokeLinecap?: all | strokeLinecap;
1334
+ strokeLinejoin?: all | strokeLinejoin;
1335
+ strokeMiterlimit?: all | strokeMiterlimit;
1336
+ strokeOpacity?: all | strokeOpacity;
1337
+ strokeWidth?: all | strokeWidth;
1338
+ tabSize?: all | tabSize;
1339
+ tableLayout?: all | tableLayout;
1340
+ textAlign?: all | textAlign;
1341
+ textAlignLast?: all | textAlignLast;
1342
+ textAnchor?: all | textAnchor;
1343
+ textCombineUpright?: all | textCombineUpright;
1344
+ textDecoration?: all | textDecoration;
1345
+ textDecorationColor?: all | textDecorationColor;
1346
+ textDecorationLine?: all | textDecorationLine;
1347
+ textDecorationSkip?: all | textDecorationSkip;
1348
+ textDecorationSkipInk?: all | 'auto' | 'none' | 'all';
1349
+ textDecorationStyle?: all | textDecorationStyle;
1350
+ textDecorationThickness?: all | number | string;
1351
+ textEmphasis?: all | textEmphasis;
1352
+ textEmphasisColor?: all | textEmphasisColor;
1353
+ textEmphasisPosition?: all | textEmphasisPosition;
1354
+ textEmphasisStyle?: all | textEmphasisStyle;
1355
+ textIndent?: all | textIndent;
1356
+ textJustify?:
1357
+ | null
1358
+ | 'none'
1359
+ | 'auto'
1360
+ | 'inter-word'
1361
+ | 'inter-character'
1362
+ | 'distribute';
1363
+ textOrientation?: all | textOrientation;
1364
+ textOverflow?: all | textOverflow;
1365
+ textRendering?: all | textRendering;
1366
+ textShadow?: all | OptionalArray<textShadow>;
1367
+ textSizeAdjust?: all | textSizeAdjust;
1368
+ textTransform?: all | textTransform;
1369
+ textUnderlineOffset?: all | number | string;
1370
+ textUnderlinePosition?: all | textUnderlinePosition;
1371
+ textWrap?: all | 'wrap' | 'nowrap' | 'balance';
1372
+ timelineScope?: all | string;
1373
+ top?: all | top;
1374
+ touchAction?: all | touchAction;
1375
+ transform?: all | transform;
1376
+ transformBox?: all | transformBox;
1377
+ transformOrigin?: all | transformOrigin;
1378
+ transformStyle?: all | transformStyle;
1379
+ rotate?: all | number | string;
1380
+ scale?: all | number | string;
1381
+ translate?: all | number | string;
1382
+ transition?: all | OptionalArray<transition>;
1383
+ transitionDelay?: all | OptionalArray<transitionDelay>;
1384
+ transitionDuration?: all | OptionalArray<transitionDuration>;
1385
+ transitionProperty?: all | OptionalArray<transitionProperty>;
1386
+ transitionTimingFunction?: all | OptionalArray<transitionTimingFunction>;
1387
+ unicodeBidi?: all | unicodeBidi;
1388
+ unicodeRange?: all | unicodeRange;
1389
+ userSelect?: all | userSelect;
1390
+ verticalAlign?: all | verticalAlign;
1391
+ viewTimeline?: all | string;
1392
+ viewTimelineAxis?: all | 'block' | 'inline' | 'x' | 'y';
1393
+ viewTimelineName?: all | string;
1394
+ viewTimelineInset?: all | number | string;
1395
+ viewTransitionName?: all | string;
1396
+ visibility?: all | visibility;
1397
+ voiceBalance?: all | voiceBalance;
1398
+ voiceDuration?: all | voiceDuration;
1399
+ voiceFamily?: all | voiceFamily;
1400
+ voicePitch?: all | voicePitch;
1401
+ voiceRange?: all | voiceRange;
1402
+ voiceRate?: all | voiceRate;
1403
+ voiceStress?: all | voiceStress;
1404
+ voiceVolume?: all | voiceVolume;
1405
+ whiteSpace?: all | whiteSpace;
1406
+ widows?: all | widows;
1407
+ width?: all | width;
1408
+ willChange?: all | willChange;
1409
+ wordBreak?: all | wordBreak;
1410
+ wordSpacing?: all | wordSpacing;
1411
+ wordWrap?: all | wordWrap;
1412
+ writingMode?: all | writingMode;
1413
+ zIndex?: all | zIndex;
1414
+ }>;