@mindly/ui-components 3.30.1 → 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.
- package/dist/cjs/index.js +6 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/lib/Inputs/ImageInput/ImageInput.d.ts +10 -1
- package/dist/cjs/types/lib/Inputs/ImageInput/ImageInput.style.d.ts +7 -4
- package/dist/esm/index.js +6 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/Inputs/ImageInput/ImageInput.d.ts +10 -1
- package/dist/esm/types/lib/Inputs/ImageInput/ImageInput.style.d.ts +7 -4
- package/dist/index.d.ts +10 -1
- package/package.json +1 -1
- package/dist/cjs/types/lib/Inputs/ImageInput/IconSVG.d.ts +0 -3
- package/dist/esm/types/lib/Inputs/ImageInput/IconSVG.d.ts +0 -3
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare
|
|
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
|
|
3
|
+
dimension: number;
|
|
4
|
+
isImage?: boolean;
|
|
5
|
+
isRoundedImage: boolean;
|
|
3
6
|
};
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
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
|
|
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
|
|
package/package.json
CHANGED