@pandacss/generator 0.45.0 → 0.45.2
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
|
@@ -3614,12 +3614,12 @@ function generatePropTypes(ctx) {
|
|
|
3614
3614
|
return import_outdent40.outdent`
|
|
3615
3615
|
${result.join("\n")}
|
|
3616
3616
|
|
|
3617
|
-
type WithColorOpacityModifier<T> = T extends string ? \`$\{T}/\${string}\` :
|
|
3617
|
+
type WithColorOpacityModifier<T> = [T] extends [string] ? \`$\{T}/\${string}\` & { __colorOpacityModifier?: true } : never
|
|
3618
3618
|
|
|
3619
3619
|
type ImportantMark = "!" | "!important"
|
|
3620
3620
|
type WhitespaceImportant = \` \${ImportantMark}\`
|
|
3621
3621
|
type Important = ImportantMark | WhitespaceImportant
|
|
3622
|
-
type WithImportant<T> = T extends string ? \`\${T}\${Important}\` & { __important?: true } :
|
|
3622
|
+
type WithImportant<T> = [T] extends [string] ? \`\${T}\${Important}\` & { __important?: true } : never
|
|
3623
3623
|
|
|
3624
3624
|
/**
|
|
3625
3625
|
* Only relevant when using \`strictTokens\` or \`strictPropertyValues\` in your config.
|
package/dist/index.mjs
CHANGED
|
@@ -3578,12 +3578,12 @@ function generatePropTypes(ctx) {
|
|
|
3578
3578
|
return outdent40`
|
|
3579
3579
|
${result.join("\n")}
|
|
3580
3580
|
|
|
3581
|
-
type WithColorOpacityModifier<T> = T extends string ? \`$\{T}/\${string}\` :
|
|
3581
|
+
type WithColorOpacityModifier<T> = [T] extends [string] ? \`$\{T}/\${string}\` & { __colorOpacityModifier?: true } : never
|
|
3582
3582
|
|
|
3583
3583
|
type ImportantMark = "!" | "!important"
|
|
3584
3584
|
type WhitespaceImportant = \` \${ImportantMark}\`
|
|
3585
3585
|
type Important = ImportantMark | WhitespaceImportant
|
|
3586
|
-
type WithImportant<T> = T extends string ? \`\${T}\${Important}\` & { __important?: true } :
|
|
3586
|
+
type WithImportant<T> = [T] extends [string] ? \`\${T}\${Important}\` & { __important?: true } : never
|
|
3587
3587
|
|
|
3588
3588
|
/**
|
|
3589
3589
|
* Only relevant when using \`strictTokens\` or \`strictPropertyValues\` in your config.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/generator",
|
|
3
|
-
"version": "0.45.
|
|
3
|
+
"version": "0.45.2",
|
|
4
4
|
"description": "The css generator for css panda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
"javascript-stringify": "2.1.0",
|
|
36
36
|
"outdent": " ^0.8.0",
|
|
37
37
|
"pluralize": "8.0.0",
|
|
38
|
-
"postcss": "8.4.
|
|
38
|
+
"postcss": "8.4.41",
|
|
39
39
|
"ts-pattern": "5.0.8",
|
|
40
|
-
"@pandacss/core": "0.45.
|
|
41
|
-
"@pandacss/is-valid-prop": "^0.45.
|
|
42
|
-
"@pandacss/logger": "0.45.
|
|
43
|
-
"@pandacss/shared": "0.45.
|
|
44
|
-
"@pandacss/token-dictionary": "0.45.
|
|
45
|
-
"@pandacss/types": "0.45.
|
|
40
|
+
"@pandacss/core": "0.45.2",
|
|
41
|
+
"@pandacss/is-valid-prop": "^0.45.2",
|
|
42
|
+
"@pandacss/logger": "0.45.2",
|
|
43
|
+
"@pandacss/shared": "0.45.2",
|
|
44
|
+
"@pandacss/token-dictionary": "0.45.2",
|
|
45
|
+
"@pandacss/types": "0.45.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/pluralize": "0.0.33"
|