@pandacss/parser 0.28.0 → 0.29.0

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
@@ -115,7 +115,7 @@ var ParserResult = class {
115
115
  this.setSva(result);
116
116
  break;
117
117
  default:
118
- throw new Error(`Unknown result type ${name}`);
118
+ throw new import_shared.PandaError("UNKNOWN_TYPE", `Unknown result type ${name}`);
119
119
  }
120
120
  }
121
121
  setCss(result) {
package/dist/index.mjs CHANGED
@@ -49,7 +49,7 @@ function getImportDeclarations(context, sourceFile) {
49
49
  }
50
50
 
51
51
  // src/parser-result.ts
52
- import { getOrCreateSet } from "@pandacss/shared";
52
+ import { PandaError, getOrCreateSet } from "@pandacss/shared";
53
53
  var ParserResult = class {
54
54
  constructor(context, encoder) {
55
55
  this.context = context;
@@ -81,7 +81,7 @@ var ParserResult = class {
81
81
  this.setSva(result);
82
82
  break;
83
83
  default:
84
- throw new Error(`Unknown result type ${name}`);
84
+ throw new PandaError("UNKNOWN_TYPE", `Unknown result type ${name}`);
85
85
  }
86
86
  }
87
87
  setCss(result) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/parser",
3
- "version": "0.28.0",
3
+ "version": "0.29.0",
4
4
  "description": "The static parser for panda css",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -32,16 +32,16 @@
32
32
  "magic-string": "0.30.5",
33
33
  "ts-morph": "19.0.0",
34
34
  "ts-pattern": "5.0.5",
35
- "@pandacss/config": "^0.28.0",
36
- "@pandacss/core": "^0.28.0",
37
- "@pandacss/extractor": "0.28.0",
38
- "@pandacss/logger": "0.28.0",
39
- "@pandacss/shared": "0.28.0",
40
- "@pandacss/types": "0.28.0"
35
+ "@pandacss/config": "^0.29.0",
36
+ "@pandacss/core": "^0.29.0",
37
+ "@pandacss/extractor": "0.29.0",
38
+ "@pandacss/logger": "0.29.0",
39
+ "@pandacss/shared": "0.29.0",
40
+ "@pandacss/types": "0.29.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@vue/compiler-core": "3.3.4",
44
- "@pandacss/generator": "0.28.0"
44
+ "@pandacss/generator": "0.29.0"
45
45
  },
46
46
  "files": [
47
47
  "dist"