aliascss 1.4.7 → 1.5.1
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/CHANGELOG.md +51 -0
- package/bin/aliascss.js +118 -1
- package/dist/aliascss.js +1 -1
- package/jestconfig.json +1 -3
- package/lib/build/index.js +136 -19
- package/lib/classPrinter.d.ts +1 -1
- package/lib/classPrinter.js +351 -23
- package/lib/compilers/border.js +106 -27
- package/lib/compilers/clipPath.js +79 -6
- package/lib/compilers/color.js +150 -21
- package/lib/compilers/filter.js +90 -3
- package/lib/compilers/font.js +39 -11
- package/lib/compilers/gradient.js +43 -27
- package/lib/compilers/length.js +34 -9
- package/lib/compilers/shadow.js +60 -26
- package/lib/compilers/stringAndContent.js +39 -2
- package/lib/compilers/timingFunction.js +57 -6
- package/lib/compilers/transform.js +118 -48
- package/lib/compilers/transition.js +79 -11
- package/lib/compilers/url.js +53 -3
- package/lib/config.d.ts +1 -0
- package/lib/config.js +1 -0
- package/lib/custom-css-compilers.js +1 -68
- package/lib/index.d.ts +9 -9
- package/lib/node/compileFile-BK-291026.d.ts +27 -0
- package/lib/node/compileFile-BK-291026.js +309 -0
- package/lib/node/compileFile-bk.d.ts +14 -12
- package/lib/node/compileFile-bk.js +263 -252
- package/lib/node/compileFile.js +1 -1
- package/lib/node/extractClassNamesFromFile.js +208 -86
- package/lib/prebuild.d.ts +26 -0
- package/lib/prebuild.js +0 -6
- package/lib/prefix/element-selector.js +93 -20
- package/lib/prefix/extractPrefix.d.ts +1 -1
- package/lib/prefix/extractPrefix.js +113 -70
- package/lib/returnPropertyAndValue-bk-301026.d.ts +30 -0
- package/lib/returnPropertyAndValue-bk-301026.js +219 -0
- package/lib/returnPropertyAndValue.js +26 -25
- package/lib/returnStatement-bk-291026.d.ts +5 -0
- package/lib/returnStatement-bk-291026.js +470 -0
- package/lib/returnStatement.d.ts +1 -0
- package/lib/returnStatement.js +120 -29
- package/lib/utils/helper.js +16 -2
- package/lib/x-classes/x-bundle.d.ts +26 -0
- package/lib/x-classes/x-bundle.js +2 -1
- package/lib/x-classes/x-extras.js +1 -1
- package/lib/x-classes/x-form-components.js +2 -1
- package/lib/x-classes/x-row-col.d.ts +29 -0
- package/lib/x-classes/x-row-col.js +52 -0
- package/llms.txt +326 -0
- package/package.json +3 -1
- package/tsconfig.json +1 -0
- package/tsconfig.test.json +10 -0
|
@@ -1,27 +1,29 @@
|
|
|
1
|
+
import chokidar from "chokidar";
|
|
1
2
|
export default function main(config: {
|
|
2
|
-
['input']: string | string[];
|
|
3
3
|
[key: string]: any;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
input: string | string[];
|
|
5
|
+
}): Promise<void>;
|
|
6
|
+
export declare function globalCSSCompiler(): Promise<void>;
|
|
6
7
|
export declare function compileFile(file: string, config: any, statementMaker: {
|
|
7
|
-
|
|
8
|
+
make: (a: string, b?: any, c?: any) => string;
|
|
8
9
|
group: (a: string, b: string) => string;
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
rawCSS?: string;
|
|
11
|
+
customGroupStatement?: string;
|
|
11
12
|
}, globalClassList: string[]): string[];
|
|
12
13
|
export declare function groupStatement(name: string, classNames: string, statementMaker: {
|
|
13
|
-
|
|
14
|
+
group: (a: string, b: string) => string;
|
|
14
15
|
}): string;
|
|
15
16
|
export declare function keyframesStatement(name: string, timeLine: string, statementMaker: {
|
|
16
|
-
|
|
17
|
+
make: (a: string, b?: string | null, c?: boolean) => string;
|
|
17
18
|
}): string;
|
|
18
|
-
export declare function createCSSFileByFile(file: string, bool?: boolean): void
|
|
19
|
-
export declare function
|
|
19
|
+
export declare function createCSSFileByFile(file: string, bool?: boolean): Promise<void>;
|
|
20
|
+
export declare function postcssProcess(css: string, plugin: any[], minify?: boolean, sort?: "mobile-first" | "desktop-first"): Promise<string>;
|
|
21
|
+
export declare function postify(file: string, plugin: any[], minify?: boolean, sort?: "mobile-first" | "desktop-first"): Promise<void>;
|
|
20
22
|
export declare function writeStatementToFile(file: string, content: string, from?: string): void;
|
|
21
23
|
export declare function initialize(configFile: {
|
|
22
24
|
[key: string]: any;
|
|
23
25
|
}): void;
|
|
24
26
|
export declare function watch(config: {
|
|
25
|
-
['input']: string | string[];
|
|
26
27
|
[key: string]: any;
|
|
27
|
-
|
|
28
|
+
input: string | string[];
|
|
29
|
+
}): Promise<chokidar.FSWatcher>;
|