@synerise/ds-table 1.7.4 → 1.7.6

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/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.7.6](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.7.5...@synerise/ds-table@1.7.6) (2025-12-19)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **table:** added testids ([4f29604](https://github.com/synerise/synerise-design/commit/4f296044edb7ef845a2b26c2a25e8c4ae3d1ea5d))
11
+
12
+ ## [1.7.5](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.7.4...@synerise/ds-table@1.7.5) (2025-12-18)
13
+
14
+ **Note:** Version bump only for package @synerise/ds-table
15
+
6
16
  ## [1.7.4](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.7.3...@synerise/ds-table@1.7.4) (2025-12-16)
7
17
 
8
18
  **Note:** Version bump only for package @synerise/ds-table
@@ -68,6 +68,7 @@ function VirtualTableRow(_ref) {
68
68
  }, [cellHeight, dataSource.length, index, infiniteScroll, style]);
69
69
  var top = infiniteScroll != null && (_infiniteScroll$prevP3 = infiniteScroll.prevPage) != null && _infiniteScroll$prevP3.hasMore ? Number(style.top) + INFINITE_LOADED_ITEM_HEIGHT + "px" : style.top;
70
70
  return /*#__PURE__*/React.createElement(React.Fragment, null, infiniteLoader('TOP'), /*#__PURE__*/React.createElement(S.RowWrapper, {
71
+ "data-row-index": index,
71
72
  className: classNames('virtual-table-row', {
72
73
  'ds-expanded-row': rowData[EXPANDED_ROW_PROPERTY]
73
74
  }),
@@ -83,6 +84,7 @@ function VirtualTableRow(_ref) {
83
84
  var firstWithSelectionAndStar = selection && rowStar && columnIndex === 2;
84
85
  var firstWithSelectionOrStar = (selection || rowStar) && columnIndex === 1;
85
86
  var firstWithoutSelectionAndStar = columnIndex === 0 && !selection && !rowStar;
87
+ var columnTitle = typeof column.title === 'string' ? column.title : column.dataIndex || column.key;
86
88
  return /*#__PURE__*/React.createElement(S.ColWrapper, {
87
89
  left: column.fixed === 'left' ? column.left : undefined,
88
90
  right: column.fixed === 'right' ? column.right : undefined,
@@ -97,6 +99,8 @@ function VirtualTableRow(_ref) {
97
99
  'ds-expanded-row-data': rowData[EXPANDED_ROW_PROPERTY] && (firstWithoutSelectionAndStar || firstWithSelectionOrStar || firstWithSelectionAndStar)
98
100
  }, isColumnSortingActive((defaultTableProps == null ? void 0 : defaultTableProps.columns) || [], column) && 'ant-table-column-sort', column.className),
99
101
  key: "row-" + index + "-column-" + (column.dataIndex || column.key),
102
+ "data-column-dataIndex": column.dataIndex || column.key,
103
+ "data-column-title": columnTitle,
100
104
  minWidth: calculateToPixelsIfDefined(column == null ? void 0 : column.minWidth),
101
105
  width: column.width,
102
106
  maxWidth: calculateToPixelsIfDefined(column == null ? void 0 : column.maxWidth)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-table",
3
- "version": "1.7.4",
3
+ "version": "1.7.6",
4
4
  "description": "Table UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
@@ -40,8 +40,8 @@
40
40
  "@synerise/ds-button": "^1.5.2",
41
41
  "@synerise/ds-button-group": "^1.1.26",
42
42
  "@synerise/ds-checkbox": "^1.2.3",
43
- "@synerise/ds-copy-icon": "^1.0.2",
44
- "@synerise/ds-dropdown": "^1.1.4",
43
+ "@synerise/ds-copy-icon": "^1.0.3",
44
+ "@synerise/ds-dropdown": "^1.1.5",
45
45
  "@synerise/ds-flag": "^1.0.6",
46
46
  "@synerise/ds-icon": "^1.9.1",
47
47
  "@synerise/ds-input": "^1.5.3",
@@ -56,7 +56,7 @@
56
56
  "@synerise/ds-skeleton": "^1.0.27",
57
57
  "@synerise/ds-status": "^1.3.2",
58
58
  "@synerise/ds-tag": "^1.4.2",
59
- "@synerise/ds-tags": "^1.5.4",
59
+ "@synerise/ds-tags": "^1.5.6",
60
60
  "@synerise/ds-tooltip": "^1.3.2",
61
61
  "@synerise/ds-typography": "^1.0.25",
62
62
  "@synerise/ds-utils": "^1.5.1",
@@ -82,5 +82,5 @@
82
82
  "react-intl": ">=3.12.0 <= 6.8",
83
83
  "styled-components": "^5.3.3"
84
84
  },
85
- "gitHead": "c610279aef2d2139973075117de1bb281b9393b6"
85
+ "gitHead": "c638fc7e1af8aea55d466a643329fe499b2b3383"
86
86
  }