@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.
Files changed (164) hide show
  1. package/dist/cjs/index.js +7 -7
  2. package/dist/cjs/lib2/features/ReviewCardFeature/ReviewCardFeature.d.ts +9 -5
  3. package/dist/cjs/lib2/features/ReviewCardFeature/styles.d.ts +348 -17
  4. package/dist/cjs/lib2/features/ReviewListFeature/ReviewListFeature.d.ts +17 -0
  5. package/dist/cjs/lib2/features/ReviewListFeature/index.d.ts +1 -0
  6. package/dist/cjs/lib2/features/SpecialistAreaListFeature/SpecialistAreaListFeature.d.ts +4 -0
  7. package/dist/cjs/lib2/features/SpecialistAreaListFeature/SpecialistAreaListFeature.stories.d.ts +8 -0
  8. package/dist/cjs/lib2/features/SpecialistAreaListFeature/index.d.ts +1 -0
  9. package/dist/cjs/lib2/features/SpecialistAreaListFeature/types.d.ts +15 -0
  10. package/dist/cjs/lib2/features/SpecialistEducationsFeature/SpecialistEducationsFeature.d.ts +12 -0
  11. package/dist/cjs/lib2/features/SpecialistEducationsFeature/SpecialistEducationsFeature.stories.d.ts +6 -0
  12. package/dist/cjs/lib2/features/SpecialistEducationsFeature/index.d.ts +1 -0
  13. package/dist/cjs/lib2/features/SpecialistInfoColumnFeature/SpecialistInfoColumnFeature.d.ts +9 -5
  14. package/dist/cjs/lib2/features/SpecialistInfoColumnFeature/index.d.ts +1 -1
  15. package/dist/cjs/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.d.ts +12 -3
  16. package/dist/cjs/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.stories.d.ts +1 -0
  17. package/dist/cjs/lib2/features/TextWithClampFeature/TextWithClampFeature.d.ts +4 -0
  18. package/dist/cjs/lib2/features/TextWithClampFeature/index.d.ts +1 -0
  19. package/dist/cjs/lib2/features/TextWithClampFeature/types.d.ts +12 -0
  20. package/dist/cjs/lib2/features/index.d.ts +4 -0
  21. package/dist/cjs/lib2/shared/assets/icons/IconDot.d.ts +3 -0
  22. package/dist/cjs/lib2/shared/assets/icons/IconHeart.d.ts +3 -0
  23. package/dist/cjs/lib2/shared/assets/icons/IconMindly.d.ts +3 -0
  24. package/dist/cjs/lib2/shared/assets/icons/IconMindlyColored.d.ts +3 -0
  25. package/dist/cjs/lib2/shared/assets/icons/IconPlay.d.ts +3 -0
  26. package/dist/cjs/lib2/shared/assets/icons/IconRenew.d.ts +3 -0
  27. package/dist/cjs/lib2/shared/assets/icons/IconStudyHat.d.ts +3 -0
  28. package/dist/cjs/lib2/shared/assets/icons/index.d.ts +7 -0
  29. package/dist/cjs/lib2/shared/types/common.d.ts +1 -0
  30. package/dist/cjs/lib2/shared/types/contract.d.ts +12 -0
  31. package/dist/cjs/lib2/shared/types/iconProps.d.ts +1 -0
  32. package/dist/cjs/lib2/shared/types/index.d.ts +4 -0
  33. package/dist/cjs/lib2/shared/types/review.d.ts +19 -0
  34. package/dist/cjs/lib2/shared/types/specialistTypes.d.ts +65 -0
  35. package/dist/cjs/lib2/shared/types/user.d.ts +33 -0
  36. package/dist/cjs/lib2/shared/ui/Avatar_v2/Avatar_v2.d.ts +3 -2
  37. package/dist/cjs/lib2/shared/ui/Avatar_v2/index.d.ts +1 -0
  38. package/dist/cjs/lib2/shared/ui/Badge/styles.d.ts +2 -2
  39. package/dist/cjs/lib2/shared/ui/Badge/types.d.ts +1 -0
  40. package/dist/cjs/lib2/shared/ui/Button_v2/Button_v2.d.ts +1 -0
  41. package/dist/cjs/lib2/shared/ui/EducationCard_v2/EducationCard.d.ts +11 -0
  42. package/dist/cjs/lib2/shared/ui/EducationCard_v2/index.d.ts +1 -0
  43. package/dist/cjs/lib2/shared/ui/ListItemWithColumns/ListItemWithColumns.d.ts +7 -0
  44. package/dist/cjs/lib2/shared/ui/ListItemWithColumns/index.d.ts +1 -0
  45. package/dist/cjs/lib2/shared/ui/MatchProgress/MatchProgress.d.ts +7 -0
  46. package/dist/cjs/lib2/shared/ui/MatchProgress/index.d.ts +1 -0
  47. package/dist/cjs/lib2/shared/ui/ModalSheet/ModalSheet.d.ts +1 -0
  48. package/dist/cjs/lib2/shared/ui/ModalSheet/types.d.ts +1 -0
  49. package/dist/cjs/lib2/shared/ui/ReviewsSummary/ReviewsSummary.d.ts +13 -0
  50. package/dist/cjs/lib2/shared/ui/ReviewsSummary/ReviewsSummary.stories.d.ts +8 -0
  51. package/dist/cjs/lib2/shared/ui/ReviewsSummary/index.d.ts +1 -0
  52. package/dist/cjs/lib2/shared/ui/ReviewsSummary/styles.d.ts +140 -0
  53. package/dist/cjs/lib2/shared/ui/ShowMore/ShowMore.d.ts +3 -0
  54. package/dist/cjs/lib2/shared/ui/ShowMore/index.d.ts +1 -0
  55. package/dist/cjs/lib2/shared/ui/SuperSpecialist/SuperSpecialist.d.ts +4 -0
  56. package/dist/cjs/lib2/shared/ui/SuperSpecialist/SuperSpecialist.stories.d.ts +7 -0
  57. package/dist/cjs/lib2/shared/ui/SuperSpecialist/index.d.ts +1 -0
  58. package/dist/cjs/lib2/shared/ui/SuperSpecialist/styles.d.ts +105 -0
  59. package/dist/cjs/lib2/shared/ui/SuperSpecialist/types.d.ts +6 -0
  60. package/dist/cjs/lib2/shared/ui/Typography/Typography.d.ts +2 -12
  61. package/dist/cjs/lib2/shared/ui/Typography/types.d.ts +14 -1
  62. package/dist/cjs/lib2/shared/ui/Video/Video.d.ts +14 -3
  63. package/dist/cjs/lib2/shared/ui/Video/Video.stories.d.ts +1 -0
  64. package/dist/cjs/lib2/shared/ui/index.d.ts +5 -0
  65. package/dist/cjs/lib2/shared/utils/format.d.ts +1 -0
  66. package/dist/cjs/lib2/shared/utils/index.d.ts +1 -0
  67. package/dist/cjs/lib2/shared/utils/matching.d.ts +6 -0
  68. package/dist/cjs/lib2/shared/utils/mock.d.ts +5 -0
  69. package/dist/cjs/lib2/shared/utils/priceNormalizer.d.ts +2 -1
  70. package/dist/cjs/lib2/widgets/SpecialistCardListWidget/SpecialistCardListWidget.d.ts +11 -5
  71. package/dist/cjs/lib2/widgets/SpecialistCardListWidget/SpecialistCardListWidget.stories.d.ts +1 -0
  72. package/dist/cjs/lib2/widgets/SpecialistCardListWidget/SpecialistCardListWidgetSkeleton.d.ts +3 -0
  73. package/dist/cjs/lib2/widgets/SpecialistCardWidget/SpecialistCardSkeleton.d.ts +2 -1
  74. package/dist/cjs/lib2/widgets/SpecialistCardWidget/SpecialistCardWidget.stories.d.ts +3 -0
  75. package/dist/cjs/lib2/widgets/SpecialistCardWidget/types.d.ts +17 -9
  76. package/dist/cjs/lib2/widgets/SpecialistDetailWidget/SpecialistDetailWidget.d.ts +4 -0
  77. package/dist/cjs/lib2/widgets/SpecialistDetailWidget/SpecialistDetailWidget.stories.d.ts +9 -0
  78. package/dist/cjs/lib2/widgets/SpecialistDetailWidget/SpecialistDetailWidgetSkeleton.d.ts +3 -0
  79. package/dist/cjs/lib2/widgets/SpecialistDetailWidget/index.d.ts +1 -0
  80. package/dist/cjs/lib2/widgets/SpecialistDetailWidget/types.d.ts +19 -0
  81. package/dist/cjs/lib2/widgets/index.d.ts +1 -0
  82. package/dist/esm/index.js +7 -7
  83. package/dist/esm/lib2/features/ReviewCardFeature/ReviewCardFeature.d.ts +9 -5
  84. package/dist/esm/lib2/features/ReviewCardFeature/styles.d.ts +348 -17
  85. package/dist/esm/lib2/features/ReviewListFeature/ReviewListFeature.d.ts +17 -0
  86. package/dist/esm/lib2/features/ReviewListFeature/index.d.ts +1 -0
  87. package/dist/esm/lib2/features/SpecialistAreaListFeature/SpecialistAreaListFeature.d.ts +4 -0
  88. package/dist/esm/lib2/features/SpecialistAreaListFeature/SpecialistAreaListFeature.stories.d.ts +8 -0
  89. package/dist/esm/lib2/features/SpecialistAreaListFeature/index.d.ts +1 -0
  90. package/dist/esm/lib2/features/SpecialistAreaListFeature/types.d.ts +15 -0
  91. package/dist/esm/lib2/features/SpecialistEducationsFeature/SpecialistEducationsFeature.d.ts +12 -0
  92. package/dist/esm/lib2/features/SpecialistEducationsFeature/SpecialistEducationsFeature.stories.d.ts +6 -0
  93. package/dist/esm/lib2/features/SpecialistEducationsFeature/index.d.ts +1 -0
  94. package/dist/esm/lib2/features/SpecialistInfoColumnFeature/SpecialistInfoColumnFeature.d.ts +9 -5
  95. package/dist/esm/lib2/features/SpecialistInfoColumnFeature/index.d.ts +1 -1
  96. package/dist/esm/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.d.ts +12 -3
  97. package/dist/esm/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.stories.d.ts +1 -0
  98. package/dist/esm/lib2/features/TextWithClampFeature/TextWithClampFeature.d.ts +4 -0
  99. package/dist/esm/lib2/features/TextWithClampFeature/index.d.ts +1 -0
  100. package/dist/esm/lib2/features/TextWithClampFeature/types.d.ts +12 -0
  101. package/dist/esm/lib2/features/index.d.ts +4 -0
  102. package/dist/esm/lib2/shared/assets/icons/IconDot.d.ts +3 -0
  103. package/dist/esm/lib2/shared/assets/icons/IconHeart.d.ts +3 -0
  104. package/dist/esm/lib2/shared/assets/icons/IconMindly.d.ts +3 -0
  105. package/dist/esm/lib2/shared/assets/icons/IconMindlyColored.d.ts +3 -0
  106. package/dist/esm/lib2/shared/assets/icons/IconPlay.d.ts +3 -0
  107. package/dist/esm/lib2/shared/assets/icons/IconRenew.d.ts +3 -0
  108. package/dist/esm/lib2/shared/assets/icons/IconStudyHat.d.ts +3 -0
  109. package/dist/esm/lib2/shared/assets/icons/index.d.ts +7 -0
  110. package/dist/esm/lib2/shared/types/common.d.ts +1 -0
  111. package/dist/esm/lib2/shared/types/contract.d.ts +12 -0
  112. package/dist/esm/lib2/shared/types/iconProps.d.ts +1 -0
  113. package/dist/esm/lib2/shared/types/index.d.ts +4 -0
  114. package/dist/esm/lib2/shared/types/review.d.ts +19 -0
  115. package/dist/esm/lib2/shared/types/specialistTypes.d.ts +65 -0
  116. package/dist/esm/lib2/shared/types/user.d.ts +33 -0
  117. package/dist/esm/lib2/shared/ui/Avatar_v2/Avatar_v2.d.ts +3 -2
  118. package/dist/esm/lib2/shared/ui/Avatar_v2/index.d.ts +1 -0
  119. package/dist/esm/lib2/shared/ui/Badge/styles.d.ts +2 -2
  120. package/dist/esm/lib2/shared/ui/Badge/types.d.ts +1 -0
  121. package/dist/esm/lib2/shared/ui/Button_v2/Button_v2.d.ts +1 -0
  122. package/dist/esm/lib2/shared/ui/EducationCard_v2/EducationCard.d.ts +11 -0
  123. package/dist/esm/lib2/shared/ui/EducationCard_v2/index.d.ts +1 -0
  124. package/dist/esm/lib2/shared/ui/ListItemWithColumns/ListItemWithColumns.d.ts +7 -0
  125. package/dist/esm/lib2/shared/ui/ListItemWithColumns/index.d.ts +1 -0
  126. package/dist/esm/lib2/shared/ui/MatchProgress/MatchProgress.d.ts +7 -0
  127. package/dist/esm/lib2/shared/ui/MatchProgress/index.d.ts +1 -0
  128. package/dist/esm/lib2/shared/ui/ModalSheet/ModalSheet.d.ts +1 -0
  129. package/dist/esm/lib2/shared/ui/ModalSheet/types.d.ts +1 -0
  130. package/dist/esm/lib2/shared/ui/ReviewsSummary/ReviewsSummary.d.ts +13 -0
  131. package/dist/esm/lib2/shared/ui/ReviewsSummary/ReviewsSummary.stories.d.ts +8 -0
  132. package/dist/esm/lib2/shared/ui/ReviewsSummary/index.d.ts +1 -0
  133. package/dist/esm/lib2/shared/ui/ReviewsSummary/styles.d.ts +140 -0
  134. package/dist/esm/lib2/shared/ui/ShowMore/ShowMore.d.ts +3 -0
  135. package/dist/esm/lib2/shared/ui/ShowMore/index.d.ts +1 -0
  136. package/dist/esm/lib2/shared/ui/SuperSpecialist/SuperSpecialist.d.ts +4 -0
  137. package/dist/esm/lib2/shared/ui/SuperSpecialist/SuperSpecialist.stories.d.ts +7 -0
  138. package/dist/esm/lib2/shared/ui/SuperSpecialist/index.d.ts +1 -0
  139. package/dist/esm/lib2/shared/ui/SuperSpecialist/styles.d.ts +105 -0
  140. package/dist/esm/lib2/shared/ui/SuperSpecialist/types.d.ts +6 -0
  141. package/dist/esm/lib2/shared/ui/Typography/Typography.d.ts +2 -12
  142. package/dist/esm/lib2/shared/ui/Typography/types.d.ts +14 -1
  143. package/dist/esm/lib2/shared/ui/Video/Video.d.ts +14 -3
  144. package/dist/esm/lib2/shared/ui/Video/Video.stories.d.ts +1 -0
  145. package/dist/esm/lib2/shared/ui/index.d.ts +5 -0
  146. package/dist/esm/lib2/shared/utils/format.d.ts +1 -0
  147. package/dist/esm/lib2/shared/utils/index.d.ts +1 -0
  148. package/dist/esm/lib2/shared/utils/matching.d.ts +6 -0
  149. package/dist/esm/lib2/shared/utils/mock.d.ts +5 -0
  150. package/dist/esm/lib2/shared/utils/priceNormalizer.d.ts +2 -1
  151. package/dist/esm/lib2/widgets/SpecialistCardListWidget/SpecialistCardListWidget.d.ts +11 -5
  152. package/dist/esm/lib2/widgets/SpecialistCardListWidget/SpecialistCardListWidget.stories.d.ts +1 -0
  153. package/dist/esm/lib2/widgets/SpecialistCardListWidget/SpecialistCardListWidgetSkeleton.d.ts +3 -0
  154. package/dist/esm/lib2/widgets/SpecialistCardWidget/SpecialistCardSkeleton.d.ts +2 -1
  155. package/dist/esm/lib2/widgets/SpecialistCardWidget/SpecialistCardWidget.stories.d.ts +3 -0
  156. package/dist/esm/lib2/widgets/SpecialistCardWidget/types.d.ts +17 -9
  157. package/dist/esm/lib2/widgets/SpecialistDetailWidget/SpecialistDetailWidget.d.ts +4 -0
  158. package/dist/esm/lib2/widgets/SpecialistDetailWidget/SpecialistDetailWidget.stories.d.ts +9 -0
  159. package/dist/esm/lib2/widgets/SpecialistDetailWidget/SpecialistDetailWidgetSkeleton.d.ts +3 -0
  160. package/dist/esm/lib2/widgets/SpecialistDetailWidget/index.d.ts +1 -0
  161. package/dist/esm/lib2/widgets/SpecialistDetailWidget/types.d.ts +19 -0
  162. package/dist/esm/lib2/widgets/index.d.ts +1 -0
  163. package/dist/index.d.ts +498 -219
  164. package/package.json +5 -3
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { IconProps } from '../../types/iconProps';
3
+ export declare const IconStudyHat: React.FC<IconProps>;
@@ -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';
@@ -29,3 +29,4 @@ export declare enum ShortCurrencySignByLocale {
29
29
  'eur' = "EUR",
30
30
  'es' = "USD"
31
31
  }
