@mindly/ui-components 4.1.1 → 4.3.0
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/configs/tailwind/colors.d.ts +35 -0
- package/dist/cjs/configs/tailwind/container.d.ts +6 -0
- package/dist/cjs/deprecated/input/Input.style.d.ts +1 -1
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/lib/AppFooter/AppFooter.style.d.ts +2 -2
- package/dist/cjs/lib/AppHeader/AppHeader.style.d.ts +2 -2
- package/dist/cjs/lib/BrowserNotSupport/NotSupportModal.style.d.ts +1 -1
- package/dist/cjs/lib/ChangeLangModal/ChangeLangModal.style.d.ts +1 -1
- package/dist/cjs/lib/Chat/Textarea/Textarea.style.d.ts +2 -2
- package/dist/cjs/lib/Consultations/ConsultationModal/ConsultationModal.style.d.ts +1 -1
- package/dist/cjs/lib/Consultations/SignUpSessionModal/SignUpSessionModal.style.d.ts +1 -1
- package/dist/cjs/lib/Consultations/UserInfoModal/UserInfoModal.style.d.ts +1 -1
- package/dist/cjs/lib/CustomButton/CustomButton.styled.d.ts +1 -1
- package/dist/cjs/lib/DaySlider/DaySlider.style.d.ts +1 -1
- package/dist/cjs/lib/Filters/ListSelect/ListSelect.style.d.ts +2 -2
- package/dist/cjs/lib/Filters/Range/Range.style.d.ts +1 -1
- package/dist/cjs/lib/Modal/Modal.style.d.ts +1 -1
- package/dist/cjs/lib/Refresher/Refresher.style.d.ts +1 -1
- package/dist/cjs/lib/RoundButton/RoundButton.styled.d.ts +1 -1
- package/dist/cjs/lib/Segment/Segment.style.d.ts +3 -3
- package/dist/cjs/lib/Skeleton/Skeleton.style.d.ts +1 -1
- package/dist/cjs/lib/SpecialistCard/SpecialistCard.style.d.ts +1 -1
- package/dist/cjs/lib/SpecialistProfile/ReviewStatistics/ReviewStatistics.style.d.ts +1 -1
- package/dist/cjs/lib/SpecialistProfile/SpecialistMatch/SpecialistMatch.style.d.ts +1 -1
- package/dist/cjs/lib/Spinner/Spinner.styled.d.ts +1 -1
- package/dist/cjs/lib/content-card/ContentCard.style.d.ts +1 -1
- package/dist/cjs/lib/footer-for-booking/FooterForBooking.style.d.ts +4 -4
- package/dist/cjs/lib/navigation-bar/NavigationBar.style.d.ts +1 -1
- package/dist/cjs/lib/notes-editor/NotesEditor.styled.d.ts +1 -1
- package/dist/cjs/lib/scroll-tabs/ScrollTabs.style.d.ts +2 -2
- package/dist/cjs/lib2/features/ChangeLanguageModal/ChangeLanguageModal.d.ts +3 -0
- package/dist/cjs/lib2/features/ChangeLanguageModal/index.d.ts +1 -0
- package/dist/cjs/lib2/features/ChangeLanguageModal/types.d.ts +14 -0
- package/dist/cjs/lib2/features/CountryOfOriginModal/CountryOfOriginModal.d.ts +5 -0
- package/dist/cjs/lib2/features/CountryOfOriginModal/index.d.ts +1 -0
- package/dist/cjs/lib2/features/CountryOfOriginModal/types.d.ts +10 -0
- package/dist/cjs/lib2/features/index.d.ts +2 -0
- package/dist/cjs/lib2/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/assets/icons/icon-checkbox-checked.d.ts +7 -0
- package/dist/cjs/lib2/shared/assets/icons/icon-checkbox-unchecked.d.ts +7 -0
- package/dist/cjs/lib2/shared/hooks/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/hooks/use-dom-ref.d.ts +2 -0
- package/dist/cjs/lib2/shared/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/AppFooter_v2/AppFooter_v2.style.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/AppHeader_v2/AppHeader_v2.d.ts +7 -0
- package/dist/cjs/lib2/shared/ui/AppHeader_v2/AppHeader_v2.stories.d.ts +6 -0
- package/dist/cjs/lib2/shared/ui/AppHeader_v2/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Badge/Badge.d.ts +4 -0
- package/dist/cjs/lib2/shared/ui/Badge/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Badge/styles.d.ts +127 -0
- package/dist/cjs/lib2/shared/ui/Badge/types.d.ts +8 -0
- package/dist/cjs/lib2/shared/ui/Button_v2/Button_v2.style.d.ts +2 -2
- package/dist/cjs/lib2/shared/ui/Container_v2/Container_v2.styled.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/Flag_v2/Flag_v2.d.ts +1 -6
- package/dist/cjs/lib2/shared/ui/InputSearch/InputSearch.d.ts +5 -0
- package/dist/cjs/lib2/shared/ui/InputSearch/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/InputSearch/types.d.ts +10 -0
- package/dist/cjs/lib2/shared/ui/ListBox/ListBox.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/ListBox/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/ListBox/types.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/ListBoxItem/ListBoxItem.d.ts +5 -0
- package/dist/cjs/lib2/shared/ui/ListBoxItem/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/ListBoxItem/types.d.ts +16 -0
- package/dist/cjs/lib2/shared/ui/Skeleton_v2/Skeleton_v2.style.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/index.d.ts +4 -0
- package/dist/esm/configs/tailwind/colors.d.ts +35 -0
- package/dist/esm/configs/tailwind/container.d.ts +6 -0
- package/dist/esm/deprecated/input/Input.style.d.ts +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/lib/AppFooter/AppFooter.style.d.ts +2 -2
- package/dist/esm/lib/AppHeader/AppHeader.style.d.ts +2 -2
- package/dist/esm/lib/BrowserNotSupport/NotSupportModal.style.d.ts +1 -1
- package/dist/esm/lib/ChangeLangModal/ChangeLangModal.style.d.ts +1 -1
- package/dist/esm/lib/Chat/Textarea/Textarea.style.d.ts +2 -2
- package/dist/esm/lib/Consultations/ConsultationModal/ConsultationModal.style.d.ts +1 -1
- package/dist/esm/lib/Consultations/SignUpSessionModal/SignUpSessionModal.style.d.ts +1 -1
- package/dist/esm/lib/Consultations/UserInfoModal/UserInfoModal.style.d.ts +1 -1
- package/dist/esm/lib/CustomButton/CustomButton.styled.d.ts +1 -1
- package/dist/esm/lib/DaySlider/DaySlider.style.d.ts +1 -1
- package/dist/esm/lib/Filters/ListSelect/ListSelect.style.d.ts +2 -2
- package/dist/esm/lib/Filters/Range/Range.style.d.ts +1 -1
- package/dist/esm/lib/Modal/Modal.style.d.ts +1 -1
- package/dist/esm/lib/Refresher/Refresher.style.d.ts +1 -1
- package/dist/esm/lib/RoundButton/RoundButton.styled.d.ts +1 -1
- package/dist/esm/lib/Segment/Segment.style.d.ts +3 -3
- package/dist/esm/lib/Skeleton/Skeleton.style.d.ts +1 -1
- package/dist/esm/lib/SpecialistCard/SpecialistCard.style.d.ts +1 -1
- package/dist/esm/lib/SpecialistProfile/ReviewStatistics/ReviewStatistics.style.d.ts +1 -1
- package/dist/esm/lib/SpecialistProfile/SpecialistMatch/SpecialistMatch.style.d.ts +1 -1
- package/dist/esm/lib/Spinner/Spinner.styled.d.ts +1 -1
- package/dist/esm/lib/content-card/ContentCard.style.d.ts +1 -1
- package/dist/esm/lib/footer-for-booking/FooterForBooking.style.d.ts +4 -4
- package/dist/esm/lib/navigation-bar/NavigationBar.style.d.ts +1 -1
- package/dist/esm/lib/notes-editor/NotesEditor.styled.d.ts +1 -1
- package/dist/esm/lib/scroll-tabs/ScrollTabs.style.d.ts +2 -2
- package/dist/esm/lib2/features/ChangeLanguageModal/ChangeLanguageModal.d.ts +3 -0
- package/dist/esm/lib2/features/ChangeLanguageModal/index.d.ts +1 -0
- package/dist/esm/lib2/features/ChangeLanguageModal/types.d.ts +14 -0
- package/dist/esm/lib2/features/CountryOfOriginModal/CountryOfOriginModal.d.ts +5 -0
- package/dist/esm/lib2/features/CountryOfOriginModal/index.d.ts +1 -0
- package/dist/esm/lib2/features/CountryOfOriginModal/types.d.ts +10 -0
- package/dist/esm/lib2/features/index.d.ts +2 -0
- package/dist/esm/lib2/index.d.ts +1 -0
- package/dist/esm/lib2/shared/assets/icons/icon-checkbox-checked.d.ts +7 -0
- package/dist/esm/lib2/shared/assets/icons/icon-checkbox-unchecked.d.ts +7 -0
- package/dist/esm/lib2/shared/hooks/index.d.ts +1 -0
- package/dist/esm/lib2/shared/hooks/use-dom-ref.d.ts +2 -0
- package/dist/esm/lib2/shared/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/AppFooter_v2/AppFooter_v2.style.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/AppHeader_v2/AppHeader_v2.d.ts +7 -0
- package/dist/esm/lib2/shared/ui/AppHeader_v2/AppHeader_v2.stories.d.ts +6 -0
- package/dist/esm/lib2/shared/ui/AppHeader_v2/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Badge/Badge.d.ts +4 -0
- package/dist/esm/lib2/shared/ui/Badge/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Badge/styles.d.ts +127 -0
- package/dist/esm/lib2/shared/ui/Badge/types.d.ts +8 -0
- package/dist/esm/lib2/shared/ui/Button_v2/Button_v2.style.d.ts +2 -2
- package/dist/esm/lib2/shared/ui/Container_v2/Container_v2.styled.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/Flag_v2/Flag_v2.d.ts +1 -6
- package/dist/esm/lib2/shared/ui/InputSearch/InputSearch.d.ts +5 -0
- package/dist/esm/lib2/shared/ui/InputSearch/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/InputSearch/types.d.ts +10 -0
- package/dist/esm/lib2/shared/ui/ListBox/ListBox.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/ListBox/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/ListBox/types.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/ListBoxItem/ListBoxItem.d.ts +5 -0
- package/dist/esm/lib2/shared/ui/ListBoxItem/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/ListBoxItem/types.d.ts +16 -0
- package/dist/esm/lib2/shared/ui/Skeleton_v2/Skeleton_v2.style.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/index.d.ts +4 -0
- package/dist/index.d.ts +188 -129
- package/package.json +6 -2
- package/src/configs/tailwind/colors.ts +36 -0
- package/src/configs/tailwind/container.ts +5 -0
- package/src/lib2/shared/css/tailwind.css +27 -1
- package/src/lib2/shared/css/variables.css +6 -1
- package/dist/cjs/lib2/shared/ui/Flag_v2/flags/Pl.d.ts +0 -2
- package/dist/cjs/lib2/shared/ui/Flag_v2/flags/Uk.d.ts +0 -2
- package/dist/esm/lib2/shared/ui/Flag_v2/flags/Pl.d.ts +0 -2
- package/dist/esm/lib2/shared/ui/Flag_v2/flags/Uk.d.ts +0 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,42 +1,47 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import React__default, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, FC, ReactText, ReactElement, ChangeEvent } from 'react';
|
|
2
3
|
import { JSX as JSX$1 } from '@ionic/core/components';
|
|
3
4
|
import { RatingComponentProps } from 'react-rating';
|
|
4
5
|
import { RefresherEventDetail, ScrollDetail, ScrollBaseDetail } from '@ionic/react';
|
|
5
|
-
import { IonContentCustomEvent } from '@ionic/core/dist/types/components';
|
|
6
|
+
import { IonContentCustomEvent, IonSearchbarCustomEvent } from '@ionic/core/dist/types/components';
|
|
7
|
+
import { Node, ListState, ItemProps } from 'react-stately';
|
|
8
|
+
import { AriaListBoxProps } from 'react-aria';
|
|
9
|
+
import { SearchbarChangeEventDetail } from '@ionic/core';
|
|
10
|
+
import { WithTranslation } from 'react-i18next';
|
|
6
11
|
|
|
7
12
|
interface ButtonProps$2 {
|
|
8
13
|
buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive' | 'actionButtonGreen';
|
|
9
14
|
isDisabled: boolean;
|
|
10
|
-
children:
|
|
11
|
-
onClick?: (props?:
|
|
15
|
+
children: React__default.ReactNode;
|
|
16
|
+
onClick?: (props?: React__default.SyntheticEvent) => void;
|
|
12
17
|
['data-testid']?: string;
|
|
13
18
|
}
|
|
14
19
|
/**
|
|
15
20
|
* @deprecated
|
|
16
21
|
*/
|
|
17
|
-
declare const Button:
|
|
22
|
+
declare const Button: React__default.FC<ButtonProps$2>;
|
|
18
23
|
|
|
19
24
|
interface FloatingButtonType {
|
|
20
25
|
bottomHeight: number;
|
|
21
26
|
rightWidth: number;
|
|
22
27
|
['data-testid']?: string;
|
|
23
28
|
}
|
|
24
|
-
declare const FloatingButton:
|
|
29
|
+
declare const FloatingButton: React__default.FC<FloatingButtonType>;
|
|
25
30
|
|
|
26
31
|
interface ListButtonProps {
|
|
27
|
-
children:
|
|
32
|
+
children: React__default.ReactNode;
|
|
28
33
|
icon: string;
|
|
29
|
-
onClick: (props?:
|
|
34
|
+
onClick: (props?: React__default.SyntheticEvent) => void;
|
|
30
35
|
['data-testid']?: string;
|
|
31
36
|
}
|
|
32
|
-
declare const ListButton:
|
|
37
|
+
declare const ListButton: React__default.FC<ListButtonProps>;
|
|
33
38
|
|
|
34
39
|
interface NavigationBarProps {
|
|
35
40
|
isInternetConnected: boolean;
|
|
36
41
|
children?: ReactNode;
|
|
37
42
|
isIos: boolean;
|
|
38
43
|
}
|
|
39
|
-
declare const NavigationBar:
|
|
44
|
+
declare const NavigationBar: React__default.FC<NavigationBarProps>;
|
|
40
45
|
|
|
41
46
|
interface ContentCardProps {
|
|
42
47
|
contentVideo?: {
|
|
@@ -50,7 +55,7 @@ interface ContentCardProps {
|
|
|
50
55
|
};
|
|
51
56
|
['data-testid']?: string;
|
|
52
57
|
}
|
|
53
|
-
declare const ContentCard:
|
|
58
|
+
declare const ContentCard: React__default.FC<ContentCardProps>;
|
|
54
59
|
|
|
55
60
|
interface TherapistCardProps {
|
|
56
61
|
psychologistName: string;
|
|
@@ -60,13 +65,13 @@ interface TherapistCardProps {
|
|
|
60
65
|
psychologistPrice: number;
|
|
61
66
|
psychologistDuration: number;
|
|
62
67
|
psychologistExperience: number;
|
|
63
|
-
handleClick: (props?:
|
|
68
|
+
handleClick: (props?: React__default.SyntheticEvent) => void;
|
|
64
69
|
['data-testid']?: string;
|
|
65
70
|
}
|
|
66
71
|
/**
|
|
67
72
|
* @deprecated
|
|
68
73
|
*/
|
|
69
|
-
declare const TherapistCard:
|
|
74
|
+
declare const TherapistCard: React__default.FC<TherapistCardProps>;
|
|
70
75
|
|
|
71
76
|
/**
|
|
72
77
|
* Toast that work line an API, we can call it anywhere, need message text and duration(default 3 seconds)
|
|
@@ -84,7 +89,7 @@ interface ArchivedConsultationCardProps {
|
|
|
84
89
|
price: string;
|
|
85
90
|
['data-testid']?: string;
|
|
86
91
|
}
|
|
87
|
-
declare const ArchivedConsultationCard:
|
|
92
|
+
declare const ArchivedConsultationCard: React__default.FC<ArchivedConsultationCardProps>;
|
|
88
93
|
|
|
89
94
|
interface DatePickerProps {
|
|
90
95
|
type: 'date' | 'weekday';
|
|
@@ -93,17 +98,17 @@ interface DatePickerProps {
|
|
|
93
98
|
date?: string;
|
|
94
99
|
month?: string;
|
|
95
100
|
isActive: boolean;
|
|
96
|
-
onClick: (props?:
|
|
101
|
+
onClick: (props?: React__default.SyntheticEvent) => void;
|
|
97
102
|
['data-testid']?: string;
|
|
98
103
|
}
|
|
99
|
-
declare const DatePicker:
|
|
104
|
+
declare const DatePicker: React__default.FC<DatePickerProps>;
|
|
100
105
|
|
|
101
106
|
interface NoInternetConnectionProps {
|
|
102
107
|
isInternetConnected: boolean;
|
|
103
108
|
isIos: boolean;
|
|
104
109
|
heading?: string;
|
|
105
110
|
}
|
|
106
|
-
declare const NoInternetConnection:
|
|
111
|
+
declare const NoInternetConnection: React__default.FC<NoInternetConnectionProps>;
|
|
107
112
|
|
|
108
113
|
interface TherapistInformationComponentProps {
|
|
109
114
|
avatar: string;
|
|
@@ -112,7 +117,7 @@ interface TherapistInformationComponentProps {
|
|
|
112
117
|
price: string;
|
|
113
118
|
['data-testid']?: string;
|
|
114
119
|
}
|
|
115
|
-
declare const TherapistInformationComponent:
|
|
120
|
+
declare const TherapistInformationComponent: React__default.FC<TherapistInformationComponentProps>;
|
|
116
121
|
|
|
117
122
|
interface InputProps {
|
|
118
123
|
isActive: boolean;
|
|
@@ -127,24 +132,24 @@ interface InputProps {
|
|
|
127
132
|
/**
|
|
128
133
|
* @deprecated
|
|
129
134
|
*/
|
|
130
|
-
declare const Input:
|
|
135
|
+
declare const Input: React__default.FC<InputProps>;
|
|
131
136
|
|
|
132
137
|
interface ScrollTabsProps {
|
|
133
138
|
setActiveTab: (e?: string) => void;
|
|
134
139
|
value: 'profile' | 'video' | 'articles';
|
|
135
140
|
}
|
|
136
|
-
declare const ScrollTabs:
|
|
141
|
+
declare const ScrollTabs: React__default.FC<ScrollTabsProps>;
|
|
137
142
|
|
|
138
143
|
interface TabBarProps {
|
|
139
144
|
children: ReactNode;
|
|
140
145
|
isIos: boolean;
|
|
141
146
|
}
|
|
142
|
-
declare const TabBar:
|
|
147
|
+
declare const TabBar: React__default.FC<TabBarProps>;
|
|
143
148
|
|
|
144
149
|
interface YourLocalTimeBlockProps {
|
|
145
150
|
text?: string;
|
|
146
151
|
}
|
|
147
|
-
declare const YourLocalTimeBlock:
|
|
152
|
+
declare const YourLocalTimeBlock: React__default.FC<YourLocalTimeBlockProps>;
|
|
148
153
|
|
|
149
154
|
type ModalCalendarProps = {
|
|
150
155
|
onDaySelected: (day: Date) => void;
|
|
@@ -153,7 +158,7 @@ type ModalCalendarProps = {
|
|
|
153
158
|
noteDays?: Date[];
|
|
154
159
|
selectedDate?: Date;
|
|
155
160
|
};
|
|
156
|
-
declare const ModalCalendar:
|
|
161
|
+
declare const ModalCalendar: React__default.FC<ModalCalendarProps>;
|
|
157
162
|
|
|
158
163
|
type HorizontalCalendarProps = {
|
|
159
164
|
consultationDatesSeconds?: number[];
|
|
@@ -192,7 +197,7 @@ type DayToRender = {
|
|
|
192
197
|
dayOfWeek: DayOfWeek;
|
|
193
198
|
date: Date;
|
|
194
199
|
};
|
|
195
|
-
declare const HorizontalCalendar:
|
|
200
|
+
declare const HorizontalCalendar: React__default.FC<HorizontalCalendarProps>;
|
|
196
201
|
|
|
197
202
|
declare enum ImpressionEmojiEnum {
|
|
198
203
|
DEPRESSED = -2,
|
|
@@ -214,19 +219,19 @@ type LetterAvatarProps = {
|
|
|
214
219
|
fontSize?: number;
|
|
215
220
|
onClick?: () => void;
|
|
216
221
|
};
|
|
217
|
-
declare const _default$
|
|
222
|
+
declare const _default$I: React__default.NamedExoticComponent<LetterAvatarProps>;
|
|
218
223
|
|
|
219
224
|
type ImageWithFallbackProps = JSX.IntrinsicElements['img'] & {
|
|
220
|
-
onErrorContent:
|
|
225
|
+
onErrorContent: React__default.ReactElement;
|
|
221
226
|
};
|
|
222
|
-
declare const ImageWithFallback:
|
|
227
|
+
declare const ImageWithFallback: React__default.FC<ImageWithFallbackProps>;
|
|
223
228
|
|
|
224
229
|
type PersonDateTimeCardProps = {
|
|
225
230
|
photoSrc?: string;
|
|
226
231
|
name: string;
|
|
227
232
|
dateTime: Date;
|
|
228
233
|
};
|
|
229
|
-
declare const _default$
|
|
234
|
+
declare const _default$H: React__default.NamedExoticComponent<PersonDateTimeCardProps>;
|
|
230
235
|
|
|
231
236
|
type PsychologistProfileType = {
|
|
232
237
|
id: string;
|
|
@@ -287,7 +292,7 @@ type PsychologistType = {
|
|
|
287
292
|
};
|
|
288
293
|
|
|
289
294
|
type UsersPsychologistScrollListPropsType = {
|
|
290
|
-
psychologistClickHandler:
|
|
295
|
+
psychologistClickHandler: React__default.Dispatch<React__default.SetStateAction<{
|
|
291
296
|
isShow: boolean;
|
|
292
297
|
psychologist_id: string;
|
|
293
298
|
}>>;
|
|
@@ -296,12 +301,12 @@ type UsersPsychologistScrollListPropsType = {
|
|
|
296
301
|
declare const UsersPsychologistScrollList: ({ psychologistClickHandler, usersPsychologists, }: UsersPsychologistScrollListPropsType) => JSX.Element | null;
|
|
297
302
|
|
|
298
303
|
type NotesEditorProps = JSX$1.IonTextarea & HTMLAttributes<HTMLIonTextareaElement> & RefAttributes<HTMLIonTextareaElement>;
|
|
299
|
-
declare const NotesEditor:
|
|
304
|
+
declare const NotesEditor: React__default.ForwardRefExoticComponent<Omit<NotesEditorProps, "ref"> & React__default.RefAttributes<HTMLIonTextareaElement>>;
|
|
300
305
|
|
|
301
306
|
type NotesCardTextProps = {
|
|
302
307
|
text: string;
|
|
303
308
|
};
|
|
304
|
-
declare const NotesCardText:
|
|
309
|
+
declare const NotesCardText: React__default.FC<NotesCardTextProps>;
|
|
305
310
|
|
|
306
311
|
type RangeValue = {
|
|
307
312
|
lower: number;
|
|
@@ -392,21 +397,21 @@ type SelectImpressionEmojiProps = {
|
|
|
392
397
|
onChange?: (val: ImpressionEmojiEnum) => void;
|
|
393
398
|
};
|
|
394
399
|
|
|
395
|
-
declare const _default$
|
|
400
|
+
declare const _default$G: React__default.NamedExoticComponent<SelectImpressionEmojiProps>;
|
|
396
401
|
|
|
397
402
|
interface FooterForBookingProps {
|
|
398
|
-
eventHandler: (props?:
|
|
403
|
+
eventHandler: (props?: React__default.SyntheticEvent) => void;
|
|
399
404
|
duration: number;
|
|
400
405
|
price: string;
|
|
401
406
|
['data-testid']?: string;
|
|
402
407
|
}
|
|
403
|
-
declare const FooterForBooking:
|
|
408
|
+
declare const FooterForBooking: React__default.FC<FooterForBookingProps>;
|
|
404
409
|
|
|
405
410
|
type StatusTagPropsType = {
|
|
406
411
|
dimension?: number;
|
|
407
412
|
tagColor?: string;
|
|
408
413
|
} & HTMLAttributes<HTMLDivElement>;
|
|
409
|
-
declare const StatusTag:
|
|
414
|
+
declare const StatusTag: React__default.FC<StatusTagPropsType>;
|
|
410
415
|
|
|
411
416
|
interface Playable {
|
|
412
417
|
play: (...args: any[]) => any;
|
|
@@ -424,7 +429,7 @@ type MediaPlayerProps<TCameraTrack extends Playable | undefined, TAudioTrack ext
|
|
|
424
429
|
showControls: boolean;
|
|
425
430
|
isScreenSharing?: boolean;
|
|
426
431
|
} & HTMLAttributes<HTMLDivElement>;
|
|
427
|
-
declare const _default$
|
|
432
|
+
declare const _default$F: <TCameraTrack extends Playable | undefined, TAudioTrack extends Playable | undefined>({ fullwidth, cameraTrack, audioTrack, isVideoTrackMuted, isAudioTrackMuted, networkQuality, fallbackAvatar, fallbackAvatarDimensions, fallbackName, showControls, isScreenSharing, ...props }: MediaPlayerProps<TCameraTrack, TAudioTrack>) => JSX.Element;
|
|
428
433
|
|
|
429
434
|
type RoundButtonPropsType = {
|
|
430
435
|
disabled?: boolean;
|
|
@@ -436,7 +441,7 @@ type RoundButtonPropsType = {
|
|
|
436
441
|
transformed?: boolean;
|
|
437
442
|
isLoading?: boolean;
|
|
438
443
|
};
|
|
439
|
-
declare const RoundButton:
|
|
444
|
+
declare const RoundButton: React__default.FC<RoundButtonPropsType>;
|
|
440
445
|
|
|
441
446
|
type ChatListItemProps = {
|
|
442
447
|
name: string;
|
|
@@ -450,7 +455,7 @@ type ChatListItemProps = {
|
|
|
450
455
|
lastMessageType?: 'text' | 'file' | 'image' | 'video' | 'system';
|
|
451
456
|
locale?: string;
|
|
452
457
|
};
|
|
453
|
-
declare const _default$
|
|
458
|
+
declare const _default$E: React__default.NamedExoticComponent<ChatListItemProps>;
|
|
454
459
|
|
|
455
460
|
type ChatMessageProps = {
|
|
456
461
|
message: string | File;
|
|
@@ -468,11 +473,11 @@ type ChatMessageProps = {
|
|
|
468
473
|
};
|
|
469
474
|
locale?: string;
|
|
470
475
|
};
|
|
471
|
-
declare const _default$
|
|
476
|
+
declare const _default$D: React__default.NamedExoticComponent<ChatMessageProps>;
|
|
472
477
|
|
|
473
478
|
declare const ChatMessageSkeleton: () => JSX.Element;
|
|
474
479
|
|
|
475
|
-
declare const _default$
|
|
480
|
+
declare const _default$C: React__default.MemoExoticComponent<() => JSX.Element>;
|
|
476
481
|
|
|
477
482
|
type EmptyChatList = {
|
|
478
483
|
title?: string;
|
|
@@ -482,7 +487,7 @@ type EmptyChatList = {
|
|
|
482
487
|
onClick?: () => void;
|
|
483
488
|
};
|
|
484
489
|
declare const EmptyChatList: FC<EmptyChatList>;
|
|
485
|
-
declare const _default$
|
|
490
|
+
declare const _default$B: React__default.NamedExoticComponent<EmptyChatList>;
|
|
486
491
|
|
|
487
492
|
type EmptyChatMessagesProps = {
|
|
488
493
|
title?: string;
|
|
@@ -506,7 +511,7 @@ type TextareaProps = {
|
|
|
506
511
|
onError?: (message: string) => void;
|
|
507
512
|
onFileSelect?: (file: File | null, type: 'file' | 'image' | 'video', fileInfo: FileInfoType) => void;
|
|
508
513
|
};
|
|
509
|
-
declare const _default$
|
|
514
|
+
declare const _default$A: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<TextareaProps & React__default.RefAttributes<HTMLIonFooterElement>>>;
|
|
510
515
|
|
|
511
516
|
type LouseConnectProps = {
|
|
512
517
|
onClick?: () => void;
|
|
@@ -521,7 +526,7 @@ type UpdatesPopupPropsType = {
|
|
|
521
526
|
buttonText?: string;
|
|
522
527
|
disabledButton?: Extract<ButtonProps$2, 'isDisabled'>;
|
|
523
528
|
};
|
|
524
|
-
declare const UpdatesCard:
|
|
529
|
+
declare const UpdatesCard: React__default.FC<UpdatesPopupPropsType>;
|
|
525
530
|
|
|
526
531
|
type VideoCallSwitchDevice = {
|
|
527
532
|
/**
|
|
@@ -558,7 +563,7 @@ type VideoCallSwitchDevice = {
|
|
|
558
563
|
offText: string;
|
|
559
564
|
};
|
|
560
565
|
};
|
|
561
|
-
declare const SwitchDeviceCard:
|
|
566
|
+
declare const SwitchDeviceCard: React__default.FC<VideoCallSwitchDevice>;
|
|
562
567
|
|
|
563
568
|
type SectionHeadingProps = {
|
|
564
569
|
text: string;
|
|
@@ -567,14 +572,14 @@ type SectionHeadingProps = {
|
|
|
567
572
|
color?: string;
|
|
568
573
|
showLoader?: boolean;
|
|
569
574
|
};
|
|
570
|
-
declare const SectionHeading:
|
|
575
|
+
declare const SectionHeading: React__default.FC<SectionHeadingProps>;
|
|
571
576
|
|
|
572
577
|
type SkeletonProps$1 = {
|
|
573
578
|
widthPx?: number;
|
|
574
579
|
heightPx?: number;
|
|
575
|
-
style?:
|
|
580
|
+
style?: React__default.CSSProperties;
|
|
576
581
|
} & Omit<JSX$1.IonSkeletonText, 'animated'>;
|
|
577
|
-
declare const Skeleton:
|
|
582
|
+
declare const Skeleton: React__default.FC<SkeletonProps$1>;
|
|
578
583
|
|
|
579
584
|
type SpecialistEducationCardProps$1 = {
|
|
580
585
|
institutionName?: string;
|
|
@@ -585,7 +590,7 @@ type SpecialistEducationCardProps$1 = {
|
|
|
585
590
|
yearEnd?: number | null;
|
|
586
591
|
showLoader?: boolean;
|
|
587
592
|
};
|
|
588
|
-
declare const _default$
|
|
593
|
+
declare const _default$z: React__default.NamedExoticComponent<SpecialistEducationCardProps$1>;
|
|
589
594
|
|
|
590
595
|
type SpecialistProfileViewCardProps$1 = {
|
|
591
596
|
avatarLink?: string | null;
|
|
@@ -597,8 +602,8 @@ type SpecialistProfileViewCardProps$1 = {
|
|
|
597
602
|
onImageClick?: () => void;
|
|
598
603
|
videoLinkUrl?: string | null;
|
|
599
604
|
showLoader?: boolean;
|
|
600
|
-
} &
|
|
601
|
-
declare const _default$
|
|
605
|
+
} & React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
606
|
+
declare const _default$y: React__default.NamedExoticComponent<SpecialistProfileViewCardProps$1>;
|
|
602
607
|
|
|
603
608
|
type SpecialistStatisticsCardProps$1 = {
|
|
604
609
|
activeClients?: number;
|
|
@@ -608,7 +613,7 @@ type SpecialistStatisticsCardProps$1 = {
|
|
|
608
613
|
/**
|
|
609
614
|
* @deprecated
|
|
610
615
|
*/
|
|
611
|
-
declare const SpecialistStatisticsCard:
|
|
616
|
+
declare const SpecialistStatisticsCard: React__default.FC<SpecialistStatisticsCardProps$1>;
|
|
612
617
|
|
|
613
618
|
type SpecialistWorkDirectionsPropsType$1 = {
|
|
614
619
|
workDirections?: string[] | [];
|
|
@@ -618,9 +623,9 @@ type SpecialistWorkDirectionsPropsType$1 = {
|
|
|
618
623
|
/**
|
|
619
624
|
* @deprecated
|
|
620
625
|
*/
|
|
621
|
-
declare const SpecialistWorkDirections:
|
|
626
|
+
declare const SpecialistWorkDirections: React__default.FC<SpecialistWorkDirectionsPropsType$1>;
|
|
622
627
|
|
|
623
|
-
declare const Tag:
|
|
628
|
+
declare const Tag: React__default.FC;
|
|
624
629
|
|
|
625
630
|
type AppFooterProps$1 = {
|
|
626
631
|
fullwidth?: boolean;
|
|
@@ -632,14 +637,14 @@ declare const AppFooter: FC<AppFooterProps$1>;
|
|
|
632
637
|
type VideoPlayerProps = {
|
|
633
638
|
videoLink: string;
|
|
634
639
|
closeModalHandler?: () => void;
|
|
635
|
-
onErrorContent:
|
|
640
|
+
onErrorContent: React__default.ReactElement;
|
|
636
641
|
} & JSX$1.IonModal;
|
|
637
|
-
declare const _default$
|
|
642
|
+
declare const _default$x: React__default.NamedExoticComponent<VideoPlayerProps>;
|
|
638
643
|
|
|
639
644
|
type NotSupportModalProps = {
|
|
640
645
|
closeModal?: () => void;
|
|
641
|
-
redText?:
|
|
642
|
-
mainText?:
|
|
646
|
+
redText?: React__default.ReactElement;
|
|
647
|
+
mainText?: React__default.ReactElement;
|
|
643
648
|
buttonLink?: string;
|
|
644
649
|
type?: 'danger' | 'primary';
|
|
645
650
|
title?: string;
|
|
@@ -649,7 +654,7 @@ type NotSupportModalProps = {
|
|
|
649
654
|
attention: string;
|
|
650
655
|
};
|
|
651
656
|
} & JSX$1.IonModal;
|
|
652
|
-
declare const NotSupportModal:
|
|
657
|
+
declare const NotSupportModal: React__default.FC<NotSupportModalProps>;
|
|
653
658
|
|
|
654
659
|
type UserInfo = {
|
|
655
660
|
name: string;
|
|
@@ -670,7 +675,7 @@ type VideoCallInfoProps = {
|
|
|
670
675
|
abbreviatedSeconds: string;
|
|
671
676
|
};
|
|
672
677
|
};
|
|
673
|
-
declare const _default$
|
|
678
|
+
declare const _default$w: React__default.NamedExoticComponent<VideoCallInfoProps>;
|
|
674
679
|
|
|
675
680
|
declare enum ConsultationCardType {
|
|
676
681
|
FEATURE = "feature",
|
|
@@ -705,14 +710,14 @@ type ConsultationCardProps = {
|
|
|
705
710
|
};
|
|
706
711
|
};
|
|
707
712
|
|
|
708
|
-
declare const _default$
|
|
713
|
+
declare const _default$v: React__default.NamedExoticComponent<ConsultationCardProps>;
|
|
709
714
|
|
|
710
715
|
type SignUpSessionButtonProps = {
|
|
711
716
|
label: string;
|
|
712
717
|
isLoading?: boolean;
|
|
713
718
|
onClick?: () => void;
|
|
714
719
|
};
|
|
715
|
-
declare const _default$
|
|
720
|
+
declare const _default$u: React__default.NamedExoticComponent<SignUpSessionButtonProps>;
|
|
716
721
|
|
|
717
722
|
type EmptyConsultationsProps = {
|
|
718
723
|
title: string;
|
|
@@ -720,7 +725,7 @@ type EmptyConsultationsProps = {
|
|
|
720
725
|
buttonLabel?: string;
|
|
721
726
|
onClick?: () => void;
|
|
722
727
|
};
|
|
723
|
-
declare const _default$
|
|
728
|
+
declare const _default$t: React__default.NamedExoticComponent<EmptyConsultationsProps>;
|
|
724
729
|
|
|
725
730
|
type ConsultationModalProps = {
|
|
726
731
|
isOpen: boolean;
|
|
@@ -755,7 +760,7 @@ type ConsultationModalProps = {
|
|
|
755
760
|
started?: string;
|
|
756
761
|
};
|
|
757
762
|
};
|
|
758
|
-
declare const _default$
|
|
763
|
+
declare const _default$s: React__default.NamedExoticComponent<ConsultationModalProps>;
|
|
759
764
|
|
|
760
765
|
type SpecialistData = {
|
|
761
766
|
id: string;
|
|
@@ -772,7 +777,7 @@ type SignUpSessionModalProps = {
|
|
|
772
777
|
title: string;
|
|
773
778
|
cancelBtnLabel: string;
|
|
774
779
|
};
|
|
775
|
-
declare const _default$
|
|
780
|
+
declare const _default$r: React__default.NamedExoticComponent<SignUpSessionModalProps>;
|
|
776
781
|
|
|
777
782
|
type ConsultationSpecialistCardProps = {
|
|
778
783
|
id: string;
|
|
@@ -783,7 +788,7 @@ type ConsultationSpecialistCardProps = {
|
|
|
783
788
|
onSignUp?: (id: string) => void;
|
|
784
789
|
signInBtnLabel: string;
|
|
785
790
|
};
|
|
786
|
-
declare const _default$
|
|
791
|
+
declare const _default$q: React__default.NamedExoticComponent<ConsultationSpecialistCardProps>;
|
|
787
792
|
|
|
788
793
|
type UserInfoModalProps = {
|
|
789
794
|
isOpen: boolean;
|
|
@@ -848,7 +853,7 @@ type ReScheduleProps = {
|
|
|
848
853
|
btnLabel: string;
|
|
849
854
|
};
|
|
850
855
|
};
|
|
851
|
-
declare const _default$
|
|
856
|
+
declare const _default$p: React__default.NamedExoticComponent<ReScheduleProps>;
|
|
852
857
|
|
|
853
858
|
type ReScheduleSuccessProps = {
|
|
854
859
|
name: string;
|
|
@@ -886,7 +891,7 @@ type DaySliderProps = JSX$1.IonSlides & HTMLAttributes<HTMLIonSlidesElement> & R
|
|
|
886
891
|
tomorrow?: string;
|
|
887
892
|
};
|
|
888
893
|
};
|
|
889
|
-
declare const _default$
|
|
894
|
+
declare const _default$o: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Omit<DaySliderProps, "ref"> & React__default.RefAttributes<HTMLIonSlidesElement>>>;
|
|
890
895
|
|
|
891
896
|
type SpecialistWorkDirectionsPropsType = {
|
|
892
897
|
workDirections?: string[] | [];
|
|
@@ -895,7 +900,7 @@ type SpecialistWorkDirectionsPropsType = {
|
|
|
895
900
|
moreLabel?: string;
|
|
896
901
|
hideLabel?: string;
|
|
897
902
|
};
|
|
898
|
-
declare const _default$
|
|
903
|
+
declare const _default$n: React__default.NamedExoticComponent<SpecialistWorkDirectionsPropsType>;
|
|
899
904
|
|
|
900
905
|
type SpecialistProfileViewCardProps = {
|
|
901
906
|
videoLink?: string;
|
|
@@ -905,7 +910,7 @@ type SpecialistProfileViewCardProps = {
|
|
|
905
910
|
isLoading?: boolean;
|
|
906
911
|
videoDurationSeconds?: number;
|
|
907
912
|
};
|
|
908
|
-
declare const _default$
|
|
913
|
+
declare const _default$m: React__default.NamedExoticComponent<SpecialistProfileViewCardProps>;
|
|
909
914
|
|
|
910
915
|
type SpecialistAboutProps = {
|
|
911
916
|
text?: string;
|
|
@@ -914,7 +919,7 @@ type SpecialistAboutProps = {
|
|
|
914
919
|
moreLabel?: string;
|
|
915
920
|
hideLabel?: string;
|
|
916
921
|
};
|
|
917
|
-
declare const _default$
|
|
922
|
+
declare const _default$l: React__default.NamedExoticComponent<SpecialistAboutProps>;
|
|
918
923
|
|
|
919
924
|
type SpecialistEducationCardProps = {
|
|
920
925
|
institutionName?: string;
|
|
@@ -925,7 +930,7 @@ type SpecialistEducationCardProps = {
|
|
|
925
930
|
yearEnd?: number | null;
|
|
926
931
|
showLoader?: boolean;
|
|
927
932
|
};
|
|
928
|
-
declare const _default$
|
|
933
|
+
declare const _default$k: React__default.NamedExoticComponent<SpecialistEducationCardProps>;
|
|
929
934
|
|
|
930
935
|
type SpecialistStatisticsCardProps = {
|
|
931
936
|
trust?: boolean;
|
|
@@ -957,7 +962,7 @@ type SpecialistStatisticsCardProps = {
|
|
|
957
962
|
perSession?: string;
|
|
958
963
|
};
|
|
959
964
|
};
|
|
960
|
-
declare const StatisticsScroll:
|
|
965
|
+
declare const StatisticsScroll: React__default.FC<SpecialistStatisticsCardProps>;
|
|
961
966
|
|
|
962
967
|
declare const decOfNum: (number: number, titles: string[]) => string;
|
|
963
968
|
|
|
@@ -971,7 +976,7 @@ type BookingScheduleTimeProps = {
|
|
|
971
976
|
onClick?: (index: number, item: string) => void;
|
|
972
977
|
isLoading?: boolean;
|
|
973
978
|
};
|
|
974
|
-
declare const _default$
|
|
979
|
+
declare const _default$j: React__default.NamedExoticComponent<BookingScheduleTimeProps>;
|
|
975
980
|
|
|
976
981
|
type BookingSpecialistInfoProps = {
|
|
977
982
|
name: string;
|
|
@@ -980,7 +985,7 @@ type BookingSpecialistInfoProps = {
|
|
|
980
985
|
avatar?: string;
|
|
981
986
|
isLoading?: boolean;
|
|
982
987
|
};
|
|
983
|
-
declare const _default$
|
|
988
|
+
declare const _default$i: React__default.NamedExoticComponent<BookingSpecialistInfoProps>;
|
|
984
989
|
|
|
985
990
|
type SpecialistCardProps = {
|
|
986
991
|
fullName?: string;
|
|
@@ -1027,15 +1032,15 @@ type SpecialistCardProps = {
|
|
|
1027
1032
|
uploadButton?: boolean;
|
|
1028
1033
|
onUploadButtonClick?: () => void;
|
|
1029
1034
|
};
|
|
1030
|
-
declare const SpecialistCard:
|
|
1035
|
+
declare const SpecialistCard: React__default.FC<SpecialistCardProps>;
|
|
1031
1036
|
|
|
1032
|
-
declare const _default$
|
|
1037
|
+
declare const _default$h: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
|
|
1033
1038
|
isError?: boolean | undefined;
|
|
1034
1039
|
errorStyle?: "filled" | "unfilled" | undefined;
|
|
1035
1040
|
type?: "number" | "text" | "email" | undefined;
|
|
1036
|
-
} &
|
|
1041
|
+
} & React__default.InputHTMLAttributes<HTMLInputElement> & React__default.RefAttributes<HTMLInputElement>>>;
|
|
1037
1042
|
|
|
1038
|
-
declare const ImageInput:
|
|
1043
|
+
declare const ImageInput: React__default.ForwardRefExoticComponent<{
|
|
1039
1044
|
dimension?: number | undefined;
|
|
1040
1045
|
buttonLabel?: string | undefined;
|
|
1041
1046
|
isRoundedImage?: boolean | undefined;
|
|
@@ -1047,31 +1052,31 @@ declare const ImageInput: React.ForwardRefExoticComponent<{
|
|
|
1047
1052
|
loadedFileValue?: string | undefined;
|
|
1048
1053
|
renderMediaAfterLoad?: boolean | undefined;
|
|
1049
1054
|
isFilledButton?: boolean | undefined;
|
|
1050
|
-
} & Omit<
|
|
1055
|
+
} & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
1051
1056
|
|
|
1052
|
-
declare const PasswordInput:
|
|
1057
|
+
declare const PasswordInput: React__default.ForwardRefExoticComponent<{
|
|
1053
1058
|
error?: string | null | undefined;
|
|
1054
|
-
} & Omit<
|
|
1059
|
+
} & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
1055
1060
|
|
|
1056
|
-
declare const _default$
|
|
1061
|
+
declare const _default$g: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
|
|
1057
1062
|
isError?: boolean | undefined;
|
|
1058
|
-
} &
|
|
1063
|
+
} & React__default.TextareaHTMLAttributes<HTMLTextAreaElement> & React__default.RefAttributes<HTMLTextAreaElement>>>;
|
|
1059
1064
|
|
|
1060
|
-
declare const _default$
|
|
1065
|
+
declare const _default$f: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
|
|
1061
1066
|
options: {
|
|
1062
1067
|
id: string | number;
|
|
1063
1068
|
label: string | number;
|
|
1064
1069
|
}[];
|
|
1065
1070
|
isError?: boolean | undefined;
|
|
1066
1071
|
selectedBy?: "label" | "id" | undefined;
|
|
1067
|
-
} &
|
|
1072
|
+
} & React__default.SelectHTMLAttributes<HTMLSelectElement> & React__default.RefAttributes<HTMLSelectElement>>>;
|
|
1068
1073
|
|
|
1069
1074
|
type PossibleButtonTypes = 'primary' | 'secondary' | 'accent' | 'accent-dark-green' | 'accent-light-grey' | 'transparent' | 'border' | 'border-white' | 'white' | 'outline';
|
|
1070
1075
|
type ButtonProps$1 = {
|
|
1071
1076
|
buttonType?: PossibleButtonTypes;
|
|
1072
1077
|
loading?: boolean;
|
|
1073
|
-
} &
|
|
1074
|
-
declare const CustomButton:
|
|
1078
|
+
} & React__default.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
1079
|
+
declare const CustomButton: React__default.FC<ButtonProps$1>;
|
|
1075
1080
|
|
|
1076
1081
|
declare enum CheckboxTypes {
|
|
1077
1082
|
WITH_ICON = "with-icon",
|
|
@@ -1089,7 +1094,7 @@ type CustomCheckboxProps = {
|
|
|
1089
1094
|
isCheckbox?: boolean;
|
|
1090
1095
|
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
1091
1096
|
};
|
|
1092
|
-
declare const _default$
|
|
1097
|
+
declare const _default$e: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<CustomCheckboxProps & React__default.RefAttributes<HTMLInputElement>>>;
|
|
1093
1098
|
|
|
1094
1099
|
type CheckboxListItem = {
|
|
1095
1100
|
id: ReactText;
|
|
@@ -1117,7 +1122,7 @@ type CheckboxListProps = {
|
|
|
1117
1122
|
from: string;
|
|
1118
1123
|
};
|
|
1119
1124
|
};
|
|
1120
|
-
declare const _default$
|
|
1125
|
+
declare const _default$d: React__default.NamedExoticComponent<CheckboxListProps>;
|
|
1121
1126
|
|
|
1122
1127
|
type BookingHeaderProps = {
|
|
1123
1128
|
title?: string;
|
|
@@ -1125,15 +1130,15 @@ type BookingHeaderProps = {
|
|
|
1125
1130
|
isLoading?: boolean;
|
|
1126
1131
|
onClick?: () => void;
|
|
1127
1132
|
};
|
|
1128
|
-
declare const ChevronHeader:
|
|
1133
|
+
declare const ChevronHeader: React__default.FC<BookingHeaderProps>;
|
|
1129
1134
|
|
|
1130
1135
|
type ProgressBarProps = {
|
|
1131
1136
|
progress: number;
|
|
1132
1137
|
loaderTitle?: string;
|
|
1133
1138
|
};
|
|
1134
|
-
declare const _default$
|
|
1139
|
+
declare const _default$c: React__default.NamedExoticComponent<ProgressBarProps>;
|
|
1135
1140
|
|
|
1136
|
-
declare const _default$
|
|
1141
|
+
declare const _default$b: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
|
|
1137
1142
|
title: string;
|
|
1138
1143
|
subTitle?: string | undefined;
|
|
1139
1144
|
isError?: boolean | undefined;
|
|
@@ -1141,7 +1146,7 @@ declare const _default$a: React.MemoExoticComponent<React.ForwardRefExoticCompon
|
|
|
1141
1146
|
onCloseClick?: (() => void) | undefined;
|
|
1142
1147
|
buttonLabel?: string | undefined;
|
|
1143
1148
|
renderMediaAfterLoad?: boolean | undefined;
|
|
1144
|
-
} & Omit<
|
|
1149
|
+
} & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type"> & React__default.RefAttributes<HTMLInputElement>>>;
|
|
1145
1150
|
|
|
1146
1151
|
type SuccessScreenProps = {
|
|
1147
1152
|
title: string;
|
|
@@ -1164,7 +1169,7 @@ type FlagProps$1 = {
|
|
|
1164
1169
|
dimensions?: number;
|
|
1165
1170
|
className?: string;
|
|
1166
1171
|
};
|
|
1167
|
-
declare const _default$
|
|
1172
|
+
declare const _default$a: React__default.NamedExoticComponent<FlagProps$1>;
|
|
1168
1173
|
|
|
1169
1174
|
type SpecialistLangsProps = {
|
|
1170
1175
|
showLoader?: boolean;
|
|
@@ -1203,8 +1208,8 @@ type ProfileInformationProps = {
|
|
|
1203
1208
|
translations?: {
|
|
1204
1209
|
reviews: string[];
|
|
1205
1210
|
};
|
|
1206
|
-
} &
|
|
1207
|
-
declare const _default$
|
|
1211
|
+
} & React__default.HTMLAttributes<HTMLDivElement>;
|
|
1212
|
+
declare const _default$9: React__default.NamedExoticComponent<ProfileInformationProps>;
|
|
1208
1213
|
|
|
1209
1214
|
type SpecialistMatchProps = {
|
|
1210
1215
|
specialistFirstName?: string;
|
|
@@ -1215,8 +1220,8 @@ type SpecialistMatchProps = {
|
|
|
1215
1220
|
matchYou: string;
|
|
1216
1221
|
howWeMatchThis: string;
|
|
1217
1222
|
};
|
|
1218
|
-
} &
|
|
1219
|
-
declare const _default$
|
|
1223
|
+
} & React__default.HTMLAttributes<HTMLDivElement>;
|
|
1224
|
+
declare const _default$8: React__default.NamedExoticComponent<SpecialistMatchProps>;
|
|
1220
1225
|
|
|
1221
1226
|
type SpecialistStatisticProps = {
|
|
1222
1227
|
learnMoreClick: () => void;
|
|
@@ -1235,8 +1240,8 @@ type SpecialistStatisticProps = {
|
|
|
1235
1240
|
sessions: string[];
|
|
1236
1241
|
bookedSession: string;
|
|
1237
1242
|
};
|
|
1238
|
-
} &
|
|
1239
|
-
declare const _default$
|
|
1243
|
+
} & React__default.HTMLAttributes<HTMLDivElement>;
|
|
1244
|
+
declare const _default$7: React__default.NamedExoticComponent<SpecialistStatisticProps>;
|
|
1240
1245
|
|
|
1241
1246
|
type RatingWithLabelProps = {
|
|
1242
1247
|
countOfReviews?: number;
|
|
@@ -1245,7 +1250,7 @@ type RatingWithLabelProps = {
|
|
|
1245
1250
|
reviews: string[];
|
|
1246
1251
|
};
|
|
1247
1252
|
} & RatingComponentProps;
|
|
1248
|
-
declare const StarRating:
|
|
1253
|
+
declare const StarRating: React__default.FC<RatingWithLabelProps>;
|
|
1249
1254
|
|
|
1250
1255
|
type ReviewCardProps = {
|
|
1251
1256
|
reviewerAvatar: string;
|
|
@@ -1264,8 +1269,8 @@ type ReviewCardProps = {
|
|
|
1264
1269
|
showAllReviews: string;
|
|
1265
1270
|
};
|
|
1266
1271
|
cutReview?: boolean;
|
|
1267
|
-
} &
|
|
1268
|
-
declare const ReviewCard:
|
|
1272
|
+
} & React__default.HTMLAttributes<HTMLDivElement>;
|
|
1273
|
+
declare const ReviewCard: React__default.FC<ReviewCardProps>;
|
|
1269
1274
|
|
|
1270
1275
|
type ReviewStatisticsProps = {
|
|
1271
1276
|
averageStarsCount: number;
|
|
@@ -1281,8 +1286,8 @@ type ReviewStatisticsProps = {
|
|
|
1281
1286
|
translations: {
|
|
1282
1287
|
reviews: string[];
|
|
1283
1288
|
};
|
|
1284
|
-
} &
|
|
1285
|
-
declare const ReviewStatistics:
|
|
1289
|
+
} & React__default.HTMLAttributes<HTMLDivElement>;
|
|
1290
|
+
declare const ReviewStatistics: React__default.FC<ReviewStatisticsProps>;
|
|
1286
1291
|
|
|
1287
1292
|
interface ISpecialistReview {
|
|
1288
1293
|
id: string;
|
|
@@ -1317,13 +1322,13 @@ type ReviewSwiperProps = {
|
|
|
1317
1322
|
reviews: string;
|
|
1318
1323
|
};
|
|
1319
1324
|
};
|
|
1320
|
-
declare const ReviewSwiperSection:
|
|
1325
|
+
declare const ReviewSwiperSection: React__default.FC<ReviewSwiperProps>;
|
|
1321
1326
|
|
|
1322
1327
|
type FrequentlyAskedQuestions = {
|
|
1323
1328
|
text: string;
|
|
1324
1329
|
alignment: 'right' | 'center' | 'left';
|
|
1325
1330
|
};
|
|
1326
|
-
declare const FrequentlyAskedQuestions:
|
|
1331
|
+
declare const FrequentlyAskedQuestions: React__default.FC<FrequentlyAskedQuestions>;
|
|
1327
1332
|
|
|
1328
1333
|
declare const Spinner: () => JSX.Element;
|
|
1329
1334
|
|
|
@@ -1333,7 +1338,7 @@ type RefresherProps = {
|
|
|
1333
1338
|
};
|
|
1334
1339
|
declare const Refresher: FC<RefresherProps>;
|
|
1335
1340
|
|
|
1336
|
-
declare const Toast:
|
|
1341
|
+
declare const Toast: React__default.FC<ToastProps>;
|
|
1337
1342
|
|
|
1338
1343
|
type ToastButton = {
|
|
1339
1344
|
text: string;
|
|
@@ -1356,7 +1361,7 @@ type CustomRadioButtonProps = {
|
|
|
1356
1361
|
checked?: boolean;
|
|
1357
1362
|
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
1358
1363
|
};
|
|
1359
|
-
declare const CustomRadioButton:
|
|
1364
|
+
declare const CustomRadioButton: React__default.ForwardRefExoticComponent<CustomRadioButtonProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
1360
1365
|
|
|
1361
1366
|
type ListItemType = {
|
|
1362
1367
|
id: ReactText;
|
|
@@ -1414,14 +1419,14 @@ type TypographyProps = {
|
|
|
1414
1419
|
opacity?: TypographyOpacityType;
|
|
1415
1420
|
isAppearCase?: boolean;
|
|
1416
1421
|
className?: string;
|
|
1417
|
-
children:
|
|
1422
|
+
children: React__default.ReactNode;
|
|
1418
1423
|
};
|
|
1419
|
-
declare const _default$
|
|
1424
|
+
declare const _default$6: React__default.NamedExoticComponent<TypographyProps>;
|
|
1420
1425
|
|
|
1421
1426
|
type AppFooterProps = {
|
|
1422
|
-
children:
|
|
1427
|
+
children: React__default.ReactNode;
|
|
1423
1428
|
};
|
|
1424
|
-
declare const _default$
|
|
1429
|
+
declare const _default$5: React__default.NamedExoticComponent<AppFooterProps>;
|
|
1425
1430
|
|
|
1426
1431
|
type AvatarRoundVariants = 'circle' | 'drop';
|
|
1427
1432
|
|
|
@@ -1433,14 +1438,14 @@ type AvatarProps = {
|
|
|
1433
1438
|
alt?: string;
|
|
1434
1439
|
showSkeleton?: boolean;
|
|
1435
1440
|
};
|
|
1436
|
-
declare const _default$
|
|
1441
|
+
declare const _default$4: React__default.NamedExoticComponent<AvatarProps>;
|
|
1437
1442
|
|
|
1438
1443
|
type SkeletonProps = {
|
|
1439
1444
|
animated?: boolean;
|
|
1440
1445
|
className?: string;
|
|
1441
|
-
style?:
|
|
1446
|
+
style?: React__default.CSSProperties;
|
|
1442
1447
|
};
|
|
1443
|
-
declare const _default$
|
|
1448
|
+
declare const _default$3: React__default.NamedExoticComponent<SkeletonProps>;
|
|
1444
1449
|
|
|
1445
1450
|
type ButtonProps = {
|
|
1446
1451
|
fill?: 'outline' | 'clear';
|
|
@@ -1449,7 +1454,7 @@ type ButtonProps = {
|
|
|
1449
1454
|
fullWidth?: boolean;
|
|
1450
1455
|
className?: string;
|
|
1451
1456
|
routerLink?: string;
|
|
1452
|
-
onClick?: (e:
|
|
1457
|
+
onClick?: (e: React__default.MouseEvent<HTMLIonButtonElement>) => void;
|
|
1453
1458
|
isLoading?: boolean;
|
|
1454
1459
|
} & JSX$1.IonButton;
|
|
1455
1460
|
declare const Button_v2: FC<ButtonProps>;
|
|
@@ -1459,22 +1464,17 @@ type ContainerProps = {
|
|
|
1459
1464
|
scrollEvents?: boolean;
|
|
1460
1465
|
onIonScroll?: (e: IonContentCustomEvent<ScrollDetail>) => void | undefined;
|
|
1461
1466
|
onIonScrollStart?: (e: IonContentCustomEvent<ScrollBaseDetail>) => void | undefined;
|
|
1462
|
-
children:
|
|
1467
|
+
children: React__default.ReactNode;
|
|
1463
1468
|
style?: CSSProperties;
|
|
1464
|
-
as?:
|
|
1469
|
+
as?: React__default.ElementType;
|
|
1465
1470
|
};
|
|
1466
|
-
declare const Container_v2:
|
|
1471
|
+
declare const Container_v2: React__default.ForwardRefExoticComponent<ContainerProps & React__default.RefAttributes<HTMLIonContentElement>>;
|
|
1467
1472
|
|
|
1468
|
-
declare const flagsComponents: {
|
|
1469
|
-
uk: React.LazyExoticComponent<() => JSX.Element>;
|
|
1470
|
-
pl: React.LazyExoticComponent<() => JSX.Element>;
|
|
1471
|
-
};
|
|
1472
|
-
type AvailableFlags = keyof typeof flagsComponents;
|
|
1473
1473
|
type FlagProps = {
|
|
1474
|
-
name:
|
|
1474
|
+
name: string;
|
|
1475
1475
|
className?: string;
|
|
1476
1476
|
};
|
|
1477
|
-
declare const _default$
|
|
1477
|
+
declare const _default$2: React__default.NamedExoticComponent<FlagProps>;
|
|
1478
1478
|
|
|
1479
1479
|
type PictureProps = {
|
|
1480
1480
|
width: number;
|
|
@@ -1489,7 +1489,39 @@ type PictureProps = {
|
|
|
1489
1489
|
alt?: string;
|
|
1490
1490
|
className?: string;
|
|
1491
1491
|
};
|
|
1492
|
-
declare const _default:
|
|
1492
|
+
declare const _default$1: React__default.NamedExoticComponent<PictureProps>;
|
|
1493
|
+
|
|
1494
|
+
type BadgeType = 'default' | 'accent';
|
|
1495
|
+
type BadgeVariants = 'attention' | 'neutral' | 'success' | 'warning' | 'brand' | 'info';
|
|
1496
|
+
type BadgeProps = React.ComponentPropsWithoutRef<'span'> & {
|
|
1497
|
+
variant: BadgeVariants;
|
|
1498
|
+
size?: 'S' | 'M';
|
|
1499
|
+
type?: BadgeType;
|
|
1500
|
+
};
|
|
1501
|
+
|
|
1502
|
+
declare const _default: React.NamedExoticComponent<BadgeProps>;
|
|
1503
|
+
|
|
1504
|
+
type ListOptionsProps = {
|
|
1505
|
+
item: Node<unknown>;
|
|
1506
|
+
state: ListState<unknown>;
|
|
1507
|
+
icon?: React.ReactNode;
|
|
1508
|
+
divider?: boolean;
|
|
1509
|
+
value?: string;
|
|
1510
|
+
};
|
|
1511
|
+
type ListBoxItemProps = {
|
|
1512
|
+
icon?: React.ReactNode;
|
|
1513
|
+
divider?: boolean;
|
|
1514
|
+
value?: string;
|
|
1515
|
+
children: React.ReactNode;
|
|
1516
|
+
className?: string;
|
|
1517
|
+
};
|
|
1518
|
+
|
|
1519
|
+
declare const ListOption: React.ForwardRefExoticComponent<ListOptionsProps & React.RefAttributes<HTMLLIElement>>;
|
|
1520
|
+
declare const ListBoxItem: (props: ItemProps<unknown> & ListBoxItemProps) => JSX.Element;
|
|
1521
|
+
|
|
1522
|
+
type ListBoxProps<T> = AriaListBoxProps<T>;
|
|
1523
|
+
|
|
1524
|
+
declare function ListBox<T extends Record<string, unknown>>(props: ListBoxProps<T>): JSX.Element;
|
|
1493
1525
|
|
|
1494
1526
|
declare enum appThemes {
|
|
1495
1527
|
client = "client",
|
|
@@ -1501,4 +1533,31 @@ type ThemeProviderProps = {
|
|
|
1501
1533
|
|
|
1502
1534
|
declare const ThemeProvider: FC<ThemeProviderProps>;
|
|
1503
1535
|
|
|
1504
|
-
|
|
1536
|
+
declare function useDomRef<T extends HTMLElement = HTMLElement>(ref: React.RefObject<T | null> | React.ForwardedRef<T | null>): React.RefObject<T>;
|
|
1537
|
+
|
|
1538
|
+
type CountryOfOriginModalProps = {
|
|
1539
|
+
countries: string[];
|
|
1540
|
+
onSearchChange: (event: IonSearchbarCustomEvent<SearchbarChangeEventDetail>) => void;
|
|
1541
|
+
searchValue: string;
|
|
1542
|
+
searchPlaceholder?: string;
|
|
1543
|
+
onItemClick: (clickedItem: string) => void;
|
|
1544
|
+
} & JSX$1.IonModal;
|
|
1545
|
+
|
|
1546
|
+
declare const CountryOfOriginModal: React__default.FC<CountryOfOriginModalProps & WithTranslation>;
|
|
1547
|
+
|
|
1548
|
+
type LanguagesType = {
|
|
1549
|
+
name: string;
|
|
1550
|
+
code: string;
|
|
1551
|
+
};
|
|
1552
|
+
type ChangeLanguageModalProps = JSX$1.IonModal & {
|
|
1553
|
+
onModalClose: () => void;
|
|
1554
|
+
title: string;
|
|
1555
|
+
selected: string;
|
|
1556
|
+
isOpen: boolean;
|
|
1557
|
+
onSelect: (l: string) => void;
|
|
1558
|
+
languages: LanguagesType[];
|
|
1559
|
+
};
|
|
1560
|
+
|
|
1561
|
+
declare function ChangeLanguageModal({ title, onModalClose, onSelect, selected, languages, ...props }: ChangeLanguageModalProps): JSX.Element;
|
|
1562
|
+
|
|
1563
|
+
export { AppFooter, _default$5 as AppFooter_v2, AppHeader, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$4 as Avatar_v2, _default as Badge, _default$j as BookingScheduleTime, _default$i as BookingSpecialistInfo, Button, Button_v2, CancelSession, ChangeLangModal, ChangeLanguageModal, _default$E as ChatListItem, _default$C as ChatListSkeleton, _default$D as ChatMessage, ChatMessageSkeleton, _default$d as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, _default$v as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$s as ConsultationModal, _default$q as ConsultationSpecialistCard, Container, Container_v2, ContentCard, CountryOfOriginModal, CustomButton, _default$e as CustomCheckbox, CustomRadioButton, _default$f as CustomSelect, _default$g as CustomTextarea, DatePicker, _default$o as DaySlider, DayToRender, _default$k as EducationCard, _default$B as EmptyChatList, EmptyChatMessages, _default$t as EmptyConsultations, EntryNotFound, EntryNotFoundProps, _default$a as Flag, FlagTypes, _default$2 as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, LanguagesList, _default$I as LetterAvatar, _default$b as LineFileInput, ListBox, ListBoxItem, ListButton, ListItemType, ListOption, ListSelect, ListSelectProps, LouseConnect, _default$F as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$H as PersonDateTimeCard, _default$1 as Picture, _default$9 as ProfileInformation, _default$m as ProfileView, _default$c as ProgressBar, Range, _default$p as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$G as SelectImpressionEmoji, _default$u as SignUpSessionButton, _default$r as SignUpSessionModal, Skeleton, _default$3 as Skeleton_v2, _default$l as SpecialistAbout, SpecialistCard, _default$z as SpecialistEducationCard, SpecialistLangs, _default$8 as SpecialistMatch, _default$y as SpecialistProfileViewCard, _default$7 as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, Tag, _default$h as TextInput, _default$A as Textarea, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastProps, Toggle, TooltipComponent, _default$6 as Typography, TypographyVariantsEnum, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, _default$w as VideoCallInfo, _default$x as VideoPlayer, _default$n as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, toast, useDomRef };
|