@pandacss/generator 0.0.0-dev-20231211133922 → 0.0.0-dev-20231211135842
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 -6
- package/dist/index.mjs +3 -6
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -3612,7 +3612,7 @@ function setupJsxHelpers(ctx) {
|
|
|
3612
3612
|
};
|
|
3613
3613
|
}
|
|
3614
3614
|
function setupJsxPatterns(ctx, filters) {
|
|
3615
|
-
if (!ctx.jsx.framework)
|
|
3615
|
+
if (!ctx.jsx.framework || ctx.isTemplateLiteralSyntax)
|
|
3616
3616
|
return;
|
|
3617
3617
|
const patterns = generateJsxPatterns(ctx, filters);
|
|
3618
3618
|
return {
|
|
@@ -3635,15 +3635,12 @@ function setupJsxPatternsIndex(ctx) {
|
|
|
3635
3635
|
js: import_outdent44.default`
|
|
3636
3636
|
${ctx.file.exportStar("./factory")}
|
|
3637
3637
|
${isStyleProp ? ctx.file.exportStar("./is-valid-prop") : ""}
|
|
3638
|
-
${import_outdent44.default.string(patternNames.map((file) => ctx.file.exportStar(`./${file}`)).join("\n"))}
|
|
3638
|
+
${isStyleProp ? import_outdent44.default.string(patternNames.map((file) => ctx.file.exportStar(`./${file}`)).join("\n")) : ""}
|
|
3639
3639
|
`,
|
|
3640
3640
|
dts: import_outdent44.default`
|
|
3641
3641
|
${ctx.file.exportTypeStar("./factory")}
|
|
3642
|
-
|
|
3643
3642
|
${isStyleProp ? ctx.file.exportTypeStar("./is-valid-prop") : ""}
|
|
3644
|
-
|
|
3645
|
-
${import_outdent44.default.string(patternNames.map((file) => ctx.file.exportTypeStar(`./${file}`)).join("\n"))}
|
|
3646
|
-
|
|
3643
|
+
${isStyleProp ? import_outdent44.default.string(patternNames.map((file) => ctx.file.exportTypeStar(`./${file}`)).join("\n")) : ""}
|
|
3647
3644
|
${ctx.file.exportType([ctx.jsx.typeName, ctx.jsx.componentName].join(", "), "../types/jsx")}
|
|
3648
3645
|
`
|
|
3649
3646
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -3581,7 +3581,7 @@ function setupJsxHelpers(ctx) {
|
|
|
3581
3581
|
};
|
|
3582
3582
|
}
|
|
3583
3583
|
function setupJsxPatterns(ctx, filters) {
|
|
3584
|
-
if (!ctx.jsx.framework)
|
|
3584
|
+
if (!ctx.jsx.framework || ctx.isTemplateLiteralSyntax)
|
|
3585
3585
|
return;
|
|
3586
3586
|
const patterns = generateJsxPatterns(ctx, filters);
|
|
3587
3587
|
return {
|
|
@@ -3604,15 +3604,12 @@ function setupJsxPatternsIndex(ctx) {
|
|
|
3604
3604
|
js: outdent44`
|
|
3605
3605
|
${ctx.file.exportStar("./factory")}
|
|
3606
3606
|
${isStyleProp ? ctx.file.exportStar("./is-valid-prop") : ""}
|
|
3607
|
-
${outdent44.string(patternNames.map((file) => ctx.file.exportStar(`./${file}`)).join("\n"))}
|
|
3607
|
+
${isStyleProp ? outdent44.string(patternNames.map((file) => ctx.file.exportStar(`./${file}`)).join("\n")) : ""}
|
|
3608
3608
|
`,
|
|
3609
3609
|
dts: outdent44`
|
|
3610
3610
|
${ctx.file.exportTypeStar("./factory")}
|
|
3611
|
-
|
|
3612
3611
|
${isStyleProp ? ctx.file.exportTypeStar("./is-valid-prop") : ""}
|
|
3613
|
-
|
|
3614
|
-
${outdent44.string(patternNames.map((file) => ctx.file.exportTypeStar(`./${file}`)).join("\n"))}
|
|
3615
|
-
|
|
3612
|
+
${isStyleProp ? outdent44.string(patternNames.map((file) => ctx.file.exportTypeStar(`./${file}`)).join("\n")) : ""}
|
|
3616
3613
|
${ctx.file.exportType([ctx.jsx.typeName, ctx.jsx.componentName].join(", "), "../types/jsx")}
|
|
3617
3614
|
`
|
|
3618
3615
|
};
|
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-20231211135842",
|
|
4
4
|
"description": "The css generator for css panda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
"pluralize": "8.0.0",
|
|
33
33
|
"postcss": "^8.4.31",
|
|
34
34
|
"ts-pattern": "5.0.5",
|
|
35
|
-
"@pandacss/core": "0.0.0-dev-
|
|
36
|
-
"@pandacss/is-valid-prop": "0.0.0-dev-
|
|
37
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
38
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
39
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
40
|
-
"@pandacss/types": "0.0.0-dev-
|
|
35
|
+
"@pandacss/core": "0.0.0-dev-20231211135842",
|
|
36
|
+
"@pandacss/is-valid-prop": "0.0.0-dev-20231211135842",
|
|
37
|
+
"@pandacss/logger": "0.0.0-dev-20231211135842",
|
|
38
|
+
"@pandacss/shared": "0.0.0-dev-20231211135842",
|
|
39
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20231211135842",
|
|
40
|
+
"@pandacss/types": "0.0.0-dev-20231211135842"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/pluralize": "0.0.33",
|
|
44
44
|
"hookable": "5.5.3",
|
|
45
|
-
"@pandacss/fixture": "0.0.0-dev-
|
|
45
|
+
"@pandacss/fixture": "0.0.0-dev-20231211135842"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "tsup src/index.ts --format=esm,cjs --dts",
|