32
+ export declare const StripeSupportedCurrency: SupportedCurrency[];
@@ -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
+ }
@@ -3,4 +3,5 @@ export interface IconProps extends SVGAttributes<SVGElement> {
3
3
  size?: number | string;
4
4
  color?: string;
5
5
  className?: string;
6
+ filled?: boolean;
6
7
  }
@@ -5,3 +5,7 @@ export * from './common';
5
5
  export * from './getCountryKeyByName';
6
6
  export * from './responseFileType';
7
7
  export * from './onBoardingFlow.type';
8
+ export * from './specialistTypes';
9
+ export * from './review';
10
+ export * from './contract';
11
+ export * from './user';
@@ -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;
@@ -1 +1,2 @@
1
1
  export { default as Avatar_v2 } from './Avatar_v2';
2
+ export type { AvatarProps as Avatar_v2Props } from './Avatar_v2';
@@ -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: "";
@@ -5,4 +5,5 @@ export type BadgeProps = React.ComponentPropsWithoutRef<'span'> & {
5
5
  variant: BadgeVariants;
6
6
  size?: 'S' | 'M';
7
7
  type?: BadgeType;
8
+ iconType?: 'check';
8
9
  };
@@ -13,6 +13,7 @@ type ButtonProps = {
13
13
  icon?: React.ReactNode;
14
14
  iconPosition?: 'start' | 'center';
15
15
  style?: React.CSSProperties;
16
+ id?: string;
16
17
  } & JSX.IonButton;
