@pandacss/studio 0.0.0-dev-20230703142716 → 0.0.0-dev-20230703201107

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/studio",
3
- "version": "0.0.0-dev-20230703142716",
3
+ "version": "0.0.0-dev-20230703201107",
4
4
  "description": "The automated token documentation for Panda CSS",
5
5
  "main": "dist/studio.js",
6
6
  "module": "dist/studio.mjs",
@@ -33,19 +33,19 @@
33
33
  "react": "18.2.0",
34
34
  "react-dom": "18.2.0",
35
35
  "vite": "4.3.9",
36
- "@pandacss/types": "0.0.0-dev-20230703142716",
37
- "@pandacss/config": "0.0.0-dev-20230703142716",
38
- "@pandacss/shared": "0.0.0-dev-20230703142716",
39
- "@pandacss/token-dictionary": "0.0.0-dev-20230703142716",
40
- "@pandacss/logger": "0.0.0-dev-20230703142716",
41
- "@pandacss/node": "0.0.0-dev-20230703142716"
36
+ "@pandacss/types": "0.0.0-dev-20230703201107",
37
+ "@pandacss/config": "0.0.0-dev-20230703201107",
38
+ "@pandacss/shared": "0.0.0-dev-20230703201107",
39
+ "@pandacss/token-dictionary": "0.0.0-dev-20230703201107",
40
+ "@pandacss/logger": "0.0.0-dev-20230703201107",
41
+ "@pandacss/node": "0.0.0-dev-20230703201107"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/react": "18.2.14",
45
45
  "@types/react-dom": "18.2.6",
46
46
  "@vitejs/plugin-react": "4.0.1",
47
47
  "execa": "7.1.1",
48
- "@pandacss/dev": "0.0.0-dev-20230703142716"
48
+ "@pandacss/dev": "0.0.0-dev-20230703201107"
49
49
  },
50
50
  "scripts": {
51
51
  "codegen": "panda",
@@ -73,6 +73,7 @@ function mergeProps(...sources) {
73
73
  }
74
74
 
75
75
  // src/walk-object.ts
76
+ var isNotNullish = (element) => element != null
76
77
  function walkObject(target, predicate, options = {}) {
77
78
  const { stop, getKey } = options
78
79
  function inner(value, path = []) {
@@ -84,7 +85,10 @@ function walkObject(target, predicate, options = {}) {
84
85
  if (stop?.(value, childPath)) {
85
86
  return predicate(value, path)
86
87
  }
87
- result[key] = inner(child, childPath)
88
+ const next = inner(child, childPath)
89
+ if (isNotNullish(next)) {
90
+ result[key] = next
91
+ }
88
92
  }
89
93
  return result
90
94
  }