@mindly/ui-components 3.31.0 → 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,12 +1,11 @@
1
1
  import React from 'react';
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>;
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>>;
12
11
  export default ImageInput;
@@ -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,36 +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 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>;
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>>;
900
898
 
901
899
  declare const PasswordInput: React.FC;
902
900
 
903
- declare type CustomTextareaProps = {
904
- isError?: boolean;
905
- } & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
906
- 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>>>;
907
904
 
908
- declare type CustomSelectProps = {
905
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
909
906
  options: {
910
907
  id: string | number;
911
908
  label: string | number;
912
909
  }[];
913
- isError?: boolean;
914
- } & React.SelectHTMLAttributes<HTMLSelectElement>;
915
- declare const _default: React.NamedExoticComponent<CustomSelectProps>;
910
+ isError?: boolean | undefined;
911
+ } & React.SelectHTMLAttributes<HTMLSelectElement> & React.RefAttributes<HTMLSelectElement>>>;
916
912
 
917
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.31.0",
3
+ "version": "3.31.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",