@mindly/ui-components 1.7.0 → 1.7.2
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 +1 -25
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +2 -10
- package/dist/cjs/types/lib/button/Button.d.ts +1 -1
- package/dist/cjs/types/lib/consultation-card/ConsultationCard.d.ts +5 -13
- package/dist/esm/index.js +2 -26
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +2 -10
- package/dist/esm/types/lib/button/Button.d.ts +1 -1
- package/dist/esm/types/lib/consultation-card/ConsultationCard.d.ts +5 -13
- package/dist/index.d.ts +23 -105
- package/package.json +1 -1
- package/dist/cjs/b7649e1531c181af.svg +0 -69
- package/dist/cjs/types/lib/EntryNotFound/EntryNotFound.d.ts +0 -5
- package/dist/cjs/types/lib/EntryNotFound/EntryNotFound.style.d.ts +0 -2
- package/dist/cjs/types/lib/EntryNotFound/index.d.ts +0 -1
- package/dist/cjs/types/lib/HorisontalCalendar/HorizontalCalendar.d.ts +0 -37
- package/dist/cjs/types/lib/HorisontalCalendar/HorizontalCalendar.styled.d.ts +0 -2
- package/dist/cjs/types/lib/HorisontalCalendar/index.d.ts +0 -1
- package/dist/cjs/types/lib/ModalCalendar/ModalCalendar.d.ts +0 -9
- package/dist/cjs/types/lib/ModalCalendar/ModalCalendar.styled.d.ts +0 -3
- package/dist/cjs/types/lib/SelectImpressionEmoji/ImpressionEmojiEnum.d.ts +0 -8
- package/dist/cjs/types/lib/SelectImpressionEmoji/SelectImpressionEmoji.d.ts +0 -4
- package/dist/cjs/types/lib/SelectImpressionEmoji/SelectImpressionEmoji.styled.d.ts +0 -2
- package/dist/cjs/types/lib/SelectImpressionEmoji/SelectImpressionEmojiProps.d.ts +0 -6
- package/dist/cjs/types/lib/SelectImpressionEmoji/index.d.ts +0 -4
- package/dist/cjs/types/lib/TextEditor/TextEditor.d.ts +0 -6
- package/dist/cjs/types/lib/TextEditor/TextEditor.style.d.ts +0 -7
- package/dist/cjs/types/lib/TextEditor/TextEditorContainer.d.ts +0 -19
- package/dist/cjs/types/lib/TextEditor/index.d.ts +0 -1
- package/dist/cjs/types/lib/consultation-card/ConsultationCardSkeleton.d.ts +0 -2
- package/dist/cjs/types/lib/consultation-card/index.d.ts +0 -2
- package/dist/esm/b7649e1531c181af.svg +0 -69
- package/dist/esm/types/lib/EntryNotFound/EntryNotFound.d.ts +0 -5
- package/dist/esm/types/lib/EntryNotFound/EntryNotFound.style.d.ts +0 -2
- package/dist/esm/types/lib/EntryNotFound/index.d.ts +0 -1
- package/dist/esm/types/lib/HorisontalCalendar/HorizontalCalendar.d.ts +0 -37
- package/dist/esm/types/lib/HorisontalCalendar/HorizontalCalendar.styled.d.ts +0 -2
- package/dist/esm/types/lib/HorisontalCalendar/index.d.ts +0 -1
- package/dist/esm/types/lib/ModalCalendar/ModalCalendar.d.ts +0 -9
- package/dist/esm/types/lib/ModalCalendar/ModalCalendar.styled.d.ts +0 -3
- package/dist/esm/types/lib/SelectImpressionEmoji/ImpressionEmojiEnum.d.ts +0 -8
- package/dist/esm/types/lib/SelectImpressionEmoji/SelectImpressionEmoji.d.ts +0 -4
- package/dist/esm/types/lib/SelectImpressionEmoji/SelectImpressionEmoji.styled.d.ts +0 -2
- package/dist/esm/types/lib/SelectImpressionEmoji/SelectImpressionEmojiProps.d.ts +0 -6
- package/dist/esm/types/lib/SelectImpressionEmoji/index.d.ts +0 -4
- package/dist/esm/types/lib/TextEditor/TextEditor.d.ts +0 -6
- package/dist/esm/types/lib/TextEditor/TextEditor.style.d.ts +0 -7
- package/dist/esm/types/lib/TextEditor/TextEditorContainer.d.ts +0 -19
- package/dist/esm/types/lib/TextEditor/index.d.ts +0 -1
- package/dist/esm/types/lib/consultation-card/ConsultationCardSkeleton.d.ts +0 -2
- package/dist/esm/types/lib/consultation-card/index.d.ts +0 -2
|
@@ -3,6 +3,7 @@ import { FloatingButton } from './lib/floating-button/FloatingButton';
|
|
|
3
3
|
import { FooterForBooking } from './lib/footer-for-booking/FooterForBooking';
|
|
4
4
|
import { ListButton } from './lib/list-button/ListButton';
|
|
5
5
|
import { NavigationBar } from './lib/navigation-bar/NavigationBar';
|
|
6
|
+
import { ConsultationCard } from './lib/consultation-card/ConsultationCard';
|
|
6
7
|
import { ContentCard } from './lib/content-card/ContentCard';
|
|
7
8
|
import { TherapistCard } from './lib/therapist-card/TherapistCard';
|
|
8
9
|
import { toast } from './lib/toast/toast';
|
|
@@ -14,13 +15,4 @@ import { Input } from './lib/input/Input';
|
|
|
14
15
|
import { ScrollTabs } from './lib/scroll-tabs/ScrollTabs';
|
|
15
16
|
import { TabBar } from './lib/tab-bar/TabBar';
|
|
16
17
|
import { YourLocalTimeBlock } from './lib/your-local-time-block/YourLocalTimeBlock';
|
|
17
|
-
|
|
18
|
-
import SelectImpressionEmoji from './lib/SelectImpressionEmoji';
|
|
19
|
-
import SelectImpressionEmojiProps from './lib/SelectImpressionEmoji/SelectImpressionEmojiProps';
|
|
20
|
-
import ImpressionEmojiEnum from './lib/SelectImpressionEmoji/ImpressionEmojiEnum';
|
|
21
|
-
export { ArchivedConsultationCard, DatePicker, Button, FloatingButton, FooterForBooking, ListButton, NavigationBar, ContentCard, TherapistCard, toast, NoInternetConnection, TherapistInformationComponent, Input, ScrollTabs, TabBar, YourLocalTimeBlock, ModalCalendar, SelectImpressionEmoji, ImpressionEmojiEnum, };
|
|
22
|
-
export type { SelectImpressionEmojiProps };
|
|
23
|
-
export * from './lib/EntryNotFound';
|
|
24
|
-
export * from './lib/consultation-card';
|
|
25
|
-
export * from './lib/TextEditor';
|
|
26
|
-
export * from './lib/HorisontalCalendar';
|
|
18
|
+
export { ArchivedConsultationCard, DatePicker, Button, FloatingButton, FooterForBooking, ListButton, NavigationBar, ConsultationCard, ContentCard, TherapistCard, toast, NoInternetConnection, TherapistInformationComponent, Input, ScrollTabs, TabBar, YourLocalTimeBlock, };
|
|
@@ -4,7 +4,7 @@ export interface ButtonProps {
|
|
|
4
4
|
buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive' | 'actionButtonGreen';
|
|
5
5
|
isDisabled: boolean;
|
|
6
6
|
children: React.ReactNode;
|
|
7
|
-
onClick
|
|
7
|
+
onClick: (props?: React.SyntheticEvent) => void;
|
|
8
8
|
['data-testid']?: string;
|
|
9
9
|
}
|
|
10
10
|
export declare const Button: React.FC<ButtonProps>;
|
|
@@ -1,26 +1,18 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import '../Theme/global.css';
|
|
3
|
-
export declare enum DayOfWeeks {
|
|
4
|
-
'Неділя' = 0,
|
|
5
|
-
'Понеділок' = 1,
|
|
6
|
-
'Вівторок' = 2,
|
|
7
|
-
'Середа' = 3,
|
|
8
|
-
'Четверг' = 4,
|
|
9
|
-
"П'ятниця" = 5,
|
|
10
|
-
'Субота' = 6
|
|
11
|
-
}
|
|
12
3
|
export interface ConsultationCardProps {
|
|
13
4
|
startConsultation: (props?: React.SyntheticEvent) => void;
|
|
14
5
|
handleReschedule: (props?: React.SyntheticEvent) => void;
|
|
15
6
|
handleRefund: (props?: React.SyntheticEvent) => void;
|
|
16
|
-
handleNotes?: (props?: React.SyntheticEvent) => void;
|
|
17
7
|
consultationWith: string;
|
|
18
8
|
day: string;
|
|
19
9
|
time: string;
|
|
20
|
-
dayOfWeek?: DayOfWeeks;
|
|
21
10
|
avatar: string;
|
|
22
|
-
|
|
23
|
-
|
|
11
|
+
isFree?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Consultation price
|
|
14
|
+
*/
|
|
15
|
+
price: string;
|
|
24
16
|
['data-container-testid']?: string;
|
|
25
17
|
['data-start-testid']?: string;
|
|
26
18
|
['data-reschedule-testid']?: string;
|