tailwindcss 3.0.0-alpha.2 → 3.0.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 (42) hide show
  1. package/lib/cli.js +58 -58
  2. package/lib/corePluginList.js +3 -0
  3. package/lib/corePlugins.js +138 -65
  4. package/lib/css/preflight.css +2 -1
  5. package/lib/lib/detectNesting.js +17 -2
  6. package/lib/lib/evaluateTailwindFunctions.js +6 -2
  7. package/lib/lib/expandApplyAtRules.js +4 -4
  8. package/lib/lib/expandTailwindAtRules.js +2 -0
  9. package/lib/lib/generateRules.js +36 -0
  10. package/lib/lib/setupContextUtils.js +8 -65
  11. package/lib/lib/substituteScreenAtRules.js +7 -4
  12. package/lib/util/buildMediaQuery.js +13 -24
  13. package/lib/util/dataTypes.js +14 -3
  14. package/lib/util/formatVariantSelector.js +88 -4
  15. package/lib/util/isValidArbitraryValue.js +64 -0
  16. package/lib/util/nameClass.js +1 -0
  17. package/lib/util/normalizeScreens.js +61 -0
  18. package/lib/util/resolveConfig.js +8 -8
  19. package/package.json +10 -10
  20. package/peers/.svgo.yml +75 -0
  21. package/peers/index.js +3784 -3146
  22. package/peers/orders/concentric-css.json +299 -0
  23. package/peers/orders/smacss.json +299 -0
  24. package/peers/orders/source.json +295 -0
  25. package/src/.DS_Store +0 -0
  26. package/src/corePluginList.js +1 -1
  27. package/src/corePlugins.js +114 -60
  28. package/src/css/preflight.css +2 -1
  29. package/src/lib/detectNesting.js +22 -3
  30. package/src/lib/evaluateTailwindFunctions.js +5 -2
  31. package/src/lib/expandTailwindAtRules.js +2 -0
  32. package/src/lib/generateRules.js +34 -0
  33. package/src/lib/setupContextUtils.js +6 -58
  34. package/src/lib/substituteScreenAtRules.js +6 -3
  35. package/src/util/buildMediaQuery.js +14 -18
  36. package/src/util/dataTypes.js +11 -6
  37. package/src/util/formatVariantSelector.js +92 -1
  38. package/src/util/isValidArbitraryValue.js +61 -0
  39. package/src/util/nameClass.js +1 -1
  40. package/src/util/normalizeScreens.js +45 -0
  41. package/stubs/defaultConfig.stub.js +17 -0
  42. package/CHANGELOG.md +0 -1825
