@mindly/ui-components 8.8.4 → 8.8.6
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 +3 -3
- package/dist/cjs/lib2/features/SubscriptionCard/SubscriptionCard.d.ts +3 -3
- package/dist/cjs/lib2/features/SubscriptionCard/common/Footer.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Counter/styles.d.ts +9 -0
- package/dist/cjs/lib2/shared/ui/Counter/types.d.ts +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/lib2/features/SubscriptionCard/SubscriptionCard.d.ts +3 -3
- package/dist/esm/lib2/features/SubscriptionCard/common/Footer.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Counter/styles.d.ts +9 -0
- package/dist/esm/lib2/shared/ui/Counter/types.d.ts +1 -1
- package/dist/index.d.ts +4 -4
- package/package.json +1 -1
|
@@ -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: ({
|
|
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;
|
|
@@ -8,6 +8,9 @@ export declare const counterStyles: import("tailwind-variants").TVReturnType<{
|
|
|
8
8
|
xs: {
|
|
9
9
|
root: string;
|
|
10
10
|
};
|
|
11
|
+
xxs: {
|
|
12
|
+
root: string;
|
|
13
|
+
};
|
|
11
14
|
};
|
|
12
15
|
}, {
|
|
13
16
|
root: string;
|
|
@@ -21,6 +24,9 @@ export declare const counterStyles: import("tailwind-variants").TVReturnType<{
|
|
|
21
24
|
xs: {
|
|
22
25
|
root: string;
|
|
23
26
|
};
|
|
27
|
+
xxs: {
|
|
28
|
+
root: string;
|
|
29
|
+
};
|
|
24
30
|
};
|
|
25
31
|
}, {
|
|
26
32
|
root: string;
|
|
@@ -34,6 +40,9 @@ export declare const counterStyles: import("tailwind-variants").TVReturnType<{
|
|
|
34
40
|
xs: {
|
|
35
41
|
root: string;
|
|
36
42
|
};
|
|
43
|
+
xxs: {
|
|
44
|
+
root: string;
|
|
45
|
+
};
|
|
37
46
|
};
|
|
38
47
|
}, {
|
|
39
48
|
root: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1946,7 +1946,7 @@ declare const SolidInput: React__default.ForwardRefExoticComponent<Partial<_ioni
|
|
|
1946
1946
|
type CounterProps = PropsWithChildren<{
|
|
1947
1947
|
className?: string;
|
|
1948
1948
|
variant?: 'default';
|
|
1949
|
-
size?: 'xs';
|
|
1949
|
+
size?: 'xs' | 'xxs';
|
|
1950
1950
|
}>;
|
|
1951
1951
|
|
|
1952
1952
|
declare const Counter: React__default.FC<CounterProps>;
|
|
@@ -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: ({
|
|
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
|
|