@mindly/ui-components 5.98.1 → 5.98.3
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.
- package/dist/cjs/index.js +5 -5
- package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/SessionReview.d.ts +2 -1
- package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/SpecialistReview.d.ts +2 -1
- package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/constants.d.ts +4 -4
- package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/ReviewTrialSessionFeature.d.ts +2 -1
- package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/constants.d.ts +4 -4
- package/dist/cjs/lib2/features/SessionReviewsFeature/components/TagsList.d.ts +4 -2
- package/dist/cjs/lib2/shared/assets/icons/IconCalendarNew.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconReviewPromocode.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconReviewSessionSubscription.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconReviewSessionTrial.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/index.d.ts +1 -0
- package/dist/cjs/lib2/widgets/SessionsListWidget/types.d.ts +3 -1
- package/dist/esm/index.js +6 -6
- package/dist/esm/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/SessionReview.d.ts +2 -1
- package/dist/esm/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/SpecialistReview.d.ts +2 -1
- package/dist/esm/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/constants.d.ts +4 -4
- package/dist/esm/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/ReviewTrialSessionFeature.d.ts +2 -1
- package/dist/esm/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/constants.d.ts +4 -4
- package/dist/esm/lib2/features/SessionReviewsFeature/components/TagsList.d.ts +4 -2
- package/dist/esm/lib2/shared/assets/icons/IconCalendarNew.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconReviewPromocode.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconReviewSessionSubscription.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconReviewSessionTrial.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/index.d.ts +1 -0
- package/dist/esm/lib2/widgets/SessionsListWidget/types.d.ts +3 -1
- package/dist/index.d.ts +9 -5
- 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?:
|
|
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?:
|
|
15
|
+
t?: WithTranslation['t'];
|
|
15
16
|
};
|
|
16
17
|
export declare const SpecialistReview: React.FC<SpecialistReviewProps>;
|
|
17
18
|
export {};
|
package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/constants.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export type Tag = {
|
|
|
2
2
|
id: string;
|
|
3
3
|
name: string;
|
|
4
4
|
};
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
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?:
|
|
21
|
+
t?: WithTranslation['t'];
|
|
21
22
|
};
|
|
22
23
|
declare const ReviewTrialSessionFeature: React.FC<ReviewTrialSessionFeatureProps>;
|
|
23
24
|
export default ReviewTrialSessionFeature;
|
package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/constants.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export type Tag = {
|
|
|
2
2
|
id: string;
|
|
3
3
|
name: string;
|
|
4
4
|
};
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
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
|
-
|
|
10
|
+
isTrialSession: boolean;
|
|
10
11
|
comment: string;
|
|
12
|
+
onClick: (tag: Tag) => void;
|
|
11
13
|
onCommentChange: (comment: string) => void;
|
|
12
14
|
onCommentBlur: () => void;
|
|
13
|
-
t?:
|
|
15
|
+
t?: WithTranslation['t'];
|
|
14
16
|
};
|
|
15
17
|
export declare const TagsList: React.FC<TagsListProps>;
|
|
16
18
|
export {};
|
|
@@ -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';
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { WithTranslation } from 'react-i18next';
|
|
2
2
|
import { Session } from '../../shared/types';
|
|
3
3
|
export type SessionsWidgetProps = {
|
|
4
|
-
|
|
4
|
+
futureSessions?: Session[];
|
|
5
|
+
previousSessions?: Session[];
|
|
6
|
+
hasMorePreviousSessions?: boolean;
|
|
5
7
|
locale: string;
|
|
6
8
|
isLoading?: boolean;
|
|
7
9
|
maxPeriodToReviewPastSessionInHours?: number;
|