@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.
@@ -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
- globalPersonalPrice?: number;
14
+ userBalance?: number;
15
15
  };
16
16
  declare const SpecialistInfoColumnFeature: FC<SpecialistInfoColumnFeatureProps>;
17
17
  export default SpecialistInfoColumnFeature;
@@ -19,4 +19,5 @@ export type TariffFeatureProps = {
19
19
  initialIsInfoOpen?: boolean;
20
20
  isPreview?: boolean;
21
21
  onSelect(id: string): void;
22
+ onInfoViewed?(id: string): void;
22
23
  };
@@ -34,4 +34,5 @@ export type UserType = {
34
34
  global_personal_price?: number;
35
35
  global_personal_price_currency?: SupportedCurrency;
36
36
  possible_price_filters?: number[];
37
+ balance?: number;
37
38
  };
@@ -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 WithGlobalPersonalPrice: Story;
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
- globalPersonalPrice?: number;
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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.108.1",
3
+ "version": "5.108.3",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",