@livechat/design-system-react-components 1.16.1 → 1.16.3
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/Modal/components/ModalBase.d.ts +4 -0
- package/dist/components/Tooltip/helpers.d.ts +1 -1
- package/dist/components/Tooltip/types.d.ts +2 -2
- package/dist/dsrc.cjs.js +1 -1
- package/dist/dsrc.es.js +1262 -1248
- package/dist/foundations/shadow-token.d.ts +1 -0
- package/dist/preview-stats.json +648 -648
- package/dist/stories/components/Shadow.d.ts +2 -0
- package/dist/stories/components/ShadowExamples.d.ts +2 -0
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -16,5 +16,9 @@ export interface ModalBaseProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
16
16
|
* Removes the spacing inside the main container
|
|
17
17
|
*/
|
|
18
18
|
fullSpaceContent?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Put extra margin on the top of the modal for the label
|
|
21
|
+
*/
|
|
22
|
+
isLabelled?: boolean;
|
|
19
23
|
}
|
|
20
24
|
export declare const ModalBase: React.FC<React.PropsWithChildren<ModalBaseProps>>;
|
|
@@ -3,4 +3,4 @@ import { IconKind } from '../Icon';
|
|
|
3
3
|
import { TooltipTheme } from './types';
|
|
4
4
|
export declare function getIconType(theme: TooltipTheme): IconKind;
|
|
5
5
|
export declare const sleep: (milliseconds: number) => Promise<void>;
|
|
6
|
-
export declare function
|
|
6
|
+
export declare function getArrowPositionStyles(arrowOffsetY?: number, arrowOffsetX?: number, arrowY?: number, arrowX?: number): CSSProperties | undefined;
|
|
@@ -109,11 +109,11 @@ export interface ITooltipProps {
|
|
|
109
109
|
*/
|
|
110
110
|
useClickHookProps?: UseClickProps;
|
|
111
111
|
/**
|
|
112
|
-
* Set to move the arrow along the Y axis from default position (left and right
|
|
112
|
+
* Set to move the arrow along the Y axis from default position (left and right position)
|
|
113
113
|
*/
|
|
114
114
|
arrowOffsetY?: number;
|
|
115
115
|
/**
|
|
116
|
-
* Set to move the arrow along the X axis from default position (top and bottom
|
|
116
|
+
* Set to move the arrow along the X axis from default position (top and bottom position)
|
|
117
117
|
*/
|
|
118
118
|
arrowOffsetX?: number;
|
|
119
119
|
/**
|