@animus-ui/next-plugin 0.1.42 → 0.1.44
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/types.d.ts +19 -3
- package/dist/types.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/types.d.ts
CHANGED
|
@@ -41,9 +41,12 @@ export interface AnimusNextOptions {
|
|
|
41
41
|
* import; replaces the `app/layout.*` / `pages/_app.*` detection. */
|
|
42
42
|
cssImportTarget?: string;
|
|
43
43
|
verbose?: boolean | 'trace';
|
|
44
|
-
/** Namespace prefix for the
|
|
45
|
-
*
|
|
46
|
-
*
|
|
44
|
+
/** Namespace prefix for the custom properties the theme generates: each
|
|
45
|
+
* token variable becomes `--${prefix}-…` wherever it is defined,
|
|
46
|
+
* registered or read. Contextual variables keep their declared names
|
|
47
|
+
* unless `prefixContextualVars` is set. Class names, slot classes and
|
|
48
|
+
* slot variables keep `animus-`; `shortClassNames.prefix` names classes
|
|
49
|
+
* short in production, independently of this one. */
|
|
47
50
|
prefix?: string;
|
|
48
51
|
/** With `prefix` set, contextual variables take the prefixed name
|
|
49
52
|
* everywhere Animus emits them, while authors keep writing the declared
|
|
@@ -62,6 +65,19 @@ export interface AnimusNextOptions {
|
|
|
62
65
|
* pass (Turbopack's, or webpack's under `useLightningcss`) keeps it; a
|
|
63
66
|
* Next without that key warns. */
|
|
64
67
|
keepDirSelector?: boolean;
|
|
68
|
+
/** Production names each component and utility class by a short stable
|
|
69
|
+
* id under `prefix` (a letter, then letters and digits): `{prefix}-{id}`
|
|
70
|
+
* and `{prefix}_{id}`. Each id derives from what the readable name hashes,
|
|
71
|
+
* so an added component renames no other, except in the rare case that
|
|
72
|
+
* its 32-bit id collides with one, when both take 64-bit ids. Variant,
|
|
73
|
+
* compound, state and breakpoint suffixes are kept. Development keeps the readable names.
|
|
74
|
+
* Two builds on one page take different prefixes. */
|
|
75
|
+
shortClassNames?: {
|
|
76
|
+
prefix: string;
|
|
77
|
+
};
|
|
78
|
+
/** Writes `.animus/prop-order.json`, which the `animus/prop-order` lint
|
|
79
|
+
* rule reads, after every analysis; off by default. */
|
|
80
|
+
propOrderFile?: boolean;
|
|
65
81
|
/** `true`/`false` force minification on or off; absent minifies in
|
|
66
82
|
* production. Autoprefixing applies either way. */
|
|
67
83
|
minify?: boolean;
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EAChB,MAAM,6BAA6B,CAAC;AAErC,MAAM,WAAW,iBAAiB;IAChC,4EAA4E;IAC5E,MAAM,EAAE,MAAM,CAAC;IACf;;;0DAGsD;IACtD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;6CAKyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;+EAC2E;IAC3E,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;;mDAG+C;IAC/C,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB;;;;mDAI+C;IAC/C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B;0EACsE;IACtE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC5B
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EAChB,MAAM,6BAA6B,CAAC;AAErC,MAAM,WAAW,iBAAiB;IAChC,4EAA4E;IAC5E,MAAM,EAAE,MAAM,CAAC;IACf;;;0DAGsD;IACt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K,GAAG,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC;IACtD;qEACiE;IACjE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;+EAC2E;IAC3E,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;sEAEkE;IAClE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;4EAEwE;IACxE,oBAAoB,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC7C;;;;yBAIqB;IACrB,YAAY,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAClC;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAE,uBAAuB,CAAC;CACtC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@animus-ui/next-plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.44",
|
|
4
4
|
"description": "Animus static CSS extraction for Next.js (webpack)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"animus",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"compile": "bun check"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@animus-ui/extract": "0.1.
|
|
47
|
+
"@animus-ui/extract": "0.1.44"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@animus-ui/assertions": "0.1.
|
|
51
|
-
"@animus-ui/layergate": "0.1.
|
|
50
|
+
"@animus-ui/assertions": "0.1.44",
|
|
51
|
+
"@animus-ui/layergate": "0.1.44"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@animus-ui/layergate": "0.1.
|
|
54
|
+
"@animus-ui/layergate": "0.1.44",
|
|
55
55
|
"next": ">=15 <17",
|
|
56
56
|
"webpack": ">=5 <6"
|
|
57
57
|
},
|