@stylexjs/shared 0.2.0-beta.9 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (183) hide show
  1. package/README.md +3 -3
  2. package/lib/common-types.d.ts +49 -0
  3. package/lib/common-types.js.flow +64 -0
  4. package/lib/convert-to-className.d.ts +16 -0
  5. package/lib/convert-to-className.js +17 -26
  6. package/lib/convert-to-className.js.flow +23 -0
  7. package/lib/generate-css-rule.d.ts +17 -0
  8. package/lib/generate-css-rule.js +6 -17
  9. package/lib/generate-css-rule.js.flow +17 -0
  10. package/lib/hash.d.ts +11 -0
  11. package/lib/hash.js +3 -27
  12. package/lib/hash.js.flow +10 -0
  13. package/lib/index.d.ts +42 -85
  14. package/lib/index.js +21 -29
  15. package/lib/index.js.flow +57 -3
  16. package/lib/messages.d.ts +41 -0
  17. package/lib/messages.js +33 -53
  18. package/lib/messages.js.flow +44 -0
  19. package/lib/physical-rtl/generate-ltr.d.ts +11 -0
  20. package/lib/physical-rtl/generate-ltr.js +18 -46
  21. package/lib/physical-rtl/generate-ltr.js.flow +12 -0
  22. package/lib/physical-rtl/generate-rtl.d.ts +13 -0
  23. package/lib/physical-rtl/generate-rtl.js +18 -50
  24. package/lib/physical-rtl/generate-rtl.js.flow +12 -0
  25. package/lib/preprocess-rules/PreRule.d.ts +52 -0
  26. package/lib/preprocess-rules/PreRule.js +87 -0
  27. package/lib/preprocess-rules/PreRule.js.flow +64 -0
  28. package/lib/preprocess-rules/application-order.d.ts +290 -0
  29. package/lib/preprocess-rules/application-order.js +60 -133
  30. package/lib/preprocess-rules/application-order.js.flow +241 -0
  31. package/lib/preprocess-rules/basic-validation.d.ts +13 -0
  32. package/lib/preprocess-rules/basic-validation.js +83 -0
  33. package/lib/preprocess-rules/basic-validation.js.flow +13 -0
  34. package/lib/preprocess-rules/flatten-raw-style-obj.d.ts +25 -0
  35. package/lib/preprocess-rules/flatten-raw-style-obj.js +120 -0
  36. package/lib/preprocess-rules/flatten-raw-style-obj.js.flow +27 -0
  37. package/lib/preprocess-rules/index.d.ts +18 -0
  38. package/lib/preprocess-rules/index.js +0 -9
  39. package/lib/preprocess-rules/index.js.flow +19 -0
  40. package/lib/preprocess-rules/legacy-expand-shorthands.d.ts +200 -0
  41. package/lib/preprocess-rules/legacy-expand-shorthands.js +90 -123
  42. package/lib/preprocess-rules/legacy-expand-shorthands.js.flow +179 -0
  43. package/lib/preprocess-rules/property-specificity.d.ts +89 -0
  44. package/lib/preprocess-rules/property-specificity.js +46 -74
  45. package/lib/preprocess-rules/property-specificity.js.flow +98 -0
  46. package/lib/properties/CSS Animations.json +445 -0
  47. package/lib/properties/CSS Backgrounds and Borders.json +1085 -0
  48. package/lib/properties/CSS Basic User Interface.json +365 -0
  49. package/lib/properties/CSS Box Alignment.json +245 -0
  50. package/lib/properties/CSS Box Model.json +501 -0
  51. package/lib/properties/CSS Color.json +100 -0
  52. package/lib/properties/CSS Columns.json +185 -0
  53. package/lib/properties/CSS Containment.json +203 -0
  54. package/lib/properties/CSS Counter Styles.json +56 -0
  55. package/lib/properties/CSS Display.json +20 -0
  56. package/lib/properties/CSS Flexible Box Layout.json +167 -0
  57. package/lib/properties/CSS Fonts.json +684 -0
  58. package/lib/properties/CSS Fragmentation.json +110 -0
  59. package/lib/properties/CSS Generated Content.json +38 -0
  60. package/lib/properties/CSS Grid Layout.json +500 -0
  61. package/lib/properties/CSS Images.json +91 -0
  62. package/lib/properties/CSS Inline.json +38 -0
  63. package/lib/properties/CSS Lists and Counters.json +86 -0
  64. package/lib/properties/CSS Logical Properties.json +1086 -0
  65. package/lib/properties/CSS Masking.json +399 -0
  66. package/lib/properties/CSS Miscellaneous.json +38 -0
  67. package/lib/properties/CSS Motion Path.json +132 -0
  68. package/lib/properties/CSS Overflow.json +216 -0
  69. package/lib/properties/CSS Pages.json +83 -0
  70. package/lib/properties/CSS Positioning.json +166 -0
  71. package/lib/properties/CSS Ruby.json +55 -0
  72. package/lib/properties/CSS Scroll Anchoring.json +19 -0
  73. package/lib/properties/CSS Scroll Snap.json +604 -0
  74. package/lib/properties/CSS Scrollbars.json +38 -0
  75. package/lib/properties/CSS Shapes.json +56 -0
  76. package/lib/properties/CSS Speech.json +20 -0
  77. package/lib/properties/CSS Table.json +115 -0
  78. package/lib/properties/CSS Text Decoration.json +312 -0
  79. package/lib/properties/CSS Text.json +415 -0
  80. package/lib/properties/CSS Transforms.json +188 -0
  81. package/lib/properties/CSS Transitions.json +122 -0
  82. package/lib/properties/CSS Variables.json +20 -0
  83. package/lib/properties/CSS View Transitions.json +20 -0
  84. package/lib/properties/CSS Will Change.json +20 -0
  85. package/lib/properties/CSS Writing Modes.json +92 -0
  86. package/lib/properties/Compositing and Blending.json +62 -0
  87. package/lib/properties/Filter Effects.json +38 -0
  88. package/lib/properties/MathML.json +56 -0
  89. package/lib/properties/Microsoft Extensions.json +885 -0
  90. package/lib/properties/Mozilla Extensions.json +607 -0
  91. package/lib/properties/Pointer Events.json +20 -0
  92. package/lib/properties/WebKit Extensions.json +707 -0
  93. package/lib/properties.json +10122 -0
  94. package/lib/stylex-create-theme.d.ts +26 -0
  95. package/lib/stylex-create-theme.js +67 -0
  96. package/lib/stylex-create-theme.js.flow +19 -0
  97. package/lib/stylex-create.d.ts +23 -0
  98. package/lib/stylex-create.js +30 -146
  99. package/lib/stylex-create.js.flow +30 -0
  100. package/lib/stylex-define-vars.d.ts +29 -0
  101. package/lib/stylex-define-vars.js +73 -0
  102. package/lib/stylex-define-vars.js.flow +26 -0
  103. package/lib/stylex-first-that-works.d.ts +13 -0
  104. package/lib/stylex-first-that-works.js +0 -10
  105. package/lib/stylex-first-that-works.js.flow +12 -0
  106. package/lib/stylex-include.d.ts +18 -0
  107. package/lib/stylex-include.js +2 -12
  108. package/lib/stylex-include.js.flow +20 -0
  109. package/lib/stylex-keyframes.d.ts +17 -0
  110. package/lib/stylex-keyframes.js +6 -26
  111. package/lib/stylex-keyframes.js.flow +20 -0
  112. package/lib/transform-value.d.ts +22 -0
  113. package/lib/transform-value.js +9 -23
  114. package/lib/transform-value.js.flow +25 -0
  115. package/lib/types/index.d.ts +205 -0
  116. package/lib/types/index.js +191 -0
  117. package/lib/types/index.js.flow +241 -0
  118. package/lib/utils/Rule.d.ts +58 -0
  119. package/lib/utils/Rule.js +0 -21
  120. package/lib/utils/Rule.js.flow +64 -0
  121. package/lib/utils/dashify.d.ts +11 -0
  122. package/lib/utils/dashify.js +0 -8
  123. package/lib/utils/dashify.js.flow +10 -0
  124. package/lib/utils/default-options.d.ts +11 -0
  125. package/lib/utils/default-options.js +13 -0
  126. package/lib/utils/default-options.js.flow +25 -0
  127. package/lib/utils/file-based-identifier.d.ts +15 -0
  128. package/lib/utils/file-based-identifier.js +14 -0
  129. package/lib/utils/file-based-identifier.js.flow +14 -0
  130. package/lib/utils/genCSSRule.d.ts +15 -0
  131. package/lib/utils/genCSSRule.js +9 -18
  132. package/lib/utils/genCSSRule.js.flow +15 -0
  133. package/lib/utils/normalize-value.d.ts +16 -0
  134. package/lib/utils/normalize-value.js +8 -15
  135. package/lib/utils/normalize-value.js.flow +16 -0
  136. package/lib/utils/normalizers/convert-camel-case-transition-props.d.ts +14 -0
  137. package/lib/utils/normalizers/convert-camel-case-transition-props.js +23 -0
  138. package/lib/utils/normalizers/convert-camel-case-transition-props.js.flow +13 -0
  139. package/lib/utils/normalizers/convert-camel-case-values.d.ts +14 -0
  140. package/lib/utils/normalizers/convert-camel-case-values.js +23 -0
  141. package/lib/utils/normalizers/convert-camel-case-values.js.flow +13 -0
  142. package/lib/utils/normalizers/detect-unclosed-fns.d.ts +17 -0
  143. package/lib/utils/normalizers/detect-unclosed-fns.js +2 -14
  144. package/lib/utils/normalizers/detect-unclosed-fns.js.flow +16 -0
  145. package/lib/utils/normalizers/font-size-px-to-rem.d.ts +19 -0
  146. package/lib/utils/normalizers/font-size-px-to-rem.js +9 -19
  147. package/lib/utils/normalizers/font-size-px-to-rem.js.flow +18 -0
  148. package/lib/utils/normalizers/leading-zero.d.ts +17 -0
  149. package/lib/utils/normalizers/leading-zero.js +0 -12
  150. package/lib/utils/normalizers/leading-zero.js.flow +16 -0
  151. package/lib/utils/normalizers/quotes.d.ts +18 -0
  152. package/lib/utils/normalizers/quotes.js +0 -13
  153. package/lib/utils/normalizers/quotes.js.flow +17 -0
  154. package/lib/utils/normalizers/timings.d.ts +18 -0
  155. package/lib/utils/normalizers/timings.js +0 -14
  156. package/lib/utils/normalizers/timings.js.flow +17 -0
  157. package/lib/utils/normalizers/whitespace.d.ts +19 -0
  158. package/lib/utils/normalizers/whitespace.js +0 -15
  159. package/lib/utils/normalizers/whitespace.js.flow +18 -0
  160. package/lib/utils/normalizers/zero-dimensions.d.ts +19 -0
  161. package/lib/utils/normalizers/zero-dimensions.js +0 -15
  162. package/lib/utils/normalizers/zero-dimensions.js.flow +18 -0
  163. package/lib/utils/object-utils.d.ts +66 -0
  164. package/lib/utils/object-utils.js +21 -13
  165. package/lib/utils/object-utils.js.flow +77 -0
  166. package/lib/utils/property-priorities.d.ts +11 -0
  167. package/lib/utils/property-priorities.js +516 -101
  168. package/lib/utils/property-priorities.js.flow +10 -0
  169. package/lib/utils/split-css-value.d.ts +14 -0
  170. package/lib/utils/split-css-value.js +0 -14
  171. package/lib/utils/split-css-value.js.flow +15 -0
  172. package/lib/validate.d.ts +12 -0
  173. package/lib/validate.js +1 -10
  174. package/lib/validate.js.flow +12 -0
  175. package/package.json +4 -5
  176. package/lib/expand-shorthands.d.ts +0 -5
  177. package/lib/expand-shorthands.js +0 -330
  178. package/lib/namespace-transforms/__tests__/preflatten.test.js +0 -120
  179. package/lib/namespace-transforms/preflatten.js +0 -89
  180. package/lib/preprocess-rules/expand-shorthands.js +0 -156
  181. package/lib/preprocess-rules/null-out-longhand.js +0 -310
  182. package/lib/preprocess-rules/react-native-web.js +0 -142
  183. package/lib/stylex-defaultValue.js +0 -397
