@stacksjs/ts-css 0.3.25 → 0.3.26
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/bin/cli.js +1 -1
- package/dist/bin/cssx.js +40 -40
- package/dist/engine/generator.d.ts +9 -0
- package/dist/engine/index.js +34 -34
- package/package.json +1 -1
|
@@ -4,6 +4,15 @@ import type { CSSRule, CssConfig } from './types';
|
|
|
4
4
|
// without one an icon emits nothing, `indexOf` returns -1, and an ordering
|
|
5
5
|
// assertion passes for the wrong reason.
|
|
6
6
|
export declare function computeUtilityRank(selector: string): number;
|
|
7
|
+
/**
|
|
8
|
+
* The media condition of an arbitrary viewport breakpoint, `min-[420px]` or
|
|
9
|
+
* `max-[40rem]`, or undefined when the variant is not one.
|
|
10
|
+
*
|
|
11
|
+
* Only a length is accepted (a number with a unit, or a `calc()`/`var()`
|
|
12
|
+
* the browser resolves). Anything else is not a width, and passing it through
|
|
13
|
+
* would write a media query that never matches while looking handled.
|
|
14
|
+
*/
|
|
15
|
+
export declare function arbitraryBreakpoint(variant: string): string | undefined;
|
|
7
16
|
export declare class CSSGenerator {
|
|
8
17
|
constructor(config: CssConfig);
|
|
9
18
|
generateBatch(classNames: string[]): void;
|