@fattureincloud/fic-design-system 0.19.10 → 0.19.11
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/badge/types.d.ts +2 -2
- package/dist/components/modals/modalAnimation.d.ts +3 -1
- package/dist/components/modals/stepModal/types.d.ts +1 -0
- package/dist/components/modals/types.d.ts +16 -15
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
@@ -1,8 +1,8 @@
|
|
1
|
-
import { ReactText } from 'react';
|
1
|
+
import { ReactNode, ReactText } from 'react';
|
2
2
|
import { paletteColor, TooltipProps } from '../..';
|
3
3
|
import { IconProps } from '../icon';
|
4
4
|
export interface BadgeProps {
|
5
|
-
text?: ReactText;
|
5
|
+
text?: ReactText | ReactNode;
|
6
6
|
type?: BadgeType;
|
7
7
|
className?: string;
|
8
8
|
imageUrl?: string;
|
@@ -1 +1,3 @@
|
|
1
|
-
export declare const ModalAnimation: import("styled-components").GlobalStyleComponent<{
|
1
|
+
export declare const ModalAnimation: import("styled-components").GlobalStyleComponent<{
|
2
|
+
blur?: boolean | undefined;
|
3
|
+
}, import("styled-components").DefaultTheme>;
|
@@ -9,6 +9,7 @@ export declare type StepModalCommonProps = {
|
|
9
9
|
setIsOpen?: (o: boolean) => void;
|
10
10
|
setStep: (s: number) => void;
|
11
11
|
onActionClose?: () => void;
|
12
|
+
blur?: boolean;
|
12
13
|
};
|
13
14
|
declare type StepModalComponent<T extends UknObj> = React.FunctionComponent<StepModalCommonProps & T>;
|
14
15
|
declare type HasChildren = {
|
@@ -6,33 +6,34 @@ export interface ModalStateInterface {
|
|
6
6
|
fullScreenHeight: number;
|
7
7
|
}
|
8
8
|
export interface ModalPropsInterface {
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
9
|
+
allowClose?: boolean;
|
10
|
+
blur?: boolean;
|
11
|
+
bottomAttachment?: () => ReactNode;
|
12
|
+
className?: string;
|
13
|
+
customFooter?: () => JSX.Element;
|
13
14
|
customHeader?: () => JSX.Element;
|
15
|
+
disableInfoTooltip?: boolean;
|
14
16
|
footer?: () => JSX.Element;
|
15
17
|
footerButtons?: ButtonProps[];
|
16
|
-
|
17
|
-
|
18
|
-
|
18
|
+
header?: () => JSX.Element;
|
19
|
+
height?: number;
|
20
|
+
hideFooterTopBorder?: boolean;
|
21
|
+
hideOverlay?: boolean;
|
22
|
+
isConfirmModal?: boolean;
|
19
23
|
isFullscreen?: boolean;
|
24
|
+
isOpen?: boolean;
|
20
25
|
isSmall?: boolean;
|
21
26
|
minHeight?: number;
|
22
|
-
|
23
|
-
bottomAttachment?: () => ReactNode;
|
24
|
-
topAttachment?: () => ReactNode;
|
25
|
-
portalClassName?: string;
|
26
|
-
hideOverlay?: boolean;
|
27
|
-
className?: string;
|
27
|
+
onActionClose?: () => void;
|
28
28
|
onAfterOpen?: (obj?: {
|
29
29
|
overlayEl: Element;
|
30
30
|
contentEl: HTMLDivElement;
|
31
31
|
}) => void;
|
32
|
-
|
32
|
+
portalClassName?: string;
|
33
33
|
sizeCloseX?: SizeProp;
|
34
|
+
title?: string;
|
35
|
+
topAttachment?: () => ReactNode;
|
34
36
|
zIndex?: number;
|
35
|
-
disableInfoTooltip?: boolean;
|
36
37
|
}
|
37
38
|
export interface StyledModalBoxProps {
|
38
39
|
isFullscreen?: boolean;
|