@mindly/ui-components 5.105.1 → 5.105.2-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.
Files changed (34) hide show
  1. package/dist/cjs/index.js +7 -7
  2. package/dist/cjs/lib2/features/MobilePickerFeature/MobilePickerFeature.d.ts +7 -0
  3. package/dist/cjs/lib2/features/MobilePickerFeature/index.d.ts +1 -0
  4. package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/components/TrustItem.d.ts +2 -2
  5. package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/conts.d.ts +4 -3
  6. package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/constants.d.ts +5 -4
  7. package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/constants.d.ts +5 -4
  8. package/dist/cjs/lib2/shared/providers/CircleRatingProvider/CircleRatingProvider.d.ts +1 -1
  9. package/dist/cjs/lib2/shared/ui/Flag_v2/flags/Pl.d.ts +2 -0
  10. package/dist/cjs/lib2/shared/ui/Flag_v2/flags/Uk.d.ts +2 -0
  11. package/dist/cjs/lib2/shared/ui/Input/Input.d.ts +4 -0
  12. package/dist/cjs/lib2/shared/ui/Input/types.d.ts +4 -0
  13. package/dist/cjs/lib2/shared/utils/index.d.ts +1 -0
  14. package/dist/cjs/lib2/shared/utils/matching.d.ts +2 -1
  15. package/dist/cjs/lib2/shared/utils/mock.d.ts +2 -1
  16. package/dist/cjs/lib2/shared/utils/session.d.ts +2 -1
  17. package/dist/esm/index.js +6 -6
  18. package/dist/esm/lib2/features/MobilePickerFeature/MobilePickerFeature.d.ts +7 -0
  19. package/dist/esm/lib2/features/MobilePickerFeature/index.d.ts +1 -0
  20. package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/components/TrustItem.d.ts +2 -2
  21. package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/conts.d.ts +4 -3
  22. package/dist/esm/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/constants.d.ts +5 -4
  23. package/dist/esm/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/constants.d.ts +5 -4
  24. package/dist/esm/lib2/shared/providers/CircleRatingProvider/CircleRatingProvider.d.ts +1 -1
  25. package/dist/esm/lib2/shared/ui/Flag_v2/flags/Pl.d.ts +2 -0
  26. package/dist/esm/lib2/shared/ui/Flag_v2/flags/Uk.d.ts +2 -0
  27. package/dist/esm/lib2/shared/ui/Input/Input.d.ts +4 -0
  28. package/dist/esm/lib2/shared/ui/Input/types.d.ts +4 -0
  29. package/dist/esm/lib2/shared/utils/index.d.ts +1 -0
  30. package/dist/esm/lib2/shared/utils/matching.d.ts +2 -1
  31. package/dist/esm/lib2/shared/utils/mock.d.ts +2 -1
  32. package/dist/esm/lib2/shared/utils/session.d.ts +2 -1
  33. package/dist/index.d.ts +48 -4
  34. package/package.json +9 -8
@@ -0,0 +1,7 @@
1
+ type Props = {
2
+ selections: Record<string, string[]>;
3
+ defaults?: Record<string, string>;
4
+ onChange(value: Record<string, string>): void;
5
+ };
6
+ declare const MobilePickerFeature: ({ selections, defaults, onChange, }: Props) => JSX.Element;
7
+ export default MobilePickerFeature;
@@ -0,0 +1 @@
1
+ export { default as MobilePickerFeature } from './MobilePickerFeature';
@@ -1,7 +1,7 @@
1
1
  import React, { FC } from 'react';
2
2
  declare const TrustItem: FC<{
3
- title: string;
4
- description: string;
3
+ title: string | undefined;
4
+ description: string | undefined;
5
5
  icon: React.ReactNode;
6
6
  }>;
7
7
  export default TrustItem;
@@ -1,5 +1,6 @@
1
+ import { WithTranslation } from 'react-i18next';
1
2
  export declare const enTranslate: Record<string, string>;
2
- export declare const mockEnT: TFunction<import("react-i18next").FallbackNs<Ns>, KPrefix>;
3
+ export declare const mockEnT: import("i18next").TFunction<"translation", undefined>;
3
4
  export declare const images: {
4
5
  after: string;
5
6
  before: string;
@@ -20,13 +21,13 @@ export declare const images: {
20
21
  time: string;
21
22
  verge: string;
22
23
  };
23
- export declare const compareItems: {
24
+ export declare const getCompareItems: (t?: WithTranslation['t']) => {
24
25
  id: string;
25
26
  label: string;
26
27
  hasInMindly: boolean;
27
28
  hasInCompetitors: boolean;
28
29
  }[];
29
- export declare const howItWorksItems: {
30
+ export declare const getHowItWorksItems: (t?: WithTranslation['t']) => {
30
31
  id: string;
31
32
  title: string;
32
33
  description: string;
@@ -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[]>;
@@ -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;
@@ -0,0 +1,2 @@
1
+ declare const _default: () => JSX.Element;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: () => JSX.Element;
2
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { TestTypeProps } from './types';
3
+ declare const Input: FC<TestTypeProps>;
4
+ export default Input;
@@ -0,0 +1,4 @@
1
+ import { JSX } from '@ionic/core';
2
+ export interface TestTypeProps extends JSX.IonInput {
3
+ custom: string;
4
+ }
@@ -8,4 +8,5 @@ export * from './specialistStatus';
8
8
  export * from './userCan';
9
9
  export * from './filter';
10
10
  export * from './session';
11
+ export * from './mock';
11
12
  export { ONBOARDING_THEME_DEFAULT_COLORS } from './onboarding';
@@ -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;