@mindly/ui-components 3.22.5 → 3.24.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.
Files changed (32) hide show
  1. package/dist/cjs/index.js +40 -34
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/index.d.ts +4 -3
  4. package/dist/cjs/types/lib/Consultations/{SpecialistInfoModal/SpecialistInfoModal.d.ts → UserInfoModal/UserInfoModal.d.ts} +4 -3
  5. package/dist/cjs/types/lib/Consultations/{SpecialistInfoModal/SpecialistInfoModal.style.d.ts → UserInfoModal/UserInfoModal.style.d.ts} +9 -2
  6. package/dist/cjs/types/lib/Consultations/UserInfoModal/index.d.ts +1 -0
  7. package/dist/cjs/types/lib/DaySlider/DaySlider.d.ts +9 -0
  8. package/dist/cjs/types/lib/DaySlider/DaySlider.style.d.ts +5 -0
  9. package/dist/cjs/types/lib/DaySlider/index.d.ts +1 -0
  10. package/dist/cjs/types/lib/DaySlider/utils.d.ts +1 -0
  11. package/dist/esm/index.js +46 -40
  12. package/dist/esm/index.js.map +1 -1
  13. package/dist/esm/types/index.d.ts +4 -3
  14. package/dist/esm/types/lib/Consultations/{SpecialistInfoModal/SpecialistInfoModal.d.ts → UserInfoModal/UserInfoModal.d.ts} +4 -3
  15. package/dist/esm/types/lib/Consultations/{SpecialistInfoModal/SpecialistInfoModal.style.d.ts → UserInfoModal/UserInfoModal.style.d.ts} +9 -2
  16. package/dist/esm/types/lib/Consultations/UserInfoModal/index.d.ts +1 -0
  17. package/dist/esm/types/lib/DaySlider/DaySlider.d.ts +9 -0
  18. package/dist/esm/types/lib/DaySlider/DaySlider.style.d.ts +5 -0
  19. package/dist/esm/types/lib/DaySlider/index.d.ts +1 -0
  20. package/dist/esm/types/lib/DaySlider/utils.d.ts +1 -0
  21. package/dist/index.d.ts +31 -55
  22. package/package.json +1 -1
  23. package/dist/cjs/types/lib/ConsultationCardDeprecated/ConsultationCard.style.d.ts +0 -7
  24. package/dist/cjs/types/lib/ConsultationCardDeprecated/ConsultationCardDeprecated.d.ts +0 -31
  25. package/dist/cjs/types/lib/ConsultationCardDeprecated/ConsultationCardDeprecatedSkeleton.d.ts +0 -2
  26. package/dist/cjs/types/lib/ConsultationCardDeprecated/index.d.ts +0 -2
  27. package/dist/cjs/types/lib/Consultations/SpecialistInfoModal/index.d.ts +0 -1
  28. package/dist/esm/types/lib/ConsultationCardDeprecated/ConsultationCard.style.d.ts +0 -7
  29. package/dist/esm/types/lib/ConsultationCardDeprecated/ConsultationCardDeprecated.d.ts +0 -31
  30. package/dist/esm/types/lib/ConsultationCardDeprecated/ConsultationCardDeprecatedSkeleton.d.ts +0 -2
  31. package/dist/esm/types/lib/ConsultationCardDeprecated/index.d.ts +0 -2
  32. package/dist/esm/types/lib/Consultations/SpecialistInfoModal/index.d.ts +0 -1
@@ -28,7 +28,6 @@ import RowSelect from './lib/Filters/RowSelect';
28
28
  import Toggle from './lib/Filters/Toggle';
29
29
  export { ArchivedConsultationCard, DatePicker, Button, FloatingButton, ListButton, NavigationBar, ContentCard, TherapistCard, toast, NoInternetConnection, TherapistInformationComponent, Input, ScrollTabs, TabBar, YourLocalTimeBlock, ModalCalendar, HorizontalCalendar, ImpressionEmojiEnum, LetterAvatar, ImageWithFallback, PersonDateTimeCard, UsersPsychologistScrollList, NotesEditor, NotesCardText, ListSelect, Range, RowSelect, Toggle, };
30
30
  export * from './lib/EntryNotFound';
