@stenajs-webui/grid 15.2.1 → 15.3.2

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
@@ -1799,7 +1799,7 @@ var columnHasSummaryCell = function (columnConfig) {
1799
1799
  return Boolean(columnConfig.renderSummaryCell || columnConfig.summaryText);
1800
1800
  };
1801
1801
 
1802
- var css_248z = ".StandardTableSummaryRow-module_summaryRow__1qAAJ td {\n border-top: 1px solid var(--lhds-color-ui-500);\n border-bottom: 1px solid var(--lhds-color-ui-500);\n }\n";
1802
+ var css_248z = ".StandardTableSummaryRow-module_summaryRow__1qAAJ td {\n border-top: 1px solid var(--lhds-color-ui-400);\n }\n";
1803
1803
  var styles = {"summaryRow":"StandardTableSummaryRow-module_summaryRow__1qAAJ"};
1804
1804
  styleInject(css_248z);
1805
1805
 
@@ -1857,8 +1857,10 @@ var getColumnsLimitedWithColSpan = function (columnOrder, columns) {
1857
1857
  var StandardTableSummaryRow = React__namespace.memo(function StandardTableSummaryRow(_a) {
1858
1858
  var items = _a.items;
1859
1859
  var groupConfigsAndIds = useGroupConfigsAndIdsForRows();
1860
- var _b = useStandardTableConfig(), showRowCheckbox = _b.showRowCheckbox, enableExpandCollapse = _b.enableExpandCollapse, columns = _b.columns;
1860
+ var _b = useStandardTableConfig(), showRowCheckbox = _b.showRowCheckbox, enableExpandCollapse = _b.enableExpandCollapse, columns = _b.columns, rowIndent = _b.rowIndent;
1861
1861
  return (React__namespace.createElement("tr", { className: styles.summaryRow },
1862
+ rowIndent && (React__namespace.createElement("td", null,
1863
+ React__namespace.createElement(core.Indent, { num: rowIndent }))),
1862
1864
  enableExpandCollapse && React__namespace.createElement("td", null),
1863
1865
  showRowCheckbox && React__namespace.createElement("td", null),
1864
1866
  groupConfigsAndIds.map(function (_a, groupIndex) {
@@ -1867,7 +1869,10 @@ var StandardTableSummaryRow = React__namespace.memo(function StandardTableSummar
1867
1869
  var columnId = _a.columnId, colSpan = _a.colSpan;
1868
1870
  return (React__namespace.createElement(SummaryCell, { key: columnId, colSpan: colSpan, columnId: columnId, items: items, borderFromGroup: getCellBorderFromGroup(groupIndex, index, groupConfig.borderLeft), disableBorderLeft: groupIndex === 0 && index === 0 }));
1869
1871
  })));
1870
- })));
1872
+ }),
1873
+ rowIndent && (React__namespace.createElement("td", null,
1874
+ React__namespace.createElement(core.Indent, { num: rowIndent }))),
1875
+ React__namespace.createElement("td", null)));
1871
1876
  });
1872
1877
 
1873
1878
  var SummaryRowSwitcher = function SummaryRowSwitcher(_a) {