@pandacss/generator 0.0.0-dev-20230211154611 → 0.0.0-dev-20230211194524
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 +5 -5
- package/dist/index.mjs +5 -5
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -66,7 +66,7 @@ var artifactsGenerated = (ctx) => {
|
|
|
66
66
|
${tick} ${(0, import_logger.quote)(outdir, "/tokens")}: the css variables and js function to query your tokens
|
|
67
67
|
`,
|
|
68
68
|
!patterns.isEmpty() && import_outdent.outdent`
|
|
69
|
-
${tick} ${(0, import_logger.quote)(outdir, "/patterns")}: functions to implement common
|
|
69
|
+
${tick} ${(0, import_logger.quote)(outdir, "/patterns")}: functions to implement apply common layout patterns
|
|
70
70
|
`,
|
|
71
71
|
!recipes.isEmpty() && import_outdent.outdent`
|
|
72
72
|
${tick} ${(0, import_logger.quote)(outdir, "/recipes")}: functions to create multi-variant styles
|
|
@@ -1618,7 +1618,7 @@ var patternMap = {
|
|
|
1618
1618
|
react: generateReactJsxPattern,
|
|
1619
1619
|
solid: generateSolidJsxPattern,
|
|
1620
1620
|
preact: generatePreactJsxPattern,
|
|
1621
|
-
vue: () => []
|
|
1621
|
+
vue: () => [{ name: "", js: "", dts: "" }]
|
|
1622
1622
|
};
|
|
1623
1623
|
function generateJsxPatterns(ctx) {
|
|
1624
1624
|
if (ctx.patterns.isEmpty() && !ctx.jsx.framework)
|
|
@@ -1629,7 +1629,7 @@ var layoutGridMap = {
|
|
|
1629
1629
|
react: generateReactLayoutGrid,
|
|
1630
1630
|
preact: generatePreactLayoutGrid,
|
|
1631
1631
|
solid: generateSolidLayoutGrid,
|
|
1632
|
-
vue: () =>
|
|
1632
|
+
vue: () => ({ js: "", dts: "" })
|
|
1633
1633
|
};
|
|
1634
1634
|
function generateLayoutGrid(ctx) {
|
|
1635
1635
|
if (!ctx.jsx.framework)
|
|
@@ -2283,7 +2283,7 @@ var getPatternEngine = (config) => {
|
|
|
2283
2283
|
return nodes.find((node) => node.name === jsx)?.baseName ?? (0, import_shared6.uncapitalize)(jsx);
|
|
2284
2284
|
}),
|
|
2285
2285
|
import_lil_fp2.Obj.bind("isEmpty", ({ patterns }) => {
|
|
2286
|
-
return () => Object.keys(patterns).length
|
|
2286
|
+
return () => Object.keys(patterns).length === 0;
|
|
2287
2287
|
})
|
|
2288
2288
|
);
|
|
2289
2289
|
};
|
|
@@ -2337,7 +2337,7 @@ var getRecipeEngine = (config) => {
|
|
|
2337
2337
|
}));
|
|
2338
2338
|
}),
|
|
2339
2339
|
import_lil_fp3.Obj.bind("isEmpty", ({ recipes }) => {
|
|
2340
|
-
return () => Object.keys(recipes).length
|
|
2340
|
+
return () => Object.keys(recipes).length === 0;
|
|
2341
2341
|
})
|
|
2342
2342
|
);
|
|
2343
2343
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -35,7 +35,7 @@ var artifactsGenerated = (ctx) => {
|
|
|
35
35
|
${tick} ${quote(outdir, "/tokens")}: the css variables and js function to query your tokens
|
|
36
36
|
`,
|
|
37
37
|
!patterns.isEmpty() && outdent`
|
|
38
|
-
${tick} ${quote(outdir, "/patterns")}: functions to implement common
|
|
38
|
+
${tick} ${quote(outdir, "/patterns")}: functions to implement apply common layout patterns
|
|
39
39
|
`,
|
|
40
40
|
!recipes.isEmpty() && outdent`
|
|
41
41
|
${tick} ${quote(outdir, "/recipes")}: functions to create multi-variant styles
|
|
@@ -1587,7 +1587,7 @@ var patternMap = {
|
|
|
1587
1587
|
react: generateReactJsxPattern,
|
|
1588
1588
|
solid: generateSolidJsxPattern,
|
|
1589
1589
|
preact: generatePreactJsxPattern,
|
|
1590
|
-
vue: () => []
|
|
1590
|
+
vue: () => [{ name: "", js: "", dts: "" }]
|
|
1591
1591
|
};
|
|
1592
1592
|
function generateJsxPatterns(ctx) {
|
|
1593
1593
|
if (ctx.patterns.isEmpty() && !ctx.jsx.framework)
|
|
@@ -1598,7 +1598,7 @@ var layoutGridMap = {
|
|
|
1598
1598
|
react: generateReactLayoutGrid,
|
|
1599
1599
|
preact: generatePreactLayoutGrid,
|
|
1600
1600
|
solid: generateSolidLayoutGrid,
|
|
1601
|
-
vue: () =>
|
|
1601
|
+
vue: () => ({ js: "", dts: "" })
|
|
1602
1602
|
};
|
|
1603
1603
|
function generateLayoutGrid(ctx) {
|
|
1604
1604
|
if (!ctx.jsx.framework)
|
|
@@ -2252,7 +2252,7 @@ var getPatternEngine = (config) => {
|
|
|
2252
2252
|
return nodes.find((node) => node.name === jsx)?.baseName ?? uncapitalize(jsx);
|
|
2253
2253
|
}),
|
|
2254
2254
|
Obj2.bind("isEmpty", ({ patterns }) => {
|
|
2255
|
-
return () => Object.keys(patterns).length
|
|
2255
|
+
return () => Object.keys(patterns).length === 0;
|
|
2256
2256
|
})
|
|
2257
2257
|
);
|
|
2258
2258
|
};
|
|
@@ -2306,7 +2306,7 @@ var getRecipeEngine = (config) => {
|
|
|
2306
2306
|
}));
|
|
2307
2307
|
}),
|
|
2308
2308
|
Obj3.bind("isEmpty", ({ recipes }) => {
|
|
2309
|
-
return () => Object.keys(recipes).length
|
|
2309
|
+
return () => Object.keys(recipes).length === 0;
|
|
2310
2310
|
})
|
|
2311
2311
|
);
|
|
2312
2312
|
};
|
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-20230211194524",
|
|
4
4
|
"description": "The css generator for css panda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"pluralize": "8.0.0",
|
|
21
21
|
"postcss": "8.4.21",
|
|
22
22
|
"ts-pattern": "4.1.4",
|
|
23
|
-
"@pandacss/core": "0.0.0-dev-
|
|
24
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
25
|
-
"@pandacss/is-valid-prop": "0.0.0-dev-
|
|
26
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
27
|
-
"@pandacss/types": "0.0.0-dev-
|
|
28
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
23
|
+
"@pandacss/core": "0.0.0-dev-20230211194524",
|
|
24
|
+
"@pandacss/logger": "0.0.0-dev-20230211194524",
|
|
25
|
+
"@pandacss/is-valid-prop": "0.0.0-dev-20230211194524",
|
|
26
|
+
"@pandacss/shared": "0.0.0-dev-20230211194524",
|
|
27
|
+
"@pandacss/types": "0.0.0-dev-20230211194524",
|
|
28
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20230211194524"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/pluralize": "0.0.29",
|
|
32
|
-
"@pandacss/fixture": "0.0.0-dev-
|
|
32
|
+
"@pandacss/fixture": "0.0.0-dev-20230211194524"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"prebuild": "tsx scripts/prebuild.ts",
|