react-better-html 1.1.105 → 1.1.106
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.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6823,7 +6823,7 @@ var TableStyledComponent = styled10.table.withConfig({
|
|
|
6823
6823
|
${(props) => props.withHover ? css2`
|
|
6824
6824
|
transition: ${props.theme.styles.transition};
|
|
6825
6825
|
|
|
6826
|
-
&:not(.isHeader):hover {
|
|
6826
|
+
&:not(.isHeader):not(.isFooter):not(.withoutHover):hover {
|
|
6827
6827
|
filter: brightness(${props.colorTheme === "light" ? "0.95" : "0.85"});
|
|
6828
6828
|
}
|
|
6829
6829
|
` : ""}
|
|
@@ -7249,7 +7249,7 @@ var TableComponent = forwardRef15(function Table({
|
|
|
7249
7249
|
},
|
|
7250
7250
|
column.type + column.label + index
|
|
7251
7251
|
)) }) }),
|
|
7252
|
-
/* @__PURE__ */ jsx20("tbody", { children: isLoading ? /* @__PURE__ */ jsx20("tr", { children: /* @__PURE__ */ jsx20("td", { className: "noData", colSpan: columns.length, children: /* @__PURE__ */ jsx20(Loader_default.box, {}) }) }) : dataAfterPagination.length > 0 ? dataAfterPagination.map((item, rowIndex) => /* @__PURE__ */ jsx20(
|
|
7252
|
+
/* @__PURE__ */ jsx20("tbody", { children: isLoading ? /* @__PURE__ */ jsx20("tr", { className: "withoutHover", children: /* @__PURE__ */ jsx20("td", { className: "noData", colSpan: columns.length, children: /* @__PURE__ */ jsx20(Loader_default.box, {}) }) }) : dataAfterPagination.length > 0 ? dataAfterPagination.map((item, rowIndex) => /* @__PURE__ */ jsx20(
|
|
7253
7253
|
"tr",
|
|
7254
7254
|
{
|
|
7255
7255
|
className: onClickRow ? "isClickable" : void 0,
|
|
@@ -7257,7 +7257,7 @@ var TableComponent = forwardRef15(function Table({
|
|
|
7257
7257
|
children: columns.map((column, colIndex) => /* @__PURE__ */ jsx20(TdStyledComponent, { textAlign: column.align, children: renderCellContent(column, item, rowIndex) }, column.type + column.label + colIndex))
|
|
7258
7258
|
},
|
|
7259
7259
|
JSON.stringify(item) + rowIndex
|
|
7260
|
-
)) : /* @__PURE__ */ jsx20("tr", { children: /* @__PURE__ */ jsx20("td", { className: "noData", colSpan: columns.length, children: /* @__PURE__ */ jsx20(Text_default.unknown, { children: noDataItemsMessage }) }) }) }),
|
|
7260
|
+
)) : /* @__PURE__ */ jsx20("tr", { className: "withoutHover", children: /* @__PURE__ */ jsx20("td", { className: "noData", colSpan: columns.length, children: /* @__PURE__ */ jsx20(Text_default.unknown, { children: noDataItemsMessage }) }) }) }),
|
|
7261
7261
|
pageSize !== void 0 && /* @__PURE__ */ jsx20("tfoot", { children: /* @__PURE__ */ jsx20("tr", { className: "isFooter", children: /* @__PURE__ */ jsx20("td", { colSpan: columns.length, children: /* @__PURE__ */ jsxs16(
|
|
7262
7262
|
Div_default.column,
|
|
7263
7263
|
{
|