@synerise/ds-table 0.43.3 → 0.43.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 +27 -0
- package/dist/VirtualTable/VirtualTable.js +2 -0
- package/package.json +17 -17
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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
|
+
## [0.43.6](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@0.43.5...@synerise/ds-table@0.43.6) (2022-03-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-table
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.43.5](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@0.43.4...@synerise/ds-table@0.43.5) (2022-02-25)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **table:** set scroll as undefined with empty data ([b34aa69](https://github.com/synerise/synerise-design/commit/b34aa6959952c49d52fd605c844e6b77be8f69dd))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [0.43.4](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@0.43.3...@synerise/ds-table@0.43.4) (2022-02-16)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @synerise/ds-table
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
## [0.43.3](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@0.43.2...@synerise/ds-table@0.43.3) (2022-02-03)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @synerise/ds-table
|
|
@@ -332,6 +332,7 @@ function VirtualTable(props) {
|
|
|
332
332
|
};
|
|
333
333
|
|
|
334
334
|
var columnsSliceStartIndex = Number(!!selection) + Number(!!rowStar);
|
|
335
|
+
var scrollValue = !dataSource || (dataSource == null ? void 0 : dataSource.length) === 0 ? undefined : props == null ? void 0 : props.scroll;
|
|
335
336
|
return /*#__PURE__*/React.createElement(RelativeContainer, {
|
|
336
337
|
key: "relative-container",
|
|
337
338
|
ref: containerRef,
|
|
@@ -342,6 +343,7 @@ function VirtualTable(props) {
|
|
|
342
343
|
setTableWidth(offsetWidth);
|
|
343
344
|
}
|
|
344
345
|
}, /*#__PURE__*/React.createElement(DSTable, _extends({}, props, {
|
|
346
|
+
scroll: scrollValue,
|
|
345
347
|
className: classNames(className, 'virtual-table', !!infiniteScroll && 'virtual-table-infinite-scroll') // Remove columns which cause header columns indent
|
|
346
348
|
,
|
|
347
349
|
columns: mergedColumns.slice(columnsSliceStartIndex),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-table",
|
|
3
|
-
"version": "0.43.
|
|
3
|
+
"version": "0.43.6",
|
|
4
4
|
"description": "Table UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -32,25 +32,25 @@
|
|
|
32
32
|
],
|
|
33
33
|
"types": "dist/index.d.ts",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@synerise/ds-alert": "^0.
|
|
36
|
-
"@synerise/ds-button": "^0.16.
|
|
37
|
-
"@synerise/ds-button-group": "^0.6.
|
|
35
|
+
"@synerise/ds-alert": "^0.5.0",
|
|
36
|
+
"@synerise/ds-button": "^0.16.6",
|
|
37
|
+
"@synerise/ds-button-group": "^0.6.6",
|
|
38
38
|
"@synerise/ds-checkbox": "^0.11.5",
|
|
39
|
-
"@synerise/ds-column-manager": "^0.10.
|
|
40
|
-
"@synerise/ds-dropdown": "^0.17.
|
|
39
|
+
"@synerise/ds-column-manager": "^0.10.5",
|
|
40
|
+
"@synerise/ds-dropdown": "^0.17.10",
|
|
41
41
|
"@synerise/ds-flag": "^0.3.2",
|
|
42
|
-
"@synerise/ds-icon": "^0.47.
|
|
43
|
-
"@synerise/ds-input": "^0.18.
|
|
42
|
+
"@synerise/ds-icon": "^0.47.2",
|
|
43
|
+
"@synerise/ds-input": "^0.18.7",
|
|
44
44
|
"@synerise/ds-loader": "^0.2.5",
|
|
45
|
-
"@synerise/ds-menu": "^0.12.
|
|
46
|
-
"@synerise/ds-pagination": "^0.7.
|
|
47
|
-
"@synerise/ds-search": "^0.7.
|
|
48
|
-
"@synerise/ds-search-bar": "^0.5.
|
|
49
|
-
"@synerise/ds-select": "^0.14.
|
|
45
|
+
"@synerise/ds-menu": "^0.12.3",
|
|
46
|
+
"@synerise/ds-pagination": "^0.7.6",
|
|
47
|
+
"@synerise/ds-search": "^0.7.4",
|
|
48
|
+
"@synerise/ds-search-bar": "^0.5.8",
|
|
49
|
+
"@synerise/ds-select": "^0.14.8",
|
|
50
50
|
"@synerise/ds-skeleton": "^0.2.5",
|
|
51
|
-
"@synerise/ds-status": "^0.5.
|
|
52
|
-
"@synerise/ds-tags": "^0.6.
|
|
53
|
-
"@synerise/ds-tooltip": "^0.11.
|
|
51
|
+
"@synerise/ds-status": "^0.5.10",
|
|
52
|
+
"@synerise/ds-tags": "^0.6.10",
|
|
53
|
+
"@synerise/ds-tooltip": "^0.11.6",
|
|
54
54
|
"@synerise/ds-typography": "^0.12.2",
|
|
55
55
|
"@synerise/ds-utils": "^0.19.0",
|
|
56
56
|
"@types/react-window": "^1.8.2",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"antd": "^4",
|
|
66
66
|
"react": ">=16.9.0 < 17.0.0"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "a25755117a5824c9ec03e83af2d0ef6dcb3124cc"
|
|
69
69
|
}
|