@cloud-ru/ds-table 1.2.3 → 1.2.4
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 +6 -0
- package/dist/cjs/components/Table/components/TableScrollHost/TableScrollHost.js +2 -2
- package/dist/esm/components/Table/components/TableScrollHost/TableScrollHost.js +2 -2
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +11 -11
- package/src/components/Table/components/TableScrollHost/TableScrollHost.tsx +2 -2
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.2.4 (2026-09-30)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **FF-9155:** change scroll size from m to s ([431a4a9](https://github.com/cloud-ru-tech/snack-v2/commit/431a4a95b3197270cd47c48715e22fc8f01b4388))
|
|
11
|
+
|
|
6
12
|
## 1.2.3 (2026-09-30)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @ds/table
|
|
@@ -13,7 +13,7 @@ function TableScrollHost({ view, isMobile, isCardsView, usePageStickyHeader, scr
|
|
|
13
13
|
return ((0, jsx_runtime_1.jsxs)("div", { className: styles_module_scss_1.default.mobileTable, ref: scrollContainerRef, children: [children, (0, jsx_runtime_1.jsx)("div", { className: styles_module_scss_1.default.scrollStub, ref: scrollRef })] }));
|
|
14
14
|
}
|
|
15
15
|
if (usePageStickyHeader) {
|
|
16
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: styles_module_scss_1.default.tablePlate, children: [tableHeaderElement ? ((0, jsx_runtime_1.jsx)("div", { className: styles_module_scss_1.default.stickyTableHeader, children: (0, jsx_runtime_1.jsx)("div", { className: styles_module_scss_1.default.tableHeaderClip, children: (0, jsx_runtime_1.jsx)("div", { className: styles_module_scss_1.default.body, style: columnSizeVars, children: tableHeaderElement }) }) })) : null, (0, jsx_runtime_1.jsx)(scroll_1.Scroll, { size: '
|
|
16
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: styles_module_scss_1.default.tablePlate, children: [tableHeaderElement ? ((0, jsx_runtime_1.jsx)("div", { className: styles_module_scss_1.default.stickyTableHeader, children: (0, jsx_runtime_1.jsx)("div", { className: styles_module_scss_1.default.tableHeaderClip, children: (0, jsx_runtime_1.jsx)("div", { className: styles_module_scss_1.default.body, style: columnSizeVars, children: tableHeaderElement }) }) })) : null, (0, jsx_runtime_1.jsx)(scroll_1.Scroll, { size: 's', className: (0, classnames_1.default)(styles_module_scss_1.default.table, styles_module_scss_1.default.tableBodyScrollHost), ref: internalScrollRef, onInitialized: handleScrollInitialized, onScroll: syncHeaderHorizontalScroll, "data-view": view, overflow: scrollOverflow, paddingAbsolute: scrollPaddingAbsolute || undefined, children: children }), (0, jsx_runtime_1.jsx)("div", { className: styles_module_scss_1.default.scrollStub, ref: scrollRef })] }));
|
|
17
17
|
}
|
|
18
|
-
return ((0, jsx_runtime_1.jsxs)(scroll_1.Scroll, { size: '
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)(scroll_1.Scroll, { size: 's', className: styles_module_scss_1.default.table, ref: internalScrollRef, onInitialized: handleScrollInitialized, "data-view": view, overflow: scrollOverflow, children: [children, (0, jsx_runtime_1.jsx)("div", { className: styles_module_scss_1.default.scrollStub, ref: scrollRef })] }));
|
|
19
19
|
}
|
|
@@ -7,7 +7,7 @@ export function TableScrollHost({ view, isMobile, isCardsView, usePageStickyHead
|
|
|
7
7
|
return (_jsxs("div", { className: styles.mobileTable, ref: scrollContainerRef, children: [children, _jsx("div", { className: styles.scrollStub, ref: scrollRef })] }));
|
|
8
8
|
}
|
|
9
9
|
if (usePageStickyHeader) {
|
|
10
|
-
return (_jsxs("div", { className: styles.tablePlate, children: [tableHeaderElement ? (_jsx("div", { className: styles.stickyTableHeader, children: _jsx("div", { className: styles.tableHeaderClip, children: _jsx("div", { className: styles.body, style: columnSizeVars, children: tableHeaderElement }) }) })) : null, _jsx(Scroll, { size: '
|
|
10
|
+
return (_jsxs("div", { className: styles.tablePlate, children: [tableHeaderElement ? (_jsx("div", { className: styles.stickyTableHeader, children: _jsx("div", { className: styles.tableHeaderClip, children: _jsx("div", { className: styles.body, style: columnSizeVars, children: tableHeaderElement }) }) })) : null, _jsx(Scroll, { size: 's', className: cn(styles.table, styles.tableBodyScrollHost), ref: internalScrollRef, onInitialized: handleScrollInitialized, onScroll: syncHeaderHorizontalScroll, "data-view": view, overflow: scrollOverflow, paddingAbsolute: scrollPaddingAbsolute || undefined, children: children }), _jsx("div", { className: styles.scrollStub, ref: scrollRef })] }));
|
|
11
11
|
}
|
|
12
|
-
return (_jsxs(Scroll, { size: '
|
|
12
|
+
return (_jsxs(Scroll, { size: 's', className: styles.table, ref: internalScrollRef, onInitialized: handleScrollInitialized, "data-view": view, overflow: scrollOverflow, children: [children, _jsx("div", { className: styles.scrollStub, ref: scrollRef })] }));
|
|
13
13
|
}
|