@mindly/ui-components 6.2.6 → 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
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -3224,10 +3224,12 @@ type SpecialistAreaListProps = {
|
|
|
3224
3224
|
className?: string;
|
|
3225
3225
|
classNameTitle?: string;
|
|
3226
3226
|
textVariant?: TypographyVariantsEnum;
|
|
3227
|
+
expandType?: 'modal' | 'inline';
|
|
3227
3228
|
limit?: number;
|
|
3228
3229
|
t?: WithTranslation['t'];
|
|
3229
3230
|
fillTextWithMatch?: boolean;
|
|
3230
3231
|
presentingElement?: HTMLElement;
|
|
3232
|
+
onMoreClick?(): void;
|
|
3231
3233
|
};
|
|
3232
3234
|
|
|
3233
3235
|
declare const SpecialistAreaList: FC<SpecialistAreaListProps>;
|
|
@@ -3242,6 +3244,7 @@ interface Props$2 extends Omit<TypographyProps, 'children'> {
|
|
|
3242
3244
|
onExpand?(): void;
|
|
3243
3245
|
t?: WithTranslation['t'];
|
|
3244
3246
|
presentingElement?: HTMLElement;
|
|
3247
|
+
onMoreClick?(): void;
|
|
3245
3248
|
}
|
|
3246
3249
|
|
|
3247
3250
|
declare const _default$h: React__default.NamedExoticComponent<Props$2>;
|
|
@@ -3258,6 +3261,7 @@ type Props$1 = {
|
|
|
3258
3261
|
onEditSpecialistReview?: (review: Pick<SpecialistReview$1, 'id' | 'review_rating' | 'text_of_review'>) => Promise<void>;
|
|
3259
3262
|
specialistName: string;
|
|
3260
3263
|
specialistAvatar: string;
|
|
3264
|
+
onMoreClick?(): void;
|
|
3261
3265
|
};
|
|
3262
3266
|
interface ReviewListFeatureRef {
|
|
3263
3267
|
openModalReviews: () => void;
|
|
@@ -3272,6 +3276,8 @@ type Props = {
|
|
|
3272
3276
|
t?: WithTranslation['t'];
|
|
3273
3277
|
presentingElement?: HTMLElement;
|
|
3274
3278
|
withPreview?: boolean;
|
|
3279
|
+
onMoreClick?(): void;
|
|
3280
|
+
expandType?: 'modal' | 'inline';
|
|
3275
3281
|
};
|
|
3276
3282
|
declare const SpecialistEducationsFeature: FC<Props>;
|
|
3277
3283
|
|
|
@@ -3607,6 +3613,7 @@ type TabsFeatureProps = {
|
|
|
3607
3613
|
}[];
|
|
3608
3614
|
className?: string;
|
|
3609
3615
|
isLoading?: boolean;
|
|
3616
|
+
onTabClick?(tab: string): void;
|
|
3610
3617
|
};
|
|
3611
3618
|
|
|
3612
3619
|
declare const TabsFeature: React__default.FC<TabsFeatureProps>;
|
|
@@ -4153,9 +4160,16 @@ type SpecialistDetailWidgetProps = {
|
|
|
4153
4160
|
presentingElement?: HTMLElement;
|
|
4154
4161
|
onOpenContract?(): void;
|
|
4155
4162
|
onRateSession?(): void;
|
|
4156
|
-
onOpenSuperSpecialistArticle?(): void;
|
|
4157
|
-
onOpenNewSpecialistArticle?(): void;
|
|
4158
4163
|
onEditSpecialistReview?: (review: Pick<SpecialistReview$1, 'id' | 'review_rating' | 'text_of_review'>) => Promise<void>;
|
|
4164
|
+
events: {
|
|
4165
|
+
onSuperSpecialistArticleClick?(): void;
|
|
4166
|
+
onNewSpecialistArticleClick?(): void;
|
|
4167
|
+
onVideoButtonClick?(): void;
|
|
4168
|
+
onMoreClick?(entity: string): void;
|
|
4169
|
+
onReviewsModalViewed?(): void;
|
|
4170
|
+
onOpenSuperSpecialistArticle?(): void;
|
|
4171
|
+
onOpenNewSpecialistArticle?(): void;
|
|
4172
|
+
};
|
|
4159
4173
|
};
|
|
4160
4174
|
|
|
4161
4175
|
declare const _default$2: React__default.NamedExoticComponent<SpecialistDetailWidgetProps>;
|
|
@@ -4248,11 +4262,18 @@ type SpecialistDetailWithTabsWidgetProps = {
|
|
|
4248
4262
|
onLoadMoreReviews?(): void;
|
|
4249
4263
|
currentUser?: UserType;
|
|
4250
4264
|
presentingElement?: HTMLElement;
|
|
4251
|
-
onOpenSuperSpecialistArticle?(): void;
|
|
4252
|
-
onOpenNewSpecialistArticle?(): void;
|
|
4253
4265
|
onEditSpecialistReview?: (review: Pick<SpecialistReview$1, 'id' | 'review_rating' | 'text_of_review'>) => Promise<void>;
|
|
4254
|
-
|
|
4255
|
-
|
|
4266
|
+
events: {
|
|
4267
|
+
onOpenSuperSpecialistArticle?(): void;
|
|
4268
|
+
onOpenNewSpecialistArticle?(): void;
|
|
4269
|
+
onVideoCoverClick?(): void;
|
|
4270
|
+
onVideoButtonClick?(): void;
|
|
4271
|
+
onTabClick?(tab: string): void;
|
|
4272
|
+
onMoreClick?(entity: string): void;
|
|
4273
|
+
onReviewsModalViewed?(): void;
|
|
4274
|
+
onScheduleDateChange?: (date: ScheduleDate, slots: ScheduleSlot[]) => void;
|
|
4275
|
+
onScheduleSlotChange?: (slot: ScheduleSlot | null) => void;
|
|
4276
|
+
};
|
|
4256
4277
|
};
|
|
4257
4278
|
|
|
4258
4279
|
declare const _default: React__default.NamedExoticComponent<SpecialistDetailWithTabsWidgetProps>;
|