@plasmicapp/react-web 0.2.421 → 0.2.422
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 +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/react-web.esm.js +1 -1
- 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-6f8097cb.js → ssr-6d9f9c44.js} +2 -2
- package/skinny/dist/ssr-6d9f9c44.js.map +1 -0
- package/skinny/dist/ssr-6f8097cb.js.map +0 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1091,7 +1091,7 @@ var PlasmicLinkInternal = React.forwardRef(function PlasmicLinkInternal(props, r
|
|
|
1091
1091
|
// all, so we treat undefined as legacy for backwards compatibility.
|
|
1092
1092
|
// https://github.com/plasmicapp/plasmic-internal/pull/2203#issuecomment-3877931788
|
|
1093
1093
|
if (props.legacyBehavior !== false) {
|
|
1094
|
-
return React.createElement(props.component, __assign({ scroll: !isFragment }, pick.apply(void 0, __spreadArray([props], __read(nextjsProps), false))), React.createElement("a", __assign({}, omit.apply(void 0, __spreadArray(__spreadArray([props], __read(INTERNAL_PROPS), false), __read(nextjsProps), false)), { ref: ref })));
|
|
1094
|
+
return React.createElement(props.component, __assign({ scroll: !isFragment, legacyBehavior: true }, pick.apply(void 0, __spreadArray([props], __read(nextjsProps), false))), React.createElement("a", __assign({}, omit.apply(void 0, __spreadArray(__spreadArray([props], __read(INTERNAL_PROPS), false), __read(nextjsProps), false)), { ref: ref })));
|
|
1095
1095
|
}
|
|
1096
1096
|
// pass props directly to Link (no nested <a>)
|
|
1097
1097
|
return React.createElement(props.component, __assign(__assign({ scroll: !isFragment }, omit.apply(void 0, __spreadArray([props], __read(INTERNAL_PROPS), false))), { ref: ref }));
|