@livechat/design-system-react-components 1.25.0 → 1.26.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.
- package/dist/components/Progress/{helpers.d.ts → Progress.helpers.d.ts} +0 -1
- package/dist/components/Progress/constants.d.ts +0 -1
- package/dist/components/Tooltip/types.d.ts +3 -4
- package/dist/components/Typography/types.d.ts +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +760 -738
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Placement, VirtualElement, UseDismissProps, Strategy, UseClickProps } from '@floating-ui/react';
|
|
3
|
-
import {
|
|
3
|
+
import { ButtonProps } from '../Button';
|
|
4
4
|
export type TooltipTheme = 'invert' | 'important' | undefined;
|
|
5
5
|
export type TooltipButton = {
|
|
6
6
|
handleClick: () => void;
|
|
7
7
|
label: string;
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
} & Omit<ButtonProps, 'onClick'>;
|
|
10
9
|
export interface ITooltipProps {
|
|
11
10
|
/**
|
|
12
11
|
* The CSS class for tooltip
|
|
@@ -188,5 +187,5 @@ export interface ITooltipInteractiveProps {
|
|
|
188
187
|
/**
|
|
189
188
|
* The Interactive tooltip secondary button props
|
|
190
189
|
*/
|
|
191
|
-
secondaryButton
|
|
190
|
+
secondaryButton?: TooltipButton;
|
|
192
191
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type TTextSize = 'xs' | 'sm' | 'md';
|
|
1
|
+
export type TTextSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
2
2
|
export type THeadingSize = '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
3
|
export type TDisplaySize = 'sm' | 'md' | 'lg' | 'max';
|
|
4
4
|
export type TTextAlign = 'left' | 'right' | 'center' | 'justify';
|