tailwindcss 0.0.0-insiders.89bf2ed → 0.0.0-insiders.89cbfc7

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 (209) hide show
  1. package/README.md +16 -17
  2. package/dist/chunk-GFBUASX3.mjs +1 -0
  3. package/dist/chunk-HTB5LLOP.mjs +1 -0
  4. package/dist/chunk-O6OHPORC.mjs +38 -0
  5. package/dist/colors-b_6i0Oi7.d.ts +295 -0
  6. package/dist/colors.d.mts +295 -0
  7. package/dist/colors.d.ts +5 -0
  8. package/dist/colors.js +1 -0
  9. package/dist/colors.mjs +1 -0
  10. package/dist/default-theme.d.mts +1147 -0
  11. package/dist/default-theme.d.ts +1147 -0
  12. package/dist/default-theme.js +1 -0
  13. package/dist/default-theme.mjs +1 -0
  14. package/dist/flatten-color-palette.d.mts +6 -0
  15. package/dist/flatten-color-palette.d.ts +6 -0
  16. package/dist/flatten-color-palette.js +18 -0
  17. package/dist/flatten-color-palette.mjs +1 -0
  18. package/dist/lib.d.mts +363 -0
  19. package/dist/lib.d.ts +3 -0
  20. package/dist/lib.js +38 -0
  21. package/dist/lib.mjs +1 -0
  22. package/dist/plugin.d.mts +11 -0
  23. package/dist/plugin.d.ts +131 -0
  24. package/dist/plugin.js +1 -0
  25. package/dist/plugin.mjs +1 -0
  26. package/dist/resolve-config-BIFUA2FY.d.ts +29 -0
  27. package/dist/resolve-config-QUZ9b-Gn.d.mts +190 -0
  28. package/dist/types-WlZgYgM8.d.mts +125 -0
  29. package/index.css +896 -0
  30. package/package.json +76 -98
  31. package/preflight.css +393 -0
  32. package/theme.css +462 -0
  33. package/CHANGELOG.md +0 -2113
  34. package/base.css +0 -1
  35. package/colors.d.ts +0 -3
  36. package/colors.js +0 -2
  37. package/components.css +0 -1
  38. package/defaultConfig.d.ts +0 -3
  39. package/defaultConfig.js +0 -2
  40. package/defaultTheme.d.ts +0 -3
  41. package/defaultTheme.js +0 -2
  42. package/lib/cli-peer-dependencies.js +0 -15
  43. package/lib/cli.js +0 -761
  44. package/lib/constants.js +0 -37
  45. package/lib/corePluginList.js +0 -179
  46. package/lib/corePlugins.js +0 -3628
  47. package/lib/css/LICENSE +0 -25
  48. package/lib/css/preflight.css +0 -368
  49. package/lib/featureFlags.js +0 -59
  50. package/lib/index.js +0 -41
  51. package/lib/lib/cacheInvalidation.js +0 -69
  52. package/lib/lib/collapseAdjacentRules.js +0 -57
  53. package/lib/lib/collapseDuplicateDeclarations.js +0 -80
  54. package/lib/lib/defaultExtractor.js +0 -44
  55. package/lib/lib/detectNesting.js +0 -34
  56. package/lib/lib/evaluateTailwindFunctions.js +0 -171
  57. package/lib/lib/expandApplyAtRules.js +0 -446
  58. package/lib/lib/expandTailwindAtRules.js +0 -262
  59. package/lib/lib/generateRules.js +0 -647
  60. package/lib/lib/getModuleDependencies.js +0 -48
  61. package/lib/lib/normalizeTailwindDirectives.js +0 -84
  62. package/lib/lib/partitionApplyAtRules.js +0 -53
  63. package/lib/lib/resolveDefaultsAtRules.js +0 -143
  64. package/lib/lib/setupContextUtils.js +0 -873
  65. package/lib/lib/setupTrackingContext.js +0 -171
  66. package/lib/lib/sharedState.js +0 -52
  67. package/lib/lib/substituteScreenAtRules.js +0 -27
  68. package/lib/postcss-plugins/nesting/README.md +0 -42
  69. package/lib/postcss-plugins/nesting/index.js +0 -17
  70. package/lib/postcss-plugins/nesting/plugin.js +0 -85
  71. package/lib/processTailwindFeatures.js +0 -59
  72. package/lib/public/colors.js +0 -329
  73. package/lib/public/create-plugin.js +0 -13
  74. package/lib/public/default-config.js +0 -14
  75. package/lib/public/default-theme.js +0 -14
  76. package/lib/public/resolve-config.js +0 -19
  77. package/lib/util/bigSign.js +0 -8
  78. package/lib/util/buildMediaQuery.js +0 -20
  79. package/lib/util/cloneDeep.js +0 -19
  80. package/lib/util/cloneNodes.js +0 -25
  81. package/lib/util/color.js +0 -100
  82. package/lib/util/configurePlugins.js +0 -18
  83. package/lib/util/createPlugin.js +0 -29
  84. package/lib/util/createUtilityPlugin.js +0 -49
  85. package/lib/util/dataTypes.js +0 -240
  86. package/lib/util/defaults.js +0 -22
  87. package/lib/util/escapeClassName.js +0 -19
  88. package/lib/util/escapeCommas.js +0 -8
  89. package/lib/util/flattenColorPalette.js +0 -17
  90. package/lib/util/formatVariantSelector.js +0 -186
  91. package/lib/util/getAllConfigs.js +0 -29
  92. package/lib/util/hashConfig.js +0 -16
  93. package/lib/util/isKeyframeRule.js +0 -8
  94. package/lib/util/isPlainObject.js +0 -12
  95. package/lib/util/isValidArbitraryValue.js +0 -64
  96. package/lib/util/log.js +0 -51
  97. package/lib/util/nameClass.js +0 -32
  98. package/lib/util/negateValue.js +0 -19
  99. package/lib/util/normalizeConfig.js +0 -240
  100. package/lib/util/normalizeScreens.js +0 -59
  101. package/lib/util/parseAnimationValue.js +0 -89
  102. package/lib/util/parseBoxShadowValue.js +0 -117
  103. package/lib/util/parseDependency.js +0 -63
  104. package/lib/util/parseObjectStyles.js +0 -31
  105. package/lib/util/pluginUtils.js +0 -179
  106. package/lib/util/prefixSelector.js +0 -20
  107. package/lib/util/resolveConfig.js +0 -255
  108. package/lib/util/resolveConfigPath.js +0 -51
  109. package/lib/util/responsive.js +0 -19
  110. package/lib/util/tap.js +0 -9
  111. package/lib/util/toColorValue.js +0 -8
  112. package/lib/util/toPath.js +0 -14
  113. package/lib/util/transformThemeValue.js +0 -59
  114. package/lib/util/withAlphaVariable.js +0 -67
  115. package/nesting/index.js +0 -2
  116. package/peers/index.js +0 -75859
  117. package/plugin.d.ts +0 -6
  118. package/plugin.js +0 -2
  119. package/prettier.config.js +0 -19
  120. package/resolveConfig.js +0 -2
  121. package/screens.css +0 -1
  122. package/scripts/create-plugin-list.js +0 -10
  123. package/scripts/generate-types.js +0 -52
  124. package/scripts/install-integrations.js +0 -27
  125. package/scripts/rebuildFixtures.js +0 -68
  126. package/src/cli-peer-dependencies.js +0 -9
  127. package/src/cli.js +0 -838
  128. package/src/constants.js +0 -17
  129. package/src/corePluginList.js +0 -1
  130. package/src/corePlugins.js +0 -2407
  131. package/src/css/LICENSE +0 -25
  132. package/src/css/preflight.css +0 -368
  133. package/src/featureFlags.js +0 -54
  134. package/src/index.js +0 -42
  135. package/src/lib/cacheInvalidation.js +0 -52
  136. package/src/lib/collapseAdjacentRules.js +0 -58
  137. package/src/lib/collapseDuplicateDeclarations.js +0 -93
  138. package/src/lib/defaultExtractor.js +0 -50
  139. package/src/lib/detectNesting.js +0 -39
  140. package/src/lib/evaluateTailwindFunctions.js +0 -198
  141. package/src/lib/expandApplyAtRules.js +0 -486
  142. package/src/lib/expandTailwindAtRules.js +0 -292
  143. package/src/lib/generateRules.js +0 -646
  144. package/src/lib/getModuleDependencies.js +0 -39
  145. package/src/lib/normalizeTailwindDirectives.js +0 -84
  146. package/src/lib/partitionApplyAtRules.js +0 -52
  147. package/src/lib/resolveDefaultsAtRules.js +0 -146
  148. package/src/lib/setupContextUtils.js +0 -899
  149. package/src/lib/setupTrackingContext.js +0 -183
  150. package/src/lib/sharedState.js +0 -48
  151. package/src/lib/substituteScreenAtRules.js +0 -19
  152. package/src/postcss-plugins/nesting/README.md +0 -42
  153. package/src/postcss-plugins/nesting/index.js +0 -13
  154. package/src/postcss-plugins/nesting/plugin.js +0 -80
  155. package/src/processTailwindFeatures.js +0 -58
  156. package/src/public/colors.js +0 -300
  157. package/src/public/create-plugin.js +0 -2
  158. package/src/public/default-config.js +0 -4
  159. package/src/public/default-theme.js +0 -4
  160. package/src/public/resolve-config.js +0 -7
  161. package/src/util/bigSign.js +0 -3
  162. package/src/util/buildMediaQuery.js +0 -20
  163. package/src/util/cloneDeep.js +0 -11
  164. package/src/util/cloneNodes.js +0 -24
  165. package/src/util/color.js +0 -71
  166. package/src/util/configurePlugins.js +0 -23
  167. package/src/util/createPlugin.js +0 -27
  168. package/src/util/createUtilityPlugin.js +0 -37
  169. package/src/util/dataTypes.js +0 -256
  170. package/src/util/defaults.js +0 -17
  171. package/src/util/escapeClassName.js +0 -8
  172. package/src/util/escapeCommas.js +0 -3
  173. package/src/util/flattenColorPalette.js +0 -13
  174. package/src/util/formatVariantSelector.js +0 -196
  175. package/src/util/getAllConfigs.js +0 -19
  176. package/src/util/hashConfig.js +0 -5
  177. package/src/util/isKeyframeRule.js +0 -3
  178. package/src/util/isPlainObject.js +0 -8
  179. package/src/util/isValidArbitraryValue.js +0 -61
  180. package/src/util/log.js +0 -29
  181. package/src/util/nameClass.js +0 -26
  182. package/src/util/negateValue.js +0 -16
  183. package/src/util/normalizeConfig.js +0 -270
  184. package/src/util/normalizeScreens.js +0 -45
  185. package/src/util/parseAnimationValue.js +0 -68
  186. package/src/util/parseBoxShadowValue.js +0 -119
  187. package/src/util/parseDependency.js +0 -49
  188. package/src/util/parseObjectStyles.js +0 -19
  189. package/src/util/pluginUtils.js +0 -192
  190. package/src/util/prefixSelector.js +0 -14
  191. package/src/util/resolveConfig.js +0 -269
  192. package/src/util/resolveConfigPath.js +0 -55
  193. package/src/util/responsive.js +0 -10
  194. package/src/util/tap.js +0 -4
  195. package/src/util/toColorValue.js +0 -3
  196. package/src/util/toPath.js +0 -26
  197. package/src/util/transformThemeValue.js +0 -52
  198. package/src/util/withAlphaVariable.js +0 -49
  199. package/stubs/defaultConfig.stub.js +0 -953
  200. package/stubs/defaultPostCssConfig.stub.js +0 -6
  201. package/stubs/simpleConfig.stub.js +0 -7
  202. package/tailwind.css +0 -5
  203. package/types/config.d.ts +0 -323
  204. package/types/generated/.gitkeep +0 -0
  205. package/types/generated/colors.d.ts +0 -276
  206. package/types/generated/corePluginList.d.ts +0 -1
  207. package/types/index.d.ts +0 -1
  208. package/types.d.ts +0 -1
  209. package/variants.css +0 -1
