@thecb/components 8.4.3-beta.2 → 8.4.3-beta.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.d.ts CHANGED
@@ -952,8 +952,6 @@ declare const EditableTable: React.FC<Expand<EditableTableProps> &
952
952
  interface TableListItemProps {
953
953
  title: string | JSX.Element;
954
954
  value: string | JSX.Element;
955
- onClick?: () => void;
956
- hoverBackgroundColor?: string;
957
955
  canEdit?: boolean;
958
956
  canRemove?: boolean;
959
957
  isMobile?: boolean;
package/dist/index.esm.js CHANGED
@@ -41242,10 +41242,6 @@ var EditableTable = function EditableTable(_ref) {
41242
41242
  var TableListItem = function TableListItem(_ref) {
41243
41243
  var title = _ref.title,
41244
41244
  value = _ref.value,
41245
- _ref$onClick = _ref.onClick,
41246
- onClick = _ref$onClick === void 0 ? noop : _ref$onClick,
41247
- _ref$hoverBackgroundC = _ref.hoverBackgroundColor,
41248
- hoverBackgroundColor = _ref$hoverBackgroundC === void 0 ? undefined : _ref$hoverBackgroundC,
41249
41245
  _ref$canEdit = _ref.canEdit,
41250
41246
  canEdit = _ref$canEdit === void 0 ? false : _ref$canEdit,
41251
41247
  _ref$canRemove = _ref.canRemove,
@@ -41254,10 +41250,9 @@ var TableListItem = function TableListItem(_ref) {
41254
41250
  borderTopItem = _ref.borderTopItem;
41255
41251
  return /*#__PURE__*/React.createElement(Box, {
41256
41252
  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 ")
41253
+ 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
41254
  }, /*#__PURE__*/React.createElement(ItemWrapper, null, /*#__PURE__*/React.createElement(EditableTableListItem, {
41259
- isMobile: isMobile,
41260
- onClick: onClick
41255
+ isMobile: isMobile
41261
41256
  }, /*#__PURE__*/React.createElement(TableItemKey, {
41262
41257
  isMobile: isMobile
41263
41258
  }, /*#__PURE__*/React.createElement(Text$1, {
@@ -43024,7 +43019,7 @@ var LinkCard = function LinkCard(_ref) {
43024
43019
  padding: 0,
43025
43020
  width: "100%"
43026
43021
  }, /*#__PURE__*/React.createElement(Title$2, {
43027
- variant: "h6",
43022
+ variant: "h4",
43028
43023
  weight: FONT_WEIGHT_SEMIBOLD,
43029
43024
  color: themeValues.color,
43030
43025
  margin: 0