@livechat/design-system-react-components 2.4.0 → 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.
- package/dist/components/AppFrame/components/SideNavigationGroup/types.d.ts +0 -4
- package/dist/components/InviteAgents/types.d.ts +4 -0
- package/dist/components/Picker/constants.d.ts +2 -13
- package/dist/components/Picker/types.d.ts +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +2675 -2681
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -25,8 +25,4 @@ export interface ISideNavigationGroupProps extends ComponentCoreProps {
|
|
|
25
25
|
* Specify whether the list should be open on the first render
|
|
26
26
|
*/
|
|
27
27
|
shouldOpenOnInit?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Specify whether the list should be open if an item within the group is active
|
|
30
|
-
*/
|
|
31
|
-
shouldOpenOnActive?: boolean;
|
|
32
28
|
}
|
|
@@ -32,4 +32,8 @@ export interface InviteAgentsProps extends ComponentCoreProps {
|
|
|
32
32
|
* The function to call when the "Available" button is clicked
|
|
33
33
|
*/
|
|
34
34
|
onAvailableAgentsClick: () => void;
|
|
35
|
+
/**
|
|
36
|
+
* Whether to show bots in the tooltip
|
|
37
|
+
*/
|
|
38
|
+
showBotsInTooltip?: boolean;
|
|
35
39
|
}
|
|
@@ -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
|
|
7
|
-
|
|
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 {
|