17
18
  declare const Button_v2: FC<ButtonProps>;
18
19
  export default Button_v2;
@@ -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,7 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ className?: string;
4
+ title: string;
5
+ }
6
+ declare const _default: React.NamedExoticComponent<React.PropsWithChildren<Props>>;
7
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as ListItemWithColumns } from './ListItemWithColumns';
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ export type MatchProgressProps = {
3
+ className?: string;
4
+ percentMatch: number;
5
+ };
6
+ declare const _default: React.NamedExoticComponent<React.PropsWithChildren<MatchProgressProps>>;
7
+ export default _default;
@@ -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;
@@ -3,4 +3,5 @@ import { JSX } from '@ionic/core/components';
3
3
  export type ModalSheetProps = React.PropsWithChildren<JSX.IonModal> & {
4
4
  heightInPx?: number;
5
5
  className?: string;
6
+ withCloseButton?: boolean;
6
7
  };
@@ -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,3 @@
1
+ import React from 'react';
2
+ declare const _default: React.NamedExoticComponent<React.PropsWithChildren<React.HTMLAttributes<HTMLButtonElement>>>;
3
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as ShowMore } from './ShowMore';
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { SuperSpecialistProps } from './types';
3
+ declare const SuperSpecialist: FC<SuperSpecialistProps>;
4
+ export default SuperSpecialist;
@@ -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>>;
@@ -0,0 +1,6 @@
1
+ import { WithTranslation } from 'react-i18next';
2
+ export type SuperSpecialistProps = {
3
+ t?: WithTranslation['t'];
4
+ variant?: 'default' | 'full';
5
+ percent?: number;
6
+ };
@@ -1,14 +1,4 @@
1
1
  import React from 'react';
2
- import { TypographyAlignType, TypographyOpacityType, TypographyVariantsEnum } from './types';
3
- type TypographyProps = {
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: boolean;
5
- onMuteToggle: () => void;
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
- declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<VideoProps & React.RefAttributes<HTMLVideoElement>>>;
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;
@@ -4,3 +4,4 @@ declare const meta: Meta<typeof Video>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Video>;
6
6
  export declare const Default: Story;
7
+ export declare const WithWaterMark: Story;