@7shifts/sous-chef 3.45.3 → 3.45.5

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 CHANGED
@@ -2654,6 +2654,8 @@ input:disabled + ._2W10t::after {
2654
2654
  all: unset;
2655
2655
  cursor: pointer;
2656
2656
  width: 100%;
2657
+ padding: 16px;
2658
+ margin: -16px;
2657
2659
  }
2658
2660
  ._34Ht7 {
2659
2661
  transition: 0.2s ease-in-out;
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
 
@@ -9046,10 +9048,11 @@ var DataTable$1 = function DataTable(_ref) {
9046
9048
  className: classnames(styles$b['data-table__body'], (_classNames3 = {}, _classNames3[styles$b['data-table__body--no-bottom-radius']] = isShowingFooter && isShowingContent, _classNames3)),
9047
9049
  "data-testid": testId
9048
9050
  }, isShowingContent && content.map(function (item, index) {
9051
+ var _item$key;
9049
9052
  return React__default.createElement(RowItem, {
9050
9053
  item: item,
9051
9054
  columns: columns,
9052
- key: index,
9055
+ key: (_item$key = item === null || item === void 0 ? void 0 : item.key) != null ? _item$key : index,
9053
9056
  index: index,
9054
9057
  testId: testId
9055
9058
  });