@mindly/ui-components 5.103.1 → 5.104.0

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 (162) hide show
  1. package/dist/cjs/configs/tailwind/colors.d.ts +2 -0
  2. package/dist/cjs/index.js +15 -7
  3. package/dist/cjs/lib2/features/Charts/ChartAreaFeature/ChartAreaFeature.d.ts +8 -0
  4. package/dist/cjs/lib2/features/Charts/ChartAreaFeature/index.d.ts +1 -0
  5. package/dist/cjs/lib2/features/Charts/ChartLinesFeature/ChartLinesFeature.d.ts +9 -0
  6. package/dist/cjs/lib2/features/Charts/ChartLinesFeature/index.d.ts +1 -0
  7. package/dist/cjs/lib2/features/Charts/components/DotLabel.d.ts +18 -0
  8. package/dist/cjs/lib2/features/Charts/config.d.ts +32 -0
  9. package/dist/cjs/lib2/features/Charts/index.d.ts +2 -0
  10. package/dist/cjs/lib2/features/Charts/types.d.ts +30 -0
  11. package/dist/cjs/lib2/features/DropdownFeature/DropdownFeature.d.ts +4 -0
  12. package/dist/cjs/lib2/features/DropdownFeature/DropdownFeature.stories.d.ts +7 -0
  13. package/dist/cjs/lib2/features/DropdownFeature/index.d.ts +1 -0
  14. package/dist/cjs/lib2/features/DropdownFeature/types.d.ts +8 -0
  15. package/dist/cjs/lib2/features/MarkdownContainerFeature/MarkdownContainerFeature.d.ts +1 -0
  16. package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingChartScreenPreviewFeature/OnBoardingChartScreenPreviewFeature.d.ts +10 -0
  17. package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingChartScreenPreviewFeature/index.d.ts +1 -0
  18. package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingCompareScreenPreviewFeature /OnBoardingCompareScreenPreviewFeature.d.ts +9 -0
  19. package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingCompareScreenPreviewFeature /index.d.ts +1 -0
  20. package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/OnBoardingPaywallScreenPreviewFeature.d.ts +13 -0
  21. package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/components/HowItWorksItem.d.ts +7 -0
  22. package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/components/TrustItem.d.ts +7 -0
  23. package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/conts.d.ts +63 -0
  24. package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/index.d.ts +1 -0
  25. package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/styles.d.ts +76 -0
  26. package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingSingleSelectionScreenPreviewFeature/OnBoardingSingleSelectionScreenPreviewFeature.d.ts +3 -2
  27. package/dist/cjs/lib2/features/OnBoardingFlow/components/OnBoardingSelectionHeader.d.ts +8 -0
  28. package/dist/cjs/lib2/features/OnBoardingFlow/index.d.ts +3 -0
  29. package/dist/cjs/lib2/features/PoweredByStripeFeature/PoweredByStripeFeature.d.ts +4 -0
  30. package/dist/cjs/lib2/features/PoweredByStripeFeature/PoweredByStripeFeature.stories.d.ts +6 -0
  31. package/dist/cjs/lib2/features/PoweredByStripeFeature/index.d.ts +1 -0
  32. package/dist/cjs/lib2/features/PoweredByStripeFeature/types.d.ts +4 -0
  33. package/dist/cjs/lib2/features/ReviewCardFeature/ReviewCardFeature.d.ts +3 -1
  34. package/dist/cjs/lib2/features/ReviewCardFeature/styles.d.ts +85 -0
  35. package/dist/cjs/lib2/features/TariffFeature/TariffFeature.d.ts +4 -0
  36. package/dist/cjs/lib2/features/TariffFeature/TariffFeature.stories.d.ts +9 -0
  37. package/dist/cjs/lib2/features/TariffFeature/index.d.ts +1 -0
  38. package/dist/cjs/lib2/features/TariffFeature/styles.d.ts +166 -0
  39. package/dist/cjs/lib2/features/TariffFeature/types.d.ts +22 -0
  40. package/dist/cjs/lib2/features/index.d.ts +3 -0
  41. package/dist/cjs/lib2/shared/assets/icons/IconAmEx.d.ts +3 -0
  42. package/dist/cjs/lib2/shared/assets/icons/IconAppStoreRating.d.ts +3 -0
  43. package/dist/cjs/lib2/shared/assets/icons/IconApplePay.d.ts +3 -0
  44. package/dist/cjs/lib2/shared/assets/icons/IconCalendarMonth.d.ts +2 -6
  45. package/dist/cjs/lib2/shared/assets/icons/IconCancelBold.d.ts +3 -0
  46. package/dist/cjs/lib2/shared/assets/icons/IconCheckboxCheckedBold.d.ts +7 -0
  47. package/dist/cjs/lib2/shared/assets/icons/IconDivider.d.ts +3 -0
  48. package/dist/cjs/lib2/shared/assets/icons/IconDoubleArrow.d.ts +3 -0
  49. package/dist/cjs/lib2/shared/assets/icons/IconGlobe.d.ts +3 -0
  50. package/dist/cjs/lib2/shared/assets/icons/IconGooglePay.d.ts +3 -0
  51. package/dist/cjs/lib2/shared/assets/icons/IconInfo.d.ts +3 -0
  52. package/dist/cjs/lib2/shared/assets/icons/IconMaestro.d.ts +3 -0
  53. package/dist/cjs/lib2/shared/assets/icons/IconMastercard.d.ts +3 -0
  54. package/dist/cjs/lib2/shared/assets/icons/IconMatching.d.ts +7 -0
  55. package/dist/cjs/lib2/shared/assets/icons/IconPoweredByStripe.d.ts +3 -0
  56. package/dist/cjs/lib2/shared/assets/icons/IconRadioPartial.d.ts +3 -0
  57. package/dist/cjs/lib2/shared/assets/icons/IconSecure.d.ts +3 -0
  58. package/dist/cjs/lib2/shared/assets/icons/IconSwitch.d.ts +3 -0
  59. package/dist/cjs/lib2/shared/assets/icons/IconVisa.d.ts +3 -0
  60. package/dist/cjs/lib2/shared/assets/icons/index.d.ts +18 -0
  61. package/dist/cjs/lib2/shared/types/common.d.ts +6 -0
  62. package/dist/cjs/lib2/shared/types/onBoardingFlow.type.d.ts +35 -2
  63. package/dist/cjs/lib2/shared/types/review.d.ts +9 -0
  64. package/dist/cjs/lib2/shared/types/variant.d.ts +4 -0
  65. package/dist/cjs/lib2/shared/ui/Badge/types.d.ts +1 -1
  66. package/dist/cjs/lib2/shared/ui/ListBox/ListBox.d.ts +1 -1
  67. package/dist/cjs/lib2/shared/ui/ListBox/types.d.ts +9 -2
  68. package/dist/cjs/lib2/shared/ui/ListBoxItem/ListBoxImageItem.d.ts +17 -0
  69. package/dist/cjs/lib2/shared/ui/ListBoxItem/types.d.ts +13 -1
  70. package/dist/cjs/lib2/shared/ui/Rating/types.d.ts +2 -1
  71. package/dist/cjs/lib2/shared/ui/Typography/types.d.ts +1 -0
  72. package/dist/cjs/lib2/shared/ui/Video/Video.d.ts +3 -0
  73. package/dist/cjs/lib2/shared/ui/Video/styles.d.ts +189 -0
  74. package/dist/cjs/lib2/shared/utils/format.d.ts +1 -0
  75. package/dist/cjs/lib2/widgets/SpecialistPreviewWidget/SpecialistPreviewWidget.d.ts +4 -0
  76. package/dist/cjs/lib2/widgets/SpecialistPreviewWidget/SpecialistPreviewWidget.stories.d.ts +7 -0
  77. package/dist/cjs/lib2/widgets/SpecialistPreviewWidget/index.d.ts +1 -0
  78. package/dist/cjs/lib2/widgets/SpecialistPreviewWidget/types.d.ts +9 -0
  79. package/dist/cjs/lib2/widgets/index.d.ts +1 -0
  80. package/dist/esm/configs/tailwind/colors.d.ts +2 -0
  81. package/dist/esm/index.js +15 -7
  82. package/dist/esm/lib2/features/Charts/ChartAreaFeature/ChartAreaFeature.d.ts +8 -0
  83. package/dist/esm/lib2/features/Charts/ChartAreaFeature/index.d.ts +1 -0
  84. package/dist/esm/lib2/features/Charts/ChartLinesFeature/ChartLinesFeature.d.ts +9 -0
  85. package/dist/esm/lib2/features/Charts/ChartLinesFeature/index.d.ts +1 -0
  86. package/dist/esm/lib2/features/Charts/components/DotLabel.d.ts +18 -0
  87. package/dist/esm/lib2/features/Charts/config.d.ts +32 -0
  88. package/dist/esm/lib2/features/Charts/index.d.ts +2 -0
  89. package/dist/esm/lib2/features/Charts/types.d.ts +30 -0
  90. package/dist/esm/lib2/features/DropdownFeature/DropdownFeature.d.ts +4 -0
  91. package/dist/esm/lib2/features/DropdownFeature/DropdownFeature.stories.d.ts +7 -0
  92. package/dist/esm/lib2/features/DropdownFeature/index.d.ts +1 -0
  93. package/dist/esm/lib2/features/DropdownFeature/types.d.ts +8 -0
  94. package/dist/esm/lib2/features/MarkdownContainerFeature/MarkdownContainerFeature.d.ts +1 -0
  95. package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingChartScreenPreviewFeature/OnBoardingChartScreenPreviewFeature.d.ts +10 -0
  96. package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingChartScreenPreviewFeature/index.d.ts +1 -0
  97. package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingCompareScreenPreviewFeature /OnBoardingCompareScreenPreviewFeature.d.ts +9 -0
  98. package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingCompareScreenPreviewFeature /index.d.ts +1 -0
  99. package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/OnBoardingPaywallScreenPreviewFeature.d.ts +13 -0
  100. package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/components/HowItWorksItem.d.ts +7 -0
  101. package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/components/TrustItem.d.ts +7 -0
  102. package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/conts.d.ts +63 -0
  103. package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/index.d.ts +1 -0
  104. package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/styles.d.ts +76 -0
  105. package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingSingleSelectionScreenPreviewFeature/OnBoardingSingleSelectionScreenPreviewFeature.d.ts +3 -2
  106. package/dist/esm/lib2/features/OnBoardingFlow/components/OnBoardingSelectionHeader.d.ts +8 -0
  107. package/dist/esm/lib2/features/OnBoardingFlow/index.d.ts +3 -0
  108. package/dist/esm/lib2/features/PoweredByStripeFeature/PoweredByStripeFeature.d.ts +4 -0
  109. package/dist/esm/lib2/features/PoweredByStripeFeature/PoweredByStripeFeature.stories.d.ts +6 -0
  110. package/dist/esm/lib2/features/PoweredByStripeFeature/index.d.ts +1 -0
  111. package/dist/esm/lib2/features/PoweredByStripeFeature/types.d.ts +4 -0
  112. package/dist/esm/lib2/features/ReviewCardFeature/ReviewCardFeature.d.ts +3 -1
  113. package/dist/esm/lib2/features/ReviewCardFeature/styles.d.ts +85 -0
  114. package/dist/esm/lib2/features/TariffFeature/TariffFeature.d.ts +4 -0
  115. package/dist/esm/lib2/features/TariffFeature/TariffFeature.stories.d.ts +9 -0
  116. package/dist/esm/lib2/features/TariffFeature/index.d.ts +1 -0
  117. package/dist/esm/lib2/features/TariffFeature/styles.d.ts +166 -0
  118. package/dist/esm/lib2/features/TariffFeature/types.d.ts +22 -0
  119. package/dist/esm/lib2/features/index.d.ts +3 -0
  120. package/dist/esm/lib2/shared/assets/icons/IconAmEx.d.ts +3 -0
  121. package/dist/esm/lib2/shared/assets/icons/IconAppStoreRating.d.ts +3 -0
  122. package/dist/esm/lib2/shared/assets/icons/IconApplePay.d.ts +3 -0
  123. package/dist/esm/lib2/shared/assets/icons/IconCalendarMonth.d.ts +2 -6
  124. package/dist/esm/lib2/shared/assets/icons/IconCancelBold.d.ts +3 -0
  125. package/dist/esm/lib2/shared/assets/icons/IconCheckboxCheckedBold.d.ts +7 -0
  126. package/dist/esm/lib2/shared/assets/icons/IconDivider.d.ts +3 -0
  127. package/dist/esm/lib2/shared/assets/icons/IconDoubleArrow.d.ts +3 -0
  128. package/dist/esm/lib2/shared/assets/icons/IconGlobe.d.ts +3 -0
  129. package/dist/esm/lib2/shared/assets/icons/IconGooglePay.d.ts +3 -0
  130. package/dist/esm/lib2/shared/assets/icons/IconInfo.d.ts +3 -0
  131. package/dist/esm/lib2/shared/assets/icons/IconMaestro.d.ts +3 -0
  132. package/dist/esm/lib2/shared/assets/icons/IconMastercard.d.ts +3 -0
  133. package/dist/esm/lib2/shared/assets/icons/IconMatching.d.ts +7 -0
  134. package/dist/esm/lib2/shared/assets/icons/IconPoweredByStripe.d.ts +3 -0
  135. package/dist/esm/lib2/shared/assets/icons/IconRadioPartial.d.ts +3 -0
  136. package/dist/esm/lib2/shared/assets/icons/IconSecure.d.ts +3 -0
  137. package/dist/esm/lib2/shared/assets/icons/IconSwitch.d.ts +3 -0
  138. package/dist/esm/lib2/shared/assets/icons/IconVisa.d.ts +3 -0
  139. package/dist/esm/lib2/shared/assets/icons/index.d.ts +18 -0
  140. package/dist/esm/lib2/shared/types/common.d.ts +6 -0
  141. package/dist/esm/lib2/shared/types/onBoardingFlow.type.d.ts +35 -2
  142. package/dist/esm/lib2/shared/types/review.d.ts +9 -0
  143. package/dist/esm/lib2/shared/types/variant.d.ts +4 -0
  144. package/dist/esm/lib2/shared/ui/Badge/types.d.ts +1 -1
  145. package/dist/esm/lib2/shared/ui/ListBox/ListBox.d.ts +1 -1
  146. package/dist/esm/lib2/shared/ui/ListBox/types.d.ts +9 -2
  147. package/dist/esm/lib2/shared/ui/ListBoxItem/ListBoxImageItem.d.ts +17 -0
  148. package/dist/esm/lib2/shared/ui/ListBoxItem/types.d.ts +13 -1
  149. package/dist/esm/lib2/shared/ui/Rating/types.d.ts +2 -1
  150. package/dist/esm/lib2/shared/ui/Typography/types.d.ts +1 -0
  151. package/dist/esm/lib2/shared/ui/Video/Video.d.ts +3 -0
  152. package/dist/esm/lib2/shared/ui/Video/styles.d.ts +189 -0
  153. package/dist/esm/lib2/shared/utils/format.d.ts +1 -0
  154. package/dist/esm/lib2/widgets/SpecialistPreviewWidget/SpecialistPreviewWidget.d.ts +4 -0
  155. package/dist/esm/lib2/widgets/SpecialistPreviewWidget/SpecialistPreviewWidget.stories.d.ts +7 -0
  156. package/dist/esm/lib2/widgets/SpecialistPreviewWidget/index.d.ts +1 -0
  157. package/dist/esm/lib2/widgets/SpecialistPreviewWidget/types.d.ts +9 -0
  158. package/dist/esm/lib2/widgets/index.d.ts +1 -0
  159. package/dist/index.d.ts +439 -217
  160. package/package.json +6 -1
  161. package/src/configs/tailwind/colors.ts +3 -0
  162. package/src/lib2/shared/css/tailwind.css +1 -0
