@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 {};