@pandacss/language-server 0.0.0-dev-20230703135247 → 0.0.0-dev-20230703165042

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -2
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -21550,7 +21550,7 @@ ${u}`),i?cmt(u):u}catch(r){throw r instanceof LYt&&(Hd.error("sheet",r.message),
21550
21550
 
21551
21551
  return Object.assign(cvaFn, {
21552
21552
  __cva__: true,
21553
- variants: variantMap,
21553
+ variantMap,
21554
21554
  variantKeys,
21555
21555
  resolve,
21556
21556
  config,
@@ -21691,6 +21691,7 @@ function mergeProps(...sources) {
21691
21691
  }
21692
21692
 
21693
21693
  // src/walk-object.ts
21694
+ var isNotNullish = (element) => element != null;
21694
21695
  function walkObject(target, predicate, options = {}) {
21695
21696
  const { stop, getKey } = options;
21696
21697
  function inner(value, path = []) {
@@ -21702,7 +21703,10 @@ function walkObject(target, predicate, options = {}) {
21702
21703
  if (stop?.(value, childPath)) {
21703
21704
  return predicate(value, path);
21704
21705
  }
21705
- result[key] = inner(child, childPath);
21706
+ const next = inner(child, childPath);
21707
+ if (isNotNullish(next)) {
21708
+ result[key] = next;
21709
+ }
21706
21710
  }
21707
21711
  return result;
21708
21712
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@pandacss/language-server",
3
3
  "displayName": "Panda CSS",
4
4
  "description": "🐼 The official Panda language server",
5
- "version": "0.0.0-dev-20230703135247",
5
+ "version": "0.0.0-dev-20230703165042",
6
6
  "main": "dist/index.js",
7
7
  "repository": {
8
8
  "url": "https://github.com/chakra-ui/panda",
@@ -32,14 +32,14 @@
32
32
  "vscode-languageserver": "^8.1.0",
33
33
  "vscode-languageserver-textdocument": "^1.0.8",
34
34
  "vscode-uri": "^3.0.7",
35
- "@pandacss/core": "0.0.0-dev-20230703135247",
36
- "@pandacss/extension-shared": "0.0.0-dev-20230703135247",
37
- "@pandacss/extractor": "0.0.0-dev-20230703135247",
38
- "@pandacss/node": "0.0.0-dev-20230703135247",
39
- "@pandacss/parser": "0.0.0-dev-20230703135247",
40
- "@pandacss/shared": "0.0.0-dev-20230703135247",
41
- "@pandacss/token-dictionary": "0.0.0-dev-20230703135247",
42
- "@pandacss/types": "0.0.0-dev-20230703135247"
35
+ "@pandacss/core": "0.0.0-dev-20230703165042",
36
+ "@pandacss/extension-shared": "0.0.0-dev-20230703165042",
37
+ "@pandacss/extractor": "0.0.0-dev-20230703165042",
38
+ "@pandacss/node": "0.0.0-dev-20230703165042",
39
+ "@pandacss/parser": "0.0.0-dev-20230703165042",
40
+ "@pandacss/shared": "0.0.0-dev-20230703165042",
41
+ "@pandacss/token-dictionary": "0.0.0-dev-20230703165042",
42
+ "@pandacss/types": "0.0.0-dev-20230703165042"
43
43
  },
44
44
  "dependencies": {
45
45
  "fast-glob": "^3.2.12"