tailwindcss 0.0.0-insiders.f4635e0 → 0.0.0-insiders.f4a2ccd

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 (238) hide show
  1. package/LICENSE +1 -2
  2. package/README.md +15 -7
  3. package/colors.d.ts +3 -0
  4. package/colors.js +2 -304
  5. package/defaultConfig.d.ts +3 -0
  6. package/defaultConfig.js +2 -4
  7. package/defaultTheme.d.ts +4 -0
  8. package/defaultTheme.js +2 -4
  9. package/lib/cli/build/deps.js +54 -0
  10. package/lib/cli/build/index.js +52 -0
  11. package/lib/cli/build/plugin.js +376 -0
  12. package/lib/cli/build/utils.js +78 -0
  13. package/lib/cli/build/watching.js +180 -0
  14. package/lib/cli/help/index.js +71 -0
  15. package/lib/cli/index.js +230 -0
  16. package/lib/cli/init/index.js +61 -0
  17. package/lib/cli-peer-dependencies.js +22 -14
  18. package/lib/cli.js +4 -762
  19. package/lib/corePluginList.js +182 -5
  20. package/lib/corePlugins.js +4109 -2952
  21. package/lib/css/preflight.css +24 -9
  22. package/lib/featureFlags.js +68 -50
  23. package/lib/index.js +5 -30
  24. package/lib/lib/cacheInvalidation.js +90 -0
  25. package/lib/lib/collapseAdjacentRules.js +52 -36
  26. package/lib/lib/collapseDuplicateDeclarations.js +83 -0
  27. package/lib/lib/content.js +177 -0
  28. package/lib/lib/defaultExtractor.js +241 -0
  29. package/lib/lib/detectNesting.js +39 -17
  30. package/lib/lib/evaluateTailwindFunctions.js +203 -161
  31. package/lib/lib/expandApplyAtRules.js +503 -221
  32. package/lib/lib/expandTailwindAtRules.js +255 -243
  33. package/lib/lib/findAtConfigPath.js +44 -0
  34. package/lib/lib/generateRules.js +831 -317
  35. package/lib/lib/getModuleDependencies.js +93 -49
  36. package/lib/lib/load-config.js +36 -0
  37. package/lib/lib/normalizeTailwindDirectives.js +79 -60
  38. package/lib/lib/offsets.js +304 -0
  39. package/lib/lib/partitionApplyAtRules.js +56 -0
  40. package/lib/lib/regex.js +60 -0
  41. package/lib/lib/remap-bitfield.js +87 -0
  42. package/lib/lib/resolveDefaultsAtRules.js +150 -94
  43. package/lib/lib/setupContextUtils.js +1197 -685
  44. package/lib/lib/setupTrackingContext.js +150 -177
  45. package/lib/lib/sharedState.js +70 -21
  46. package/lib/lib/substituteScreenAtRules.js +26 -28
  47. package/lib/oxide/cli/build/deps.js +81 -0
  48. package/lib/oxide/cli/build/index.js +51 -0
  49. package/lib/oxide/cli/build/plugin.js +373 -0
  50. package/lib/oxide/cli/build/utils.js +77 -0
  51. package/lib/oxide/cli/build/watching.js +177 -0
  52. package/lib/oxide/cli/help/index.js +70 -0
  53. package/lib/oxide/cli/index.js +214 -0
  54. package/lib/oxide/cli/init/index.js +50 -0
  55. package/lib/oxide/cli.js +5 -0
  56. package/lib/oxide/postcss-plugin.js +2 -0
  57. package/lib/plugin.js +98 -0
  58. package/{nesting → lib/postcss-plugins/nesting}/README.md +2 -2
  59. package/lib/postcss-plugins/nesting/index.js +19 -0
  60. package/lib/postcss-plugins/nesting/plugin.js +87 -0
  61. package/lib/processTailwindFeatures.js +58 -56
  62. package/lib/public/colors.js +353 -0
  63. package/lib/public/create-plugin.js +15 -0
  64. package/lib/public/default-config.js +16 -0
  65. package/lib/public/default-theme.js +16 -0
  66. package/lib/public/load-config.js +10 -0
  67. package/lib/public/resolve-config.js +22 -0
  68. package/lib/util/applyImportantSelector.js +22 -0
  69. package/lib/util/bigSign.js +7 -6
  70. package/lib/util/buildMediaQuery.js +21 -32
  71. package/lib/util/cloneDeep.js +16 -14
  72. package/lib/util/cloneNodes.js +29 -15
  73. package/lib/util/color.js +104 -66
  74. package/lib/util/configurePlugins.js +17 -15
  75. package/lib/util/createPlugin.js +23 -26
  76. package/lib/util/createUtilityPlugin.js +46 -46
  77. package/lib/util/dataTypes.js +266 -0
  78. package/lib/util/defaults.js +20 -15
  79. package/lib/util/escapeClassName.js +18 -17
  80. package/lib/util/escapeCommas.js +7 -6
  81. package/lib/util/flattenColorPalette.js +13 -12
  82. package/lib/util/formatVariantSelector.js +341 -0
  83. package/lib/util/getAllConfigs.js +44 -18
  84. package/lib/util/hashConfig.js +15 -12
  85. package/lib/util/isKeyframeRule.js +7 -6
  86. package/lib/util/isPlainObject.js +11 -11
  87. package/lib/util/isSyntacticallyValidPropertyValue.js +72 -0
  88. package/lib/util/log.js +52 -33
  89. package/lib/util/nameClass.js +35 -29
  90. package/lib/util/negateValue.js +31 -17
  91. package/lib/util/normalizeConfig.js +294 -0
  92. package/lib/util/normalizeScreens.js +170 -0
  93. package/lib/util/parseAnimationValue.js +85 -54
  94. package/lib/util/parseBoxShadowValue.js +84 -0
  95. package/lib/util/parseDependency.js +41 -70
  96. package/lib/util/parseGlob.js +34 -0
  97. package/lib/util/parseObjectStyles.js +30 -24
  98. package/lib/util/pluginUtils.js +234 -288
  99. package/lib/util/prefixSelector.js +33 -19
  100. package/lib/util/removeAlphaVariables.js +29 -0
  101. package/lib/util/resolveConfig.js +221 -256
  102. package/lib/util/resolveConfigPath.js +55 -48
  103. package/lib/util/responsive.js +18 -14
  104. package/lib/util/splitAtTopLevelOnly.js +49 -0
  105. package/lib/util/tap.js +8 -7
  106. package/lib/util/toColorValue.js +7 -6
  107. package/lib/util/toPath.js +27 -8
  108. package/lib/util/transformThemeValue.js +67 -28
  109. package/lib/util/validateConfig.js +24 -0
  110. package/lib/util/validateFormalSyntax.js +24 -0
  111. package/lib/util/withAlphaVariable.js +67 -57
  112. package/loadConfig.d.ts +4 -0
  113. package/loadConfig.js +2 -0
  114. package/nesting/index.js +2 -12
  115. package/package.json +69 -66
  116. package/peers/index.js +76328 -84169
  117. package/plugin.d.ts +11 -0
  118. package/plugin.js +1 -2
  119. package/resolveConfig.d.ts +12 -0
  120. package/resolveConfig.js +2 -7
  121. package/scripts/create-plugin-list.js +2 -2
  122. package/scripts/generate-types.js +105 -0
  123. package/scripts/release-channel.js +18 -0
  124. package/scripts/release-notes.js +21 -0
  125. package/scripts/swap-engines.js +40 -0
  126. package/scripts/type-utils.js +27 -0
  127. package/src/cli/build/deps.js +56 -0
  128. package/src/cli/build/index.js +49 -0
  129. package/src/cli/build/plugin.js +444 -0
  130. package/src/cli/build/utils.js +76 -0
  131. package/src/cli/build/watching.js +229 -0
  132. package/src/cli/help/index.js +70 -0
  133. package/src/cli/index.js +216 -0
  134. package/src/cli/init/index.js +79 -0
  135. package/src/cli-peer-dependencies.js +7 -1
  136. package/src/cli.js +4 -756
  137. package/src/corePluginList.js +1 -1
  138. package/src/corePlugins.js +2526 -1956
  139. package/src/css/preflight.css +24 -9
  140. package/src/featureFlags.js +33 -10
  141. package/src/index.js +4 -33
  142. package/src/lib/cacheInvalidation.js +52 -0
  143. package/src/lib/collapseAdjacentRules.js +21 -2
  144. package/src/lib/collapseDuplicateDeclarations.js +93 -0
  145. package/src/lib/content.js +208 -0
  146. package/src/lib/defaultExtractor.js +217 -0
  147. package/src/lib/detectNesting.js +30 -3
  148. package/src/lib/evaluateTailwindFunctions.js +84 -10
  149. package/src/lib/expandApplyAtRules.js +509 -153
  150. package/src/lib/expandTailwindAtRules.js +125 -104
  151. package/src/lib/findAtConfigPath.js +48 -0
  152. package/src/lib/generateRules.js +678 -70
  153. package/src/lib/getModuleDependencies.js +70 -30
  154. package/src/lib/load-config.ts +27 -0
  155. package/src/lib/normalizeTailwindDirectives.js +10 -3
  156. package/src/lib/offsets.js +373 -0
  157. package/src/lib/partitionApplyAtRules.js +52 -0
  158. package/src/lib/regex.js +74 -0
  159. package/src/lib/remap-bitfield.js +82 -0
  160. package/src/lib/resolveDefaultsAtRules.js +105 -47
  161. package/src/lib/setupContextUtils.js +848 -247
  162. package/src/lib/setupTrackingContext.js +53 -64
  163. package/src/lib/sharedState.js +60 -6
  164. package/src/lib/substituteScreenAtRules.js +6 -3
  165. package/src/oxide/cli/build/deps.ts +91 -0
  166. package/src/oxide/cli/build/index.ts +47 -0
  167. package/src/oxide/cli/build/plugin.ts +442 -0
  168. package/src/oxide/cli/build/utils.ts +74 -0
  169. package/src/oxide/cli/build/watching.ts +225 -0
  170. package/src/oxide/cli/help/index.ts +69 -0
  171. package/src/oxide/cli/index.ts +204 -0
  172. package/src/oxide/cli/init/index.ts +59 -0
  173. package/src/oxide/cli.ts +1 -0
  174. package/src/oxide/postcss-plugin.ts +1 -0
  175. package/src/plugin.js +107 -0
  176. package/src/postcss-plugins/nesting/README.md +42 -0
  177. package/src/postcss-plugins/nesting/index.js +13 -0
  178. package/src/postcss-plugins/nesting/plugin.js +80 -0
  179. package/src/processTailwindFeatures.js +18 -3
  180. package/src/public/colors.js +322 -0
  181. package/src/public/create-plugin.js +2 -0
  182. package/src/public/default-config.js +4 -0
  183. package/src/public/default-theme.js +4 -0
  184. package/src/public/load-config.js +2 -0
  185. package/src/public/resolve-config.js +7 -0
  186. package/src/util/applyImportantSelector.js +19 -0
  187. package/src/util/buildMediaQuery.js +14 -16
  188. package/src/util/cloneNodes.js +19 -2
  189. package/src/util/color.js +43 -11
  190. package/src/util/createUtilityPlugin.js +2 -11
  191. package/src/util/dataTypes.js +281 -0
  192. package/src/util/defaults.js +6 -0
  193. package/src/util/formatVariantSelector.js +412 -0
  194. package/src/util/getAllConfigs.js +21 -2
  195. package/src/util/isSyntacticallyValidPropertyValue.js +61 -0
  196. package/src/util/log.js +23 -22
  197. package/src/util/nameClass.js +6 -2
  198. package/src/util/negateValue.js +15 -5
  199. package/src/util/normalizeConfig.js +318 -0
  200. package/src/util/normalizeScreens.js +140 -0
  201. package/src/util/parseAnimationValue.js +7 -1
  202. package/src/util/parseBoxShadowValue.js +72 -0
  203. package/src/util/parseDependency.js +37 -38
  204. package/src/util/parseGlob.js +24 -0
  205. package/src/util/pluginUtils.js +219 -219
  206. package/src/util/prefixSelector.js +30 -13
  207. package/src/util/removeAlphaVariables.js +24 -0
  208. package/src/util/resolveConfig.js +86 -91
  209. package/src/util/resolveConfigPath.js +12 -1
  210. package/src/util/splitAtTopLevelOnly.js +52 -0
  211. package/src/util/toPath.js +23 -1
  212. package/src/util/transformThemeValue.js +33 -8
  213. package/src/util/validateConfig.js +13 -0
  214. package/src/util/validateFormalSyntax.js +34 -0
  215. package/src/util/withAlphaVariable.js +14 -9
  216. package/stubs/.gitignore +1 -0
  217. package/stubs/.prettierrc.json +6 -0
  218. package/stubs/{defaultConfig.stub.js → config.full.js} +332 -249
  219. package/stubs/{simpleConfig.stub.js → config.simple.js} +0 -1
  220. package/stubs/postcss.config.js +6 -0
  221. package/stubs/tailwind.config.cjs +2 -0
  222. package/stubs/tailwind.config.js +2 -0
  223. package/stubs/tailwind.config.ts +3 -0
  224. package/types/config.d.ts +373 -0
  225. package/types/generated/.gitkeep +0 -0
  226. package/types/generated/colors.d.ts +298 -0
  227. package/types/generated/corePluginList.d.ts +1 -0
  228. package/types/generated/default-theme.d.ts +347 -0
  229. package/types/index.d.ts +7 -0
  230. package/CHANGELOG.md +0 -1742
  231. package/lib/constants.js +0 -37
  232. package/lib/lib/setupWatchingContext.js +0 -331
  233. package/nesting/plugin.js +0 -41
  234. package/scripts/install-integrations.js +0 -27
  235. package/scripts/rebuildFixtures.js +0 -68
  236. package/src/constants.js +0 -17
  237. package/src/lib/setupWatchingContext.js +0 -307
  238. /package/stubs/{defaultPostCssConfig.stub.js → postcss.config.cjs} +0 -0