@@ -0,0 +1,299 @@
1
+ [
2
+ "all",
3
+ "display",
4
+ "position",
5
+ "top",
6
+ "right",
7
+ "bottom",
8
+ "left",
9
+ "offset-inline-start",
10
+ "offset-inline-end",
11
+ "offset-block-start",
12
+ "offset-block-end",
13
+ "grid",
14
+ "grid-area",
15
+ "grid-auto-columns",
16
+ "grid-auto-flow",
17
+ "grid-auto-rows",
18
+ "grid-column",
19
+ "grid-column-end",
20
+ "grid-column-start",
21
+ "grid-row",
22
+ "grid-row-end",
23
+ "grid-row-start",
24
+ "grid-template",
25
+ "grid-template-areas",
26
+ "grid-template-columns",
27
+ "grid-template-rows",
28
+ "flex",
29
+ "flex-basis",
30
+ "flex-direction",
31
+ "flex-flow",
32
+ "flex-grow",
33
+ "flex-shrink",
34
+ "flex-wrap",
35
+ "box-decoration-break",
36
+ "place-content",
37
+ "place-items",
38
+ "place-self",
39
+ "align-content",
40
+ "align-items",
41
+ "align-self",
42
+ "justify-content",
43
+ "justify-items",
44
+ "justify-self",
45
+ "vertical-align",
46
+ "order",
47
+ "float",
48
+ "clear",
49
+ "shape-margin",
50
+ "shape-outside",
51
+ "shape-image-threshold",
52
+ "orphans",
53
+ "columns",
54
+ "column-gap",
55
+ "column-fill",
56
+ "column-rule",
57
+ "column-rule-color",
58
+ "column-rule-style",
59
+ "column-rule-width",
60
+ "column-span",
61
+ "column-count",
62
+ "column-width",
63
+ "break-before",
64
+ "break-after",
65
+ "break-inside",
66
+ "page-break-before",
67
+ "page-break-after",
68
+ "page-break-inside",
69
+ "transform",
70
+ "transform-box",
71
+ "transform-origin",
72
+ "transform-style",
73
+ "rotate",
74
+ "scale",
75
+
76
+ "perspective",
77
+ "perspective-origin",
78
+ "visibility",
79
+ "opacity",
80
+ "z-index",
81
+ "mix-blend-mode",
82
+ "backface-visibility",
83
+ "backdrop-filter",
84
+ "clip-path",
85
+ "mask",
86
+ "mask-clip",
87
+ "mask-image",
88
+ "mask-origin",
89
+ "mask-position",
90
+ "mask-repeat",
91
+ "mask-size",
92
+ "mask-type",
93
+ "filter",
94
+ "animation",
95
+ "animation-name",
96
+ "animation-duration",
97
+ "animation-fill-mode",
98
+ "animation-play-state",
99
+ "animation-timing-function",
100
+ "animation-delay",
101
+ "animation-iteration-count",
102
+ "animation-direction",
103
+ "transition",
104
+ "transition-delay",
105
+ "transition-duration",
106
+ "transition-property",
107
+ "transition-timing-function",
108
+ "will-change",
109
+ "counter-increment",
110
+ "counter-reset",
111
+ "cursor",
112
+
113
+ "box-sizing",
114
+ "margin",
115
+ "margin-top",
116
+ "margin-right",
117
+ "margin-bottom",
118
+ "margin-left",
119
+ "margin-inline-start",
120
+ "margin-inline-end",
121
+ "margin-block-start",
122
+ "margin-block-end",
123
+ "outline",
124
+ "outline-color",
125
+ "outline-offset",
126
+ "outline-style",
127
+ "outline-width",
128
+ "box-shadow",
129
+ "border",
130
+ "border-top",
131
+ "border-right",
132
+ "border-bottom",
133
+ "border-left",
134
+ "border-width",
135
+ "border-top-width",
136
+ "border-right-width",
137
+ "border-bottom-width",
138
+ "border-left-width",
139
+ "border-style",
140
+ "border-top-style",
141
+ "border-right-style",
142
+ "border-bottom-style",
143
+ "border-left-style",
144
+ "border-radius",
145
+ "border-top-right-radius",
146
+ "border-top-left-radius",
147
+ "border-bottom-right-radius",
148
+ "border-bottom-left-radius",
149
+ "border-color",
150
+ "border-top-color",
151
+ "border-right-color",
152
+ "border-bottom-color",
153
+ "border-left-color",
154
+ "border-inline-start",
155
+ "border-inline-start-color",
156
+ "border-inline-start-style",
157
+ "border-inline-start-width",
158
+ "border-inline-end",
159
+ "border-inline-end-color",
160
+ "border-inline-end-style",
161
+ "border-inline-end-width",
162
+ "border-block-start",
163
+ "border-block-start-color",
164
+ "border-block-start-style",
165
+ "border-block-start-width",
166
+ "border-block-end",
167
+ "border-block-end-color",
168
+ "border-block-end-style",
169
+ "border-block-end-width",
170
+ "border-image",
171
+ "border-image-outset",
172
+ "border-image-repeat",
173
+ "border-image-slice",
174
+ "border-image-source",
175
+ "border-image-width",
176
+ "border-collapse",
177
+ "border-spacing",
178
+ "background",
179
+ "background-attachment",
180
+ "background-blend-mode",
181
+ "background-clip",
182
+ "background-color",
183
+ "background-image",
184
+ "background-origin",
185
+ "background-position",
186
+ "background-position-x",
187
+ "background-position-y",
188
+ "background-repeat",
189
+ "background-size",
190
+ "isolation",
191
+ "padding",
192
+ "padding-top",
193
+ "padding-right",
194
+ "padding-bottom",
195
+ "padding-left",
196
+ "padding-inline-start",
197
+ "padding-inline-end",
198
+ "padding-block-start",
199
+ "padding-block-end",
200
+ "image-orientation",
201
+ "image-rendering",
202
+
203
+ "width",
204
+ "min-width",
205
+ "max-width",
206
+ "height",
207
+ "min-height",
208
+ "max-height",
209
+ "inline-size",
210
+ "min-inline-size",
211
+ "max-inline-size",
212
+ "block-size",
213
+ "min-block-size",
214
+ "max-block-size",
215
+ "table-layout",
216
+ "caption-side",
217
+ "empty-cells",
218
+ "overflow",
219
+ "overflow-x",
220
+ "overflow-y",
221
+ "resize",
222
+ "object-fit",
223
+ "object-position",
224
+ "scroll-behavior",
225
+ "scroll-snap-coordinate",
226
+ "scroll-snap-destination",
227
+ "scroll-snap-type",
228
+ "touch-action",
229
+ "pointer-events",
230
+
231
+ "ruby-align",
232
+ "ruby-position",
233
+ "color",
234
+ "caret-color",
235
+ "font",
236
+ "font-family",
237
+ "font-feature-settings",
238
+ "font-kerning",
239
+ "font-language-override",
240
+ "font-size",
241
+ "font-optical-sizing",
242
+ "font-size-adjust",
243
+ "font-stretch",
244
+ "font-style",
245
+ "font-synthesis",
246
+ "font-variant",
247
+ "font-variant-alternates",
248
+ "font-variant-caps",
249
+ "font-variant-east-asian",
250
+ "font-variant-ligatures",
251
+ "font-variant-numeric",
252
+ "font-variant-position",
253
+ "font-weight",
254
+ "hyphens",
255
+ "initial-letter",
256
+ "initial-letter-align",
257
+ "letter-spacing",
258
+ "line-break",
259
+ "line-height",
260
+ "list-style",
261
+ "list-style-image",
262
+ "list-style-position",
263
+ "list-style-type",
264
+ "writing-mode",
265
+ "direction",
266
+ "unicode-bidi",
267
+ "unicode-range",
268
+ "user-select",
269
+ "text-combine-upright",
270
+ "text-align",
271
+ "text-align-last",
272
+ "text-decoration",
273
+ "text-decoration-color",
274
+ "text-decoration-line",
275
+ "text-decoration-skip",
276
+ "text-decoration-style",
277
+ "text-decoration-skip-ink",
278
+ "text-emphasis",
279
+ "text-emphasis-position",
280
+ "text-emphasis-color",
281
+ "text-emphasis-style",
282
+ "text-indent",
283
+ "text-justify",
284
+ "text-underline-position",
285
+ "text-orientation",
286
+ "text-overflow",
287
+ "text-rendering",
288
+ "text-shadow",
289
+ "text-size-adjust",
290
+ "text-transform",
291
+ "white-space",
292
+ "word-break",
293
+ "word-spacing",
294
+ "overflow-wrap",
295
+ "quotes",
296
+ "tab-size",
297
+ "content",
298
+ "widows"
299
+ ]
@@ -0,0 +1,299 @@
1
+ [
2
+ "box-sizing",
3
+ "display",
4
+ "visibility",
5
+ "z-index",
6
+ "position",
7
+ "top",
8
+ "right",
9
+ "bottom",
10
+ "left",
11
+ "offset-inline-start",
12
+ "offset-inline-end",
13
+ "offset-block-start",
14
+ "offset-block-end",
15
+ "grid",
16
+ "grid-area",
17
+ "grid-auto-columns",
18
+ "grid-auto-flow",
19
+ "grid-auto-rows",
20
+ "grid-column",
21
+ "grid-column-end",
22
+ "grid-column-start",
23
+ "grid-row",
24
+ "grid-row-end",
25
+ "grid-row-start",
26
+ "grid-template",
27
+ "grid-template-areas",
28
+ "grid-template-columns",
29
+ "grid-template-rows",
30
+ "flex",
31
+ "flex-basis",
32
+ "flex-direction",
33
+ "flex-flow",
34
+ "flex-grow",
35
+ "flex-shrink",
36
+ "flex-wrap",
37
+ "box-decoration-break",
38
+ "place-content",
39
+ "place-items",
40
+ "place-self",
41
+ "align-content",
42
+ "align-items",
43
+ "align-self",
44
+ "justify-content",
45
+ "justify-items",
46
+ "justify-self",
47
+ "order",
48
+ "width",
49
+ "min-width",
50
+ "max-width",
51
+ "height",
52
+ "min-height",
53
+ "max-height",
54
+ "inline-size",
55
+ "min-inline-size",
56
+ "max-inline-size",
57
+ "block-size",
58
+ "min-block-size",
59
+ "max-block-size",
60
+ "margin",
61
+ "margin-top",
62
+ "margin-right",
63
+ "margin-bottom",
64
+ "margin-left",
65
+ "margin-inline-start",
66
+ "margin-inline-end",
67
+ "margin-block-start",
68
+ "margin-block-end",
69
+ "padding",
70
+ "padding-top",
71
+ "padding-right",
72
+ "padding-bottom",
73
+ "padding-left",
74
+ "padding-inline-start",
75
+ "padding-inline-end",
76
+ "padding-block-start",
77
+ "padding-block-end",
78
+ "float",
79
+ "clear",
80
+ "overflow",
81
+ "overflow-x",
82
+ "overflow-y",
83
+ "orphans",
84
+ "columns",
85
+ "column-gap",
86
+ "column-fill",
87
+ "column-rule",
88
+ "column-rule-color",
89
+ "column-rule-style",
90
+ "column-rule-width",
91
+ "column-span",
92
+ "column-count",
93
+ "column-width",
94
+ "object-fit",
95
+ "object-position",
96
+ "transform",
97
+ "transform-box",
98
+ "transform-origin",
99
+ "transform-style",
100
+ "rotate",
101
+ "scale",
102
+
103
+ "border",
104
+ "border-top",
105
+ "border-right",
106
+ "border-bottom",
107
+ "border-left",
108
+ "border-width",
109
+ "border-top-width",
110
+ "border-right-width",
111
+ "border-bottom-width",
112
+ "border-left-width",
113
+ "border-style",
114
+ "border-top-style",
115
+ "border-right-style",
116
+ "border-bottom-style",
117
+ "border-left-style",
118
+ "border-radius",
119
+ "border-top-right-radius",
120
+ "border-top-left-radius",
121
+ "border-bottom-right-radius",
122
+ "border-bottom-left-radius",
123
+ "border-inline-start",
124
+ "border-inline-start-color",
125
+ "border-inline-start-style",
126
+ "border-inline-start-width",
127
+ "border-inline-end",
128
+ "border-inline-end-color",
129
+ "border-inline-end-style",
130
+ "border-inline-end-width",
131
+ "border-block-start",
132
+ "border-block-start-color",
133
+ "border-block-start-style",
134
+ "border-block-start-width",
135
+ "border-block-end",
136
+ "border-block-end-color",
137
+ "border-block-end-style",
138
+ "border-block-end-width",
139
+ "border-color",
140
+ "border-image",
141
+ "border-image-outset",
142
+ "border-image-repeat",
143
+ "border-image-slice",
144
+ "border-image-source",
145
+ "border-image-width",
146
+ "border-top-color",
147
+ "border-right-color",
148
+ "border-bottom-color",
149
+ "border-left-color",
150
+ "border-collapse",
151
+ "border-spacing",
152
+ "outline",
153
+ "outline-color",
154
+ "outline-offset",
155
+ "outline-style",
156
+ "outline-width",
157
+
158
+ "backdrop-filter",
159
+ "backface-visibility",
160
+ "background",
161
+ "background-attachment",
162
+ "background-blend-mode",
163
+ "background-clip",
164
+ "background-color",
165
+ "background-image",
166
+ "background-origin",
167
+ "background-position",
168
+ "background-position-x",
169
+ "background-position-y",
170
+ "background-repeat",
171
+ "background-size",
172
+ "box-shadow",
173
+ "isolation",
174
+
175
+ "ruby-align",
176
+ "ruby-position",
177
+ "color",
178
+ "caret-color",
179
+ "font",
180
+ "font-family",
181
+ "font-feature-settings",
182
+ "font-kerning",
183
+ "font-language-override",
184
+ "font-size",
185
+ "font-optical-sizing",
186
+ "font-size-adjust",
187
+ "font-stretch",
188
+ "font-style",
189
+ "font-synthesis",
190
+ "font-variant",
191
+ "font-variant-alternates",
192
+ "font-variant-caps",
193
+ "font-variant-east-asian",
194
+ "font-variant-ligatures",
195
+ "font-variant-numeric",
196
+ "font-variant-position",
197
+ "font-weight",
198
+ "hyphens",
199
+ "initial-letter",
200
+ "initial-letter-align",
201
+ "letter-spacing",
202
+ "line-break",
203
+ "line-height",
204
+ "list-style",
205
+ "list-style-image",
206
+ "list-style-position",
207
+ "list-style-type",
208
+ "direction",
209
+ "text-align",
210
+ "text-align-last",
211
+ "text-decoration",
212
+ "text-decoration-color",
213
+ "text-decoration-line",
214
+ "text-decoration-skip",
215
+ "text-decoration-style",
216
+ "text-decoration-skip-ink",
217
+ "text-emphasis",
218
+ "text-emphasis-position",
219
+ "text-emphasis-color",
220
+ "text-emphasis-style",
221
+ "text-indent",
222
+ "text-justify",
223
+ "text-underline-position",
224
+ "text-orientation",
225
+ "text-overflow",
226
+ "text-rendering",
227
+ "text-shadow",
228
+ "text-size-adjust",
229
+ "text-transform",
230
+ "vertical-align",
231
+ "white-space",
232
+ "word-break",
233
+ "word-spacing",
234
+ "overflow-wrap",
235
+
236
+ "all",
237
+ "animation",
238
+ "animation-name",
239
+ "animation-duration",
240
+ "animation-fill-mode",
241
+ "animation-play-state",
242
+ "animation-timing-function",
243
+ "animation-delay",
244
+ "animation-iteration-count",
245
+ "animation-direction",
246
+ "mix-blend-mode",
247
+ "break-before",
248
+ "break-after",
249
+ "break-inside",
250
+ "page-break-before",
251
+ "page-break-after",
252
+ "page-break-inside",
253
+ "caption-side",
254
+ "clip-path",
255
+ "content",
256
+ "counter-increment",
257
+ "counter-reset",
258
+ "cursor",
259
+ "empty-cells",
260
+ "filter",
261
+ "image-orientation",
262
+ "image-rendering",
263
+ "mask",
264
+ "mask-clip",
265
+ "mask-image",
266
+ "mask-origin",
267
+ "mask-position",
268
+ "mask-repeat",
269
+ "mask-size",
270
+ "mask-type",
271
+ "opacity",
272
+ "perspective",
273
+ "perspective-origin",
274
+ "pointer-events",
275
+ "quotes",
276
+ "resize",
277
+ "scroll-behavior",
278
+ "scroll-snap-coordinate",
279
+ "scroll-snap-destination",
280
+ "scroll-snap-type",
281
+ "shape-image-threshold",
282
+ "shape-margin",
283
+ "shape-outside",
284
+ "tab-size",
285
+ "table-layout",
286
+ "text-combine-upright",
287
+ "touch-action",
288
+ "transition",
289
+ "transition-delay",
290
+ "transition-duration",
291
+ "transition-property",
292
+ "transition-timing-function",
293
+ "will-change",
294
+ "unicode-bidi",
295
+ "unicode-range",
296
+ "user-select",
297
+ "widows",
298
+ "writing-mode"
299
+ ]