@mindly/ui-components 3.15.1 → 3.16.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.
- package/dist/cjs/index.js +55 -58
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/lib/Avatar/Avatar.d.ts +1 -0
- package/dist/cjs/types/lib/Chat/ChatListItem/ChatListItem.d.ts +7 -4
- package/dist/cjs/types/lib/Chat/ChatListItem/ChatListItem.style.d.ts +5 -8
- package/dist/cjs/types/lib/Chat/ChatListSkeleton/ChatListSkeleton.d.ts +3 -3
- package/dist/cjs/types/lib/Chat/ChatListSkeleton/ChatListSkeleton.style.d.ts +0 -8
- package/dist/cjs/types/lib/Chat/ChatMessage/ChatMessage.d.ts +7 -5
- package/dist/cjs/types/lib/Chat/ChatMessage/ChatMessage.style.d.ts +13 -9
- package/dist/cjs/types/lib/Chat/ChatMessageSkeleton/ChatMessageSkeleton.style.d.ts +6 -1
- package/dist/cjs/types/lib/Chat/EmptyChatList/EmptyChatList.d.ts +5 -4
- package/dist/cjs/types/lib/Chat/EmptyChatList/EmptyChatList.style.d.ts +0 -4
- package/dist/cjs/types/lib/Chat/Textarea/Textarea.d.ts +2 -3
- package/dist/cjs/types/lib/Chat/Textarea/Textarea.style.d.ts +3 -1
- package/dist/cjs/types/lib/LetterAvatar/LetterAvatar.d.ts +1 -0
- package/dist/esm/index.js +47 -50
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/Avatar/Avatar.d.ts +1 -0
- package/dist/esm/types/lib/Chat/ChatListItem/ChatListItem.d.ts +7 -4
- package/dist/esm/types/lib/Chat/ChatListItem/ChatListItem.style.d.ts +5 -8
- package/dist/esm/types/lib/Chat/ChatListSkeleton/ChatListSkeleton.d.ts +3 -3
- package/dist/esm/types/lib/Chat/ChatListSkeleton/ChatListSkeleton.style.d.ts +0 -8
- package/dist/esm/types/lib/Chat/ChatMessage/ChatMessage.d.ts +7 -5
- package/dist/esm/types/lib/Chat/ChatMessage/ChatMessage.style.d.ts +13 -9
- package/dist/esm/types/lib/Chat/ChatMessageSkeleton/ChatMessageSkeleton.style.d.ts +6 -1
- package/dist/esm/types/lib/Chat/EmptyChatList/EmptyChatList.d.ts +5 -4
- package/dist/esm/types/lib/Chat/EmptyChatList/EmptyChatList.style.d.ts +0 -4
- package/dist/esm/types/lib/Chat/Textarea/Textarea.d.ts +2 -3
- package/dist/esm/types/lib/Chat/Textarea/Textarea.style.d.ts +3 -1
- package/dist/esm/types/lib/LetterAvatar/LetterAvatar.d.ts +1 -0
- package/dist/index.d.ts +23 -16
- package/package.json +1 -1
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
declare type ChatListItemProps = {
|
|
3
3
|
name: string;
|
|
4
|
-
message
|
|
4
|
+
message?: string;
|
|
5
5
|
avatar?: string;
|
|
6
6
|
newMessagesCount?: number;
|
|
7
7
|
onClick?: () => void;
|
|
8
|
+
status?: 'sent' | 'viewed';
|
|
9
|
+
time?: number;
|
|
10
|
+
timeZone?: string;
|
|
8
11
|
};
|
|
9
|
-
declare const
|
|
10
|
-
export default
|
|
12
|
+
declare const _default: React.NamedExoticComponent<ChatListItemProps>;
|
|
13
|
+
export default _default;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const IonItemStyled: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("@ionic/core/dist/types/components").JSX.IonItem, "button" | "type" | "disabled" | "color" | "download" | "href" | "rel" | "target" | "mode" | "fill" | "lines" | "routerAnimation" | "shape" | "counter" | "counterFormatter" | "detail" | "detailIcon"> & {
|
|
3
|
-
routerLink?: string | undefined;
|
|
4
|
-
routerDirection?: "none" | "root" | "forward" | "back" | undefined;
|
|
5
|
-
routerOptions?: import("@ionic/react").RouterOptions | undefined;
|
|
6
|
-
routerAnimation?: import("@ionic/react").AnimationBuilder | undefined;
|
|
7
|
-
} & Pick<import("react").HTMLAttributes<HTMLIonItemElement>, "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/IonicReactProps").IonicReactProps & import("react").RefAttributes<HTMLIonItemElement>>, any, {}, never>;
|
|
1
|
+
export declare const ItemButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
8
2
|
export declare const InfoWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const MessageInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
4
|
export declare const UserName: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const MessageStatus: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
6
|
export declare const LastMessage: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
|
-
export declare const
|
|
7
|
+
export declare const TextMessage: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
8
|
+
export declare const BadgeContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: React.MemoExoticComponent<() => JSX.Element>;
|
|
3
|
+
export default _default;
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const SkeletonWrapper: import("styled-components").StyledComponent<"ul", any, {}, never>;
|
|
3
|
-
export declare const SkeletonTextWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
export declare const IonItemStyled: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("@ionic/core/dist/types/components").JSX.IonItem, "button" | "type" | "disabled" | "color" | "download" | "href" | "rel" | "target" | "mode" | "fill" | "lines" | "routerAnimation" | "shape" | "counter" | "counterFormatter" | "detail" | "detailIcon"> & {
|
|
5
|
-
routerLink?: string | undefined;
|
|
6
|
-
routerDirection?: "none" | "root" | "forward" | "back" | undefined;
|
|
7
|
-
routerOptions?: import("@ionic/react").RouterOptions | undefined;
|
|
8
|
-
routerAnimation?: import("@ionic/react").AnimationBuilder | undefined;
|
|
9
|
-
} & Pick<import("react").HTMLAttributes<HTMLIonItemElement>, "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/IonicReactProps").IonicReactProps & import("react").RefAttributes<HTMLIonItemElement>>, any, {}, never>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
declare type ChatMessageProps = {
|
|
3
|
-
name: string;
|
|
4
3
|
message: string;
|
|
5
|
-
|
|
4
|
+
position: 'left' | 'right';
|
|
5
|
+
time: number;
|
|
6
|
+
timeZone?: string;
|
|
7
|
+
status?: 'loading' | 'sent' | 'viewed';
|
|
6
8
|
};
|
|
7
|
-
declare const
|
|
8
|
-
export default
|
|
9
|
+
declare const _default: React.NamedExoticComponent<ChatMessageProps>;
|
|
10
|
+
export default _default;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const MessageUserName: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
1
|
+
declare type MessageWrapperProps = {
|
|
2
|
+
position: 'left' | 'right';
|
|
3
|
+
};
|
|
4
|
+
export declare const MessageWrapper: import("styled-components").StyledComponent<"div", any, MessageWrapperProps, never>;
|
|
5
|
+
declare type MessageBubbleProps = {
|
|
6
|
+
position: 'left' | 'right';
|
|
7
|
+
};
|
|
8
|
+
export declare const MessageBubble: import("styled-components").StyledComponent<"div", any, MessageBubbleProps, never>;
|
|
10
9
|
export declare const MessageText: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
|
+
declare type MessageTimeWrapperProps = {
|
|
11
|
+
position: 'left' | 'right';
|
|
12
|
+
};
|
|
13
|
+
export declare const MessageTimeWrapper: import("styled-components").StyledComponent<"div", any, MessageTimeWrapperProps, never>;
|
|
14
|
+
export {};
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
export declare const SkeletonWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
|
|
2
|
+
declare type SkeletonMessageWrapperProps = {
|
|
3
|
+
isBigger?: boolean;
|
|
4
|
+
position: 'left' | 'right';
|
|
5
|
+
};
|
|
6
|
+
export declare const SkeletonMessageWrapper: import("styled-components").StyledComponent<"div", any, SkeletonMessageWrapperProps, never>;
|
|
7
|
+
export {};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
2
|
declare type EmptyChatList = {
|
|
3
3
|
title?: string;
|
|
4
4
|
text?: string;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
withButton?: boolean;
|
|
6
|
+
buttonTitle?: string;
|
|
7
7
|
onClick?: () => void;
|
|
8
8
|
};
|
|
9
9
|
declare const EmptyChatList: FC<EmptyChatList>;
|
|
10
|
-
|
|
10
|
+
declare const _default: React.NamedExoticComponent<EmptyChatList>;
|
|
11
|
+
export default _default;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
export declare const EmptyWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
export declare const SkeletonWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
-
export declare const SkeletonText: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
export declare const SkeletonWrapperContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
2
|
export declare const Title: import("styled-components").StyledComponent<"h3", any, {}, never>;
|
|
6
3
|
export declare const EmptyMessage: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
-
export declare const ButtonWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const TextareaWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
-
export declare const TextareaStyled: import("styled-components").StyledComponent<
|
|
3
|
+
export declare const TextareaStyled: import("styled-components").StyledComponent<"textarea", any, {}, never>;
|
|
4
4
|
export declare const SendButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
5
|
+
export declare const StyledFooter: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@ionic/core/dist/types/components").JSX.IonFooter & Pick<import("react").HTMLAttributes<HTMLIonFooterElement>, "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<HTMLIonFooterElement>>, any, {}, never>;
|
|
6
|
+
export declare const StyledToolbar: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@ionic/core/dist/types/components").JSX.IonToolbar & Pick<import("react").HTMLAttributes<HTMLIonToolbarElement>, "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<HTMLIonToolbarElement>>, any, {}, never>;
|
package/dist/index.d.ts
CHANGED
|
@@ -201,8 +201,9 @@ declare type LetterAvatarProps = {
|
|
|
201
201
|
width?: number;
|
|
202
202
|
height?: number;
|
|
203
203
|
fontSize?: number;
|
|
204
|
+
onClick?: () => void;
|
|
204
205
|
};
|
|
205
|
-
declare const _default$
|
|
206
|
+
declare const _default$b: React.NamedExoticComponent<LetterAvatarProps>;
|
|
206
207
|
|
|
207
208
|
declare type ImageWithFallbackProps = JSX.IntrinsicElements['img'] & {
|
|
208
209
|
onErrorContent: React.ReactElement;
|
|
@@ -214,7 +215,7 @@ declare type PersonDateTimeCardProps = {
|
|
|
214
215
|
name: string;
|
|
215
216
|
dateTime: Date;
|
|
216
217
|
};
|
|
217
|
-
declare const _default$
|
|
218
|
+
declare const _default$a: React.NamedExoticComponent<PersonDateTimeCardProps>;
|
|
218
219
|
|
|
219
220
|
declare type PsychologistProfileType = {
|
|
220
221
|
id: string;
|
|
@@ -383,6 +384,7 @@ declare type AvatarProps = {
|
|
|
383
384
|
style?: CSSProperties;
|
|
384
385
|
className?: string;
|
|
385
386
|
withBorder?: boolean;
|
|
387
|
+
onClick?: () => void;
|
|
386
388
|
};
|
|
387
389
|
declare const Avatar: FC<AvatarProps>;
|
|
388
390
|
|
|
@@ -426,7 +428,7 @@ declare type SelectImpressionEmojiProps = {
|
|
|
426
428
|
onChange?: (val: ImpressionEmojiEnum) => void;
|
|
427
429
|
};
|
|
428
430
|
|
|
429
|
-
declare const _default$
|
|
431
|
+
declare const _default$9: React.NamedExoticComponent<SelectImpressionEmojiProps>;
|
|
430
432
|
|
|
431
433
|
interface FooterForBookingProps {
|
|
432
434
|
eventHandler: (props?: React.SyntheticEvent) => void;
|
|
@@ -455,7 +457,7 @@ declare type MediaPlayerProps = {
|
|
|
455
457
|
showControls: boolean;
|
|
456
458
|
isScreenSharing?: boolean;
|
|
457
459
|
} & HTMLAttributes<HTMLDivElement>;
|
|
458
|
-
declare const _default$
|
|
460
|
+
declare const _default$8: React.NamedExoticComponent<MediaPlayerProps>;
|
|
459
461
|
|
|
460
462
|
declare type RoundButtonPropsType = {
|
|
461
463
|
disabled?: boolean;
|
|
@@ -471,32 +473,38 @@ declare const RoundButton: React.FC<RoundButtonPropsType>;
|
|
|
471
473
|
|
|
472
474
|
declare type ChatListItemProps = {
|
|
473
475
|
name: string;
|
|
474
|
-
message
|
|
476
|
+
message?: string;
|
|
475
477
|
avatar?: string;
|
|
476
478
|
newMessagesCount?: number;
|
|
477
479
|
onClick?: () => void;
|
|
480
|
+
status?: 'sent' | 'viewed';
|
|
481
|
+
time?: number;
|
|
482
|
+
timeZone?: string;
|
|
478
483
|
};
|
|
479
|
-
declare const
|
|
484
|
+
declare const _default$7: React.NamedExoticComponent<ChatListItemProps>;
|
|
480
485
|
|
|
481
486
|
declare type ChatMessageProps = {
|
|
482
|
-
name: string;
|
|
483
487
|
message: string;
|
|
484
|
-
|
|
488
|
+
position: 'left' | 'right';
|
|
489
|
+
time: number;
|
|
490
|
+
timeZone?: string;
|
|
491
|
+
status?: 'loading' | 'sent' | 'viewed';
|
|
485
492
|
};
|
|
486
|
-
declare const
|
|
493
|
+
declare const _default$6: React.NamedExoticComponent<ChatMessageProps>;
|
|
487
494
|
|
|
488
495
|
declare const ChatMessageSkeleton: () => JSX.Element;
|
|
489
496
|
|
|
490
|
-
declare const
|
|
497
|
+
declare const _default$5: React.MemoExoticComponent<() => JSX.Element>;
|
|
491
498
|
|
|
492
499
|
declare type EmptyChatList = {
|
|
493
500
|
title?: string;
|
|
494
501
|
text?: string;
|
|
495
|
-
|
|
496
|
-
|
|
502
|
+
withButton?: boolean;
|
|
503
|
+
buttonTitle?: string;
|
|
497
504
|
onClick?: () => void;
|
|
498
505
|
};
|
|
499
506
|
declare const EmptyChatList: FC<EmptyChatList>;
|
|
507
|
+
declare const _default$4: React.NamedExoticComponent<EmptyChatList>;
|
|
500
508
|
|
|
501
509
|
declare type EmptyChatMessagesProps = {
|
|
502
510
|
title?: string;
|
|
@@ -505,9 +513,8 @@ declare type EmptyChatMessagesProps = {
|
|
|
505
513
|
declare const EmptyChatMessages: FC<EmptyChatMessagesProps>;
|
|
506
514
|
|
|
507
515
|
declare type TextareaProps = {
|
|
508
|
-
onSend: () => void;
|
|
509
|
-
|
|
510
|
-
value?: string;
|
|
516
|
+
onSend: (value: string) => void;
|
|
517
|
+
defaultValue?: string;
|
|
511
518
|
onFocus?: () => void;
|
|
512
519
|
onBlur?: () => void;
|
|
513
520
|
};
|
|
@@ -662,4 +669,4 @@ declare type VideoCallInfoProps = {
|
|
|
662
669
|
};
|
|
663
670
|
declare const _default: React.NamedExoticComponent<VideoCallInfoProps>;
|
|
664
671
|
|
|
665
|
-
export { AppFooter, 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$
|
|
672
|
+
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 };
|