@mindly/ui-components 5.105.2 → 5.105.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.
@@ -1,11 +1,12 @@
1
1
  import { FC } from 'react';
2
- import { OnBoardingPaywallScreenType, OnboardingVariant, Specialist, MindlyReview } from '../../../shared';
2
+ import { OnBoardingPaywallScreenType, OnboardingVariant, Specialist } from '../../../shared';
3
3
  import 'slick-carousel/slick/slick.css';
4
4
  import 'slick-carousel/slick/slick-theme.css';
5
+ import { ISpecialistReview } from '../../../..';
5
6
  type OnBoardingPaywallScreenPreviewFeatureProps = {
6
7
  variant?: OnboardingVariant;
7
8
  specialists: Specialist[];
8
- reviews: MindlyReview[];
9
+ reviews: ISpecialistReview[];
9
10
  locale?: string;
10
11
  useAdditionalDiscount?: boolean;
11
12
  onBuyTariff?: (tariffId: string) => void;
@@ -1,5 +1,3 @@
1
- export declare const enTranslate: Record<string, string>;
2
- export declare const mockEnT: TFunction<import("react-i18next").FallbackNs<Ns>, KPrefix>;
3
1
  export declare const images: {
4
2
  after: string;
5
3
  before: string;
@@ -149,6 +149,7 @@ export type OnBoardingPaywallScreenType = OnBoardingBaseScreenType & OnBoardingS
149
149
  tariffs: Tariff[];
150
150
  percentDiscount: number;
151
151
  additionalDiscount?: number;
152
+ promocodeDuration?: number;
152
153
  };
153
154
  export type OnBoardingCompareScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenTranslationsType & OnBoardingScreenErrorsType & {
154
155
  title: string;
package/dist/index.d.ts CHANGED
@@ -1682,6 +1682,7 @@ type OnBoardingPaywallScreenType = OnBoardingBaseScreenType & OnBoardingScreenBu
1682
1682
  tariffs: Tariff[];
1683
1683
  percentDiscount: number;
1684
1684
  additionalDiscount?: number;
1685
+ promocodeDuration?: number;
1685
1686
  };
1686
1687
  type OnBoardingCompareScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenTranslationsType & OnBoardingScreenErrorsType & {
1687
1688
  title: string;
@@ -3412,7 +3413,7 @@ declare const OnBoardingCompareScreenPreviewFeature: FC<OnBoardingPaywallScreenP
3412
3413
  type OnBoardingPaywallScreenPreviewFeatureProps = {
3413
3414
  variant?: OnboardingVariant;
3414
3415
  specialists: Specialist[];
3415
- reviews: MindlyReview[];
3416
+ reviews: ISpecialistReview[];
3416
3417
  locale?: string;
3417
3418
  useAdditionalDiscount?: boolean;
3418
3419
  onBuyTariff?: (tariffId: string) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.105.2",
3
+ "version": "5.105.3",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",