@7shifts/sous-chef 3.45.3 → 3.45.4
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.css +2 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -892,6 +892,7 @@ var ButtonElement = React.forwardRef(function (_ref2, ref) {
|
|
|
892
892
|
}, React__default.createElement("a", _extends({}, commonProps, rest, {
|
|
893
893
|
href: href,
|
|
894
894
|
target: target,
|
|
895
|
+
rel: target === BUTTON_TARGETS.BLANK ? 'noopener noreferrer' : '',
|
|
895
896
|
"aria-disabled": disabled,
|
|
896
897
|
ref: ref
|
|
897
898
|
}), children));
|
|
@@ -5853,7 +5854,8 @@ var Link = function Link(_ref) {
|
|
|
5853
5854
|
className: classnames(styles$8['link'], (_classNames = {}, _classNames[styles$8['link--primary']] = theme === LINK_THEME.PRIMARY, _classNames[styles$8['link--contrast']] = theme === LINK_THEME.CONTRAST, _classNames)),
|
|
5854
5855
|
href: href,
|
|
5855
5856
|
target: target,
|
|
5856
|
-
onClick: onClick
|
|
5857
|
+
onClick: onClick,
|
|
5858
|
+
rel: target === LINK_TARGET.BLANK ? 'noopener noreferrer' : ''
|
|
5857
5859
|
}), children);
|
|
5858
5860
|
};
|
|
5859
5861
|
|