@livechat/design-system-react-components 2.5.2 → 2.5.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/Card/Card.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/FormField/FormField.d.ts +1 -1
- package/dist/components/RadioButton/RadioButton.d.ts +1 -1
- package/dist/components/Tooltip/components/Reports.d.ts +2 -2
- package/dist/components/Tooltip/index.d.ts +1 -1
- package/dist/components/Tooltip/types.d.ts +4 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +2416 -2414
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -11,6 +11,6 @@ export interface CheckboxProps extends React.HTMLAttributes<HTMLInputElement> {
|
|
|
11
11
|
/**
|
|
12
12
|
* Set the checkbox description
|
|
13
13
|
*/
|
|
14
|
-
description?:
|
|
14
|
+
description?: React.ReactNode;
|
|
15
15
|
}
|
|
16
16
|
export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface IReportsProps {
|
|
3
|
-
title:
|
|
4
|
-
description?:
|
|
3
|
+
title: React.ReactNode;
|
|
4
|
+
description?: React.ReactNode;
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
}
|
|
7
7
|
export declare const Reports: React.FC<React.PropsWithChildren<IReportsProps>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { Tooltip } from './Tooltip';
|
|
2
2
|
export { Simple, Info, Interactive, Reports } from './components';
|
|
3
3
|
export { UserGuide } from './components/UserGuide';
|
|
4
|
-
export type { ITooltipProps, ITooltipInfoProps, ITooltipInteractiveProps, } from './types';
|
|
4
|
+
export type { ITooltipProps, ITooltipInfoProps, ITooltipInteractiveProps, TooltipButton, } from './types';
|
|
@@ -162,6 +162,7 @@ export interface ITooltipInfoProps {
|
|
|
162
162
|
text: string;
|
|
163
163
|
/**
|
|
164
164
|
* Set to show close button
|
|
165
|
+
* @deprecated Use `handleCloseAction` instead
|
|
165
166
|
*/
|
|
166
167
|
closeWithX?: boolean;
|
|
167
168
|
/**
|
|
@@ -191,6 +192,7 @@ export interface ITooltipInteractiveProps {
|
|
|
191
192
|
};
|
|
192
193
|
/**
|
|
193
194
|
* Set to show close button
|
|
195
|
+
* @deprecated Use `handleCloseAction` instead
|
|
194
196
|
*/
|
|
195
197
|
closeWithX?: boolean;
|
|
196
198
|
/**
|
|
@@ -204,9 +206,9 @@ export interface ITooltipInteractiveProps {
|
|
|
204
206
|
/**
|
|
205
207
|
* The Interactive tooltip primary button props
|
|
206
208
|
*/
|
|
207
|
-
primaryButton: TooltipButton;
|
|
209
|
+
primaryButton: TooltipButton | React.ReactNode;
|
|
208
210
|
/**
|
|
209
211
|
* The Interactive tooltip secondary button props
|
|
210
212
|
*/
|
|
211
|
-
secondaryButton?: TooltipButton;
|
|
213
|
+
secondaryButton?: TooltipButton | React.ReactNode;
|
|
212
214
|
}
|