@thecb/components 8.4.3-beta.0 → 8.4.3-beta.2
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 +3 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +3 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/editable-table/TableListItem.js +6 -0
- package/src/components/molecules/editable-table/index.d.ts +1 -0
package/dist/index.d.ts
CHANGED
package/dist/index.esm.js
CHANGED
|
@@ -41244,6 +41244,8 @@ var TableListItem = function TableListItem(_ref) {
|
|
|
41244
41244
|
value = _ref.value,
|
|
41245
41245
|
_ref$onClick = _ref.onClick,
|
|
41246
41246
|
onClick = _ref$onClick === void 0 ? noop : _ref$onClick,
|
|
41247
|
+
_ref$hoverBackgroundC = _ref.hoverBackgroundColor,
|
|
41248
|
+
hoverBackgroundColor = _ref$hoverBackgroundC === void 0 ? undefined : _ref$hoverBackgroundC,
|
|
41247
41249
|
_ref$canEdit = _ref.canEdit,
|
|
41248
41250
|
canEdit = _ref$canEdit === void 0 ? false : _ref$canEdit,
|
|
41249
41251
|
_ref$canRemove = _ref.canRemove,
|
|
@@ -41252,7 +41254,7 @@ var TableListItem = function TableListItem(_ref) {
|
|
|
41252
41254
|
borderTopItem = _ref.borderTopItem;
|
|
41253
41255
|
return /*#__PURE__*/React.createElement(Box, {
|
|
41254
41256
|
padding: "0px",
|
|
41255
|
-
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 ")
|
|
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 ")
|
|
41256
41258
|
}, /*#__PURE__*/React.createElement(ItemWrapper, null, /*#__PURE__*/React.createElement(EditableTableListItem, {
|
|
41257
41259
|
isMobile: isMobile,
|
|
41258
41260
|
onClick: onClick
|