@mindly/ui-components 3.22.5 → 3.23.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 +38 -32
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +2 -0
- package/dist/cjs/types/lib/DaySlider/DaySlider.d.ts +9 -0
- package/dist/cjs/types/lib/DaySlider/DaySlider.style.d.ts +5 -0
- package/dist/cjs/types/lib/DaySlider/index.d.ts +1 -0
- package/dist/cjs/types/lib/DaySlider/utils.d.ts +1 -0
- package/dist/esm/index.js +47 -41
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +2 -0
- package/dist/esm/types/lib/DaySlider/DaySlider.d.ts +9 -0
- package/dist/esm/types/lib/DaySlider/DaySlider.style.d.ts +5 -0
- package/dist/esm/types/lib/DaySlider/index.d.ts +1 -0
- package/dist/esm/types/lib/DaySlider/utils.d.ts +1 -0
- package/dist/index.d.ts +28 -21
- package/package.json +1 -1
|
@@ -115,3 +115,5 @@ export { default as ReScheduleSuccess } from './lib/Consultations/ReScheduleSucc
|
|
|
115
115
|
export * from './lib/Consultations/ReScheduleSuccess';
|
|
116
116
|
export { default as TooltipComponent } from './lib/TooltipComponent';
|
|
117
117
|
export * from './lib/TooltipComponent';
|
|
118
|
+
export { default as DaySlider } from './lib/DaySlider';
|
|
119
|
+
export * from './lib/DaySlider';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React, { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
+
import { JSX } from '@ionic/core/components';
|
|
3
|
+
declare type DaySliderProps = JSX.IonSlides & HTMLAttributes<HTMLIonSlidesElement> & RefAttributes<HTMLIonSlidesElement> & {
|
|
4
|
+
slides: number[];
|
|
5
|
+
timeZone?: string;
|
|
6
|
+
onDayClick?: (i: number, item: number) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<DaySliderProps, "key" | "timeZone" | keyof JSX.IonSlides | keyof React.HTMLAttributes<HTMLIonSlidesElement> | "slides" | "onDayClick"> & React.RefAttributes<HTMLIonSlidesElement>>>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const DaySliderWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const SlideStyled: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@ionic/core/dist/types/components").JSX.IonSlide & Pick<import("react").HTMLAttributes<HTMLIonSlideElement>, "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<HTMLIonSlideElement>>, any, {}, never>;
|
|
4
|
+
export declare const DateButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
5
|
+
export declare const SliderDivider: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './DaySlider';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const dateNormalize: (date: number, timeZone: string) => string;
|
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$
|
|
206
|
+
declare const _default$k: 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$
|
|
218
|
+
declare const _default$j: React.NamedExoticComponent<PersonDateTimeCardProps>;
|
|
219
219
|
|
|
220
220
|
declare type PsychologistProfileType = {
|
|
221
221
|
id: string;
|
|
@@ -430,7 +430,7 @@ declare type SelectImpressionEmojiProps = {
|
|
|
430
430
|
onChange?: (val: ImpressionEmojiEnum) => void;
|
|
431
431
|
};
|
|
432
432
|
|
|
433
|
-
declare const _default$
|
|
433
|
+
declare const _default$i: React.NamedExoticComponent<SelectImpressionEmojiProps>;
|
|
434
434
|
|
|
435
435
|
interface FooterForBookingProps {
|
|
436
436
|
eventHandler: (props?: React.SyntheticEvent) => void;
|
|
@@ -459,7 +459,7 @@ declare type MediaPlayerProps = {
|
|
|
459
459
|
showControls: boolean;
|
|
460
460
|
isScreenSharing?: boolean;
|
|
461
461
|
} & HTMLAttributes<HTMLDivElement>;
|
|
462
|
-
declare const _default$
|
|
462
|
+
declare const _default$h: React.NamedExoticComponent<MediaPlayerProps>;
|
|
463
463
|
|
|
464
464
|
declare type RoundButtonPropsType = {
|
|
465
465
|
disabled?: boolean;
|
|
@@ -484,7 +484,7 @@ declare type ChatListItemProps = {
|
|
|
484
484
|
timeZone?: string;
|
|
485
485
|
lastMessageType?: 'text' | 'file' | 'image' | 'video' | 'system';
|
|
486
486
|
};
|
|
487
|
-
declare const _default$
|
|
487
|
+
declare const _default$g: React.NamedExoticComponent<ChatListItemProps>;
|
|
488
488
|
|
|
489
489
|
declare type ChatMessageProps = {
|
|
490
490
|
message: string | File;
|
|
@@ -501,11 +501,11 @@ declare type ChatMessageProps = {
|
|
|
501
501
|
height?: number;
|
|
502
502
|
};
|
|
503
503
|
};
|
|
504
|
-
declare const _default$
|
|
504
|
+
declare const _default$f: React.NamedExoticComponent<ChatMessageProps>;
|
|
505
505
|
|
|
506
506
|
declare const ChatMessageSkeleton: () => JSX.Element;
|
|
507
507
|
|
|
508
|
-
declare const _default$
|
|
508
|
+
declare const _default$e: React.MemoExoticComponent<() => JSX.Element>;
|
|
509
509
|
|
|
510
510
|
declare type EmptyChatList = {
|
|
511
511
|
title?: string;
|
|
@@ -515,7 +515,7 @@ declare type EmptyChatList = {
|
|
|
515
515
|
onClick?: () => void;
|
|
516
516
|
};
|
|
517
517
|
declare const EmptyChatList: FC<EmptyChatList>;
|
|
518
|
-
declare const _default$
|
|
518
|
+
declare const _default$d: React.NamedExoticComponent<EmptyChatList>;
|
|
519
519
|
|
|
520
520
|
declare type EmptyChatMessagesProps = {
|
|
521
521
|
title?: string;
|
|
@@ -539,7 +539,7 @@ declare type TextareaProps = {
|
|
|
539
539
|
onError?: (message: string) => void;
|
|
540
540
|
onFileSelect?: (file: File | null, type: 'file' | 'image' | 'video', fileInfo: FileInfoType) => void;
|
|
541
541
|
};
|
|
542
|
-
declare const _default$
|
|
542
|
+
declare const _default$c: React.NamedExoticComponent<TextareaProps>;
|
|
543
543
|
|
|
544
544
|
declare type LouseConnectProps = {
|
|
545
545
|
onClick?: () => void;
|
|
@@ -620,7 +620,7 @@ declare type SpecialistEducationCardProps = {
|
|
|
620
620
|
yearEnd?: number | null;
|
|
621
621
|
showLoader?: boolean;
|
|
622
622
|
};
|
|
623
|
-
declare const _default$
|
|
623
|
+
declare const _default$b: React.NamedExoticComponent<SpecialistEducationCardProps>;
|
|
624
624
|
|
|
625
625
|
declare type SpecialistProfileViewCardProps = {
|
|
626
626
|
avatarLink?: string | null;
|
|
@@ -633,7 +633,7 @@ declare type SpecialistProfileViewCardProps = {
|
|
|
633
633
|
videoLinkUrl?: string | null;
|
|
634
634
|
showLoader?: boolean;
|
|
635
635
|
} & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
636
|
-
declare const _default$
|
|
636
|
+
declare const _default$a: React.NamedExoticComponent<SpecialistProfileViewCardProps>;
|
|
637
637
|
|
|
638
638
|
declare type SpecialistStatisticsCardProps = {
|
|
639
639
|
activeClients?: number;
|
|
@@ -667,7 +667,7 @@ declare type VideoPlayerProps = {
|
|
|
667
667
|
closeModalHandler?: () => void;
|
|
668
668
|
onErrorContent: React.ReactElement;
|
|
669
669
|
} & JSX$1.IonModal;
|
|
670
|
-
declare const _default$
|
|
670
|
+
declare const _default$9: React.NamedExoticComponent<VideoPlayerProps>;
|
|
671
671
|
|
|
672
672
|
declare type NotSupportModalProps = {
|
|
673
673
|
closeModal?: () => void;
|
|
@@ -688,7 +688,7 @@ declare type VideoCallInfoProps = {
|
|
|
688
688
|
userInfo: UserInfo;
|
|
689
689
|
consultationDate?: number;
|
|
690
690
|
};
|
|
691
|
-
declare const _default$
|
|
691
|
+
declare const _default$8: React.NamedExoticComponent<VideoCallInfoProps>;
|
|
692
692
|
|
|
693
693
|
declare enum ConsultationCardType {
|
|
694
694
|
FEATURE = "feature",
|
|
@@ -707,14 +707,14 @@ declare type ConsultationCardProps = {
|
|
|
707
707
|
onVideoCall?: (sessionId: string) => void;
|
|
708
708
|
};
|
|
709
709
|
|
|
710
|
-
declare const _default$
|
|
710
|
+
declare const _default$7: React.NamedExoticComponent<ConsultationCardProps>;
|
|
711
711
|
|
|
712
712
|
declare type SignUpSessionButtonProps = {
|
|
713
713
|
label: string;
|
|
714
714
|
isLoading?: boolean;
|
|
715
715
|
onClick?: () => void;
|
|
716
716
|
};
|
|
717
|
-
declare const _default$
|
|
717
|
+
declare const _default$6: React.NamedExoticComponent<SignUpSessionButtonProps>;
|
|
718
718
|
|
|
719
719
|
declare type EmptyConsultationsProps = {
|
|
720
720
|
title: string;
|
|
@@ -722,7 +722,7 @@ declare type EmptyConsultationsProps = {
|
|
|
722
722
|
buttonLabel?: string;
|
|
723
723
|
onClick?: () => void;
|
|
724
724
|
};
|
|
725
|
-
declare const _default$
|
|
725
|
+
declare const _default$5: React.NamedExoticComponent<EmptyConsultationsProps>;
|
|
726
726
|
|
|
727
727
|
declare type ConsultationModalProps = {
|
|
728
728
|
isOpen: boolean;
|
|
@@ -740,7 +740,7 @@ declare type ConsultationModalProps = {
|
|
|
740
740
|
onReschedule?: (sessionId: string) => void;
|
|
741
741
|
onModalClose?: () => void;
|
|
742
742
|
};
|
|
743
|
-
declare const _default$
|
|
743
|
+
declare const _default$4: React.NamedExoticComponent<ConsultationModalProps>;
|
|
744
744
|
|
|
745
745
|
declare type SpecialistData = {
|
|
746
746
|
id: string;
|
|
@@ -755,7 +755,7 @@ declare type SignUpSessionModalProps = {
|
|
|
755
755
|
onCancel?: () => void;
|
|
756
756
|
viewportHeight: number;
|
|
757
757
|
};
|
|
758
|
-
declare const _default$
|
|
758
|
+
declare const _default$3: React.NamedExoticComponent<SignUpSessionModalProps>;
|
|
759
759
|
|
|
760
760
|
declare type ConsultationSpecialistCardProps = {
|
|
761
761
|
id: string;
|
|
@@ -765,7 +765,7 @@ declare type ConsultationSpecialistCardProps = {
|
|
|
765
765
|
onClick?: (id: string) => void;
|
|
766
766
|
onSignUp?: (id: string) => void;
|
|
767
767
|
};
|
|
768
|
-
declare const _default$
|
|
768
|
+
declare const _default$2: React.NamedExoticComponent<ConsultationSpecialistCardProps>;
|
|
769
769
|
|
|
770
770
|
declare type SpecialistInfoModalProps = {
|
|
771
771
|
isOpen: boolean;
|
|
@@ -801,7 +801,7 @@ declare type ReScheduleProps = {
|
|
|
801
801
|
onSubmit?: (message: string) => void;
|
|
802
802
|
isLoading?: boolean;
|
|
803
803
|
};
|
|
804
|
-
declare const _default: React.NamedExoticComponent<ReScheduleProps>;
|
|
804
|
+
declare const _default$1: React.NamedExoticComponent<ReScheduleProps>;
|
|
805
805
|
|
|
806
806
|
declare type ReScheduleSuccessProps = {
|
|
807
807
|
name: string;
|
|
@@ -821,4 +821,11 @@ declare type TooltipComponentProps = {
|
|
|
821
821
|
};
|
|
822
822
|
declare const TooltipComponent: FC<TooltipComponentProps>;
|
|
823
823
|
|
|
824
|
-
|
|
824
|
+
declare type DaySliderProps = JSX$1.IonSlides & HTMLAttributes<HTMLIonSlidesElement> & RefAttributes<HTMLIonSlidesElement> & {
|
|
825
|
+
slides: number[];
|
|
826
|
+
timeZone?: string;
|
|
827
|
+
onDayClick?: (i: number, item: number) => void;
|
|
828
|
+
};
|
|
829
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<DaySliderProps, "key" | "timeZone" | keyof JSX$1.IonSlides | keyof React.HTMLAttributes<HTMLIonSlidesElement> | "slides" | "onDayClick"> & React.RefAttributes<HTMLIonSlidesElement>>>;
|
|
830
|
+
|
|
831
|
+
export { AppFooter, AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, Button, CancelSession, _default$g as ChatListItem, _default$e as ChatListSkeleton, _default$f as ChatMessage, ChatMessageSkeleton, _default$7 as ConsultationCard, ConsultationCardDeprecated, ConsultationCardDeprecatedProps, ConsultationCardDeprecatedSkeleton, ConsultationCardProps, ConsultationCardType, _default$4 as ConsultationModal, _default$2 as ConsultationSpecialistCard, Container, ContentCard, DatePicker, DateTimeType, DayOfWeeks, _default as DaySlider, DayToRender, _default$d as EmptyChatList, EmptyChatMessages, _default$5 as EmptyConsultations, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageWithFallback, ImpressionEmojiEnum, Input, _default$k as LetterAvatar, ListButton, ListSelect, LouseConnect, _default$h as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, _default$j as PersonDateTimeCard, Range, _default$1 as ReSchedule, ReScheduleSuccess, RoundButton, RowSelect, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$i as SelectImpressionEmoji, _default$6 as SignUpSessionButton, _default$3 as SignUpSessionModal, Skeleton, SpecialistAbout, _default$b as SpecialistEducationCard, SpecialistInfoModal, _default$a as SpecialistProfileViewCard, SpecialistStatisticsCard, SpecialistWorkDirections, StatusTag, SwitchDeviceCard, TabBar, Tag, _default$c as Textarea, TherapistCard, TherapistInformationComponent, Toggle, TooltipComponent, UpdatesCard, UsersPsychologistScrollList, _default$8 as VideoCallInfo, _default$9 as VideoPlayer, YourLocalTimeBlock, toast };
|