@synerise/ds-table 1.9.8 → 1.9.10

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,18 @@
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.10](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.9.9...@synerise/ds-table@1.9.10) (2026-03-09)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **table:** sticky scrollbar opacity on hover ([ae96fcf](https://github.com/synerise/synerise-design/commit/ae96fcf67c606e32615eb32cf36dd9a90e3d90ec))
11
+
12
+ ## [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)
13
+
14
+ ### Bug Fixes
15
+
16
+ - **table:** scrollbar offset ([c9f63ba](https://github.com/synerise/synerise-design/commit/c9f63ba6878e2ed11970135d29aa61ce5cdf53d6))
17
+
6
18
  ## [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
19
 
8
20
  **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
- }, isSticky && dataSource.length ? /*#__PURE__*/React.createElement(S.StickyScrollbarWrapper, {
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;top:calc(100% - ", ");z-index:", ";transform:translate(5px,", ");height:10px;margin-top:-10px;"], function (props) {
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);
@@ -58,5 +56,5 @@ export var VirtualTableWrapper = styled.div.withConfig({
58
56
  displayName: "VirtualTablestyles__VirtualTableWrapper",
59
57
  componentId: "sc-aehkhc-7"
60
58
  })(["", ""], function (props) {
61
- return props.isSticky ? css([".ant-table-title{position:sticky;top:", "px;z-index:99;}.ant-table-title,.ant-table-sticky-holder{transition:top 0.3s ease-in-out;}", ";"], props.titleBarTop - props.titleBarHeight, props.isHeaderVisible && css([".ant-table-title{top:", "px;}.ant-table-sticky-holder{top:", "px !important;}"], props.titleBarTop, props.titleBarTop + props.titleBarHeight)) : css(["position:relative;"]);
59
+ return props.isSticky ? css(["&:hover{.ps__rail-x.ps__rail-x{opacity:1;}}.ant-table-title{position:sticky;top:", "px;z-index:99;}.ant-table-title,.ant-table-sticky-holder{transition:top 0.3s ease-in-out;}", ";"], props.titleBarTop - props.titleBarHeight, props.isHeaderVisible && css([".ant-table-title{top:", "px;}.ant-table-sticky-holder{top:", "px !important;}"], props.titleBarTop, props.titleBarTop + props.titleBarHeight)) : css(["position:relative;"]);
62
60
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-table",
3
- "version": "1.9.8",
3
+ "version": "1.9.10",
4
4
  "description": "Table UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
@@ -35,32 +35,32 @@
35
35
  ],
36
36
  "types": "dist/index.d.ts",
37
37
  "dependencies": {
38
- "@synerise/ds-alert": "^1.1.42",
39
- "@synerise/ds-badge": "^1.0.41",
40
- "@synerise/ds-button": "^1.5.15",
41
- "@synerise/ds-button-group": "^1.1.40",
42
- "@synerise/ds-checkbox": "^1.2.17",
43
- "@synerise/ds-copy-icon": "^1.1.7",
44
- "@synerise/ds-dropdown": "^1.2.7",
38
+ "@synerise/ds-alert": "^1.1.43",
39
+ "@synerise/ds-badge": "^1.0.42",
40
+ "@synerise/ds-button": "^1.5.16",
41
+ "@synerise/ds-button-group": "^1.1.41",
42
+ "@synerise/ds-checkbox": "^1.2.19",
43
+ "@synerise/ds-copy-icon": "^1.2.0",
44
+ "@synerise/ds-dropdown": "^1.3.0",
45
45
  "@synerise/ds-flag": "^1.0.7",
46
46
  "@synerise/ds-icon": "^1.14.1",
47
- "@synerise/ds-input": "^1.6.7",
48
- "@synerise/ds-input-number": "^1.2.32",
49
- "@synerise/ds-list-item": "^1.4.7",
47
+ "@synerise/ds-input": "^1.6.8",
48
+ "@synerise/ds-input-number": "^1.2.33",
49
+ "@synerise/ds-list-item": "^1.4.8",
50
50
  "@synerise/ds-loader": "^1.0.12",
51
- "@synerise/ds-menu": "^1.4.10",
52
- "@synerise/ds-modal": "^1.3.8",
53
- "@synerise/ds-pagination": "^1.0.50",
54
- "@synerise/ds-result": "^1.0.46",
55
- "@synerise/ds-scrollbar": "^1.2.14",
56
- "@synerise/ds-search": "^1.5.7",
57
- "@synerise/ds-select": "^1.3.17",
58
- "@synerise/ds-skeleton": "^1.0.41",
59
- "@synerise/ds-status": "^1.3.15",
60
- "@synerise/ds-tag": "^1.4.15",
61
- "@synerise/ds-tags": "^1.5.23",
62
- "@synerise/ds-tooltip": "^1.4.7",
63
- "@synerise/ds-typography": "^1.1.10",
51
+ "@synerise/ds-menu": "^1.4.11",
52
+ "@synerise/ds-modal": "^1.3.9",
53
+ "@synerise/ds-pagination": "^1.0.51",
54
+ "@synerise/ds-result": "^1.0.47",
55
+ "@synerise/ds-scrollbar": "^1.2.15",
56
+ "@synerise/ds-search": "^1.5.8",
57
+ "@synerise/ds-select": "^1.3.18",
58
+ "@synerise/ds-skeleton": "^1.0.43",
59
+ "@synerise/ds-status": "^1.3.16",
60
+ "@synerise/ds-tag": "^1.4.16",
61
+ "@synerise/ds-tags": "^1.5.25",
62
+ "@synerise/ds-tooltip": "^1.4.8",
63
+ "@synerise/ds-typography": "^1.1.11",
64
64
  "@synerise/ds-utils": "^1.6.0",
65
65
  "@types/react-window": "^1.8.8",
66
66
  "classnames": "^2.5.1",
@@ -94,5 +94,5 @@
94
94
  "react-intl": ">=3.12.0 <= 6.8",
95
95
  "styled-components": "^5.3.3"
96
96
  },
97
- "gitHead": "2997f77d657c1aed2fc39901d3e0b8f88b05cc53"
97
+ "gitHead": "8dfafc5d7278f09d430f1e7499782d05c76b47c0"
98
98
  }