react-better-html 1.1.131 → 1.1.133

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.mjs CHANGED
@@ -7318,10 +7318,6 @@ var TableStyledComponent = styled11.table.withConfig({
7318
7318
  background-color: ${(props) => props.theme.colors.backgroundSecondary};
7319
7319
  }
7320
7320
 
7321
- &.isClickable {
7322
- cursor: pointer;
7323
- }
7324
-
7325
7321
  &.isExpandRow {
7326
7322
  height: 0px;
7327
7323
 
@@ -7344,6 +7340,7 @@ var TableStyledComponent = styled11.table.withConfig({
7344
7340
  props.theme.colors.backgroundContent,
7345
7341
  props.colorTheme === "light" ? 0.05 : 0.15
7346
7342
  )};
7343
+ cursor: pointer;
7347
7344
  }
7348
7345
  ` : ""}
7349
7346
 
@@ -7400,10 +7397,12 @@ var TableComponent = forwardRef15(function Table({
7400
7397
  noDataItemsMessage = "No data available",
7401
7398
  pageSize,
7402
7399
  pageCount,
7400
+ isInsideTableExpandRow,
7403
7401
  onClickRow,
7404
7402
  onClickAllCheckboxes,
7405
7403
  onChangePage,
7406
7404
  onChangeFilter,
7405
+ onChangeFilterDataValue,
7407
7406
  ...props
7408
7407
  }, ref) {
7409
7408
  const theme2 = useTheme();
@@ -7749,6 +7748,9 @@ var TableComponent = forwardRef15(function Table({
7749
7748
  useEffect10(() => {
7750
7749
  onChangeFilter?.(filterData);
7751
7750
  }, [onChangeFilter, filterData]);
7751
+ useEffect10(() => {
7752
+ onChangeFilterDataValue?.(dataAfterFilter);
7753
+ }, [onChangeFilterDataValue, dataAfterFilter]);
7752
7754
  useImperativeHandle2(
7753
7755
  ref,
7754
7756
  () => {
@@ -7821,7 +7823,7 @@ var TableComponent = forwardRef15(function Table({
7821
7823
  /* @__PURE__ */ jsx22(
7822
7824
  "tr",
7823
7825
  {
7824
- className: onClickRow || expandColumn ? "isClickable" : void 0,
7826
+ className: isInsideTableExpandRow && onClickRow === void 0 && expandColumn === void 0 ? "withoutHover" : void 0,
7825
7827
  onClick: () => onClickRowElement(item, rowIndex),
7826
7828
  children: columns.map((column, colIndex) => /* @__PURE__ */ jsx22(
7827
7829
  TdStyledComponent,