@cssxio/compiler 0.2.0 → 0.4.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.
package/dist/index.d.cts CHANGED
@@ -137,6 +137,14 @@ interface StyleComposition {
137
137
  */
138
138
  declare function composeCompiledStyles(styles: readonly CompiledStyle[], classNameAllocator?: ClassNameAllocator): StyleComposition;
139
139
 
140
+ /**
141
+ * Splits a static utility list without treating whitespace in brackets as separators.
142
+ *
143
+ * @param source Whitespace-separated utility source.
144
+ * @returns Individual utility candidates.
145
+ */
146
+ declare function splitCandidateList(source: string): readonly string[];
147
+
140
148
  /** One CSS declaration emitted by a utility recipe. */
141
149
  interface UtilityDeclaration {
142
150
  /** CSS property to emit. */
@@ -268,14 +276,6 @@ declare function compileSourceUtilities(candidates: readonly string[], themeCss?
268
276
  */
269
277
  declare function validateUtilityCandidate(candidate: string, theme: CssxTheme): void;
270
278
 
271
- /**
272
- * Splits a static utility list without treating whitespace in brackets as separators.
273
- *
274
- * @param source Whitespace-separated utility source.
275
- * @returns Individual utility candidates.
276
- */
277
- declare function splitCandidateList(source: string): readonly string[];
278
-
279
279
  /** One generated class name and the CSS rule it identifies. */
280
280
  interface CssxRule {
281
281
  /** Stable class name for this generated CSS payload. */
package/dist/index.d.ts CHANGED
@@ -137,6 +137,14 @@ interface StyleComposition {
137
137
  */
138
138
  declare function composeCompiledStyles(styles: readonly CompiledStyle[], classNameAllocator?: ClassNameAllocator): StyleComposition;
139
139
 
140
+ /**
141
+ * Splits a static utility list without treating whitespace in brackets as separators.
142
+ *
143
+ * @param source Whitespace-separated utility source.
144
+ * @returns Individual utility candidates.
145
+ */
146
+ declare function splitCandidateList(source: string): readonly string[];
147
+
140
148
  /** One CSS declaration emitted by a utility recipe. */
141
149
  interface UtilityDeclaration {
142
150
  /** CSS property to emit. */
@@ -268,14 +276,6 @@ declare function compileSourceUtilities(candidates: readonly string[], themeCss?
268
276
  */
269
277
  declare function validateUtilityCandidate(candidate: string, theme: CssxTheme): void;
270
278
 
271
- /**
272
- * Splits a static utility list without treating whitespace in brackets as separators.
273
- *
274
- * @param source Whitespace-separated utility source.
275
- * @returns Individual utility candidates.
276
- */
277
- declare function splitCandidateList(source: string): readonly string[];
278
-
279
279
  /** One generated class name and the CSS rule it identifies. */
280
280
  interface CssxRule {
281
281
  /** Stable class name for this generated CSS payload. */