@pandacss/generator 0.0.0-dev-20230207095721 → 0.0.0-dev-20230208150234
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.d.ts +8 -8
- package/dist/index.js +5 -1
- package/dist/index.mjs +1 -1
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -120,23 +120,23 @@ declare const getMessages: (ctx: Context) => {
|
|
|
120
120
|
};
|
|
121
121
|
|
|
122
122
|
declare const messages_artifactsGenerated: typeof artifactsGenerated;
|
|
123
|
-
declare const
|
|
124
|
-
declare const messages_thankYou: typeof thankYou;
|
|
123
|
+
declare const messages_buildComplete: typeof buildComplete;
|
|
125
124
|
declare const messages_codegenComplete: typeof codegenComplete;
|
|
125
|
+
declare const messages_configExists: typeof configExists;
|
|
126
|
+
declare const messages_getMessages: typeof getMessages;
|
|
126
127
|
declare const messages_noExtract: typeof noExtract;
|
|
128
|
+
declare const messages_thankYou: typeof thankYou;
|
|
127
129
|
declare const messages_watch: typeof watch;
|
|
128
|
-
declare const messages_buildComplete: typeof buildComplete;
|
|
129
|
-
declare const messages_getMessages: typeof getMessages;
|
|
130
130
|
declare namespace messages {
|
|
131
131
|
export {
|
|
132
132
|
messages_artifactsGenerated as artifactsGenerated,
|
|
133
|
-
|
|
134
|
-
messages_thankYou as thankYou,
|
|
133
|
+
messages_buildComplete as buildComplete,
|
|
135
134
|
messages_codegenComplete as codegenComplete,
|
|
135
|
+
messages_configExists as configExists,
|
|
136
|
+
messages_getMessages as getMessages,
|
|
136
137
|
messages_noExtract as noExtract,
|
|
138
|
+
messages_thankYou as thankYou,
|
|
137
139
|
messages_watch as watch,
|
|
138
|
-
messages_buildComplete as buildComplete,
|
|
139
|
-
messages_getMessages as getMessages,
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
142
|
|
package/dist/index.js
CHANGED
|
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
return to;
|
|
19
19
|
};
|
|
20
20
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
25
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
26
|
mod
|
|
23
27
|
));
|
|
@@ -1380,7 +1384,7 @@ var patternMap = {
|
|
|
1380
1384
|
preact: generatePreactJsxPattern
|
|
1381
1385
|
};
|
|
1382
1386
|
function generateJsxPatterns(ctx) {
|
|
1383
|
-
if (
|
|
1387
|
+
if (ctx.patterns.isEmpty() && !ctx.jsx.framework)
|
|
1384
1388
|
return [];
|
|
1385
1389
|
return patternMap[ctx.jsx.framework](ctx);
|
|
1386
1390
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1353,7 +1353,7 @@ var patternMap = {
|
|
|
1353
1353
|
preact: generatePreactJsxPattern
|
|
1354
1354
|
};
|
|
1355
1355
|
function generateJsxPatterns(ctx) {
|
|
1356
|
-
if (
|
|
1356
|
+
if (ctx.patterns.isEmpty() && !ctx.jsx.framework)
|
|
1357
1357
|
return [];
|
|
1358
1358
|
return patternMap[ctx.jsx.framework](ctx);
|
|
1359
1359
|
}
|
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-20230208150234",
|
|
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-20230208150234",
|
|
24
|
+
"@pandacss/logger": "0.0.0-dev-20230208150234",
|
|
25
|
+
"@pandacss/is-valid-prop": "0.0.0-dev-20230208150234",
|
|
26
|
+
"@pandacss/shared": "0.0.0-dev-20230208150234",
|
|
27
|
+
"@pandacss/types": "0.0.0-dev-20230208150234",
|
|
28
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20230208150234"
|
|
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-20230208150234"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"prebuild": "tsx scripts/prebuild.ts",
|