@mindly/ui-components 8.8.3 → 8.8.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.
@@ -6,13 +6,13 @@ type RedesignedSubscriptionСardProps = {
6
6
  subscription: Subscription;
7
7
  onMoveToPostponeFlow?: (subscriptionId: string, specialistId: string) => void;
8
8
  onOpenActionModal: (subscription: Subscription) => void;
9
- onUpdateSubscription: ({ sessionCount, usedBalance, therapistId, }: {
10
- sessionCount: number;
11
- usedBalance: number;
9
+ onUpdateSubscription: ({ therapistId, subscriptionId, }: {
12
10
  therapistId: string;
11
+ subscriptionId: string;
13
12
  }) => void;
14
13
  locale: SupportedLocales;
15
14
  t: WithTranslation['t'];
15
+ isUpdateButtonLoading: boolean;
16
16
  };
17
17
  declare const RedesignedSubscriptionСard: FC<RedesignedSubscriptionСardProps>;
18
18
  export default RedesignedSubscriptionСard;
@@ -5,6 +5,7 @@ type FooterProps = {
5
5
  isSubscriptionCanceled: boolean;
6
6
  isSubscriptionWasPostponed: boolean;
7
7
  isSubscriptionBalanceZero: boolean;
8
+ isUpdateButtonLoading: boolean;
8
9
  onMoveToPostponeFlow: () => void;
9
10
  onUpdateSubscription: () => void;
10
11
  onOpenActionModal: (state: boolean) => void;
package/dist/index.d.ts CHANGED
@@ -4065,13 +4065,13 @@ type RedesignedSubscriptionСardProps = {
4065
4065
  subscription: Subscription;
4066
4066
  onMoveToPostponeFlow?: (subscriptionId: string, specialistId: string) => void;
4067
4067
  onOpenActionModal: (subscription: Subscription) => void;
4068
- onUpdateSubscription: ({ sessionCount, usedBalance, therapistId, }: {
4069
- sessionCount: number;
4070
- usedBalance: number;
4068
+ onUpdateSubscription: ({ therapistId, subscriptionId, }: {
4071
4069
  therapistId: string;
4070
+ subscriptionId: string;
4072
4071
  }) => void;
4073
4072
  locale: SupportedLocales;
4074
4073
  t: WithTranslation['t'];
4074
+ isUpdateButtonLoading: boolean;
4075
4075
  };
4076
4076
  declare const RedesignedSubscriptionСard: FC<RedesignedSubscriptionСardProps>;
4077
4077
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "8.8.3",
3
+ "version": "8.8.5",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",