31
- export * from './lib/ConsultationCardDeprecated';
32
31
  export * from './lib/Avatar';
33
32
  export { default as AppHeader } from './lib/AppHeader';
34
33
  export * from './lib/AppHeader';
@@ -105,8 +104,8 @@ export { default as SignUpSessionModal } from './lib/Consultations/SignUpSession
105
104
  export * from './lib/Consultations/SignUpSessionModal';
106
105
  export { default as ConsultationSpecialistCard } from './lib/Consultations/ConsultationSpecialistCard';
107
106
  export * from './lib/Consultations/ConsultationSpecialistCard';
108
- export { default as SpecialistInfoModal } from './lib/Consultations/SpecialistInfoModal';
109
- export * from './lib/Consultations/SpecialistInfoModal';
107
+ export { default as UserInfoModal } from './lib/Consultations/UserInfoModal';
108
+ export * from './lib/Consultations/UserInfoModal';
110
109
  export { default as CancelSession } from './lib/Consultations/CancelSession';
111
110
  export * from './lib/Consultations/CancelSession';
112
111
  export { default as ReSchedule } from './lib/Consultations/ReSchedule';
@@ -115,3 +114,5 @@ export { default as ReScheduleSuccess } from './lib/Consultations/ReScheduleSucc
115
114
  export * from './lib/Consultations/ReScheduleSuccess';
116
115
  export { default as TooltipComponent } from './lib/TooltipComponent';
117
116
  export * from './lib/TooltipComponent';
