ywana-core8 0.0.111 → 0.0.115

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.
@@ -1070,7 +1070,7 @@ var DataTable = function DataTable(props) {
1070
1070
  size: "small",
1071
1071
  clickable: true
1072
1072
  }) : null);
1073
- }))), /*#__PURE__*/React.createElement("tbody", null, multiSort(rows, sortDir).map(function (row) {
1073
+ }), /*#__PURE__*/React.createElement("th", null))), /*#__PURE__*/React.createElement("tbody", null, multiSort(rows, sortDir).map(function (row) {
1074
1074
  return /*#__PURE__*/React.createElement(DataTableRow, {
1075
1075
  key: row.id,
1076
1076
  row: row,
@@ -1108,15 +1108,17 @@ var DataTableRow = function DataTableRow(props) {
1108
1108
  cell: row[column.id],
1109
1109
  editable: editable
1110
1110
  });
1111
- }), row.info ? /*#__PURE__*/React.createElement(Icon, {
1111
+ }), row.info ? /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement(Icon, {
1112
1112
  icon: infoIcon,
1113
1113
  clickable: true,
1114
1114
  action: function action() {
1115
1115
  return toggleInfo(!isInfoOpen);
1116
1116
  }
1117
- }) : null), row.info && isInfoOpen ? /*#__PURE__*/React.createElement("tr", {
1117
+ })) : /*#__PURE__*/React.createElement("td", null)), row.info && isInfoOpen ? /*#__PURE__*/React.createElement("tr", {
1118
1118
  className: "table-row-info"
1119
- }, isFunction$1(row.info) ? row.info() : row.info) : null);
1119
+ }, /*#__PURE__*/React.createElement("td", {
1120
+ colSpan: columns.length + 1
1121
+ }, isFunction$1(row.info) ? row.info() : row.info)) : null);
1120
1122
  };
1121
1123
  /**
1122
1124
  * DataTable Cell