@mindly/ui-components 5.98.4 → 5.98.5
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 +4 -4
- package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/ReviewSubscriptionSessionFeature.d.ts +2 -0
- package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/SessionReview.d.ts +4 -5
- package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/ReviewTrialSessionFeature.d.ts +4 -5
- package/dist/cjs/lib2/features/SessionReviewsFeature/components/TagsList.d.ts +1 -1
- package/dist/cjs/lib2/shared/assets/icons/IconCalendarNew.d.ts +3 -3
- package/dist/cjs/lib2/shared/assets/icons/IconGiftNew.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/types/iconProps.d.ts +2 -0
- package/dist/esm/index.js +6 -6
- package/dist/esm/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/ReviewSubscriptionSessionFeature.d.ts +2 -0
- package/dist/esm/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/SessionReview.d.ts +4 -5
- package/dist/esm/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/ReviewTrialSessionFeature.d.ts +4 -5
- package/dist/esm/lib2/features/SessionReviewsFeature/components/TagsList.d.ts +1 -1
- package/dist/esm/lib2/shared/assets/icons/IconCalendarNew.d.ts +3 -3
- package/dist/esm/lib2/shared/assets/icons/IconGiftNew.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/index.d.ts +1 -0
- package/dist/esm/lib2/shared/types/iconProps.d.ts +2 -0
- package/dist/index.d.ts +15 -12
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { WithTranslation } from 'react-i18next';
|
|
2
3
|
import { SessionReview } from './SessionReview';
|
|
3
4
|
import { SpecialistReview } from './SpecialistReview';
|
|
4
5
|
export type ReviewSubscriptionSessionFeatureProps = {
|
|
@@ -13,6 +14,7 @@ export type ReviewSubscriptionSessionFeatureProps = {
|
|
|
13
14
|
onModalAppeared?: () => void;
|
|
14
15
|
};
|
|
15
16
|
onClose: () => void;
|
|
17
|
+
t?: WithTranslation['t'];
|
|
16
18
|
};
|
|
17
19
|
declare const ReviewSubscriptionSessionFeature: React.FC<ReviewSubscriptionSessionFeatureProps>;
|
|
18
20
|
export default ReviewSubscriptionSessionFeature;
|
|
@@ -4,16 +4,15 @@ type SessionReviewProps = {
|
|
|
4
4
|
specialistName: string;
|
|
5
5
|
onSubmit: (data: {
|
|
6
6
|
rate: number;
|
|
7
|
-
|
|
8
|
-
is_custom_reason: boolean;
|
|
7
|
+
reasons: string[];
|
|
9
8
|
comment?: string;
|
|
10
9
|
}) => Promise<void>;
|
|
11
10
|
specialistReviewNeeded?: boolean;
|
|
12
11
|
onModalAppeared?: () => void;
|
|
13
12
|
onStarsClick?: (rate: number) => void;
|
|
14
|
-
onReasonClick?: (rate: number,
|
|
15
|
-
onCommentBlur?: (rate: number,
|
|
16
|
-
onContinueClick?: (rate: number,
|
|
13
|
+
onReasonClick?: (rate: number, reasons: string[]) => void;
|
|
14
|
+
onCommentBlur?: (rate: number, reasons: string[], comment: string) => void;
|
|
15
|
+
onContinueClick?: (rate: number, reasons: string[], comment: string) => void;
|
|
17
16
|
t?: WithTranslation['t'];
|
|
18
17
|
};
|
|
19
18
|
export declare const SessionReview: React.FC<SessionReviewProps>;
|
|
@@ -6,17 +6,16 @@ export type ReviewTrialSessionFeatureProps = {
|
|
|
6
6
|
isOpen: boolean;
|
|
7
7
|
onSubmit: (data: {
|
|
8
8
|
rate: number;
|
|
9
|
-
|
|
10
|
-
is_custom_reason: boolean;
|
|
9
|
+
reasons: string[];
|
|
11
10
|
comment?: string;
|
|
12
11
|
}) => void;
|
|
13
12
|
showMotivation?: () => void;
|
|
14
13
|
continueTherapy?: () => void;
|
|
15
14
|
onModalAppeared?: () => void;
|
|
16
15
|
onStarsClick?: (rate: number) => void;
|
|
17
|
-
onReasonClick?: (rate: number,
|
|
18
|
-
onCommentBlur?: (rate: number,
|
|
19
|
-
onContinueClick?: (rate: number,
|
|
16
|
+
onReasonClick?: (rate: number, reasons: string[]) => void;
|
|
17
|
+
onCommentBlur?: (rate: number, reasons: string[], comment: string) => void;
|
|
18
|
+
onContinueClick?: (rate: number, reasons: string[], comment: string) => void;
|
|
20
19
|
onClose?: () => void;
|
|
21
20
|
t?: WithTranslation['t'];
|
|
22
21
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IconProps } from '../../types
|
|
3
|
-
export declare const IconCalendarNew:
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconProps } from '../../types';
|
|
3
|
+
export declare const IconCalendarNew: FC<IconProps>;
|
|
@@ -36,6 +36,7 @@ export * from './IconEye';
|
|
|
36
36
|
export * from './IconEyeOff';
|
|
37
37
|
export * from './IconWarning';
|
|
38
38
|
export * from './IconGift';
|
|
39
|
+
export * from './IconGiftNew';
|
|
39
40
|
export * from './IconCreditCard';
|
|
40
41
|
export * from './IconQuestion';
|
|
41
42
|
export * from './IconPaper';
|