@synerise/ds-table 1.9.8 → 1.9.9
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,12 @@
|
|
|
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.9.9](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.9.8...@synerise/ds-table@1.9.9) (2026-02-26)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **table:** scrollbar offset ([c9f63ba](https://github.com/synerise/synerise-design/commit/c9f63ba6878e2ed11970135d29aa61ce5cdf53d6))
|
|
11
|
+
|
|
6
12
|
## [1.9.8](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.9.7...@synerise/ds-table@1.9.8) (2026-02-23)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @synerise/ds-table
|
|
@@ -532,17 +532,7 @@ var VirtualTable = function VirtualTable(props, forwardedRef) {
|
|
|
532
532
|
key: "relative-container",
|
|
533
533
|
ref: containerRef,
|
|
534
534
|
isHeaderVisible: isHeaderVisible
|
|
535
|
-
},
|
|
536
|
-
isStuck: isStuck,
|
|
537
|
-
scrollOffset: offsetScroll || 0
|
|
538
|
-
}, /*#__PURE__*/React.createElement(Scrollbar, {
|
|
539
|
-
absolute: true,
|
|
540
|
-
onScroll: handleStickyScrollbarScroll,
|
|
541
|
-
ref: horizontalScrollRef
|
|
542
|
-
}, /*#__PURE__*/React.createElement(S.StickyScrollbarContent, {
|
|
543
|
-
ref: elementRef,
|
|
544
|
-
scrollWidth: scrollWidth
|
|
545
|
-
}))) : null, /*#__PURE__*/React.createElement(ResizeObserver, {
|
|
535
|
+
}, /*#__PURE__*/React.createElement(ResizeObserver, {
|
|
546
536
|
onResize: function onResize(_ref5) {
|
|
547
537
|
var offsetWidth = _ref5.offsetWidth;
|
|
548
538
|
setTableWidth(offsetWidth);
|
|
@@ -560,6 +550,16 @@ var VirtualTable = function VirtualTable(props, forwardedRef) {
|
|
|
560
550
|
locale: tableLocale
|
|
561
551
|
}))), !!(infiniteScroll != null && infiniteScroll.showBackToTopButton) && /*#__PURE__*/React.createElement(BackToTopButton, {
|
|
562
552
|
onClick: scrollToTop
|
|
563
|
-
}, tableLocale.infiniteScrollBackToTop)
|
|
553
|
+
}, tableLocale.infiniteScrollBackToTop), isSticky && dataSource.length ? /*#__PURE__*/React.createElement(S.StickyScrollbarWrapper, {
|
|
554
|
+
isStuck: isStuck,
|
|
555
|
+
scrollOffset: offsetScroll || 0
|
|
556
|
+
}, /*#__PURE__*/React.createElement(Scrollbar, {
|
|
557
|
+
absolute: true,
|
|
558
|
+
onScroll: handleStickyScrollbarScroll,
|
|
559
|
+
ref: horizontalScrollRef
|
|
560
|
+
}, /*#__PURE__*/React.createElement(S.StickyScrollbarContent, {
|
|
561
|
+
ref: elementRef,
|
|
562
|
+
scrollWidth: scrollWidth
|
|
563
|
+
}))) : null);
|
|
564
564
|
};
|
|
565
565
|
export default /*#__PURE__*/forwardRef(VirtualTable);
|
|
@@ -30,9 +30,7 @@ export var VirtualListWrapper = styled.div.withConfig({
|
|
|
30
30
|
export var StickyScrollbarWrapper = styled.div.withConfig({
|
|
31
31
|
displayName: "VirtualTablestyles__StickyScrollbarWrapper",
|
|
32
32
|
componentId: "sc-aehkhc-4"
|
|
33
|
-
})(["position:sticky;
|
|
34
|
-
return numberToPixels(24 + props.scrollOffset);
|
|
35
|
-
}, function (props) {
|
|
33
|
+
})(["position:sticky;bottom:10px;z-index:", ";transform:translate(5px,", ");height:10px;margin-bottom:-10px;"], function (props) {
|
|
36
34
|
return props.isStuck ? 2 : 0;
|
|
37
35
|
}, function (props) {
|
|
38
36
|
return numberToPixels(props.scrollOffset);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-table",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.9",
|
|
4
4
|
"description": "Table UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@synerise/ds-badge": "^1.0.41",
|
|
40
40
|
"@synerise/ds-button": "^1.5.15",
|
|
41
41
|
"@synerise/ds-button-group": "^1.1.40",
|
|
42
|
-
"@synerise/ds-checkbox": "^1.2.
|
|
42
|
+
"@synerise/ds-checkbox": "^1.2.18",
|
|
43
43
|
"@synerise/ds-copy-icon": "^1.1.7",
|
|
44
44
|
"@synerise/ds-dropdown": "^1.2.7",
|
|
45
45
|
"@synerise/ds-flag": "^1.0.7",
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
"@synerise/ds-scrollbar": "^1.2.14",
|
|
56
56
|
"@synerise/ds-search": "^1.5.7",
|
|
57
57
|
"@synerise/ds-select": "^1.3.17",
|
|
58
|
-
"@synerise/ds-skeleton": "^1.0.
|
|
58
|
+
"@synerise/ds-skeleton": "^1.0.42",
|
|
59
59
|
"@synerise/ds-status": "^1.3.15",
|
|
60
60
|
"@synerise/ds-tag": "^1.4.15",
|
|
61
|
-
"@synerise/ds-tags": "^1.5.
|
|
61
|
+
"@synerise/ds-tags": "^1.5.24",
|
|
62
62
|
"@synerise/ds-tooltip": "^1.4.7",
|
|
63
63
|
"@synerise/ds-typography": "^1.1.10",
|
|
64
64
|
"@synerise/ds-utils": "^1.6.0",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
95
95
|
"styled-components": "^5.3.3"
|
|
96
96
|
},
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "4ffbd56e9bf6277c4507efeaf000b66b9bb09781"
|
|
98
98
|
}
|