@synerise/ds-table 0.52.0 → 0.53.0

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,17 @@
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.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@0.52.0...@synerise/ds-table@0.53.0) (2024-06-05)
7
+
8
+
9
+ ### Features
10
+
11
+ * **table:** display total count in virtual table ([94d8d5b](https://github.com/synerise/synerise-design/commit/94d8d5b1b6e0281d9386bf467fce0f5e80a33308))
12
+
13
+
14
+
15
+
16
+
6
17
  # [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
18
 
8
19
 
@@ -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.52.0",
3
+ "version": "0.53.0",
4
4
  "description": "Table UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
@@ -38,19 +38,19 @@
38
38
  "@synerise/ds-button": "^0.20.1",
39
39
  "@synerise/ds-button-group": "^0.7.1",
40
40
  "@synerise/ds-checkbox": "^0.12.1",
41
- "@synerise/ds-column-manager": "^0.11.57",
41
+ "@synerise/ds-column-manager": "^0.11.58",
42
42
  "@synerise/ds-data-format": "^0.5.0",
43
43
  "@synerise/ds-dropdown": "^0.18.0",
44
44
  "@synerise/ds-flag": "^0.5.0",
45
45
  "@synerise/ds-icon": "^0.62.0",
46
46
  "@synerise/ds-input": "^0.21.5",
47
47
  "@synerise/ds-loader": "^0.3.9",
48
- "@synerise/ds-menu": "^0.19.0",
48
+ "@synerise/ds-menu": "^0.19.1",
49
49
  "@synerise/ds-modal": "^0.17.30",
50
50
  "@synerise/ds-pagination": "^0.7.51",
51
51
  "@synerise/ds-result": "^0.6.56",
52
52
  "@synerise/ds-scrollbar": "^0.11.0",
53
- "@synerise/ds-search": "^0.8.92",
53
+ "@synerise/ds-search": "^0.8.93",
54
54
  "@synerise/ds-select": "^0.16.2",
55
55
  "@synerise/ds-skeleton": "^0.6.1",
56
56
  "@synerise/ds-status": "^0.6.8",
@@ -79,5 +79,5 @@
79
79
  "devDependencies": {
80
80
  "@testing-library/react": "10.0.1"
81
81
  },
82
- "gitHead": "9293cda82b432c10af1d230262afcc6f08f3dd99"
82
+ "gitHead": "81acd8bf6b5fb04a22647e43d2c9289dcceb61a2"
83
83
  }