@plasmicapp/react-web 0.2.227 → 0.2.228
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.cjs.js +3 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/react-web.esm.js +3 -2
- package/dist/react-web.esm.js.map +1 -1
- package/package.json +2 -2
- package/skinny/dist/index.js +2 -2
- package/skinny/dist/plume/checkbox/index.js +1 -1
- package/skinny/dist/plume/menu/index.js +1 -1
- package/skinny/dist/plume/menu-button/index.js +1 -1
- package/skinny/dist/plume/select/index.js +1 -1
- package/skinny/dist/plume/switch/index.js +1 -1
- package/skinny/dist/{ssr-3ce4cefe.js → ssr-04cb202c.js} +5 -4
- package/skinny/dist/ssr-04cb202c.js.map +1 -0
- package/skinny/dist/ssr-3ce4cefe.js.map +0 -1
package/dist/react-web.esm.js
CHANGED
|
@@ -1371,12 +1371,13 @@ var PlasmicLink = React__default.forwardRef(function PlasmicLink(props, ref) {
|
|
|
1371
1371
|
var _a;
|
|
1372
1372
|
// The usePlasmicLinkMaybe function may be undefined, if host is not up-to-date
|
|
1373
1373
|
var Link = (_a = usePlasmicLinkMaybe === null || usePlasmicLinkMaybe === void 0 ? void 0 : usePlasmicLinkMaybe()) !== null && _a !== void 0 ? _a : PlasmicLinkInternal;
|
|
1374
|
-
if (Link === PlasmicLink) {
|
|
1374
|
+
if (Link === PlasmicLink || Link === PlasmicLinkInternal) {
|
|
1375
1375
|
// Just in case, break the cycle
|
|
1376
1376
|
return React__default.createElement(PlasmicLinkInternal, __assign({}, props, { ref: ref }));
|
|
1377
1377
|
}
|
|
1378
1378
|
else {
|
|
1379
|
-
|
|
1379
|
+
// Don't pass component/platform props to non-PlasmicLinkInternal
|
|
1380
|
+
return React__default.createElement(Link, __assign({}, omit(props, "component", "platform"), { ref: ref }));
|
|
1380
1381
|
}
|
|
1381
1382
|
});
|
|
1382
1383
|
var PlasmicLinkInternal = React__default.forwardRef(function PlasmicLinkInternal(props, ref) {
|