@pandacss/generator 0.0.0-dev-20231204162508 → 0.0.0-dev-20231205142502
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 +8 -0
- package/dist/index.mjs +8 -0
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -4263,6 +4263,14 @@ var Context = class {
|
|
|
4263
4263
|
|
|
4264
4264
|
// src/parser-options.ts
|
|
4265
4265
|
var getImportMap = (outdir, configImportMap) => {
|
|
4266
|
+
if (typeof configImportMap === "string") {
|
|
4267
|
+
return {
|
|
4268
|
+
css: [configImportMap, "css"],
|
|
4269
|
+
recipe: [configImportMap, "recipes"],
|
|
4270
|
+
pattern: [configImportMap, "patterns"],
|
|
4271
|
+
jsx: [configImportMap, "jsx"]
|
|
4272
|
+
};
|
|
4273
|
+
}
|
|
4266
4274
|
const { css: css2, recipes, patterns, jsx } = configImportMap ?? {};
|
|
4267
4275
|
return {
|
|
4268
4276
|
css: css2 ? [css2] : [outdir, "css"],
|
package/dist/index.mjs
CHANGED
|
@@ -4238,6 +4238,14 @@ var Context = class {
|
|
|
4238
4238
|
|
|
4239
4239
|
// src/parser-options.ts
|
|
4240
4240
|
var getImportMap = (outdir, configImportMap) => {
|
|
4241
|
+
if (typeof configImportMap === "string") {
|
|
4242
|
+
return {
|
|
4243
|
+
css: [configImportMap, "css"],
|
|
4244
|
+
recipe: [configImportMap, "recipes"],
|
|
4245
|
+
pattern: [configImportMap, "patterns"],
|
|
4246
|
+
jsx: [configImportMap, "jsx"]
|
|
4247
|
+
};
|
|
4248
|
+
}
|
|
4241
4249
|
const { css: css2, recipes, patterns, jsx } = configImportMap ?? {};
|
|
4242
4250
|
return {
|
|
4243
4251
|
css: css2 ? [css2] : [outdir, "css"],
|
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-20231205142502",
|
|
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-20231205142502",
|
|
36
|
+
"@pandacss/is-valid-prop": "0.0.0-dev-20231205142502",
|
|
37
|
+
"@pandacss/logger": "0.0.0-dev-20231205142502",
|
|
38
|
+
"@pandacss/shared": "0.0.0-dev-20231205142502",
|
|
39
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20231205142502",
|
|
40
|
+
"@pandacss/types": "0.0.0-dev-20231205142502"
|
|
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-20231205142502"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "tsup src/index.ts --format=esm,cjs --dts",
|