@pandacss/postcss 2.0.0-beta.8 → 2.0.0-beta.9

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.cjs CHANGED
@@ -152,6 +152,10 @@ function emitDiagnostics(root, result, diagnostics) {
152
152
  throw root.error(_compilershared.formatDiagnostic.call(void 0, error), { plugin: PLUGIN_NAME });
153
153
  }
154
154
  for (const diagnostic of diagnostics) {
155
+ if (diagnostic.severity === "info") {
156
+ result.messages.push({ type: "pandacss-diagnostic", plugin: PLUGIN_NAME, diagnostic });
157
+ continue;
158
+ }
155
159
  result.warn(_compilershared.formatDiagnostic.call(void 0, diagnostic), { plugin: PLUGIN_NAME });
156
160
  }
157
161
  }
package/dist/index.js CHANGED
@@ -152,6 +152,10 @@ function emitDiagnostics(root, result, diagnostics) {
152
152
  throw root.error(formatDiagnostic(error), { plugin: PLUGIN_NAME });
153
153
  }
154
154
  for (const diagnostic of diagnostics) {
155
+ if (diagnostic.severity === "info") {
156
+ result.messages.push({ type: "pandacss-diagnostic", plugin: PLUGIN_NAME, diagnostic });
157
+ continue;
158
+ }
155
159
  result.warn(formatDiagnostic(diagnostic), { plugin: PLUGIN_NAME });
156
160
  }
157
161
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/postcss",
3
- "version": "2.0.0-beta.8",
3
+ "version": "2.0.0-beta.9",
4
4
  "description": "PostCSS plugin for Panda CSS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -30,8 +30,8 @@
30
30
  "dist"
31
31
  ],
32
32
  "dependencies": {
33
- "@pandacss/compiler": "2.0.0-beta.8",
34
- "@pandacss/compiler-shared": "2.0.0-beta.8"
33
+ "@pandacss/compiler": "2.0.0-beta.9",
34
+ "@pandacss/compiler-shared": "2.0.0-beta.9"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "postcss": ">=8"