@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 {};
package/dist/index.d.ts CHANGED
@@ -887,7 +887,16 @@ declare type TextInputProps = {
887
887
  } & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'>;
888
888
  declare const _default$2: React.NamedExoticComponent<TextInputProps>;
889
889
 
890
- declare const ImageInput: React.FC;
890
+ declare type ImageInputProps = {
891
+ dimension?: number;
892
+ buttonLabel?: string;
893
+ isRoundedImage?: boolean;
894
+ isCloseButton?: boolean;
895
+ onCloseClick?: () => void;
896
+ isVideoContent?: boolean;
897
+ isError?: boolean;
898
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'>;
899
+ declare const ImageInput: React.FC<ImageInputProps>;
891
900
 
892
901
  declare const PasswordInput: React.FC;
893
902
 
@@ -901,7 +910,6 @@ declare type CustomSelectProps = {
901
910
  id: string | number;
902
911
  label: string | number;
903
912
  }[];
904
- selected?: string | number;
905
913
  isError?: boolean;
906
914
  } & React.SelectHTMLAttributes<HTMLSelectElement>;
907
915
  declare const _default: React.NamedExoticComponent<CustomSelectProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "3.30.0",
3
+ "version": "3.31.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- declare const IconSVG: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
3
- export default IconSVG;
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- declare const IconSVG: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
3
- export default IconSVG;