@plasmicapp/react-web 0.2.353 → 0.2.355

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": "@plasmicapp/react-web",
3
- "version": "0.2.353",
3
+ "version": "0.2.355",
4
4
  "description": "plasmic library for rendering in the presentational style",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
@@ -101,8 +101,8 @@
101
101
  "@plasmicapp/data-sources-context": "0.1.21",
102
102
  "@plasmicapp/host": "1.0.207",
103
103
  "@plasmicapp/loader-splits": "1.0.62",
104
- "@plasmicapp/nextjs-app-router": "1.0.12",
105
- "@plasmicapp/prepass": "1.0.17",
104
+ "@plasmicapp/nextjs-app-router": "1.0.13",
105
+ "@plasmicapp/prepass": "1.0.18",
106
106
  "@plasmicapp/query": "0.1.79",
107
107
  "@react-aria/checkbox": "^3.14.2",
108
108
  "@react-aria/focus": "^3.17.0",
@@ -168,5 +168,5 @@
168
168
  "react": ">=16.8.0",
169
169
  "react-dom": ">=16.8.0"
170
170
  },
171
- "gitHead": "149908327f810128f94fc24c7131f85f84da2acc"
171
+ "gitHead": "41156009880c4d47ae6c75cfbd7ed1dc4052d31a"
172
172
  }
@@ -555,7 +555,8 @@ function PlasmicSlot(props) {
555
555
  function renderPlasmicSlot(opts) {
556
556
  var as = opts.as, defaultContents = opts.defaultContents, value = opts.value, rest = __rest(opts, ["as", "defaultContents", "value"]);
557
557
  var content = value === undefined ? defaultContents : value;
558
- if (!content || (Array.isArray(content) && content.length === 0)) {
558
+ if (typeof content !== "number" &&
559
+ (!content || (Array.isArray(content) && content.length === 0))) {
559
560
  return null;
560
561
  }
561
562
  // If the content is a raw string, then we need to wrap the raw string