@mindly/ui-components 5.105.2-dev.1 → 5.105.3-dev.1

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,6 +1,4 @@
1
1
  import { WithTranslation } from 'react-i18next';
2
- export declare const enTranslate: Record<string, string>;
3
- export declare const mockEnT: import("i18next").TFunction<"translation", undefined>;
4
2
  export declare const images: {
5
3
  after: string;
6
4
  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
@@ -1681,6 +1681,7 @@ type OnBoardingPaywallScreenType = OnBoardingBaseScreenType & OnBoardingScreenBu
1681
1681
  tariffs: Tariff[];
1682
1682
  percentDiscount: number;
1683
1683
  additionalDiscount?: number;
1684
+ promocodeDuration?: number;
1684
1685
  };
1685
1686
  type OnBoardingCompareScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenTranslationsType & OnBoardingScreenErrorsType & {
1686
1687
  title: string;
@@ -3411,7 +3412,7 @@ declare const OnBoardingCompareScreenPreviewFeature: FC<OnBoardingPaywallScreenP
3411
3412
  type OnBoardingPaywallScreenPreviewFeatureProps = {
3412
3413
  variant?: OnboardingVariant;
3413
3414
  specialists: Specialist[];
3414
- reviews: MindlyReview[];
3415
+ reviews: ISpecialistReview[];
3415
3416
  locale?: string;
3416
3417
  useAdditionalDiscount?: boolean;
3417
3418
  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-dev.1",
3
+ "version": "5.105.3-dev.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",