@livechat/design-system-react-components 1.0.0-beta.3 → 1.0.0-beta.4
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/Avatar/Avatar.helpers.d.ts +1 -0
- package/dist/components/Avatar/Avatar.helpers.spec.d.ts +1 -0
- package/dist/components/Tag/Tag.d.ts +7 -2
- package/dist/components/Tag/Tag.stories.d.ts +3 -2
- package/dist/components/Toast/ToastWrapper.stories.d.ts +1 -7
- package/dist/components/Tooltip/index.d.ts +1 -0
- package/dist/dsrc.cjs.js +7 -7
- package/dist/dsrc.es.js +1323 -1285
- package/dist/dsrc.umd.js +6 -6
- package/dist/preview-stats.json +565 -565
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -30,9 +30,14 @@ export interface TagProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
30
30
|
*/
|
|
31
31
|
onRemove?(): void;
|
|
32
32
|
/**
|
|
33
|
-
* Pass the icon to show it
|
|
33
|
+
* Pass the icon to show it on the left
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
leftIcon?: IconSource;
|
|
36
|
+
/**
|
|
37
|
+
* Pass the icon to show it on the right
|
|
38
|
+
*/
|
|
39
|
+
rightIcon?: IconSource;
|
|
40
|
+
/**
|
|
36
41
|
/**
|
|
37
42
|
* Pass the image source to show it as avatar
|
|
38
43
|
*/
|
|
@@ -12,13 +12,14 @@ export declare const Kinds: {
|
|
|
12
12
|
({ children, ...args }: TagProps): React.ReactElement;
|
|
13
13
|
args: {
|
|
14
14
|
children: string;
|
|
15
|
-
|
|
15
|
+
leftIcon: any;
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
export declare const Sizes: {
|
|
19
19
|
({ children, ...args }: TagProps): React.ReactElement;
|
|
20
20
|
args: {
|
|
21
21
|
children: string;
|
|
22
|
-
|
|
22
|
+
leftIcon: any;
|
|
23
|
+
rightIcon: any;
|
|
23
24
|
};
|
|
24
25
|
};
|
|
@@ -11,7 +11,7 @@ export declare const ToastWrapper: {
|
|
|
11
11
|
toasts: ({
|
|
12
12
|
id: string;
|
|
13
13
|
kind: string;
|
|
14
|
-
content:
|
|
14
|
+
content: string;
|
|
15
15
|
removable?: undefined;
|
|
16
16
|
action?: undefined;
|
|
17
17
|
} | {
|
|
@@ -29,12 +29,6 @@ export declare const ToastWrapper: {
|
|
|
29
29
|
handler: () => void;
|
|
30
30
|
};
|
|
31
31
|
removable?: undefined;
|
|
32
|
-
} | {
|
|
33
|
-
id: string;
|
|
34
|
-
kind: string;
|
|
35
|
-
content: string;
|
|
36
|
-
removable?: undefined;
|
|
37
|
-
action?: undefined;
|
|
38
32
|
})[];
|
|
39
33
|
};
|
|
40
34
|
};
|