@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.
@@ -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 }));