@mindly/ui-components 5.91.0 → 5.91.1
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 +6 -6
- package/dist/cjs/lib2/features/ReviewListFeature/ReviewListFeature.d.ts +5 -2
- package/dist/cjs/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Avatar_v2/Avatar_v2.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Video/Video.d.ts +5 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/lib2/features/ReviewListFeature/ReviewListFeature.d.ts +5 -2
- package/dist/esm/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Avatar_v2/Avatar_v2.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Video/Video.d.ts +5 -1
- package/dist/index.d.ts +11 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { SpecialistReview } from '../../shared';
|
|
3
3
|
import { WithTranslation } from 'react-i18next';
|
|
4
4
|
type Props = {
|
|
@@ -10,5 +10,8 @@ type Props = {
|
|
|
10
10
|
t?: WithTranslation['t'];
|
|
11
11
|
onLoadMore?(): void;
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
export interface ReviewListFeatureRef {
|
|
14
|
+
openModalReviews: () => void;
|
|
15
|
+
}
|
|
16
|
+
declare const ReviewListFeature: React.ForwardRefExoticComponent<Props & React.RefAttributes<ReviewListFeatureRef>>;
|
|
14
17
|
export default ReviewListFeature;
|
package/dist/esm/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export type SpecialistShortInfoItemFeatureProps = {
|
|
|
15
15
|
rating?: number;
|
|
16
16
|
isSpecialistUnAvailable?: boolean;
|
|
17
17
|
isAuth?: boolean;
|
|
18
|
+
onClickReview?(): void;
|
|
18
19
|
};
|
|
19
20
|
declare const SpecialistShortInfoItemFeature: FC<SpecialistShortInfoItemFeatureProps>;
|
|
20
21
|
export default SpecialistShortInfoItemFeature;
|
|
@@ -9,7 +9,11 @@ export type VideoProps = {
|
|
|
9
9
|
onMuteToggle?: () => void;
|
|
10
10
|
onPlay?(src: string): void;
|
|
11
11
|
};
|
|
12
|
+
export type VideoMethods = {
|
|
13
|
+
play(): void;
|
|
14
|
+
};
|
|
15
|
+
export type VideoRef = HTMLVideoElement | VideoMethods;
|
|
12
16
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<VideoProps & {
|
|
13
17
|
children?: React.ReactNode;
|
|
14
|
-
} & React.RefAttributes<
|
|
18
|
+
} & React.RefAttributes<VideoRef>>>;
|
|
15
19
|
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -1503,6 +1503,7 @@ type AvatarProps = {
|
|
|
1503
1503
|
src?: string;
|
|
1504
1504
|
alt?: string;
|
|
1505
1505
|
showSkeleton?: boolean;
|
|
1506
|
+
onClick?(): void;
|
|
1506
1507
|
};
|
|
1507
1508
|
declare const _default$G: React__default.NamedExoticComponent<AvatarProps>;
|
|
1508
1509
|
|
|
@@ -2244,9 +2245,13 @@ type VideoProps = {
|
|
|
2244
2245
|
onMuteToggle?: () => void;
|
|
2245
2246
|
onPlay?(src: string): void;
|
|
2246
2247
|
};
|
|
2248
|
+
type VideoMethods = {
|
|
2249
|
+
play(): void;
|
|
2250
|
+
};
|
|
2251
|
+
type VideoRef = HTMLVideoElement | VideoMethods;
|
|
2247
2252
|
declare const _default$t: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<VideoProps & {
|
|
2248
2253
|
children?: React__default.ReactNode;
|
|
2249
|
-
} & React__default.RefAttributes<
|
|
2254
|
+
} & React__default.RefAttributes<VideoRef>>>;
|
|
2250
2255
|
|
|
2251
2256
|
type UlLiProps = {
|
|
2252
2257
|
list: string[];
|
|
@@ -2925,6 +2930,7 @@ type SpecialistShortInfoItemFeatureProps = {
|
|
|
2925
2930
|
rating?: number;
|
|
2926
2931
|
isSpecialistUnAvailable?: boolean;
|
|
2927
2932
|
isAuth?: boolean;
|
|
2933
|
+
onClickReview?(): void;
|
|
2928
2934
|
};
|
|
2929
2935
|
declare const SpecialistShortInfoItemFeature: FC<SpecialistShortInfoItemFeatureProps>;
|
|
2930
2936
|
|
|
@@ -3266,7 +3272,10 @@ type Props$1 = {
|
|
|
3266
3272
|
t?: WithTranslation['t'];
|
|
3267
3273
|
onLoadMore?(): void;
|
|
3268
3274
|
};
|
|
3269
|
-
|
|
3275
|
+
interface ReviewListFeatureRef {
|
|
3276
|
+
openModalReviews: () => void;
|
|
3277
|
+
}
|
|
3278
|
+
declare const ReviewListFeature: React__default.ForwardRefExoticComponent<Props$1 & React__default.RefAttributes<ReviewListFeatureRef>>;
|
|
3270
3279
|
|
|
3271
3280
|
type Props = {
|
|
3272
3281
|
list: SpecialistEducation[];
|