@synerise/ds-table 0.52.0 → 0.53.1
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 +19 -0
- package/dist/TableHeader/TableHeader.js +1 -1
- package/dist/VirtualTable/VirtualTable.js +2 -0
- package/package.json +19 -19
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.53.1](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@0.53.0...@synerise/ds-table@0.53.1) (2024-06-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-table
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [0.53.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@0.52.0...@synerise/ds-table@0.53.0) (2024-06-05)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **table:** display total count in virtual table ([94d8d5b](https://github.com/synerise/synerise-design/commit/94d8d5b1b6e0281d9386bf467fce0f5e80a33308))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [0.52.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@0.51.4...@synerise/ds-table@0.52.0) (2024-05-31)
|
|
7
26
|
|
|
8
27
|
|
|
@@ -47,7 +47,7 @@ var TableHeader = function TableHeader(_ref) {
|
|
|
47
47
|
}, [titleRef, isTitleTruncated, title]);
|
|
48
48
|
var renderLeftSide = React.useMemo(function () {
|
|
49
49
|
if (selection != null && selection.limit) return /*#__PURE__*/React.createElement(TableLimit, {
|
|
50
|
-
total: dataSource.length,
|
|
50
|
+
total: dataSourceTotalCount || dataSource.length,
|
|
51
51
|
selection: selection,
|
|
52
52
|
itemsMenu: itemsMenu,
|
|
53
53
|
locale: locale
|
|
@@ -49,6 +49,7 @@ var VirtualTable = function VirtualTable(props, forwardedRef) {
|
|
|
49
49
|
_props$dataSource = props.dataSource,
|
|
50
50
|
dataSource = _props$dataSource === void 0 ? [] : _props$dataSource,
|
|
51
51
|
dataSourceFull = props.dataSourceFull,
|
|
52
|
+
dataSourceTotalCount = props.dataSourceTotalCount,
|
|
52
53
|
expandable = props.expandable,
|
|
53
54
|
locale = props.locale,
|
|
54
55
|
loading = props.loading,
|
|
@@ -568,6 +569,7 @@ var VirtualTable = function VirtualTable(props, forwardedRef) {
|
|
|
568
569
|
components: {
|
|
569
570
|
body: renderBody
|
|
570
571
|
},
|
|
572
|
+
dataSourceTotalCount: dataSourceTotalCount,
|
|
571
573
|
locale: tableLocale
|
|
572
574
|
}))), !!(infiniteScroll != null && infiniteScroll.showBackToTopButton) && /*#__PURE__*/React.createElement(BackToTopButton, {
|
|
573
575
|
onClick: scrollToTop
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-table",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.53.1",
|
|
4
4
|
"description": "Table UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -33,29 +33,29 @@
|
|
|
33
33
|
],
|
|
34
34
|
"types": "dist/index.d.ts",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@synerise/ds-alert": "^0.8.
|
|
36
|
+
"@synerise/ds-alert": "^0.8.15",
|
|
37
37
|
"@synerise/ds-badge": "^0.7.1",
|
|
38
|
-
"@synerise/ds-button": "^0.
|
|
39
|
-
"@synerise/ds-button-group": "^0.7.
|
|
38
|
+
"@synerise/ds-button": "^0.21.0",
|
|
39
|
+
"@synerise/ds-button-group": "^0.7.2",
|
|
40
40
|
"@synerise/ds-checkbox": "^0.12.1",
|
|
41
|
-
"@synerise/ds-column-manager": "^0.11.
|
|
41
|
+
"@synerise/ds-column-manager": "^0.11.59",
|
|
42
42
|
"@synerise/ds-data-format": "^0.5.0",
|
|
43
|
-
"@synerise/ds-dropdown": "^0.18.
|
|
43
|
+
"@synerise/ds-dropdown": "^0.18.1",
|
|
44
44
|
"@synerise/ds-flag": "^0.5.0",
|
|
45
|
-
"@synerise/ds-icon": "^0.62.
|
|
46
|
-
"@synerise/ds-input": "^0.
|
|
45
|
+
"@synerise/ds-icon": "^0.62.1",
|
|
46
|
+
"@synerise/ds-input": "^0.22.0",
|
|
47
47
|
"@synerise/ds-loader": "^0.3.9",
|
|
48
|
-
"@synerise/ds-menu": "^0.19.
|
|
49
|
-
"@synerise/ds-modal": "^0.17.
|
|
50
|
-
"@synerise/ds-pagination": "^0.7.
|
|
51
|
-
"@synerise/ds-result": "^0.6.
|
|
52
|
-
"@synerise/ds-scrollbar": "^0.11.
|
|
53
|
-
"@synerise/ds-search": "^0.8.
|
|
54
|
-
"@synerise/ds-select": "^0.16.
|
|
48
|
+
"@synerise/ds-menu": "^0.19.2",
|
|
49
|
+
"@synerise/ds-modal": "^0.17.31",
|
|
50
|
+
"@synerise/ds-pagination": "^0.7.52",
|
|
51
|
+
"@synerise/ds-result": "^0.6.57",
|
|
52
|
+
"@synerise/ds-scrollbar": "^0.11.1",
|
|
53
|
+
"@synerise/ds-search": "^0.8.94",
|
|
54
|
+
"@synerise/ds-select": "^0.16.3",
|
|
55
55
|
"@synerise/ds-skeleton": "^0.6.1",
|
|
56
|
-
"@synerise/ds-status": "^0.6.
|
|
57
|
-
"@synerise/ds-tags": "^0.9.
|
|
58
|
-
"@synerise/ds-tooltip": "^0.14.
|
|
56
|
+
"@synerise/ds-status": "^0.6.9",
|
|
57
|
+
"@synerise/ds-tags": "^0.9.1",
|
|
58
|
+
"@synerise/ds-tooltip": "^0.14.30",
|
|
59
59
|
"@synerise/ds-typography": "^0.15.0",
|
|
60
60
|
"@synerise/ds-utils": "^0.27.0",
|
|
61
61
|
"@types/react-window": "^1.8.5",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@testing-library/react": "10.0.1"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "ef835e848d4f02cca258130baa6c9f44dfa15dd0"
|
|
83
83
|
}
|