@mindly/ui-components 3.56.6 → 3.57.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 (38) hide show
  1. package/dist/cjs/index.js +34 -34
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/index.d.ts +6 -0
  4. package/dist/cjs/types/lib/Chat/ChatMessageSkeleton/ChatMessageSkeleton.d.ts +0 -1
  5. package/dist/cjs/types/lib/Consultations/UserInfoModal/UserInfoModal.d.ts +2 -0
  6. package/dist/cjs/types/lib/Segment/SegmentSkeleton.d.ts +0 -1
  7. package/dist/cjs/types/lib/SpecialistCard/SpecialistCard.d.ts +3 -0
  8. package/dist/cjs/types/lib/SpecialistProfile/ProfileInformation/ProfileInformation.d.ts +5 -0
  9. package/dist/cjs/types/lib/SpecialistProfile/ReviewCard/ReviewCard.d.ts +20 -0
  10. package/dist/cjs/types/lib/SpecialistProfile/ReviewCard/ReviewCard.style.d.ts +9 -0
  11. package/dist/cjs/types/lib/SpecialistProfile/ReviewCard/index.d.ts +1 -0
  12. package/dist/cjs/types/lib/SpecialistProfile/ReviewStatistics/ReviewStatistics.d.ts +17 -0
  13. package/dist/cjs/types/lib/SpecialistProfile/ReviewStatistics/ReviewStatistics.style.d.ts +5 -0
  14. package/dist/cjs/types/lib/SpecialistProfile/ReviewStatistics/index.d.ts +1 -0
  15. package/dist/cjs/types/lib/SpecialistProfile/SpecialistStatistic/SpecialistStatistic.d.ts +3 -1
  16. package/dist/cjs/types/lib/StarRating/StarRating.d.ts +11 -0
  17. package/dist/cjs/types/lib/StarRating/StarRating.style.d.ts +1 -0
  18. package/dist/cjs/types/lib/StarRating/index.d.ts +1 -0
  19. package/dist/esm/index.js +35 -35
  20. package/dist/esm/index.js.map +1 -1
  21. package/dist/esm/types/index.d.ts +6 -0
  22. package/dist/esm/types/lib/Chat/ChatMessageSkeleton/ChatMessageSkeleton.d.ts +0 -1
  23. package/dist/esm/types/lib/Consultations/UserInfoModal/UserInfoModal.d.ts +2 -0
  24. package/dist/esm/types/lib/Segment/SegmentSkeleton.d.ts +0 -1
  25. package/dist/esm/types/lib/SpecialistCard/SpecialistCard.d.ts +3 -0
  26. package/dist/esm/types/lib/SpecialistProfile/ProfileInformation/ProfileInformation.d.ts +5 -0
  27. package/dist/esm/types/lib/SpecialistProfile/ReviewCard/ReviewCard.d.ts +20 -0
  28. package/dist/esm/types/lib/SpecialistProfile/ReviewCard/ReviewCard.style.d.ts +9 -0
  29. package/dist/esm/types/lib/SpecialistProfile/ReviewCard/index.d.ts +1 -0
  30. package/dist/esm/types/lib/SpecialistProfile/ReviewStatistics/ReviewStatistics.d.ts +17 -0
  31. package/dist/esm/types/lib/SpecialistProfile/ReviewStatistics/ReviewStatistics.style.d.ts +5 -0
  32. package/dist/esm/types/lib/SpecialistProfile/ReviewStatistics/index.d.ts +1 -0
  33. package/dist/esm/types/lib/SpecialistProfile/SpecialistStatistic/SpecialistStatistic.d.ts +3 -1
  34. package/dist/esm/types/lib/StarRating/StarRating.d.ts +11 -0
  35. package/dist/esm/types/lib/StarRating/StarRating.style.d.ts +1 -0
  36. package/dist/esm/types/lib/StarRating/index.d.ts +1 -0
  37. package/dist/index.d.ts +58 -3
  38. package/package.json +2 -1
@@ -169,3 +169,9 @@ export { default as SpecialistMatch } from './lib/SpecialistProfile/SpecialistMa
169
169
  export * from './lib/SpecialistProfile/SpecialistMatch';
