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