@fattureincloud/fic-design-system 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,6 +12,7 @@ declare const _default: React.ForwardRefExoticComponent<import("../label").Label
12
12
  required?: boolean | undefined;
13
13
  } & {
14
14
  actionIcon?: import("../../icon").IconProps | undefined;
15
+ hideStatusIcon?: boolean | undefined;
15
16
  inputType?: "number" | "text" | "password" | undefined;
16
17
  isPrefilled?: boolean | undefined;
17
18
  isTransparent?: boolean | undefined;
@@ -17,6 +17,7 @@ declare const _default: React.ForwardRefExoticComponent<import("../../common/typ
17
17
  required?: boolean | undefined;
18
18
  } & {
19
19
  actionIcon?: import("../../../icon").IconProps | undefined;
20
+ hideStatusIcon?: boolean | undefined;
20
21
  inputType?: "number" | "text" | "password" | undefined;
21
22
  isPrefilled?: boolean | undefined;
22
23
  isTransparent?: boolean | undefined;
@@ -9,6 +9,7 @@ export declare type inputTypes = typeof inputTypesArray[number];
9
9
  declare type HTMLInputProps = Pick<InputHTMLAttributes<HTMLInputElement>, 'autoFocus' | 'className' | 'name' | 'onBlur' | 'onChange' | 'onFocus' | 'onKeyDown' | 'onKeyPress' | 'onKeyUp' | 'required'>;
10
10
  export declare type InputElementProps = CommonFormTypes & HTMLInputProps & {
11
11
  actionIcon?: IconProps;
12
+ hideStatusIcon?: boolean;
12
13
  inputType?: 'password' | 'text' | 'number';
13
14
  isPrefilled?: boolean;
14
15
  isTransparent?: boolean;
@@ -23,13 +24,13 @@ export declare type InputElementProps = CommonFormTypes & HTMLInputProps & {
23
24
  export declare type InputCodeProps = LabelProps & CommonFormTypes & Omit<HTMLInputProps, 'onChange'> & {
24
25
  fieldsCount: number;
25
26
  fieldsGap?: number;
26
- inputType: 'code';
27
+ inputType?: 'code';
27
28
  onChange?: (code: (string | null)[]) => void;
28
29
  style?: CSSProperties;
29
30
  };
30
31
  export declare type InputTelephoneProps = LabelProps & CommonFormTypes & {
31
32
  className?: string;
32
- inputType: 'telephone';
33
+ inputType?: 'telephone';
33
34
  placeholder?: ReactText;
34
35
  required?: boolean;
35
36
  setValue: Dispatch<SetStateAction<string>>;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { StepModalBodyProps } from '../types';
3
- declare const StepModalBody: ({ children, height, isFullscreen, minHeight }: StepModalBodyProps) => JSX.Element;
3
+ declare const StepModalBody: ({ children, className, height, isFullscreen, minHeight }: StepModalBodyProps) => JSX.Element;
4
4
  export default StepModalBody;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { StepModalFooterProps } from '../types';
3
- declare const StepModalFooter: ({ buttons, children }: StepModalFooterProps) => JSX.Element;
3
+ declare const StepModalFooter: ({ buttons, children, className }: StepModalFooterProps) => JSX.Element;
4
4
  export default StepModalFooter;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { StepModalHeaderProps } from '../types';
3
- declare const StepModalHeader: ({ children, currentStep, setIsOpen, setStep, subtitle, title, }: StepModalHeaderProps) => JSX.Element;
3
+ declare const StepModalHeader: ({ children, className, currentStep, setIsOpen, setStep, subtitle, title, }: StepModalHeaderProps) => JSX.Element;
4
4
  export default StepModalHeader;
@@ -34,13 +34,16 @@ export declare type ContentWrapperProps = {
34
34
  isSmall?: boolean;
35
35
  };
36
36
  export declare type StepModalFooterProps = HasChildren & {
37
+ className?: string;
37
38
  buttons?: ButtonProps[];
38
39
  };
39
40
  export declare type StepModalHeaderProps = Partial<StepModalCommonProps> & HasChildren & {
41
+ className?: string;
40
42
  subtitle?: string;
41
43
  title?: string;
42
44
  };
43
45
  export declare type StepModalBodyProps = Partial<StepModalCommonProps> & HasChildren & {
46
+ className?: string;
44
47
  isFullscreen?: boolean;
45
48
  };
46
49
  export {};