@mindly/ui-components 3.28.3 → 3.29.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 +20 -20
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/{lib → deprecated}/input/Input.d.ts +4 -1
- package/dist/cjs/types/index.d.ts +7 -1
- package/dist/cjs/types/lib/Inputs/ImageInput/IconSVG.d.ts +3 -0
- package/dist/cjs/types/lib/Inputs/ImageInput/ImageInput.d.ts +7 -0
- package/dist/cjs/types/lib/Inputs/ImageInput/ImageInput.style.d.ts +7 -0
- package/dist/cjs/types/lib/Inputs/ImageInput/index.d.ts +1 -0
- package/dist/cjs/types/lib/Inputs/PasswordInput/PasswordInput.d.ts +7 -0
- package/dist/cjs/types/lib/Inputs/PasswordInput/PasswordInput.style.d.ts +7 -0
- package/dist/cjs/types/lib/Inputs/PasswordInput/index.d.ts +1 -0
- package/dist/cjs/types/lib/Inputs/TextInput/TextInput.d.ts +6 -0
- package/dist/cjs/types/lib/Inputs/TextInput/TextInput.style.d.ts +1 -0
- package/dist/cjs/types/lib/Inputs/TextInput/index.d.ts +1 -0
- package/dist/esm/index.js +6 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/{lib → deprecated}/input/Input.d.ts +4 -1
- package/dist/esm/types/index.d.ts +7 -1
- package/dist/esm/types/lib/Inputs/ImageInput/IconSVG.d.ts +3 -0
- package/dist/esm/types/lib/Inputs/ImageInput/ImageInput.d.ts +7 -0
- package/dist/esm/types/lib/Inputs/ImageInput/ImageInput.style.d.ts +7 -0
- package/dist/esm/types/lib/Inputs/ImageInput/index.d.ts +1 -0
- package/dist/esm/types/lib/Inputs/PasswordInput/PasswordInput.d.ts +7 -0
- package/dist/esm/types/lib/Inputs/PasswordInput/PasswordInput.style.d.ts +7 -0
- package/dist/esm/types/lib/Inputs/PasswordInput/index.d.ts +1 -0
- package/dist/esm/types/lib/Inputs/TextInput/TextInput.d.ts +6 -0
- package/dist/esm/types/lib/Inputs/TextInput/TextInput.style.d.ts +1 -0
- package/dist/esm/types/lib/Inputs/TextInput/index.d.ts +1 -0
- package/dist/index.d.ts +21 -1
- package/package.json +1 -1
- /package/dist/cjs/types/{lib → deprecated}/input/Input.style.d.ts +0 -0
- /package/dist/esm/types/{lib → deprecated}/input/Input.style.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import '
|
|
2
|
+
import '../../lib/Theme/global.css';
|
|
3
3
|
export interface InputProps {
|
|
4
4
|
isActive: boolean;
|
|
5
5
|
name: string;
|
|
@@ -10,4 +10,7 @@ export interface InputProps {
|
|
|
10
10
|
onIonChange: (e: CustomEvent) => void;
|
|
11
11
|
icon: string;
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated
|
|
15
|
+
*/
|
|
13
16
|
export declare const Input: React.FC<InputProps>;
|
|
@@ -9,7 +9,7 @@ import { ArchivedConsultationCard } from './lib/archived-consultation-card/Archi
|
|
|
9
9
|
import { DatePicker } from './lib/date-picker/DatePicker';
|
|
10
10
|
import { NoInternetConnection } from './lib/no-internet-connection/NoInternetConnection';
|
|
11
11
|
import { TherapistInformationComponent } from './lib/therapist-information-component/TherapistInformationComponent';
|
|
12
|
-
import { Input } from './
|
|
12
|
+
import { Input } from './deprecated/input/Input';
|
|
13
13
|
import { ScrollTabs } from './lib/scroll-tabs/ScrollTabs';
|
|
14
14
|
import { TabBar } from './lib/tab-bar/TabBar';
|
|
15
15
|
import { YourLocalTimeBlock } from './lib/your-local-time-block/YourLocalTimeBlock';
|
|
@@ -133,3 +133,9 @@ export { default as BookingSpecialistInfo } from './lib/Booking/BookingSpecialis
|
|
|
133
133
|
export * from './lib/Booking/BookingSpecialistInfo';
|
|
134
134
|
export { default as SpecialistCard } from './lib/SpecialistCard';
|
|
135
135
|
export * from './lib/SpecialistCard';
|
|
136
|
+
export { default as TextInput } from './lib/Inputs/TextInput';
|
|
137
|
+
export * from './lib/Inputs/TextInput';
|
|
138
|
+
export { default as ImageInput } from './lib/Inputs/ImageInput';
|
|
139
|
+
export * from './lib/Inputs/ImageInput';
|
|
140
|
+
export { default as PasswordInput } from './lib/Inputs/PasswordInput';
|
|
141
|
+
export * from './lib/Inputs/PasswordInput';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type ImageInputProps = {
|
|
3
|
+
ref?: React.Ref<HTMLInputElement> | null;
|
|
4
|
+
dimension?: number;
|
|
5
|
+
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'>;
|
|
6
|
+
declare const ImageInput: React.FC<ImageInputProps>;
|
|
7
|
+
export default ImageInput;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare type StyledImageInputProps = {
|
|
2
|
+
dimension?: number;
|
|
3
|
+
};
|
|
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 {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ImageInput';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type PasswordInputProps = {
|
|
3
|
+
ref?: React.Ref<HTMLInputElement> | null;
|
|
4
|
+
error?: string | null;
|
|
5
|
+
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'>;
|
|
6
|
+
declare const PasswordInput: React.FC<PasswordInputProps>;
|
|
7
|
+
export default PasswordInput;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare type StyledPasswordProps = {
|
|
2
|
+
isError?: boolean;
|
|
3
|
+
};
|
|
4
|
+
export declare const StyledPasswordContainer: import("styled-components").StyledComponent<"div", any, StyledPasswordProps, never>;
|
|
5
|
+
export declare const StyledPasswordInput: import("styled-components").StyledComponent<"input", any, StyledPasswordProps, never>;
|
|
6
|
+
export declare const ErrorMessage: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './PasswordInput';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StyledTextInput: import("styled-components").StyledComponent<"input", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './TextInput';
|