@synerise/ds-collector 1.3.3 → 1.3.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 +16 -0
- package/dist/Collector.d.ts +24 -24
- package/dist/Collector.styles.d.ts +27 -28
- package/dist/utils.d.ts +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.3.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-collector@1.3.4...@synerise/ds-collector@1.3.5) (2025-07-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-collector
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.3.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-collector@1.3.3...@synerise/ds-collector@1.3.4) (2025-07-17)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @synerise/ds-collector
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [1.3.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-collector@1.3.2...@synerise/ds-collector@1.3.3) (2025-07-15)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @synerise/ds-collector
|
package/dist/Collector.d.ts
CHANGED
|
@@ -7,43 +7,43 @@ declare const Collector: {
|
|
|
7
7
|
Description: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
8
|
ErrorText: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
9
|
CollectorInput: import("styled-components").StyledComponent<"div", any, import("@synerise/ds-input/dist/InputMultivalue/InputMultivalue.styles").InputWrapperProps & {
|
|
10
|
-
error?: boolean
|
|
11
|
-
focus?: boolean
|
|
12
|
-
disabled?: boolean
|
|
10
|
+
error?: boolean;
|
|
11
|
+
focus?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
13
|
}, never>;
|
|
14
14
|
RightSide: import("styled-components").StyledComponent<"div", any, {
|
|
15
|
-
gradientOverlap?: boolean
|
|
16
|
-
focus?: boolean
|
|
15
|
+
gradientOverlap?: boolean;
|
|
16
|
+
focus?: boolean;
|
|
17
17
|
}, never>;
|
|
18
18
|
ContentAbove: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
19
19
|
MainContent: import("styled-components").StyledComponent<"div", any, {
|
|
20
|
-
fixedHeight?: boolean
|
|
21
|
-
hasValues?: boolean
|
|
22
|
-
gradientOverlap?: boolean
|
|
23
|
-
focus?: boolean
|
|
20
|
+
fixedHeight?: boolean;
|
|
21
|
+
hasValues?: boolean;
|
|
22
|
+
gradientOverlap?: boolean;
|
|
23
|
+
focus?: boolean;
|
|
24
24
|
}, never>;
|
|
25
25
|
Input: import("styled-components").StyledComponent<"input", any, {
|
|
26
|
-
disabled?: boolean
|
|
26
|
+
disabled?: boolean;
|
|
27
27
|
} & {
|
|
28
|
-
error?: boolean
|
|
29
|
-
className?: string
|
|
30
|
-
counterLimit?: number
|
|
31
|
-
renderCustomCounter?: (
|
|
32
|
-
icon1?: React.ReactElement
|
|
33
|
-
icon1Tooltip?: React.ReactElement
|
|
34
|
-
icon2?: React.ReactElement
|
|
35
|
-
icon2Tooltip?: React.ReactElement
|
|
36
|
-
resetMargin?: boolean
|
|
28
|
+
error?: boolean;
|
|
29
|
+
className?: string;
|
|
30
|
+
counterLimit?: number;
|
|
31
|
+
renderCustomCounter?: (count?: number) => React.ReactNode;
|
|
32
|
+
icon1?: React.ReactElement;
|
|
33
|
+
icon1Tooltip?: React.ReactElement;
|
|
34
|
+
icon2?: React.ReactElement;
|
|
35
|
+
icon2Tooltip?: React.ReactElement;
|
|
36
|
+
resetMargin?: boolean;
|
|
37
37
|
handleInputRef?: ((ref: React.MutableRefObject<HTMLInputElement | null>) => void) | undefined;
|
|
38
38
|
prefixel?: React.ReactNode;
|
|
39
39
|
suffixel?: React.ReactNode;
|
|
40
|
-
autoResize?: import("@synerise/ds-input").AutoResizeProp
|
|
41
|
-
autoResizeProps?: Partial<Pick<import("@synerise/ds-input").AutosizeInputProps, "
|
|
42
|
-
expandable?: boolean
|
|
40
|
+
autoResize?: import("@synerise/ds-input").AutoResizeProp;
|
|
41
|
+
autoResizeProps?: Partial<Pick<import("@synerise/ds-input").AutosizeInputProps, "placeholderIsMinWidth" | "wrapperClassName" | "wrapperStyle" | "extraWidth">>;
|
|
42
|
+
expandable?: boolean;
|
|
43
43
|
expandableTooltip?: React.ReactNode;
|
|
44
44
|
} & Omit<import("@synerise/ds-form-field").ContentAboveProps, "id" | "rightSide"> & import("@synerise/ds-form-field").ContentBelowProps & import("antd/lib/input").InputProps & {
|
|
45
|
-
disabled?: boolean
|
|
46
|
-
hasValues?: boolean
|
|
45
|
+
disabled?: boolean;
|
|
46
|
+
hasValues?: boolean;
|
|
47
47
|
transparent: boolean;
|
|
48
48
|
hidden: boolean;
|
|
49
49
|
}, never>;
|
|
@@ -1,51 +1,50 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import Button from '@synerise/ds-button';
|
|
3
2
|
import { ContentAbove, ContentBelow, Description, ErrorText, Label, ValueText } from '@synerise/ds-input/dist/InputMultivalue/InputMultivalue.styles';
|
|
4
3
|
export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
4
|
export declare const CollectorInput: import("styled-components").StyledComponent<"div", any, import("@synerise/ds-input/dist/InputMultivalue/InputMultivalue.styles").InputWrapperProps & {
|
|
6
|
-
error?: boolean
|
|
7
|
-
focus?: boolean
|
|
8
|
-
disabled?: boolean
|
|
5
|
+
error?: boolean;
|
|
6
|
+
focus?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
9
8
|
}, never>;
|
|
10
9
|
export declare const Scrollbar: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<(import("@synerise/ds-scrollbar").ScrollbarProps | import("@synerise/ds-scrollbar").VirtualScrollbarProps) & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
|
|
11
10
|
export declare const MainContent: import("styled-components").StyledComponent<"div", any, {
|
|
12
|
-
fixedHeight?: boolean
|
|
13
|
-
hasValues?: boolean
|
|
14
|
-
gradientOverlap?: boolean
|
|
15
|
-
focus?: boolean
|
|
11
|
+
fixedHeight?: boolean;
|
|
12
|
+
hasValues?: boolean;
|
|
13
|
+
gradientOverlap?: boolean;
|
|
14
|
+
focus?: boolean;
|
|
16
15
|
}, never>;
|
|
17
16
|
export declare const RightSide: import("styled-components").StyledComponent<"div", any, {
|
|
18
|
-
gradientOverlap?: boolean
|
|
19
|
-
focus?: boolean
|
|
17
|
+
gradientOverlap?: boolean;
|
|
18
|
+
focus?: boolean;
|
|
20
19
|
}, never>;
|
|
21
20
|
export declare const Input: import("styled-components").StyledComponent<"input", any, {
|
|
22
|
-
disabled?: boolean
|
|
21
|
+
disabled?: boolean;
|
|
23
22
|
} & {
|
|
24
|
-
error?: boolean
|
|
25
|
-
className?: string
|
|
26
|
-
counterLimit?: number
|
|
27
|
-
renderCustomCounter?: (
|
|
28
|
-
icon1?: import("react").ReactElement
|
|
29
|
-
icon1Tooltip?: import("react").ReactElement
|
|
30
|
-
icon2?: import("react").ReactElement
|
|
31
|
-
icon2Tooltip?: import("react").ReactElement
|
|
32
|
-
resetMargin?: boolean
|
|
23
|
+
error?: boolean;
|
|
24
|
+
className?: string;
|
|
25
|
+
counterLimit?: number;
|
|
26
|
+
renderCustomCounter?: (count?: number) => import("react").ReactNode;
|
|
27
|
+
icon1?: import("react").ReactElement;
|
|
28
|
+
icon1Tooltip?: import("react").ReactElement;
|
|
29
|
+
icon2?: import("react").ReactElement;
|
|
30
|
+
icon2Tooltip?: import("react").ReactElement;
|
|
31
|
+
resetMargin?: boolean;
|
|
33
32
|
handleInputRef?: ((ref: import("react").MutableRefObject<HTMLInputElement | null>) => void) | undefined;
|
|
34
33
|
prefixel?: import("react").ReactNode;
|
|
35
34
|
suffixel?: import("react").ReactNode;
|
|
36
|
-
autoResize?: import("@synerise/ds-input").AutoResizeProp
|
|
37
|
-
autoResizeProps?: Partial<Pick<import("@synerise/ds-input").AutosizeInputProps, "
|
|
38
|
-
expandable?: boolean
|
|
35
|
+
autoResize?: import("@synerise/ds-input").AutoResizeProp;
|
|
36
|
+
autoResizeProps?: Partial<Pick<import("@synerise/ds-input").AutosizeInputProps, "placeholderIsMinWidth" | "wrapperClassName" | "wrapperStyle" | "extraWidth">>;
|
|
37
|
+
expandable?: boolean;
|
|
39
38
|
expandableTooltip?: import("react").ReactNode;
|
|
40
39
|
} & Omit<import("@synerise/ds-form-field").ContentAboveProps, "id" | "rightSide"> & import("@synerise/ds-form-field").ContentBelowProps & import("antd/lib/input").InputProps & {
|
|
41
|
-
disabled?: boolean
|
|
42
|
-
hasValues?: boolean
|
|
40
|
+
disabled?: boolean;
|
|
41
|
+
hasValues?: boolean;
|
|
43
42
|
transparent: boolean;
|
|
44
43
|
hidden: boolean;
|
|
45
44
|
}, never>;
|
|
46
45
|
export declare const SearchWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
47
|
-
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) =>
|
|
48
|
-
hasError?: boolean
|
|
46
|
+
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, {
|
|
47
|
+
hasError?: boolean;
|
|
49
48
|
}, never>;
|
|
50
49
|
export { ContentAbove };
|
|
51
50
|
export { Label };
|
|
@@ -56,7 +55,7 @@ export { ValueText };
|
|
|
56
55
|
export declare const DropdownWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
57
56
|
export declare const CustomContentWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
58
57
|
export declare const DropdownContent: import("styled-components").StyledComponent<"div", any, {
|
|
59
|
-
visible?: boolean
|
|
58
|
+
visible?: boolean;
|
|
60
59
|
}, never>;
|
|
61
60
|
export declare const DropdownAddButton: import("styled-components").StyledComponent<typeof Button, any, {}, never>;
|
|
62
61
|
export declare const DropdownTop: import("styled-components").StyledComponent<"div", any, {}, never>;
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import { type CollectorValue } from './Collector.types';
|
|
3
3
|
export declare const scrollWithHorizontalArrow: (ref: React.RefObject<HTMLElement>, event: React.KeyboardEvent<HTMLElement>, scrollStep?: number | undefined) => void;
|
|
4
|
-
export declare const filterOutNullishArrayItems: <T>(array: (
|
|
4
|
+
export declare const filterOutNullishArrayItems: <T>(array: (T | null | "" | undefined)[]) => T[];
|
|
5
5
|
export declare const isOverflown: (elementRef: React.RefObject<HTMLDivElement>) => boolean;
|
|
6
6
|
export declare const filterValueSuggestions: (suggestions: CollectorValue[], selected: CollectorValue[], searchValue: string, lookupKey: string) => CollectorValue[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-collector",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.5",
|
|
4
4
|
"description": "Collector UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
],
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-button": "^1.4.
|
|
38
|
-
"@synerise/ds-divider": "^1.0.
|
|
39
|
-
"@synerise/ds-icon": "^1.6.
|
|
40
|
-
"@synerise/ds-input": "^1.3.
|
|
41
|
-
"@synerise/ds-list-item": "^1.0.
|
|
42
|
-
"@synerise/ds-scrollbar": "^1.1.
|
|
43
|
-
"@synerise/ds-search": "^1.2.
|
|
44
|
-
"@synerise/ds-utils": "^1.
|
|
37
|
+
"@synerise/ds-button": "^1.4.6",
|
|
38
|
+
"@synerise/ds-divider": "^1.0.17",
|
|
39
|
+
"@synerise/ds-icon": "^1.6.2",
|
|
40
|
+
"@synerise/ds-input": "^1.3.6",
|
|
41
|
+
"@synerise/ds-list-item": "^1.0.17",
|
|
42
|
+
"@synerise/ds-scrollbar": "^1.1.5",
|
|
43
|
+
"@synerise/ds-search": "^1.2.6",
|
|
44
|
+
"@synerise/ds-utils": "^1.4.0",
|
|
45
45
|
"classnames": "^2.5.1",
|
|
46
46
|
"lodash.isequal": "^4.5.0"
|
|
47
47
|
},
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/lodash.isequal": "^4.5.8"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "b35b1875727156fe9f5b3bad55aed5ca447c8c8d"
|
|
59
59
|
}
|