@mindly/ui-components 5.98.9 → 5.98.10

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.
@@ -10,6 +10,7 @@ export type CardModalProps = {
10
10
  canDismiss?: boolean;
11
11
  isShowHandle?: boolean;
12
12
  isShowCloseButton?: boolean;
13
+ onCloseClick?: () => void;
13
14
  renderHeader?: (props: {
14
15
  backButton?: boolean;
15
16
  onClose: () => void;
@@ -14,6 +14,7 @@ export type ReviewSubscriptionSessionFeatureProps = {
14
14
  onModalAppeared?: () => void;
15
15
  };
16
16
  onClose: () => void;
17
+ onCloseClick: (step: 'session' | 'specialist') => void;
17
18
  t?: WithTranslation['t'];
18
19
  };
19
20
  declare const ReviewSubscriptionSessionFeature: React.FC<ReviewSubscriptionSessionFeatureProps>;
@@ -16,6 +16,7 @@ export type ReviewTrialSessionFeatureProps = {
16
16
  }) => void;
17
17
  showMotivation?: () => void;
18
18
  continueTherapy?: () => void;
19
+ onCloseClick?: () => void;
19
20
  onClose?: () => void;
20
21
  t?: WithTranslation['t'];
21
22
  };
package/dist/index.d.ts CHANGED
@@ -2730,6 +2730,7 @@ type CardModalProps = {
2730
2730
  canDismiss?: boolean;
2731
2731
  isShowHandle?: boolean;
2732
2732
  isShowCloseButton?: boolean;
2733
+ onCloseClick?: () => void;
2733
2734
  renderHeader?: (props: {
2734
2735
  backButton?: boolean;
2735
2736
  onClose: () => void;
@@ -3373,6 +3374,7 @@ type ReviewTrialSessionFeatureProps = {
3373
3374
  }) => void;
3374
3375
  showMotivation?: () => void;
3375
3376
  continueTherapy?: () => void;
3377
+ onCloseClick?: () => void;
3376
3378
  onClose?: () => void;
3377
3379
  t?: WithTranslation['t'];
3378
3380
  };
@@ -3423,6 +3425,7 @@ type ReviewSubscriptionSessionFeatureProps = {
3423
3425
  onModalAppeared?: () => void;
3424
3426
  };
3425
3427
  onClose: () => void;
3428
+ onCloseClick: (step: 'session' | 'specialist') => void;
3426
3429
  t?: WithTranslation['t'];
3427
3430
  };
3428
3431
  declare const ReviewSubscriptionSessionFeature: React__default.FC<ReviewSubscriptionSessionFeatureProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.98.9",
3
+ "version": "5.98.10",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",