@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/react-web.esm.js
CHANGED
|
@@ -1072,7 +1072,7 @@ var PlasmicLinkInternal = React__default.forwardRef(function PlasmicLinkInternal
|
|
|
1072
1072
|
// all, so we treat undefined as legacy for backwards compatibility.
|
|
1073
1073
|
// https://github.com/plasmicapp/plasmic-internal/pull/2203#issuecomment-3877931788
|
|
1074
1074
|
if (props.legacyBehavior !== false) {
|
|
1075
|
-
return React__default.createElement(props.component, __assign({ scroll: !isFragment }, pick.apply(void 0, __spreadArray([props], __read(nextjsProps), false))), React__default.createElement("a", __assign({}, omit.apply(void 0, __spreadArray(__spreadArray([props], __read(INTERNAL_PROPS), false), __read(nextjsProps), false)), { ref: ref })));
|
|
1075
|
+
return React__default.createElement(props.component, __assign({ scroll: !isFragment, legacyBehavior: true }, pick.apply(void 0, __spreadArray([props], __read(nextjsProps), false))), React__default.createElement("a", __assign({}, omit.apply(void 0, __spreadArray(__spreadArray([props], __read(INTERNAL_PROPS), false), __read(nextjsProps), false)), { ref: ref })));
|
|
1076
1076
|
}
|
|
1077
1077
|
// pass props directly to Link (no nested <a>)
|
|
1078
1078
|
return React__default.createElement(props.component, __assign(__assign({ scroll: !isFragment }, omit.apply(void 0, __spreadArray([props], __read(INTERNAL_PROPS), false))), { ref: ref }));
|