@@ -0,0 +1 @@
1
+ export type CorePluginList = 'preflight' | 'container' | 'accessibility' | 'pointerEvents' | 'visibility' | 'position' | 'inset' | 'isolation' | 'zIndex' | 'order' | 'gridColumn' | 'gridColumnStart' | 'gridColumnEnd' | 'gridRow' | 'gridRowStart' | 'gridRowEnd' | 'float' | 'clear' | 'margin' | 'boxSizing' | 'lineClamp' | 'display' | 'aspectRatio' | 'height' | 'maxHeight' | 'minHeight' | 'width' | 'minWidth' | 'maxWidth' | 'flex' | 'flexShrink' | 'flexGrow' | 'flexBasis' | 'tableLayout' | 'captionSide' | 'borderCollapse' | 'borderSpacing' | 'transformOrigin' | 'translate' | 'rotate' | 'skew' | 'scale' | 'transform' | 'animation' | 'cursor' | 'touchAction' | 'userSelect' | 'resize' | 'scrollSnapType' | 'scrollSnapAlign' | 'scrollSnapStop' | 'scrollMargin' | 'scrollPadding' | 'listStylePosition' | 'listStyleType' | 'listStyleImage' | 'appearance' | 'columns' | 'breakBefore' | 'breakInside' | 'breakAfter' | 'gridAutoColumns' | 'gridAutoFlow' | 'gridAutoRows' | 'gridTemplateColumns' | 'gridTemplateRows' | 'flexDirection' | 'flexWrap' | 'placeContent' | 'placeItems' | 'alignContent' | 'alignItems' | 'justifyContent' | 'justifyItems' | 'gap' | 'space' | 'divideWidth' | 'divideStyle' | 'divideColor' | 'divideOpacity' | 'placeSelf' | 'alignSelf' | 'justifySelf' | 'overflow' | 'overscrollBehavior' | 'scrollBehavior' | 'textOverflow' | 'hyphens' | 'whitespace' | 'wordBreak' | 'borderRadius' | 'borderWidth' | 'borderStyle' | 'borderColor' | 'borderOpacity' | 'backgroundColor' | 'backgroundOpacity' | 'backgroundImage' | 'gradientColorStops' | 'boxDecorationBreak' | 'backgroundSize' | 'backgroundAttachment' | 'backgroundClip' | 'backgroundPosition' | 'backgroundRepeat' | 'backgroundOrigin' | 'fill' | 'stroke' | 'strokeWidth' | 'objectFit' | 'objectPosition' | 'padding' | 'textAlign' | 'textIndent' | 'verticalAlign' | 'fontFamily' | 'fontSize' | 'fontWeight' | 'textTransform' | 'fontStyle' | 'fontVariantNumeric' | 'lineHeight' | 'letterSpacing' | 'textColor' | 'textOpacity' | 'textDecoration' | 'textDecorationColor' | 'textDecorationStyle' | 'textDecorationThickness' | 'textUnderlineOffset' | 'fontSmoothing' | 'placeholderColor' | 'placeholderOpacity' | 'caretColor' | 'accentColor' | 'opacity' | 'backgroundBlendMode' | 'mixBlendMode' | 'boxShadow' | 'boxShadowColor' | 'outlineStyle' | 'outlineWidth' | 'outlineOffset' | 'outlineColor' | 'ringWidth' | 'ringColor' | 'ringOpacity' | 'ringOffsetWidth' | 'ringOffsetColor' | 'blur' | 'brightness' | 'contrast' | 'dropShadow' | 'grayscale' | 'hueRotate' | 'invert' | 'saturate' | 'sepia' | 'filter' | 'backdropBlur' | 'backdropBrightness' | 'backdropContrast' | 'backdropGrayscale' | 'backdropHueRotate' | 'backdropInvert' | 'backdropOpacity' | 'backdropSaturate' | 'backdropSepia' | 'backdropFilter' | 'transitionProperty' | 'transitionDelay' | 'transitionDuration' | 'transitionTimingFunction' | 'willChange' | 'content'
@@ -0,0 +1,347 @@
1
+ import { Config } from '../../types'
2
+ type CSSDeclarationList = Record<string, string>
3
+ export type DefaultTheme = Config['theme'] & {
4
+ animation: Record<'none' | 'spin' | 'ping' | 'pulse' | 'bounce', string>
5
+ aria: Record<
6
+ | 'checked'
7
+ | 'disabled'
8
+ | 'expanded'
9
+ | 'hidden'
10
+ | 'pressed'
11
+ | 'readonly'
12
+ | 'required'
13
+ | 'selected',
14
+ string
15
+ >
16
+ aspectRatio: Record<'auto' | 'square' | 'video', string>
17
+ backgroundImage: Record<
18
+ | 'none'
19
+ | 'gradient-to-t'
20
+ | 'gradient-to-tr'
21
+ | 'gradient-to-r'
22
+ | 'gradient-to-br'
23
+ | 'gradient-to-b'
24
+ | 'gradient-to-bl'
25
+ | 'gradient-to-l'
26
+ | 'gradient-to-tl',
27
+ string
28
+ >
29
+ backgroundPosition: Record<
30
+ | 'bottom'
31
+ | 'center'
32
+ | 'left'
33
+ | 'left-bottom'
34
+ | 'left-top'
35
+ | 'right'
36
+ | 'right-bottom'
37
+ | 'right-top'
38
+ | 'top',
39
+ string
40
+ >
41
+ backgroundSize: Record<'auto' | 'cover' | 'contain', string>
42
+ blur: Record<'0' | 'none' | 'sm' | 'DEFAULT' | 'md' | 'lg' | 'xl' | '2xl' | '3xl', string>
43
+ borderRadius: Record<
44
+ 'none' | 'sm' | 'DEFAULT' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full',
45
+ string
46
+ >
47
+ borderWidth: Record<'0' | '2' | '4' | '8' | 'DEFAULT', string>
48
+ boxShadow: Record<'sm' | 'DEFAULT' | 'md' | 'lg' | 'xl' | '2xl' | 'inner' | 'none', string>
49
+ brightness: Record<
50
+ '0' | '50' | '75' | '90' | '95' | '100' | '105' | '110' | '125' | '150' | '200',
51
+ string
52
+ >
53
+ columns: Record<
54
+ | '1'
55
+ | '2'
56
+ | '3'
57
+ | '4'
58
+ | '5'
59
+ | '6'
60
+ | '7'
61
+ | '8'
62
+ | '9'
63
+ | '10'
64
+ | '11'
65
+ | '12'
66
+ | 'auto'
67
+ | '3xs'
68
+ | '2xs'
69
+ | 'xs'
70
+ | 'sm'
71
+ | 'md'
72
+ | 'lg'
73
+ | 'xl'
74
+ | '2xl'
75
+ | '3xl'
76
+ | '4xl'
77
+ | '5xl'
78
+ | '6xl'
79
+ | '7xl',
80
+ string
81
+ >
82
+ content: Record<'none', string>
83
+ contrast: Record<'0' | '50' | '75' | '100' | '125' | '150' | '200', string>
84
+ cursor: Record<
85
+ | 'auto'
86
+ | 'default'
87
+ | 'pointer'
88
+ | 'wait'
89
+ | 'text'
90
+ | 'move'
91
+ | 'help'
92
+ | 'not-allowed'
93
+ | 'none'
94
+ | 'context-menu'
95
+ | 'progress'
96
+ | 'cell'
97
+ | 'crosshair'
98
+ | 'vertical-text'
99
+ | 'alias'
100
+ | 'copy'
101
+ | 'no-drop'
102
+ | 'grab'
103
+ | 'grabbing'
104
+ | 'all-scroll'
105
+ | 'col-resize'
106
+ | 'row-resize'
107
+ | 'n-resize'
108
+ | 'e-resize'
109
+ | 's-resize'
110
+ | 'w-resize'
111
+ | 'ne-resize'
112
+ | 'nw-resize'
113
+ | 'se-resize'
114
+ | 'sw-resize'
115
+ | 'ew-resize'
116
+ | 'ns-resize'
117
+ | 'nesw-resize'
118
+ | 'nwse-resize'
119
+ | 'zoom-in'
120
+ | 'zoom-out',
121
+ string
122
+ >
123
+ dropShadow: Record<'sm' | 'DEFAULT' | 'md' | 'lg' | 'xl' | '2xl' | 'none', string | string[]>
124
+ flex: Record<'1' | 'auto' | 'initial' | 'none', string>
125
+ flexGrow: Record<'0' | 'DEFAULT', string>
126
+ flexShrink: Record<'0' | 'DEFAULT', string>
127
+ fontFamily: Record<'sans' | 'serif' | 'mono', string[]>
128
+ fontSize: Record<
129
+ | 'xs'
130
+ | 'sm'
131
+ | 'base'
132
+ | 'lg'
133
+ | 'xl'
134
+ | '2xl'
135
+ | '3xl'
136
+ | '4xl'
137
+ | '5xl'
138
+ | '6xl'
139
+ | '7xl'
140
+ | '8xl'
141
+ | '9xl',
142
+ [string, { lineHeight: string }]
143
+ >
144
+ fontWeight: Record<
145
+ | 'thin'
146
+ | 'extralight'
147
+ | 'light'
148
+ | 'normal'
149
+ | 'medium'
150
+ | 'semibold'
151
+ | 'bold'
152
+ | 'extrabold'
153
+ | 'black',
154
+ string
155
+ >
156
+ grayscale: Record<'0' | 'DEFAULT', string>
157
+ gridAutoColumns: Record<'auto' | 'min' | 'max' | 'fr', string>
158
+ gridAutoRows: Record<'auto' | 'min' | 'max' | 'fr', string>
159
+ gridColumn: Record<
160
+ | 'auto'
161
+ | 'span-1'
162
+ | 'span-2'
163
+ | 'span-3'
164
+ | 'span-4'
165
+ | 'span-5'
166
+ | 'span-6'
167
+ | 'span-7'
168
+ | 'span-8'
169
+ | 'span-9'
170
+ | 'span-10'
171
+ | 'span-11'
172
+ | 'span-12'
173
+ | 'span-full',
174
+ string
175
+ >
176
+ gridColumnEnd: Record<
177
+ '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | 'auto',
178
+ string
179
+ >
180
+ gridColumnStart: Record<
181
+ '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | 'auto',
182
+ string
183
+ >
184
+ gridRow: Record<
185
+ 'auto' | 'span-1' | 'span-2' | 'span-3' | 'span-4' | 'span-5' | 'span-6' | 'span-full',
186
+ string
187
+ >
188
+ gridRowEnd: Record<'1' | '2' | '3' | '4' | '5' | '6' | '7' | 'auto', string>
189
+ gridRowStart: Record<'1' | '2' | '3' | '4' | '5' | '6' | '7' | 'auto', string>
190
+ gridTemplateColumns: Record<
191
+ '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'none',
192
+ string
193
+ >
194
+ gridTemplateRows: Record<'1' | '2' | '3' | '4' | '5' | '6' | 'none', string>
195
+ hueRotate: Record<'0' | '15' | '30' | '60' | '90' | '180', string>
196
+ invert: Record<'0' | 'DEFAULT', string>
197
+ keyframes: Record<'spin' | 'ping' | 'pulse' | 'bounce', Record<string, CSSDeclarationList>>
198
+ letterSpacing: Record<'tighter' | 'tight' | 'normal' | 'wide' | 'wider' | 'widest', string>
199
+ lineHeight: Record<
200
+ | '3'
201
+ | '4'
202
+ | '5'
203
+ | '6'
204
+ | '7'
205
+ | '8'
206
+ | '9'
207
+ | '10'
208
+ | 'none'
209
+ | 'tight'
210
+ | 'snug'
211
+ | 'normal'
212
+ | 'relaxed'
213
+ | 'loose',
214
+ string
215
+ >
216
+ listStyleType: Record<'none' | 'disc' | 'decimal', string>
217
+ listStyleImage: Record<'none', string>
218
+ lineClamp: Record<'1' | '2' | '3' | '4' | '5' | '6', string>
219
+ minHeight: Record<'0' | 'full' | 'screen' | 'min' | 'max' | 'fit', string>
220
+ minWidth: Record<'0' | 'full' | 'min' | 'max' | 'fit', string>
221
+ objectPosition: Record<
222
+ | 'bottom'
223
+ | 'center'
224
+ | 'left'
225
+ | 'left-bottom'
226
+ | 'left-top'
227
+ | 'right'
228
+ | 'right-bottom'
229
+ | 'right-top'
230
+ | 'top',
231
+ string
232
+ >
233
+ opacity: Record<
234
+ | '0'
235
+ | '5'
236
+ | '10'
237
+ | '20'
238
+ | '25'
239
+ | '30'
240
+ | '40'
241
+ | '50'
242
+ | '60'
243
+ | '70'
244
+ | '75'
245
+ | '80'
246
+ | '90'
247
+ | '95'
248
+ | '100',
249
+ string
250
+ >
251
+ order: Record<
252
+ | '1'
253
+ | '2'
254
+ | '3'
255
+ | '4'
256
+ | '5'
257
+ | '6'
258
+ | '7'
259
+ | '8'
260
+ | '9'
261
+ | '10'
262
+ | '11'
263
+ | '12'
264
+ | 'first'
265
+ | 'last'
266
+ | 'none',
267
+ string
268
+ >
269
+ outlineOffset: Record<'0' | '1' | '2' | '4' | '8', string>
270
+ outlineWidth: Record<'0' | '1' | '2' | '4' | '8', string>
271
+ ringOffsetWidth: Record<'0' | '1' | '2' | '4' | '8', string>
272
+ ringWidth: Record<'0' | '1' | '2' | '4' | '8' | 'DEFAULT', string>
273
+ rotate: Record<'0' | '1' | '2' | '3' | '6' | '12' | '45' | '90' | '180', string>
274
+ saturate: Record<'0' | '50' | '100' | '150' | '200', string>
275
+ scale: Record<'0' | '50' | '75' | '90' | '95' | '100' | '105' | '110' | '125' | '150', string>
276
+ screens: Record<'sm' | 'md' | 'lg' | 'xl' | '2xl', string>
277
+ sepia: Record<'0' | 'DEFAULT', string>
278
+ skew: Record<'0' | '1' | '2' | '3' | '6' | '12', string>
279
+ spacing: Record<
280
+ | '0'
281
+ | '1'
282
+ | '2'
283
+ | '3'
284
+ | '4'
285
+ | '5'
286
+ | '6'
287
+ | '7'
288
+ | '8'
289
+ | '9'
290
+ | '10'
291
+ | '11'
292
+ | '12'
293
+ | '14'
294
+ | '16'
295
+ | '20'
296
+ | '24'
297
+ | '28'
298
+ | '32'
299
+ | '36'
300
+ | '40'
301
+ | '44'
302
+ | '48'
303
+ | '52'
304
+ | '56'
305
+ | '60'
306
+ | '64'
307
+ | '72'
308
+ | '80'
309
+ | '96'
310
+ | 'px'
311
+ | '0.5'
312
+ | '1.5'
313
+ | '2.5'
314
+ | '3.5',
315
+ string
316
+ >
317
+ strokeWidth: Record<'0' | '1' | '2', string>
318
+ textDecorationThickness: Record<'0' | '1' | '2' | '4' | '8' | 'auto' | 'from-font', string>
319
+ textUnderlineOffset: Record<'0' | '1' | '2' | '4' | '8' | 'auto', string>
320
+ transformOrigin: Record<
321
+ | 'center'
322
+ | 'top'
323
+ | 'top-right'
324
+ | 'right'
325
+ | 'bottom-right'
326
+ | 'bottom'
327
+ | 'bottom-left'
328
+ | 'left'
329
+ | 'top-left',
330
+ string
331
+ >
332
+ transitionDelay: Record<
333
+ '0' | '75' | '100' | '150' | '200' | '300' | '500' | '700' | '1000',
334
+ string
335
+ >
336
+ transitionDuration: Record<
337
+ '0' | '75' | '100' | '150' | '200' | '300' | '500' | '700' | '1000' | 'DEFAULT',
338
+ string
339
+ >
340
+ transitionProperty: Record<
341
+ 'none' | 'all' | 'DEFAULT' | 'colors' | 'opacity' | 'shadow' | 'transform',
342
+ string
343
+ >
344
+ transitionTimingFunction: Record<'DEFAULT' | 'linear' | 'in' | 'out' | 'in-out', string>
345
+ willChange: Record<'auto' | 'scroll' | 'contents' | 'transform', string>
346
+ zIndex: Record<'0' | '10' | '20' | '30' | '40' | '50' | 'auto', string>
347
+ }
@@ -0,0 +1,7 @@
1
+ import { PluginCreator } from 'postcss'
2
+ import type { Config } from './config.d'
3
+
4
+ declare const plugin: PluginCreator<string | Config | { config: string | Config }>
5
+
6
+ export { Config }
7
+ export default plugin