@7shifts/sous-chef 3.45.2 → 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 +5 -3
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -888,6 +888,7 @@ var ButtonElement = forwardRef(function (_ref2, ref) {
|
|
|
888
888
|
}, React__default.createElement("a", _extends({}, commonProps, rest, {
|
|
889
889
|
href: href,
|
|
890
890
|
target: target,
|
|
891
|
+
rel: target === BUTTON_TARGETS.BLANK ? 'noopener noreferrer' : '',
|
|
891
892
|
"aria-disabled": disabled,
|
|
892
893
|
ref: ref
|
|
893
894
|
}), children));
|
|
@@ -5849,7 +5850,8 @@ var Link = function Link(_ref) {
|
|
|
5849
5850
|
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)),
|
|
5850
5851
|
href: href,
|
|
5851
5852
|
target: target,
|
|
5852
|
-
onClick: onClick
|
|
5853
|
+
onClick: onClick,
|
|
5854
|
+
rel: target === LINK_TARGET.BLANK ? 'noopener noreferrer' : ''
|
|
5853
5855
|
}), children);
|
|
5854
5856
|
};
|
|
5855
5857
|
|
|
@@ -7212,7 +7214,7 @@ var DropdownListItem = function DropdownListItem(_ref) {
|
|
|
7212
7214
|
};
|
|
7213
7215
|
var getCaptionColor = function getCaptionColor() {
|
|
7214
7216
|
if (selected) {
|
|
7215
|
-
return '
|
|
7217
|
+
return 'blackberry-500';
|
|
7216
7218
|
}
|
|
7217
7219
|
if (disabled) {
|
|
7218
7220
|
return 'grey-400';
|