@animus-ui/extract 0.1.0-next.10 → 0.1.0-next.17
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.
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/index.d.ts
CHANGED
|
@@ -10,8 +10,10 @@
|
|
|
10
10
|
* - `group_registry_json`: group registry JSON (`{ "space": ["p", "px", ...], ... }`).
|
|
11
11
|
* - `package_resolution_json`: JSON object mapping package specifiers to entry-point paths,
|
|
12
12
|
* e.g. `{ "@my-ui/components": "pkg-barrel/index.ts" }`. Pass `"{}"` when not needed.
|
|
13
|
+
* - `prefix`: optional namespace prefix for class names and CSS custom properties.
|
|
14
|
+
* When set, `animus-` is replaced with `{prefix}-` in all generated identifiers.
|
|
13
15
|
*/
|
|
14
|
-
export declare function analyzeProject(fileEntriesJson: string, themeJson: string, variableMapJson: string, configJson: string, groupRegistryJson: string, packageResolutionJson: string, devMode?: boolean | undefined | null): string
|
|
16
|
+
export declare function analyzeProject(fileEntriesJson: string, themeJson: string, variableMapJson: string, configJson: string, groupRegistryJson: string, packageResolutionJson: string, devMode?: boolean | undefined | null, prefix?: string | undefined | null): string
|
|
15
17
|
|
|
16
18
|
/**
|
|
17
19
|
* Clear the per-file extraction cache used by `analyze_project()`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@animus-ui/extract",
|
|
3
|
-
"version": "0.1.0-next.
|
|
3
|
+
"version": "0.1.0-next.17",
|
|
4
4
|
"description": "Animus static CSS extraction pipeline (Rust/NAPI)",
|
|
5
5
|
"author": "codecaaron <airrobb@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"build:debug": "napi build --platform"
|
|
32
32
|
},
|
|
33
33
|
"optionalDependencies": {
|
|
34
|
-
"@animus-ui/extract-darwin-arm64": "0.1.0-next.
|
|
35
|
-
"@animus-ui/extract-linux-x64-gnu": "0.1.0-next.
|
|
36
|
-
"@animus-ui/extract-linux-arm64-gnu": "0.1.0-next.
|
|
34
|
+
"@animus-ui/extract-darwin-arm64": "0.1.0-next.17",
|
|
35
|
+
"@animus-ui/extract-linux-x64-gnu": "0.1.0-next.17",
|
|
36
|
+
"@animus-ui/extract-linux-arm64-gnu": "0.1.0-next.17"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@napi-rs/cli": "^3.0.0"
|