@thecb/components 8.4.3-beta.1 → 8.4.3-beta.3

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.d.ts CHANGED
@@ -953,6 +953,7 @@ interface TableListItemProps {
953
953
  title: string | JSX.Element;
954
954
  value: string | JSX.Element;
955
955
  onClick?: () => void;
956
+ hoverBackgroundColor?: string;
956
957
  canEdit?: boolean;
957
958
  canRemove?: boolean;
958
959
  isMobile?: boolean;
package/dist/index.esm.js CHANGED
@@ -41254,7 +41254,8 @@ var TableListItem = function TableListItem(_ref) {
41254
41254
  borderTopItem = _ref.borderTopItem;
41255
41255
  return /*#__PURE__*/React.createElement(Box, {
41256
41256
  padding: "0px",
41257
- 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 ")
41257
+ 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 "),
41258
+ hoverStyles: "".concat(hoverBackgroundColor && "&:hover {\n color: ".concat(WHITE, ";\n background-color: ").concat(hoverBackgroundColor, ";\n cursor: pointer;\n }"))
41258
41259
  }, /*#__PURE__*/React.createElement(ItemWrapper, null, /*#__PURE__*/React.createElement(EditableTableListItem, {
41259
41260
  isMobile: isMobile,
41260
41261
  onClick: onClick