@mindly/ui-components 5.98.8 → 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.
@@ -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
  };
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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.98.8",
3
+ "version": "5.98.9",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",