@pandacss/generator 0.0.0-dev-20230906232302 → 0.0.0-dev-20230911132038
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -817,7 +817,7 @@ function generateCvaFn(ctx) {
|
|
|
817
817
|
}
|
|
818
818
|
|
|
819
819
|
export function assertCompoundVariant(name, compoundVariants, variants, prop) {
|
|
820
|
-
if (compoundVariants.length > 0 && typeof variants[prop] === 'object') {
|
|
820
|
+
if (compoundVariants.length > 0 && typeof variants?.[prop] === 'object') {
|
|
821
821
|
throw new Error(\`[recipe:\${name}:\${prop}] Conditions are not supported when using compound variants.\`)
|
|
822
822
|
}
|
|
823
823
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -786,7 +786,7 @@ function generateCvaFn(ctx) {
|
|
|
786
786
|
}
|
|
787
787
|
|
|
788
788
|
export function assertCompoundVariant(name, compoundVariants, variants, prop) {
|
|
789
|
-
if (compoundVariants.length > 0 && typeof variants[prop] === 'object') {
|
|
789
|
+
if (compoundVariants.length > 0 && typeof variants?.[prop] === 'object') {
|
|
790
790
|
throw new Error(\`[recipe:\${name}:\${prop}] Conditions are not supported when using compound variants.\`)
|
|
791
791
|
}
|
|
792
792
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/generator",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20230911132038",
|
|
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.0.0-dev-
|
|
24
|
-
"@pandacss/is-valid-prop": "0.0.0-dev-
|
|
25
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
26
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
27
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
28
|
-
"@pandacss/types": "0.0.0-dev-
|
|
23
|
+
"@pandacss/core": "0.0.0-dev-20230911132038",
|
|
24
|
+
"@pandacss/is-valid-prop": "0.0.0-dev-20230911132038",
|
|
25
|
+
"@pandacss/logger": "0.0.0-dev-20230911132038",
|
|
26
|
+
"@pandacss/shared": "0.0.0-dev-20230911132038",
|
|
27
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20230911132038",
|
|
28
|
+
"@pandacss/types": "0.0.0-dev-20230911132038"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/pluralize": "0.0.30",
|
|
32
32
|
"hookable": "5.5.3",
|
|
33
|
-
"@pandacss/fixture": "0.0.0-dev-
|
|
33
|
+
"@pandacss/fixture": "0.0.0-dev-20230911132038"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"prebuild": "tsx scripts/prebuild.ts",
|