@pandacss/node 1.11.1 → 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
@@ -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
@@ -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.1",
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",
@@ -53,18 +53,18 @@
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.1",
57
- "@pandacss/core": "1.11.1",
58
- "@pandacss/generator": "1.11.1",
59
- "@pandacss/plugin-lightningcss": "1.11.1",
60
- "@pandacss/plugin-svelte": "1.11.1",
61
- "@pandacss/plugin-vue": "1.11.1",
62
- "@pandacss/reporter": "1.11.1",
63
- "@pandacss/logger": "1.11.1",
64
- "@pandacss/parser": "1.11.1",
65
- "@pandacss/shared": "1.11.1",
66
- "@pandacss/token-dictionary": "1.11.1",
67
- "@pandacss/types": "1.11.1"
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",