@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
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TranslationType } from '../../shared/types';
|
|
3
|
-
type
|
|
4
|
-
|
|
3
|
+
export type ReviewCardFeatureVariantType = 'default' | 'outlined' | 'full';
|
|
4
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
5
|
+
avatarSrc?: string | undefined;
|
|
5
6
|
name: string;
|
|
6
7
|
date: number;
|
|
7
8
|
rating: number;
|
|
8
9
|
review: string;
|
|
9
|
-
size?:
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
size?: "small" | "default" | "large" | undefined;
|
|
11
|
+
variant?: ReviewCardFeatureVariantType | undefined;
|
|
12
|
+
reviewTextClamp?: number | undefined;
|
|
13
|
+
onExpandReview?(): void;
|
|
14
|
+
className?: string | undefined;
|
|
15
|
+
} & TranslationType & React.RefAttributes<HTMLDivElement>>>;
|
|
12
16
|
export default _default;
|
|
@@ -1,104 +1,435 @@
|
|
|
1
|
+
import { TypographyVariantsEnum } from '../../shared';
|
|
1
2
|
export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
2
3
|
size: {
|
|
3
4
|
default: {
|
|
4
5
|
base: string;
|
|
5
6
|
user: string;
|
|
6
7
|
rating: string;
|
|
8
|
+
mainTextVariant: TypographyVariantsEnum;
|
|
9
|
+
dateTextVariant: TypographyVariantsEnum;
|
|
10
|
+
ratingSize: number;
|
|
11
|
+
avatarSize: string;
|
|
7
12
|
};
|
|
8
13
|
small: {
|
|
9
14
|
base: string;
|
|
10
15
|
user: string;
|
|
11
16
|
rating: string;
|
|
17
|
+
mainTextVariant: TypographyVariantsEnum;
|
|
18
|
+
dateTextVariant: TypographyVariantsEnum;
|
|
19
|
+
ratingSize: number;
|
|
20
|
+
avatarSize: string;
|
|
21
|
+
};
|
|
22
|
+
large: {
|
|
23
|
+
base: string;
|
|
24
|
+
user: string;
|
|
25
|
+
rating: string;
|
|
26
|
+
mainTextVariant: TypographyVariantsEnum;
|
|
27
|
+
dateTextVariant: TypographyVariantsEnum;
|
|
28
|
+
ratingSize: number;
|
|
29
|
+
avatarSize: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
variant: {
|
|
33
|
+
default: {
|
|
34
|
+
base: string;
|
|
35
|
+
};
|
|
36
|
+
outlined: {
|
|
37
|
+
base: string;
|
|
38
|
+
rating: string;
|
|
39
|
+
review: string;
|
|
40
|
+
user: string;
|
|
41
|
+
};
|
|
42
|
+
full: {
|
|
43
|
+
base: string;
|
|
44
|
+
user: string;
|
|
45
|
+
review: string;
|
|
12
46
|
};
|
|
13
47
|
};
|
|
14
48
|
}, {
|
|
15
49
|
base: string;
|
|
16
50
|
user: string;
|
|
17
51
|
rating: string;
|
|
52
|
+
review: string;
|
|
53
|
+
mainTextVariant: string;
|
|
54
|
+
dateTextVariant: string;
|
|
55
|
+
ratingSize: null;
|
|
56
|
+
avatarSize: null;
|
|
18
57
|
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
19
58
|
size: {
|
|
20
59
|
default: {
|
|
21
60
|
base: string;
|
|
22
61
|
user: string;
|
|
23
62
|
rating: string;
|
|
63
|
+
mainTextVariant: TypographyVariantsEnum;
|
|
64
|
+
dateTextVariant: TypographyVariantsEnum;
|
|
65
|
+
ratingSize: number;
|
|
66
|
+
avatarSize: string;
|
|
24
67
|
};
|
|
25
68
|
small: {
|
|
26
69
|
base: string;
|
|
27
70
|
user: string;
|
|
28
71
|
rating: string;
|
|
72
|
+
mainTextVariant: TypographyVariantsEnum;
|
|
73
|
+
dateTextVariant: TypographyVariantsEnum;
|
|
74
|
+
ratingSize: number;
|
|
75
|
+
avatarSize: string;
|
|
76
|
+
};
|
|
77
|
+
large: {
|
|
78
|
+
base: string;
|
|
79
|
+
user: string;
|
|
80
|
+
rating: string;
|
|
81
|
+
mainTextVariant: TypographyVariantsEnum;
|
|
82
|
+
dateTextVariant: TypographyVariantsEnum;
|
|
83
|
+
ratingSize: number;
|
|
84
|
+
avatarSize: string;
|
|
29
85
|
};
|
|
30
86
|
};
|
|
31
|
-
|
|
32
|
-
size: {
|
|
87
|
+
variant: {
|
|
33
88
|
default: {
|
|
34
89
|
base: string;
|
|
35
|
-
|
|
90
|
+
};
|
|
91
|
+
outlined: {
|
|
92
|
+
base: string;
|
|
36
93
|
rating: string;
|
|
94
|
+
review: string;
|
|
95
|
+
user: string;
|
|
37
96
|
};
|
|
38
|
-
|
|
97
|
+
full: {
|
|
39
98
|
base: string;
|
|
40
99
|
user: string;
|
|
41
|
-
|
|
100
|
+
review: string;
|
|
42
101
|
};
|
|
43
102
|
};
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
103
|
+
}, import("tailwind-variants").TVVariantsDefault<{
|
|
104
|
+
base: string;
|
|
105
|
+
user: string;
|
|
106
|
+
rating: string;
|
|
107
|
+
review: string;
|
|
108
|
+
mainTextVariant: string;
|
|
109
|
+
dateTextVariant: string;
|
|
110
|
+
ratingSize: null;
|
|
111
|
+
avatarSize: null;
|
|
112
|
+
}, undefined> | {
|
|
113
|
+
size?: {
|
|
114
|
+
default?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
47
115
|
base: string;
|
|
48
116
|
user: string;
|
|
49
117
|
rating: string;
|
|
50
|
-
|
|
51
|
-
|
|
118
|
+
review: string;
|
|
119
|
+
mainTextVariant: string;
|
|
120
|
+
dateTextVariant: string;
|
|
121
|
+
ratingSize: null;
|
|
122
|
+
avatarSize: null;
|
|
123
|
+
}, undefined>;
|
|
124
|
+
small?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
52
125
|
base: string;
|
|
53
126
|
user: string;
|
|
54
127
|
rating: string;
|
|
55
|
-
|
|
56
|
-
|
|
128
|
+
review: string;
|
|
129
|
+
mainTextVariant: string;
|
|
130
|
+
dateTextVariant: string;
|
|
131
|
+
ratingSize: null;
|
|
132
|
+
avatarSize: null;
|
|
133
|
+
}, undefined>;
|
|
134
|
+
large?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
135
|
+
base: string;
|
|
136
|
+
user: string;
|
|
137
|
+
rating: string;
|
|
138
|
+
review: string;
|
|
139
|
+
mainTextVariant: string;
|
|
140
|
+
dateTextVariant: string;
|
|
141
|
+
ratingSize: null;
|
|
142
|
+
avatarSize: null;
|
|
143
|
+
}, undefined>;
|
|
144
|
+
} | undefined;
|
|
145
|
+
variant?: {
|
|
146
|
+
default?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
147
|
+
base: string;
|
|
148
|
+
user: string;
|
|
149
|
+
rating: string;
|
|
150
|
+
review: string;
|
|
151
|
+
mainTextVariant: string;
|
|
152
|
+
dateTextVariant: string;
|
|
153
|
+
ratingSize: null;
|
|
154
|
+
avatarSize: null;
|
|
155
|
+
}, undefined>;
|
|
156
|
+
outlined?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
157
|
+
base: string;
|
|
158
|
+
user: string;
|
|
159
|
+
rating: string;
|
|
160
|
+
review: string;
|
|
161
|
+
mainTextVariant: string;
|
|
162
|
+
dateTextVariant: string;
|
|
163
|
+
ratingSize: null;
|
|
164
|
+
avatarSize: null;
|
|
165
|
+
}, undefined>;
|
|
166
|
+
full?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
167
|
+
base: string;
|
|
168
|
+
user: string;
|
|
169
|
+
rating: string;
|
|
170
|
+
review: string;
|
|
171
|
+
mainTextVariant: string;
|
|
172
|
+
dateTextVariant: string;
|
|
173
|
+
ratingSize: null;
|
|
174
|
+
avatarSize: null;
|
|
175
|
+
}, undefined>;
|
|
176
|
+
} | undefined;
|
|
177
|
+
}>, import("tailwind-variants").TVVariantsDefault<{
|
|
178
|
+
base: string;
|
|
179
|
+
user: string;
|
|
180
|
+
rating: string;
|
|
181
|
+
review: string;
|
|
182
|
+
mainTextVariant: string;
|
|
183
|
+
dateTextVariant: string;
|
|
184
|
+
ratingSize: null;
|
|
185
|
+
avatarSize: null;
|
|
186
|
+
}, undefined> | {
|
|
187
|
+
size?: {
|
|
188
|
+
default?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
189
|
+
base: string;
|
|
190
|
+
user: string;
|
|
191
|
+
rating: string;
|
|
192
|
+
review: string;
|
|
193
|
+
mainTextVariant: string;
|
|
194
|
+
dateTextVariant: string;
|
|
195
|
+
ratingSize: null;
|
|
196
|
+
avatarSize: null;
|
|
197
|
+
}, undefined>;
|
|
198
|
+
small?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
199
|
+
base: string;
|
|
200
|
+
user: string;
|
|
201
|
+
rating: string;
|
|
202
|
+
review: string;
|
|
203
|
+
mainTextVariant: string;
|
|
204
|
+
dateTextVariant: string;
|
|
205
|
+
ratingSize: null;
|
|
206
|
+
avatarSize: null;
|
|
207
|
+
}, undefined>;
|
|
208
|
+
large?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
209
|
+
base: string;
|
|
210
|
+
user: string;
|
|
211
|
+
rating: string;
|
|
212
|
+
review: string;
|
|
213
|
+
mainTextVariant: string;
|
|
214
|
+
dateTextVariant: string;
|
|
215
|
+
ratingSize: null;
|
|
216
|
+
avatarSize: null;
|
|
217
|
+
}, undefined>;
|
|
218
|
+
} | undefined;
|
|
219
|
+
variant?: {
|
|
220
|
+
default?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
221
|
+
base: string;
|
|
222
|
+
user: string;
|
|
223
|
+
rating: string;
|
|
224
|
+
review: string;
|
|
225
|
+
mainTextVariant: string;
|
|
226
|
+
dateTextVariant: string;
|
|
227
|
+
ratingSize: null;
|
|
228
|
+
avatarSize: null;
|
|
229
|
+
}, undefined>;
|
|
230
|
+
outlined?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
231
|
+
base: string;
|
|
232
|
+
user: string;
|
|
233
|
+
rating: string;
|
|
234
|
+
review: string;
|
|
235
|
+
mainTextVariant: string;
|
|
236
|
+
dateTextVariant: string;
|
|
237
|
+
ratingSize: null;
|
|
238
|
+
avatarSize: null;
|
|
239
|
+
}, undefined>;
|
|
240
|
+
full?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
241
|
+
base: string;
|
|
242
|
+
user: string;
|
|
243
|
+
rating: string;
|
|
244
|
+
review: string;
|
|
245
|
+
mainTextVariant: string;
|
|
246
|
+
dateTextVariant: string;
|
|
247
|
+
ratingSize: null;
|
|
248
|
+
avatarSize: null;
|
|
249
|
+
}, undefined>;
|
|
250
|
+
} | undefined;
|
|
57
251
|
}, {
|
|
58
252
|
base: string;
|
|
59
253
|
user: string;
|
|
60
254
|
rating: string;
|
|
255
|
+
review: string;
|
|
256
|
+
mainTextVariant: string;
|
|
257
|
+
dateTextVariant: string;
|
|
258
|
+
ratingSize: null;
|
|
259
|
+
avatarSize: null;
|
|
61
260
|
}, import("tailwind-variants").TVReturnType<{
|
|
62
261
|
size: {
|
|
63
262
|
default: {
|
|
64
263
|
base: string;
|
|
65
264
|
user: string;
|
|
66
265
|
rating: string;
|
|
266
|
+
mainTextVariant: TypographyVariantsEnum;
|
|
267
|
+
dateTextVariant: TypographyVariantsEnum;
|
|
268
|
+
ratingSize: number;
|
|
269
|
+
avatarSize: string;
|
|
67
270
|
};
|
|
68
271
|
small: {
|
|
69
272
|
base: string;
|
|
70
273
|
user: string;
|
|
71
274
|
rating: string;
|
|
275
|
+
mainTextVariant: TypographyVariantsEnum;
|
|
276
|
+
dateTextVariant: TypographyVariantsEnum;
|
|
277
|
+
ratingSize: number;
|
|
278
|
+
avatarSize: string;
|
|
279
|
+
};
|
|
280
|
+
large: {
|
|
281
|
+
base: string;
|
|
282
|
+
user: string;
|
|
283
|
+
rating: string;
|
|
284
|
+
mainTextVariant: TypographyVariantsEnum;
|
|
285
|
+
dateTextVariant: TypographyVariantsEnum;
|
|
286
|
+
ratingSize: number;
|
|
287
|
+
avatarSize: string;
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
variant: {
|
|
291
|
+
default: {
|
|
292
|
+
base: string;
|
|
293
|
+
};
|
|
294
|
+
outlined: {
|
|
295
|
+
base: string;
|
|
296
|
+
rating: string;
|
|
297
|
+
review: string;
|
|
298
|
+
user: string;
|
|
299
|
+
};
|
|
300
|
+
full: {
|
|
301
|
+
base: string;
|
|
302
|
+
user: string;
|
|
303
|
+
review: string;
|
|
72
304
|
};
|
|
73
305
|
};
|
|
74
306
|
}, {
|
|
75
307
|
base: string;
|
|
76
308
|
user: string;
|
|
77
309
|
rating: string;
|
|
310
|
+
review: string;
|
|
311
|
+
mainTextVariant: string;
|
|
312
|
+
dateTextVariant: string;
|
|
313
|
+
ratingSize: null;
|
|
314
|
+
avatarSize: null;
|
|
78
315
|
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
79
316
|
size: {
|
|
80
317
|
default: {
|
|
81
318
|
base: string;
|
|
82
319
|
user: string;
|
|
83
320
|
rating: string;
|
|
321
|
+
mainTextVariant: TypographyVariantsEnum;
|
|
322
|
+
dateTextVariant: TypographyVariantsEnum;
|
|
323
|
+
ratingSize: number;
|
|
324
|
+
avatarSize: string;
|
|
84
325
|
};
|
|
85
326
|
small: {
|
|
86
327
|
base: string;
|
|
87
328
|
user: string;
|
|
88
329
|
rating: string;
|
|
330
|
+
mainTextVariant: TypographyVariantsEnum;
|
|
331
|
+
dateTextVariant: TypographyVariantsEnum;
|
|
332
|
+
ratingSize: number;
|
|
333
|
+
avatarSize: string;
|
|
334
|
+
};
|
|
335
|
+
large: {
|
|
336
|
+
base: string;
|
|
337
|
+
user: string;
|
|
338
|
+
rating: string;
|
|
339
|
+
mainTextVariant: TypographyVariantsEnum;
|
|
340
|
+
dateTextVariant: TypographyVariantsEnum;
|
|
341
|
+
ratingSize: number;
|
|
342
|
+
avatarSize: string;
|
|
89
343
|
};
|
|
90
344
|
};
|
|
91
|
-
|
|
92
|
-
size: {
|
|
345
|
+
variant: {
|
|
93
346
|
default: {
|
|
94
347
|
base: string;
|
|
95
|
-
|
|
348
|
+
};
|
|
349
|
+
outlined: {
|
|
350
|
+
base: string;
|
|
96
351
|
rating: string;
|
|
352
|
+
review: string;
|
|
353
|
+
user: string;
|
|
97
354
|
};
|
|
98
|
-
|
|
355
|
+
full: {
|
|
99
356
|
base: string;
|
|
100
357
|
user: string;
|
|
101
|
-
|
|
358
|
+
review: string;
|
|
102
359
|
};
|
|
103
360
|
};
|
|
361
|
+
}, import("tailwind-variants").TVVariantsDefault<{
|
|
362
|
+
base: string;
|
|
363
|
+
user: string;
|
|
364
|
+
rating: string;
|
|
365
|
+
review: string;
|
|
366
|
+
mainTextVariant: string;
|
|
367
|
+
dateTextVariant: string;
|
|
368
|
+
ratingSize: null;
|
|
369
|
+
avatarSize: null;
|
|
370
|
+
}, undefined> | {
|
|
371
|
+
size?: {
|
|
372
|
+
default?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
373
|
+
base: string;
|
|
374
|
+
user: string;
|
|
375
|
+
rating: string;
|
|
376
|
+
review: string;
|
|
377
|
+
mainTextVariant: string;
|
|
378
|
+
dateTextVariant: string;
|
|
379
|
+
ratingSize: null;
|
|
380
|
+
avatarSize: null;
|
|
381
|
+
}, undefined>;
|
|
382
|
+
small?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
383
|
+
base: string;
|
|
384
|
+
user: string;
|
|
385
|
+
rating: string;
|
|
386
|
+
review: string;
|
|
387
|
+
mainTextVariant: string;
|
|
388
|
+
dateTextVariant: string;
|
|
389
|
+
ratingSize: null;
|
|
390
|
+
avatarSize: null;
|
|
391
|
+
}, undefined>;
|
|
392
|
+
large?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
393
|
+
base: string;
|
|
394
|
+
user: string;
|
|
395
|
+
rating: string;
|
|
396
|
+
review: string;
|
|
397
|
+
mainTextVariant: string;
|
|
398
|
+
dateTextVariant: string;
|
|
399
|
+
ratingSize: null;
|
|
400
|
+
avatarSize: null;
|
|
401
|
+
}, undefined>;
|
|
402
|
+
} | undefined;
|
|
403
|
+
variant?: {
|
|
404
|
+
default?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
405
|
+
base: string;
|
|
406
|
+
user: string;
|
|
407
|
+
rating: string;
|
|
408
|
+
review: string;
|
|
409
|
+
mainTextVariant: string;
|
|
410
|
+
dateTextVariant: string;
|
|
411
|
+
ratingSize: null;
|
|
412
|
+
avatarSize: null;
|
|
413
|
+
}, undefined>;
|
|
414
|
+
outlined?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
415
|
+
base: string;
|
|
416
|
+
user: string;
|
|
417
|
+
rating: string;
|
|
418
|
+
review: string;
|
|
419
|
+
mainTextVariant: string;
|
|
420
|
+
dateTextVariant: string;
|
|
421
|
+
ratingSize: null;
|
|
422
|
+
avatarSize: null;
|
|
423
|
+
}, undefined>;
|
|
424
|
+
full?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
425
|
+
base: string;
|
|
426
|
+
user: string;
|
|
427
|
+
rating: string;
|
|
428
|
+
review: string;
|
|
429
|
+
mainTextVariant: string;
|
|
430
|
+
dateTextVariant: string;
|
|
431
|
+
ratingSize: null;
|
|
432
|
+
avatarSize: null;
|
|
433
|
+
}, undefined>;
|
|
434
|
+
} | undefined;
|
|
104
435
|
}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SpecialistReview } from '../../shared';
|
|
3
|
+
import { WithTranslation } from 'react-i18next';
|
|
4
|
+
type Props = {
|
|
5
|
+
className?: string;
|
|
6
|
+
list: SpecialistReview[];
|
|
7
|
+
rating: number;
|
|
8
|
+
reviews: number;
|
|
9
|
+
limit: number;
|
|
10
|
+
t?: WithTranslation['t'];
|
|
11
|
+
onLoadMore?(): void;
|
|
12
|
+
};
|
|
13
|
+
export interface ReviewListFeatureRef {
|
|
14
|
+
openModalReviews: () => void;
|
|
15
|
+
}
|
|
16
|
+
declare const ReviewListFeature: React.ForwardRefExoticComponent<Props & React.RefAttributes<ReviewListFeatureRef>>;
|
|
17
|
+
export default ReviewListFeature;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ReviewListFeature } from './ReviewListFeature';
|
package/dist/cjs/lib2/features/SpecialistAreaListFeature/SpecialistAreaListFeature.stories.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import SpecialistAreaListFeature from './SpecialistAreaListFeature';
|
|
3
|
+
declare const meta: Meta<typeof SpecialistAreaListFeature>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SpecialistAreaListFeature>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithoutMatch: Story;
|
|
8
|
+
export declare const WithLimit: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SpecialistAreaListFeature } from './SpecialistAreaListFeature';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WithTranslation } from 'react-i18next';
|
|
3
|
+
export type SpecialistAreaByMatch = {
|
|
4
|
+
text: string;
|
|
5
|
+
hasMatch: boolean;
|
|
6
|
+
};
|
|
7
|
+
export type SpecialistAreaListProps = {
|
|
8
|
+
list: SpecialistAreaByMatch[];
|
|
9
|
+
title?: React.ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
classNameTitle?: string;
|
|
12
|
+
limit?: number;
|
|
13
|
+
t?: WithTranslation['t'];
|
|
14
|
+
fillTextWithMatch?: boolean;
|
|
15
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { SpecialistEducation } from '../../shared/types/specialistTypes';
|
|
3
|
+
import { WithTranslation } from 'react-i18next';
|
|
4
|
+
type Props = {
|
|
5
|
+
list: SpecialistEducation[];
|
|
6
|
+
limit?: number;
|
|
7
|
+
className?: string;
|
|
8
|
+
classNameTitle?: string;
|
|
9
|
+
t?: WithTranslation['t'];
|
|
10
|
+
};
|
|
11
|
+
declare const SpecialistEducationsFeature: FC<Props>;
|
|
12
|
+
export default SpecialistEducationsFeature;
|
package/dist/cjs/lib2/features/SpecialistEducationsFeature/SpecialistEducationsFeature.stories.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import SpecialistEducationsFeature from './SpecialistEducationsFeature';
|
|
3
|
+
declare const meta: Meta<typeof SpecialistEducationsFeature>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SpecialistEducationsFeature>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SpecialistEducationsFeature } from './SpecialistEducationsFeature';
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { SupportedCurrency } from '../../shared';
|
|
2
3
|
import { WithTranslation } from 'react-i18next';
|
|
3
4
|
export type SpecialistInfoColumnFeatureProps = {
|
|
4
5
|
t?: WithTranslation['t'];
|
|
5
|
-
rating:
|
|
6
|
+
rating: number;
|
|
6
7
|
reviews: number;
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
yearsOfExperience: number;
|
|
9
|
+
hoursOfPractice?: number;
|
|
10
|
+
sessionPrice: number;
|
|
11
|
+
isFavourite?: boolean;
|
|
9
12
|
sessionDurationMinutes: number;
|
|
10
|
-
|
|
13
|
+
currentPriceType: SupportedCurrency;
|
|
14
|
+
onToggleFavourite: () => void;
|
|
11
15
|
};
|
|
12
|
-
declare const SpecialistInfoColumnFeature: FC<SpecialistInfoColumnFeatureProps
|
|
16
|
+
declare const SpecialistInfoColumnFeature: FC<SpecialistInfoColumnFeatureProps>;
|
|
13
17
|
export default SpecialistInfoColumnFeature;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as
|
|
1
|
+
export { default as SpecialistInfoColumnFeature } from './SpecialistInfoColumnFeature';
|
package/dist/cjs/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.d.ts
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { WithTranslation } from 'react-i18next';
|
|
3
|
+
import { Avatar_v2Props } from '../../../lib2/shared/ui/Avatar_v2';
|
|
3
4
|
export type SpecialistShortInfoItemFeatureProps = {
|
|
4
5
|
t?: WithTranslation['t'];
|
|
5
6
|
match: number;
|
|
7
|
+
matchVariant?: 'badge' | 'avatar';
|
|
6
8
|
fullName: string;
|
|
7
9
|
avatarLink: string;
|
|
8
|
-
countryCode
|
|
9
|
-
yearsOfExperience
|
|
10
|
+
countryCode?: string;
|
|
11
|
+
yearsOfExperience?: number;
|
|
12
|
+
className?: string;
|
|
13
|
+
avatarProps?: Avatar_v2Props;
|
|
14
|
+
reviews?: number;
|
|
15
|
+
rating?: number;
|
|
16
|
+
isSpecialistUnAvailable?: boolean;
|
|
17
|
+
isAuth?: boolean;
|
|
18
|
+
onClickReview?(): void;
|
|
10
19
|
};
|
|
11
|
-
declare const SpecialistShortInfoItemFeature: FC<SpecialistShortInfoItemFeatureProps
|
|
20
|
+
declare const SpecialistShortInfoItemFeature: FC<SpecialistShortInfoItemFeatureProps>;
|
|
12
21
|
export default SpecialistShortInfoItemFeature;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TextWithClampFeature } from './TextWithClampFeature';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { WithTranslation } from 'react-i18next';
|
|
2
|
+
import { TypographyProps } from '../../shared/ui/Typography/types';
|
|
3
|
+
export interface Props extends Omit<TypographyProps, 'children'> {
|
|
4
|
+
className?: string;
|
|
5
|
+
text: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
countLines?: number;
|
|
8
|
+
expandType?: 'inline' | 'modal';
|
|
9
|
+
classNameTitle?: string;
|
|
10
|
+
onExpand?(): void;
|
|
11
|
+
t?: WithTranslation['t'];
|
|
12
|
+
}
|
|
@@ -29,3 +29,7 @@ export * from './AcceptAgreementFeature';
|
|
|
29
29
|
export * from './SelectWithSearchFormFeature';
|
|
30
30
|
export * from './MarkdownContainerFeature';
|
|
31
31
|
export * from './OnBoardingFlow';
|
|
32
|
+
export * from './SpecialistAreaListFeature';
|
|
33
|
+
export * from './TextWithClampFeature';
|
|
34
|
+
export * from './ReviewListFeature';
|
|
35
|
+
export * from './SpecialistEducationsFeature';
|