@mindly/ui-components 5.98.2 → 5.98.4

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 (28) hide show
  1. package/dist/cjs/index.js +5 -5
  2. package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/SessionReview.d.ts +2 -1
  3. package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/SpecialistReview.d.ts +2 -1
  4. package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/constants.d.ts +4 -4
  5. package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/ReviewTrialSessionFeature.d.ts +2 -1
  6. package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/constants.d.ts +4 -4
  7. package/dist/cjs/lib2/features/SessionReviewsFeature/components/TagsList.d.ts +4 -2
  8. package/dist/cjs/lib2/shared/assets/icons/IconCalendarNew.d.ts +3 -0
  9. package/dist/cjs/lib2/shared/assets/icons/IconReviewPromocode.d.ts +3 -0
  10. package/dist/cjs/lib2/shared/assets/icons/IconReviewSessionSubscription.d.ts +3 -0
  11. package/dist/cjs/lib2/shared/assets/icons/IconReviewSessionTrial.d.ts +3 -0
  12. package/dist/cjs/lib2/shared/assets/icons/index.d.ts +1 -0
  13. package/dist/cjs/lib2/shared/types/onBoardingFlow.type.d.ts +1 -0
  14. package/dist/esm/index.js +6 -6
  15. package/dist/esm/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/SessionReview.d.ts +2 -1
  16. package/dist/esm/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/SpecialistReview.d.ts +2 -1
  17. package/dist/esm/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/constants.d.ts +4 -4
  18. package/dist/esm/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/ReviewTrialSessionFeature.d.ts +2 -1
  19. package/dist/esm/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/constants.d.ts +4 -4
  20. package/dist/esm/lib2/features/SessionReviewsFeature/components/TagsList.d.ts +4 -2
  21. package/dist/esm/lib2/shared/assets/icons/IconCalendarNew.d.ts +3 -0
  22. package/dist/esm/lib2/shared/assets/icons/IconReviewPromocode.d.ts +3 -0
  23. package/dist/esm/lib2/shared/assets/icons/IconReviewSessionSubscription.d.ts +3 -0
  24. package/dist/esm/lib2/shared/assets/icons/IconReviewSessionTrial.d.ts +3 -0
  25. package/dist/esm/lib2/shared/assets/icons/index.d.ts +1 -0
  26. package/dist/esm/lib2/shared/types/onBoardingFlow.type.d.ts +1 -0
  27. package/dist/index.d.ts +7 -4
  28. package/package.json +1 -1
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { WithTranslation } from 'react-i18next';
2
3
  type SessionReviewProps = {
3
4
  specialistName: string;
4
5
  onSubmit: (data: {
@@ -13,7 +14,7 @@ type SessionReviewProps = {
13
14
  onReasonClick?: (rate: number, reason: string, is_custom_reason: boolean) => void;
14
15
  onCommentBlur?: (rate: number, reason: string, is_custom_reason: boolean, comment: string) => void;
15
16
  onContinueClick?: (rate: number, reason: string, is_custom_reason: boolean, comment: string) => void;
16
- t?: (key: string) => string;
17
+ t?: WithTranslation['t'];
17
18
  };
18
19
  export declare const SessionReview: React.FC<SessionReviewProps>;
19
20
  export {};
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { WithTranslation } from 'react-i18next';
2
3
  type SpecialistReviewProps = {
3
4
  specialistName: string;
4
5
  specialistAvatar: string;
@@ -11,7 +12,7 @@ type SpecialistReviewProps = {
11
12
  onStarsClick?: (rate: number) => void;
12
13
  onCommentBlur?: (rate: number, comment: string) => void;
13
14
  onContinueClick?: (rate: number, comment: string) => void;
14
- t?: (key: string) => string;
15
+ t?: WithTranslation['t'];
15
16
  };
16
17
  export declare const SpecialistReview: React.FC<SpecialistReviewProps>;
17
18
  export {};
@@ -2,7 +2,7 @@ export type Tag = {
2
2
  id: string;
3
3
  name: string;
4
4
  };
5
- export declare const TAGS_LIST_1: Tag[];
6
- export declare const TAGS_LIST_2: Tag[];
7
- export declare const TAGS_LIST_3: Tag[];
8
- export declare const TAGS_BY_RATING: Record<number, Tag[]>;
5
+ export declare const TAGS_LIST_1_SUBSCRIPTION: (t?: any) => Tag[];
6
+ export declare const TAGS_LIST_2_SUBSCRIPTION: (t?: any) => Tag[];
7
+ export declare const TAGS_LIST_3_SUBSCRIPTION: (t?: any) => Tag[];
8
+ export declare const TAGS_BY_RATING_SUBSCRIPTION: (t?: any) => Record<number, Tag[]>;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { WithTranslation } from 'react-i18next';
2
3
  export type ReviewTrialSessionFeatureProps = {
3
4
  specialistName: string;
4
5
  specialistAvatar: string;
@@ -17,7 +18,7 @@ export type ReviewTrialSessionFeatureProps = {
17
18
  onCommentBlur?: (rate: number, reason: string, is_custom_reason: boolean, comment: string) => void;
18
19
  onContinueClick?: (rate: number, reason: string, is_custom_reason: boolean, comment: string) => void;
19
20
  onClose?: () => void;
20
- t?: (key: string) => string;
21
+ t?: WithTranslation['t'];
21
22
  };
22
23
  declare const ReviewTrialSessionFeature: React.FC<ReviewTrialSessionFeatureProps>;
23
24
  export default ReviewTrialSessionFeature;
@@ -2,7 +2,7 @@ export type Tag = {
2
2
  id: string;
3
3
  name: string;
4
4
  };
5
- export declare const TAGS_LIST_1: Tag[];
6
- export declare const TAGS_LIST_2: Tag[];
7
- export declare const TAGS_LIST_3: Tag[];
8
- export declare const TAGS_BY_RATING: Record<number, Tag[]>;
5
+ export declare const TAGS_LIST_1_TRIAL: (t?: any) => Tag[];
6
+ export declare const TAGS_LIST_2_TRIAL: (t?: any) => Tag[];
7
+ export declare const TAGS_LIST_3_TRIAL: (t?: any) => Tag[];
8
+ export declare const TAGS_BY_RATING_TRIAL: (t?: any) => Record<number, Tag[]>;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { WithTranslation } from 'react-i18next';
2
3
  type Tag = {
3
4
  id: string;
4
5
  name: string;
@@ -6,11 +7,12 @@ type Tag = {
6
7
  type TagsListProps = {
7
8
  tags: Tag[];
8
9
  selected: Tag | null;
9
- onClick: (tag: Tag) => void;
10
+ isTrialSession: boolean;
10
11
  comment: string;
12
+ onClick: (tag: Tag) => void;
11
13
  onCommentChange: (comment: string) => void;
12
14
  onCommentBlur: () => void;
13
- t?: (key: string) => string;
15
+ t?: WithTranslation['t'];
14
16
  };
15
17
  export declare const TagsList: React.FC<TagsListProps>;
16
18
  export {};
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { IconProps } from '../../types/iconProps';
3
+ export declare const IconCalendarNew: React.FC<IconProps>;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { IconProps } from '../../types/iconProps';
3
+ export declare const IconReviewPromocode: React.FC<IconProps>;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { IconProps } from '../../types/iconProps';
3
+ export declare const IconReviewSessionSubscription: React.FC<IconProps>;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { IconProps } from '../../types/iconProps';
3
+ export declare const IconReviewSessionTrial: React.FC<IconProps>;
@@ -2,6 +2,7 @@ export * from './IconArrowLeft';
2
2
  export * from './IconArrowRight';
3
3
  export * from './IconBeachAccess';
4
4
  export * from './IconCalendar';
5
+ export * from './IconCalendarNew';
5
6
  export * from './IconCalendarMonth';
6
7
  export * from './IconChatOutline';
7
8
  export * from './IconCheckboxChecked';
@@ -112,4 +112,5 @@ export type OnBoardingFlowType = {
112
112
  promocode_percent?: number | null;
113
113
  promocode_duration_min?: number | null;
114
114
  duration_min?: number | null;
115
+ isDefault?: boolean;
115
116
  };