@pandacss/parser 0.0.0-dev-20230106195931 → 0.0.0-dev-20230106200853

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 CHANGED
@@ -8,7 +8,6 @@ type Result = {
8
8
  declare class Collector {
9
9
  jsx: Set<Result>;
10
10
  css: Set<Result>;
11
- globalCss: Set<Result>;
12
11
  cssMap: Set<Result>;
13
12
  recipe: Map<string, Set<Result>>;
14
13
  pattern: Map<string, Set<Result>>;
package/dist/index.js CHANGED
@@ -137,7 +137,6 @@ function visitCallExpressions(file, options) {
137
137
  var Collector = class {
138
138
  jsx = /* @__PURE__ */ new Set();
139
139
  css = /* @__PURE__ */ new Set();
140
- globalCss = /* @__PURE__ */ new Set();
141
140
  cssMap = /* @__PURE__ */ new Set();
142
141
  recipe = /* @__PURE__ */ new Map();
143
142
  pattern = /* @__PURE__ */ new Map();
@@ -153,7 +152,7 @@ var Collector = class {
153
152
  this.recipe.get(name)?.add({ type: "recipe", ...result });
154
153
  }
155
154
  get isEmpty() {
156
- return this.css.size === 0 && this.globalCss.size === 0 && this.cssMap.size === 0 && this.recipe.size === 0 && this.pattern.size === 0 && this.jsx.size === 0;
155
+ return this.css.size === 0 && this.cssMap.size === 0 && this.recipe.size === 0 && this.pattern.size === 0 && this.jsx.size === 0;
157
156
  }
158
157
  };
159
158
 
@@ -274,7 +273,7 @@ function createParser(options) {
274
273
  const collector = new Collector();
275
274
  const { jsx, importMap } = options;
276
275
  const importRegex = [
277
- createImportMatcher(importMap.css, ["css", "cssMap", "globalCss"]),
276
+ createImportMatcher(importMap.css, ["css", "cssMap"]),
278
277
  createImportMatcher(importMap.recipe),
279
278
  createImportMatcher(importMap.pattern)
280
279
  ];
package/dist/index.mjs CHANGED
@@ -112,7 +112,6 @@ function visitCallExpressions(file, options) {
112
112
  var Collector = class {
113
113
  jsx = /* @__PURE__ */ new Set();
114
114
  css = /* @__PURE__ */ new Set();
115
- globalCss = /* @__PURE__ */ new Set();
116
115
  cssMap = /* @__PURE__ */ new Set();
117
116
  recipe = /* @__PURE__ */ new Map();
118
117
  pattern = /* @__PURE__ */ new Map();
@@ -128,7 +127,7 @@ var Collector = class {
128
127
  this.recipe.get(name)?.add({ type: "recipe", ...result });
129
128
  }
130
129
  get isEmpty() {
131
- return this.css.size === 0 && this.globalCss.size === 0 && this.cssMap.size === 0 && this.recipe.size === 0 && this.pattern.size === 0 && this.jsx.size === 0;
130
+ return this.css.size === 0 && this.cssMap.size === 0 && this.recipe.size === 0 && this.pattern.size === 0 && this.jsx.size === 0;
132
131
  }
133
132
  };
134
133
 
@@ -249,7 +248,7 @@ function createParser(options) {
249
248
  const collector = new Collector();
250
249
  const { jsx, importMap } = options;
251
250
  const importRegex = [
252
- createImportMatcher(importMap.css, ["css", "cssMap", "globalCss"]),
251
+ createImportMatcher(importMap.css, ["css", "cssMap"]),
253
252
  createImportMatcher(importMap.recipe),
254
253
  createImportMatcher(importMap.pattern)
255
254
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/parser",
3
- "version": "0.0.0-dev-20230106195931",
3
+ "version": "0.0.0-dev-20230106200853",
4
4
  "description": "The static parser for panda css",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -13,13 +13,13 @@
13
13
  "dependencies": {
14
14
  "ts-pattern": "4.0.6",
15
15
  "ts-morph": "17.0.1",
16
- "@pandacss/logger": "0.0.0-dev-20230106195931",
17
- "@pandacss/shared": "0.0.0-dev-20230106195931",
18
- "@pandacss/is-valid-prop": "0.0.0-dev-20230106195931",
19
- "@pandacss/types": "0.0.0-dev-20230106195931"
16
+ "@pandacss/logger": "0.0.0-dev-20230106200853",
17
+ "@pandacss/shared": "0.0.0-dev-20230106200853",
18
+ "@pandacss/is-valid-prop": "0.0.0-dev-20230106200853",
19
+ "@pandacss/types": "0.0.0-dev-20230106200853"
20
20
  },
21
21
  "devDependencies": {
22
- "@pandacss/fixture": "0.0.0-dev-20230106195931"
22
+ "@pandacss/fixture": "0.0.0-dev-20230106200853"
23
23
  },
24
24
  "files": [
25
25
  "dist"