tailwindcss 3.1.2 → 3.1.5

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,331 @@
1
+ import { Config } from '../../types'
2
+ type CSSDeclarationList = Record<string, string>
3
+ export type DefaultTheme = Config['theme'] & {
4
+ screens: Record<'sm' | 'md' | 'lg' | 'xl' | '2xl', string>
5
+ columns: Record<
6
+ | '1'
7
+ | '2'
8
+ | '3'
9
+ | '4'
10
+ | '5'
11
+ | '6'
12
+ | '7'
13
+ | '8'
14
+ | '9'
15
+ | '10'
16
+ | '11'
17
+ | '12'
18
+ | 'auto'
19
+ | '3xs'
20
+ | '2xs'
21
+ | 'xs'
22
+ | 'sm'
23
+ | 'md'
24
+ | 'lg'
25
+ | 'xl'
26
+ | '2xl'
27
+ | '3xl'
28
+ | '4xl'
29
+ | '5xl'
30
+ | '6xl'
31
+ | '7xl',
32
+ string
33
+ >
34
+ spacing: Record<
35
+ | '0'
36
+ | '1'
37
+ | '2'
38
+ | '3'
39
+ | '4'
40
+ | '5'
41
+ | '6'
42
+ | '7'
43
+ | '8'
44
+ | '9'
45
+ | '10'
46
+ | '11'
47
+ | '12'
48
+ | '14'
49
+ | '16'
50
+ | '20'
51
+ | '24'
52
+ | '28'
53
+ | '32'
54
+ | '36'
55
+ | '40'
56
+ | '44'
57
+ | '48'
58
+ | '52'
59
+ | '56'
60
+ | '60'
61
+ | '64'
62
+ | '72'
63
+ | '80'
64
+ | '96'
65
+ | 'px'
66
+ | '0.5'
67
+ | '1.5'
68
+ | '2.5'
69
+ | '3.5',
70
+ string
71
+ >
72
+ animation: Record<'none' | 'spin' | 'ping' | 'pulse' | 'bounce', string>
73
+ aspectRatio: Record<'auto' | 'square' | 'video', string>
74
+ backgroundImage: Record<
75
+ | 'none'
76
+ | 'gradient-to-t'
77
+ | 'gradient-to-tr'
78
+ | 'gradient-to-r'
79
+ | 'gradient-to-br'
80
+ | 'gradient-to-b'
81
+ | 'gradient-to-bl'
82
+ | 'gradient-to-l'
83
+ | 'gradient-to-tl',
84
+ string
85
+ >
86
+ backgroundPosition: Record<
87
+ | 'bottom'
88
+ | 'center'
89
+ | 'left'
90
+ | 'left-bottom'
91
+ | 'left-top'
92
+ | 'right'
93
+ | 'right-bottom'
94
+ | 'right-top'
95
+ | 'top',
96
+ string
97
+ >
98
+ backgroundSize: Record<'auto' | 'cover' | 'contain', string>
99
+ blur: Record<'0' | 'none' | 'sm' | 'DEFAULT' | 'md' | 'lg' | 'xl' | '2xl' | '3xl', string>
100
+ brightness: Record<
101
+ '0' | '50' | '75' | '90' | '95' | '100' | '105' | '110' | '125' | '150' | '200',
102
+ string
103
+ >
104
+ borderRadius: Record<
105
+ 'none' | 'sm' | 'DEFAULT' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full',
106
+ string
107
+ >
108
+ borderWidth: Record<'0' | '2' | '4' | '8' | 'DEFAULT', string>
109
+ boxShadow: Record<'sm' | 'DEFAULT' | 'md' | 'lg' | 'xl' | '2xl' | 'inner' | 'none', string>
110
+ contrast: Record<'0' | '50' | '75' | '100' | '125' | '150' | '200', string>
111
+ content: Record<'none', string>
112
+ cursor: Record<
113
+ | 'auto'
114
+ | 'default'
115
+ | 'pointer'
116
+ | 'wait'
117
+ | 'text'
118
+ | 'move'
119
+ | 'help'
120
+ | 'not-allowed'
121
+ | 'none'
122
+ | 'context-menu'
123
+ | 'progress'
124
+ | 'cell'
125
+ | 'crosshair'
126
+ | 'vertical-text'
127
+ | 'alias'
128
+ | 'copy'
129
+ | 'no-drop'
130
+ | 'grab'
131
+ | 'grabbing'
132
+ | 'all-scroll'
133
+ | 'col-resize'
134
+ | 'row-resize'
135
+ | 'n-resize'
136
+ | 'e-resize'
137
+ | 's-resize'
138
+ | 'w-resize'
139
+ | 'ne-resize'
140
+ | 'nw-resize'
141
+ | 'se-resize'
142
+ | 'sw-resize'
143
+ | 'ew-resize'
144
+ | 'ns-resize'
145
+ | 'nesw-resize'
146
+ | 'nwse-resize'
147
+ | 'zoom-in'
148
+ | 'zoom-out',
149
+ string
150
+ >
151
+ dropShadow: Record<'sm' | 'DEFAULT' | 'md' | 'lg' | 'xl' | '2xl' | 'none', string | string[]>
152
+ grayscale: Record<'0' | 'DEFAULT', string>
153
+ hueRotate: Record<'0' | '15' | '30' | '60' | '90' | '180', string>
154
+ invert: Record<'0' | 'DEFAULT', string>
155
+ flex: Record<'1' | 'auto' | 'initial' | 'none', string>
156
+ flexGrow: Record<'0' | 'DEFAULT', string>
157
+ flexShrink: Record<'0' | 'DEFAULT', string>
158
+ fontFamily: Record<'sans' | 'serif' | 'mono', string[]>
159
+ fontSize: Record<
160
+ | 'xs'
161
+ | 'sm'
162
+ | 'base'
163
+ | 'lg'
164
+ | 'xl'
165
+ | '2xl'
166
+ | '3xl'
167
+ | '4xl'
168
+ | '5xl'
169
+ | '6xl'
170
+ | '7xl'
171
+ | '8xl'
172
+ | '9xl',
173
+ [string, { lineHeight: string }]
174
+ >
175
+ fontWeight: Record<
176
+ | 'thin'
177
+ | 'extralight'
178
+ | 'light'
179
+ | 'normal'
180
+ | 'medium'
181
+ | 'semibold'
182
+ | 'bold'
183
+ | 'extrabold'
184
+ | 'black',
185
+ string
186
+ >
187
+ gridAutoColumns: Record<'auto' | 'min' | 'max' | 'fr', string>
188
+ gridAutoRows: Record<'auto' | 'min' | 'max' | 'fr', string>
189
+ gridColumn: Record<
190
+ | 'auto'
191
+ | 'span-1'
192
+ | 'span-2'
193
+ | 'span-3'
194
+ | 'span-4'
195
+ | 'span-5'
196
+ | 'span-6'
197
+ | 'span-7'
198
+ | 'span-8'
199
+ | 'span-9'
200
+ | 'span-10'
201
+ | 'span-11'
202
+ | 'span-12'
203
+ | 'span-full',
204
+ string
205
+ >
206
+ gridColumnEnd: Record<
207
+ '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | 'auto',
208
+ string
209
+ >
210
+ gridColumnStart: Record<
211
+ '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | 'auto',
212
+ string
213
+ >
214
+ gridRow: Record<
215
+ 'auto' | 'span-1' | 'span-2' | 'span-3' | 'span-4' | 'span-5' | 'span-6' | 'span-full',
216
+ string
217
+ >
218
+ gridRowStart: Record<'1' | '2' | '3' | '4' | '5' | '6' | '7' | 'auto', string>
219
+ gridRowEnd: Record<'1' | '2' | '3' | '4' | '5' | '6' | '7' | 'auto', string>
220
+ gridTemplateColumns: Record<
221
+ '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'none',
222
+ string
223
+ >
224
+ gridTemplateRows: Record<'1' | '2' | '3' | '4' | '5' | '6' | 'none', string>
225
+ keyframes: Record<'spin' | 'ping' | 'pulse' | 'bounce', Record<string, CSSDeclarationList>>
226
+ letterSpacing: Record<'tighter' | 'tight' | 'normal' | 'wide' | 'wider' | 'widest', string>
227
+ lineHeight: Record<
228
+ | '3'
229
+ | '4'
230
+ | '5'
231
+ | '6'
232
+ | '7'
233
+ | '8'
234
+ | '9'
235
+ | '10'
236
+ | 'none'
237
+ | 'tight'
238
+ | 'snug'
239
+ | 'normal'
240
+ | 'relaxed'
241
+ | 'loose',
242
+ string
243
+ >
244
+ listStyleType: Record<'none' | 'disc' | 'decimal', string>
245
+ minHeight: Record<'0' | 'full' | 'screen' | 'min' | 'max' | 'fit', string>
246
+ minWidth: Record<'0' | 'full' | 'min' | 'max' | 'fit', string>
247
+ objectPosition: Record<
248
+ | 'bottom'
249
+ | 'center'
250
+ | 'left'
251
+ | 'left-bottom'
252
+ | 'left-top'
253
+ | 'right'
254
+ | 'right-bottom'
255
+ | 'right-top'
256
+ | 'top',
257
+ string
258
+ >
259
+ opacity: Record<
260
+ | '0'
261
+ | '5'
262
+ | '10'
263
+ | '20'
264
+ | '25'
265
+ | '30'
266
+ | '40'
267
+ | '50'
268
+ | '60'
269
+ | '70'
270
+ | '75'
271
+ | '80'
272
+ | '90'
273
+ | '95'
274
+ | '100',
275
+ string
276
+ >
277
+ order: Record<
278
+ | '1'
279
+ | '2'
280
+ | '3'
281
+ | '4'
282
+ | '5'
283
+ | '6'
284
+ | '7'
285
+ | '8'
286
+ | '9'
287
+ | '10'
288
+ | '11'
289
+ | '12'
290
+ | 'first'
291
+ | 'last'
292
+ | 'none',
293
+ string
294
+ >
295
+ outlineOffset: Record<'0' | '1' | '2' | '4' | '8', string>
296
+ outlineWidth: Record<'0' | '1' | '2' | '4' | '8', string>
297
+ ringOffsetWidth: Record<'0' | '1' | '2' | '4' | '8', string>
298
+ ringWidth: Record<'0' | '1' | '2' | '4' | '8' | 'DEFAULT', string>
299
+ rotate: Record<'0' | '1' | '2' | '3' | '6' | '12' | '45' | '90' | '180', string>
300
+ saturate: Record<'0' | '50' | '100' | '150' | '200', string>
301
+ scale: Record<'0' | '50' | '75' | '90' | '95' | '100' | '105' | '110' | '125' | '150', string>
302
+ sepia: Record<'0' | 'DEFAULT', string>
303
+ skew: Record<'0' | '1' | '2' | '3' | '6' | '12', string>
304
+ strokeWidth: Record<'0' | '1' | '2', string>
305
+ textDecorationThickness: Record<'0' | '1' | '2' | '4' | '8' | 'auto' | 'from-font', string>
306
+ textUnderlineOffset: Record<'0' | '1' | '2' | '4' | '8' | 'auto', string>
307
+ transformOrigin: Record<
308
+ | 'center'
309
+ | 'top'
310
+ | 'top-right'
311
+ | 'right'
312
+ | 'bottom-right'
313
+ | 'bottom'
314
+ | 'bottom-left'
315
+ | 'left'
316
+ | 'top-left',
317
+ string
318
+ >
319
+ transitionDelay: Record<'75' | '100' | '150' | '200' | '300' | '500' | '700' | '1000', string>
320
+ transitionDuration: Record<
321
+ '75' | '100' | '150' | '200' | '300' | '500' | '700' | '1000' | 'DEFAULT',
322
+ string
323
+ >
324
+ transitionProperty: Record<
325
+ 'none' | 'all' | 'DEFAULT' | 'colors' | 'opacity' | 'shadow' | 'transform',
326
+ string
327
+ >
328
+ transitionTimingFunction: Record<'DEFAULT' | 'linear' | 'in' | 'out' | 'in-out', string>
329
+ willChange: Record<'auto' | 'scroll' | 'contents' | 'transform', string>
330
+ zIndex: Record<'0' | '10' | '20' | '30' | '40' | '50' | 'auto', string>
331
+ }