@pandacss/generator 0.0.0-dev-20230901181122 → 0.0.0-dev-20230903133825
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 +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -558,7 +558,9 @@ function generateConditions(ctx) {
|
|
|
558
558
|
${ctx.file.importType("AnySelector, Selectors", "./selectors")}
|
|
559
559
|
|
|
560
560
|
export type Conditions = {
|
|
561
|
-
${keys.map(
|
|
561
|
+
${keys.map(
|
|
562
|
+
(key) => ` ${key === "base" ? `/** The base (=no conditions) styles to apply */` : ctx.conditions.get(key) ? `/** \`${ctx.conditions.get(key)}\` */` : ""}${JSON.stringify(key)}: string`
|
|
563
|
+
).join("\n")}
|
|
562
564
|
}
|
|
563
565
|
|
|
564
566
|
export type Condition = keyof Conditions
|
package/dist/index.mjs
CHANGED
|
@@ -527,7 +527,9 @@ function generateConditions(ctx) {
|
|
|
527
527
|
${ctx.file.importType("AnySelector, Selectors", "./selectors")}
|
|
528
528
|
|
|
529
529
|
export type Conditions = {
|
|
530
|
-
${keys.map(
|
|
530
|
+
${keys.map(
|
|
531
|
+
(key) => ` ${key === "base" ? `/** The base (=no conditions) styles to apply */` : ctx.conditions.get(key) ? `/** \`${ctx.conditions.get(key)}\` */` : ""}${JSON.stringify(key)}: string`
|
|
532
|
+
).join("\n")}
|
|
531
533
|
}
|
|
532
534
|
|
|
533
535
|
export type Condition = keyof Conditions
|
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-20230903133825",
|
|
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-20230903133825",
|
|
24
|
+
"@pandacss/is-valid-prop": "0.0.0-dev-20230903133825",
|
|
25
|
+
"@pandacss/logger": "0.0.0-dev-20230903133825",
|
|
26
|
+
"@pandacss/shared": "0.0.0-dev-20230903133825",
|
|
27
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20230903133825",
|
|
28
|
+
"@pandacss/types": "0.0.0-dev-20230903133825"
|
|
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-20230903133825"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"prebuild": "tsx scripts/prebuild.ts",
|