@mindly/ui-components 3.15.1 → 3.16.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.
- package/dist/cjs/index.js +55 -58
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/lib/Chat/ChatListItem/ChatListItem.d.ts +6 -3
- 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 +5 -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/esm/index.js +47 -50
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/Chat/ChatListItem/ChatListItem.d.ts +6 -3
- 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 +5 -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/index.d.ts +18 -15
- 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
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,8 @@
|
|
|
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
|
+
status?: 'loading' | 'sent' | 'viewed';
|
|
6
6
|
};
|
|
7
|
-
declare const
|
|
8
|
-
export default
|
|
7
|
+
declare const _default: React.NamedExoticComponent<ChatMessageProps>;
|
|
8
|
+
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
|
@@ -202,7 +202,7 @@ declare type LetterAvatarProps = {
|
|
|
202
202
|
height?: number;
|
|
203
203
|
fontSize?: number;
|
|
204
204
|
};
|
|
205
|
-
declare const _default$
|
|
205
|
+
declare const _default$b: React.NamedExoticComponent<LetterAvatarProps>;
|
|
206
206
|
|
|
207
207
|
declare type ImageWithFallbackProps = JSX.IntrinsicElements['img'] & {
|
|
208
208
|
onErrorContent: React.ReactElement;
|
|
@@ -214,7 +214,7 @@ declare type PersonDateTimeCardProps = {
|
|
|
214
214
|
name: string;
|
|
215
215
|
dateTime: Date;
|
|
216
216
|
};
|
|
217
|
-
declare const _default$
|
|
217
|
+
declare const _default$a: React.NamedExoticComponent<PersonDateTimeCardProps>;
|
|
218
218
|
|
|
219
219
|
declare type PsychologistProfileType = {
|
|
220
220
|
id: string;
|
|
@@ -426,7 +426,7 @@ declare type SelectImpressionEmojiProps = {
|
|
|
426
426
|
onChange?: (val: ImpressionEmojiEnum) => void;
|
|
427
427
|
};
|
|
428
428
|
|
|
429
|
-
declare const _default$
|
|
429
|
+
declare const _default$9: React.NamedExoticComponent<SelectImpressionEmojiProps>;
|
|
430
430
|
|
|
431
431
|
interface FooterForBookingProps {
|
|
432
432
|
eventHandler: (props?: React.SyntheticEvent) => void;
|
|
@@ -455,7 +455,7 @@ declare type MediaPlayerProps = {
|
|
|
455
455
|
showControls: boolean;
|
|
456
456
|
isScreenSharing?: boolean;
|
|
457
457
|
} & HTMLAttributes<HTMLDivElement>;
|
|
458
|
-
declare const _default$
|
|
458
|
+
declare const _default$8: React.NamedExoticComponent<MediaPlayerProps>;
|
|
459
459
|
|
|
460
460
|
declare type RoundButtonPropsType = {
|
|
461
461
|
disabled?: boolean;
|
|
@@ -475,28 +475,32 @@ declare type ChatListItemProps = {
|
|
|
475
475
|
avatar?: string;
|
|
476
476
|
newMessagesCount?: number;
|
|
477
477
|
onClick?: () => void;
|
|
478
|
+
status?: 'sent' | 'viewed';
|
|
479
|
+
time: number;
|
|
480
|
+
timeZone?: string;
|
|
478
481
|
};
|
|
479
|
-
declare const
|
|
482
|
+
declare const _default$7: React.NamedExoticComponent<ChatListItemProps>;
|
|
480
483
|
|
|
481
484
|
declare type ChatMessageProps = {
|
|
482
|
-
name: string;
|
|
483
485
|
message: string;
|
|
484
|
-
|
|
486
|
+
position: 'left' | 'right';
|
|
487
|
+
status?: 'loading' | 'sent' | 'viewed';
|
|
485
488
|
};
|
|
486
|
-
declare const
|
|
489
|
+
declare const _default$6: React.NamedExoticComponent<ChatMessageProps>;
|
|
487
490
|
|
|
488
491
|
declare const ChatMessageSkeleton: () => JSX.Element;
|
|
489
492
|
|
|
490
|
-
declare const
|
|
493
|
+
declare const _default$5: React.MemoExoticComponent<() => JSX.Element>;
|
|
491
494
|
|
|
492
495
|
declare type EmptyChatList = {
|
|
493
496
|
title?: string;
|
|
494
497
|
text?: string;
|
|
495
|
-
|
|
496
|
-
|
|
498
|
+
withButton?: boolean;
|
|
499
|
+
buttonTitle?: string;
|
|
497
500
|
onClick?: () => void;
|
|
498
501
|
};
|
|
499
502
|
declare const EmptyChatList: FC<EmptyChatList>;
|
|
503
|
+
declare const _default$4: React.NamedExoticComponent<EmptyChatList>;
|
|
500
504
|
|
|
501
505
|
declare type EmptyChatMessagesProps = {
|
|
502
506
|
title?: string;
|
|
@@ -505,9 +509,8 @@ declare type EmptyChatMessagesProps = {
|
|
|
505
509
|
declare const EmptyChatMessages: FC<EmptyChatMessagesProps>;
|
|
506
510
|
|
|
507
511
|
declare type TextareaProps = {
|
|
508
|
-
onSend: () => void;
|
|
509
|
-
|
|
510
|
-
value?: string;
|
|
512
|
+
onSend: (value: string) => void;
|
|
513
|
+
defaultValue?: string;
|
|
511
514
|
onFocus?: () => void;
|
|
512
515
|
onBlur?: () => void;
|
|
513
516
|
};
|
|
@@ -662,4 +665,4 @@ declare type VideoCallInfoProps = {
|
|
|
662
665
|
};
|
|
663
666
|
declare const _default: React.NamedExoticComponent<VideoCallInfoProps>;
|
|
664
667
|
|
|
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$
|
|
668
|
+
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 };
|