@pandacss/node 0.0.0-dev-20230118122609 → 0.0.0-dev-20230118125053

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
@@ -1028,7 +1028,7 @@ function generateLayoutGrid(ctx) {
1028
1028
  // src/generators/pattern.ts
1029
1029
  var import_shared = require("@pandacss/shared");
1030
1030
  var import_outdent17 = require("outdent");
1031
- var import_telejson = require("telejson");
1031
+ var import_javascript_stringify = require("javascript-stringify");
1032
1032
  var import_ts_pattern4 = require("ts-pattern");
1033
1033
  function generate4(ctx, name, pattern) {
1034
1034
  const { properties, transform, strict, description } = pattern;
@@ -1072,12 +1072,12 @@ function generate4(ctx, name, pattern) {
1072
1072
  import { mapObject } from '../helpers'
1073
1073
  import { css } from '../css'
1074
1074
 
1075
- const config = ${(0, import_telejson.stringify)({ transform })}
1075
+ const config = ${(0, import_javascript_stringify.stringify)({ transform })}
1076
1076
 
1077
1077
  export const ${styleFn} = (styles) => config.transform(styles, { map: mapObject })
1078
1078
 
1079
1079
  export const ${name} = (styles) => css(${styleFn}(styles))
1080
- `.replace(/"_function_([^|]*)\|(.*)"/, "$2").replace(/\\"/g, '"').replace("return", "; return").replace(";;", ";").replace("{;", "{")
1080
+ `
1081
1081
  };
1082
1082
  }
1083
1083
  function generatePattern(ctx) {
package/dist/index.mjs CHANGED
@@ -982,7 +982,7 @@ function generateLayoutGrid(ctx) {
982
982
  // src/generators/pattern.ts
983
983
  import { capitalize, dashCase, unionType } from "@pandacss/shared";
984
984
  import { outdent as outdent17 } from "outdent";
985
- import { stringify as stringify2 } from "telejson";
985
+ import { stringify as stringify2 } from "javascript-stringify";
986
986
  import { match as match4 } from "ts-pattern";
987
987
  function generate4(ctx, name, pattern) {
988
988
  const { properties, transform, strict, description } = pattern;
@@ -1031,7 +1031,7 @@ function generate4(ctx, name, pattern) {
1031
1031
  export const ${styleFn} = (styles) => config.transform(styles, { map: mapObject })
1032
1032
 
1033
1033
  export const ${name} = (styles) => css(${styleFn}(styles))
1034
- `.replace(/"_function_([^|]*)\|(.*)"/, "$2").replace(/\\"/g, '"').replace("return", "; return").replace(";;", ";").replace("{;", "{")
1034
+ `
1035
1035
  };
1036
1036
  }
1037
1037
  function generatePattern(ctx) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/node",
3
- "version": "0.0.0-dev-20230118122609",
3
+ "version": "0.0.0-dev-20230118125053",
4
4
  "description": "The core css panda library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -27,18 +27,18 @@
27
27
  "postcss": "8.4.21",
28
28
  "pkg-types": "1.0.1",
29
29
  "pluralize": "8.0.0",
30
- "telejson": "7.0.4",
30
+ "javascript-stringify": "2.1.0",
31
31
  "ts-pattern": "4.1.3",
32
32
  "ts-morph": "17.0.1",
33
- "@pandacss/types": "0.0.0-dev-20230118122609",
34
- "@pandacss/is-valid-prop": "0.0.0-dev-20230118122609",
35
- "@pandacss/error": "0.0.0-dev-20230118122609",
36
- "@pandacss/parser": "0.0.0-dev-20230118122609",
37
- "@pandacss/shared": "0.0.0-dev-20230118122609",
38
- "@pandacss/token-dictionary": "0.0.0-dev-20230118122609",
39
- "@pandacss/logger": "0.0.0-dev-20230118122609",
40
- "@pandacss/core": "0.0.0-dev-20230118122609",
41
- "@pandacss/config": "0.0.0-dev-20230118122609"
33
+ "@pandacss/types": "0.0.0-dev-20230118125053",
34
+ "@pandacss/is-valid-prop": "0.0.0-dev-20230118125053",
35
+ "@pandacss/error": "0.0.0-dev-20230118125053",
36
+ "@pandacss/parser": "0.0.0-dev-20230118125053",
37
+ "@pandacss/shared": "0.0.0-dev-20230118125053",
38
+ "@pandacss/token-dictionary": "0.0.0-dev-20230118125053",
39
+ "@pandacss/logger": "0.0.0-dev-20230118125053",
40
+ "@pandacss/core": "0.0.0-dev-20230118125053",
41
+ "@pandacss/config": "0.0.0-dev-20230118125053"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/fs-extra": "11.0.1",
@@ -46,7 +46,7 @@
46
46
  "@types/glob-parent": "^5.1.1",
47
47
  "@types/pluralize": "0.0.29",
48
48
  "@types/lodash.merge": "4.6.7",
49
- "@pandacss/fixture": "0.0.0-dev-20230118122609"
49
+ "@pandacss/fixture": "0.0.0-dev-20230118125053"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "tsup src/index.ts --format=cjs,esm --shims --dts",