@thecb/components 8.4.3-beta.0 → 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
|
@@ -41252,6 +41252,8 @@ var TableListItem = function TableListItem(_ref) {
|
|
|
41252
41252
|
value = _ref.value,
|
|
41253
41253
|
_ref$onClick = _ref.onClick,
|
|
41254
41254
|
onClick = _ref$onClick === void 0 ? noop : _ref$onClick,
|
|
41255
|
+
_ref$hoverBackgroundC = _ref.hoverBackgroundColor,
|
|
41256
|
+
hoverBackgroundColor = _ref$hoverBackgroundC === void 0 ? undefined : _ref$hoverBackgroundC,
|
|
41255
41257
|
_ref$canEdit = _ref.canEdit,
|
|
41256
41258
|
canEdit = _ref$canEdit === void 0 ? false : _ref$canEdit,
|
|
41257
41259
|
_ref$canRemove = _ref.canRemove,
|
|
@@ -41260,7 +41262,7 @@ var TableListItem = function TableListItem(_ref) {
|
|
|
41260
41262
|
borderTopItem = _ref.borderTopItem;
|
|
41261
41263
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
41262
41264
|
padding: "0px",
|
|
41263
|
-
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 ")
|
|
41264
41266
|
}, /*#__PURE__*/React__default.createElement(ItemWrapper, null, /*#__PURE__*/React__default.createElement(EditableTableListItem, {
|
|
41265
41267
|
isMobile: isMobile,
|
|
41266
41268
|
onClick: onClick
|