@mindly/ui-components 6.0.0 → 6.2.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.
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/OnBoardingLoaderScreenPreviewFeature.d.ts +4 -2
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/CircleTemplateLoader.d.ts +18 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/ListTemplateLoader.d.ts +26 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/ListTemplateLoaderItem.d.ts +12 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/ListTemplateLoaderModal.d.ts +14 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/ListTemplateLoaderReviews.d.ts +15 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/constants.d.ts +1 -0
- package/dist/cjs/lib2/features/ReviewCardFeature/ReviewCardFeature.d.ts +1 -1
- package/dist/cjs/lib2/features/ReviewCardFeature/styles.d.ts +104 -0
- package/dist/cjs/lib2/features/ScheduleFeature/ScheduleFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/ScheduleFeature/ScheduleSkeletonFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/ScheduleFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/ScheduleFeature/types.d.ts +11 -0
- package/dist/cjs/lib2/features/SpecialistEducationsFeature/SpecialistEducationsFeature.d.ts +1 -0
- package/dist/cjs/lib2/features/TabsFeature/TabsFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/TabsFeature/TabsFeatureSkeleton.d.ts +4 -0
- package/dist/cjs/lib2/features/TabsFeature/index.d.ts +2 -0
- package/dist/cjs/lib2/features/TabsFeature/types.d.ts +10 -0
- package/dist/cjs/lib2/features/index.d.ts +2 -0
- package/dist/cjs/lib2/shared/assets/icons/IconMooving.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/hooks/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/hooks/useDelayMount.d.ts +1 -0
- package/dist/cjs/lib2/shared/types/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/types/onBoardingFlow.type.d.ts +10 -0
- package/dist/cjs/lib2/shared/types/schedule.d.ts +3 -0
- package/dist/cjs/lib2/shared/types/specialistTypes.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/EducationCard_v2/EducationCard.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Rating/types.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Typography/types.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Video/Video.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Video/styles.d.ts +17 -0
- package/dist/cjs/lib2/shared/utils/mock.d.ts +2 -1
- package/dist/cjs/lib2/widgets/SpecialistDetailWithTabsWidget/SpecialistDetailWithTabsSkeleton.d.ts +3 -0
- package/dist/cjs/lib2/widgets/SpecialistDetailWithTabsWidget/SpecialistDetailWithTabsWidget.d.ts +4 -0
- package/dist/cjs/lib2/widgets/SpecialistDetailWithTabsWidget/index.d.ts +2 -0
- package/dist/cjs/lib2/widgets/SpecialistDetailWithTabsWidget/types.d.ts +21 -0
- package/dist/cjs/lib2/widgets/index.d.ts +1 -0
- package/dist/esm/index.js +8 -8
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/OnBoardingLoaderScreenPreviewFeature.d.ts +4 -2
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/CircleTemplateLoader.d.ts +18 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/ListTemplateLoader.d.ts +26 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/ListTemplateLoaderItem.d.ts +12 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/ListTemplateLoaderModal.d.ts +14 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/ListTemplateLoaderReviews.d.ts +15 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/constants.d.ts +1 -0
- package/dist/esm/lib2/features/ReviewCardFeature/ReviewCardFeature.d.ts +1 -1
- package/dist/esm/lib2/features/ReviewCardFeature/styles.d.ts +104 -0
- package/dist/esm/lib2/features/ScheduleFeature/ScheduleFeature.d.ts +4 -0
- package/dist/esm/lib2/features/ScheduleFeature/ScheduleSkeletonFeature.d.ts +4 -0
- package/dist/esm/lib2/features/ScheduleFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/ScheduleFeature/types.d.ts +11 -0
- package/dist/esm/lib2/features/SpecialistEducationsFeature/SpecialistEducationsFeature.d.ts +1 -0
- package/dist/esm/lib2/features/TabsFeature/TabsFeature.d.ts +4 -0
- package/dist/esm/lib2/features/TabsFeature/TabsFeatureSkeleton.d.ts +4 -0
- package/dist/esm/lib2/features/TabsFeature/index.d.ts +2 -0
- package/dist/esm/lib2/features/TabsFeature/types.d.ts +10 -0
- package/dist/esm/lib2/features/index.d.ts +2 -0
- package/dist/esm/lib2/shared/assets/icons/IconMooving.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/index.d.ts +1 -0
- package/dist/esm/lib2/shared/hooks/index.d.ts +1 -0
- package/dist/esm/lib2/shared/hooks/useDelayMount.d.ts +1 -0
- package/dist/esm/lib2/shared/types/index.d.ts +1 -0
- package/dist/esm/lib2/shared/types/onBoardingFlow.type.d.ts +10 -0
- package/dist/esm/lib2/shared/types/schedule.d.ts +3 -0
- package/dist/esm/lib2/shared/types/specialistTypes.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/EducationCard_v2/EducationCard.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Rating/types.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Typography/types.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Video/Video.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Video/styles.d.ts +17 -0
- package/dist/esm/lib2/shared/utils/mock.d.ts +2 -1
- package/dist/esm/lib2/widgets/SpecialistDetailWithTabsWidget/SpecialistDetailWithTabsSkeleton.d.ts +3 -0
- package/dist/esm/lib2/widgets/SpecialistDetailWithTabsWidget/SpecialistDetailWithTabsWidget.d.ts +4 -0
- package/dist/esm/lib2/widgets/SpecialistDetailWithTabsWidget/index.d.ts +2 -0
- package/dist/esm/lib2/widgets/SpecialistDetailWithTabsWidget/types.d.ts +21 -0
- package/dist/esm/lib2/widgets/index.d.ts +1 -0
- package/dist/index.d.ts +159 -84
- package/package.json +5 -3
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { OnBoardingLoaderScreenType } from '../../../shared';
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
import { OnBoardingLoaderScreenType, OnboardingVariant } from '../../../shared';
|
|
3
3
|
import { WithTranslation } from 'react-i18next';
|
|
4
4
|
declare const OnBoardingLoaderScreenPreviewFeature: FC<OnBoardingLoaderScreenType & {
|
|
5
5
|
t?: WithTranslation['t'];
|
|
6
6
|
onProgressEnd?: () => void;
|
|
7
|
+
variant?: OnboardingVariant;
|
|
8
|
+
previewWrapperRef?: React.RefObject<HTMLDivElement>;
|
|
7
9
|
}>;
|
|
8
10
|
export default OnBoardingLoaderScreenPreviewFeature;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { OnBoardingScreensType } from '../../../../shared';
|
|
3
|
+
import { WithTranslation } from 'react-i18next';
|
|
4
|
+
declare const CircleTemplateLoader: FC<{
|
|
5
|
+
title?: string | null;
|
|
6
|
+
loadingItemDuration?: number;
|
|
7
|
+
answerScreenId?: string[];
|
|
8
|
+
allScreens?: Record<string, OnBoardingScreensType>;
|
|
9
|
+
selectedAnswers?: Record<string, string[]>;
|
|
10
|
+
isPreview?: boolean;
|
|
11
|
+
listItems?: {
|
|
12
|
+
id: string;
|
|
13
|
+
label: string;
|
|
14
|
+
}[];
|
|
15
|
+
onProgressEnd?: () => void;
|
|
16
|
+
t?: WithTranslation['t'];
|
|
17
|
+
}>;
|
|
18
|
+
export default CircleTemplateLoader;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { OnboardingVariant } from '../../../../shared';
|
|
3
|
+
import { WithTranslation } from 'react-i18next';
|
|
4
|
+
import { ISpecialistReview } from '../../../../../lib/ReviewSwiperSection';
|
|
5
|
+
import 'slick-carousel/slick/slick.css';
|
|
6
|
+
import 'slick-carousel/slick/slick-theme.css';
|
|
7
|
+
declare const ListTemplateLoader: FC<{
|
|
8
|
+
title?: string | null;
|
|
9
|
+
highlightedTitle?: string | null;
|
|
10
|
+
isPreview?: boolean;
|
|
11
|
+
listItems?: {
|
|
12
|
+
id: string;
|
|
13
|
+
label: string;
|
|
14
|
+
duration?: number;
|
|
15
|
+
}[];
|
|
16
|
+
reviewsTitle?: string | null;
|
|
17
|
+
reviews?: ISpecialistReview[];
|
|
18
|
+
modals?: {
|
|
19
|
+
id: string;
|
|
20
|
+
label: string;
|
|
21
|
+
}[];
|
|
22
|
+
variant?: OnboardingVariant;
|
|
23
|
+
onProgressEnd?: () => void;
|
|
24
|
+
t?: WithTranslation['t'];
|
|
25
|
+
}>;
|
|
26
|
+
export default ListTemplateLoader;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
declare const ListTemplateItem: FC<{
|
|
3
|
+
label: string;
|
|
4
|
+
duration: number;
|
|
5
|
+
isPreview?: boolean;
|
|
6
|
+
isActive: boolean;
|
|
7
|
+
isCompleted: boolean;
|
|
8
|
+
isDisabled: boolean;
|
|
9
|
+
isPaused: boolean;
|
|
10
|
+
handleProgressEnd: () => void;
|
|
11
|
+
}>;
|
|
12
|
+
export default ListTemplateItem;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { OnboardingVariant } from '../../../../shared';
|
|
3
|
+
import 'slick-carousel/slick/slick.css';
|
|
4
|
+
import 'slick-carousel/slick/slick-theme.css';
|
|
5
|
+
import { WithTranslation } from 'react-i18next';
|
|
6
|
+
declare const ListTemplateLoaderModal: FC<{
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
label: string;
|
|
9
|
+
isPreview?: boolean;
|
|
10
|
+
variant?: OnboardingVariant;
|
|
11
|
+
handleDismissModal: () => void;
|
|
12
|
+
t?: WithTranslation['t'];
|
|
13
|
+
}>;
|
|
14
|
+
export default ListTemplateLoaderModal;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { WithTranslation } from 'react-i18next';
|
|
3
|
+
import { ISpecialistReview } from '../../../../../lib/ReviewSwiperSection';
|
|
4
|
+
import 'slick-carousel/slick/slick.css';
|
|
5
|
+
import 'slick-carousel/slick/slick-theme.css';
|
|
6
|
+
declare const ListTemplateLoaderReviews: FC<{
|
|
7
|
+
isPreview?: boolean;
|
|
8
|
+
reviewsTitle?: string | null;
|
|
9
|
+
reviews?: ISpecialistReview[];
|
|
10
|
+
isPaused: boolean;
|
|
11
|
+
autoplaySpeed: number;
|
|
12
|
+
slideCount: number;
|
|
13
|
+
t?: WithTranslation['t'];
|
|
14
|
+
}>;
|
|
15
|
+
export default ListTemplateLoaderReviews;
|
package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/constants.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DURATION_OFFSET = 0.1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SpecialistReview, TranslationType } from '../../shared/types';
|
|
3
|
-
export type ReviewCardFeatureVariantType = 'default' | 'outlined' | 'full' | 'store';
|
|
3
|
+
export type ReviewCardFeatureVariantType = 'default' | 'outlined' | 'full' | 'store' | 'starFirst';
|
|
4
4
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
5
5
|
id?: string | undefined;
|
|
6
6
|
avatarSrc?: string | undefined;
|
|
@@ -53,6 +53,14 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
53
53
|
review: string;
|
|
54
54
|
userContainer: string;
|
|
55
55
|
};
|
|
56
|
+
starFirst: {
|
|
57
|
+
base: string;
|
|
58
|
+
name: string;
|
|
59
|
+
rating: string;
|
|
60
|
+
review: string;
|
|
61
|
+
reviewText: string;
|
|
62
|
+
userContainer: string;
|
|
63
|
+
};
|
|
56
64
|
};
|
|
57
65
|
}, {
|
|
58
66
|
base: string;
|
|
@@ -62,6 +70,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
62
70
|
editIcon: string;
|
|
63
71
|
rating: string;
|
|
64
72
|
review: string;
|
|
73
|
+
reviewText: string;
|
|
65
74
|
name: string;
|
|
66
75
|
mainTextVariant: string;
|
|
67
76
|
dateTextVariant: string;
|
|
@@ -121,6 +130,14 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
121
130
|
review: string;
|
|
122
131
|
userContainer: string;
|
|
123
132
|
};
|
|
133
|
+
starFirst: {
|
|
134
|
+
base: string;
|
|
135
|
+
name: string;
|
|
136
|
+
rating: string;
|
|
137
|
+
review: string;
|
|
138
|
+
reviewText: string;
|
|
139
|
+
userContainer: string;
|
|
140
|
+
};
|
|
124
141
|
};
|
|
125
142
|
}, import("tailwind-variants").TVVariantsDefault<{
|
|
126
143
|
base: string;
|
|
@@ -130,6 +147,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
130
147
|
editIcon: string;
|
|
131
148
|
rating: string;
|
|
132
149
|
review: string;
|
|
150
|
+
reviewText: string;
|
|
133
151
|
name: string;
|
|
134
152
|
mainTextVariant: string;
|
|
135
153
|
dateTextVariant: string;
|
|
@@ -145,6 +163,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
145
163
|
editIcon: string;
|
|
146
164
|
rating: string;
|
|
147
165
|
review: string;
|
|
166
|
+
reviewText: string;
|
|
148
167
|
name: string;
|
|
149
168
|
mainTextVariant: string;
|
|
150
169
|
dateTextVariant: string;
|
|
@@ -159,6 +178,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
159
178
|
editIcon: string;
|
|
160
179
|
rating: string;
|
|
161
180
|
review: string;
|
|
181
|
+
reviewText: string;
|
|
162
182
|
name: string;
|
|
163
183
|
mainTextVariant: string;
|
|
164
184
|
dateTextVariant: string;
|
|
@@ -173,6 +193,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
173
193
|
editIcon: string;
|
|
174
194
|
rating: string;
|
|
175
195
|
review: string;
|
|
196
|
+
reviewText: string;
|
|
176
197
|
name: string;
|
|
177
198
|
mainTextVariant: string;
|
|
178
199
|
dateTextVariant: string;
|
|
@@ -189,6 +210,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
189
210
|
editIcon: string;
|
|
190
211
|
rating: string;
|
|
191
212
|
review: string;
|
|
213
|
+
reviewText: string;
|
|
192
214
|
name: string;
|
|
193
215
|
mainTextVariant: string;
|
|
194
216
|
dateTextVariant: string;
|
|
@@ -203,6 +225,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
203
225
|
editIcon: string;
|
|
204
226
|
rating: string;
|
|
205
227
|
review: string;
|
|
228
|
+
reviewText: string;
|
|
206
229
|
name: string;
|
|
207
230
|
mainTextVariant: string;
|
|
208
231
|
dateTextVariant: string;
|
|
@@ -217,6 +240,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
217
240
|
editIcon: string;
|
|
218
241
|
rating: string;
|
|
219
242
|
review: string;
|
|
243
|
+
reviewText: string;
|
|
220
244
|
name: string;
|
|
221
245
|
mainTextVariant: string;
|
|
222
246
|
dateTextVariant: string;
|
|
@@ -231,6 +255,22 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
231
255
|
editIcon: string;
|
|
232
256
|
rating: string;
|
|
233
257
|
review: string;
|
|
258
|
+
reviewText: string;
|
|
259
|
+
name: string;
|
|
260
|
+
mainTextVariant: string;
|
|
261
|
+
dateTextVariant: string;
|
|
262
|
+
ratingSize: null;
|
|
263
|
+
avatarSize: null;
|
|
264
|
+
}, undefined>;
|
|
265
|
+
starFirst?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
266
|
+
base: string;
|
|
267
|
+
userContainer: string;
|
|
268
|
+
user: string;
|
|
269
|
+
editContainer: string;
|
|
270
|
+
editIcon: string;
|
|
271
|
+
rating: string;
|
|
272
|
+
review: string;
|
|
273
|
+
reviewText: string;
|
|
234
274
|
name: string;
|
|
235
275
|
mainTextVariant: string;
|
|
236
276
|
dateTextVariant: string;
|
|
@@ -246,6 +286,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
246
286
|
editIcon: string;
|
|
247
287
|
rating: string;
|
|
248
288
|
review: string;
|
|
289
|
+
reviewText: string;
|
|
249
290
|
name: string;
|
|
250
291
|
mainTextVariant: string;
|
|
251
292
|
dateTextVariant: string;
|
|
@@ -261,6 +302,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
261
302
|
editIcon: string;
|
|
262
303
|
rating: string;
|
|
263
304
|
review: string;
|
|
305
|
+
reviewText: string;
|
|
264
306
|
name: string;
|
|
265
307
|
mainTextVariant: string;
|
|
266
308
|
dateTextVariant: string;
|
|
@@ -275,6 +317,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
275
317
|
editIcon: string;
|
|
276
318
|
rating: string;
|
|
277
319
|
review: string;
|
|
320
|
+
reviewText: string;
|
|
278
321
|
name: string;
|
|
279
322
|
mainTextVariant: string;
|
|
280
323
|
dateTextVariant: string;
|
|
@@ -289,6 +332,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
289
332
|
editIcon: string;
|
|
290
333
|
rating: string;
|
|
291
334
|
review: string;
|
|
335
|
+
reviewText: string;
|
|
292
336
|
name: string;
|
|
293
337
|
mainTextVariant: string;
|
|
294
338
|
dateTextVariant: string;
|
|
@@ -305,6 +349,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
305
349
|
editIcon: string;
|
|
306
350
|
rating: string;
|
|
307
351
|
review: string;
|
|
352
|
+
reviewText: string;
|
|
308
353
|
name: string;
|
|
309
354
|
mainTextVariant: string;
|
|
310
355
|
dateTextVariant: string;
|
|
@@ -319,6 +364,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
319
364
|
editIcon: string;
|
|
320
365
|
rating: string;
|
|
321
366
|
review: string;
|
|
367
|
+
reviewText: string;
|
|
322
368
|
name: string;
|
|
323
369
|
mainTextVariant: string;
|
|
324
370
|
dateTextVariant: string;
|
|
@@ -333,6 +379,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
333
379
|
editIcon: string;
|
|
334
380
|
rating: string;
|
|
335
381
|
review: string;
|
|
382
|
+
reviewText: string;
|
|
336
383
|
name: string;
|
|
337
384
|
mainTextVariant: string;
|
|
338
385
|
dateTextVariant: string;
|
|
@@ -347,6 +394,22 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
347
394
|
editIcon: string;
|
|
348
395
|
rating: string;
|
|
349
396
|
review: string;
|
|
397
|
+
reviewText: string;
|
|
398
|
+
name: string;
|
|
399
|
+
mainTextVariant: string;
|
|
400
|
+
dateTextVariant: string;
|
|
401
|
+
ratingSize: null;
|
|
402
|
+
avatarSize: null;
|
|
403
|
+
}, undefined>;
|
|
404
|
+
starFirst?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
405
|
+
base: string;
|
|
406
|
+
userContainer: string;
|
|
407
|
+
user: string;
|
|
408
|
+
editContainer: string;
|
|
409
|
+
editIcon: string;
|
|
410
|
+
rating: string;
|
|
411
|
+
review: string;
|
|
412
|
+
reviewText: string;
|
|
350
413
|
name: string;
|
|
351
414
|
mainTextVariant: string;
|
|
352
415
|
dateTextVariant: string;
|
|
@@ -362,6 +425,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
362
425
|
editIcon: string;
|
|
363
426
|
rating: string;
|
|
364
427
|
review: string;
|
|
428
|
+
reviewText: string;
|
|
365
429
|
name: string;
|
|
366
430
|
mainTextVariant: string;
|
|
367
431
|
dateTextVariant: string;
|
|
@@ -421,6 +485,14 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
421
485
|
review: string;
|
|
422
486
|
userContainer: string;
|
|
423
487
|
};
|
|
488
|
+
starFirst: {
|
|
489
|
+
base: string;
|
|
490
|
+
name: string;
|
|
491
|
+
rating: string;
|
|
492
|
+
review: string;
|
|
493
|
+
reviewText: string;
|
|
494
|
+
userContainer: string;
|
|
495
|
+
};
|
|
424
496
|
};
|
|
425
497
|
}, {
|
|
426
498
|
base: string;
|
|
@@ -430,6 +502,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
430
502
|
editIcon: string;
|
|
431
503
|
rating: string;
|
|
432
504
|
review: string;
|
|
505
|
+
reviewText: string;
|
|
433
506
|
name: string;
|
|
434
507
|
mainTextVariant: string;
|
|
435
508
|
dateTextVariant: string;
|
|
@@ -489,6 +562,14 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
489
562
|
review: string;
|
|
490
563
|
userContainer: string;
|
|
491
564
|
};
|
|
565
|
+
starFirst: {
|
|
566
|
+
base: string;
|
|
567
|
+
name: string;
|
|
568
|
+
rating: string;
|
|
569
|
+
review: string;
|
|
570
|
+
reviewText: string;
|
|
571
|
+
userContainer: string;
|
|
572
|
+
};
|
|
492
573
|
};
|
|
493
574
|
}, import("tailwind-variants").TVVariantsDefault<{
|
|
494
575
|
base: string;
|
|
@@ -498,6 +579,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
498
579
|
editIcon: string;
|
|
499
580
|
rating: string;
|
|
500
581
|
review: string;
|
|
582
|
+
reviewText: string;
|
|
501
583
|
name: string;
|
|
502
584
|
mainTextVariant: string;
|
|
503
585
|
dateTextVariant: string;
|
|
@@ -513,6 +595,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
513
595
|
editIcon: string;
|
|
514
596
|
rating: string;
|
|
515
597
|
review: string;
|
|
598
|
+
reviewText: string;
|
|
516
599
|
name: string;
|
|
517
600
|
mainTextVariant: string;
|
|
518
601
|
dateTextVariant: string;
|
|
@@ -527,6 +610,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
527
610
|
editIcon: string;
|
|
528
611
|
rating: string;
|
|
529
612
|
review: string;
|
|
613
|
+
reviewText: string;
|
|
530
614
|
name: string;
|
|
531
615
|
mainTextVariant: string;
|
|
532
616
|
dateTextVariant: string;
|
|
@@ -541,6 +625,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
541
625
|
editIcon: string;
|
|
542
626
|
rating: string;
|
|
543
627
|
review: string;
|
|
628
|
+
reviewText: string;
|
|
544
629
|
name: string;
|
|
545
630
|
mainTextVariant: string;
|
|
546
631
|
dateTextVariant: string;
|
|
@@ -557,6 +642,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
557
642
|
editIcon: string;
|
|
558
643
|
rating: string;
|
|
559
644
|
review: string;
|
|
645
|
+
reviewText: string;
|
|
560
646
|
name: string;
|
|
561
647
|
mainTextVariant: string;
|
|
562
648
|
dateTextVariant: string;
|
|
@@ -571,6 +657,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
571
657
|
editIcon: string;
|
|
572
658
|
rating: string;
|
|
573
659
|
review: string;
|
|
660
|
+
reviewText: string;
|
|
574
661
|
name: string;
|
|
575
662
|
mainTextVariant: string;
|
|
576
663
|
dateTextVariant: string;
|
|
@@ -585,6 +672,7 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
585
672
|
editIcon: string;
|
|
586
673
|
rating: string;
|
|
587
674
|
review: string;
|
|
675
|
+
reviewText: string;
|
|
588
676
|
name: string;
|
|
589
677
|
mainTextVariant: string;
|
|
590
678
|
dateTextVariant: string;
|
|
@@ -599,6 +687,22 @@ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
|
|
|
599
687
|
editIcon: string;
|
|
600
688
|
rating: string;
|
|
601
689
|
review: string;
|
|
690
|
+
reviewText: string;
|
|
691
|
+
name: string;
|
|
692
|
+
mainTextVariant: string;
|
|
693
|
+
dateTextVariant: string;
|
|
694
|
+
ratingSize: null;
|
|
695
|
+
avatarSize: null;
|
|
696
|
+
}, undefined>;
|
|
697
|
+
starFirst?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
698
|
+
base: string;
|
|
699
|
+
userContainer: string;
|
|
700
|
+
user: string;
|
|
701
|
+
editContainer: string;
|
|
702
|
+
editIcon: string;
|
|
703
|
+
rating: string;
|
|
704
|
+
review: string;
|
|
705
|
+
reviewText: string;
|
|
602
706
|
name: string;
|
|
603
707
|
mainTextVariant: string;
|
|
604
708
|
dateTextVariant: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ScheduleFeature } from './ScheduleFeature';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WithTranslation } from 'react-i18next';
|
|
2
|
+
import { Schedule, ScheduleDate, ScheduleSlot } from '../../shared/types';
|
|
3
|
+
export type ScheduleFeatureProps = {
|
|
4
|
+
isLoading?: boolean;
|
|
5
|
+
className?: string;
|
|
6
|
+
t?: WithTranslation['t'];
|
|
7
|
+
schedule?: Schedule;
|
|
8
|
+
locale?: string;
|
|
9
|
+
onDateClick?: (date: ScheduleDate, slots: ScheduleSlot[]) => void;
|
|
10
|
+
onSlotClick?: (slot: ScheduleSlot) => void;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useDelayMount: (delay: number) => boolean;
|
|
@@ -29,6 +29,7 @@ export declare enum OnBoardingScreenOptions {
|
|
|
29
29
|
SINGLE_SCALE_SELECT = "SINGLE_SCALE_SELECT",
|
|
30
30
|
INFO = "INFO",
|
|
31
31
|
LOADER = "LOADER",
|
|
32
|
+
LIST_LOADER = "LIST_LOADER",
|
|
32
33
|
REVIEWS = "REVIEWS",
|
|
33
34
|
EMAIL = "EMAIL",
|
|
34
35
|
CONFIRM = "CONFIRM",
|
|
@@ -133,6 +134,8 @@ export type OnBoardingSingleScaleSelectScreenType = OnBoardingBaseScreenType & O
|
|
|
133
134
|
};
|
|
134
135
|
export type OnBoardingLoaderScreenType = OnBoardingBaseScreenType & {
|
|
135
136
|
title?: string | null;
|
|
137
|
+
highlightedTitle?: string | null;
|
|
138
|
+
reviewsTitle?: string | null;
|
|
136
139
|
additionalText?: string;
|
|
137
140
|
loaderText: string;
|
|
138
141
|
answerScreenId?: string[];
|
|
@@ -142,6 +145,13 @@ export type OnBoardingLoaderScreenType = OnBoardingBaseScreenType & {
|
|
|
142
145
|
listItems?: {
|
|
143
146
|
id: string;
|
|
144
147
|
label: string;
|
|
148
|
+
durationSeconds?: number;
|
|
149
|
+
}[];
|
|
150
|
+
template?: 'circle' | 'list';
|
|
151
|
+
reviews?: ISpecialistReview[];
|
|
152
|
+
modals?: {
|
|
153
|
+
id: string;
|
|
154
|
+
label: string;
|
|
145
155
|
}[];
|
|
146
156
|
};
|
|
147
157
|
export type OnBoardingReviewsScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & TranslationType & {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SupportedCurrency } from './common';
|
|
2
2
|
import { ClientSpecialistContractStatusEnum, ContractStatusEnum } from './contract';
|
|
3
|
+
import { Schedule } from './schedule';
|
|
3
4
|
import { Sex } from './user';
|
|
4
5
|
export type SpecialistEducation = {
|
|
5
6
|
institution_name: string;
|
|
@@ -66,4 +67,5 @@ export type Specialist = {
|
|
|
66
67
|
activated_at?: number;
|
|
67
68
|
matching_by_areas?: string[];
|
|
68
69
|
matching_by_specialization?: string[];
|
|
70
|
+
available_schedule?: Schedule;
|
|
69
71
|
};
|