@builder.io/mitosis 0.5.32 → 0.5.33

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.
@@ -285,8 +285,9 @@ const jsxElementToJson = (node) => {
285
285
  bindingType: 'function',
286
286
  });
287
287
  }
288
- else if (types.isJSXElement(expression)) {
288
+ else if (types.isJSXElement(expression) || types.isJSXFragment(expression)) {
289
289
  // <Foo myProp={<MoreMitosisNode><div /></MoreMitosisNode>} />
290
+ // <Foo myProp={<><Node /><Node /></>} />
290
291
  const slotNode = (0, exports.jsxElementToJson)(expression);
291
292
  if (!slotNode)
292
293
  return memo;
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "name": "Builder.io",
23
23
  "url": "https://www.builder.io"
24
24
  },
25
- "version": "0.5.32",
25
+ "version": "0.5.33",
26
26
  "homepage": "https://github.com/BuilderIO/mitosis",
27
27
  "main": "./dist/src/index.js",
28
28
  "exports": {