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.
package/dist/index.js CHANGED
@@ -10016,8 +10016,9 @@ function TableWithOverflow(props) {
10016
10016
  })), React__default.createElement("tr", null)), React__default.createElement("tbody", null, (_props$lines = props.lines) === null || _props$lines === void 0 ? void 0 : _props$lines.map(function (line, lineIndex) {
10017
10017
  var _props$columns2;
10018
10018
 
10019
+ var k = line.key ? line.key : lineIndex;
10019
10020
  return React__default.createElement("tr", {
10020
- key: lineIndex,
10021
+ key: k,
10021
10022
  "aria-disabled": line.disabled || false
10022
10023
  }, React__default.createElement("td", {
10023
10024
  "data-draggable": false,
@@ -10028,7 +10029,7 @@ function TableWithOverflow(props) {
10028
10029
  var absoluteObj = atLeastOneStaticColumn && column.absolute ? column.absolute : {};
10029
10030
  return React__default.createElement("td", Object.assign({
10030
10031
  "data-draggable": atLeastOneStaticColumn && !Boolean(column.absolute),
10031
- key: lineIndex + "-" + column.key
10032
+ key: k + "-" + column.key
10032
10033
  }, column.props, {
10033
10034
  style: _extends({}, (_column$props2 = column.props) === null || _column$props2 === void 0 ? void 0 : _column$props2.style, absoluteObj),
10034
10035
  className: getMergedClassNames([(_column$props3 = column.props) === null || _column$props3 === void 0 ? void 0 : _column$props3.className, column.key + "-cell", atLeastOneStaticColumn && column.absolute ? 'absolute' : ''])