@synerise/ds-table 0.44.18 → 0.45.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 +12 -0
- package/dist/VirtualTable/VirtualTableRow.d.ts +3 -3
- package/package.json +24 -24
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
|
+
# [0.45.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@0.44.14...@synerise/ds-table@0.45.0) (2022-08-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **scrollbar:** creates common interface for old and new scrollbars ([ba9956f](https://github.com/synerise/synerise-design/commit/ba9956f2a89ff9133da6b4c5a931142865e750e8))
|
|
12
|
+
* **scrollbar:** replace react-perfect-scrollbar by custom ([cd3b312](https://github.com/synerise/synerise-design/commit/cd3b3121adb3d398f68a48d897db6825ee0cc8c1))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
## [0.44.14](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@0.44.13...@synerise/ds-table@0.44.14) (2022-07-28)
|
|
7
19
|
|
|
8
20
|
|
|
@@ -2,11 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { InfiniteScrollProps } from '../InfiniteScroll/constants';
|
|
3
3
|
import { RowSelection, DSTableProps } from '../Table.types';
|
|
4
4
|
import { RowStar } from '../hooks/useRowStar';
|
|
5
|
-
interface
|
|
5
|
+
export interface VirtualTableRowProps<T> {
|
|
6
6
|
data: {
|
|
7
7
|
dataSource: T[];
|
|
8
8
|
cellHeight: number;
|
|
9
|
-
infiniteScroll: InfiniteScrollProps;
|
|
9
|
+
infiniteScroll: InfiniteScrollProps | undefined;
|
|
10
10
|
mergedColumns: any[];
|
|
11
11
|
selection?: RowSelection<T>;
|
|
12
12
|
rowStar?: RowStar<T>;
|
|
@@ -16,6 +16,6 @@ interface Props<T> {
|
|
|
16
16
|
index: number;
|
|
17
17
|
style: React.CSSProperties;
|
|
18
18
|
}
|
|
19
|
-
declare function VirtualTableRow<T extends object>({ index, style, data: { mergedColumns, onRowClick, selection, rowStar, dataSource, cellHeight, infiniteScroll, defaultTableProps }, }:
|
|
19
|
+
declare function VirtualTableRow<T extends object>({ index, style, data: { mergedColumns, onRowClick, selection, rowStar, dataSource, cellHeight, infiniteScroll, defaultTableProps }, }: VirtualTableRowProps<T>): React.ReactElement;
|
|
20
20
|
declare const _default: React.MemoExoticComponent<typeof VirtualTableRow>;
|
|
21
21
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-table",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.45.0",
|
|
4
4
|
"description": "Table UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -32,33 +32,33 @@
|
|
|
32
32
|
],
|
|
33
33
|
"types": "dist/index.d.ts",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@synerise/ds-alert": "^0.7.
|
|
36
|
-
"@synerise/ds-button": "^0.17.
|
|
37
|
-
"@synerise/ds-button-group": "^0.6.
|
|
38
|
-
"@synerise/ds-checkbox": "^0.11.
|
|
39
|
-
"@synerise/ds-column-manager": "^0.10.
|
|
40
|
-
"@synerise/ds-dropdown": "^0.17.
|
|
41
|
-
"@synerise/ds-flag": "^0.3.
|
|
42
|
-
"@synerise/ds-icon": "^0.49.
|
|
43
|
-
"@synerise/ds-input": "^0.18.
|
|
44
|
-
"@synerise/ds-loader": "^0.2.
|
|
45
|
-
"@synerise/ds-menu": "^0.15.
|
|
46
|
-
"@synerise/ds-pagination": "^0.7.
|
|
47
|
-
"@synerise/ds-search": "^0.8.
|
|
48
|
-
"@synerise/ds-search-bar": "^0.6.
|
|
49
|
-
"@synerise/ds-select": "^0.14.
|
|
50
|
-
"@synerise/ds-skeleton": "^0.2.
|
|
51
|
-
"@synerise/ds-status": "^0.5.
|
|
52
|
-
"@synerise/ds-tags": "^0.6.
|
|
53
|
-
"@synerise/ds-tooltip": "^0.11.
|
|
54
|
-
"@synerise/ds-typography": "^0.12.
|
|
35
|
+
"@synerise/ds-alert": "^0.7.7",
|
|
36
|
+
"@synerise/ds-button": "^0.17.7",
|
|
37
|
+
"@synerise/ds-button-group": "^0.6.14",
|
|
38
|
+
"@synerise/ds-checkbox": "^0.11.19",
|
|
39
|
+
"@synerise/ds-column-manager": "^0.10.24",
|
|
40
|
+
"@synerise/ds-dropdown": "^0.17.27",
|
|
41
|
+
"@synerise/ds-flag": "^0.3.7",
|
|
42
|
+
"@synerise/ds-icon": "^0.49.5",
|
|
43
|
+
"@synerise/ds-input": "^0.18.16",
|
|
44
|
+
"@synerise/ds-loader": "^0.2.20",
|
|
45
|
+
"@synerise/ds-menu": "^0.15.6",
|
|
46
|
+
"@synerise/ds-pagination": "^0.7.14",
|
|
47
|
+
"@synerise/ds-search": "^0.8.12",
|
|
48
|
+
"@synerise/ds-search-bar": "^0.6.6",
|
|
49
|
+
"@synerise/ds-select": "^0.14.17",
|
|
50
|
+
"@synerise/ds-skeleton": "^0.2.19",
|
|
51
|
+
"@synerise/ds-status": "^0.5.27",
|
|
52
|
+
"@synerise/ds-tags": "^0.6.27",
|
|
53
|
+
"@synerise/ds-tooltip": "^0.11.15",
|
|
54
|
+
"@synerise/ds-typography": "^0.12.7",
|
|
55
55
|
"@synerise/ds-utils": "^0.19.0",
|
|
56
|
-
"@types/react-window": "^1.8.
|
|
56
|
+
"@types/react-window": "^1.8.5",
|
|
57
57
|
"classnames": "^2.2.6",
|
|
58
58
|
"copy-to-clipboard": "^3.3.1",
|
|
59
59
|
"ramda": "0.27.0",
|
|
60
60
|
"rc-resize-observer": "^0.2.1",
|
|
61
|
-
"react-window": "^1.8.
|
|
61
|
+
"react-window": "^1.8.7",
|
|
62
62
|
"unit-to-px": "^1.0.5"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"antd": "^4",
|
|
67
67
|
"react": ">=16.9.0 < 17.0.0"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "a95bdd142863a7e132acf2cc4bf66e247d06a26c"
|
|
70
70
|
}
|