170
170
  export { default as SpecialistStatistic } from './lib/SpecialistProfile/SpecialistStatistic';
171
171
  export * from './lib/SpecialistProfile/SpecialistStatistic';
172
+ export { default as StarRating } from './lib/StarRating';
173
+ export * from './lib/StarRating';
174
+ export { default as ReviewCard } from './lib/SpecialistProfile/ReviewCard';
175
+ export * from './lib/SpecialistProfile/ReviewCard';
176
+ export { default as ReviewStatistics } from './lib/SpecialistProfile/ReviewStatistics';
177
+ export * from './lib/SpecialistProfile/ReviewStatistics';
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const ChatMessageSkeleton: () => JSX.Element;
3
2
  export default ChatMessageSkeleton;
@@ -8,6 +8,7 @@ declare type UserInfoModalProps = {
8
8
  onMessage?: (id: string) => void;
9
9
  onBuy?: (id: string) => void;
10
10
  onProfile?: (id: string) => void;
11
+ onRateSession?: (id: string) => void;
11
12
  onSignUp?: (id: string) => void;
12
13
  onClose: () => void;
13
14
  isClient?: boolean;
@@ -17,6 +18,7 @@ declare type UserInfoModalProps = {
17
18
  buyBtnLabel?: string;
18
19
  buyTooltip?: string;
19
20
  profile?: string;
21
+ rateTheSessionText?: string;
20
22
  clientBtnLabel?: string;
21
23
  writeLabelBtn?: string;
22
24
  sigUpBtnLabel?: string;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SegmentSkeleton: () => JSX.Element;
3
2
  export default SegmentSkeleton;
@@ -26,6 +26,8 @@ declare type SpecialistCardProps = {
26
26
  */
27
27
  videoDurationSeconds?: number;
28
28
  percentMatch?: number;
29
+ averageStarsCount?: number;
30
+ countOfReviews?: number;
29
31
  translations: {
30
32
  name: string;
31
33
  year: string[];
@@ -37,6 +39,7 @@ declare type SpecialistCardProps = {
37
39
  sessions: string[];
38
40
  by: string;
39
41
  match: string;
42
+ reviews: string[];
40
43
  };
41
44
  };
42
45
  declare const SpecialistCard: React.FC<SpecialistCardProps>;
@@ -6,6 +6,11 @@ declare type ProfileInformationProps = {
6
6
  specialistSpecialization?: string;
7
7
  countryCode?: string;
8
8
  isLoading?: boolean;
9
+ averageStarsCount?: number;
10
+ countOfReviews?: number;
11
+ translations?: {
12
+ reviews: string[];
13
+ };
9
14
  } & React.HTMLAttributes<HTMLDivElement>;
10
15
  declare const _default: React.NamedExoticComponent<ProfileInformationProps>;
11
16
  export default _default;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { FlagTypes } from '../../Flag';
3
+ declare type ReviewCardProps = {
4
+ reviewerAvatar?: string;
5
+ reviewerFirstName?: string;
6
+ reviewerLastName?: string;
7
+ reviewerCountry?: keyof typeof FlagTypes;
8
+ reviewedAtInSeconds?: number;
9
+ averageStarsCount?: number;
10
+ reviewText?: string;
11
+ onShowMoreButtonClick?: () => void;
12
+ showAllReview?: boolean;
13
+ type: 'card' | 'list';
14
+ translations: {
15
+ showMore: string;
16
+ showAllReviews: string;
17
+ };
18
+ } & React.HTMLAttributes<HTMLDivElement>;
19
+ declare const ReviewCard: React.FC<ReviewCardProps>;
20
+ export default ReviewCard;
@@ -0,0 +1,9 @@
1
+ declare type ReviewCardContainerProps = {
2
+ showAllReview?: boolean;
3
+ type: 'card' | 'list';
4
+ };
5
+ export declare const ReviewCardContainer: import("styled-components").StyledComponent<"div", any, ReviewCardContainerProps, never>;
6
+ export declare const ReviewerInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
7
+ export declare const TextContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
8
+ export declare const ShowMoreButton: import("styled-components").StyledComponent<"button", any, {}, never>;
9
+ export {};
@@ -0,0 +1 @@
1
+ export { default } from './ReviewCard';
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ declare type ReviewStatisticsProps = {
3
+ averageStarsCount: number;
4
+ countOfReviews: number;
5
+ /**
6
+ * count of reviews for each star, where key - is a number of stars and value - is a count of reviews
7
+ * @example {'1': 15, '2': 30, '3': 45, '4': 60, '5': 75}
8
+ */
9
+ statistics: {
10
+ [key: string]: number;
11
+ };
12
+ translations: {
13
+ reviews: string[];
14
+ };
15
+ } & React.HTMLAttributes<HTMLDivElement>;
16
+ declare const ReviewStatistics: React.FC<ReviewStatisticsProps>;
17
+ export default ReviewStatistics;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const ReviewStatisticsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const AllReviewContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export declare const ReviewProgressContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const StyledProgressBar: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@ionic/core/dist/types/components").JSX.IonProgressBar & Pick<import("react").HTMLAttributes<HTMLIonProgressBarElement>, "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<HTMLIonProgressBarElement>>, any, {}, never>;
@@ -0,0 +1 @@
1
+ export { default } from './ReviewStatistics';
@@ -3,7 +3,8 @@ declare type SpecialistStatisticProps = {
3
3
  learnMoreClick: () => void;
4
4
  isSuperSpecialist?: boolean;
5
5
  countConsultationFor3Days?: number;
6
- specialistFullName?: string;
6
+ specialistFirstName: string;
7
+ specialistLastName: string;
7
8
  isLoading?: boolean;
8
9
  superSpecialistIcon: string;
9
10
  trendingUpIcon: string;
@@ -13,6 +14,7 @@ declare type SpecialistStatisticProps = {
13
14
  superSpecialist: string;
14
15
  popularSpecialist: string;
15
16
  sessions: string[];
17
+ bookedSession: string;
16
18
  };
17
19
  } & React.HTMLAttributes<HTMLDivElement>;
18
20
  declare const _default: React.NamedExoticComponent<SpecialistStatisticProps>;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { RatingComponentProps } from 'react-rating';
3
+ declare type RatingWithLabelProps = {
4
+ countOfReviews?: number;
5
+ averageStarsCount?: number;
6
+ translations?: {
7
+ reviews: string[];
8
+ };
9
+ } & RatingComponentProps;
10
+ declare const StarRating: React.FC<RatingWithLabelProps>;
11
+ export default StarRating;
@@ -0,0 +1 @@
1
+ export declare const RatingSection: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1 @@
1
+ export { default } from './StarRating';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
2
1
  import React, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, FC, ReactText, ReactElement, ChangeEvent } from 'react';
3
2
  import { JSX as JSX$1 } from '@ionic/core/components';
4
3
  import { ILocalVideoTrack, IRemoteVideoTrack, ILocalAudioTrack, IRemoteAudioTrack } from 'agora-rtc-sdk-ng';
4
+ import { RatingComponentProps } from 'react-rating';
5
5
 
6
6
  interface ButtonProps$1 {
7
7
  buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive' | 'actionButtonGreen';
@@ -805,6 +805,7 @@ declare type UserInfoModalProps = {
805
805
  onMessage?: (id: string) => void;
806
806
  onBuy?: (id: string) => void;
807
807
  onProfile?: (id: string) => void;
808
+ onRateSession?: (id: string) => void;
808
809
  onSignUp?: (id: string) => void;
809
810
  onClose: () => void;
810
811
  isClient?: boolean;
@@ -814,6 +815,7 @@ declare type UserInfoModalProps = {
814
815
  buyBtnLabel?: string;
815
816
  buyTooltip?: string;
816
817
  profile?: string;
818
+ rateTheSessionText?: string;
817
819
  clientBtnLabel?: string;
818
820
  writeLabelBtn?: string;
819
821
  sigUpBtnLabel?: string;
@@ -1014,6 +1016,8 @@ declare type SpecialistCardProps = {
1014
1016
  */
1015
1017
  videoDurationSeconds?: number;
1016
1018
  percentMatch?: number;
1019
+ averageStarsCount?: number;
1020
+ countOfReviews?: number;
1017
1021
  translations: {
1018
1022
  name: string;
1019
1023
  year: string[];
@@ -1025,6 +1029,7 @@ declare type SpecialistCardProps = {
1025
1029
  sessions: string[];
1026
1030
  by: string;
1027
1031
  match: string;
1032
+ reviews: string[];
1028
1033
  };
1029
1034
  };
1030
1035
  declare const SpecialistCard: React.FC<SpecialistCardProps>;
@@ -1195,6 +1200,11 @@ declare type ProfileInformationProps = {
1195
1200
  specialistSpecialization?: string;
1196
1201
  countryCode?: string;
1197
1202
  isLoading?: boolean;
1203
+ averageStarsCount?: number;
1204
+ countOfReviews?: number;
1205
+ translations?: {
1206
+ reviews: string[];
1207
+ };
1198
1208
  } & React.HTMLAttributes<HTMLDivElement>;
1199
1209
  declare const _default$2: React.NamedExoticComponent<ProfileInformationProps>;
1200
1210
 
@@ -1214,7 +1224,8 @@ declare type SpecialistStatisticProps = {
1214
1224
  learnMoreClick: () => void;
1215
1225
  isSuperSpecialist?: boolean;
1216
1226
  countConsultationFor3Days?: number;
1217
- specialistFullName?: string;
1227
+ specialistFirstName: string;
1228
+ specialistLastName: string;
1218
1229
  isLoading?: boolean;
1219
1230
  superSpecialistIcon: string;
1220
1231
  trendingUpIcon: string;
@@ -1224,8 +1235,52 @@ declare type SpecialistStatisticProps = {
1224
1235
  superSpecialist: string;
1225
1236
  popularSpecialist: string;
1226
1237
  sessions: string[];
1238
+ bookedSession: string;
1227
1239
  };
1228
1240
  } & React.HTMLAttributes<HTMLDivElement>;
1229
1241
  declare const _default: React.NamedExoticComponent<SpecialistStatisticProps>;
1230
1242
 
1231
- export { AppFooter, AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, _default$c as BookingScheduleTime, _default$b as BookingSpecialistInfo, Button, CancelSession, ChangeLangModal, _default$x as ChatListItem, _default$v as ChatListSkeleton, _default$w as ChatMessage, ChatMessageSkeleton, _default$6 as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, _default$o as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$l as ConsultationModal, _default$j as ConsultationSpecialistCard, Container, ContentCard, CustomButton, _default$7 as CustomCheckbox, _default$8 as CustomSelect, _default$9 as CustomTextarea, DatePicker, _default$h as DaySlider, DayToRender, _default$d as EducationCard, _default$u as EmptyChatList, EmptyChatMessages, _default$m as EmptyConsultations, EntryNotFound, EntryNotFoundProps, _default$3 as Flag, FlagTypes, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, LanguagesList, _default$B as LetterAvatar, _default$4 as LineFileInput, ListButton, ListSelect, LouseConnect, _default$y as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$A as PersonDateTimeCard, _default$2 as ProfileInformation, _default$f as ProfileView, _default$5 as ProgressBar, Range, _default$i as ReSchedule, ReScheduleSuccess, RoundButton, RowSelect, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$z as SelectImpressionEmoji, _default$n as SignUpSessionButton, _default$k as SignUpSessionModal, Skeleton, _default$e as SpecialistAbout, SpecialistCard, _default$s as SpecialistEducationCard, SpecialistLangs, _default$1 as SpecialistMatch, _default$r as SpecialistProfileViewCard, _default as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, Tag, _default$a as TextInput, _default$t as Textarea, TherapistCard, TherapistInformationComponent, Toggle, TooltipComponent, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, _default$p as VideoCallInfo, _default$q as VideoPlayer, _default$g as WorkDirections, YourLocalTimeBlock, decOfNum, toast };
1243
+ declare type RatingWithLabelProps = {
1244
+ countOfReviews?: number;
1245
+ averageStarsCount?: number;
1246
+ translations?: {
1247
+ reviews: string[];
1248
+ };
1249
+ } & RatingComponentProps;
1250
+ declare const StarRating: React.FC<RatingWithLabelProps>;
1251
+
1252
+ declare type ReviewCardProps = {
1253
+ reviewerAvatar?: string;
1254
+ reviewerFirstName?: string;
1255
+ reviewerLastName?: string;
1256
+ reviewerCountry?: keyof typeof FlagTypes;
1257
+ reviewedAtInSeconds?: number;
1258
+ averageStarsCount?: number;
1259
+ reviewText?: string;
1260
+ onShowMoreButtonClick?: () => void;
1261
+ showAllReview?: boolean;
1262
+ type: 'card' | 'list';
1263
+ translations: {
1264
+ showMore: string;
1265
+ showAllReviews: string;
1266
+ };
1267
+ } & React.HTMLAttributes<HTMLDivElement>;
1268
+ declare const ReviewCard: React.FC<ReviewCardProps>;
1269
+
1270
+ declare type ReviewStatisticsProps = {
1271
+ averageStarsCount: number;
1272
+ countOfReviews: number;
1273
+ /**
1274
+ * count of reviews for each star, where key - is a number of stars and value - is a count of reviews
1275
+ * @example {'1': 15, '2': 30, '3': 45, '4': 60, '5': 75}
1276
+ */
1277
+ statistics: {
1278
+ [key: string]: number;
1279
+ };
1280
+ translations: {
1281
+ reviews: string[];
1282
+ };
1283
+ } & React.HTMLAttributes<HTMLDivElement>;
1284
+ declare const ReviewStatistics: React.FC<ReviewStatisticsProps>;
1285
+
1286
+ export { AppFooter, AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, _default$c as BookingScheduleTime, _default$b as BookingSpecialistInfo, Button, CancelSession, ChangeLangModal, _default$x as ChatListItem, _default$v as ChatListSkeleton, _default$w as ChatMessage, ChatMessageSkeleton, _default$6 as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, _default$o as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$l as ConsultationModal, _default$j as ConsultationSpecialistCard, Container, ContentCard, CustomButton, _default$7 as CustomCheckbox, _default$8 as CustomSelect, _default$9 as CustomTextarea, DatePicker, _default$h as DaySlider, DayToRender, _default$d as EducationCard, _default$u as EmptyChatList, EmptyChatMessages, _default$m as EmptyConsultations, EntryNotFound, EntryNotFoundProps, _default$3 as Flag, FlagTypes, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, LanguagesList, _default$B as LetterAvatar, _default$4 as LineFileInput, ListButton, ListSelect, LouseConnect, _default$y as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$A as PersonDateTimeCard, _default$2 as ProfileInformation, _default$f as ProfileView, _default$5 as ProgressBar, Range, _default$i as ReSchedule, ReScheduleSuccess, ReviewCard, ReviewStatistics, RoundButton, RowSelect, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$z as SelectImpressionEmoji, _default$n as SignUpSessionButton, _default$k as SignUpSessionModal, Skeleton, _default$e as SpecialistAbout, SpecialistCard, _default$s as SpecialistEducationCard, SpecialistLangs, _default$1 as SpecialistMatch, _default$r as SpecialistProfileViewCard, _default as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, Tag, _default$a as TextInput, _default$t as Textarea, TherapistCard, TherapistInformationComponent, Toggle, TooltipComponent, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, _default$p as VideoCallInfo, _default$q as VideoPlayer, _default$g as WorkDirections, YourLocalTimeBlock, decOfNum, toast };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "3.56.6",
3
+ "version": "3.57.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -40,6 +40,7 @@
40
40
  "react-countdown": "^2.3.2",
41
41
  "react-day-picker": "^8.0.5",
42
42
  "react-dom": "^17.0.2",
43
+ "react-rating": "^2.0.5",
43
44
  "react-refresh": "^0.9.0",
44
45
  "react-scripts": "4.0.3",
45
46
  "styled-components": "^5.3.1",