@pandacss/node 1.11.0 → 1.11.2

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 CHANGED
@@ -33,9 +33,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
  ));
34
34
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
35
35
 
36
- // ../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.3_@swc+helpers@0.5.17__jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@6.0.2_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js
36
+ // ../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.3_@swc+helpers@0.5.17__jiti@2.6.1_postcss@8.5.14_tsx@4.20.6_typescript@6.0.2_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js
37
37
  var init_cjs_shims = __esm({
38
- "../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.3_@swc+helpers@0.5.17__jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@6.0.2_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js"() {
38
+ "../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.3_@swc+helpers@0.5.17__jiti@2.6.1_postcss@8.5.14_tsx@4.20.6_typescript@6.0.2_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js"() {
39
39
  "use strict";
40
40
  }
41
41
  });
@@ -2560,6 +2560,11 @@ var Builder = class {
2560
2560
  const sheet = ctx.createSheet();
2561
2561
  ctx.appendBaselineCss(sheet);
2562
2562
  const css = ctx.getCss(sheet);
2563
+ if (ctx.config.polyfill) {
2564
+ root.walkAtRules("layer", (rule) => {
2565
+ if (!rule.nodes && ctx.isValidLayerParams(rule.params)) rule.remove();
2566
+ });
2567
+ }
2563
2568
  root.append(css);
2564
2569
  };
2565
2570
  registerDependency = (fn) => {
package/dist/index.mjs CHANGED
@@ -27,11 +27,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
27
  mod
28
28
  ));
29
29
 
30
- // ../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.3_@swc+helpers@0.5.17__jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@6.0.2_yaml@2.8.1/node_modules/tsup/assets/esm_shims.js
30
+ // ../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.3_@swc+helpers@0.5.17__jiti@2.6.1_postcss@8.5.14_tsx@4.20.6_typescript@6.0.2_yaml@2.8.1/node_modules/tsup/assets/esm_shims.js
31
31
  import path from "path";
32
32
  import { fileURLToPath } from "url";
33
33
  var init_esm_shims = __esm({
34
- "../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.3_@swc+helpers@0.5.17__jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@6.0.2_yaml@2.8.1/node_modules/tsup/assets/esm_shims.js"() {
34
+ "../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.3_@swc+helpers@0.5.17__jiti@2.6.1_postcss@8.5.14_tsx@4.20.6_typescript@6.0.2_yaml@2.8.1/node_modules/tsup/assets/esm_shims.js"() {
35
35
  "use strict";
36
36
  }
37
37
  });
@@ -2536,6 +2536,11 @@ var Builder = class {
2536
2536
  const sheet = ctx.createSheet();
2537
2537
  ctx.appendBaselineCss(sheet);
2538
2538
  const css = ctx.getCss(sheet);
2539
+ if (ctx.config.polyfill) {
2540
+ root.walkAtRules("layer", (rule) => {
2541
+ if (!rule.nodes && ctx.isValidLayerParams(rule.params)) rule.remove();
2542
+ });
2543
+ }
2539
2544
  root.append(css);
2540
2545
  };
2541
2546
  registerDependency = (fn) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/node",
3
- "version": "1.11.0",
3
+ "version": "1.11.2",
4
4
  "description": "The core css panda library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -48,23 +48,23 @@
48
48
  "pkg-types": "2.3.0",
49
49
  "picomatch": "4.0.4",
50
50
  "pluralize": "8.0.0",
51
- "postcss": "8.5.6",
51
+ "postcss": "8.5.14",
52
52
  "prettier": "3.2.5",
53
53
  "ts-morph": "28.0.0",
54
54
  "ts-pattern": "5.9.0",
55
55
  "get-tsconfig": "^4.13.0",
56
- "@pandacss/config": "1.11.0",
57
- "@pandacss/core": "1.11.0",
58
- "@pandacss/generator": "1.11.0",
59
- "@pandacss/plugin-lightningcss": "1.11.0",
60
- "@pandacss/plugin-svelte": "1.11.0",
61
- "@pandacss/plugin-vue": "1.11.0",
62
- "@pandacss/reporter": "1.11.0",
63
- "@pandacss/logger": "1.11.0",
64
- "@pandacss/parser": "1.11.0",
65
- "@pandacss/shared": "1.11.0",
66
- "@pandacss/token-dictionary": "1.11.0",
67
- "@pandacss/types": "1.11.0"
56
+ "@pandacss/config": "1.11.2",
57
+ "@pandacss/core": "1.11.2",
58
+ "@pandacss/generator": "1.11.2",
59
+ "@pandacss/plugin-lightningcss": "1.11.2",
60
+ "@pandacss/plugin-svelte": "1.11.2",
61
+ "@pandacss/plugin-vue": "1.11.2",
62
+ "@pandacss/reporter": "1.11.2",
63
+ "@pandacss/logger": "1.11.2",
64
+ "@pandacss/parser": "1.11.2",
65
+ "@pandacss/shared": "1.11.2",
66
+ "@pandacss/token-dictionary": "1.11.2",
67
+ "@pandacss/types": "1.11.2"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@types/picomatch": "4.0.2",