@pandacss/generator 0.12.0 → 0.12.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/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -3078,8 +3078,8 @@ function generateTokenTypes(ctx) {
|
|
|
3078
3078
|
set.add(`export type ${typeName}Token = ${(0, import_shared3.unionType)(value.keys())}`);
|
|
3079
3079
|
result.add(` ${key}: ${typeName}Token`);
|
|
3080
3080
|
}
|
|
3081
|
-
|
|
3082
|
-
|
|
3081
|
+
if (theme?.keyframes)
|
|
3082
|
+
set.add(`export type AnimationName = ${(0, import_shared3.unionType)(Object.keys(theme.keyframes))}`);
|
|
3083
3083
|
result.add(` animationName: AnimationName`);
|
|
3084
3084
|
}
|
|
3085
3085
|
result.add("} & { [token: string]: never }");
|
package/dist/index.mjs
CHANGED
|
@@ -3047,8 +3047,8 @@ function generateTokenTypes(ctx) {
|
|
|
3047
3047
|
set.add(`export type ${typeName}Token = ${unionType3(value.keys())}`);
|
|
3048
3048
|
result.add(` ${key}: ${typeName}Token`);
|
|
3049
3049
|
}
|
|
3050
|
-
|
|
3051
|
-
|
|
3050
|
+
if (theme?.keyframes)
|
|
3051
|
+
set.add(`export type AnimationName = ${unionType3(Object.keys(theme.keyframes))}`);
|
|
3052
3052
|
result.add(` animationName: AnimationName`);
|
|
3053
3053
|
}
|
|
3054
3054
|
result.add("} & { [token: string]: never }");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/generator",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"description": "The css generator for css panda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"pluralize": "8.0.0",
|
|
21
21
|
"postcss": "8.4.27",
|
|
22
22
|
"ts-pattern": "5.0.4",
|
|
23
|
-
"@pandacss/core": "0.12.
|
|
24
|
-
"@pandacss/is-valid-prop": "0.12.
|
|
25
|
-
"@pandacss/logger": "0.12.
|
|
26
|
-
"@pandacss/shared": "0.12.
|
|
27
|
-
"@pandacss/token-dictionary": "0.12.
|
|
28
|
-
"@pandacss/types": "0.12.
|
|
23
|
+
"@pandacss/core": "0.12.1",
|
|
24
|
+
"@pandacss/is-valid-prop": "0.12.1",
|
|
25
|
+
"@pandacss/logger": "0.12.1",
|
|
26
|
+
"@pandacss/shared": "0.12.1",
|
|
27
|
+
"@pandacss/token-dictionary": "0.12.1",
|
|
28
|
+
"@pandacss/types": "0.12.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/pluralize": "0.0.30",
|
|
32
32
|
"hookable": "5.5.3",
|
|
33
|
-
"@pandacss/fixture": "0.12.
|
|
33
|
+
"@pandacss/fixture": "0.12.1"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"prebuild": "tsx scripts/prebuild.ts",
|