@mindly/ui-components 5.90.3 → 5.91.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.
- package/dist/cjs/index.js +7 -7
- package/dist/cjs/lib2/features/ReviewCardFeature/ReviewCardFeature.d.ts +9 -5
- package/dist/cjs/lib2/features/ReviewCardFeature/styles.d.ts +348 -17
- package/dist/cjs/lib2/features/ReviewListFeature/ReviewListFeature.d.ts +17 -0
- package/dist/cjs/lib2/features/ReviewListFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/SpecialistAreaListFeature/SpecialistAreaListFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/SpecialistAreaListFeature/SpecialistAreaListFeature.stories.d.ts +8 -0
- package/dist/cjs/lib2/features/SpecialistAreaListFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/SpecialistAreaListFeature/types.d.ts +15 -0
- package/dist/cjs/lib2/features/SpecialistEducationsFeature/SpecialistEducationsFeature.d.ts +12 -0
- package/dist/cjs/lib2/features/SpecialistEducationsFeature/SpecialistEducationsFeature.stories.d.ts +6 -0
- package/dist/cjs/lib2/features/SpecialistEducationsFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/SpecialistInfoColumnFeature/SpecialistInfoColumnFeature.d.ts +9 -5
- package/dist/cjs/lib2/features/SpecialistInfoColumnFeature/index.d.ts +1 -1
- package/dist/cjs/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.d.ts +12 -3
- package/dist/cjs/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.stories.d.ts +1 -0
- package/dist/cjs/lib2/features/TextWithClampFeature/TextWithClampFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/TextWithClampFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/TextWithClampFeature/types.d.ts +12 -0
- package/dist/cjs/lib2/features/index.d.ts +4 -0
- package/dist/cjs/lib2/shared/assets/icons/IconDot.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconHeart.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconMindly.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconMindlyColored.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconPlay.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconRenew.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconStudyHat.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/index.d.ts +7 -0
- package/dist/cjs/lib2/shared/types/common.d.ts +1 -0
- package/dist/cjs/lib2/shared/types/contract.d.ts +12 -0
- package/dist/cjs/lib2/shared/types/iconProps.d.ts +1 -0
- package/dist/cjs/lib2/shared/types/index.d.ts +4 -0
- package/dist/cjs/lib2/shared/types/review.d.ts +19 -0
- package/dist/cjs/lib2/shared/types/specialistTypes.d.ts +65 -0
- package/dist/cjs/lib2/shared/types/user.d.ts +33 -0
- package/dist/cjs/lib2/shared/ui/Avatar_v2/Avatar_v2.d.ts +3 -2
- package/dist/cjs/lib2/shared/ui/Avatar_v2/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Badge/styles.d.ts +2 -2
- package/dist/cjs/lib2/shared/ui/Badge/types.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Button_v2/Button_v2.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/EducationCard_v2/EducationCard.d.ts +11 -0
- package/dist/cjs/lib2/shared/ui/EducationCard_v2/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/ListItemWithColumns/ListItemWithColumns.d.ts +7 -0
- package/dist/cjs/lib2/shared/ui/ListItemWithColumns/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/MatchProgress/MatchProgress.d.ts +7 -0
- package/dist/cjs/lib2/shared/ui/MatchProgress/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/ModalSheet/ModalSheet.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/ModalSheet/types.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/ReviewsSummary/ReviewsSummary.d.ts +13 -0
- package/dist/cjs/lib2/shared/ui/ReviewsSummary/ReviewsSummary.stories.d.ts +8 -0
- package/dist/cjs/lib2/shared/ui/ReviewsSummary/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/ReviewsSummary/styles.d.ts +140 -0
- package/dist/cjs/lib2/shared/ui/ShowMore/ShowMore.d.ts +3 -0
- package/dist/cjs/lib2/shared/ui/ShowMore/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/SuperSpecialist/SuperSpecialist.d.ts +4 -0
- package/dist/cjs/lib2/shared/ui/SuperSpecialist/SuperSpecialist.stories.d.ts +7 -0
- package/dist/cjs/lib2/shared/ui/SuperSpecialist/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/SuperSpecialist/styles.d.ts +105 -0
- package/dist/cjs/lib2/shared/ui/SuperSpecialist/types.d.ts +6 -0
- package/dist/cjs/lib2/shared/ui/Typography/Typography.d.ts +2 -12
- package/dist/cjs/lib2/shared/ui/Typography/types.d.ts +14 -1
- package/dist/cjs/lib2/shared/ui/Video/Video.d.ts +14 -3
- package/dist/cjs/lib2/shared/ui/Video/Video.stories.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/index.d.ts +5 -0
- package/dist/cjs/lib2/shared/utils/format.d.ts +1 -0
- package/dist/cjs/lib2/shared/utils/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/utils/matching.d.ts +6 -0
- package/dist/cjs/lib2/shared/utils/mock.d.ts +5 -0
- package/dist/cjs/lib2/shared/utils/priceNormalizer.d.ts +2 -1
- package/dist/cjs/lib2/widgets/SpecialistCardListWidget/SpecialistCardListWidget.d.ts +11 -5
- package/dist/cjs/lib2/widgets/SpecialistCardListWidget/SpecialistCardListWidget.stories.d.ts +1 -0
- package/dist/cjs/lib2/widgets/SpecialistCardListWidget/SpecialistCardListWidgetSkeleton.d.ts +3 -0
- package/dist/cjs/lib2/widgets/SpecialistCardWidget/SpecialistCardSkeleton.d.ts +2 -1
- package/dist/cjs/lib2/widgets/SpecialistCardWidget/SpecialistCardWidget.stories.d.ts +3 -0
- package/dist/cjs/lib2/widgets/SpecialistCardWidget/types.d.ts +17 -9
- package/dist/cjs/lib2/widgets/SpecialistDetailWidget/SpecialistDetailWidget.d.ts +4 -0
- package/dist/cjs/lib2/widgets/SpecialistDetailWidget/SpecialistDetailWidget.stories.d.ts +9 -0
- package/dist/cjs/lib2/widgets/SpecialistDetailWidget/SpecialistDetailWidgetSkeleton.d.ts +3 -0
- package/dist/cjs/lib2/widgets/SpecialistDetailWidget/index.d.ts +1 -0
- package/dist/cjs/lib2/widgets/SpecialistDetailWidget/types.d.ts +19 -0
- package/dist/cjs/lib2/widgets/index.d.ts +1 -0
- package/dist/esm/index.js +7 -7
- package/dist/esm/lib2/features/ReviewCardFeature/ReviewCardFeature.d.ts +9 -5
- package/dist/esm/lib2/features/ReviewCardFeature/styles.d.ts +348 -17
- package/dist/esm/lib2/features/ReviewListFeature/ReviewListFeature.d.ts +17 -0
- package/dist/esm/lib2/features/ReviewListFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/SpecialistAreaListFeature/SpecialistAreaListFeature.d.ts +4 -0
- package/dist/esm/lib2/features/SpecialistAreaListFeature/SpecialistAreaListFeature.stories.d.ts +8 -0
- package/dist/esm/lib2/features/SpecialistAreaListFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/SpecialistAreaListFeature/types.d.ts +15 -0
- package/dist/esm/lib2/features/SpecialistEducationsFeature/SpecialistEducationsFeature.d.ts +12 -0
- package/dist/esm/lib2/features/SpecialistEducationsFeature/SpecialistEducationsFeature.stories.d.ts +6 -0
- package/dist/esm/lib2/features/SpecialistEducationsFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/SpecialistInfoColumnFeature/SpecialistInfoColumnFeature.d.ts +9 -5
- package/dist/esm/lib2/features/SpecialistInfoColumnFeature/index.d.ts +1 -1
- package/dist/esm/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.d.ts +12 -3
- package/dist/esm/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.stories.d.ts +1 -0
- package/dist/esm/lib2/features/TextWithClampFeature/TextWithClampFeature.d.ts +4 -0
- package/dist/esm/lib2/features/TextWithClampFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/TextWithClampFeature/types.d.ts +12 -0
- package/dist/esm/lib2/features/index.d.ts +4 -0
- package/dist/esm/lib2/shared/assets/icons/IconDot.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconHeart.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconMindly.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconMindlyColored.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconPlay.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconRenew.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconStudyHat.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/index.d.ts +7 -0
- package/dist/esm/lib2/shared/types/common.d.ts +1 -0
- package/dist/esm/lib2/shared/types/contract.d.ts +12 -0
- package/dist/esm/lib2/shared/types/iconProps.d.ts +1 -0
- package/dist/esm/lib2/shared/types/index.d.ts +4 -0
- package/dist/esm/lib2/shared/types/review.d.ts +19 -0
- package/dist/esm/lib2/shared/types/specialistTypes.d.ts +65 -0
- package/dist/esm/lib2/shared/types/user.d.ts +33 -0
- package/dist/esm/lib2/shared/ui/Avatar_v2/Avatar_v2.d.ts +3 -2
- package/dist/esm/lib2/shared/ui/Avatar_v2/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Badge/styles.d.ts +2 -2
- package/dist/esm/lib2/shared/ui/Badge/types.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Button_v2/Button_v2.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/EducationCard_v2/EducationCard.d.ts +11 -0
- package/dist/esm/lib2/shared/ui/EducationCard_v2/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/ListItemWithColumns/ListItemWithColumns.d.ts +7 -0
- package/dist/esm/lib2/shared/ui/ListItemWithColumns/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/MatchProgress/MatchProgress.d.ts +7 -0
- package/dist/esm/lib2/shared/ui/MatchProgress/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/ModalSheet/ModalSheet.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/ModalSheet/types.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/ReviewsSummary/ReviewsSummary.d.ts +13 -0
- package/dist/esm/lib2/shared/ui/ReviewsSummary/ReviewsSummary.stories.d.ts +8 -0
- package/dist/esm/lib2/shared/ui/ReviewsSummary/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/ReviewsSummary/styles.d.ts +140 -0
- package/dist/esm/lib2/shared/ui/ShowMore/ShowMore.d.ts +3 -0
- package/dist/esm/lib2/shared/ui/ShowMore/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/SuperSpecialist/SuperSpecialist.d.ts +4 -0
- package/dist/esm/lib2/shared/ui/SuperSpecialist/SuperSpecialist.stories.d.ts +7 -0
- package/dist/esm/lib2/shared/ui/SuperSpecialist/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/SuperSpecialist/styles.d.ts +105 -0
- package/dist/esm/lib2/shared/ui/SuperSpecialist/types.d.ts +6 -0
- package/dist/esm/lib2/shared/ui/Typography/Typography.d.ts +2 -12
- package/dist/esm/lib2/shared/ui/Typography/types.d.ts +14 -1
- package/dist/esm/lib2/shared/ui/Video/Video.d.ts +14 -3
- package/dist/esm/lib2/shared/ui/Video/Video.stories.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/index.d.ts +5 -0
- package/dist/esm/lib2/shared/utils/format.d.ts +1 -0
- package/dist/esm/lib2/shared/utils/index.d.ts +1 -0
- package/dist/esm/lib2/shared/utils/matching.d.ts +6 -0
- package/dist/esm/lib2/shared/utils/mock.d.ts +5 -0
- package/dist/esm/lib2/shared/utils/priceNormalizer.d.ts +2 -1
- package/dist/esm/lib2/widgets/SpecialistCardListWidget/SpecialistCardListWidget.d.ts +11 -5
- package/dist/esm/lib2/widgets/SpecialistCardListWidget/SpecialistCardListWidget.stories.d.ts +1 -0
- package/dist/esm/lib2/widgets/SpecialistCardListWidget/SpecialistCardListWidgetSkeleton.d.ts +3 -0
- package/dist/esm/lib2/widgets/SpecialistCardWidget/SpecialistCardSkeleton.d.ts +2 -1
- package/dist/esm/lib2/widgets/SpecialistCardWidget/SpecialistCardWidget.stories.d.ts +3 -0
- package/dist/esm/lib2/widgets/SpecialistCardWidget/types.d.ts +17 -9
- package/dist/esm/lib2/widgets/SpecialistDetailWidget/SpecialistDetailWidget.d.ts +4 -0
- package/dist/esm/lib2/widgets/SpecialistDetailWidget/SpecialistDetailWidget.stories.d.ts +9 -0
- package/dist/esm/lib2/widgets/SpecialistDetailWidget/SpecialistDetailWidgetSkeleton.d.ts +3 -0
- package/dist/esm/lib2/widgets/SpecialistDetailWidget/index.d.ts +1 -0
- package/dist/esm/lib2/widgets/SpecialistDetailWidget/types.d.ts +19 -0
- package/dist/esm/lib2/widgets/index.d.ts +1 -0
- package/dist/index.d.ts +498 -219
- package/package.json +5 -3
|
@@ -88,3 +88,10 @@ export * from './IconIdCard';
|
|
|
88
88
|
export * from './IconProfile';
|
|
89
89
|
export * from './IconReceiptLong';
|
|
90
90
|
export * from './IconInvoice';
|
|
91
|
+
export * from './IconRenew';
|
|
92
|
+
export * from './IconDot';
|
|
93
|
+
export * from './IconHeart';
|
|
94
|
+
export * from './IconMindly';
|
|
95
|
+
export * from './IconPlay';
|
|
96
|
+
export * from './IconStudyHat';
|
|
97
|
+
export * from './IconMindlyColored';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum ContractStatusEnum {
|
|
2
|
+
active = "active",
|
|
3
|
+
pending = "pending",
|
|
4
|
+
expired = "expired",
|
|
5
|
+
outdated = "outdated"
|
|
6
|
+
}
|
|
7
|
+
export declare enum ClientSpecialistContractStatusEnum {
|
|
8
|
+
active = "active",
|
|
9
|
+
signed_by_specialist = "signed_by_specialist",
|
|
10
|
+
signed_by_client = "signed_by_client",
|
|
11
|
+
expired = "expired"
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type SpecialistReview = {
|
|
2
|
+
id: string;
|
|
3
|
+
specialist_id: string;
|
|
4
|
+
client_id: string;
|
|
5
|
+
client_avatar: string | null;
|
|
6
|
+
client_country: string;
|
|
7
|
+
client_first_name: string;
|
|
8
|
+
client_last_name?: string | null;
|
|
9
|
+
/**
|
|
10
|
+
* Count of stars that client gave to specialist (1-5)
|
|
11
|
+
*/
|
|
12
|
+
review_rating: number;
|
|
13
|
+
text_of_review: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* Timestamp of review creation
|
|
16
|
+
*/
|
|
17
|
+
created_at: number;
|
|
18
|
+
review_status: 'on_review' | 'approved' | 'rejected';
|
|
19
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { SupportedCurrency } from './common';
|
|
2
|
+
import { ClientSpecialistContractStatusEnum, ContractStatusEnum } from './contract';
|
|
3
|
+
import { Sex } from './user';
|
|
4
|
+
export type SpecialistEducation = {
|
|
5
|
+
institution_name: string;
|
|
6
|
+
institution_logo_link?: string;
|
|
7
|
+
certificate_link?: string;
|
|
8
|
+
faculty?: string;
|
|
9
|
+
year_start?: number;
|
|
10
|
+
year_end?: number;
|
|
11
|
+
};
|
|
12
|
+
export type Specialist = {
|
|
13
|
+
id: string;
|
|
14
|
+
slug: string;
|
|
15
|
+
first_name: string;
|
|
16
|
+
last_name: string;
|
|
17
|
+
specialization?: string;
|
|
18
|
+
session_price_uah: number;
|
|
19
|
+
session_price: number;
|
|
20
|
+
session_price_type: SupportedCurrency;
|
|
21
|
+
session_duration_minutes: number;
|
|
22
|
+
video_link?: string;
|
|
23
|
+
video_cover_link: string;
|
|
24
|
+
video_duration_seconds: number;
|
|
25
|
+
super_specialist: boolean;
|
|
26
|
+
reviews_average_rating: number;
|
|
27
|
+
reviews_count: number;
|
|
28
|
+
profile_lang: string;
|
|
29
|
+
summary: string;
|
|
30
|
+
years_of_experience: number;
|
|
31
|
+
hours_of_practice?: number;
|
|
32
|
+
specialist_list_photo_link?: string;
|
|
33
|
+
is_active: boolean;
|
|
34
|
+
is_public?: boolean;
|
|
35
|
+
full_name_in_instrumental_case: string;
|
|
36
|
+
profile_photo_link?: string;
|
|
37
|
+
video_calling_photo_link?: string;
|
|
38
|
+
about?: string;
|
|
39
|
+
areas_of_work: Array<string> | [];
|
|
40
|
+
areas_of_work_by_client_problem: Array<string> | [];
|
|
41
|
+
therapy_description?: string;
|
|
42
|
+
avatar_link?: string;
|
|
43
|
+
time_zone: string;
|
|
44
|
+
mindly_contract_status?: ContractStatusEnum;
|
|
45
|
+
client?: {
|
|
46
|
+
specialist_client_contract_id?: string;
|
|
47
|
+
specialist_client_contract_status?: ClientSpecialistContractStatusEnum;
|
|
48
|
+
};
|
|
49
|
+
education: SpecialistEducation[];
|
|
50
|
+
sex: Sex;
|
|
51
|
+
active_clients?: number;
|
|
52
|
+
sessions_count?: number;
|
|
53
|
+
country_of_birthday?: string;
|
|
54
|
+
languages: Array<string> | [];
|
|
55
|
+
year_of_birthday?: number;
|
|
56
|
+
reviews_count_by_stars: {
|
|
57
|
+
[key: string]: number;
|
|
58
|
+
};
|
|
59
|
+
percent_match: number;
|
|
60
|
+
session_count_by_3_days?: number;
|
|
61
|
+
favourite?: boolean;
|
|
62
|
+
app_lang?: string;
|
|
63
|
+
isFavourite?: boolean;
|
|
64
|
+
subscription_discounts?: Record<string, number>;
|
|
65
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export type Sex = 'male' | 'female';
|
|
2
|
+
export type SpecialistOrderType = {
|
|
3
|
+
specialist_id: string;
|
|
4
|
+
match: number;
|
|
5
|
+
matching_by_areas?: string[];
|
|
6
|
+
matching_by_specialization?: string[];
|
|
7
|
+
};
|
|
8
|
+
export type UserType = {
|
|
9
|
+
id?: string | undefined;
|
|
10
|
+
avatar: string;
|
|
11
|
+
display_name: string;
|
|
12
|
+
last_name?: string;
|
|
13
|
+
displayName?: string;
|
|
14
|
+
email: string;
|
|
15
|
+
phone_number: string;
|
|
16
|
+
phoneNumber?: string;
|
|
17
|
+
user_psychologists?: Array<string> | string;
|
|
18
|
+
time_zone: string;
|
|
19
|
+
favourite_specialist_ids?: Array<string> | null;
|
|
20
|
+
app_lang: string;
|
|
21
|
+
app_reviewed_after_consultation_count?: number;
|
|
22
|
+
onBoardingAnswers?: {
|
|
23
|
+
[key: string]: string[];
|
|
24
|
+
};
|
|
25
|
+
specialist_order?: SpecialistOrderType[] | null;
|
|
26
|
+
onboarding_key?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
* Date of birth in format 'dd.mm.yyyy'
|
|
29
|
+
*/
|
|
30
|
+
dob?: string;
|
|
31
|
+
country?: string;
|
|
32
|
+
tax_id?: string;
|
|
33
|
+
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AvatarRoundVariants } from './Avatar_v2.style';
|
|
3
|
-
type AvatarProps = {
|
|
4
|
-
variant?: 'small' | 'medium' | 'smaller';
|
|
3
|
+
export type AvatarProps = {
|
|
4
|
+
variant?: 'small' | 'medium' | 'smaller' | 'large';
|
|
5
5
|
round?: AvatarRoundVariants;
|
|
6
6
|
className?: string;
|
|
7
7
|
src?: string;
|
|
8
8
|
alt?: string;
|
|
9
9
|
showSkeleton?: boolean;
|
|
10
|
+
onClick?(): void;
|
|
10
11
|
};
|
|
11
12
|
declare const _default: React.NamedExoticComponent<AvatarProps>;
|
|
12
13
|
export default _default;
|
|
@@ -16,7 +16,7 @@ export declare const badge: import("tailwind-variants").TVReturnType<{
|
|
|
16
16
|
default: "";
|
|
17
17
|
accent: "";
|
|
18
18
|
};
|
|
19
|
-
}, undefined, "inline-flex justify-center items-center rounded-3xl", import("tailwind-variants/dist/config").TVConfig<{
|
|
19
|
+
}, undefined, "inline-flex justify-center items-center rounded-3xl gap-1", import("tailwind-variants/dist/config").TVConfig<{
|
|
20
20
|
variant: {
|
|
21
21
|
attention: "";
|
|
22
22
|
neutral: "";
|
|
@@ -88,7 +88,7 @@ export declare const badge: import("tailwind-variants").TVReturnType<{
|
|
|
88
88
|
default: "";
|
|
89
89
|
accent: "";
|
|
90
90
|
};
|
|
91
|
-
}, undefined, "inline-flex justify-center items-center rounded-3xl", import("tailwind-variants/dist/config").TVConfig<{
|
|
91
|
+
}, undefined, "inline-flex justify-center items-center rounded-3xl gap-1", import("tailwind-variants/dist/config").TVConfig<{
|
|
92
92
|
variant: {
|
|
93
93
|
attention: "";
|
|
94
94
|
neutral: "";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SpecialistEducation } from '../../types/specialistTypes';
|
|
3
|
+
import { WithTranslation } from 'react-i18next';
|
|
4
|
+
import 'react-photo-view/dist/react-photo-view.css';
|
|
5
|
+
export type Props = {
|
|
6
|
+
className?: string;
|
|
7
|
+
education: SpecialistEducation;
|
|
8
|
+
t?: WithTranslation['t'];
|
|
9
|
+
};
|
|
10
|
+
declare const _default: React.NamedExoticComponent<Props>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as EducationCard_v2 } from './EducationCard';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ListItemWithColumns } from './ListItemWithColumns';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MatchProgress } from './MatchProgress';
|
|
@@ -4,5 +4,6 @@ declare const ModalSheet: React.ForwardRefExoticComponent<import("@ionic/core/di
|
|
|
4
4
|
} & {
|
|
5
5
|
heightInPx?: number | undefined;
|
|
6
6
|
className?: string | undefined;
|
|
7
|
+
withCloseButton?: boolean | undefined;
|
|
7
8
|
} & React.RefAttributes<HTMLIonModalElement>>;
|
|
8
9
|
export default ModalSheet;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
import { WithTranslation } from 'react-i18next';
|
|
3
|
+
type Props = {
|
|
4
|
+
className?: string;
|
|
5
|
+
rating: number;
|
|
6
|
+
reviews: number;
|
|
7
|
+
t?: WithTranslation['t'];
|
|
8
|
+
size?: 'default' | 'small' | 'large';
|
|
9
|
+
endAdornment?: React.ReactNode;
|
|
10
|
+
onClick?(): void;
|
|
11
|
+
};
|
|
12
|
+
declare const ReviewsSummary: FC<Props>;
|
|
13
|
+
export default ReviewsSummary;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import ReviewsSummary from './ReviewsSummary';
|
|
3
|
+
declare const meta: Meta<typeof ReviewsSummary>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Small: Story;
|
|
8
|
+
export declare const Large: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ReviewsSummary } from './ReviewsSummary';
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { TypographyVariantsEnum } from '../Typography';
|
|
2
|
+
export declare const reviewsSummaryStyle: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
size: {
|
|
4
|
+
default: {
|
|
5
|
+
textVariant: TypographyVariantsEnum;
|
|
6
|
+
icon: string;
|
|
7
|
+
dot: string;
|
|
8
|
+
};
|
|
9
|
+
small: {
|
|
10
|
+
textVariant: TypographyVariantsEnum;
|
|
11
|
+
icon: string;
|
|
12
|
+
dot: string;
|
|
13
|
+
};
|
|
14
|
+
large: {
|
|
15
|
+
textVariant: TypographyVariantsEnum;
|
|
16
|
+
icon: string;
|
|
17
|
+
dot: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
}, {
|
|
21
|
+
textVariant: string;
|
|
22
|
+
dot: string;
|
|
23
|
+
icon: string;
|
|
24
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
25
|
+
size: {
|
|
26
|
+
default: {
|
|
27
|
+
textVariant: TypographyVariantsEnum;
|
|
28
|
+
icon: string;
|
|
29
|
+
dot: string;
|
|
30
|
+
};
|
|
31
|
+
small: {
|
|
32
|
+
textVariant: TypographyVariantsEnum;
|
|
33
|
+
icon: string;
|
|
34
|
+
dot: string;
|
|
35
|
+
};
|
|
36
|
+
large: {
|
|
37
|
+
textVariant: TypographyVariantsEnum;
|
|
38
|
+
icon: string;
|
|
39
|
+
dot: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}, {
|
|
43
|
+
size: {
|
|
44
|
+
default: {
|
|
45
|
+
textVariant: TypographyVariantsEnum;
|
|
46
|
+
icon: string;
|
|
47
|
+
dot: string;
|
|
48
|
+
};
|
|
49
|
+
small: {
|
|
50
|
+
textVariant: TypographyVariantsEnum;
|
|
51
|
+
icon: string;
|
|
52
|
+
dot: string;
|
|
53
|
+
};
|
|
54
|
+
large: {
|
|
55
|
+
textVariant: TypographyVariantsEnum;
|
|
56
|
+
icon: string;
|
|
57
|
+
dot: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
}>, {
|
|
61
|
+
size: {
|
|
62
|
+
default: {
|
|
63
|
+
textVariant: TypographyVariantsEnum;
|
|
64
|
+
icon: string;
|
|
65
|
+
dot: string;
|
|
66
|
+
};
|
|
67
|
+
small: {
|
|
68
|
+
textVariant: TypographyVariantsEnum;
|
|
69
|
+
icon: string;
|
|
70
|
+
dot: string;
|
|
71
|
+
};
|
|
72
|
+
large: {
|
|
73
|
+
textVariant: TypographyVariantsEnum;
|
|
74
|
+
icon: string;
|
|
75
|
+
dot: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
}, {
|
|
79
|
+
textVariant: string;
|
|
80
|
+
dot: string;
|
|
81
|
+
icon: string;
|
|
82
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
83
|
+
size: {
|
|
84
|
+
default: {
|
|
85
|
+
textVariant: TypographyVariantsEnum;
|
|
86
|
+
icon: string;
|
|
87
|
+
dot: string;
|
|
88
|
+
};
|
|
89
|
+
small: {
|
|
90
|
+
textVariant: TypographyVariantsEnum;
|
|
91
|
+
icon: string;
|
|
92
|
+
dot: string;
|
|
93
|
+
};
|
|
94
|
+
large: {
|
|
95
|
+
textVariant: TypographyVariantsEnum;
|
|
96
|
+
icon: string;
|
|
97
|
+
dot: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}, {
|
|
101
|
+
textVariant: string;
|
|
102
|
+
dot: string;
|
|
103
|
+
icon: string;
|
|
104
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
105
|
+
size: {
|
|
106
|
+
default: {
|
|
107
|
+
textVariant: TypographyVariantsEnum;
|
|
108
|
+
icon: string;
|
|
109
|
+
dot: string;
|
|
110
|
+
};
|
|
111
|
+
small: {
|
|
112
|
+
textVariant: TypographyVariantsEnum;
|
|
113
|
+
icon: string;
|
|
114
|
+
dot: string;
|
|
115
|
+
};
|
|
116
|
+
large: {
|
|
117
|
+
textVariant: TypographyVariantsEnum;
|
|
118
|
+
icon: string;
|
|
119
|
+
dot: string;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
}, {
|
|
123
|
+
size: {
|
|
124
|
+
default: {
|
|
125
|
+
textVariant: TypographyVariantsEnum;
|
|
126
|
+
icon: string;
|
|
127
|
+
dot: string;
|
|
128
|
+
};
|
|
129
|
+
small: {
|
|
130
|
+
textVariant: TypographyVariantsEnum;
|
|
131
|
+
icon: string;
|
|
132
|
+
dot: string;
|
|
133
|
+
};
|
|
134
|
+
large: {
|
|
135
|
+
textVariant: TypographyVariantsEnum;
|
|
136
|
+
icon: string;
|
|
137
|
+
dot: string;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ShowMore } from './ShowMore';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import SuperSpecialist from './SuperSpecialist';
|
|
3
|
+
declare const meta: Meta<typeof SuperSpecialist>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Full: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SuperSpecialist } from './SuperSpecialist';
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { TypographyVariantsEnum } from '../Typography';
|
|
2
|
+
export declare const superSpecialistStyle: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
variant: {
|
|
4
|
+
default: {
|
|
5
|
+
root: string;
|
|
6
|
+
iconVariant: TypographyVariantsEnum;
|
|
7
|
+
titleVariant: TypographyVariantsEnum;
|
|
8
|
+
};
|
|
9
|
+
full: {
|
|
10
|
+
root: string;
|
|
11
|
+
iconVariant: TypographyVariantsEnum;
|
|
12
|
+
titleVariant: TypographyVariantsEnum;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
}, {
|
|
16
|
+
iconVariant: string;
|
|
17
|
+
titleVariant: string;
|
|
18
|
+
root: string;
|
|
19
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
20
|
+
variant: {
|
|
21
|
+
default: {
|
|
22
|
+
root: string;
|
|
23
|
+
iconVariant: TypographyVariantsEnum;
|
|
24
|
+
titleVariant: TypographyVariantsEnum;
|
|
25
|
+
};
|
|
26
|
+
full: {
|
|
27
|
+
root: string;
|
|
28
|
+
iconVariant: TypographyVariantsEnum;
|
|
29
|
+
titleVariant: TypographyVariantsEnum;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
}, {
|
|
33
|
+
variant: {
|
|
34
|
+
default: {
|
|
35
|
+
root: string;
|
|
36
|
+
iconVariant: TypographyVariantsEnum;
|
|
37
|
+
titleVariant: TypographyVariantsEnum;
|
|
38
|
+
};
|
|
39
|
+
full: {
|
|
40
|
+
root: string;
|
|
41
|
+
iconVariant: TypographyVariantsEnum;
|
|
42
|
+
titleVariant: TypographyVariantsEnum;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
}>, {
|
|
46
|
+
variant: {
|
|
47
|
+
default: {
|
|
48
|
+
root: string;
|
|
49
|
+
iconVariant: TypographyVariantsEnum;
|
|
50
|
+
titleVariant: TypographyVariantsEnum;
|
|
51
|
+
};
|
|
52
|
+
full: {
|
|
53
|
+
root: string;
|
|
54
|
+
iconVariant: TypographyVariantsEnum;
|
|
55
|
+
titleVariant: TypographyVariantsEnum;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
}, {
|
|
59
|
+
iconVariant: string;
|
|
60
|
+
titleVariant: string;
|
|
61
|
+
root: string;
|
|
62
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
63
|
+
variant: {
|
|
64
|
+
default: {
|
|
65
|
+
root: string;
|
|
66
|
+
iconVariant: TypographyVariantsEnum;
|
|
67
|
+
titleVariant: TypographyVariantsEnum;
|
|
68
|
+
};
|
|
69
|
+
full: {
|
|
70
|
+
root: string;
|
|
71
|
+
iconVariant: TypographyVariantsEnum;
|
|
72
|
+
titleVariant: TypographyVariantsEnum;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}, {
|
|
76
|
+
iconVariant: string;
|
|
77
|
+
titleVariant: string;
|
|
78
|
+
root: string;
|
|
79
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
80
|
+
variant: {
|
|
81
|
+
default: {
|
|
82
|
+
root: string;
|
|
83
|
+
iconVariant: TypographyVariantsEnum;
|
|
84
|
+
titleVariant: TypographyVariantsEnum;
|
|
85
|
+
};
|
|
86
|
+
full: {
|
|
87
|
+
root: string;
|
|
88
|
+
iconVariant: TypographyVariantsEnum;
|
|
89
|
+
titleVariant: TypographyVariantsEnum;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}, {
|
|
93
|
+
variant: {
|
|
94
|
+
default: {
|
|
95
|
+
root: string;
|
|
96
|
+
iconVariant: TypographyVariantsEnum;
|
|
97
|
+
titleVariant: TypographyVariantsEnum;
|
|
98
|
+
};
|
|
99
|
+
full: {
|
|
100
|
+
root: string;
|
|
101
|
+
iconVariant: TypographyVariantsEnum;
|
|
102
|
+
titleVariant: TypographyVariantsEnum;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}>, unknown, unknown, undefined>>;
|
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
variant?: TypographyVariantsEnum;
|
|
5
|
-
align?: TypographyAlignType;
|
|
6
|
-
opacity?: TypographyOpacityType;
|
|
7
|
-
isAppearCase?: boolean;
|
|
8
|
-
className?: string;
|
|
9
|
-
children: React.ReactNode;
|
|
10
|
-
onClick?: (args: any) => typeof args;
|
|
11
|
-
isError?: boolean;
|
|
12
|
-
};
|
|
13
|
-
declare const _default: React.NamedExoticComponent<TypographyProps>;
|
|
2
|
+
import { TypographyProps } from './types';
|
|
3
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<TypographyProps & React.RefAttributes<HTMLDivElement>>>;
|
|
14
4
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare enum TypographyVariantsEnum {
|
|
2
3
|
Title48Bold = "Title/48 Bold",
|
|
3
4
|
Title48Semi = "Title/48 Semi",
|
|
@@ -27,7 +28,19 @@ export declare enum TypographyVariantsEnum {
|
|
|
27
28
|
Tabbar10Medium = "Tabbar/10 Medium",
|
|
28
29
|
Text8Regular = "Text/8 Regular",
|
|
29
30
|
Text7Regular = "Text/7 Regular",
|
|
30
|
-
Text6Regular = "Text/6 Regular"
|
|
31
|
+
Text6Regular = "Text/6 Regular",
|
|
32
|
+
Badge12Semi = "Badge/12 Semi",
|
|
33
|
+
Badge12Regular = "Badge/12 Regular"
|
|
31
34
|
}
|
|
32
35
|
export type TypographyAlignType = 'left' | 'center' | 'right';
|
|
33
36
|
export type TypographyOpacityType = 100 | 65 | 50 | 45 | 35 | 30 | 15 | 10 | 8 | 6;
|
|
37
|
+
export type TypographyProps = {
|
|
38
|
+
variant?: TypographyVariantsEnum;
|
|
39
|
+
align?: TypographyAlignType;
|
|
40
|
+
opacity?: TypographyOpacityType;
|
|
41
|
+
isAppearCase?: boolean;
|
|
42
|
+
className?: string;
|
|
43
|
+
children: React.ReactNode;
|
|
44
|
+
onClick?: (args: any) => typeof args;
|
|
45
|
+
isError?: boolean;
|
|
46
|
+
};
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export type VideoProps = {
|
|
3
3
|
src: string;
|
|
4
|
-
isMuted
|
|
5
|
-
|
|
4
|
+
isMuted?: boolean;
|
|
5
|
+
isWithWatermark?: boolean;
|
|
6
|
+
isWithPlay?: boolean;
|
|
7
|
+
hiddenVideo?: boolean;
|
|
8
|
+
preview?: string;
|
|
9
|
+
onMuteToggle?: () => void;
|
|
10
|
+
onPlay?(src: string): void;
|
|
6
11
|
};
|
|
7
|
-
|
|
12
|
+
export type VideoMethods = {
|
|
13
|
+
play(): void;
|
|
14
|
+
};
|
|
15
|
+
export type VideoRef = HTMLVideoElement | VideoMethods;
|
|
16
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<VideoProps & {
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
} & React.RefAttributes<VideoRef>>>;
|
|
8
19
|
export default _default;
|