package/dist/lib.d.mts ADDED
@@ -0,0 +1,363 @@
1
+ import { S as SourceLocation, U as UserConfig, P as Plugin } from './types-WlZgYgM8.mjs';
2
+ import { V as Variant, C as Candidate } from './resolve-config-QUZ9b-Gn.mjs';
3
+ import './colors.mjs';
4
+
5
+ declare const enum ThemeOptions {
6
+ NONE = 0,
7
+ INLINE = 1,
8
+ REFERENCE = 2,
9
+ DEFAULT = 4,
10
+ STATIC = 8,
11
+ USED = 16
12
+ }
13
+ declare class Theme {
14
+ #private;
15
+ private values;
16
+ private keyframes;
17
+ prefix: string | null;
18
+ constructor(values?: Map<string, {
19
+ value: string;
20
+ options: ThemeOptions;
21
+ src: Declaration["src"];
22
+ }>, keyframes?: Set<AtRule>);
23
+ get size(): number;
24
+ add(key: string, value: string, options?: ThemeOptions, src?: Declaration['src']): void;
25
+ keysInNamespaces(themeKeys: Iterable<ThemeKey>): string[];
26
+ get(themeKeys: ThemeKey[]): string | null;
27
+ hasDefault(key: string): boolean;
28
+ getOptions(key: string): ThemeOptions;
29
+ entries(): IterableIterator<[string, {
30
+ value: string;
31
+ options: ThemeOptions;
32
+ src: Declaration["src"];
33
+ }]> | [string, {
34
+ value: string;
35
+ options: ThemeOptions;
36
+ src: Declaration["src"];
37
+ }][];
38
+ prefixKey(key: string): string;
39
+ clearNamespace(namespace: string, clearOptions: ThemeOptions): void;
40
+ markUsedVariable(themeKey: string): boolean;
41
+ resolve(candidateValue: string | null, themeKeys: ThemeKey[], options?: ThemeOptions): string | null;
42
+ resolveValue(candidateValue: string | null, themeKeys: ThemeKey[]): string | null;
43
+ resolveWith(candidateValue: string, themeKeys: ThemeKey[], nestedKeys?: `--${string}`[]): [string, Record<string, string>] | null;
44
+ namespace(namespace: string): Map<string | null, string>;
45
+ addKeyframes(value: AtRule): void;
46
+ getKeyframes(): AtRule[];
47
+ }
48
+ type ThemeKey = `--${string}`;
49
+
50
+ type VariantFn<T extends Variant['kind']> = (rule: Rule, variant: Extract<Variant, {
51
+ kind: T;
52
+ }>) => null | void;
53
+ type CompareFn = (a: Variant, z: Variant) => number;
54
+ declare const enum Compounds {
55
+ Never = 0,
56
+ AtRules = 1,
57
+ StyleRules = 2
58
+ }
59
+ declare class Variants {
60
+ compareFns: Map<number, CompareFn>;
61
+ variants: Map<string, {
62
+ kind: Variant["kind"];
63
+ order: number;
64
+ applyFn: VariantFn<any>;
65
+ compoundsWith: Compounds;
66
+ compounds: Compounds;
67
+ }>;
68
+ private completions;
69
+ /**
70
+ * Registering a group of variants should result in the same sort number for
71
+ * all the variants. This is to ensure that the variants are applied in the
72
+ * correct order.
73
+ */
74
+ private groupOrder;
75
+ /**
76
+ * Keep track of the last sort order instead of using the size of the map to
77
+ * avoid unnecessarily skipping order numbers.
78
+ */
79
+ private lastOrder;
80
+ static(name: string, applyFn: VariantFn<'static'>, { compounds, order }?: {
81
+ compounds?: Compounds;
82
+ order?: number;
83
+ }): void;
84
+ fromAst(name: string, ast: AstNode[], designSystem: DesignSystem): void;
85
+ functional(name: string, applyFn: VariantFn<'functional'>, { compounds, order }?: {
86
+ compounds?: Compounds;
87
+ order?: number;
88
+ }): void;
89
+ compound(name: string, compoundsWith: Compounds, applyFn: VariantFn<'compound'>, { compounds, order }?: {
90
+ compounds?: Compounds;
91
+ order?: number;
92
+ }): void;
93
+ group(fn: () => void, compareFn?: CompareFn): void;
94
+ has(name: string): boolean;
95
+ get(name: string): {
96
+ kind: Variant["kind"];
97
+ order: number;
98
+ applyFn: VariantFn<any>;
99
+ compoundsWith: Compounds;
100
+ compounds: Compounds;
101
+ } | undefined;
102
+ kind(name: string): "arbitrary" | "static" | "functional" | "compound";
103
+ compoundsWith(parent: string, child: string | Variant): boolean;
104
+ suggest(name: string, suggestions: () => string[]): void;
105
+ getCompletions(name: string): string[];
106
+ compare(a: Variant | null, z: Variant | null): number;
107
+ keys(): IterableIterator<string>;
108
+ entries(): IterableIterator<[string, {
109
+ kind: Variant["kind"];
110
+ order: number;
111
+ applyFn: VariantFn<any>;
112
+ compoundsWith: Compounds;
113
+ compounds: Compounds;
114
+ }]>;
115
+ private set;
116
+ private nextOrder;
117
+ }
118
+
119
+ declare function compileAstNodes(candidate: Candidate, designSystem: DesignSystem, flags: CompileAstFlags): {
120
+ node: AstNode;
121
+ propertySort: {
122
+ order: number[];
123
+ count: number;
124
+ };
125
+ }[];
126
+
127
+ interface CanonicalizeOptions {
128
+ /**
129
+ * The root font size in pixels. If provided, `rem` values will be normalized
130
+ * to `px` values.
131
+ *
132
+ * E.g.: `mt-[16px]` with `rem: 16` will become `mt-4` (assuming `--spacing: 0.25rem`).
133
+ */
134
+ rem?: number;
135
+ }
136
+
137
+ interface ClassMetadata {
138
+ modifiers: string[];
139
+ }
140
+ type ClassEntry = [string, ClassMetadata];
141
+ interface SelectorOptions {
142
+ modifier?: string;
143
+ value?: string;
144
+ }
145
+ interface VariantEntry {
146
+ name: string;
147
+ isArbitrary: boolean;
148
+ values: string[];
149
+ hasDash: boolean;
150
+ selectors: (options: SelectorOptions) => string[];
151
+ }
152
+
153
+ type CompileFn<T extends Candidate['kind']> = (value: Extract<Candidate, {
154
+ kind: T;
155
+ }>) => AstNode[] | undefined | null;
156
+ interface SuggestionGroup {
157
+ supportsNegative?: boolean;
158
+ values: (string | null)[];
159
+ modifiers: string[];
160
+ }
161
+ type UtilityOptions = {
162
+ types: string[];
163
+ };
164
+ type Utility = {
165
+ kind: 'static' | 'functional';
166
+ compileFn: CompileFn<any>;
167
+ options?: UtilityOptions;
168
+ };
169
+ declare class Utilities {
170
+ private utilities;
171
+ private completions;
172
+ static(name: string, compileFn: CompileFn<'static'>): void;
173
+ functional(name: string, compileFn: CompileFn<'functional'>, options?: UtilityOptions): void;
174
+ has(name: string, kind: 'static' | 'functional'): boolean;
175
+ get(name: string): Utility[];
176
+ getCompletions(name: string): SuggestionGroup[];
177
+ suggest(name: string, groups: () => SuggestionGroup[]): void;
178
+ keys(kind: 'static' | 'functional'): string[];
179
+ }
180
+
181
+ declare const enum CompileAstFlags {
182
+ None = 0,
183
+ RespectImportant = 1
184
+ }
185
+ type DesignSystem = {
186
+ theme: Theme;
187
+ utilities: Utilities;
188
+ variants: Variants;
189
+ invalidCandidates: Set<string>;
190
+ important: boolean;
191
+ getClassOrder(classes: string[]): [string, bigint | null][];
192
+ getClassList(): ClassEntry[];
193
+ getVariants(): VariantEntry[];
194
+ parseCandidate(candidate: string): Readonly<Candidate>[];
195
+ parseVariant(variant: string): Readonly<Variant> | null;
196
+ compileAstNodes(candidate: Candidate, flags?: CompileAstFlags): ReturnType<typeof compileAstNodes>;
197
+ printCandidate(candidate: Candidate): string;
198
+ printVariant(variant: Variant): string;
199
+ getVariantOrder(): Map<Variant, number>;
200
+ resolveThemeValue(path: string, forceInline?: boolean): string | undefined;
201
+ trackUsedVariables(raw: string): void;
202
+ canonicalizeCandidates(candidates: string[], options?: CanonicalizeOptions): string[];
203
+ candidatesToCss(classes: string[]): (string | null)[];
204
+ };
205
+
206
+ type StyleRule = {
207
+ kind: 'rule';
208
+ selector: string;
209
+ nodes: AstNode[];
210
+ src?: SourceLocation;
211
+ dst?: SourceLocation;
212
+ };
213
+ type AtRule = {
214
+ kind: 'at-rule';
215
+ name: string;
216
+ params: string;
217
+ nodes: AstNode[];
218
+ src?: SourceLocation;
219
+ dst?: SourceLocation;
220
+ };
221
+ type Declaration = {
222
+ kind: 'declaration';
223
+ property: string;
224
+ value: string | undefined;
225
+ important: boolean;
226
+ src?: SourceLocation;
227
+ dst?: SourceLocation;
228
+ };
229
+ type Comment = {
230
+ kind: 'comment';
231
+ value: string;
232
+ src?: SourceLocation;
233
+ dst?: SourceLocation;
234
+ };
235
+ type Context = {
236
+ kind: 'context';
237
+ context: Record<string, string | boolean>;
238
+ nodes: AstNode[];
239
+ src?: undefined;
240
+ dst?: undefined;
241
+ };
242
+ type AtRoot = {
243
+ kind: 'at-root';
244
+ nodes: AstNode[];
245
+ src?: undefined;
246
+ dst?: undefined;
247
+ };
248
+ type Rule = StyleRule | AtRule;
249
+ type AstNode = StyleRule | AtRule | Declaration | Comment | Context | AtRoot;
250
+
251
+ /**
252
+ * Line offset tables are the key to generating our source maps. They allow us
253
+ * to store indexes with our AST nodes and later convert them into positions as
254
+ * when given the source that the indexes refer to.
255
+ */
256
+ /**
257
+ * A position in source code
258
+ *
259
+ * https://tc39.es/ecma426/#sec-position-record-type
260
+ */
261
+ interface Position {
262
+ /** The line number, one-based */
263
+ line: number;
264
+ /** The column/character number, one-based */
265
+ column: number;
266
+ }
267
+
268
+ interface OriginalPosition extends Position {
269
+ source: DecodedSource;
270
+ }
271
+ /**
272
+ * A "decoded" sourcemap
273
+ *
274
+ * @see https://tc39.es/ecma426/#decoded-source-map-record
275
+ */
276
+ interface DecodedSourceMap {
277
+ file: string | null;
278
+ sources: DecodedSource[];
279
+ mappings: DecodedMapping[];
280
+ }
281
+ /**
282
+ * A "decoded" source
283
+ *
284
+ * @see https://tc39.es/ecma426/#decoded-source-record
285
+ */
286
+ interface DecodedSource {
287
+ url: string | null;
288
+ content: string | null;
289
+ ignore: boolean;
290
+ }
291
+ /**
292
+ * A "decoded" mapping
293
+ *
294
+ * @see https://tc39.es/ecma426/#decoded-mapping-record
295
+ */
296
+ interface DecodedMapping {
297
+ originalPosition: OriginalPosition | null;
298
+ generatedPosition: Position;
299
+ name: string | null;
300
+ }
301
+
302
+ type Config = UserConfig;
303
+ declare const enum Polyfills {
304
+ None = 0,
305
+ AtProperty = 1,
306
+ ColorMix = 2,
307
+ All = 3
308
+ }
309
+ type CompileOptions = {
310
+ base?: string;
311
+ from?: string;
312
+ polyfills?: Polyfills;
313
+ loadModule?: (id: string, base: string, resourceHint: 'plugin' | 'config') => Promise<{
314
+ path: string;
315
+ base: string;
316
+ module: Plugin | Config;
317
+ }>;
318
+ loadStylesheet?: (id: string, base: string) => Promise<{
319
+ path: string;
320
+ base: string;
321
+ content: string;
322
+ }>;
323
+ };
324
+ type Root = null | 'none' | {
325
+ base: string;
326
+ pattern: string;
327
+ };
328
+ declare const enum Features {
329
+ None = 0,
330
+ AtApply = 1,
331
+ AtImport = 2,
332
+ JsPluginCompat = 4,
333
+ ThemeFunction = 8,
334
+ Utilities = 16,
335
+ Variants = 32,
336
+ AtTheme = 64
337
+ }
338
+ declare function compileAst(input: AstNode[], opts?: CompileOptions): Promise<{
339
+ sources: {
340
+ base: string;
341
+ pattern: string;
342
+ negated: boolean;
343
+ }[];
344
+ root: Root;
345
+ features: Features;
346
+ build(candidates: string[]): AstNode[];
347
+ }>;
348
+
349
+ declare function compile(css: string, opts?: CompileOptions): Promise<{
350
+ sources: {
351
+ base: string;
352
+ pattern: string;
353
+ negated: boolean;
354
+ }[];
355
+ root: Root;
356
+ features: Features;
357
+ build(candidates: string[]): string;
358
+ buildSourceMap(): DecodedSourceMap;
359
+ }>;
360
+ declare function __unstable__loadDesignSystem(css: string, opts?: CompileOptions): Promise<DesignSystem>;
361
+ declare function postcssPluginWarning(): void;
362
+
363
+ export { type Config, type DecodedSourceMap, Features, Polyfills, __unstable__loadDesignSystem, compile, compileAst, postcssPluginWarning as default };
package/dist/lib.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ declare function postcssPluginWarning(): void;
2
+
3
+ export { postcssPluginWarning as default };