@mindly/ui-components 6.2.0 → 6.2.2
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 +3 -3
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/OnBoardingLoaderScreenPreviewFeature.d.ts +3 -2
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/ListTemplateLoader.d.ts +1 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/ListTemplateLoaderModal.d.ts +2 -0
- package/dist/cjs/lib2/features/SpecialistScheduleFeature/SpecialistScheduleFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/SpecialistScheduleFeature/SpecialistScheduleSkeletonFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/SpecialistScheduleFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/SpecialistScheduleFeature/types.d.ts +11 -0
- package/dist/cjs/lib2/features/index.d.ts +1 -1
- package/dist/cjs/lib2/widgets/SpecialistDetailWithTabsWidget/types.d.ts +2 -2
- package/dist/esm/index.js +3 -3
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/OnBoardingLoaderScreenPreviewFeature.d.ts +3 -2
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/ListTemplateLoader.d.ts +1 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/ListTemplateLoaderModal.d.ts +2 -0
- package/dist/esm/lib2/features/SpecialistScheduleFeature/SpecialistScheduleFeature.d.ts +4 -0
- package/dist/esm/lib2/features/SpecialistScheduleFeature/SpecialistScheduleSkeletonFeature.d.ts +4 -0
- package/dist/esm/lib2/features/SpecialistScheduleFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/SpecialistScheduleFeature/types.d.ts +11 -0
- package/dist/esm/lib2/features/index.d.ts +1 -1
- package/dist/esm/lib2/widgets/SpecialistDetailWithTabsWidget/types.d.ts +2 -2
- package/dist/index.d.ts +8 -7
- package/package.json +1 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
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
7
|
variant?: OnboardingVariant;
|
|
8
|
-
|
|
8
|
+
onChange?: (value: string[]) => void;
|
|
9
|
+
defaultValues?: string[];
|
|
9
10
|
}>;
|
|
10
11
|
export default OnBoardingLoaderScreenPreviewFeature;
|
|
@@ -10,5 +10,7 @@ declare const ListTemplateLoaderModal: FC<{
|
|
|
10
10
|
variant?: OnboardingVariant;
|
|
11
11
|
handleDismissModal: () => void;
|
|
12
12
|
t?: WithTranslation['t'];
|
|
13
|
+
onSelectionChange?: (value: 'yes' | 'no', index: number) => void;
|
|
14
|
+
index: number;
|
|
13
15
|
}>;
|
|
14
16
|
export default ListTemplateLoaderModal;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SpecialistScheduleFeature } from './SpecialistScheduleFeature';
|
|
@@ -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
|
+
onDateChange?: (date: ScheduleDate, slots: ScheduleSlot[]) => void;
|
|
10
|
+
onSlotChange?: (slot: ScheduleSlot | null) => void;
|
|
11
|
+
};
|
|
@@ -13,9 +13,9 @@ export type SpecialistDetailWithTabsWidgetProps = {
|
|
|
13
13
|
onLoadMoreReviews?(): void;
|
|
14
14
|
currentUser?: UserType;
|
|
15
15
|
presentingElement?: HTMLElement;
|
|
16
|
-
onScheduleDateClick?: (date: ScheduleDate) => void;
|
|
17
|
-
onScheduleSlotClick?: (slot: ScheduleSlot) => void;
|
|
18
16
|
onOpenSuperSpecialistArticle?(): void;
|
|
19
17
|
onOpenNewSpecialistArticle?(): void;
|
|
20
18
|
onEditSpecialistReview?: (review: Pick<SpecialistReview, 'id' | 'review_rating' | 'text_of_review'>) => Promise<void>;
|
|
19
|
+
onScheduleDateChange?: (date: ScheduleDate, slots: ScheduleSlot[]) => void;
|
|
20
|
+
onScheduleSlotChange?: (slot: ScheduleSlot | null) => void;
|
|
21
21
|
};
|