plataforma-fundacao-componentes 2.22.21 → 2.22.22

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.
@@ -9993,9 +9993,6 @@ function TableWithOverflow(props) {
9993
9993
  return prev + n;
9994
9994
  }, 8) + "px" : '8px';
9995
9995
  }, [props.columns, atLeastOneStaticColumn]);
9996
- var renderLinesKey = useMemo(function () {
9997
- return getUniqueKey();
9998
- }, [props.lines]);
9999
9996
  var columnsHeader = useMemo(function () {
10000
9997
  var _props$columns;
10001
9998
 
@@ -10004,14 +10001,14 @@ function TableWithOverflow(props) {
10004
10001
 
10005
10002
  var absoluteObj = atLeastOneStaticColumn && column.absolute ? column.absolute : {};
10006
10003
  return React.createElement("th", Object.assign({
10007
- key: "header-" + column.key,
10004
+ key: "header-" + column.key + "-" + atLeastOneStaticColumn,
10008
10005
  "data-draggable": atLeastOneStaticColumn && !Boolean(column.absolute)
10009
10006
  }, column.props, {
10010
10007
  style: _extends({}, (_column$props = column.props) === null || _column$props === void 0 ? void 0 : _column$props.style, absoluteObj),
10011
10008
  className: getMergedClassNames([column.key + "-cell", atLeastOneStaticColumn && column.absolute ? 'absolute' : ''])
10012
10009
  }), column.value);
10013
10010
  });
10014
- }, [props.columns, renderLinesKey]);
10011
+ }, [props.columns, atLeastOneStaticColumn]);
10015
10012
  var lines = useMemo(function () {
10016
10013
  var _props$lines;
10017
10014
 
@@ -10031,7 +10028,7 @@ function TableWithOverflow(props) {
10031
10028
  var absoluteObj = atLeastOneStaticColumn && column.absolute ? column.absolute : {};
10032
10029
  return React.createElement("td", Object.assign({
10033
10030
  "data-draggable": atLeastOneStaticColumn && !Boolean(column.absolute),
10034
- key: k + "-" + column.key + (column.absolute ? '' : renderLinesKey)
10031
+ key: k + "-" + column.key + "-" + atLeastOneStaticColumn
10035
10032
  }, column.props, {
10036
10033
  style: _extends({}, (_column$props2 = column.props) === null || _column$props2 === void 0 ? void 0 : _column$props2.style, absoluteObj),
10037
10034
  className: getMergedClassNames([(_column$props3 = column.props) === null || _column$props3 === void 0 ? void 0 : _column$props3.className, column.key + "-cell", atLeastOneStaticColumn && column.absolute ? 'absolute' : ''])
@@ -10040,7 +10037,7 @@ function TableWithOverflow(props) {
10040
10037
  className: 'absolute right-0'
10041
10038
  }));
10042
10039
  });
10043
- }, [props.lines, renderLinesKey]);
10040
+ }, [props.columns, props.lines, atLeastOneStaticColumn]);
10044
10041
  return React.createElement("div", {
10045
10042
  className: rootClassName$1B
10046
10043
  }, props.upperHeader ? React.createElement("div", {