@mindly/ui-components 5.108.2 → 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;
@@ -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
  };
package/dist/index.d.ts CHANGED
@@ -3452,6 +3452,7 @@ type OnBoardingPaywallScreenPreviewFeatureProps$1 = {
3452
3452
  onBuyTariff?: (tariffId: string) => void;
3453
3453
  isLoading?: boolean;
3454
3454
  termsOfUseLink?: string;
3455
+ onTrackTariffEvent: (tariffData: OnBoardingPaywallScreenType['tariffs'][number], eventName: 'FUNNEL_PAYWALL_PLAN_INFO_VIEWED' | 'FUNNEL_PAYWALL_PURCHASE_BUTTON_CLICKED') => void;
3455
3456
  } & OnBoardingPaywallScreenType;
3456
3457
  declare const OnBoardingPaywallScreenPreviewFeature: FC<OnBoardingPaywallScreenPreviewFeatureProps$1>;
3457
3458
 
@@ -3827,6 +3828,7 @@ type TariffFeatureProps = {
3827
3828
  initialIsInfoOpen?: boolean;
3828
3829
  isPreview?: boolean;
3829
3830
  onSelect(id: string): void;
3831
+ onInfoViewed?(id: string): void;
3830
3832
  };
3831
3833
 
3832
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.2",
3
+ "version": "5.108.3",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",