@pandacss/generator 0.0.0-dev-20230211194544 → 0.0.0-dev-20230212075352
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
|
@@ -591,7 +591,7 @@ var import_javascript_stringify = require("javascript-stringify");
|
|
|
591
591
|
var import_outdent7 = require("outdent");
|
|
592
592
|
var import_ts_pattern = require("ts-pattern");
|
|
593
593
|
function generatePattern(ctx) {
|
|
594
|
-
if (
|
|
594
|
+
if (ctx.patterns.isEmpty())
|
|
595
595
|
return;
|
|
596
596
|
return ctx.patterns.details.map((pattern) => {
|
|
597
597
|
const { name, config, dashName, upperName, styleFnName, blocklistType } = pattern;
|
|
@@ -654,7 +654,7 @@ function generateRecipes(ctx) {
|
|
|
654
654
|
utility: { separator },
|
|
655
655
|
config: { prefix, hash }
|
|
656
656
|
} = ctx;
|
|
657
|
-
if (
|
|
657
|
+
if (recipes.isEmpty())
|
|
658
658
|
return;
|
|
659
659
|
const js = [
|
|
660
660
|
import_outdent8.outdent`
|
package/dist/index.mjs
CHANGED
|
@@ -560,7 +560,7 @@ import { stringify as stringify2 } from "javascript-stringify";
|
|
|
560
560
|
import { outdent as outdent7 } from "outdent";
|
|
561
561
|
import { match } from "ts-pattern";
|
|
562
562
|
function generatePattern(ctx) {
|
|
563
|
-
if (
|
|
563
|
+
if (ctx.patterns.isEmpty())
|
|
564
564
|
return;
|
|
565
565
|
return ctx.patterns.details.map((pattern) => {
|
|
566
566
|
const { name, config, dashName, upperName, styleFnName, blocklistType } = pattern;
|
|
@@ -623,7 +623,7 @@ function generateRecipes(ctx) {
|
|
|
623
623
|
utility: { separator },
|
|
624
624
|
config: { prefix, hash }
|
|
625
625
|
} = ctx;
|
|
626
|
-
if (
|
|
626
|
+
if (recipes.isEmpty())
|
|
627
627
|
return;
|
|
628
628
|
const js = [
|
|
629
629
|
outdent8`
|
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-20230212075352",
|
|
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-20230212075352",
|
|
24
|
+
"@pandacss/logger": "0.0.0-dev-20230212075352",
|
|
25
|
+
"@pandacss/is-valid-prop": "0.0.0-dev-20230212075352",
|
|
26
|
+
"@pandacss/shared": "0.0.0-dev-20230212075352",
|
|
27
|
+
"@pandacss/types": "0.0.0-dev-20230212075352",
|
|
28
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20230212075352"
|
|
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-20230212075352"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"prebuild": "tsx scripts/prebuild.ts",
|