@synerise/ds-table 1.6.4 → 1.6.5
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 +18 -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/package.json +6 -5
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.6.5](https://github.com/synerise/synerise-design/compare/@synerise/ds-table@1.6.4...@synerise/ds-table@1.6.5) (2025-10-03)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **table:** add new cell with input number ([6a0e2a1](https://github.com/synerise/synerise-design/commit/6a0e2a1ee4a4454f28d845687548063502fe07ca))
|
|
12
|
+
* **table:** tags in table cell layout ([a072a1b](https://github.com/synerise/synerise-design/commit/a072a1ba596043c31fa9eb92bf00a5b044e94898))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
## [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
19
|
|
|
8
20
|
|
|
@@ -69,171 +81,89 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
69
81
|
|
|
70
82
|
**Note:** Version bump only for package @synerise/ds-table
|
|
71
83
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
84
|
## [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
85
|
|
|
78
86
|
**Note:** Version bump only for package @synerise/ds-table
|
|
79
87
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
88
|
## [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
89
|
|
|
86
90
|
**Note:** Version bump only for package @synerise/ds-table
|
|
87
91
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
92
|
## [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
93
|
|
|
94
94
|
**Note:** Version bump only for package @synerise/ds-table
|
|
95
95
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
96
|
## [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
97
|
|
|
102
98
|
**Note:** Version bump only for package @synerise/ds-table
|
|
103
99
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
100
|
## [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
101
|
|
|
110
|
-
|
|
111
102
|
### Bug Fixes
|
|
112
103
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
104
|
+
- **table:** batch selection tooltip fixed ([cdc5b80](https://github.com/synerise/synerise-design/commit/cdc5b80d5a9af3dd87aef6c4f8fbc02be7d2ae9c))
|
|
118
105
|
|
|
119
106
|
## [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
107
|
|
|
121
|
-
|
|
122
108
|
### Bug Fixes
|
|
123
109
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
110
|
+
- **table:** row selection checked state ([d379390](https://github.com/synerise/synerise-design/commit/d3793909ab9e080918e34f41532ef73370b24380))
|
|
129
111
|
|
|
130
112
|
## [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
113
|
|
|
132
114
|
**Note:** Version bump only for package @synerise/ds-table
|
|
133
115
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
116
|
## [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
117
|
|
|
140
118
|
**Note:** Version bump only for package @synerise/ds-table
|
|
141
119
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
120
|
## [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
121
|
|
|
148
|
-
|
|
149
122
|
### Bug Fixes
|
|
150
123
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
124
|
+
- **table:** fix condition ([9e69596](https://github.com/synerise/synerise-design/commit/9e695967427610cff7d214a7c981559a67700d72))
|
|
156
125
|
|
|
157
126
|
## [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
127
|
|
|
159
128
|
**Note:** Version bump only for package @synerise/ds-table
|
|
160
129
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
130
|
# [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
131
|
|
|
167
|
-
|
|
168
132
|
### Features
|
|
169
133
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
134
|
+
- **table:** global selection ([358b8e2](https://github.com/synerise/synerise-design/commit/358b8e2ac1af14fe3e36b34cc1a35615801bae44))
|
|
175
135
|
|
|
176
136
|
## [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
137
|
|
|
178
138
|
**Note:** Version bump only for package @synerise/ds-table
|
|
179
139
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
140
|
## [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
141
|
|
|
186
142
|
**Note:** Version bump only for package @synerise/ds-table
|
|
187
143
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
144
|
## [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
145
|
|
|
194
146
|
**Note:** Version bump only for package @synerise/ds-table
|
|
195
147
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
148
|
# [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
149
|
|
|
202
|
-
|
|
203
150
|
### Features
|
|
204
151
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
152
|
+
- **table:** adds stopPropagation to handleCopy ([42680aa](https://github.com/synerise/synerise-design/commit/42680aa5b4c90845587f2a53e0f79aa3714c9fb1))
|
|
210
153
|
|
|
211
154
|
## [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
155
|
|
|
213
156
|
**Note:** Version bump only for package @synerise/ds-table
|
|
214
157
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
158
|
## [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
159
|
|
|
221
160
|
**Note:** Version bump only for package @synerise/ds-table
|
|
222
161
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
162
|
# [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
163
|
|
|
229
|
-
|
|
230
164
|
### Features
|
|
231
165
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
166
|
+
- **table:** disabled prop for 3 cell types ([0c52c2c](https://github.com/synerise/synerise-design/commit/0c52c2c74eb7b91bb0cca0be18c9da916f5902bb))
|
|
237
167
|
|
|
238
168
|
## [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
169
|
|
|
@@ -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
|
+
})(["", "{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 " + 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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-table",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.5",
|
|
4
4
|
"description": "Table UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -40,10 +40,11 @@
|
|
|
40
40
|
"@synerise/ds-button": "^1.4.12",
|
|
41
41
|
"@synerise/ds-button-group": "^1.1.19",
|
|
42
42
|
"@synerise/ds-checkbox": "^1.1.9",
|
|
43
|
-
"@synerise/ds-dropdown": "^1.0.
|
|
43
|
+
"@synerise/ds-dropdown": "^1.0.29",
|
|
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
49
|
"@synerise/ds-menu": "^1.0.26",
|
|
49
50
|
"@synerise/ds-modal": "^1.2.12",
|
|
@@ -53,7 +54,7 @@
|
|
|
53
54
|
"@synerise/ds-skeleton": "^1.0.23",
|
|
54
55
|
"@synerise/ds-status": "^1.2.16",
|
|
55
56
|
"@synerise/ds-tag": "^1.3.0",
|
|
56
|
-
"@synerise/ds-tags": "^1.4.
|
|
57
|
+
"@synerise/ds-tags": "^1.4.4",
|
|
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": "1f909e1fc4174f1c05c148338e64652a893ef926"
|
|
79
80
|
}
|