@mindly/ui-components 5.106.0 → 5.107.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.
Files changed (24) hide show
  1. package/dist/cjs/index.js +4 -4
  2. package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/OnBoardingPaywallScreenPreviewFeature.d.ts +1 -0
  3. package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/conts.d.ts +7 -6
  4. package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/OnBoardingProgressFeature.d.ts +1 -0
  5. package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/constants.d.ts +5 -4
  6. package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/constants.d.ts +5 -4
  7. package/dist/cjs/lib2/features/TariffFeature/styles.d.ts +0 -14
  8. package/dist/cjs/lib2/shared/providers/CircleRatingProvider/CircleRatingProvider.d.ts +1 -1
  9. package/dist/cjs/lib2/shared/utils/matching.d.ts +2 -1
  10. package/dist/cjs/lib2/shared/utils/mock.d.ts +2 -1
  11. package/dist/cjs/lib2/shared/utils/session.d.ts +2 -1
  12. package/dist/esm/index.js +4 -4
  13. package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/OnBoardingPaywallScreenPreviewFeature.d.ts +1 -0
  14. package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/conts.d.ts +7 -6
  15. package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/OnBoardingProgressFeature.d.ts +1 -0
  16. package/dist/esm/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/constants.d.ts +5 -4
  17. package/dist/esm/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/constants.d.ts +5 -4
  18. package/dist/esm/lib2/features/TariffFeature/styles.d.ts +0 -14
  19. package/dist/esm/lib2/shared/providers/CircleRatingProvider/CircleRatingProvider.d.ts +1 -1
  20. package/dist/esm/lib2/shared/utils/matching.d.ts +2 -1
  21. package/dist/esm/lib2/shared/utils/mock.d.ts +2 -1
  22. package/dist/esm/lib2/shared/utils/session.d.ts +2 -1
  23. package/dist/index.d.ts +5 -4
  24. package/package.json +9 -8
@@ -11,6 +11,7 @@ type OnBoardingPaywallScreenPreviewFeatureProps = {
11
11
  useAdditionalDiscount?: boolean;
12
12
  onBuyTariff?: (tariffId: string) => void;
13
13
  isLoading?: boolean;
14
+ termsOfUseLink?: string;
14
15
  } & OnBoardingPaywallScreenType;
15
16
  declare const OnBoardingPaywallScreenPreviewFeature: FC<OnBoardingPaywallScreenPreviewFeatureProps>;
16
17
  export default OnBoardingPaywallScreenPreviewFeature;