@@ -0,0 +1,56 @@
1
+ [
2
+ {
3
+ "syntax": "<alpha-value>",
4
+ "media": "visual",
5
+ "inherited": false,
6
+ "animationType": "number",
7
+ "percentages": "no",
8
+ "groups": [
9
+ "CSS Shapes"
10
+ ],
11
+ "initial": "0.0",
12
+ "appliesto": "floats",
13
+ "computed": "specifiedValueNumberClipped0To1",
14
+ "order": "uniqueOrder",
15
+ "status": "standard",
16
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold",
17
+ "property": "shape-image-threshold",
18
+ "group": "CSS Shapes"
19
+ },
20
+ {
21
+ "syntax": "<length-percentage>",
22
+ "media": "visual",
23
+ "inherited": false,
24
+ "animationType": "lpc",
25
+ "percentages": "referToWidthOfContainingBlock",
26
+ "groups": [
27
+ "CSS Shapes"
28
+ ],
29
+ "initial": "0",
30
+ "appliesto": "floats",
31
+ "computed": "asSpecifiedRelativeToAbsoluteLengths",
32
+ "order": "uniqueOrder",
33
+ "status": "standard",
34
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/shape-margin",
35
+ "property": "shape-margin",
36
+ "group": "CSS Shapes"
37
+ },
38
+ {
39
+ "syntax": "none | [ <shape-box> || <basic-shape> ] | <image>",
40
+ "media": "visual",
41
+ "inherited": false,
42
+ "animationType": "basicShapeOtherwiseNo",
43
+ "percentages": "no",
44
+ "groups": [
45
+ "CSS Shapes"
46
+ ],
47
+ "initial": "none",
48
+ "appliesto": "floats",
49
+ "computed": "asDefinedForBasicShapeWithAbsoluteURIOtherwiseAsSpecified",
50
+ "order": "uniqueOrder",
51
+ "status": "standard",
52
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/shape-outside",
53
+ "property": "shape-outside",
54
+ "group": "CSS Shapes"
55
+ }
56
+ ]
@@ -0,0 +1,20 @@
1
+ [
2
+ {
3
+ "syntax": "<angle> | [ [ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards",
4
+ "media": "aural",
5
+ "inherited": true,
6
+ "animationType": "discrete",
7
+ "percentages": "no",
8
+ "groups": [
9
+ "CSS Speech"
10
+ ],
11
+ "initial": "center",
12
+ "appliesto": "allElements",
13
+ "computed": "normalizedAngle",
14
+ "order": "orderOfAppearance",
15
+ "status": "obsolete",
16
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/azimuth",
17
+ "property": "azimuth",
18
+ "group": "CSS Speech"
19
+ }
20
+ ]
@@ -0,0 +1,115 @@
1
+ [
2
+ {
3
+ "syntax": "collapse | separate",
4
+ "media": "visual",
5
+ "inherited": true,
6
+ "animationType": "discrete",
7
+ "percentages": "no",
8
+ "groups": [
9
+ "CSS Table"
10
+ ],
11
+ "initial": "separate",
12
+ "appliesto": "tableElements",
13
+ "computed": "asSpecified",
14
+ "order": "uniqueOrder",
15
+ "status": "standard",
16
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/border-collapse",
17
+ "property": "border-collapse",
18
+ "group": "CSS Table"
19
+ },
20
+ {
21
+ "syntax": "<length> <length>?",
22
+ "media": "visual",
23
+ "inherited": true,
24
+ "animationType": "discrete",
25
+ "percentages": "no",
26
+ "groups": [
27
+ "CSS Table"
28
+ ],
29
+ "initial": "0",
30
+ "appliesto": "tableElements",
31
+ "computed": "twoAbsoluteLengths",
32
+ "order": "uniqueOrder",
33
+ "status": "standard",
34
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/border-spacing",
35
+ "property": "border-spacing",
36
+ "group": "CSS Table"
37
+ },
38
+ {
39
+ "syntax": "top | bottom | block-start | block-end | inline-start | inline-end",
40
+ "media": "visual",
41
+ "inherited": true,
42
+ "animationType": "discrete",
43
+ "percentages": "no",
44
+ "groups": [
45
+ "CSS Table"
46
+ ],
47
+ "initial": "top",
48
+ "appliesto": "tableCaptionElements",
49
+ "computed": "asSpecified",
50
+ "order": "uniqueOrder",
51
+ "status": "standard",
52
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/caption-side",
53
+ "property": "caption-side",
54
+ "group": "CSS Table"
55
+ },
56
+ {
57
+ "syntax": "show | hide",
58
+ "media": "visual",
59
+ "inherited": true,
60
+ "animationType": "discrete",
61
+ "percentages": "no",
62
+ "groups": [
63
+ "CSS Table"
64
+ ],
65
+ "initial": "show",
66
+ "appliesto": "tableCellElements",
67
+ "computed": "asSpecified",
68
+ "order": "uniqueOrder",
69
+ "status": "standard",
70
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/empty-cells",
71
+ "property": "empty-cells",
72
+ "group": "CSS Table"
73
+ },
74
+ {
75
+ "syntax": "auto | fixed",
76
+ "media": "visual",
77
+ "inherited": false,
78
+ "animationType": "discrete",
79
+ "percentages": "no",
80
+ "groups": [
81
+ "CSS Table"
82
+ ],
83
+ "initial": "auto",
84
+ "appliesto": "tableElements",
85
+ "computed": "asSpecified",
86
+ "order": "uniqueOrder",
87
+ "status": "standard",
88
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/table-layout",
89
+ "property": "table-layout",
90
+ "group": "CSS Table"
91
+ },
92
+ {
93
+ "syntax": "baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>",
94
+ "media": "visual",
95
+ "inherited": false,
96
+ "animationType": "length",
97
+ "percentages": "referToLineHeight",
98
+ "groups": [
99
+ "CSS Table"
100
+ ],
101
+ "initial": "baseline",
102
+ "appliesto": "inlineLevelAndTableCellElements",
103
+ "computed": "absoluteLengthOrKeyword",
104
+ "order": "uniqueOrder",
105
+ "alsoAppliesTo": [
106
+ "::first-letter",
107
+ "::first-line",
108
+ "::placeholder"
109
+ ],
110
+ "status": "standard",
111
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/vertical-align",
112
+ "property": "vertical-align",
113
+ "group": "CSS Table"
114
+ }
115
+ ]
@@ -0,0 +1,312 @@
1
+ [
2
+ {
3
+ "syntax": "<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>",
4
+ "media": "visual",
5
+ "inherited": false,
6
+ "animationType": [
7
+ "text-decoration-color",
8
+ "text-decoration-style",
9
+ "text-decoration-line",
10
+ "text-decoration-thickness"
11
+ ],
12
+ "percentages": "no",
13
+ "groups": [
14
+ "CSS Text Decoration"
15
+ ],
16
+ "initial": [
17
+ "text-decoration-color",
18
+ "text-decoration-style",
19
+ "text-decoration-line"
20
+ ],
21
+ "appliesto": "allElements",
22
+ "computed": [
23
+ "text-decoration-line",
24
+ "text-decoration-style",
25
+ "text-decoration-color",
26
+ "text-decoration-thickness"
27
+ ],
28
+ "order": "orderOfAppearance",
29
+ "alsoAppliesTo": [
30
+ "::first-letter",
31
+ "::first-line",
32
+ "::placeholder"
33
+ ],
34
+ "status": "standard",
35
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-decoration",
36
+ "property": "text-decoration",
37
+ "group": "CSS Text Decoration"
38
+ },
39
+ {
40
+ "syntax": "<color>",
41
+ "media": "visual",
42
+ "inherited": false,
43
+ "animationType": "color",
44
+ "percentages": "no",
45
+ "groups": [
46
+ "CSS Text Decoration"
47
+ ],
48
+ "initial": "currentcolor",
49
+ "appliesto": "allElements",
50
+ "computed": "computedColor",
51
+ "order": "uniqueOrder",
52
+ "alsoAppliesTo": [
53
+ "::first-letter",
54
+ "::first-line",
55
+ "::placeholder"
56
+ ],
57
+ "status": "standard",
58
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-decoration-color",
59
+ "property": "text-decoration-color",
60
+ "group": "CSS Text Decoration"
61
+ },
62
+ {
63
+ "syntax": "none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error",
64
+ "media": "visual",
65
+ "inherited": false,
66
+ "animationType": "discrete",
67
+ "percentages": "no",
68
+ "groups": [
69
+ "CSS Text Decoration"
70
+ ],
71
+ "initial": "none",
72
+ "appliesto": "allElements",
73
+ "computed": "asSpecified",
74
+ "order": "orderOfAppearance",
75
+ "alsoAppliesTo": [
76
+ "::first-letter",
77
+ "::first-line",
78
+ "::placeholder"
79
+ ],
80
+ "status": "standard",
81
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-decoration-line",
82
+ "property": "text-decoration-line",
83
+ "group": "CSS Text Decoration"
84
+ },
85
+ {
86
+ "syntax": "none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]",
87
+ "media": "visual",
88
+ "inherited": true,
89
+ "animationType": "discrete",
90
+ "percentages": "no",
91
+ "groups": [
92
+ "CSS Text Decoration"
93
+ ],
94
+ "initial": "objects",
95
+ "appliesto": "allElements",
96
+ "computed": "asSpecified",
97
+ "order": "orderOfAppearance",
98
+ "status": "experimental",
99
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip",
100
+ "property": "text-decoration-skip",
101
+ "group": "CSS Text Decoration"
102
+ },
103
+ {
104
+ "syntax": "auto | all | none",
105
+ "media": "visual",
106
+ "inherited": true,
107
+ "animationType": "discrete",
108
+ "percentages": "no",
109
+ "groups": [
110
+ "CSS Text Decoration"
111
+ ],
112
+ "initial": "auto",
113
+ "appliesto": "allElements",
114
+ "computed": "asSpecified",
115
+ "order": "orderOfAppearance",
116
+ "status": "standard",
117
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink",
118
+ "property": "text-decoration-skip-ink",
119
+ "group": "CSS Text Decoration"
120
+ },
121
+ {
122
+ "syntax": "solid | double | dotted | dashed | wavy",
123
+ "media": "visual",
124
+ "inherited": false,
125
+ "animationType": "discrete",
126
+ "percentages": "no",
127
+ "groups": [
128
+ "CSS Text Decoration"
129
+ ],
130
+ "initial": "solid",
131
+ "appliesto": "allElements",
132
+ "computed": "asSpecified",
133
+ "order": "uniqueOrder",
134
+ "alsoAppliesTo": [
135
+ "::first-letter",
136
+ "::first-line",
137
+ "::placeholder"
138
+ ],
139
+ "status": "standard",
140
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-decoration-style",
141
+ "property": "text-decoration-style",
142
+ "group": "CSS Text Decoration"
143
+ },
144
+ {
145
+ "syntax": "auto | from-font | <length> | <percentage> ",
146
+ "media": "visual",
147
+ "inherited": false,
148
+ "animationType": "byComputedValueType",
149
+ "percentages": "referToElementFontSize",
150
+ "groups": [
151
+ "CSS Text Decoration"
152
+ ],
153
+ "initial": "auto",
154
+ "appliesto": "allElements",
155
+ "computed": "asSpecified",
156
+ "order": "uniqueOrder",
157
+ "alsoAppliesTo": [
158
+ "::first-letter",
159
+ "::first-line",
160
+ "::placeholder"
161
+ ],
162
+ "status": "standard",
163
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness",
164
+ "property": "text-decoration-thickness",
165
+ "group": "CSS Text Decoration"
166
+ },
167
+ {
168
+ "syntax": "<'text-emphasis-style'> || <'text-emphasis-color'>",
169
+ "media": "visual",
170
+ "inherited": true,
171
+ "animationType": [
172
+ "text-emphasis-color",
173
+ "text-emphasis-style"
174
+ ],
175
+ "percentages": "no",
176
+ "groups": [
177
+ "CSS Text Decoration"
178
+ ],
179
+ "initial": [
180
+ "text-emphasis-style",
181
+ "text-emphasis-color"
182
+ ],
183
+ "appliesto": "allElements",
184
+ "computed": [
185
+ "text-emphasis-style",
186
+ "text-emphasis-color"
187
+ ],
188
+ "order": "orderOfAppearance",
189
+ "status": "standard",
190
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-emphasis",
191
+ "property": "text-emphasis",
192
+ "group": "CSS Text Decoration"
193
+ },
194
+ {
195
+ "syntax": "<color>",
196
+ "media": "visual",
197
+ "inherited": true,
198
+ "animationType": "color",
199
+ "percentages": "no",
200
+ "groups": [
201
+ "CSS Text Decoration"
202
+ ],
203
+ "initial": "currentcolor",
204
+ "appliesto": "allElements",
205
+ "computed": "computedColor",
206
+ "order": "uniqueOrder",
207
+ "status": "standard",
208
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color",
209
+ "property": "text-emphasis-color",
210
+ "group": "CSS Text Decoration"
211
+ },
212
+ {
213
+ "syntax": "[ over | under ] && [ right | left ]",
214
+ "media": "visual",
215
+ "inherited": true,
216
+ "animationType": "discrete",
217
+ "percentages": "no",
218
+ "groups": [
219
+ "CSS Text Decoration"
220
+ ],
221
+ "initial": "over right",
222
+ "appliesto": "allElements",
223
+ "computed": "asSpecified",
224
+ "order": "uniqueOrder",
225
+ "status": "standard",
226
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position",
227
+ "property": "text-emphasis-position",
228
+ "group": "CSS Text Decoration"
229
+ },
230
+ {
231
+ "syntax": "none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>",
232
+ "media": "visual",
233
+ "inherited": true,
234
+ "animationType": "discrete",
235
+ "percentages": "no",
236
+ "groups": [
237
+ "CSS Text Decoration"
238
+ ],
239
+ "initial": "none",
240
+ "appliesto": "allElements",
241
+ "computed": "asSpecified",
242
+ "order": "uniqueOrder",
243
+ "status": "standard",
244
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style",
245
+ "property": "text-emphasis-style",
246
+ "group": "CSS Text Decoration"
247
+ },
248
+ {
249
+ "syntax": "none | <shadow-t>#",
250
+ "media": "visual",
251
+ "inherited": true,
252
+ "animationType": "shadowList",
253
+ "percentages": "no",
254
+ "groups": [
255
+ "CSS Text Decoration"
256
+ ],
257
+ "initial": "none",
258
+ "appliesto": "allElements",
259
+ "computed": "colorPlusThreeAbsoluteLengths",
260
+ "order": "uniqueOrder",
261
+ "alsoAppliesTo": [
262
+ "::first-letter",
263
+ "::first-line",
264
+ "::placeholder"
265
+ ],
266
+ "status": "standard",
267
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-shadow",
268
+ "property": "text-shadow",
269
+ "group": "CSS Text Decoration"
270
+ },
271
+ {
272
+ "syntax": "auto | <length> | <percentage> ",
273
+ "media": "visual",
274
+ "inherited": true,
275
+ "animationType": "byComputedValueType",
276
+ "percentages": "referToElementFontSize",
277
+ "groups": [
278
+ "CSS Text Decoration"
279
+ ],
280
+ "initial": "auto",
281
+ "appliesto": "allElements",
282
+ "computed": "asSpecified",
283
+ "order": "uniqueOrder",
284
+ "alsoAppliesTo": [
285
+ "::first-letter",
286
+ "::first-line",
287
+ "::placeholder"
288
+ ],
289
+ "status": "standard",
290
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-underline-offset",
291
+ "property": "text-underline-offset",
292
+ "group": "CSS Text Decoration"
293
+ },
294
+ {
295
+ "syntax": "auto | from-font | [ under || [ left | right ] ]",
296
+ "media": "visual",
297
+ "inherited": true,
298
+ "animationType": "discrete",
299
+ "percentages": "no",
300
+ "groups": [
301
+ "CSS Text Decoration"
302
+ ],
303
+ "initial": "auto",
304
+ "appliesto": "allElements",
305
+ "computed": "asSpecified",
306
+ "order": "orderOfAppearance",
307
+ "status": "standard",
308
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-underline-position",
309
+ "property": "text-underline-position",
310
+ "group": "CSS Text Decoration"
311
+ }
312
+ ]