@mindly/ui-components 1.5.3 → 1.5.4
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 +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +2 -2
- package/dist/cjs/types/lib/HorisontalCalendar/HorizontalCalendar.d.ts +2 -2
- package/dist/cjs/types/lib/HorisontalCalendar/index.d.ts +1 -0
- package/dist/cjs/types/lib/consultation-card/ConsultationCard.d.ts +2 -2
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +2 -2
- package/dist/esm/types/lib/HorisontalCalendar/HorizontalCalendar.d.ts +2 -2
- package/dist/esm/types/lib/HorisontalCalendar/index.d.ts +1 -0
- package/dist/esm/types/lib/consultation-card/ConsultationCard.d.ts +2 -2
- package/dist/index.d.ts +39 -38
- package/package.json +1 -1
|
@@ -14,8 +14,8 @@ import { Input } from './lib/input/Input';
|
|
|
14
14
|
import { ScrollTabs } from './lib/scroll-tabs/ScrollTabs';
|
|
15
15
|
import { TabBar } from './lib/tab-bar/TabBar';
|
|
16
16
|
import { YourLocalTimeBlock } from './lib/your-local-time-block/YourLocalTimeBlock';
|
|
17
|
-
import { HorizontalCalendar } from './lib/HorisontalCalendar/HorizontalCalendar';
|
|
18
17
|
import { ModalCalendar } from './lib/ModalCalendar/ModalCalendar';
|
|
19
|
-
export { ArchivedConsultationCard, DatePicker, Button, FloatingButton, FooterForBooking, ListButton, NavigationBar, ContentCard, TherapistCard, toast, NoInternetConnection, TherapistInformationComponent, Input, ScrollTabs, TabBar, YourLocalTimeBlock,
|
|
18
|
+
export { ArchivedConsultationCard, DatePicker, Button, FloatingButton, FooterForBooking, ListButton, NavigationBar, ContentCard, TherapistCard, toast, NoInternetConnection, TherapistInformationComponent, Input, ScrollTabs, TabBar, YourLocalTimeBlock, ModalCalendar, };
|
|
20
19
|
export * from './lib/EntryNotFound';
|
|
21
20
|
export * from './lib/consultation-card';
|
|
21
|
+
export * from './lib/HorisontalCalendar';
|
|
@@ -15,7 +15,7 @@ export declare type HorizontalCalendarProps = {
|
|
|
15
15
|
*/
|
|
16
16
|
startFrom?: Date;
|
|
17
17
|
};
|
|
18
|
-
declare enum DayOfWeek {
|
|
18
|
+
export declare enum DayOfWeek {
|
|
19
19
|
SUN = "\u041D\u0434",
|
|
20
20
|
MON = "\u041F\u043D",
|
|
21
21
|
TUE = "\u0412\u0442",
|
|
@@ -24,6 +24,7 @@ declare enum DayOfWeek {
|
|
|
24
24
|
FRI = "\u041F\u0442",
|
|
25
25
|
SAT = "\u0421\u0431"
|
|
26
26
|
}
|
|
27
|
+
export declare function dateToShortDate(d: Date): string;
|
|
27
28
|
export declare type DayToRender = {
|
|
28
29
|
/**
|
|
29
30
|
* e.g. "2.2.122", "24.4.122"
|
|
@@ -33,4 +34,3 @@ export declare type DayToRender = {
|
|
|
33
34
|
dayOfWeek: DayOfWeek;
|
|
34
35
|
};
|
|
35
36
|
export declare const HorizontalCalendar: React.FC<HorizontalCalendarProps>;
|
|
36
|
-
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './HorizontalCalendar';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import '../Theme/global.css';
|
|
3
|
-
export declare enum
|
|
3
|
+
export declare enum DayOfWeeks {
|
|
4
4
|
'Неділя' = 0,
|
|
5
5
|
'Понеділок' = 1,
|
|
6
6
|
'Вівторок' = 2,
|
|
@@ -17,7 +17,7 @@ export interface ConsultationCardProps {
|
|
|
17
17
|
consultationWith: string;
|
|
18
18
|
day: string;
|
|
19
19
|
time: string;
|
|
20
|
-
dayOfWeek?:
|
|
20
|
+
dayOfWeek?: DayOfWeeks;
|
|
21
21
|
avatar: string;
|
|
22
22
|
autorecord?: boolean;
|
|
23
23
|
finished?: boolean;
|