@synerise/ds-table 0.44.17 → 0.45.1

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,7 +3,7 @@
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.44.17](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@0.44.16...@synerise/ds-table@0.44.17) (2022-08-04)
6
+ ## [0.45.1](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@0.45.0...@synerise/ds-table@0.45.1) (2022-08-25)
7
7
 
8
8
  **Note:** Version bump only for package @synerise/ds-table
9
9
 
@@ -11,17 +11,24 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- ## [0.44.16](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@0.44.13...@synerise/ds-table@0.44.16) (2022-08-04)
14
+ # [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)
15
15
 
16
- **Note:** Version bump only for package @synerise/ds-table
17
16
 
17
+ ### Features
18
+
19
+ * **scrollbar:** creates common interface for old and new scrollbars ([ba9956f](https://github.com/synerise/synerise-design/commit/ba9956f2a89ff9133da6b4c5a931142865e750e8))
20
+ * **scrollbar:** replace react-perfect-scrollbar by custom ([cd3b312](https://github.com/synerise/synerise-design/commit/cd3b3121adb3d398f68a48d897db6825ee0cc8c1))
18
21
 
19
22
 
20
23
 
21
24
 
22
- ## [0.44.15](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@0.44.13...@synerise/ds-table@0.44.15) (2022-08-04)
23
25
 
24
- **Note:** Version bump only for package @synerise/ds-table
26
+ ## [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)
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * **table:** add new stories of avatarLabel to show fixed cursor ([38014d6](https://github.com/synerise/synerise-design/commit/38014d6c29b92ce6f999d15221636f5b39df65f8))
25
32
 
26
33
 
27
34
 
@@ -2,14 +2,14 @@ import styled, { css } from 'styled-components';
2
2
  export var AvatarLabel = styled.div.withConfig({
3
3
  displayName: "AvatarLabelstyles__AvatarLabel",
4
4
  componentId: "sc-1485c9p-0"
5
- })(["display:inline-flex;align-items:center;justify-content:flex-start;cursor:", ";"], function (props) {
6
- return props.onClick !== undefined ? 'pointer' : 'default';
5
+ })(["display:inline-flex;align-items:center;justify-content:flex-start;", ";"], function (props) {
6
+ return props.onClick !== undefined ? 'cursor: pointer' : '';
7
7
  });
8
8
  export var Avatar = styled.div.withConfig({
9
9
  displayName: "AvatarLabelstyles__Avatar",
10
10
  componentId: "sc-1485c9p-1"
11
- })(["margin-right:16px;display:flex;align-items:center;justify-content:center;cursor:", ";"], function (props) {
12
- return props.clickable ? 'pointer' : 'default';
11
+ })(["margin-right:16px;display:flex;align-items:center;justify-content:center;", ";"], function (props) {
12
+ return props.clickable ? 'cursor: pointer' : '';
13
13
  });
14
14
  export var Description = styled.div.withConfig({
15
15
  displayName: "AvatarLabelstyles__Description",
@@ -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 Props<T> {
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 }, }: Props<T>): React.ReactElement;
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.44.17",
3
+ "version": "0.45.1",
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.5",
36
- "@synerise/ds-button": "^0.17.5",
37
- "@synerise/ds-button-group": "^0.6.12",
38
- "@synerise/ds-checkbox": "^0.11.17",
39
- "@synerise/ds-column-manager": "^0.10.22",
40
- "@synerise/ds-dropdown": "^0.17.25",
41
- "@synerise/ds-flag": "^0.3.5",
42
- "@synerise/ds-icon": "^0.49.3",
43
- "@synerise/ds-input": "^0.18.14",
44
- "@synerise/ds-loader": "^0.2.18",
45
- "@synerise/ds-menu": "^0.15.4",
46
- "@synerise/ds-pagination": "^0.7.12",
47
- "@synerise/ds-search": "^0.8.10",
48
- "@synerise/ds-search-bar": "^0.6.4",
49
- "@synerise/ds-select": "^0.14.15",
50
- "@synerise/ds-skeleton": "^0.2.17",
51
- "@synerise/ds-status": "^0.5.25",
52
- "@synerise/ds-tags": "^0.6.25",
53
- "@synerise/ds-tooltip": "^0.11.13",
54
- "@synerise/ds-typography": "^0.12.5",
35
+ "@synerise/ds-alert": "^0.7.8",
36
+ "@synerise/ds-button": "^0.17.8",
37
+ "@synerise/ds-button-group": "^0.6.15",
38
+ "@synerise/ds-checkbox": "^0.11.19",
39
+ "@synerise/ds-column-manager": "^0.10.25",
40
+ "@synerise/ds-dropdown": "^0.17.28",
41
+ "@synerise/ds-flag": "^0.3.7",
42
+ "@synerise/ds-icon": "^0.50.0",
43
+ "@synerise/ds-input": "^0.18.17",
44
+ "@synerise/ds-loader": "^0.2.20",
45
+ "@synerise/ds-menu": "^0.15.7",
46
+ "@synerise/ds-pagination": "^0.7.15",
47
+ "@synerise/ds-search": "^0.8.13",
48
+ "@synerise/ds-search-bar": "^0.6.7",
49
+ "@synerise/ds-select": "^0.14.18",
50
+ "@synerise/ds-skeleton": "^0.2.19",
51
+ "@synerise/ds-status": "^0.5.28",
52
+ "@synerise/ds-tags": "^0.6.28",
53
+ "@synerise/ds-tooltip": "^0.11.16",
54
+ "@synerise/ds-typography": "^0.12.7",
55
55
  "@synerise/ds-utils": "^0.19.0",
56
- "@types/react-window": "^1.8.2",
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.6",
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": "28486eab4b37b485cbe2a383e3ae9b8e9d789862"
69
+ "gitHead": "c9530f0548fa244796b0c6b1ea5fa3d6330e84ea"
70
70
  }