@pandacss/node 0.0.0-dev-20230119080852 → 0.0.0-dev-20230122102407
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 +1 -0
- package/dist/index.js +10 -0
- package/dist/index.mjs +10 -0
- package/package.json +11 -11
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -2279,6 +2279,16 @@ var Builder = class {
|
|
|
2279
2279
|
sheet.append(css2);
|
|
2280
2280
|
return sheet.toCss({ minify: ctx.minify });
|
|
2281
2281
|
}
|
|
2282
|
+
isValidRoot(root) {
|
|
2283
|
+
const params = "reset, base, tokens, recipes, utilities";
|
|
2284
|
+
let found = false;
|
|
2285
|
+
root.walkAtRules("layer", (rule) => {
|
|
2286
|
+
if (rule.params === params) {
|
|
2287
|
+
found = true;
|
|
2288
|
+
}
|
|
2289
|
+
});
|
|
2290
|
+
return found;
|
|
2291
|
+
}
|
|
2282
2292
|
write(root) {
|
|
2283
2293
|
const rootCssContent = root.toString();
|
|
2284
2294
|
root.removeAll();
|
package/dist/index.mjs
CHANGED
|
@@ -2240,6 +2240,16 @@ var Builder = class {
|
|
|
2240
2240
|
sheet.append(css2);
|
|
2241
2241
|
return sheet.toCss({ minify: ctx.minify });
|
|
2242
2242
|
}
|
|
2243
|
+
isValidRoot(root) {
|
|
2244
|
+
const params = "reset, base, tokens, recipes, utilities";
|
|
2245
|
+
let found = false;
|
|
2246
|
+
root.walkAtRules("layer", (rule) => {
|
|
2247
|
+
if (rule.params === params) {
|
|
2248
|
+
found = true;
|
|
2249
|
+
}
|
|
2250
|
+
});
|
|
2251
|
+
return found;
|
|
2252
|
+
}
|
|
2243
2253
|
write(root) {
|
|
2244
2254
|
const rootCssContent = root.toString();
|
|
2245
2255
|
root.removeAll();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/node",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20230122102407",
|
|
4
4
|
"description": "The core css panda library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
"javascript-stringify": "2.1.0",
|
|
31
31
|
"ts-pattern": "4.1.3",
|
|
32
32
|
"ts-morph": "17.0.1",
|
|
33
|
-
"@pandacss/types": "0.0.0-dev-
|
|
34
|
-
"@pandacss/is-valid-prop": "0.0.0-dev-
|
|
35
|
-
"@pandacss/error": "0.0.0-dev-
|
|
36
|
-
"@pandacss/parser": "0.0.0-dev-
|
|
37
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
38
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
39
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
40
|
-
"@pandacss/core": "0.0.0-dev-
|
|
41
|
-
"@pandacss/config": "0.0.0-dev-
|
|
33
|
+
"@pandacss/types": "0.0.0-dev-20230122102407",
|
|
34
|
+
"@pandacss/is-valid-prop": "0.0.0-dev-20230122102407",
|
|
35
|
+
"@pandacss/error": "0.0.0-dev-20230122102407",
|
|
36
|
+
"@pandacss/parser": "0.0.0-dev-20230122102407",
|
|
37
|
+
"@pandacss/shared": "0.0.0-dev-20230122102407",
|
|
38
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20230122102407",
|
|
39
|
+
"@pandacss/logger": "0.0.0-dev-20230122102407",
|
|
40
|
+
"@pandacss/core": "0.0.0-dev-20230122102407",
|
|
41
|
+
"@pandacss/config": "0.0.0-dev-20230122102407"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/fs-extra": "11.0.1",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@types/glob-parent": "^5.1.1",
|
|
47
47
|
"@types/pluralize": "0.0.29",
|
|
48
48
|
"@types/lodash.merge": "4.6.7",
|
|
49
|
-
"@pandacss/fixture": "0.0.0-dev-
|
|
49
|
+
"@pandacss/fixture": "0.0.0-dev-20230122102407"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "tsup src/index.ts --format=cjs,esm --shims --dts",
|