@@ -1,9 +1,10 @@
1
+ import { WithTranslation } from 'react-i18next';
1
2
  export declare const images: {
2
3
  after: string;
3
4
  before: string;
4
5
  ccpa: string;
5
- forbes: string;
6
6
  gdpr: string;
7
+ soc2: string;
7
8
  guarantee: string;
8
9
  hipaa: string;
9
10
  mockup1: string;
@@ -11,20 +12,20 @@ export declare const images: {
11
12
  mockup3: string;
12
13
  mockup4: string;
13
14
  nwt: string;
15
+ time: string;
16
+ forbes: string;
17
+ verge: string;
14
18
  present: string;
15
19
  realStories: string;
16
20
  session: string;
17
- soc2: string;
18
- time: string;
19
- verge: string;
20
21
  };
21
- export declare const getCompareItems: (t?: any) => {
22
+ export declare const getCompareItems: (t?: WithTranslation['t']) => {
22
23
  id: string;
23
24
  label: string;
24
25
  hasInMindly: boolean;
25
26
  hasInCompetitors: boolean;
26
27
  }[];
27
- export declare const getHowItWorksItems: (t?: any) => {
28
+ export declare const getHowItWorksItems: (t?: WithTranslation['t']) => {
28
29
  id: string;
29
30
  title: string;
30
31
  description: string;
@@ -9,6 +9,7 @@ type OnBoardingProgressFeatureProps = {
9
9
  contentStyle?: OnBoardingScreenStyleOptions;
10
10
  startAdornment?: React.ReactNode;
11
11
  variant?: OnboardingVariant;
12
+ empty?: boolean;
12
13
  };
13
14
  declare const _default: React.NamedExoticComponent<OnBoardingProgressFeatureProps>;
14
15
  export default _default;
@@ -1,8 +1,9 @@
1
+ import { WithTranslation } from 'react-i18next';
1
2
  export type Tag = {
2
3
  id: string;
3
4
  name: string;
4
5
  };
5
- export declare const TAGS_LIST_1_SUBSCRIPTION: (t?: any) => Tag[];
6
- export declare const TAGS_LIST_2_SUBSCRIPTION: (t?: any) => Tag[];
7
- export declare const TAGS_LIST_3_SUBSCRIPTION: (t?: any) => Tag[];
8
- export declare const TAGS_BY_RATING_SUBSCRIPTION: (t?: any) => Record<number, Tag[]>;
6
+ export declare const TAGS_LIST_1_SUBSCRIPTION: (t?: WithTranslation['t']) => Tag[];
7
+ export declare const TAGS_LIST_2_SUBSCRIPTION: (t?: WithTranslation['t']) => Tag[];
8
+ export declare const TAGS_LIST_3_SUBSCRIPTION: (t?: WithTranslation['t']) => Tag[];
9
+ export declare const TAGS_BY_RATING_SUBSCRIPTION: (t?: WithTranslation['t']) => Record<number, Tag[]>;
@@ -1,8 +1,9 @@
1
+ import { WithTranslation } from 'react-i18next';
1
2
  export type Tag = {
2
3
  id: string;
3
4
  name: string;
4
5
  };
5
- export declare const TAGS_LIST_1_TRIAL: (t?: any) => Tag[];
6
- export declare const TAGS_LIST_2_TRIAL: (t?: any) => Tag[];
7
- export declare const TAGS_LIST_3_TRIAL: (t?: any) => Tag[];
8
- export declare const TAGS_BY_RATING_TRIAL: (t?: any) => Record<number, Tag[]>;
6
+ export declare const TAGS_LIST_1_TRIAL: (t?: WithTranslation['t']) => Tag[];
7
+ export declare const TAGS_LIST_2_TRIAL: (t?: WithTranslation['t']) => Tag[];
8
+ export declare const TAGS_LIST_3_TRIAL: (t?: WithTranslation['t']) => Tag[];
9
+ export declare const TAGS_BY_RATING_TRIAL: (t?: WithTranslation['t']) => Record<number, Tag[]>;
@@ -1,11 +1,9 @@
1
1
  export declare const tariffFeatureStyle: import("tailwind-variants").TVReturnType<{
2
2
  variant: {
3
3
  default: {
4
- label: string;
5
4
  checkbox: string;
6
5
  };
7
6
  blue: {
8
- label: string;
9
7
  checkbox: string;
10
8
  };
11
9
  };
@@ -35,11 +33,9 @@ export declare const tariffFeatureStyle: import("tailwind-variants").TVReturnTyp
35
33
  }, undefined, import("tailwind-variants/dist/config").TVConfig<{
36
34
  variant: {
37
35
  default: {
38
- label: string;
39
36
  checkbox: string;
40
37
  };
41
38
  blue: {
42
- label: string;
43
39
  checkbox: string;
44
40
  };
45
41
  };
@@ -63,11 +59,9 @@ export declare const tariffFeatureStyle: import("tailwind-variants").TVReturnTyp
63
59
  }, {
64
60
  variant: {
65
61
  default: {
66
- label: string;
67
62
  checkbox: string;
68
63
  };
69
64
  blue: {
70
- label: string;
71
65
  checkbox: string;
72
66
  };
73
67
  };
@@ -91,11 +85,9 @@ export declare const tariffFeatureStyle: import("tailwind-variants").TVReturnTyp
91
85
  }>, {
92
86
  variant: {
93
87
  default: {
94
- label: string;
95
88
  checkbox: string;
96
89
  };
97
90
  blue: {
98
- label: string;
99
91
  checkbox: string;
100
92
  };
101
93
  };
@@ -125,11 +117,9 @@ export declare const tariffFeatureStyle: import("tailwind-variants").TVReturnTyp
125
117
  }, import("tailwind-variants").TVReturnType<{
126
118
  variant: {
127
119
  default: {
128
- label: string;
129
120
  checkbox: string;
130
121
  };
131
122
  blue: {
132
- label: string;
133
123
  checkbox: string;
134
124
  };
135
125
  };
@@ -159,11 +149,9 @@ export declare const tariffFeatureStyle: import("tailwind-variants").TVReturnTyp
159
149
  }, undefined, import("tailwind-variants/dist/config").TVConfig<{
160
150
  variant: {
161
151
  default: {
162
- label: string;
163
152
  checkbox: string;
164
153
  };
165
154
  blue: {
166
- label: string;
167
155
  checkbox: string;
168
156
  };
169
157
  };
@@ -187,11 +175,9 @@ export declare const tariffFeatureStyle: import("tailwind-variants").TVReturnTyp
187
175
  }, {
188
176
  variant: {
189
177
  default: {
190
- label: string;
191
178
  checkbox: string;
192
179
  };
193
180
  blue: {
194
- label: string;
195
181
  checkbox: string;
196
182
  };
197
183
  };
@@ -5,5 +5,5 @@ export declare const CircleRatingContext: React.Context<CircleRatingContextData>
5
5
  export declare const CircleRatingProvider: ({ children, data, t, }: {
6
6
  children: JSX.Element;
7
7
  data: CircleRatingContextProps;
8
- t: TFunction<import("react-i18next").FallbackNs<Ns>, KPrefix>;
8
+ t: WithTranslation['t'];
9
9
  }) => JSX.Element | null;
@@ -1,6 +1,7 @@
1
+ import { WithTranslation } from 'react-i18next';
1
2
  import { SpecialistAreaByMatch } from '../../features/SpecialistAreaListFeature/types';
2
3
  import { Specialist, UserType } from '../types';
3
- export declare const getMatchingValues: (specialist: Specialist, user?: UserType, join?: boolean, t?: any) => {
4
+ export declare const getMatchingValues: (specialist: Specialist, user?: UserType, join?: boolean, t?: WithTranslation['t']) => {
4
5
  matchingByAreas: SpecialistAreaByMatch[];
5
6
  matchingBySpecialization: SpecialistAreaByMatch[];
6
7
  };
@@ -1,8 +1,9 @@
1
+ import { WithTranslation } from 'react-i18next';
1
2
  import { ClientSpecialistContractStatusEnum } from '../types/contract';
2
3
  import { UserType } from '../types/user';
3
4
  import { Specialist } from '../types/specialistTypes';
4
5
  import { Session, SpecialistReview } from '../types';
5
- export declare const mockT: (translate?: Record<string, string>) => TFunction<import("react-i18next").FallbackNs<Ns>, KPrefix>;
6
+ export declare const mockT: (translate?: Record<string, string>) => WithTranslation['t'];
6
7
  export declare const specialist: Specialist;
7
8
  export declare const currentUser: UserType;
8
9
  export declare const listReviews: SpecialistReview[];
@@ -1,3 +1,4 @@
1
+ import { WithTranslation } from 'react-i18next';
1
2
  import { Session, SessionTime, SessionVariant } from '../types';
2
3
  export declare const SOON_SESSION_TIME_SECONDS: number;
3
4
  export declare const NEAR_SESSION_TIME_SECONDS: number;
@@ -9,5 +10,5 @@ export declare const getSessionsByYear: (sessions: Session[]) => Map<number, Ses
9
10
  export declare const getSessionsByMonth: (sessions: Session[]) => Map<number, Session[]>;
10
11
  export declare const getSessionsByDay: (sessions: Session[]) => Map<number, Session[]>;
11
12
  export declare const splitSessions: (sessions: Session[]) => Map<string, Session[]>;
12
- export declare const getSessionTimeLabel: (variant: SessionVariant, startSessionDate: Date, t: TFunction<import("react-i18next").FallbackNs<Ns>, KPrefix>, locale: string) => string;
13
+ export declare const getSessionTimeLabel: (variant: SessionVariant, startSessionDate: Date, t: WithTranslation['t'], locale: string) => string;
13
14
  export declare const canManageSession: (sessionDate?: Date) => boolean;