@mindly/ui-components 6.2.5 → 6.2.7
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 +5 -5
- package/dist/cjs/lib2/features/ReviewListFeature/ReviewListFeature.d.ts +1 -0
- package/dist/cjs/lib2/features/SpecialistAreaListFeature/types.d.ts +2 -0
- package/dist/cjs/lib2/features/SpecialistEducationsFeature/SpecialistEducationsFeature.d.ts +2 -0
- package/dist/cjs/lib2/features/TabsFeature/types.d.ts +1 -0
- package/dist/cjs/lib2/features/TextWithClampFeature/types.d.ts +1 -0
- package/dist/cjs/lib2/widgets/SpecialistDetailWidget/types.d.ts +9 -2
- package/dist/cjs/lib2/widgets/SpecialistDetailWithTabsWidget/types.d.ts +11 -4
- package/dist/esm/index.js +7 -7
- package/dist/esm/lib2/features/ReviewListFeature/ReviewListFeature.d.ts +1 -0
- package/dist/esm/lib2/features/SpecialistAreaListFeature/types.d.ts +2 -0
- package/dist/esm/lib2/features/SpecialistEducationsFeature/SpecialistEducationsFeature.d.ts +2 -0
- package/dist/esm/lib2/features/TabsFeature/types.d.ts +1 -0
- package/dist/esm/lib2/features/TextWithClampFeature/types.d.ts +1 -0
- package/dist/esm/lib2/widgets/SpecialistDetailWidget/types.d.ts +9 -2
- package/dist/esm/lib2/widgets/SpecialistDetailWithTabsWidget/types.d.ts +11 -4
- package/dist/index.d.ts +27 -6
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ type Props = {
|
|
|
13
13
|
onEditSpecialistReview?: (review: Pick<SpecialistReview, 'id' | 'review_rating' | 'text_of_review'>) => Promise<void>;
|
|
14
14
|
specialistName: string;
|
|
15
15
|
specialistAvatar: string;
|
|
16
|
+
onMoreClick?(): void;
|
|
16
17
|
};
|
|
17
18
|
export interface ReviewListFeatureRef {
|
|
18
19
|
openModalReviews: () => void;
|
|
@@ -11,8 +11,10 @@ export type SpecialistAreaListProps = {
|
|
|
11
11
|
className?: string;
|
|
12
12
|
classNameTitle?: string;
|
|
13
13
|
textVariant?: TypographyVariantsEnum;
|
|
14
|
+
expandType?: 'modal' | 'inline';
|
|
14
15
|
limit?: number;
|
|
15
16
|
t?: WithTranslation['t'];
|
|
16
17
|
fillTextWithMatch?: boolean;
|
|
17
18
|
presentingElement?: HTMLElement;
|
|
19
|
+
onMoreClick?(): void;
|
|
18
20
|
};
|
|
@@ -9,6 +9,8 @@ type Props = {
|
|
|
9
9
|
t?: WithTranslation['t'];
|
|
10
10
|
presentingElement?: HTMLElement;
|
|
11
11
|
withPreview?: boolean;
|
|
12
|
+
onMoreClick?(): void;
|
|
13
|
+
expandType?: 'modal' | 'inline';
|
|
12
14
|
};
|
|
13
15
|
declare const SpecialistEducationsFeature: FC<Props>;
|
|
14
16
|
export default SpecialistEducationsFeature;
|
|
@@ -17,7 +17,14 @@ export type SpecialistDetailWidgetProps = {
|
|
|
17
17
|
presentingElement?: HTMLElement;
|
|
18
18
|
onOpenContract?(): void;
|
|
19
19
|
onRateSession?(): void;
|
|
20
|
-
onOpenSuperSpecialistArticle?(): void;
|
|
21
|
-
onOpenNewSpecialistArticle?(): void;
|
|
22
20
|
onEditSpecialistReview?: (review: Pick<SpecialistReview, 'id' | 'review_rating' | 'text_of_review'>) => Promise<void>;
|
|
21
|
+
events: {
|
|
22
|
+
onSuperSpecialistArticleClick?(): void;
|
|
23
|
+
onNewSpecialistArticleClick?(): void;
|
|
24
|
+
onVideoButtonClick?(): void;
|
|
25
|
+
onMoreClick?(entity: string): void;
|
|
26
|
+
onReviewsModalViewed?(): void;
|
|
27
|
+
onOpenSuperSpecialistArticle?(): void;
|
|
28
|
+
onOpenNewSpecialistArticle?(): void;
|
|
29
|
+
};
|
|
23
30
|
};
|
|
@@ -12,9 +12,16 @@ export type SpecialistDetailWithTabsWidgetProps = {
|
|
|
12
12
|
onLoadMoreReviews?(): void;
|
|
13
13
|
currentUser?: UserType;
|
|
14
14
|
presentingElement?: HTMLElement;
|
|
15
|
-
onOpenSuperSpecialistArticle?(): void;
|
|
16
|
-
onOpenNewSpecialistArticle?(): void;
|
|
17
15
|
onEditSpecialistReview?: (review: Pick<SpecialistReview, 'id' | 'review_rating' | 'text_of_review'>) => Promise<void>;
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
events: {
|
|
17
|
+
onOpenSuperSpecialistArticle?(): void;
|
|
18
|
+
onOpenNewSpecialistArticle?(): void;
|
|
19
|
+
onVideoCoverClick?(): void;
|
|
20
|
+
onVideoButtonClick?(): void;
|
|
21
|
+
onTabClick?(tab: string): void;
|
|
22
|
+
onMoreClick?(entity: string): void;
|
|
23
|
+
onReviewsModalViewed?(): void;
|
|
24
|
+
onScheduleDateChange?: (date: ScheduleDate, slots: ScheduleSlot[]) => void;
|
|
25
|
+
onScheduleSlotChange?: (slot: ScheduleSlot | null) => void;
|
|
26
|
+
};
|
|
20
27
|
};
|