@pandacss/parser 0.0.0-dev-20230703201107 → 0.0.0-dev-20230704200435

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
@@ -227,7 +227,7 @@ function createParser(options) {
227
227
  const isValidStyleFn = (name) => name === jsx?.factory;
228
228
  const isFactory = (name) => Boolean(jsx && name.startsWith(jsxFactoryAlias));
229
229
  const jsxPatternNodes = new RegExp(
230
- `^(${jsx?.nodes.map((node) => node.type === "pattern" && node.name).join("|")})$`
230
+ `^(${jsx?.nodes.filter((node) => node.type === "pattern").map((node) => node.name).join("|")})$`
231
231
  );
232
232
  const recipes = /* @__PURE__ */ new Set();
233
233
  const patterns = /* @__PURE__ */ new Set();
package/dist/index.mjs CHANGED
@@ -189,7 +189,7 @@ function createParser(options) {
189
189
  const isValidStyleFn = (name) => name === jsx?.factory;
190
190
  const isFactory = (name) => Boolean(jsx && name.startsWith(jsxFactoryAlias));
191
191
  const jsxPatternNodes = new RegExp(
192
- `^(${jsx?.nodes.map((node) => node.type === "pattern" && node.name).join("|")})$`
192
+ `^(${jsx?.nodes.filter((node) => node.type === "pattern").map((node) => node.name).join("|")})$`
193
193
  );
194
194
  const recipes = /* @__PURE__ */ new Set();
195
195
  const patterns = /* @__PURE__ */ new Set();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/parser",
3
- "version": "0.0.0-dev-20230703201107",
3
+ "version": "0.0.0-dev-20230704200435",
4
4
  "description": "The static parser for panda css",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -16,16 +16,16 @@
16
16
  "magic-string": "^0.30.0",
17
17
  "ts-morph": "18.0.0",
18
18
  "ts-pattern": "4.3.0",
19
- "@pandacss/extractor": "0.0.0-dev-20230703201107",
20
- "@pandacss/is-valid-prop": "0.0.0-dev-20230703201107",
21
- "@pandacss/logger": "0.0.0-dev-20230703201107",
22
- "@pandacss/shared": "0.0.0-dev-20230703201107",
23
- "@pandacss/types": "0.0.0-dev-20230703201107"
19
+ "@pandacss/extractor": "0.0.0-dev-20230704200435",
20
+ "@pandacss/is-valid-prop": "0.0.0-dev-20230704200435",
21
+ "@pandacss/logger": "0.0.0-dev-20230704200435",
22
+ "@pandacss/shared": "0.0.0-dev-20230704200435",
23
+ "@pandacss/types": "0.0.0-dev-20230704200435"
24
24
  },
25
25
  "devDependencies": {
26
26
  "hookable": "5.5.3",
27
- "@pandacss/fixture": "0.0.0-dev-20230703201107",
28
- "@pandacss/generator": "0.0.0-dev-20230703201107"
27
+ "@pandacss/fixture": "0.0.0-dev-20230704200435",
28
+ "@pandacss/generator": "0.0.0-dev-20230704200435"
29
29
  },
30
30
  "files": [
31
31
  "dist"