@mindly/ui-components 5.91.12 → 5.91.13
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 +7 -7
- package/dist/cjs/lib2/features/SpecialistInfoColumnFeature/SpecialistInfoColumnFeature.d.ts +3 -6
- package/dist/cjs/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.d.ts +3 -1
- package/dist/cjs/lib2/shared/providers/VideoProvider/VideoProvider.d.ts +14 -0
- package/dist/cjs/lib2/shared/providers/VideoProvider/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/providers/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Avatar_v2/Avatar_v2.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/Avatar_v2/Avatar_v2.style.d.ts +2 -2
- package/dist/cjs/lib2/shared/ui/Button_v2/Button_v2.d.ts +2 -1
- package/dist/cjs/lib2/shared/ui/Button_v2/Button_v2.style.d.ts +16 -1
- package/dist/cjs/lib2/shared/ui/SuperSpecialist/styles.d.ts +35 -0
- package/dist/cjs/lib2/shared/ui/SuperSpecialist/types.d.ts +1 -1
- package/dist/cjs/lib2/widgets/SpecialistCardListWidget/SpecialistCardListWidget.d.ts +0 -2
- package/dist/cjs/lib2/widgets/SpecialistCardWidget/types.d.ts +0 -8
- package/dist/esm/index.js +7 -7
- package/dist/esm/lib2/features/SpecialistInfoColumnFeature/SpecialistInfoColumnFeature.d.ts +3 -6
- package/dist/esm/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.d.ts +3 -1
- package/dist/esm/lib2/shared/providers/VideoProvider/VideoProvider.d.ts +14 -0
- package/dist/esm/lib2/shared/providers/VideoProvider/index.d.ts +1 -0
- package/dist/esm/lib2/shared/providers/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Avatar_v2/Avatar_v2.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/Avatar_v2/Avatar_v2.style.d.ts +2 -2
- package/dist/esm/lib2/shared/ui/Button_v2/Button_v2.d.ts +2 -1
- package/dist/esm/lib2/shared/ui/Button_v2/Button_v2.style.d.ts +16 -1
- package/dist/esm/lib2/shared/ui/SuperSpecialist/styles.d.ts +35 -0
- package/dist/esm/lib2/shared/ui/SuperSpecialist/types.d.ts +1 -1
- package/dist/esm/lib2/widgets/SpecialistCardListWidget/SpecialistCardListWidget.d.ts +0 -2
- package/dist/esm/lib2/widgets/SpecialistCardWidget/types.d.ts +0 -8
- package/dist/index.d.ts +32 -29
- package/package.json +8 -6
|
@@ -3,16 +3,13 @@ import { SupportedCurrency } from '../../shared';
|
|
|
3
3
|
import { WithTranslation } from 'react-i18next';
|
|
4
4
|
export type SpecialistInfoColumnFeatureProps = {
|
|
5
5
|
t?: WithTranslation['t'];
|
|
6
|
-
rating
|
|
7
|
-
reviews
|
|
8
|
-
yearsOfExperience
|
|
6
|
+
rating?: number;
|
|
7
|
+
reviews?: number;
|
|
8
|
+
yearsOfExperience?: number;
|
|
9
9
|
hoursOfPractice?: number;
|
|
10
10
|
sessionPrice: number;
|
|
11
|
-
isFavourite?: boolean;
|
|
12
11
|
sessionDurationMinutes: number;
|
|
13
12
|
currentPriceType: SupportedCurrency;
|
|
14
|
-
onToggleFavourite?(): void;
|
|
15
|
-
onCardClick?(): void;
|
|
16
13
|
};
|
|
17
14
|
declare const SpecialistInfoColumnFeature: FC<SpecialistInfoColumnFeatureProps>;
|
|
18
15
|
export default SpecialistInfoColumnFeature;
|
package/dist/cjs/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { TypographyVariantsEnum } from '../../shared';
|
|
|
4
4
|
import { Avatar_v2Props } from '../../../lib2/shared/ui/Avatar_v2';
|
|
5
5
|
export type SpecialistShortInfoItemFeatureProps = {
|
|
6
6
|
t?: WithTranslation['t'];
|
|
7
|
-
match
|
|
7
|
+
match?: number;
|
|
8
8
|
matchVariant?: 'badge' | 'avatar';
|
|
9
9
|
fullName: string;
|
|
10
10
|
avatarLink: string;
|
|
@@ -17,7 +17,9 @@ export type SpecialistShortInfoItemFeatureProps = {
|
|
|
17
17
|
isSpecialistUnAvailable?: boolean;
|
|
18
18
|
isAuth?: boolean;
|
|
19
19
|
variantFullName?: TypographyVariantsEnum;
|
|
20
|
+
isFavourite?: boolean;
|
|
20
21
|
onClickReview?(): void;
|
|
22
|
+
onToggleFavourite?(): void;
|
|
21
23
|
};
|
|
22
24
|
declare const SpecialistShortInfoItemFeature: FC<SpecialistShortInfoItemFeatureProps>;
|
|
23
25
|
export default SpecialistShortInfoItemFeature;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type VideoContextValue = {
|
|
3
|
+
currentSrc: string | undefined;
|
|
4
|
+
isPlaying: boolean;
|
|
5
|
+
isLoaded: boolean;
|
|
6
|
+
isLoading: boolean | undefined;
|
|
7
|
+
playVideo(src: string): void;
|
|
8
|
+
};
|
|
9
|
+
type Props = {
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
};
|
|
12
|
+
export declare const useVideoContext: () => VideoContextValue;
|
|
13
|
+
export declare const VideoProvider: React.FC<Props>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './VideoProvider';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AvatarRoundVariants } from './Avatar_v2.style';
|
|
3
3
|
export type AvatarProps = {
|
|
4
|
-
variant?: 'small' | 'medium' | 'smaller' | 'large';
|
|
4
|
+
variant?: 'small' | 'medium' | 'smaller' | 'large' | 'xl';
|
|
5
5
|
round?: AvatarRoundVariants;
|
|
6
6
|
className?: string;
|
|
7
7
|
src?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export type AvatarRoundVariants = 'circle' | 'drop';
|
|
1
|
+
export type AvatarRoundVariants = 'circle' | 'drop' | 'small';
|
|
2
2
|
export declare function getBorderRadius(props: {
|
|
3
3
|
round: AvatarRoundVariants;
|
|
4
|
-
}):
|
|
4
|
+
}): string;
|
|
5
5
|
export declare const AvatarWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
6
6
|
round: AvatarRoundVariants;
|
|
7
7
|
isLoading: boolean;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
2
|
import { JSX } from '@ionic/core/components';
|
|
3
|
-
type ButtonProps = {
|
|
3
|
+
export type ButtonProps = {
|
|
4
4
|
fill?: 'outline' | 'clear';
|
|
5
5
|
size?: 'default' | 'large' | 'small';
|
|
6
6
|
customSize?: 'smaller';
|
|
7
|
+
withDefaultState?: boolean;
|
|
7
8
|
color?: undefined;
|
|
8
9
|
fullWidth?: boolean;
|
|
9
10
|
className?: string;
|
|
@@ -4,4 +4,19 @@ export declare const ButtonStyled: import("styled-components").StyledComponent<i
|
|
|
4
4
|
routerDirection?: "none" | "root" | "forward" | "back" | undefined;
|
|
5
5
|
routerOptions?: import("@ionic/react").RouterOptions | undefined;
|
|
6
6
|
routerAnimation?: import("@ionic/react").AnimationBuilder | undefined;
|
|
7
|
-
} & Pick<import("react").HTMLAttributes<HTMLIonButtonElement>, "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "children" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("@ionic/react/dist/types/components/IonicReactProps").IonicReactProps & import("react").RefAttributes<HTMLIonButtonElement>>, any, {
|
|
7
|
+
} & Pick<import("react").HTMLAttributes<HTMLIonButtonElement>, "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "children" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("@ionic/react/dist/types/components/IonicReactProps").IonicReactProps & import("react").RefAttributes<HTMLIonButtonElement>>, any, {
|
|
8
|
+
fill?: "clear" | "outline" | undefined;
|
|
9
|
+
size?: "small" | "default" | "large" | undefined;
|
|
10
|
+
customSize?: "smaller" | undefined;
|
|
11
|
+
withDefaultState?: boolean | undefined;
|
|
12
|
+
color?: undefined;
|
|
13
|
+
fullWidth?: boolean | undefined;
|
|
14
|
+
className?: string | undefined;
|
|
15
|
+
routerLink?: string | undefined;
|
|
16
|
+
onClick?: ((e: import("react").MouseEvent<HTMLIonButtonElement, MouseEvent>) => void) | undefined;
|
|
17
|
+
isLoading?: boolean | undefined;
|
|
18
|
+
icon?: import("react").ReactNode;
|
|
19
|
+
iconPosition?: "center" | "start" | undefined;
|
|
20
|
+
style?: import("react").CSSProperties | undefined;
|
|
21
|
+
id?: string | undefined;
|
|
22
|
+
} & import("@ionic/core/dist/types/components").JSX.IonButton, never>;
|
|
@@ -11,6 +11,11 @@ export declare const superSpecialistStyle: import("tailwind-variants").TVReturnT
|
|
|
11
11
|
iconVariant: TypographyVariantsEnum;
|
|
12
12
|
titleVariant: TypographyVariantsEnum;
|
|
13
13
|
};
|
|
14
|
+
badge: {
|
|
15
|
+
root: string;
|
|
16
|
+
iconVariant: TypographyVariantsEnum;
|
|
17
|
+
titleVariant: TypographyVariantsEnum;
|
|
18
|
+
};
|
|
14
19
|
};
|
|
15
20
|
}, {
|
|
16
21
|
iconVariant: string;
|
|
@@ -28,6 +33,11 @@ export declare const superSpecialistStyle: import("tailwind-variants").TVReturnT
|
|
|
28
33
|
iconVariant: TypographyVariantsEnum;
|
|
29
34
|
titleVariant: TypographyVariantsEnum;
|
|
30
35
|
};
|
|
36
|
+
badge: {
|
|
37
|
+
root: string;
|
|
38
|
+
iconVariant: TypographyVariantsEnum;
|
|
39
|
+
titleVariant: TypographyVariantsEnum;
|
|
40
|
+
};
|
|
31
41
|
};
|
|
32
42
|
}, {
|
|
33
43
|
variant: {
|
|
@@ -41,6 +51,11 @@ export declare const superSpecialistStyle: import("tailwind-variants").TVReturnT
|
|
|
41
51
|
iconVariant: TypographyVariantsEnum;
|
|
42
52
|
titleVariant: TypographyVariantsEnum;
|
|
43
53
|
};
|
|
54
|
+
badge: {
|
|
55
|
+
root: string;
|
|
56
|
+
iconVariant: TypographyVariantsEnum;
|
|
57
|
+
titleVariant: TypographyVariantsEnum;
|
|
58
|
+
};
|
|
44
59
|
};
|
|
45
60
|
}>, {
|
|
46
61
|
variant: {
|
|
@@ -54,6 +69,11 @@ export declare const superSpecialistStyle: import("tailwind-variants").TVReturnT
|
|
|
54
69
|
iconVariant: TypographyVariantsEnum;
|
|
55
70
|
titleVariant: TypographyVariantsEnum;
|
|
56
71
|
};
|
|
72
|
+
badge: {
|
|
73
|
+
root: string;
|
|
74
|
+
iconVariant: TypographyVariantsEnum;
|
|
75
|
+
titleVariant: TypographyVariantsEnum;
|
|
76
|
+
};
|
|
57
77
|
};
|
|
58
78
|
}, {
|
|
59
79
|
iconVariant: string;
|
|
@@ -71,6 +91,11 @@ export declare const superSpecialistStyle: import("tailwind-variants").TVReturnT
|
|
|
71
91
|
iconVariant: TypographyVariantsEnum;
|
|
72
92
|
titleVariant: TypographyVariantsEnum;
|
|
73
93
|
};
|
|
94
|
+
badge: {
|
|
95
|
+
root: string;
|
|
96
|
+
iconVariant: TypographyVariantsEnum;
|
|
97
|
+
titleVariant: TypographyVariantsEnum;
|
|
98
|
+
};
|
|
74
99
|
};
|
|
75
100
|
}, {
|
|
76
101
|
iconVariant: string;
|
|
@@ -88,6 +113,11 @@ export declare const superSpecialistStyle: import("tailwind-variants").TVReturnT
|
|
|
88
113
|
iconVariant: TypographyVariantsEnum;
|
|
89
114
|
titleVariant: TypographyVariantsEnum;
|
|
90
115
|
};
|
|
116
|
+
badge: {
|
|
117
|
+
root: string;
|
|
118
|
+
iconVariant: TypographyVariantsEnum;
|
|
119
|
+
titleVariant: TypographyVariantsEnum;
|
|
120
|
+
};
|
|
91
121
|
};
|
|
92
122
|
}, {
|
|
93
123
|
variant: {
|
|
@@ -101,5 +131,10 @@ export declare const superSpecialistStyle: import("tailwind-variants").TVReturnT
|
|
|
101
131
|
iconVariant: TypographyVariantsEnum;
|
|
102
132
|
titleVariant: TypographyVariantsEnum;
|
|
103
133
|
};
|
|
134
|
+
badge: {
|
|
135
|
+
root: string;
|
|
136
|
+
iconVariant: TypographyVariantsEnum;
|
|
137
|
+
titleVariant: TypographyVariantsEnum;
|
|
138
|
+
};
|
|
104
139
|
};
|
|
105
140
|
}>, unknown, unknown, undefined>>;
|
|
@@ -5,14 +5,12 @@ export type SpecialistCardListWidgetProps = {
|
|
|
5
5
|
t?: WithTranslation['t'];
|
|
6
6
|
specialists: Specialist[];
|
|
7
7
|
onToggleFavourite: (specialist: Specialist) => void;
|
|
8
|
-
onChooseVisitTime: (specialist: Specialist) => void;
|
|
9
8
|
onVideoPlay?: (src: string) => void;
|
|
10
9
|
onRefreshClick?(): void;
|
|
11
10
|
onFavoriteClick?(): void;
|
|
12
11
|
onCardClick?(id: string): void;
|
|
13
12
|
isLoading?: boolean;
|
|
14
13
|
currentUser?: UserType;
|
|
15
|
-
isBookingLoading?: boolean;
|
|
16
14
|
};
|
|
17
15
|
declare const SpecialistCardListWidget: FC<SpecialistCardListWidgetProps>;
|
|
18
16
|
export default SpecialistCardListWidget;
|
|
@@ -4,19 +4,11 @@ import { Specialist, UserType } from '../../shared/types';
|
|
|
4
4
|
export type SpecialistCardWidgetProps = {
|
|
5
5
|
t?: WithTranslation['t'];
|
|
6
6
|
loading?: boolean;
|
|
7
|
-
videoPlayer: {
|
|
8
|
-
isMuted?: boolean;
|
|
9
|
-
onMuteToggle?(): void;
|
|
10
|
-
videoRef?(ref: HTMLVideoElement): void;
|
|
11
|
-
onPlay?(src: string): void;
|
|
12
|
-
};
|
|
13
7
|
specialist: Specialist;
|
|
14
8
|
isFavourite?: boolean;
|
|
15
|
-
onChooseVisitTime(): void;
|
|
16
9
|
onToggleFavourite(): void;
|
|
17
10
|
onCardClick(): void;
|
|
18
11
|
currentUser?: UserType;
|
|
19
|
-
isBookingLoading?: boolean;
|
|
20
12
|
};
|
|
21
13
|
export type SpecialistCard = {
|
|
22
14
|
id: string;
|