@mindly/ui-components 3.30.1 → 3.31.1

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.
@@ -1,10 +1,9 @@
1
1
  import React from 'react';
2
- declare type CustomSelectProps = {
2
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
3
3
  options: {
4
4
  id: string | number;
5
5
  label: string | number;
6
6
  }[];
7
- isError?: boolean;
8
- } & React.SelectHTMLAttributes<HTMLSelectElement>;
9
- declare const _default: React.NamedExoticComponent<CustomSelectProps>;
7
+ isError?: boolean | undefined;
8
+ } & React.SelectHTMLAttributes<HTMLSelectElement> & React.RefAttributes<HTMLSelectElement>>>;
10
9
  export default _default;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
- declare type CustomTextareaProps = {
3
- isError?: boolean;
4
- } & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
5
- declare const _default: React.NamedExoticComponent<CustomTextareaProps>;
2
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
3
+ isError?: boolean | undefined;
4
+ } & React.TextareaHTMLAttributes<HTMLTextAreaElement> & React.RefAttributes<HTMLTextAreaElement>>>;
6
5
  export default _default;
@@ -1,3 +1,11 @@
1
1
  import React from 'react';
2
- declare const ImageInput: React.FC;
2
+ declare const ImageInput: React.ForwardRefExoticComponent<{
3
+ dimension?: number | undefined;
4
+ buttonLabel?: string | undefined;
5
+ isRoundedImage?: boolean | undefined;
6
+ isCloseButton?: boolean | undefined;
7
+ onCloseClick?: (() => void) | undefined;
8
+ isVideoContent?: boolean | undefined;
9
+ isError?: boolean | undefined;
10
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> & React.RefAttributes<HTMLInputElement>>;
3
11
  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 {};
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
- declare type TextInputProps = {
3
- isError?: boolean;
4
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'>;
5
- declare const _default: React.NamedExoticComponent<TextInputProps>;
2
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
3
+ isError?: boolean | undefined;
4
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> & React.RefAttributes<HTMLInputElement>>>;
6
5
  export default _default;
package/dist/index.d.ts CHANGED
@@ -882,27 +882,32 @@ declare type SpecialistCardProps = {
882
882
  };
883
883
  declare const SpecialistCard: React.FC<SpecialistCardProps>;
884
884
 
885
- declare type TextInputProps = {
886
- isError?: boolean;
887
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'>;
888
- declare const _default$2: React.NamedExoticComponent<TextInputProps>;
889
-
890
- declare const ImageInput: React.FC;
885
+ declare const _default$2: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
886
+ isError?: boolean | undefined;
887
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> & React.RefAttributes<HTMLInputElement>>>;
888
+
889
+ declare const ImageInput: React.ForwardRefExoticComponent<{
890
+ dimension?: number | undefined;
891
+ buttonLabel?: string | undefined;
892
+ isRoundedImage?: boolean | undefined;
893
+ isCloseButton?: boolean | undefined;
894
+ onCloseClick?: (() => void) | undefined;
895
+ isVideoContent?: boolean | undefined;
896
+ isError?: boolean | undefined;
897
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> & React.RefAttributes<HTMLInputElement>>;
891
898
 
892
899
  declare const PasswordInput: React.FC;
893
900
 
894
- declare type CustomTextareaProps = {
895
- isError?: boolean;
896
- } & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
897
- declare const _default$1: React.NamedExoticComponent<CustomTextareaProps>;
901
+ declare const _default$1: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
902
+ isError?: boolean | undefined;
903
+ } & React.TextareaHTMLAttributes<HTMLTextAreaElement> & React.RefAttributes<HTMLTextAreaElement>>>;
898
904
 
899
- declare type CustomSelectProps = {
905
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
900
906
  options: {
901
907
  id: string | number;
902
908
  label: string | number;
903
909
  }[];
904
- isError?: boolean;
905
- } & React.SelectHTMLAttributes<HTMLSelectElement>;
906
- declare const _default: React.NamedExoticComponent<CustomSelectProps>;
910
+ isError?: boolean | undefined;
911
+ } & React.SelectHTMLAttributes<HTMLSelectElement> & React.RefAttributes<HTMLSelectElement>>>;
907
912
 
908
913
  export { AppFooter, AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, _default$4 as BookingScheduleTime, _default$3 as BookingSpecialistInfo, Button, CancelSession, _default$n as ChatListItem, _default$l as ChatListSkeleton, _default$m as ChatMessage, ChatMessageSkeleton, _default$e as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$b as ConsultationModal, _default$9 as ConsultationSpecialistCard, Container, ContentCard, _default as CustomSelect, _default$1 as CustomTextarea, DatePicker, _default$7 as DaySlider, DayToRender, _default$5 as EducationCard, _default$k as EmptyChatList, EmptyChatMessages, _default$c as EmptyConsultations, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, _default$r as LetterAvatar, ListButton, ListSelect, LouseConnect, _default$o as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$q as PersonDateTimeCard, _default$6 as ProfileView, Range, _default$8 as ReSchedule, ReScheduleSuccess, RoundButton, RowSelect, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$p as SelectImpressionEmoji, _default$d as SignUpSessionButton, _default$a as SignUpSessionModal, Skeleton, SpecialistAbout, SpecialistCard, _default$i as SpecialistEducationCard, _default$h as SpecialistProfileViewCard, SpecialistStatisticsCard, SpecialistWorkDirections, StatisticsScroll, StatusTag, SwitchDeviceCard, TabBar, Tag, _default$2 as TextInput, _default$j as Textarea, TherapistCard, TherapistInformationComponent, Toggle, TooltipComponent, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, _default$f as VideoCallInfo, _default$g as VideoPlayer, WorkDirections, YourLocalTimeBlock, decOfNum, toast };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "3.30.1",
3
+ "version": "3.31.1",
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;