dt-shared-front 2.2.70 → 2.2.72

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.
@@ -23,6 +23,7 @@ export declare enum EIconVariant {
23
23
  }
24
24
  interface IIconProps {
25
25
  size?: keyof typeof EIconSize;
26
+ mobSize?: keyof typeof EIconSize;
26
27
  variant?: keyof typeof EIconVariant;
27
28
  active?: boolean;
28
29
  icon: any;
@@ -30,5 +31,5 @@ interface IIconProps {
30
31
  onClick?: (e: any) => void;
31
32
  'data-tooltip-target'?: boolean;
32
33
  }
33
- export declare const Icon: ({ icon: IconSvg, active, size, variant, className, onClick, ...props }: PropsWithChildren<IIconProps>) => React.JSX.Element;
34
+ export declare const Icon: ({ icon: IconSvg, active, size, mobSize, variant, className, onClick, ...props }: PropsWithChildren<IIconProps>) => React.JSX.Element;
34
35
  export {};
@@ -8,8 +8,10 @@ declare enum EInfoBlockVariant {
8
8
  }
9
9
  interface IInfoBlockProps {
10
10
  title?: string;
11
- description: string;
11
+ description?: string;
12
+ className?: string;
12
13
  variant?: keyof typeof EInfoBlockVariant;
14
+ onClick?: () => void;
13
15
  }
14
- export declare const InfoBlock: ({ title, description, variant, children }: PropsWithChildren<IInfoBlockProps>) => React.JSX.Element;
16
+ export declare const InfoBlock: ({ title, description, onClick, className, variant, children }: PropsWithChildren<IInfoBlockProps>) => React.JSX.Element;
15
17
  export {};
@@ -70,4 +70,4 @@ export declare const Input: React.ForwardRefExoticComponent<{
70
70
  onChange?: (value: string, event: ChangeEvent<HTMLInputElement>) => void;
71
71
  onSearch?: ((val: string) => void) | ((val: string) => Promise<void>);
72
72
  valueTransformer?: (value: string) => string;
73
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "variant" | "size" | "onChange"> & React.RefAttributes<HTMLInputElement>>;
73
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "variant"> & React.RefAttributes<HTMLInputElement>>;
@@ -8,7 +8,7 @@ declare const _default: {
8
8
  className?: string;
9
9
  onChange?: (value: boolean) => void;
10
10
  disabled?: boolean;
11
- size?: "small" | "medium" | "large";
11
+ size?: "small" | "large" | "medium";
12
12
  }) => React.JSX.Element;
13
13
  };
14
14
  export default _default;
@@ -28,4 +28,4 @@ export declare const TextArea: React.ForwardRefExoticComponent<{
28
28
  onClear?: () => void;
29
29
  onSearch?: (e: any) => void;
30
30
  onChange?: (value: string, event?: ChangeEvent<HTMLTextAreaElement>) => void;
31
- } & Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "variant" | "size" | "onChange"> & React.RefAttributes<HTMLTextAreaElement>>;
31
+ } & Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "size" | "variant"> & React.RefAttributes<HTMLTextAreaElement>>;