@synerise/ds-table 1.6.4 → 1.6.6
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 +29 -88
- package/dist/Cell/InputNumber/InputNumberCell.d.ts +4 -0
- package/dist/Cell/InputNumber/InputNumberCell.js +18 -0
- package/dist/Cell/InputNumber/InputNumberCell.styles.d.ts +3 -0
- package/dist/Cell/InputNumber/InputNumberCell.styles.js +7 -0
- package/dist/Cell/InputNumber/InputNumberCell.types.d.ts +6 -0
- package/dist/Cell/InputNumber/InputNumberCell.types.js +1 -0
- package/dist/Cell/TagsGroup/TagsGroup.styles.js +3 -3
- package/dist/Cell/index.d.ts +2 -1
- package/dist/Cell/index.js +2 -1
- package/dist/InfiniteScroll/OuterListElement.js +1 -0
- package/package.json +15 -14
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,29 @@
|
|
|
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.6.6](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.6.5...@synerise/ds-table@1.6.6) (2025-10-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **table:** popup conatiner attr and tags wrapper styles ([5153e44](https://github.com/synerise/synerise-design/commit/5153e440469e7d81808ef102c70f0a38f2e6596f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [1.6.5](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.6.4...@synerise/ds-table@1.6.5) (2025-10-03)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **table:** add new cell with input number ([6a0e2a1](https://github.com/synerise/synerise-design/commit/6a0e2a1ee4a4454f28d845687548063502fe07ca))
|
|
23
|
+
* **table:** tags in table cell layout ([a072a1b](https://github.com/synerise/synerise-design/commit/a072a1ba596043c31fa9eb92bf00a5b044e94898))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
6
29
|
## [1.6.4](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.6.3...@synerise/ds-table@1.6.4) (2025-10-01)
|
|
7
30
|
|
|
8
31
|
|
|
@@ -69,171 +92,89 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
69
92
|
|
|
70
93
|
**Note:** Version bump only for package @synerise/ds-table
|
|
71
94
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
95
|
## [1.5.10](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.5.9...@synerise/ds-table@1.5.10) (2025-09-16)
|
|
77
96
|
|
|
78
97
|
**Note:** Version bump only for package @synerise/ds-table
|
|
79
98
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
99
|
## [1.5.9](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.5.8...@synerise/ds-table@1.5.9) (2025-09-05)
|
|
85
100
|
|
|
86
101
|
**Note:** Version bump only for package @synerise/ds-table
|
|
87
102
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
103
|
## [1.5.8](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.5.7...@synerise/ds-table@1.5.8) (2025-09-05)
|
|
93
104
|
|
|
94
105
|
**Note:** Version bump only for package @synerise/ds-table
|
|
95
106
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
107
|
## [1.5.7](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.5.6...@synerise/ds-table@1.5.7) (2025-09-02)
|
|
101
108
|
|
|
102
109
|
**Note:** Version bump only for package @synerise/ds-table
|
|
103
110
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
111
|
## [1.5.6](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.5.5...@synerise/ds-table@1.5.6) (2025-08-28)
|
|
109
112
|
|
|
110
|
-
|
|
111
113
|
### Bug Fixes
|
|
112
114
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
- **table:** batch selection tooltip fixed ([cdc5b80](https://github.com/synerise/synerise-design/commit/cdc5b80d5a9af3dd87aef6c4f8fbc02be7d2ae9c))
|
|
118
116
|
|
|
119
117
|
## [1.5.5](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.5.4...@synerise/ds-table@1.5.5) (2025-08-21)
|
|
120
118
|
|
|
121
|
-
|
|
122
119
|
### Bug Fixes
|
|
123
120
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
121
|
+
- **table:** row selection checked state ([d379390](https://github.com/synerise/synerise-design/commit/d3793909ab9e080918e34f41532ef73370b24380))
|
|
129
122
|
|
|
130
123
|
## [1.5.4](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.5.3...@synerise/ds-table@1.5.4) (2025-08-20)
|
|
131
124
|
|
|
132
125
|
**Note:** Version bump only for package @synerise/ds-table
|
|
133
126
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
127
|
## [1.5.3](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.5.2...@synerise/ds-table@1.5.3) (2025-08-14)
|
|
139
128
|
|
|
140
129
|
**Note:** Version bump only for package @synerise/ds-table
|
|
141
130
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
131
|
## [1.5.2](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.5.1...@synerise/ds-table@1.5.2) (2025-07-25)
|
|
147
132
|
|
|
148
|
-
|
|
149
133
|
### Bug Fixes
|
|
150
134
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
135
|
+
- **table:** fix condition ([9e69596](https://github.com/synerise/synerise-design/commit/9e695967427610cff7d214a7c981559a67700d72))
|
|
156
136
|
|
|
157
137
|
## [1.5.1](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.5.0...@synerise/ds-table@1.5.1) (2025-07-24)
|
|
158
138
|
|
|
159
139
|
**Note:** Version bump only for package @synerise/ds-table
|
|
160
140
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
141
|
# [1.5.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.4.3...@synerise/ds-table@1.5.0) (2025-07-24)
|
|
166
142
|
|
|
167
|
-
|
|
168
143
|
### Features
|
|
169
144
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
145
|
+
- **table:** global selection ([358b8e2](https://github.com/synerise/synerise-design/commit/358b8e2ac1af14fe3e36b34cc1a35615801bae44))
|
|
175
146
|
|
|
176
147
|
## [1.4.3](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.4.2...@synerise/ds-table@1.4.3) (2025-07-17)
|
|
177
148
|
|
|
178
149
|
**Note:** Version bump only for package @synerise/ds-table
|
|
179
150
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
151
|
## [1.4.2](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.4.1...@synerise/ds-table@1.4.2) (2025-07-15)
|
|
185
152
|
|
|
186
153
|
**Note:** Version bump only for package @synerise/ds-table
|
|
187
154
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
155
|
## [1.4.1](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.4.0...@synerise/ds-table@1.4.1) (2025-07-08)
|
|
193
156
|
|
|
194
157
|
**Note:** Version bump only for package @synerise/ds-table
|
|
195
158
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
159
|
# [1.4.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.3.2...@synerise/ds-table@1.4.0) (2025-07-04)
|
|
201
160
|
|
|
202
|
-
|
|
203
161
|
### Features
|
|
204
162
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
163
|
+
- **table:** adds stopPropagation to handleCopy ([42680aa](https://github.com/synerise/synerise-design/commit/42680aa5b4c90845587f2a53e0f79aa3714c9fb1))
|
|
210
164
|
|
|
211
165
|
## [1.3.2](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.3.1...@synerise/ds-table@1.3.2) (2025-07-01)
|
|
212
166
|
|
|
213
167
|
**Note:** Version bump only for package @synerise/ds-table
|
|
214
168
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
169
|
## [1.3.1](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.3.0...@synerise/ds-table@1.3.1) (2025-06-26)
|
|
220
170
|
|
|
221
171
|
**Note:** Version bump only for package @synerise/ds-table
|
|
222
172
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
173
|
# [1.3.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.2.2...@synerise/ds-table@1.3.0) (2025-06-24)
|
|
228
174
|
|
|
229
|
-
|
|
230
175
|
### Features
|
|
231
176
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
177
|
+
- **table:** disabled prop for 3 cell types ([0c52c2c](https://github.com/synerise/synerise-design/commit/0c52c2c74eb7b91bb0cca0be18c9da916f5902bb))
|
|
237
178
|
|
|
238
179
|
## [1.2.2](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.2.1...@synerise/ds-table@1.2.2) (2025-06-12)
|
|
239
180
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var _excluded = ["inputNumberProps", "disabled"];
|
|
2
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import InputNumber from '@synerise/ds-input-number';
|
|
6
|
+
import * as S from './InputNumberCell.styles';
|
|
7
|
+
var InputNumberCell = function InputNumberCell(_ref) {
|
|
8
|
+
var inputNumberProps = _ref.inputNumberProps,
|
|
9
|
+
disabled = _ref.disabled,
|
|
10
|
+
htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
11
|
+
return /*#__PURE__*/React.createElement(S.InputNumberCell, _extends({}, htmlAttributes, {
|
|
12
|
+
isDisabled: disabled
|
|
13
|
+
}), /*#__PURE__*/React.createElement(InputNumber, _extends({
|
|
14
|
+
raw: true,
|
|
15
|
+
disabled: disabled
|
|
16
|
+
}, inputNumberProps)));
|
|
17
|
+
};
|
|
18
|
+
export default InputNumberCell;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export var InputNumberCell = styled.div.withConfig({
|
|
3
|
+
displayName: "InputNumberCellstyles__InputNumberCell",
|
|
4
|
+
componentId: "sc-iguxfm-0"
|
|
5
|
+
})(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;", " max-width:100%;min-width:80px;"], function (props) {
|
|
6
|
+
return props.isDisabled && "\n opacity: 0.4;\n pointer-events: none;\n ";
|
|
7
|
+
});
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type InputNumberProps } from '@synerise/ds-input-number';
|
|
2
|
+
import { type WithHTMLAttributes } from '@synerise/ds-utils';
|
|
3
|
+
export type InputNumberCellProps = WithHTMLAttributes<HTMLDivElement, {
|
|
4
|
+
inputNumberProps?: InputNumberProps;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
|
-
import {
|
|
2
|
+
import { Container, SelectedTags } from '@synerise/ds-tags/dist/Tags.styles';
|
|
3
3
|
import { AddTagButton } from '@synerise/ds-tags/dist/components/AddTags/AddTags.styles';
|
|
4
4
|
export var TagsGroupWrapper = styled.div.withConfig({
|
|
5
5
|
displayName: "TagsGroupstyles__TagsGroupWrapper",
|
|
6
6
|
componentId: "sc-a6dl1s-0"
|
|
7
|
-
})(["", "{margin-bottom:0;}", "{flex-flow:nowrap;}", ""],
|
|
8
|
-
return props.isDisabled ? "\n opacity: 0.4;\n pointer-events: none;\n " : "\n " + AddTagButton + AddTagButton + AddTagButton + " svg {\n transition: none;\n }\n " + AddTagButton + " {\n visibility: hidden;\n }\n tr:hover &, \n .virtual-table-row:hover & {\n " + AddTagButton + " {\n visibility: visible;\n }\n }\n ";
|
|
7
|
+
})(["min-width:0;", "{margin-bottom:0;}", "{flex-flow:nowrap;}", ""], Container, SelectedTags, function (props) {
|
|
8
|
+
return props.isDisabled ? "\n opacity: 0.4;\n pointer-events: none;\n " : "\n " + AddTagButton + AddTagButton + AddTagButton + " svg {\n transition: none;\n }\n " + (!props.isEmpty && AddTagButton + " {\n flex-shrink: 0\n }") + "\n " + AddTagButton + ":not(:focus) {\n visibility: hidden;\n }\n tr:hover &, \n .virtual-table-row:hover & {\n " + AddTagButton + " {\n visibility: visible;\n }\n }\n ";
|
|
9
9
|
});
|
package/dist/Cell/index.d.ts
CHANGED
|
@@ -5,9 +5,10 @@ import EditableCell from './Editable/EditableCell';
|
|
|
5
5
|
import FlagLabelCell from './FlagLabel/FlagLabelCell';
|
|
6
6
|
import IconLabelCell from './IconLabel/IconLabel';
|
|
7
7
|
import IconTooltipCell from './IconTooltipCell/IconTooltipCell';
|
|
8
|
+
import InputNumberCell from './InputNumber/InputNumberCell';
|
|
8
9
|
import LabelsWithShowMore from './LabelsWithShowMore/LabelsWithShowMore';
|
|
9
10
|
import StarCell from './Star/StarCell';
|
|
10
11
|
import StatusLabelCell from './StatusLabel/StatusLabel';
|
|
11
12
|
import TagIconCell from './TagIcon/TagIcon';
|
|
12
13
|
import { TagsGroupCell } from './TagsGroup/TagsGroup';
|
|
13
|
-
export { IconLabelCell, IconTooltipCell, StatusLabelCell, AvatarLabelCell, TagIconCell, EditableCell, CopyableCell, ActionCell, FlagLabelCell, StarCell, LabelsWithShowMore, TagsGroupCell, };
|
|
14
|
+
export { IconLabelCell, IconTooltipCell, InputNumberCell, StatusLabelCell, AvatarLabelCell, TagIconCell, EditableCell, CopyableCell, ActionCell, FlagLabelCell, StarCell, LabelsWithShowMore, TagsGroupCell, };
|
package/dist/Cell/index.js
CHANGED
|
@@ -5,9 +5,10 @@ import EditableCell from './Editable/EditableCell';
|
|
|
5
5
|
import FlagLabelCell from './FlagLabel/FlagLabelCell';
|
|
6
6
|
import IconLabelCell from './IconLabel/IconLabel';
|
|
7
7
|
import IconTooltipCell from './IconTooltipCell/IconTooltipCell';
|
|
8
|
+
import InputNumberCell from './InputNumber/InputNumberCell';
|
|
8
9
|
import LabelsWithShowMore from './LabelsWithShowMore/LabelsWithShowMore';
|
|
9
10
|
import StarCell from './Star/StarCell';
|
|
10
11
|
import StatusLabelCell from './StatusLabel/StatusLabel';
|
|
11
12
|
import TagIconCell from './TagIcon/TagIcon';
|
|
12
13
|
import { TagsGroupCell } from './TagsGroup/TagsGroup';
|
|
13
|
-
export { IconLabelCell, IconTooltipCell, StatusLabelCell, AvatarLabelCell, TagIconCell, EditableCell, CopyableCell, ActionCell, FlagLabelCell, StarCell, LabelsWithShowMore, TagsGroupCell };
|
|
14
|
+
export { IconLabelCell, IconTooltipCell, InputNumberCell, StatusLabelCell, AvatarLabelCell, TagIconCell, EditableCell, CopyableCell, ActionCell, FlagLabelCell, StarCell, LabelsWithShowMore, TagsGroupCell };
|
|
@@ -44,6 +44,7 @@ var OuterListElement = function OuterListElement(containerRef, isSticky) {
|
|
|
44
44
|
ref: ref,
|
|
45
45
|
onWheel: onWheelHandler,
|
|
46
46
|
"data-testid": "virtual-table-scrollable-window-sticky",
|
|
47
|
+
"data-popup-container": true,
|
|
47
48
|
style: _extends({}, rest, {
|
|
48
49
|
maxHeight: height
|
|
49
50
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-table",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.6",
|
|
4
4
|
"description": "Table UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -35,25 +35,26 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-alert": "^1.1.
|
|
38
|
+
"@synerise/ds-alert": "^1.1.21",
|
|
39
39
|
"@synerise/ds-badge": "^1.0.23",
|
|
40
|
-
"@synerise/ds-button": "^1.4.
|
|
41
|
-
"@synerise/ds-button-group": "^1.1.
|
|
40
|
+
"@synerise/ds-button": "^1.4.13",
|
|
41
|
+
"@synerise/ds-button-group": "^1.1.20",
|
|
42
42
|
"@synerise/ds-checkbox": "^1.1.9",
|
|
43
|
-
"@synerise/ds-dropdown": "^1.0.
|
|
43
|
+
"@synerise/ds-dropdown": "^1.0.30",
|
|
44
44
|
"@synerise/ds-flag": "^1.0.5",
|
|
45
45
|
"@synerise/ds-icon": "^1.7.2",
|
|
46
|
-
"@synerise/ds-input": "^1.3.
|
|
46
|
+
"@synerise/ds-input": "^1.3.13",
|
|
47
|
+
"@synerise/ds-input-number": "^1.2.12",
|
|
47
48
|
"@synerise/ds-loader": "^1.0.10",
|
|
48
|
-
"@synerise/ds-menu": "^1.0.
|
|
49
|
-
"@synerise/ds-modal": "^1.2.
|
|
50
|
-
"@synerise/ds-result": "^1.0.
|
|
49
|
+
"@synerise/ds-menu": "^1.0.27",
|
|
50
|
+
"@synerise/ds-modal": "^1.2.13",
|
|
51
|
+
"@synerise/ds-result": "^1.0.26",
|
|
51
52
|
"@synerise/ds-scrollbar": "^1.1.8",
|
|
52
|
-
"@synerise/ds-search": "^1.3.
|
|
53
|
+
"@synerise/ds-search": "^1.3.6",
|
|
53
54
|
"@synerise/ds-skeleton": "^1.0.23",
|
|
54
|
-
"@synerise/ds-status": "^1.2.
|
|
55
|
-
"@synerise/ds-tag": "^1.3.
|
|
56
|
-
"@synerise/ds-tags": "^1.4.
|
|
55
|
+
"@synerise/ds-status": "^1.2.17",
|
|
56
|
+
"@synerise/ds-tag": "^1.3.1",
|
|
57
|
+
"@synerise/ds-tags": "^1.4.5",
|
|
57
58
|
"@synerise/ds-tooltip": "^1.2.0",
|
|
58
59
|
"@synerise/ds-typography": "^1.0.21",
|
|
59
60
|
"@synerise/ds-utils": "^1.4.2",
|
|
@@ -75,5 +76,5 @@
|
|
|
75
76
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
76
77
|
"styled-components": "^5.3.3"
|
|
77
78
|
},
|
|
78
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "b93cc50e96540d3174fcf1c673d424d0ff57c5ef"
|
|
79
80
|
}
|