@pandacss/generator 0.0.0-dev-20240313015603 → 0.0.0-dev-20240313103423
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 +7 -1
- package/dist/index.mjs +7 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -3009,7 +3009,13 @@ function generatePropTypes(ctx) {
|
|
|
3009
3009
|
| 'writingMode'
|
|
3010
3010
|
|
|
3011
3011
|
type WithColorOpacityModifier<T> = T extends string ? \`$\{T}/\${string}\` : T
|
|
3012
|
-
|
|
3012
|
+
|
|
3013
|
+
type ImportantMark = "!" | "!important"
|
|
3014
|
+
type WhitespaceImportant = \` \${ImportantMark}\`
|
|
3015
|
+
type Important = ImportantMark | WhitespaceImportant
|
|
3016
|
+
type WithImportant<T> = T extends string ? \`\${T}\${Important}\${string}\` : T
|
|
3017
|
+
|
|
3018
|
+
type WithEscapeHatch<T> = T | \`[\${string}]\` | (T extends string ? WithColorOpacityModifier<string> | WithImportant<T> : T)
|
|
3013
3019
|
|
|
3014
3020
|
type FilterVagueString<Key, Value> = Value extends boolean
|
|
3015
3021
|
? Value
|
package/dist/index.mjs
CHANGED
|
@@ -2973,7 +2973,13 @@ function generatePropTypes(ctx) {
|
|
|
2973
2973
|
| 'writingMode'
|
|
2974
2974
|
|
|
2975
2975
|
type WithColorOpacityModifier<T> = T extends string ? \`$\{T}/\${string}\` : T
|
|
2976
|
-
|
|
2976
|
+
|
|
2977
|
+
type ImportantMark = "!" | "!important"
|
|
2978
|
+
type WhitespaceImportant = \` \${ImportantMark}\`
|
|
2979
|
+
type Important = ImportantMark | WhitespaceImportant
|
|
2980
|
+
type WithImportant<T> = T extends string ? \`\${T}\${Important}\${string}\` : T
|
|
2981
|
+
|
|
2982
|
+
type WithEscapeHatch<T> = T | \`[\${string}]\` | (T extends string ? WithColorOpacityModifier<string> | WithImportant<T> : T)
|
|
2977
2983
|
|
|
2978
2984
|
type FilterVagueString<Key, Value> = Value extends boolean
|
|
2979
2985
|
? Value
|
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-20240313103423",
|
|
4
4
|
"description": "The css generator for css panda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"pluralize": "8.0.0",
|
|
38
38
|
"postcss": "8.4.35",
|
|
39
39
|
"ts-pattern": "5.0.8",
|
|
40
|
-
"@pandacss/core": "0.0.0-dev-
|
|
41
|
-
"@pandacss/is-valid-prop": "^0.0.0-dev-
|
|
42
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
43
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
44
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
45
|
-
"@pandacss/types": "0.0.0-dev-
|
|
40
|
+
"@pandacss/core": "0.0.0-dev-20240313103423",
|
|
41
|
+
"@pandacss/is-valid-prop": "^0.0.0-dev-20240313103423",
|
|
42
|
+
"@pandacss/logger": "0.0.0-dev-20240313103423",
|
|
43
|
+
"@pandacss/shared": "0.0.0-dev-20240313103423",
|
|
44
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20240313103423",
|
|
45
|
+
"@pandacss/types": "0.0.0-dev-20240313103423"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/pluralize": "0.0.33"
|