@mindly/ui-components 3.30.0 → 3.31.0

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.
@@ -4,7 +4,6 @@ declare type CustomSelectProps = {
4
4
  id: string | number;
5
5
  label: string | number;
6
6
  }[];
7
- selected?: string | number;
8
7
  isError?: boolean;
9
8
  } & React.SelectHTMLAttributes<HTMLSelectElement>;
10
9
  declare const _default: React.NamedExoticComponent<CustomSelectProps>;
@@ -1,3 +1,12 @@
1
1
  import React from 'react';
2
- declare const ImageInput: React.FC;
2
+ declare type ImageInputProps = {
3
+ dimension?: number;
4
+ buttonLabel?: string;
5
+ isRoundedImage?: boolean;
6
+ isCloseButton?: boolean;
7
+ onCloseClick?: () => void;
8
+ isVideoContent?: boolean;
9
+ isError?: boolean;
10
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'>;
11
+ declare const ImageInput: React.FC<ImageInputProps>;
3
12
  export default ImageInput;
@@ -1,7 +1,10 @@
1
+ export declare const ImageInputWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
1
2
  declare type StyledImageInputProps = {
2
- dimension?: number;
3
+ dimension: number;
4
+ isImage?: boolean;
5
+ isRoundedImage: boolean;
3
6
  };
4
- export declare const StyledImageInput: import("styled-components").StyledComponent<"input", any, StyledImageInputProps, never>;
5
- export declare const StyledDropZoneOverlay: import("styled-components").StyledComponent<"div", any, StyledImageInputProps, never>;
6
- export declare const PreviewImage: import("styled-components").StyledComponent<"img", any, StyledImageInputProps, never>;
7
+ export declare const ImageInputLabel: import("styled-components").StyledComponent<"label", any, StyledImageInputProps, never>;
8
+ export declare const ImageInputLabelButton: import("styled-components").StyledComponent<"label", any, {}, never>;
9
+ export declare const ImageInputCloseButton: import("styled-components").StyledComponent<"button", any, {}, never>;
7
10
  export {};