@mindly/ui-components 5.98.7 → 5.98.9
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 +6 -6
- package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/ReviewTrialSessionFeature.d.ts +5 -5
- package/dist/cjs/lib2/widgets/SessionsListWidget/types.d.ts +2 -1
- package/dist/esm/index.js +6 -6
- package/dist/esm/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/ReviewTrialSessionFeature.d.ts +5 -5
- package/dist/esm/lib2/widgets/SessionsListWidget/types.d.ts +2 -1
- package/dist/index.d.ts +7 -6
- package/package.json +1 -1
|
@@ -4,6 +4,11 @@ export type ReviewTrialSessionFeatureProps = {
|
|
|
4
4
|
specialistName: string;
|
|
5
5
|
specialistAvatar: string;
|
|
6
6
|
isOpen: boolean;
|
|
7
|
+
onModalAppeared?: () => void;
|
|
8
|
+
onStarsClick?: (rate: number) => void;
|
|
9
|
+
onReasonClick?: (rate: number, reasons: string[]) => void;
|
|
10
|
+
onCommentBlur?: (rate: number, reasons: string[], comment: string) => void;
|
|
11
|
+
onContinueClick?: (rate: number, reasons: string[], comment: string) => void;
|
|
7
12
|
onSubmit: (data: {
|
|
8
13
|
rate: number;
|
|
9
14
|
reasons: string[];
|
|
@@ -11,11 +16,6 @@ export type ReviewTrialSessionFeatureProps = {
|
|
|
11
16
|
}) => void;
|
|
12
17
|
showMotivation?: () => void;
|
|
13
18
|
continueTherapy?: () => void;
|
|
14
|
-
onModalAppeared?: () => void;
|
|
15
|
-
onStarsClick?: (rate: number) => void;
|
|
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;
|
|
19
19
|
onClose?: () => void;
|
|
20
20
|
t?: WithTranslation['t'];
|
|
21
21
|
};
|
|
@@ -5,7 +5,8 @@ export type SessionsWidgetProps = {
|
|
|
5
5
|
previousSessions?: Session[];
|
|
6
6
|
hasMorePreviousSessions?: boolean;
|
|
7
7
|
locale: string;
|
|
8
|
-
|
|
8
|
+
isLoadingFutureSessions?: boolean;
|
|
9
|
+
isLoadingPreviousSessions?: boolean;
|
|
9
10
|
maxPeriodToReviewPastSessionInHours?: number;
|
|
10
11
|
loadPreviousSessions: () => Promise<{
|
|
11
12
|
list: Session[];
|
package/dist/index.d.ts
CHANGED
|
@@ -3361,6 +3361,11 @@ type ReviewTrialSessionFeatureProps = {
|
|
|
3361
3361
|
specialistName: string;
|
|
3362
3362
|
specialistAvatar: string;
|
|
3363
3363
|
isOpen: boolean;
|
|
3364
|
+
onModalAppeared?: () => void;
|
|
3365
|
+
onStarsClick?: (rate: number) => void;
|
|
3366
|
+
onReasonClick?: (rate: number, reasons: string[]) => void;
|
|
3367
|
+
onCommentBlur?: (rate: number, reasons: string[], comment: string) => void;
|
|
3368
|
+
onContinueClick?: (rate: number, reasons: string[], comment: string) => void;
|
|
3364
3369
|
onSubmit: (data: {
|
|
3365
3370
|
rate: number;
|
|
3366
3371
|
reasons: string[];
|
|
@@ -3368,11 +3373,6 @@ type ReviewTrialSessionFeatureProps = {
|
|
|
3368
3373
|
}) => void;
|
|
3369
3374
|
showMotivation?: () => void;
|
|
3370
3375
|
continueTherapy?: () => void;
|
|
3371
|
-
onModalAppeared?: () => void;
|
|
3372
|
-
onStarsClick?: (rate: number) => void;
|
|
3373
|
-
onReasonClick?: (rate: number, reasons: string[]) => void;
|
|
3374
|
-
onCommentBlur?: (rate: number, reasons: string[], comment: string) => void;
|
|
3375
|
-
onContinueClick?: (rate: number, reasons: string[], comment: string) => void;
|
|
3376
3376
|
onClose?: () => void;
|
|
3377
3377
|
t?: WithTranslation['t'];
|
|
3378
3378
|
};
|
|
@@ -3937,7 +3937,8 @@ type SessionsWidgetProps = {
|
|
|
3937
3937
|
previousSessions?: Session[];
|
|
3938
3938
|
hasMorePreviousSessions?: boolean;
|
|
3939
3939
|
locale: string;
|
|
3940
|
-
|
|
3940
|
+
isLoadingFutureSessions?: boolean;
|
|
3941
|
+
isLoadingPreviousSessions?: boolean;
|
|
3941
3942
|
maxPeriodToReviewPastSessionInHours?: number;
|
|
3942
3943
|
loadPreviousSessions: () => Promise<{
|
|
3943
3944
|
list: Session[];
|