@livechat/design-system-react-components 2.4.1 → 2.4.2

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.
@@ -3,19 +3,8 @@ import { IPickerListItem } from './types';
3
3
  export declare const ITEM_GAP_HEIGHT = 2;
4
4
  export declare const MIN_LIST_HEIGHT = 200;
5
5
  export declare const DEFAULT_LIST_HEIGHT = 400;
6
- export declare const DEFAULT_PICKER_OPTIONS: ({
7
- key: string;
8
- name: string;
9
- disabled: boolean;
10
- } | {
11
- key: string;
12
- name: string;
13
- groupHeader?: undefined;
14
- } | {
15
- key: string;
16
- name: string;
17
- groupHeader: boolean;
18
- })[];
6
+ export declare const CUSTOM_ITEMS: IPickerListItem[];
7
+ export declare const DEFAULT_PICKER_OPTIONS: IPickerListItem[];
19
8
  export declare const SELECTED_OPTIONS: {
20
9
  key: string;
21
10
  name: string;
@@ -4,6 +4,7 @@ import { VirtuosoProps } from 'react-virtuoso';
4
4
  import { Size } from '../../utils';
5
5
  import { ComponentCoreProps } from '../../utils/types';
6
6
  import { IconSource } from '../Icon';
7
+ import { TagProps } from '../Tag';
7
8
 
8
9
  export interface IPickerListItem {
9
10
  key: string;
@@ -18,6 +19,7 @@ export interface IPickerListItem {
18
19
  avatarSrc?: string;
19
20
  secondaryText?: string;
20
21
  showCheckbox?: boolean;
22
+ selectedTagOptions?: TagProps;
21
23
  }
22
24
  export type PickerType = 'single' | 'multi';
23
25
  export interface IPickerProps extends ComponentCoreProps {