plataforma-fundacao-componentes 2.22.18 → 2.22.19

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.
@@ -10035,8 +10035,9 @@ function TableWithOverflow(props) {
10035
10035
  })), React.createElement("tr", null)), React.createElement("tbody", null, (_props$lines = props.lines) === null || _props$lines === void 0 ? void 0 : _props$lines.map(function (line, lineIndex) {
10036
10036
  var _props$columns2;
10037
10037
 
10038
+ var k = line.key ? line.key : lineIndex;
10038
10039
  return React.createElement("tr", {
10039
- key: lineIndex,
10040
+ key: k,
10040
10041
  "aria-disabled": line.disabled || false
10041
10042
  }, React.createElement("td", {
10042
10043
  "data-draggable": false,
@@ -10047,7 +10048,7 @@ function TableWithOverflow(props) {
10047
10048
  var absoluteObj = atLeastOneStaticColumn && column.absolute ? column.absolute : {};
10048
10049
  return React.createElement("td", Object.assign({
10049
10050
  "data-draggable": atLeastOneStaticColumn && !Boolean(column.absolute),
10050
- key: lineIndex + "-" + column.key
10051
+ key: k + "-" + column.key
10051
10052
  }, column.props, {
10052
10053
  style: _extends({}, (_column$props2 = column.props) === null || _column$props2 === void 0 ? void 0 : _column$props2.style, absoluteObj),
10053
10054
  className: getMergedClassNames([(_column$props3 = column.props) === null || _column$props3 === void 0 ? void 0 : _column$props3.className, column.key + "-cell", atLeastOneStaticColumn && column.absolute ? 'absolute' : ''])