@tracktor/design-system 4.4.0 → 4.5.0
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
CHANGED
|
@@ -34,7 +34,11 @@ interface ChipFilterBaseProps {
|
|
|
34
34
|
* Indicates if there should be a separator between the label menu and the options selected in the menu.
|
|
35
35
|
* Defaults to ":"
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
separatorBetweenLabelAndOptionSelected?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Indicates if the label should only be displayed after a selection is made.
|
|
40
|
+
*/
|
|
41
|
+
labelOnlyAfterSelection?: boolean;
|
|
38
42
|
}
|
|
39
43
|
export interface ChipFilterSingleProps extends ChipFilterBaseProps {
|
|
40
44
|
/**
|
|
@@ -67,5 +71,5 @@ export interface ChipFilterMultipleProps extends ChipFilterBaseProps {
|
|
|
67
71
|
onChange?: (value: string[]) => void;
|
|
68
72
|
}
|
|
69
73
|
export type ChipFilterProps = ChipFilterSingleProps | ChipFilterMultipleProps;
|
|
70
|
-
declare const ChipFilter: ({ label, value, onChange, options, variant, disabled, labelMenu,
|
|
74
|
+
declare const ChipFilter: ({ label, value, onChange, options, variant, disabled, labelMenu, labelOnlyAfterSelection, separatorBetweenLabelAndOptionSelected, multiple, size, }: ChipFilterProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
71
75
|
export default ChipFilter;
|