@mindly/ui-components 5.108.1 → 5.108.3
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/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/OnBoardingPaywallScreenPreviewFeature.d.ts +1 -0
- package/dist/cjs/lib2/features/SpecialistInfoColumnFeature/SpecialistInfoColumnFeature.d.ts +1 -1
- package/dist/cjs/lib2/features/TariffFeature/types.d.ts +1 -0
- package/dist/cjs/lib2/shared/types/user.d.ts +1 -0
- package/dist/cjs/lib2/widgets/SpecialistCardWidget/SpecialistCardWidget.stories.d.ts +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/OnBoardingPaywallScreenPreviewFeature.d.ts +1 -0
- package/dist/esm/lib2/features/SpecialistInfoColumnFeature/SpecialistInfoColumnFeature.d.ts +1 -1
- package/dist/esm/lib2/features/TariffFeature/types.d.ts +1 -0
- package/dist/esm/lib2/shared/types/user.d.ts +1 -0
- package/dist/esm/lib2/widgets/SpecialistCardWidget/SpecialistCardWidget.stories.d.ts +1 -1
- package/dist/index.d.ts +4 -1
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@ type OnBoardingPaywallScreenPreviewFeatureProps = {
|
|
|
12
12
|
onBuyTariff?: (tariffId: string) => void;
|
|
13
13
|
isLoading?: boolean;
|
|
14
14
|
termsOfUseLink?: string;
|
|
15
|
+
onTrackTariffEvent: (tariffData: OnBoardingPaywallScreenType['tariffs'][number], eventName: 'FUNNEL_PAYWALL_PLAN_INFO_VIEWED' | 'FUNNEL_PAYWALL_PURCHASE_BUTTON_CLICKED') => void;
|
|
15
16
|
} & OnBoardingPaywallScreenType;
|
|
16
17
|
declare const OnBoardingPaywallScreenPreviewFeature: FC<OnBoardingPaywallScreenPreviewFeatureProps>;
|
|
17
18
|
export default OnBoardingPaywallScreenPreviewFeature;
|
|
@@ -11,7 +11,7 @@ export type SpecialistInfoColumnFeatureProps = {
|
|
|
11
11
|
sessionDurationMinutes: number;
|
|
12
12
|
currentPriceType: SupportedCurrency;
|
|
13
13
|
className?: string;
|
|
14
|
-
|
|
14
|
+
userBalance?: number;
|
|
15
15
|
};
|
|
16
16
|
declare const SpecialistInfoColumnFeature: FC<SpecialistInfoColumnFeatureProps>;
|
|
17
17
|
export default SpecialistInfoColumnFeature;
|
|
@@ -16,5 +16,5 @@ export declare const WithoutExperience: Story;
|
|
|
16
16
|
export declare const WithSuperSpecialistAndNewSpecialist: Story;
|
|
17
17
|
export declare const WithSuperSpecialistAndNewSpecialistWithoutMatch: Story;
|
|
18
18
|
export declare const WithUsdCurrency: Story;
|
|
19
|
-
export declare const
|
|
19
|
+
export declare const WithUserBalance: Story;
|
|
20
20
|
export declare const FullPaid: Story;
|
package/dist/index.d.ts
CHANGED
|
@@ -1801,6 +1801,7 @@ type UserType = {
|
|
|
1801
1801
|
global_personal_price?: number;
|
|
1802
1802
|
global_personal_price_currency?: SupportedCurrency;
|
|
1803
1803
|
possible_price_filters?: number[];
|
|
1804
|
+
balance?: number;
|
|
1804
1805
|
};
|
|
1805
1806
|
|
|
1806
1807
|
type SpecialistEducation = {
|
|
@@ -3108,7 +3109,7 @@ type SpecialistInfoColumnFeatureProps = {
|
|
|
3108
3109
|
sessionDurationMinutes: number;
|
|
3109
3110
|
currentPriceType: SupportedCurrency;
|
|
3110
3111
|
className?: string;
|
|
3111
|
-
|
|
3112
|
+
userBalance?: number;
|
|
3112
3113
|
};
|
|
3113
3114
|
declare const SpecialistInfoColumnFeature: FC<SpecialistInfoColumnFeatureProps>;
|
|
3114
3115
|
|
|
@@ -3451,6 +3452,7 @@ type OnBoardingPaywallScreenPreviewFeatureProps$1 = {
|
|
|
3451
3452
|
onBuyTariff?: (tariffId: string) => void;
|
|
3452
3453
|
isLoading?: boolean;
|
|
3453
3454
|
termsOfUseLink?: string;
|
|
3455
|
+
onTrackTariffEvent: (tariffData: OnBoardingPaywallScreenType['tariffs'][number], eventName: 'FUNNEL_PAYWALL_PLAN_INFO_VIEWED' | 'FUNNEL_PAYWALL_PURCHASE_BUTTON_CLICKED') => void;
|
|
3454
3456
|
} & OnBoardingPaywallScreenType;
|
|
3455
3457
|
declare const OnBoardingPaywallScreenPreviewFeature: FC<OnBoardingPaywallScreenPreviewFeatureProps$1>;
|
|
3456
3458
|
|
|
@@ -3826,6 +3828,7 @@ type TariffFeatureProps = {
|
|
|
3826
3828
|
initialIsInfoOpen?: boolean;
|
|
3827
3829
|
isPreview?: boolean;
|
|
3828
3830
|
onSelect(id: string): void;
|
|
3831
|
+
onInfoViewed?(id: string): void;
|
|
3829
3832
|
};
|
|
3830
3833
|
|
|
3831
3834
|
declare const TariffFeature: React__default.FC<TariffFeatureProps>;
|