@synerise/ds-table 0.45.11 → 0.45.13

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,22 @@
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.45.13](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@0.45.12...@synerise/ds-table@0.45.13) (2022-09-28)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-table
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.45.12](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@0.45.11...@synerise/ds-table@0.45.12) (2022-09-27)
15
+
16
+ **Note:** Version bump only for package @synerise/ds-table
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.45.11](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@0.45.10...@synerise/ds-table@0.45.11) (2022-09-21)
7
23
 
8
24
  **Note:** Version bump only for package @synerise/ds-table
@@ -238,12 +238,13 @@ function VirtualTable(props) {
238
238
  var handleListScroll = function handleListScroll(_ref7) {
239
239
  var scrollOffset = _ref7.scrollOffset,
240
240
  scrollDirection = _ref7.scrollDirection;
241
+ var roundedOffset = Math.ceil(scrollOffset);
241
242
 
242
- if (scrollDirection === 'forward' && scrollOffset >= listHeight && typeof (infiniteScroll == null ? void 0 : infiniteScroll.onScrollEndReach) === 'function') {
243
+ if (scrollDirection === 'forward' && roundedOffset >= listHeight && typeof (infiniteScroll == null ? void 0 : infiniteScroll.onScrollEndReach) === 'function') {
243
244
  infiniteScroll.onScrollEndReach();
244
245
  }
245
246
 
246
- if (scrollDirection === 'backward' && scrollOffset === 0 && typeof (infiniteScroll == null ? void 0 : infiniteScroll.onScrollTopReach) === 'function') {
247
+ if (scrollDirection === 'backward' && roundedOffset === 0 && typeof (infiniteScroll == null ? void 0 : infiniteScroll.onScrollTopReach) === 'function') {
247
248
  infiniteScroll.onScrollTopReach();
248
249
  }
249
250
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-table",
3
- "version": "0.45.11",
3
+ "version": "0.45.13",
4
4
  "description": "Table UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
@@ -32,24 +32,24 @@
32
32
  ],
33
33
  "types": "dist/index.d.ts",
34
34
  "dependencies": {
35
- "@synerise/ds-alert": "^0.7.13",
35
+ "@synerise/ds-alert": "^0.7.14",
36
36
  "@synerise/ds-button": "^0.17.9",
37
37
  "@synerise/ds-button-group": "^0.6.16",
38
38
  "@synerise/ds-checkbox": "^0.11.24",
39
- "@synerise/ds-column-manager": "^0.10.35",
40
- "@synerise/ds-dropdown": "^0.17.37",
39
+ "@synerise/ds-column-manager": "^0.10.36",
40
+ "@synerise/ds-dropdown": "^0.17.38",
41
41
  "@synerise/ds-flag": "^0.3.7",
42
42
  "@synerise/ds-icon": "^0.51.0",
43
- "@synerise/ds-input": "^0.18.22",
43
+ "@synerise/ds-input": "^0.18.23",
44
44
  "@synerise/ds-loader": "^0.2.25",
45
45
  "@synerise/ds-menu": "^0.16.0",
46
46
  "@synerise/ds-pagination": "^0.7.16",
47
- "@synerise/ds-search": "^0.8.22",
48
- "@synerise/ds-search-bar": "^0.6.12",
49
- "@synerise/ds-select": "^0.14.23",
47
+ "@synerise/ds-search": "^0.8.23",
48
+ "@synerise/ds-search-bar": "^0.6.13",
49
+ "@synerise/ds-select": "^0.14.24",
50
50
  "@synerise/ds-skeleton": "^0.2.24",
51
- "@synerise/ds-status": "^0.5.37",
52
- "@synerise/ds-tags": "^0.6.37",
51
+ "@synerise/ds-status": "^0.5.38",
52
+ "@synerise/ds-tags": "^0.6.38",
53
53
  "@synerise/ds-tooltip": "^0.11.17",
54
54
  "@synerise/ds-typography": "^0.12.7",
55
55
  "@synerise/ds-utils": "^0.19.0",
@@ -66,5 +66,5 @@
66
66
  "antd": "^4",
67
67
  "react": ">=16.9.0 < 17.0.0"
68
68
  },
69
- "gitHead": "aef9ed09c6b307baccd74eb6a15d3134a6c7defe"
69
+ "gitHead": "07b8ee9d3f238ab4a03d04380ab9011620b55ec1"
70
70
  }