@synerise/ds-collector 2.0.4 → 2.0.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 +19 -0
- package/dist/Collector.js +1 -1
- package/dist/Collector.styles.d.ts +1 -6
- package/dist/index.d.ts +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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
|
+
## [2.0.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-collector@2.0.5...@synerise/ds-collector@2.0.6) (2026-09-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **core:** move test helpers to a ./testing subpath export ([b38cd82](https://github.com/Synerise/synerise-design/commit/b38cd82c956111d2331d5c1e0efd1935366f1139))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [2.0.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-collector@2.0.4...@synerise/ds-collector@2.0.5) (2026-09-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @synerise/ds-collector
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [2.0.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-collector@2.0.3...@synerise/ds-collector@2.0.4) (2026-09-16)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @synerise/ds-collector
|
package/dist/Collector.js
CHANGED
|
@@ -187,7 +187,7 @@ const Collector = ({
|
|
|
187
187
|
}
|
|
188
188
|
};
|
|
189
189
|
const handleKeyDown = (event) => {
|
|
190
|
-
if (allowMultipleValues && event.key === "Backspace" && !value &&
|
|
190
|
+
if (allowMultipleValues && event.key === "Backspace" && !value && selectedValues?.length) {
|
|
191
191
|
const lastElement = selected.pop();
|
|
192
192
|
if (lastElement && onItemDeselect) {
|
|
193
193
|
onItemDeselect(lastElement);
|
|
@@ -29,12 +29,7 @@ export declare const SearchWrapper: import('styled-components').StyledComponent<
|
|
|
29
29
|
export declare const CollectorValue: import('styled-components').StyledComponent<({ disabled, key, onRemoveClick, value, focused, className, ...rest }: import('@synerise/ds-input/dist/InputMultivalue/Elements/Value.types').ValueProps) => React.JSX.Element, any, {
|
|
30
30
|
hasError?: boolean;
|
|
31
31
|
}, never>;
|
|
32
|
-
export { ContentAbove };
|
|
33
|
-
export { Label };
|
|
34
|
-
export { ContentBelow };
|
|
35
|
-
export { Description };
|
|
36
|
-
export { ErrorText };
|
|
37
|
-
export { ValueText };
|
|
32
|
+
export { ContentAbove, ContentBelow, Description, ErrorText, Label, ValueText };
|
|
38
33
|
export declare const DropdownWrapper: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
39
34
|
export declare const CustomContentWrapper: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
40
35
|
export declare const DropdownContent: import('styled-components').StyledComponent<"div", any, {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default } from './Collector';
|
|
2
|
-
export type {
|
|
2
|
+
export type { CollectorProps, CollectorTexts, CollectorValue, CollectorValuesSeparator, } from './Collector.types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-collector",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
4
4
|
"description": "Collector UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
],
|
|
43
43
|
"types": "dist/index.d.ts",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@synerise/ds-button": "^2.0
|
|
46
|
-
"@synerise/ds-divider": "^2.0.
|
|
47
|
-
"@synerise/ds-icon": "^2.1.
|
|
48
|
-
"@synerise/ds-input": "^2.0.
|
|
49
|
-
"@synerise/ds-list-item": "^2.1.
|
|
50
|
-
"@synerise/ds-scrollbar": "^2.0.
|
|
51
|
-
"@synerise/ds-search": "^2.0.
|
|
52
|
-
"@synerise/ds-utils": "^2.
|
|
45
|
+
"@synerise/ds-button": "^2.1.0",
|
|
46
|
+
"@synerise/ds-divider": "^2.0.5",
|
|
47
|
+
"@synerise/ds-icon": "^2.1.3",
|
|
48
|
+
"@synerise/ds-input": "^2.0.6",
|
|
49
|
+
"@synerise/ds-list-item": "^2.1.2",
|
|
50
|
+
"@synerise/ds-scrollbar": "^2.0.4",
|
|
51
|
+
"@synerise/ds-search": "^2.0.5",
|
|
52
|
+
"@synerise/ds-utils": "^2.2.0",
|
|
53
53
|
"classnames": "^2.5.1",
|
|
54
54
|
"lodash.isequal": "^4.5.0"
|
|
55
55
|
},
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"@types/lodash.isequal": "^4.5.8",
|
|
64
64
|
"vitest": "4"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "5e795fa4fd23f6b07277edb517a84bb9b5b6d256"
|
|
67
67
|
}
|