@@ -2,6 +2,7 @@ import { ResponseFileType } from './responseFileType';
2
2
  import { ISpecialistReview } from '../../../lib/ReviewSwiperSection';
3
3
  import { TranslationType } from './common';
4
4
  import { WithTranslation } from 'react-i18next';
5
+ import { ChartData } from '../../features/Charts/types';
5
6
  export declare enum ConditionRulesType {
6
7
  IS = "is"
7
8
  }
@@ -23,11 +24,15 @@ export declare enum OnBoardingScreenOptions {
23
24
  START = "START",
24
25
  MULTI_SELECT = "MULTI_SELECT",
25
26
  SINGLE_SELECT = "SINGLE_SELECT",
27
+ SINGLE_IMAGE_SELECT = "SINGLE_IMAGE_SELECT",
26
28
  INFO = "INFO",
27
29
  LOADER = "LOADER",
28
30
  REVIEWS = "REVIEWS",
29
31
  EMAIL = "EMAIL",
30
- CONFIRM = "CONFIRM"
32
+ CONFIRM = "CONFIRM",
33
+ PAYWALL = "PAYWALL",
34
+ COMPARE = "COMPARE",
35
+ CHART = "CHART"
31
36
  }
32
37
  export type OnBoardingScreenOptionType = {
33
38
  id: string;
@@ -36,6 +41,9 @@ export type OnBoardingScreenOptionType = {
36
41
  isDefault?: boolean;
37
42
  filtrationAnswerId?: string;
38
43
  };
44
+ export type OnBoardingScreenOptionWithImageType = OnBoardingScreenOptionType & {
45
+ image?: ResponseFileType | null;
46
+ };
39
47
  export type OnBoardingScreenButtonType = {
40
48
  buttonText?: string | null;
41
49
  buttonColor?: string | null;
@@ -102,8 +110,13 @@ export type OnBoardingMultiSelectScreenType = OnBoardingBaseScreenType & OnBoard
102
110
  options: OnBoardingScreenOptionType[];
103
111
  };
104
112
  export type OnBoardingSingleSelectScreenType = OnBoardingBaseScreenType & OnBoardingScreenDescriptionType & {
113
+ legalText?: string;
105
114
  options: OnBoardingScreenOptionType[];
106
115
  };
116
+ export type OnBoardingSingleImageSelectScreenType = OnBoardingBaseScreenType & OnBoardingScreenDescriptionType & {
117
+ legalText?: string;
118
+ options: OnBoardingScreenOptionWithImageType[];
119
+ };
107
120
  export type OnBoardingLoaderScreenType = OnBoardingBaseScreenType & {
108
121
  title?: string | null;
109
122
  additionalText?: string;
@@ -138,7 +151,27 @@ export type OnBoardingConfirmScreenType = OnBoardingBaseScreenType & OnBoardingS
138
151
  onChangeEmail?: (email: string) => void;
139
152
  onChangePassword?: (password: string) => void;
140
153
  };
141
- export type OnBoardingScreensType = OnBoardingStartScreenType | OnBoardingMultiSelectScreenType | OnBoardingSingleSelectScreenType | OnBoardingInfoScreenType | OnBoardingLoaderScreenType | OnBoardingReviewsScreenType | OnBoardingEmailScreenType | OnBoardingConfirmScreenType;
154
+ export type OnBoardingPaywallScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenTranslationsType & OnBoardingScreenErrorsType & {
155
+ title: string;
156
+ description?: string;
157
+ };
158
+ export type OnBoardingCompareScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenTranslationsType & OnBoardingScreenErrorsType & {
159
+ title: string;
160
+ description?: string;
161
+ otherPlatformsTitle?: string;
162
+ items: {
163
+ id: string;
164
+ title: string;
165
+ hasInMindly: boolean;
166
+ hasInCompetitors: boolean;
167
+ }[];
168
+ };
169
+ export type OnBoardingChartScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenTranslationsType & OnBoardingScreenErrorsType & {
170
+ title?: string;
171
+ disclaimer?: string;
172
+ chart: ChartData;
173
+ };
174
+ export type OnBoardingScreensType = OnBoardingStartScreenType | OnBoardingMultiSelectScreenType | OnBoardingSingleSelectScreenType | OnBoardingInfoScreenType | OnBoardingLoaderScreenType | OnBoardingReviewsScreenType | OnBoardingEmailScreenType | OnBoardingConfirmScreenType | OnBoardingCompareScreenType | OnBoardingPaywallScreenType | OnBoardingChartScreenType;
142
175
  export type OnBoardingFlowType = {
143
176
  id: string;
144
177
  locale: string;
@@ -17,3 +17,12 @@ export type SpecialistReview = {
17
17
  created_at: number;
18
18
  review_status: 'on_review' | 'approved' | 'rejected';
19
19
  };
20
+ export type MindlyReview = {
21
+ id: string;
22
+ avatar: string | null;
23
+ first_name: string;
24
+ last_name?: string | null;
25
+ review_rating: number;
26
+ text_of_review: string | null;
27
+ created_at: number;
28
+ };
@@ -0,0 +1,4 @@
1
+ export declare enum VariantEnum {
2
+ default = "default",
3
+ blue = "blue"
4
+ }
@@ -5,5 +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
+ iconType?: 'check' | React.ReactNode;
9
9
  };
@@ -1,2 +1,2 @@
1
1
  import { ListBoxProps } from './types';
2
- export default function ListBox<T extends Record<string, unknown>>({ selectedIconProps, type, selectionPosition, enableSelection, className, variant, ...props }: ListBoxProps<T>): JSX.Element;
2
+ export default function ListBox<T extends Record<string, unknown>>({ selectedIconProps, type, selectionPosition, enableSelection, className, selectionImageClassNames, variant, ...props }: ListBoxProps<T>): JSX.Element;
@@ -1,8 +1,9 @@
1
1
  import { AriaListBoxProps } from 'react-aria';
2
- import { IconProps } from '../../types';
2
+ import { IconProps, ResponseFileType } from '../../types';
3
3
  export declare enum ListBoxSelectionType {
4
4
  Checkbox = "checkbox",
5
- Radio = "radio"
5
+ Radio = "radio",
6
+ Image = "image"
6
7
  }
7
8
  export type VariantType = 'default' | 'blue';
8
9
  export type ListBoxProps<T> = AriaListBoxProps<T> & {
@@ -10,6 +11,12 @@ export type ListBoxProps<T> = AriaListBoxProps<T> & {
10
11
  enableSelection?: boolean;
11
12
  selectedIconProps?: IconProps;
12
13
  selectionPosition?: 'start' | 'end';
14
+ selectionImageClassNames?: {
15
+ label?: string;
16
+ arrowIcon?: string;
17
+ bottomContainer?: string;
18
+ } | null;
13
19
  className?: string;
14
20
  variant?: VariantType;
21
+ image?: ResponseFileType;
15
22
  };
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { Node } from 'react-stately';
3
+ import { ResponseFileType } from '../../types';
4
+ import { VariantType } from '../ListBox/types';
5
+ type ListBoxImageItemProps = {
6
+ isSelected: boolean;
7
+ item: Node<unknown>;
8
+ image?: ResponseFileType | null;
9
+ variant: VariantType;
10
+ selectionImageClassNames?: {
11
+ label?: string;
12
+ arrowIcon?: string;
13
+ bottomContainer?: string;
14
+ } | null;
15
+ };
16
+ declare const _default: React.MemoExoticComponent<({ isSelected, item, image, variant, selectionImageClassNames, }: ListBoxImageItemProps) => JSX.Element>;
17
+ export default _default;
@@ -1,7 +1,7 @@
1
1
  import { ListState, Node } from 'react-stately';
2
2
  import * as React from 'react';
3
3
  import { ListBoxSelectionType, VariantType } from '../ListBox';
4
- import { IconProps } from '../../types';
4
+ import { IconProps, ResponseFileType } from '../../types';
5
5
  export type ListOptionsProps = {
6
6
  item: Node<unknown>;
7
7
  state: ListState<unknown>;
@@ -13,6 +13,12 @@ export type ListOptionsProps = {
13
13
  selectionPosition?: 'start' | 'end';
14
14
  enableSelection?: boolean;
15
15
  variant?: VariantType;
16
+ image?: ResponseFileType | null;
17
+ selectionImageClassNames?: {
18
+ label?: string;
19
+ arrowIcon?: string;
20
+ bottomContainer?: string;
21
+ } | null;
16
22
  };
17
23
  export type ListBoxItemProps = {
18
24
  icon?: React.ReactNode;
@@ -22,8 +28,14 @@ export type ListBoxItemProps = {
22
28
  value?: string;
23
29
  children: React.ReactNode;
24
30
  className?: string;
31
+ sselectionImageClassNames?: {
32
+ label?: string;
33
+ arrowIcon?: string;
34
+ bottomContainer?: string;
35
+ } | null;
25
36
  customContent?: boolean;
26
37
  onClick?: HTMLIonItemElement['onclick'];
27
38
  variant?: VariantType;
39
+ image?: ResponseFileType | null;
28
40
  };
29
41
  export type { Selection } from 'react-stately';
@@ -1,3 +1,4 @@
1
+ import { RatingComponentProps } from 'react-rating';
1
2
  export type RatingProps = {
2
3
  initialRating?: number;
3
4
  onChange?: (value: number) => void;
@@ -6,4 +7,4 @@ export type RatingProps = {
6
7
  size?: number;
7
8
  className?: string;
8
9
  readonly?: boolean;
9
- };
10
+ } & RatingComponentProps;
@@ -40,6 +40,7 @@ export type TypographyProps = {
40
40
  opacity?: TypographyOpacityType;
41
41
  isAppearCase?: boolean;
42
42
  className?: string;
43
+ style?: React.CSSProperties;
43
44
  children: React.ReactNode;
44
45
  onClick?: (args: any) => typeof args;
45
46
  isError?: boolean;
@@ -1,10 +1,13 @@
1
1
  import React from 'react';
2
+ import { VariantEnum } from '../../types/variant';
2
3
  export type VideoProps = {
3
4
  src: string;
4
5
  isMuted?: boolean;
5
6
  isWithWatermark?: boolean;
6
7
  isWithPlay?: boolean;
8
+ buttonPlacement?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'center';
7
9
  hiddenVideo?: boolean;
10
+ variant?: VariantEnum;
8
11
  preview?: string;
9
12
  onMuteToggle?: () => void;
10
13
  onPlay?(src: string): void;
@@ -0,0 +1,189 @@
1
+ export declare const videoStyle: import("tailwind-variants").TVReturnType<{
2
+ buttonPlacement: {
3
+ center: {
4
+ playButton: string;
5
+ };
6
+ 'top-left': {
7
+ playButton: string;
8
+ };
9
+ 'top-right': {
10
+ playButton: string;
11
+ };
12
+ 'bottom-left': {
13
+ playButton: string;
14
+ };
15
+ 'bottom-right': {
16
+ playButton: string;
17
+ };
18
+ };
19
+ variant: {
20
+ default: {
21
+ playButton: string;
22
+ };
23
+ blue: {
24
+ playButton: string;
25
+ };
26
+ };
27
+ }, {
28
+ playButton: string;
29
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<{
30
+ buttonPlacement: {
31
+ center: {
32
+ playButton: string;
33
+ };
34
+ 'top-left': {
35
+ playButton: string;
36
+ };
37
+ 'top-right': {
38
+ playButton: string;
39
+ };
40
+ 'bottom-left': {
41
+ playButton: string;
42
+ };
43
+ 'bottom-right': {
44
+ playButton: string;
45
+ };
46
+ };
47
+ variant: {
48
+ default: {
49
+ playButton: string;
50
+ };
51
+ blue: {
52
+ playButton: string;
53
+ };
54
+ };
55
+ }, {
56
+ buttonPlacement: {
57
+ center: {
58
+ playButton: string;
59
+ };
60
+ 'top-left': {
61
+ playButton: string;
62
+ };
63
+ 'top-right': {
64
+ playButton: string;
65
+ };
66
+ 'bottom-left': {
67
+ playButton: string;
68
+ };
69
+ 'bottom-right': {
70
+ playButton: string;
71
+ };
72
+ };
73
+ variant: {
74
+ default: {
75
+ playButton: string;
76
+ };
77
+ blue: {
78
+ playButton: string;
79
+ };
80
+ };
81
+ }>, {
82
+ buttonPlacement: {
83
+ center: {
84
+ playButton: string;
85
+ };
86
+ 'top-left': {
87
+ playButton: string;
88
+ };
89
+ 'top-right': {
90
+ playButton: string;
91
+ };
92
+ 'bottom-left': {
93
+ playButton: string;
94
+ };
95
+ 'bottom-right': {
96
+ playButton: string;
97
+ };
98
+ };
99
+ variant: {
100
+ default: {
101
+ playButton: string;
102
+ };
103
+ blue: {
104
+ playButton: string;
105
+ };
106
+ };
107
+ }, {
108
+ playButton: string;
109
+ }, import("tailwind-variants").TVReturnType<{
110
+ buttonPlacement: {
111
+ center: {
112
+ playButton: string;
113
+ };
114
+ 'top-left': {
115
+ playButton: string;
116
+ };
117
+ 'top-right': {
118
+ playButton: string;
119
+ };
120
+ 'bottom-left': {
121
+ playButton: string;
122
+ };
123
+ 'bottom-right': {
124
+ playButton: string;
125
+ };
126
+ };
127
+ variant: {
128
+ default: {
129
+ playButton: string;
130
+ };
131
+ blue: {
132
+ playButton: string;
133
+ };
134
+ };
135
+ }, {
136
+ playButton: string;
137
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<{
138
+ buttonPlacement: {
139
+ center: {
140
+ playButton: string;
141
+ };
142
+ 'top-left': {
143
+ playButton: string;
144
+ };
145
+ 'top-right': {
146
+ playButton: string;
147
+ };
148
+ 'bottom-left': {
149
+ playButton: string;
150
+ };
151
+ 'bottom-right': {
152
+ playButton: string;
153
+ };
154
+ };
155
+ variant: {
156
+ default: {
157
+ playButton: string;
158
+ };
159
+ blue: {
160
+ playButton: string;
161
+ };
162
+ };
163
+ }, {
164
+ buttonPlacement: {
165
+ center: {
166
+ playButton: string;
167
+ };
168
+ 'top-left': {
169
+ playButton: string;
170
+ };
171
+ 'top-right': {
172
+ playButton: string;
173
+ };
174
+ 'bottom-left': {
175
+ playButton: string;
176
+ };
177
+ 'bottom-right': {
178
+ playButton: string;
179
+ };
180
+ };
181
+ variant: {
182
+ default: {
183
+ playButton: string;
184
+ };
185
+ blue: {
186
+ playButton: string;
187
+ };
188
+ };
189
+ }>, unknown, unknown, undefined>>;
@@ -2,3 +2,4 @@ export declare const formatByDigits: (value: number) => string;
2
2
  export declare const roundToPrecision: (value: number, decimals?: number) => number;
3
3
  export declare const getDateLocale: (locale: string) => Locale;
4
4
  export declare const getGMTOffset: (timeZone: string) => string;
5
+ export declare const getMonthNameInGenitive: (date: Date, locale: string) => string;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SpecialistPreviewWidgetProps } from './types';
3
+ declare const _default: React.NamedExoticComponent<SpecialistPreviewWidgetProps>;
4
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import SpecialistPreviewWidget from './SpecialistPreviewWidget';
3
+ declare const meta: Meta<typeof SpecialistPreviewWidget>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof SpecialistPreviewWidget>;
6
+ export declare const Default: Story;
7
+ export declare const Blue: Story;
@@ -0,0 +1 @@
1
+ export { default as SpecialistPreviewWidget } from './SpecialistPreviewWidget';
@@ -0,0 +1,9 @@
1
+ import { WithTranslation } from 'react-i18next';
2
+ import { Specialist } from '../../shared/types';
3
+ import { VariantEnum } from '../../shared/types/variant';
4
+ export type SpecialistPreviewWidgetProps = {
5
+ t?: WithTranslation['t'];
6
+ specialist: Specialist;
7
+ variant?: VariantEnum;
8
+ className?: string;
9
+ };
@@ -9,3 +9,4 @@ export * from './SpecialistPreviewListWidget';
9
9
  export * from './SessionsListWidget';
10
10
  export * from './SessionDetailWidget';
11
11
  export * from './SessionPaymentsWidget';
12
+ export * from './SpecialistPreviewWidget';
@@ -40,6 +40,7 @@ declare const _default: {
40
40
  black: string;
41
41
  brand: {
42
42
  client: {
43
+ celestialBlueSuperLight: string;
43
44
  celestialBlue: string;
44
45
  celestialBlueDarker: string;
45
46
  };
@@ -48,6 +49,7 @@ declare const _default: {
48
49
  typography: {
49
50
  typography: {
50
51
  primary: string;
52
+ secondary: string;
51
53
  };
52
54
  };
53
55
  badges: {