@mindly/ui-components 3.4.0 → 3.5.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.
@@ -61,3 +61,7 @@ export { default as EmptyChatList } from './lib/Chat/EmptyChatList';
61
61
  export * from './lib/Chat/EmptyChatList';
62
62
  export { default as EmptyChatMessages } from './lib/Chat/EmptyChatMessages';
63
63
  export * from './lib/Chat/EmptyChatMessages';
64
+ export { default as Textarea } from './lib/Chat/Textarea';
65
+ export * from './lib/Chat/Textarea';
66
+ export { default as LouseConnect } from './lib/Chat/LouseConnect';
67
+ export * from './lib/Chat/LouseConnect';
@@ -1,9 +1,9 @@
1
1
  import { FC } from 'react';
2
2
  declare type ChatListItemProps = {
3
- href: string;
4
3
  name: string;
5
4
  message: string;
6
5
  avatar?: string;
6
+ onClick?: () => void;
7
7
  };
8
8
  declare const ChatListItem: FC<ChatListItemProps>;
9
9
  export default ChatListItem;
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ declare type LouseConnectProps = {
3
+ onClick?: () => void;
4
+ };
5
+ declare const LouseConnect: FC<LouseConnectProps>;
6
+ export default LouseConnect;
@@ -0,0 +1,3 @@
1
+ export declare const LouseConnectWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const WarningMessage: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const ButtonWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1 @@
1
+ export { default } from './LouseConnect';
@@ -0,0 +1,8 @@
1
+ import { FC } from 'react';
2
+ declare type TextareaProps = {
3
+ onSend: () => void;
4
+ onChange: (value: string) => void;
5
+ value?: string;
6
+ };
7
+ declare const Textarea: FC<TextareaProps>;
8
+ export default Textarea;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const TextareaWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const TextareaStyled: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@ionic/core/dist/types/components").JSX.IonTextarea & Pick<import("react").HTMLAttributes<HTMLIonTextareaElement>, "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("@ionic/react/dist/types/components/react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLIonTextareaElement>>, any, {}, never>;
4
+ export declare const SendButton: import("styled-components").StyledComponent<"button", any, {}, never>;
@@ -0,0 +1 @@
1
+ export { default } from './Textarea';
package/dist/index.d.ts CHANGED
@@ -447,10 +447,10 @@ declare type RoundButtonPropsType = {
447
447
  declare const RoundButton: React.FC<RoundButtonPropsType>;
448
448
 
449
449
  declare type ChatListItemProps = {
450
- href: string;
451
450
  name: string;
452
451
  message: string;
453
452
  avatar?: string;
453
+ onClick?: () => void;
454
454
  };
455
455
  declare const ChatListItem: FC<ChatListItemProps>;
456
456
 
@@ -480,4 +480,16 @@ declare type EmptyChatMessagesProps = {
480
480
  };
481
481
  declare const EmptyChatMessages: FC<EmptyChatMessagesProps>;
482
482
 
483
- export { AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, Button, ChatListItem, ChatListSkeleton, ChatMessage, ChatMessageSkeleton, ConsultationCard, ConsultationCardProps, ConsultationCardSkeleton, Container, ContentCard, DatePicker, DateTimeType, DayOfWeeks, DayToRender, EmptyChatList, EmptyChatMessages, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageWithFallback, ImpressionEmojiEnum, Input, _default$2 as LetterAvatar, ListButton, ListSelect, AgoraMediaPlayer as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotesCardText, NotesEditor, _default$1 as PersonDateTimeCard, Range, RoundButton, RowSelect, ScrollTabs, Segment, SegmentType, _default as SelectImpressionEmoji, StatusTag, TabBar, TherapistCard, TherapistInformationComponent, Toggle, UsersPsychologistScrollList, YourLocalTimeBlock, toast };
483
+ declare type TextareaProps = {
484
+ onSend: () => void;
485
+ onChange: (value: string) => void;
486
+ value?: string;
487
+ };
488
+ declare const Textarea: FC<TextareaProps>;
489
+
490
+ declare type LouseConnectProps = {
491
+ onClick?: () => void;
492
+ };
493
+ declare const LouseConnect: FC<LouseConnectProps>;
494
+
495
+ export { AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, Button, ChatListItem, ChatListSkeleton, ChatMessage, ChatMessageSkeleton, ConsultationCard, ConsultationCardProps, ConsultationCardSkeleton, Container, ContentCard, DatePicker, DateTimeType, DayOfWeeks, DayToRender, EmptyChatList, EmptyChatMessages, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageWithFallback, ImpressionEmojiEnum, Input, _default$2 as LetterAvatar, ListButton, ListSelect, LouseConnect, AgoraMediaPlayer as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotesCardText, NotesEditor, _default$1 as PersonDateTimeCard, Range, RoundButton, RowSelect, ScrollTabs, Segment, SegmentType, _default as SelectImpressionEmoji, StatusTag, TabBar, Textarea, TherapistCard, TherapistInformationComponent, Toggle, UsersPsychologistScrollList, YourLocalTimeBlock, toast };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "3.4.0",
3
+ "version": "3.5.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",