@synerise/ds-column-manager 1.2.26 → 1.2.28
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 +7 -109
- package/dist/ColumnManager.styles.d.ts +2 -14
- package/dist/ColumnManagerItem/ColumManagerItem.types.d.ts +1 -1
- package/dist/ColumnManagerList/ColumnManagerList.js +1 -2
- package/dist/ColumnManagerSortableItem/ColumnManagerSortableItem.js +1 -2
- package/package.json +18 -15
package/CHANGELOG.md
CHANGED
|
@@ -3,227 +3,125 @@
|
|
|
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.
|
|
6
|
+
## [1.2.28](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.27...@synerise/ds-column-manager@1.2.28) (2025-12-16)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
9
9
|
|
|
10
|
+
## [1.2.27](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.26...@synerise/ds-column-manager@1.2.27) (2025-12-15)
|
|
10
11
|
|
|
12
|
+
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
11
13
|
|
|
14
|
+
## [1.2.26](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.25...@synerise/ds-column-manager@1.2.26) (2025-11-28)
|
|
12
15
|
|
|
16
|
+
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
13
17
|
|
|
14
18
|
## [1.2.25](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.24...@synerise/ds-column-manager@1.2.25) (2025-11-06)
|
|
15
19
|
|
|
16
20
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
17
21
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
22
|
## [1.2.24](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.23...@synerise/ds-column-manager@1.2.24) (2025-10-31)
|
|
23
23
|
|
|
24
|
-
|
|
25
24
|
### Bug Fixes
|
|
26
25
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
- **sortable:** prevent rendering drop label when id is undef ([81898e8](https://github.com/Synerise/synerise-design/commit/81898e87348199cc540ac188b26ea0dd5e621f62))
|
|
32
27
|
|
|
33
28
|
## [1.2.23](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.22...@synerise/ds-column-manager@1.2.23) (2025-10-22)
|
|
34
29
|
|
|
35
30
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
36
31
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
32
|
## [1.2.22](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.21...@synerise/ds-column-manager@1.2.22) (2025-10-16)
|
|
42
33
|
|
|
43
34
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
44
35
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
36
|
## [1.2.21](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.20...@synerise/ds-column-manager@1.2.21) (2025-10-10)
|
|
50
37
|
|
|
51
38
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
52
39
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
40
|
## [1.2.20](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.19...@synerise/ds-column-manager@1.2.20) (2025-10-08)
|
|
58
41
|
|
|
59
42
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
60
43
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
44
|
## [1.2.19](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.18...@synerise/ds-column-manager@1.2.19) (2025-10-03)
|
|
66
45
|
|
|
67
46
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
68
47
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
48
|
## [1.2.18](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.17...@synerise/ds-column-manager@1.2.18) (2025-09-30)
|
|
74
49
|
|
|
75
50
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
76
51
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
52
|
## [1.2.17](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.16...@synerise/ds-column-manager@1.2.17) (2025-09-30)
|
|
82
53
|
|
|
83
54
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
84
55
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
56
|
## [1.2.16](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.15...@synerise/ds-column-manager@1.2.16) (2025-09-25)
|
|
90
57
|
|
|
91
58
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
92
59
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
60
|
## [1.2.15](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.14...@synerise/ds-column-manager@1.2.15) (2025-09-23)
|
|
98
61
|
|
|
99
62
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
100
63
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
64
|
## [1.2.14](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.13...@synerise/ds-column-manager@1.2.14) (2025-09-19)
|
|
106
65
|
|
|
107
66
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
108
67
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
68
|
## [1.2.13](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.12...@synerise/ds-column-manager@1.2.13) (2025-09-16)
|
|
114
69
|
|
|
115
70
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
116
71
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
72
|
## [1.2.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.11...@synerise/ds-column-manager@1.2.12) (2025-09-02)
|
|
122
73
|
|
|
123
74
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
124
75
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
76
|
## [1.2.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.10...@synerise/ds-column-manager@1.2.11) (2025-08-28)
|
|
130
77
|
|
|
131
78
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
132
79
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
80
|
## [1.2.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.9...@synerise/ds-column-manager@1.2.10) (2025-08-20)
|
|
138
81
|
|
|
139
82
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
140
83
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
84
|
## [1.2.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.8...@synerise/ds-column-manager@1.2.9) (2025-08-14)
|
|
146
85
|
|
|
147
86
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
148
87
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
88
|
## [1.2.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.7...@synerise/ds-column-manager@1.2.8) (2025-07-24)
|
|
154
89
|
|
|
155
90
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
156
91
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
92
|
## [1.2.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.6...@synerise/ds-column-manager@1.2.7) (2025-07-24)
|
|
162
93
|
|
|
163
94
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
164
95
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
96
|
## [1.2.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.5...@synerise/ds-column-manager@1.2.6) (2025-07-17)
|
|
170
97
|
|
|
171
98
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
172
99
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
100
|
## [1.2.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.4...@synerise/ds-column-manager@1.2.5) (2025-07-15)
|
|
178
101
|
|
|
179
102
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
180
103
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
104
|
## [1.2.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.3...@synerise/ds-column-manager@1.2.4) (2025-07-08)
|
|
186
105
|
|
|
187
106
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
188
107
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
108
|
## [1.2.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.2...@synerise/ds-column-manager@1.2.3) (2025-07-04)
|
|
194
109
|
|
|
195
110
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
196
111
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
112
|
## [1.2.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.1...@synerise/ds-column-manager@1.2.2) (2025-07-01)
|
|
202
113
|
|
|
203
114
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
204
115
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
116
|
## [1.2.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.0...@synerise/ds-column-manager@1.2.1) (2025-06-26)
|
|
210
117
|
|
|
211
118
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
212
119
|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
120
|
# [1.2.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.1.2...@synerise/ds-column-manager@1.2.0) (2025-06-24)
|
|
218
121
|
|
|
219
|
-
|
|
220
122
|
### Features
|
|
221
123
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
124
|
+
- **condition:** sortable lib ([8cbc3f5](https://github.com/Synerise/synerise-design/commit/8cbc3f5956ce9138f1a6b0a5eb0e7cd85bb7f4e7))
|
|
227
125
|
|
|
228
126
|
## [1.1.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.1.1...@synerise/ds-column-manager@1.1.2) (2025-06-12)
|
|
229
127
|
|
|
@@ -1,17 +1,5 @@
|
|
|
1
1
|
import Drawer from '@synerise/ds-drawer';
|
|
2
|
+
import { type StyledSearchBar } from '@synerise/ds-search-bar';
|
|
2
3
|
export declare const ColumnManager: import("styled-components").StyledComponent<typeof Drawer, any, {}, never>;
|
|
3
|
-
export declare const SearchBar:
|
|
4
|
-
onSearchChange: (value: string) => void;
|
|
5
|
-
onClearInput?: () => void;
|
|
6
|
-
placeholder: React.ReactNode;
|
|
7
|
-
clearTooltip?: React.ReactNode;
|
|
8
|
-
value: string;
|
|
9
|
-
iconLeft?: React.ReactNode;
|
|
10
|
-
autofocus?: boolean;
|
|
11
|
-
autofocusDelay?: number;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
borderRadius?: boolean;
|
|
14
|
-
clearTooltipProps?: Partial<import("@synerise/ds-tooltip").TooltipProps>;
|
|
15
|
-
valuePrefix?: React.ReactNode;
|
|
16
|
-
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "disabled" | "value" | "placeholder" | "handleInputRef" | "iconLeft" | "onSearchChange" | "onClearInput" | "clearTooltip" | "autofocus" | "autofocusDelay" | "borderRadius" | "clearTooltipProps" | "valuePrefix"> & import("@synerise/ds-utils").DataAttributes & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
4
|
+
export declare const SearchBar: StyledSearchBar;
|
|
17
5
|
export declare const ColumnManagerListWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DraggableAttributes, DraggableSyntheticListeners } from '@
|
|
1
|
+
import type { DraggableAttributes, DraggableSyntheticListeners } from '@synerise/ds-sortable';
|
|
2
2
|
import type { Column, ColumnManagerTexts } from '../ColumnManager.types';
|
|
3
3
|
export type ColumnManagerItemProps<ColumnType extends Column> = {
|
|
4
4
|
draggable?: boolean;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import React, { useMemo, useRef, useState } from 'react';
|
|
2
|
-
import { DragOverlay } from '@dnd-kit/core';
|
|
3
2
|
import Result from '@synerise/ds-result';
|
|
4
3
|
import Scrollbar from '@synerise/ds-scrollbar';
|
|
5
|
-
import { SortableContainer } from '@synerise/ds-sortable';
|
|
4
|
+
import { DragOverlay, SortableContainer } from '@synerise/ds-sortable';
|
|
6
5
|
import { useResizeObserver } from '@synerise/ds-utils';
|
|
7
6
|
import { ColumnManagerItem } from '../ColumnManagerItem/ColumnManagerItem';
|
|
8
7
|
import { ColumnManagerSortableItem } from '../ColumnManagerSortableItem/ColumnManagerSortableItem';
|
|
@@ -2,8 +2,7 @@ var _excluded = ["index", "style", "data"];
|
|
|
2
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
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
4
|
import React from 'react';
|
|
5
|
-
import { useSortable } from '@
|
|
6
|
-
import { CSS } from '@dnd-kit/utilities';
|
|
5
|
+
import { CSS, useSortable } from '@synerise/ds-sortable';
|
|
7
6
|
import { ColumnManagerItem } from '../ColumnManagerItem/ColumnManagerItem';
|
|
8
7
|
export var ColumnManagerSortableItem = function ColumnManagerSortableItem(props) {
|
|
9
8
|
var index = props.index,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-column-manager",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.28",
|
|
4
4
|
"description": "ColumnManager UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"build:js": "babel --delete-dir-on-start --root-mode upward src --out-dir dist --extensions '.js,.ts,.tsx'",
|
|
22
22
|
"build:watch": "npm run build:js -- --watch",
|
|
23
23
|
"defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
|
|
24
|
-
"pack:ci": "
|
|
24
|
+
"pack:ci": "pnpm pack --pack-destination ../../storybook/storybook-static/static",
|
|
25
25
|
"prepublish": "npm run build",
|
|
26
26
|
"test": "jest",
|
|
27
27
|
"test:watch": "npm run test -- --watchAll",
|
|
@@ -32,20 +32,23 @@
|
|
|
32
32
|
"sideEffects": false,
|
|
33
33
|
"types": "dist/index.d.ts",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@synerise/ds-button": "^1.5.
|
|
36
|
-
"@synerise/ds-drawer": "^1.0.
|
|
37
|
-
"@synerise/ds-icon": "^1.9.
|
|
38
|
-
"@synerise/ds-menu": "^1.2.
|
|
39
|
-
"@synerise/ds-result": "^1.0.
|
|
40
|
-
"@synerise/ds-scrollbar": "^1.2.
|
|
41
|
-
"@synerise/ds-search-bar": "^1.4.
|
|
42
|
-
"@synerise/ds-sortable": "^1.3.
|
|
43
|
-
"@synerise/ds-switch": "^1.2.
|
|
44
|
-
"@synerise/ds-tooltip": "^1.3.
|
|
45
|
-
"@synerise/ds-typography": "^1.0.
|
|
46
|
-
"@synerise/ds-utils": "^1.5.
|
|
35
|
+
"@synerise/ds-button": "^1.5.2",
|
|
36
|
+
"@synerise/ds-drawer": "^1.0.11",
|
|
37
|
+
"@synerise/ds-icon": "^1.9.1",
|
|
38
|
+
"@synerise/ds-menu": "^1.2.2",
|
|
39
|
+
"@synerise/ds-result": "^1.0.32",
|
|
40
|
+
"@synerise/ds-scrollbar": "^1.2.2",
|
|
41
|
+
"@synerise/ds-search-bar": "^1.4.3",
|
|
42
|
+
"@synerise/ds-sortable": "^1.3.8",
|
|
43
|
+
"@synerise/ds-switch": "^1.2.3",
|
|
44
|
+
"@synerise/ds-tooltip": "^1.3.2",
|
|
45
|
+
"@synerise/ds-typography": "^1.0.25",
|
|
46
|
+
"@synerise/ds-utils": "^1.5.1",
|
|
47
47
|
"react-window": "1.8.11"
|
|
48
48
|
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@synerise/ds-input": "^1.5.3"
|
|
51
|
+
},
|
|
49
52
|
"peerDependencies": {
|
|
50
53
|
"@synerise/ds-core": "*",
|
|
51
54
|
"antd": "4.24.16",
|
|
@@ -53,5 +56,5 @@
|
|
|
53
56
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
54
57
|
"styled-components": "^5.3.3"
|
|
55
58
|
},
|
|
56
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "c610279aef2d2139973075117de1bb281b9393b6"
|
|
57
60
|
}
|