117
+ export { default as DaySlider } from './lib/DaySlider';
118
+ export * from './lib/DaySlider';
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- declare type SpecialistInfoModalProps = {
2
+ declare type UserInfoModalProps = {
3
3
  isOpen: boolean;
4
4
  id: string;
5
5
  name: string;
@@ -10,6 +10,7 @@ declare type SpecialistInfoModalProps = {
10
10
  onProfile?: (id: string) => void;
11
11
  onSignUp?: (id: string) => void;
12
12
  onClose: () => void;
13
+ isClient?: boolean;
13
14
  };
14
- declare const SpecialistInfoModal: FC<SpecialistInfoModalProps>;
15
- export default SpecialistInfoModal;
15
+ declare const UserInfoModal: FC<UserInfoModalProps>;
16
+ export default UserInfoModal;
@@ -1,3 +1,10 @@
1
1
  /// <reference types="react" />
2
- export declare const SpecialistInfoWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@ionic/core/dist/types/components").JSX.IonModal & Pick<import("react").HTMLAttributes<HTMLIonModalElement>, "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<HTMLIonModalElement>>, any, {}, never>;
3
- export declare const SpecialistInfoContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ declare type SpecialistInfoWrapperProps = {
3
+ isClient: boolean;
4
+ };
5
+ export declare const SpecialistInfoWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@ionic/core/dist/types/components").JSX.IonModal & Pick<import("react").HTMLAttributes<HTMLIonModalElement>, "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<HTMLIonModalElement>>, any, SpecialistInfoWrapperProps, never>;
6
+ declare type SpecialistInfoContainerProps = {
7
+ isClient: boolean;
8
+ };
9
+ export declare const SpecialistInfoContainer: import("styled-components").StyledComponent<"div", any, SpecialistInfoContainerProps, never>;
10
+ export {};
@@ -0,0 +1 @@
1
+ export { default } from './UserInfoModal';
@@ -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$j: React.NamedExoticComponent<LetterAvatarProps>;
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$i: React.NamedExoticComponent<PersonDateTimeCardProps>;
218
+ declare const _default$j: React.NamedExoticComponent<PersonDateTimeCardProps>;
219
219
 
220
220
  declare type PsychologistProfileType = {
221
221
  id: string;
@@ -341,38 +341,6 @@ declare type EntryNotFoundProps = {
341
341
  };
342
342
  declare const EntryNotFound: FC<EntryNotFoundProps>;
343
343
 
344
- declare enum DayOfWeeks {
345
- 'Понеділок' = 1,
346
- 'Вівторок' = 2,
347
- 'Середа' = 3,
348
- 'Четверг' = 4,
349
- "П'ятниця" = 5,
350
- 'Субота' = 6,
351
- 'Неділя' = 7
352
- }
353
- declare type DateTimeType = {
354
- _nanoseconds: number;
355
- _seconds: number;
356
- };
357
- interface ConsultationCardDeprecatedProps {
358
- startConsultation: (props?: React.SyntheticEvent) => void;
359
- handleReschedule: (props?: React.SyntheticEvent) => void;
360
- handleRefund: (props?: React.SyntheticEvent) => void;
361
- handleNotes?: (props?: React.SyntheticEvent) => void;
362
- consultationWith: string;
363
- consultationTime: DateTimeType;
364
- userTimeZone: string;
365
- avatar: string;
366
- autorecord?: boolean;
367
- ['data-container-testid']?: string;
368
- ['data-start-testid']?: string;
369
- ['data-reschedule-testid']?: string;
370
- ['data-refund-testid']?: string;
371
- }
372
- declare const ConsultationCardDeprecated: React.FC<ConsultationCardDeprecatedProps>;
373
-
374
- declare const ConsultationCardDeprecatedSkeleton: () => JSX.Element;
375
-
376
344
  declare type AvatarProps = {
377
345
  dimensions?: number;
378
346
  width?: number;
@@ -430,7 +398,7 @@ declare type SelectImpressionEmojiProps = {
430
398
  onChange?: (val: ImpressionEmojiEnum) => void;
431
399
  };
432
400
 
433
- declare const _default$h: React.NamedExoticComponent<SelectImpressionEmojiProps>;
401
+ declare const _default$i: React.NamedExoticComponent<SelectImpressionEmojiProps>;
434
402
 
435
403
  interface FooterForBookingProps {
436
404
  eventHandler: (props?: React.SyntheticEvent) => void;
@@ -459,7 +427,7 @@ declare type MediaPlayerProps = {
459
427
  showControls: boolean;
460
428
  isScreenSharing?: boolean;
461
429
  } & HTMLAttributes<HTMLDivElement>;
462
- declare const _default$g: React.NamedExoticComponent<MediaPlayerProps>;
430
+ declare const _default$h: React.NamedExoticComponent<MediaPlayerProps>;
463
431
 
464
432
  declare type RoundButtonPropsType = {
465
433
  disabled?: boolean;
@@ -484,7 +452,7 @@ declare type ChatListItemProps = {
484
452
  timeZone?: string;
485
453
  lastMessageType?: 'text' | 'file' | 'image' | 'video' | 'system';
486
454
  };
487
- declare const _default$f: React.NamedExoticComponent<ChatListItemProps>;
455
+ declare const _default$g: React.NamedExoticComponent<ChatListItemProps>;
488
456
 
489
457
  declare type ChatMessageProps = {
490
458
  message: string | File;
@@ -501,11 +469,11 @@ declare type ChatMessageProps = {
501
469
  height?: number;
502
470
  };
503
471
  };
504
- declare const _default$e: React.NamedExoticComponent<ChatMessageProps>;
472
+ declare const _default$f: React.NamedExoticComponent<ChatMessageProps>;
505
473
 
506
474
  declare const ChatMessageSkeleton: () => JSX.Element;
507
475
 
508
- declare const _default$d: React.MemoExoticComponent<() => JSX.Element>;
476
+ declare const _default$e: React.MemoExoticComponent<() => JSX.Element>;
509
477
 
510
478
  declare type EmptyChatList = {
511
479
  title?: string;
@@ -515,7 +483,7 @@ declare type EmptyChatList = {
515
483
  onClick?: () => void;
516
484
  };
517
485
  declare const EmptyChatList: FC<EmptyChatList>;
518
- declare const _default$c: React.NamedExoticComponent<EmptyChatList>;
486
+ declare const _default$d: React.NamedExoticComponent<EmptyChatList>;
519
487
 
520
488
  declare type EmptyChatMessagesProps = {
521
489
  title?: string;
@@ -539,7 +507,7 @@ declare type TextareaProps = {
539
507
  onError?: (message: string) => void;
540
508
  onFileSelect?: (file: File | null, type: 'file' | 'image' | 'video', fileInfo: FileInfoType) => void;
541
509
  };
542
- declare const _default$b: React.NamedExoticComponent<TextareaProps>;
510
+ declare const _default$c: React.NamedExoticComponent<TextareaProps>;
543
511
 
544
512
  declare type LouseConnectProps = {
545
513
  onClick?: () => void;
@@ -620,7 +588,7 @@ declare type SpecialistEducationCardProps = {
620
588
  yearEnd?: number | null;
621
589
  showLoader?: boolean;
622
590
  };
623
- declare const _default$a: React.NamedExoticComponent<SpecialistEducationCardProps>;
591
+ declare const _default$b: React.NamedExoticComponent<SpecialistEducationCardProps>;
624
592
 
625
593
  declare type SpecialistProfileViewCardProps = {
626
594
  avatarLink?: string | null;
@@ -633,7 +601,7 @@ declare type SpecialistProfileViewCardProps = {
633
601
  videoLinkUrl?: string | null;
634
602
  showLoader?: boolean;
635
603
  } & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
636
- declare const _default$9: React.NamedExoticComponent<SpecialistProfileViewCardProps>;
604
+ declare const _default$a: React.NamedExoticComponent<SpecialistProfileViewCardProps>;
637
605
 
638
606
  declare type SpecialistStatisticsCardProps = {
639
607
  activeClients?: number;
@@ -667,7 +635,7 @@ declare type VideoPlayerProps = {
667
635
  closeModalHandler?: () => void;
668
636
  onErrorContent: React.ReactElement;
669
637
  } & JSX$1.IonModal;
670
- declare const _default$8: React.NamedExoticComponent<VideoPlayerProps>;
638
+ declare const _default$9: React.NamedExoticComponent<VideoPlayerProps>;
671
639
 
672
640
  declare type NotSupportModalProps = {
673
641
  closeModal?: () => void;
@@ -688,7 +656,7 @@ declare type VideoCallInfoProps = {
688
656
  userInfo: UserInfo;
689
657
  consultationDate?: number;
690
658
  };
691
- declare const _default$7: React.NamedExoticComponent<VideoCallInfoProps>;
659
+ declare const _default$8: React.NamedExoticComponent<VideoCallInfoProps>;
692
660
 
693
661
  declare enum ConsultationCardType {
694
662
  FEATURE = "feature",
@@ -707,14 +675,14 @@ declare type ConsultationCardProps = {
707
675
  onVideoCall?: (sessionId: string) => void;
708
676
  };
709
677
 
710
- declare const _default$6: React.NamedExoticComponent<ConsultationCardProps>;
678
+ declare const _default$7: React.NamedExoticComponent<ConsultationCardProps>;
711
679
 
712
680
  declare type SignUpSessionButtonProps = {
713
681
  label: string;
714
682
  isLoading?: boolean;
715
683
  onClick?: () => void;
716
684
  };
717
- declare const _default$5: React.NamedExoticComponent<SignUpSessionButtonProps>;
685
+ declare const _default$6: React.NamedExoticComponent<SignUpSessionButtonProps>;
718
686
 
719
687
  declare type EmptyConsultationsProps = {
720
688
  title: string;
@@ -722,7 +690,7 @@ declare type EmptyConsultationsProps = {
722
690
  buttonLabel?: string;
723
691
  onClick?: () => void;
724
692
  };
725
- declare const _default$4: React.NamedExoticComponent<EmptyConsultationsProps>;
693
+ declare const _default$5: React.NamedExoticComponent<EmptyConsultationsProps>;
726
694
 
727
695
  declare type ConsultationModalProps = {
728
696
  isOpen: boolean;
@@ -740,7 +708,7 @@ declare type ConsultationModalProps = {
740
708
  onReschedule?: (sessionId: string) => void;
741
709
  onModalClose?: () => void;
742
710
  };
743
- declare const _default$3: React.NamedExoticComponent<ConsultationModalProps>;
711
+ declare const _default$4: React.NamedExoticComponent<ConsultationModalProps>;
744
712
 
745
713
  declare type SpecialistData = {
746
714
  id: string;
@@ -755,7 +723,7 @@ declare type SignUpSessionModalProps = {
755
723
  onCancel?: () => void;
756
724
  viewportHeight: number;
757
725
  };
758
- declare const _default$2: React.NamedExoticComponent<SignUpSessionModalProps>;
726
+ declare const _default$3: React.NamedExoticComponent<SignUpSessionModalProps>;
759
727
 
760
728
  declare type ConsultationSpecialistCardProps = {
761
729
  id: string;
@@ -765,9 +733,9 @@ declare type ConsultationSpecialistCardProps = {
765
733
  onClick?: (id: string) => void;
766
734
  onSignUp?: (id: string) => void;
767
735
  };
768
- declare const _default$1: React.NamedExoticComponent<ConsultationSpecialistCardProps>;
736
+ declare const _default$2: React.NamedExoticComponent<ConsultationSpecialistCardProps>;
769
737
 
770
- declare type SpecialistInfoModalProps = {
738
+ declare type UserInfoModalProps = {
771
739
  isOpen: boolean;
772
740
  id: string;
773
741
  name: string;
@@ -778,8 +746,9 @@ declare type SpecialistInfoModalProps = {
778
746
  onProfile?: (id: string) => void;
779
747
  onSignUp?: (id: string) => void;
780
748
  onClose: () => void;
749
+ isClient?: boolean;
781
750
  };
782
- declare const SpecialistInfoModal: FC<SpecialistInfoModalProps>;
751
+ declare const UserInfoModal: FC<UserInfoModalProps>;
783
752
 
784
753
  declare type CancelSessionProps = {
785
754
  name: string;
@@ -801,7 +770,7 @@ declare type ReScheduleProps = {
801
770
  onSubmit?: (message: string) => void;
802
771
  isLoading?: boolean;
803
772
  };
804
- declare const _default: React.NamedExoticComponent<ReScheduleProps>;
773
+ declare const _default$1: React.NamedExoticComponent<ReScheduleProps>;
805
774
 
806
775
  declare type ReScheduleSuccessProps = {
807
776
  name: string;
@@ -821,4 +790,11 @@ declare type TooltipComponentProps = {
821
790
  };
822
791
  declare const TooltipComponent: FC<TooltipComponentProps>;
823
792
 
824
- export { AppFooter, AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, Button, CancelSession, _default$f as ChatListItem, _default$d as ChatListSkeleton, _default$e as ChatMessage, ChatMessageSkeleton, _default$6 as ConsultationCard, ConsultationCardDeprecated, ConsultationCardDeprecatedProps, ConsultationCardDeprecatedSkeleton, ConsultationCardProps, ConsultationCardType, _default$3 as ConsultationModal, _default$1 as ConsultationSpecialistCard, Container, ContentCard, DatePicker, DateTimeType, DayOfWeeks, DayToRender, _default$c as EmptyChatList, EmptyChatMessages, _default$4 as EmptyConsultations, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageWithFallback, ImpressionEmojiEnum, Input, _default$j as LetterAvatar, ListButton, ListSelect, LouseConnect, _default$g as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, _default$i as PersonDateTimeCard, Range, _default as ReSchedule, ReScheduleSuccess, RoundButton, RowSelect, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$h as SelectImpressionEmoji, _default$5 as SignUpSessionButton, _default$2 as SignUpSessionModal, Skeleton, SpecialistAbout, _default$a as SpecialistEducationCard, SpecialistInfoModal, _default$9 as SpecialistProfileViewCard, SpecialistStatisticsCard, SpecialistWorkDirections, StatusTag, SwitchDeviceCard, TabBar, Tag, _default$b as Textarea, TherapistCard, TherapistInformationComponent, Toggle, TooltipComponent, UpdatesCard, UsersPsychologistScrollList, _default$7 as VideoCallInfo, _default$8 as VideoPlayer, YourLocalTimeBlock, toast };
793
+ declare type DaySliderProps = JSX$1.IonSlides & HTMLAttributes<HTMLIonSlidesElement> & RefAttributes<HTMLIonSlidesElement> & {
794
+ slides: number[];
795
+ timeZone?: string;
796
+ onDayClick?: (i: number, item: number) => void;
797
+ };
798
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<DaySliderProps, "key" | "timeZone" | keyof JSX$1.IonSlides | keyof React.HTMLAttributes<HTMLIonSlidesElement> | "slides" | "onDayClick"> & React.RefAttributes<HTMLIonSlidesElement>>>;
799
+
800
+ 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, ConsultationCardProps, ConsultationCardType, _default$4 as ConsultationModal, _default$2 as ConsultationSpecialistCard, Container, ContentCard, DatePicker, _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, _default$a as SpecialistProfileViewCard, SpecialistStatisticsCard, SpecialistWorkDirections, StatusTag, SwitchDeviceCard, TabBar, Tag, _default$c as Textarea, TherapistCard, TherapistInformationComponent, Toggle, TooltipComponent, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, _default$8 as VideoCallInfo, _default$9 as VideoPlayer, YourLocalTimeBlock, toast };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "3.22.5",
3
+ "version": "3.24.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -1,7 +0,0 @@
1
- export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const InfoContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
- export declare const TextInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
4
- export declare const Photo: import("styled-components").StyledComponent<"img", any, {}, never>;
5
- export declare const DividersContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
6
- export declare const ButtonContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
7
- export declare const ButtonsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
- import '../Theme/global.css';
3
- export declare enum DayOfWeeks {
4
- 'Понеділок' = 1,
5
- 'Вівторок' = 2,
6
- 'Середа' = 3,
7
- 'Четверг' = 4,
8
- "П'ятниця" = 5,
9
- 'Субота' = 6,
10
- 'Неділя' = 7
11
- }
12
- export declare type DateTimeType = {
13
- _nanoseconds: number;
14
- _seconds: number;
15
- };
16
- export interface ConsultationCardDeprecatedProps {
17
- startConsultation: (props?: React.SyntheticEvent) => void;
18
- handleReschedule: (props?: React.SyntheticEvent) => void;
19
- handleRefund: (props?: React.SyntheticEvent) => void;
20
- handleNotes?: (props?: React.SyntheticEvent) => void;
21
- consultationWith: string;
22
- consultationTime: DateTimeType;
23
- userTimeZone: string;
24
- avatar: string;
25
- autorecord?: boolean;
26
- ['data-container-testid']?: string;
27
- ['data-start-testid']?: string;
28
- ['data-reschedule-testid']?: string;
29
- ['data-refund-testid']?: string;
30
- }
31
- export declare const ConsultationCardDeprecated: React.FC<ConsultationCardDeprecatedProps>;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const ConsultationCardDeprecatedSkeleton: () => JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from './ConsultationCardDeprecated';
2
- export * from './ConsultationCardDeprecatedSkeleton';
@@ -1 +0,0 @@
1
- export { default } from './SpecialistInfoModal';
@@ -1,7 +0,0 @@
1
- export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const InfoContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
- export declare const TextInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
4
- export declare const Photo: import("styled-components").StyledComponent<"img", any, {}, never>;
5
- export declare const DividersContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
6
- export declare const ButtonContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
7
- export declare const ButtonsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
- import '../Theme/global.css';
3
- export declare enum DayOfWeeks {
4
- 'Понеділок' = 1,
5
- 'Вівторок' = 2,
6
- 'Середа' = 3,
7
- 'Четверг' = 4,
8
- "П'ятниця" = 5,
9
- 'Субота' = 6,
10
- 'Неділя' = 7
11
- }
12
- export declare type DateTimeType = {
13
- _nanoseconds: number;
14
- _seconds: number;
15
- };
16
- export interface ConsultationCardDeprecatedProps {
17
- startConsultation: (props?: React.SyntheticEvent) => void;
18
- handleReschedule: (props?: React.SyntheticEvent) => void;
19
- handleRefund: (props?: React.SyntheticEvent) => void;
20
- handleNotes?: (props?: React.SyntheticEvent) => void;
21
- consultationWith: string;
22
- consultationTime: DateTimeType;
23
- userTimeZone: string;
24
- avatar: string;
25
- autorecord?: boolean;
26
- ['data-container-testid']?: string;
27
- ['data-start-testid']?: string;
28
- ['data-reschedule-testid']?: string;
29
- ['data-refund-testid']?: string;
30
- }
31
- export declare const ConsultationCardDeprecated: React.FC<ConsultationCardDeprecatedProps>;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const ConsultationCardDeprecatedSkeleton: () => JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from './ConsultationCardDeprecated';
2
- export * from './ConsultationCardDeprecatedSkeleton';
@@ -1 +0,0 @@
1
- export { default } from './SpecialistInfoModal';