@fattureincloud/fic-design-system 0.19.9 → 0.19.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,14 +1,15 @@
1
- import { ReactText } from 'react';
2
- import { paletteColor } from '../..';
1
+ import { ReactNode, ReactText } from 'react';
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;
9
9
  leftIcon?: IconProps;
10
10
  rightIcon?: IconProps;
11
11
  handleRightIconClick?: () => void;
12
+ tooltip?: TooltipProps;
12
13
  }
13
14
  export declare enum BadgeType {
14
15
  STANDARD = "standard",
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { DropdownProps } from './types';
3
- declare const _default: React.ForwardRefExoticComponent<Pick<DropdownProps, "content" | "onClose" | "fullWidth" | "maxWidth" | "emptyState" | "onOpen" | "renderContent"> & {
3
+ declare const _default: React.ForwardRefExoticComponent<Pick<DropdownProps, "content" | "onClose" | "onOpen" | "fullWidth" | "maxWidth" | "emptyState" | "renderContent"> & {
4
4
  attributes: {
5
5
  [key: string]: {
6
6
  [key: string]: string;
@@ -1 +1,3 @@
1
- export declare const ModalAnimation: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
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
- hideFooterTopBorder?: boolean;
10
- isOpen?: boolean;
11
- title?: string;
12
- header?: () => JSX.Element;
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
- customFooter?: () => JSX.Element;
17
- allowClose?: boolean;
18
- onActionClose?: () => void;
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
- height?: number;
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
- isConfirmModal?: boolean;
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;