@mindly/ui-components 3.60.15 → 3.62.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.
@@ -175,3 +175,7 @@ export { default as ReviewCard } from './lib/SpecialistProfile/ReviewCard';
175
175
  export * from './lib/SpecialistProfile/ReviewCard';
176
176
  export { default as ReviewStatistics } from './lib/SpecialistProfile/ReviewStatistics';
177
177
  export * from './lib/SpecialistProfile/ReviewStatistics';
178
+ export { default as ReviewSwiperSection } from './lib/ReviewSwiperSection';
179
+ export * from './lib/ReviewSwiperSection';
180
+ export { default as FrequentlyAskedQuestions } from './lib/FrequentlyAskedQuestions';
181
+ export * from './lib/FrequentlyAskedQuestions';
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ declare type FrequentlyAskedQuestions = {
3
+ text: string;
4
+ alignment: 'right' | 'center' | 'left';
5
+ };
6
+ declare const FrequentlyAskedQuestions: React.FC<FrequentlyAskedQuestions>;
7
+ export default FrequentlyAskedQuestions;
@@ -0,0 +1 @@
1
+ export { default } from './FrequentlyAskedQuestions';
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { ISpecialistReview } from './types';
3
+ declare type ReviewSwiperProps = {
4
+ reviews: ISpecialistReview[];
5
+ averageRating: number;
6
+ reviewsCount: number;
7
+ loading?: boolean;
8
+ showAllReviewsHandler: () => void;
9
+ specialistReviewsCountForShowing: number;
10
+ translations: {
11
+ showMore: string;
12
+ showAllReviews: string;
13
+ reviews: string;
14
+ };
15
+ };
16
+ declare const ReviewSwiperSection: React.FC<ReviewSwiperProps>;
17
+ export default ReviewSwiperSection;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const ReviewSwiperContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const ReviewSwiperSlider: import("styled-components").StyledComponent<import("react").FunctionComponent<import("react").RefAttributes<import("swiper/react").SwiperRef> & import("swiper/react").SwiperProps>, any, {}, never>;
4
+ export declare const ReviewSwiperSlide: import("styled-components").StyledComponent<import("react").FunctionComponent<import("swiper/react").SwiperSlideProps>, any, {}, never>;
5
+ export declare const ReviewsHeadingContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,2 @@
1
+ export { default } from './ReviewSwiperSection';
2
+ export * from './types';
@@ -0,0 +1,19 @@
1
+ export interface ISpecialistReview {
2
+ id: string;
3
+ specialist_id: string;
4
+ client_id: string;
5
+ client_avatar: string | null;
6
+ client_country: string;
7
+ client_first_name: string;
8
+ client_last_name?: string | null;
9
+ /**
10
+ * Count of stars that client gave to specialist (1-5)
11
+ */
12
+ review_rating: number;
13
+ text_of_review: string | null;
14
+ /**
15
+ * Timestamp of review creation
16
+ */
17
+ created_at: number;
18
+ review_status: 'on_review' | 'approved' | 'rejected';
19
+ }
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
- export declare const StyleSpecialistStatisticsContainer: import("styled-components").StyledComponent<import("react").FunctionComponent<import("swiper/react").SwiperProps>, any, {}, never>;
2
+ export declare const StyleSpecialistStatisticsContainer: import("styled-components").StyledComponent<import("react").FunctionComponent<import("react").RefAttributes<import("swiper/react").SwiperRef> & import("swiper/react").SwiperProps>, any, {}, never>;
3
3
  declare type StyledContainerItemProps = {
4
4
  widthInPx?: number;
5
5
  leftGap?: number;
6
6
  rightGap?: number;
7
7
  };
8
- export declare const StyledContainerItem: import("styled-components").StyledComponent<import("react").VoidFunctionComponent<import("swiper/react").SwiperSlideProps>, any, StyledContainerItemProps, never>;
8
+ export declare const StyledContainerItem: import("styled-components").StyledComponent<import("react").FunctionComponent<import("swiper/react").SwiperSlideProps>, any, StyledContainerItemProps, never>;
9
9
  export {};
package/dist/index.d.ts CHANGED
@@ -1288,4 +1288,45 @@ declare type ReviewStatisticsProps = {
1288
1288
  } & React.HTMLAttributes<HTMLDivElement>;
1289
1289
  declare const ReviewStatistics: React.FC<ReviewStatisticsProps>;
1290
1290
 
1291
- 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 };
1291
+ interface ISpecialistReview {
1292
+ id: string;
1293
+ specialist_id: string;
1294
+ client_id: string;
1295
+ client_avatar: string | null;
1296
+ client_country: string;
1297
+ client_first_name: string;
1298
+ client_last_name?: string | null;
1299
+ /**
1300
+ * Count of stars that client gave to specialist (1-5)
1301
+ */
1302
+ review_rating: number;
1303
+ text_of_review: string | null;
1304
+ /**
1305
+ * Timestamp of review creation
1306
+ */
1307
+ created_at: number;
1308
+ review_status: 'on_review' | 'approved' | 'rejected';
1309
+ }
1310
+
1311
+ declare type ReviewSwiperProps = {
1312
+ reviews: ISpecialistReview[];
1313
+ averageRating: number;
1314
+ reviewsCount: number;
1315
+ loading?: boolean;
1316
+ showAllReviewsHandler: () => void;
1317
+ specialistReviewsCountForShowing: number;
1318
+ translations: {
1319
+ showMore: string;
1320
+ showAllReviews: string;
1321
+ reviews: string;
1322
+ };
1323
+ };
1324
+ declare const ReviewSwiperSection: React.FC<ReviewSwiperProps>;
1325
+
1326
+ declare type FrequentlyAskedQuestions = {
1327
+ text: string;
1328
+ alignment: 'right' | 'center' | 'left';
1329
+ };
1330
+ declare const FrequentlyAskedQuestions: React.FC<FrequentlyAskedQuestions>;
1331
+
1332
+ 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, FrequentlyAskedQuestions, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, 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, ReviewSwiperSection, 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.60.15",
3
+ "version": "3.62.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -44,7 +44,7 @@
44
44
  "react-refresh": "^0.9.0",
45
45
  "react-scripts": "4.0.3",
46
46
  "styled-components": "^5.3.1",
47
- "swiper": "^8.4.4",
47
+ "swiper": "^8.4.7",
48
48
  "web-vitals": "^1.1.2"
49
49
  },
50
50
  "peerDependencies": {