@thecb/components 8.4.2 → 8.4.3-beta.1

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 CHANGED
@@ -41250,6 +41250,10 @@ var EditableTable = function EditableTable(_ref) {
41250
41250
  var TableListItem = function TableListItem(_ref) {
41251
41251
  var title = _ref.title,
41252
41252
  value = _ref.value,
41253
+ _ref$onClick = _ref.onClick,
41254
+ onClick = _ref$onClick === void 0 ? noop : _ref$onClick,
41255
+ _ref$hoverBackgroundC = _ref.hoverBackgroundColor,
41256
+ hoverBackgroundColor = _ref$hoverBackgroundC === void 0 ? undefined : _ref$hoverBackgroundC,
41253
41257
  _ref$canEdit = _ref.canEdit,
41254
41258
  canEdit = _ref$canEdit === void 0 ? false : _ref$canEdit,
41255
41259
  _ref$canRemove = _ref.canRemove,
@@ -41258,9 +41262,10 @@ var TableListItem = function TableListItem(_ref) {
41258
41262
  borderTopItem = _ref.borderTopItem;
41259
41263
  return /*#__PURE__*/React__default.createElement(Box, {
41260
41264
  padding: "0px",
41261
- extraStyles: "&:last-child {\n > * {\n border-bottom: none;\n }\n }\n ".concat(isMobile && borderTopItem && "&:first-child {\n > * {\n border-top: 1px solid ".concat(GHOST_GREY, ";\n }\n }"), "\n ")
41265
+ extraStyles: "&:last-child {\n > * {\n border-bottom: none;\n }\n }\n ".concat(isMobile && borderTopItem && "&:first-child {\n > * {\n border-top: 1px solid ".concat(GHOST_GREY, ";\n }\n }"), "\n ").concat(hoverBackgroundColor && "&:hover {\n background-color: ".concat(hoverBackgroundColor, ";\n cursor: pointer;\n }"), "\n ")
41262
41266
  }, /*#__PURE__*/React__default.createElement(ItemWrapper, null, /*#__PURE__*/React__default.createElement(EditableTableListItem, {
41263
- isMobile: isMobile
41267
+ isMobile: isMobile,
41268
+ onClick: onClick
41264
41269
  }, /*#__PURE__*/React__default.createElement(TableItemKey, {
41265
41270
  isMobile: isMobile
41266
41271
  }, /*#__PURE__*/React__default.createElement(Text$1, {