@mindly/ui-components 3.17.0 → 3.17.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,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import React from 'react';
2
2
  declare type TextareaProps = {
3
3
  onSend: (value: string) => void;
4
4
  defaultValue?: string;
@@ -7,7 +7,7 @@ declare type TextareaProps = {
7
7
  isOpen: boolean;
8
8
  maxLength: number;
9
9
  onError?: (message: string) => void;
10
- onAttachClick?: () => void;
10
+ onFileSelect?: (files: FileList | null) => void;
11
11
  };
12
- declare const Textarea: FC<TextareaProps>;
13
- export default Textarea;
12
+ declare const _default: React.NamedExoticComponent<TextareaProps>;
13
+ export default _default;
package/dist/index.d.ts CHANGED
@@ -203,7 +203,7 @@ declare type LetterAvatarProps = {
203
203
  fontSize?: number;
204
204
  onClick?: () => void;
205
205
  };
206
- declare const _default$b: React.NamedExoticComponent<LetterAvatarProps>;
206
+ declare const _default$c: React.NamedExoticComponent<LetterAvatarProps>;
207
207
 
208
208
  declare type ImageWithFallbackProps = JSX.IntrinsicElements['img'] & {
209
209
  onErrorContent: React.ReactElement;
@@ -215,7 +215,7 @@ declare type PersonDateTimeCardProps = {
215
215
  name: string;
216
216
  dateTime: Date;
217
217
  };
218
- declare const _default$a: React.NamedExoticComponent<PersonDateTimeCardProps>;
218
+ declare const _default$b: React.NamedExoticComponent<PersonDateTimeCardProps>;
219
219
 
220
220
  declare type PsychologistProfileType = {
221
221
  id: string;
@@ -428,7 +428,7 @@ declare type SelectImpressionEmojiProps = {
428
428
  onChange?: (val: ImpressionEmojiEnum) => void;
429
429
  };
430
430
 
431
- declare const _default$9: React.NamedExoticComponent<SelectImpressionEmojiProps>;
431
+ declare const _default$a: React.NamedExoticComponent<SelectImpressionEmojiProps>;
432
432
 
433
433
  interface FooterForBookingProps {
434
434
  eventHandler: (props?: React.SyntheticEvent) => void;
@@ -457,7 +457,7 @@ declare type MediaPlayerProps = {
457
457
  showControls: boolean;
458
458
  isScreenSharing?: boolean;
459
459
  } & HTMLAttributes<HTMLDivElement>;
460
- declare const _default$8: React.NamedExoticComponent<MediaPlayerProps>;
460
+ declare const _default$9: React.NamedExoticComponent<MediaPlayerProps>;
461
461
 
462
462
  declare type RoundButtonPropsType = {
463
463
  disabled?: boolean;
@@ -481,7 +481,7 @@ declare type ChatListItemProps = {
481
481
  time?: number;
482
482
  timeZone?: string;
483
483
  };
484
- declare const _default$7: React.NamedExoticComponent<ChatListItemProps>;
484
+ declare const _default$8: React.NamedExoticComponent<ChatListItemProps>;
485
485
 
486
486
  declare type ChatMessageProps = {
487
487
  message: string;
@@ -490,11 +490,11 @@ declare type ChatMessageProps = {
490
490
  timeZone?: string;
491
491
  status?: 'loading' | 'sent' | 'viewed';
492
492
  };
493
- declare const _default$6: React.NamedExoticComponent<ChatMessageProps>;
493
+ declare const _default$7: React.NamedExoticComponent<ChatMessageProps>;
494
494
 
495
495
  declare const ChatMessageSkeleton: () => JSX.Element;
496
496
 
497
- declare const _default$5: React.MemoExoticComponent<() => JSX.Element>;
497
+ declare const _default$6: React.MemoExoticComponent<() => JSX.Element>;
498
498
 
499
499
  declare type EmptyChatList = {
500
500
  title?: string;
@@ -504,7 +504,7 @@ declare type EmptyChatList = {
504
504
  onClick?: () => void;
505
505
  };
506
506
  declare const EmptyChatList: FC<EmptyChatList>;
507
- declare const _default$4: React.NamedExoticComponent<EmptyChatList>;
507
+ declare const _default$5: React.NamedExoticComponent<EmptyChatList>;
508
508
 
509
509
  declare type EmptyChatMessagesProps = {
510
510
  title?: string;
@@ -520,9 +520,9 @@ declare type TextareaProps = {
520
520
  isOpen: boolean;
521
521
  maxLength: number;
522
522
  onError?: (message: string) => void;
523
- onAttachClick?: () => void;
523
+ onFileSelect?: (files: FileList | null) => void;
524
524
  };
525
- declare const Textarea: FC<TextareaProps>;
525
+ declare const _default$4: React.NamedExoticComponent<TextareaProps>;
526
526
 
527
527
  declare type LouseConnectProps = {
528
528
  onClick?: () => void;
@@ -673,4 +673,4 @@ declare type VideoCallInfoProps = {
673
673
  };
674
674
  declare const _default: React.NamedExoticComponent<VideoCallInfoProps>;
675
675
 
676
- export { AppFooter, AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, Button, _default$7 as ChatListItem, _default$5 as ChatListSkeleton, _default$6 as ChatMessage, ChatMessageSkeleton, ConsultationCard, ConsultationCardProps, ConsultationCardSkeleton, Container, ContentCard, DatePicker, DateTimeType, DayOfWeeks, DayToRender, _default$4 as EmptyChatList, EmptyChatMessages, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageWithFallback, ImpressionEmojiEnum, Input, _default$b as LetterAvatar, ListButton, ListSelect, LouseConnect, _default$8 as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, _default$a as PersonDateTimeCard, Range, RoundButton, RowSelect, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$9 as SelectImpressionEmoji, Skeleton, SpecialistAbout, _default$3 as SpecialistEducationCard, _default$2 as SpecialistProfileViewCard, SpecialistStatisticsCard, SpecialistWorkDirections, StatusTag, SwitchDeviceCard, TabBar, Tag, Textarea, TherapistCard, TherapistInformationComponent, Toggle, UpdatesCard, UsersPsychologistScrollList, _default as VideoCallInfo, _default$1 as VideoPlayer, YourLocalTimeBlock, toast };
676
+ export { AppFooter, AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, Button, _default$8 as ChatListItem, _default$6 as ChatListSkeleton, _default$7 as ChatMessage, ChatMessageSkeleton, ConsultationCard, ConsultationCardProps, ConsultationCardSkeleton, Container, ContentCard, DatePicker, DateTimeType, DayOfWeeks, DayToRender, _default$5 as EmptyChatList, EmptyChatMessages, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageWithFallback, ImpressionEmojiEnum, Input, _default$c as LetterAvatar, ListButton, ListSelect, LouseConnect, _default$9 as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, _default$b as PersonDateTimeCard, Range, RoundButton, RowSelect, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$a as SelectImpressionEmoji, Skeleton, SpecialistAbout, _default$3 as SpecialistEducationCard, _default$2 as SpecialistProfileViewCard, SpecialistStatisticsCard, SpecialistWorkDirections, StatusTag, SwitchDeviceCard, TabBar, Tag, _default$4 as Textarea, TherapistCard, TherapistInformationComponent, Toggle, UpdatesCard, UsersPsychologistScrollList, _default as VideoCallInfo, _default$1 as VideoPlayer, YourLocalTimeBlock, toast };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "3.17.0",
3
+ "version": "3.17.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",