@mindly/ui-components 5.64.2 → 5.65.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.
|
@@ -6,8 +6,9 @@ type Props = {
|
|
|
6
6
|
height?: number | undefined;
|
|
7
7
|
selections: Record<string, SelectionType[]>;
|
|
8
8
|
defaults?: Record<string, string>;
|
|
9
|
-
onChange(value:
|
|
9
|
+
onChange(value: Record<string, SelectionType>): void;
|
|
10
10
|
className?: string;
|
|
11
|
+
compareBy?: 'value' | 'label';
|
|
11
12
|
};
|
|
12
|
-
declare const DrumListPicker: ({ height, selections, defaults, onChange, className, }: Props) => JSX.Element;
|
|
13
|
+
declare const DrumListPicker: ({ height, selections, defaults, onChange, className, compareBy, }: Props) => JSX.Element;
|
|
13
14
|
export default DrumListPicker;
|
package/dist/index.d.ts
CHANGED
|
@@ -1988,10 +1988,11 @@ type Props$2 = {
|
|
|
1988
1988
|
height?: number | undefined;
|
|
1989
1989
|
selections: Record<string, SelectionType[]>;
|
|
1990
1990
|
defaults?: Record<string, string>;
|
|
1991
|
-
onChange(value:
|
|
1991
|
+
onChange(value: Record<string, SelectionType>): void;
|
|
1992
1992
|
className?: string;
|
|
1993
|
+
compareBy?: 'value' | 'label';
|
|
1993
1994
|
};
|
|
1994
|
-
declare const DrumListPicker: ({ height, selections, defaults, onChange, className, }: Props$2) => JSX.Element;
|
|
1995
|
+
declare const DrumListPicker: ({ height, selections, defaults, onChange, className, compareBy, }: Props$2) => JSX.Element;
|
|
1995
1996
|
|
|
1996
1997
|
type FontWeight = 'Regular' | 'Semi' | 'Bold';
|
|
1997
1998
|
type CollapsableTextProps = {
|