@mindly/ui-components 1.7.2 → 1.7.5
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/b7649e1531c181af.svg +69 -0
- package/dist/cjs/index.js +15 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +9 -2
- package/dist/cjs/types/lib/EntryNotFound/EntryNotFound.d.ts +5 -0
- package/dist/cjs/types/lib/EntryNotFound/EntryNotFound.style.d.ts +2 -0
- package/dist/cjs/types/lib/EntryNotFound/index.d.ts +1 -0
- package/dist/cjs/types/lib/HorisontalCalendar/HorizontalCalendar.d.ts +37 -0
- package/dist/cjs/types/lib/HorisontalCalendar/HorizontalCalendar.styled.d.ts +2 -0
- package/dist/cjs/types/lib/HorisontalCalendar/index.d.ts +1 -0
- package/dist/cjs/types/lib/ModalCalendar/ModalCalendar.d.ts +9 -0
- package/dist/cjs/types/lib/ModalCalendar/ModalCalendar.styled.d.ts +3 -0
- package/dist/cjs/types/lib/SelectImpressionEmoji/ImpressionEmojiEnum.d.ts +8 -0
- package/dist/cjs/types/lib/SelectImpressionEmoji/SelectImpressionEmoji.d.ts +4 -0
- package/dist/cjs/types/lib/SelectImpressionEmoji/SelectImpressionEmoji.styled.d.ts +2 -0
- package/dist/cjs/types/lib/SelectImpressionEmoji/SelectImpressionEmojiProps.d.ts +6 -0
- package/dist/cjs/types/lib/SelectImpressionEmoji/index.d.ts +4 -0
- package/dist/cjs/types/lib/button/Button.d.ts +1 -1
- package/dist/cjs/types/lib/consultation-card/ConsultationCard.d.ts +13 -5
- package/dist/cjs/types/lib/consultation-card/ConsultationCardSkeleton.d.ts +2 -0
- package/dist/cjs/types/lib/consultation-card/index.d.ts +2 -0
- package/dist/esm/b7649e1531c181af.svg +69 -0
- package/dist/esm/index.js +16 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +9 -2
- package/dist/esm/types/lib/EntryNotFound/EntryNotFound.d.ts +5 -0
- package/dist/esm/types/lib/EntryNotFound/EntryNotFound.style.d.ts +2 -0
- package/dist/esm/types/lib/EntryNotFound/index.d.ts +1 -0
- package/dist/esm/types/lib/HorisontalCalendar/HorizontalCalendar.d.ts +37 -0
- package/dist/esm/types/lib/HorisontalCalendar/HorizontalCalendar.styled.d.ts +2 -0
- package/dist/esm/types/lib/HorisontalCalendar/index.d.ts +1 -0
- package/dist/esm/types/lib/ModalCalendar/ModalCalendar.d.ts +9 -0
- package/dist/esm/types/lib/ModalCalendar/ModalCalendar.styled.d.ts +3 -0
- package/dist/esm/types/lib/SelectImpressionEmoji/ImpressionEmojiEnum.d.ts +8 -0
- package/dist/esm/types/lib/SelectImpressionEmoji/SelectImpressionEmoji.d.ts +4 -0
- package/dist/esm/types/lib/SelectImpressionEmoji/SelectImpressionEmoji.styled.d.ts +2 -0
- package/dist/esm/types/lib/SelectImpressionEmoji/SelectImpressionEmojiProps.d.ts +6 -0
- package/dist/esm/types/lib/SelectImpressionEmoji/index.d.ts +4 -0
- package/dist/esm/types/lib/button/Button.d.ts +1 -1
- package/dist/esm/types/lib/consultation-card/ConsultationCard.d.ts +13 -5
- package/dist/esm/types/lib/consultation-card/ConsultationCardSkeleton.d.ts +2 -0
- package/dist/esm/types/lib/consultation-card/index.d.ts +2 -0
- package/dist/index.d.ts +98 -23
- package/package.json +1 -4
|
@@ -3,7 +3,6 @@ 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';
|
|
7
6
|
import { ContentCard } from './lib/content-card/ContentCard';
|
|
8
7
|
import { TherapistCard } from './lib/therapist-card/TherapistCard';
|
|
9
8
|
import { toast } from './lib/toast/toast';
|
|
@@ -15,4 +14,12 @@ import { Input } from './lib/input/Input';
|
|
|
15
14
|
import { ScrollTabs } from './lib/scroll-tabs/ScrollTabs';
|
|
16
15
|
import { TabBar } from './lib/tab-bar/TabBar';
|
|
17
16
|
import { YourLocalTimeBlock } from './lib/your-local-time-block/YourLocalTimeBlock';
|
|
18
|
-
|
|
17
|
+
import { ModalCalendar } from './lib/ModalCalendar/ModalCalendar';
|
|
18
|
+
import { DayToRender, HorizontalCalendar } from './lib/HorisontalCalendar';
|
|
19
|
+
import SelectImpressionEmoji from './lib/SelectImpressionEmoji';
|
|
20
|
+
import SelectImpressionEmojiProps from './lib/SelectImpressionEmoji/SelectImpressionEmojiProps';
|
|
21
|
+
import ImpressionEmojiEnum from './lib/SelectImpressionEmoji/ImpressionEmojiEnum';
|
|
22
|
+
export { ArchivedConsultationCard, DatePicker, Button, FloatingButton, FooterForBooking, ListButton, NavigationBar, ContentCard, TherapistCard, toast, NoInternetConnection, TherapistInformationComponent, Input, ScrollTabs, TabBar, YourLocalTimeBlock, ModalCalendar, HorizontalCalendar, SelectImpressionEmoji, ImpressionEmojiEnum, };
|
|
23
|
+
export type { SelectImpressionEmojiProps, DayToRender };
|
|
24
|
+
export * from './lib/EntryNotFound';
|
|
25
|
+
export * from './lib/consultation-card';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EntryNotFound';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type HorizontalCalendarProps = {
|
|
3
|
+
consultationDatesSeconds?: number[];
|
|
4
|
+
/**
|
|
5
|
+
* Days to be rendered. e.g. 15 - means 7 before today and 7 after today
|
|
6
|
+
*/
|
|
7
|
+
daysToRender?: number;
|
|
8
|
+
value?: DayToRender | Date;
|
|
9
|
+
onChange?: (value: DayToRender) => void;
|
|
10
|
+
/**
|
|
11
|
+
* date from which a component should start coordinates.
|
|
12
|
+
* e.g. startFrom = "15.01.2022", daysToRender=5
|
|
13
|
+
* return ["13.02.2022", "14.01.2022", "15.01.2022", "16.01.2022", "17.01.2022"]
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
startFrom?: Date;
|
|
17
|
+
};
|
|
18
|
+
declare enum DayOfWeek {
|
|
19
|
+
SUN = "\u041D\u0434",
|
|
20
|
+
MON = "\u041F\u043D",
|
|
21
|
+
TUE = "\u0412\u0442",
|
|
22
|
+
WED = "\u0421\u0440",
|
|
23
|
+
THU = "\u0427\u0442",
|
|
24
|
+
FRI = "\u041F\u0442",
|
|
25
|
+
SAT = "\u0421\u0431"
|
|
26
|
+
}
|
|
27
|
+
export declare type DayToRender = {
|
|
28
|
+
/**
|
|
29
|
+
* e.g. "2.2.122", "24.4.122"
|
|
30
|
+
*/
|
|
31
|
+
shortDate: string;
|
|
32
|
+
dayOfMonth: number;
|
|
33
|
+
dayOfWeek: DayOfWeek;
|
|
34
|
+
date: Date;
|
|
35
|
+
};
|
|
36
|
+
export declare const HorizontalCalendar: React.FC<HorizontalCalendarProps>;
|
|
37
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './HorizontalCalendar';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import 'react-day-picker/dist/style.css';
|
|
3
|
+
export declare type ModalCalendarProps = {
|
|
4
|
+
onDismiss: () => void;
|
|
5
|
+
onDaySelected: (day: Date) => void;
|
|
6
|
+
consultationDays: Date[];
|
|
7
|
+
selectedDate?: Date;
|
|
8
|
+
};
|
|
9
|
+
export declare const ModalCalendar: React.FC<ModalCalendarProps>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const ModalCalendarStyled: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("react").HTMLAttributes<unknown>, "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" | "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" | "children" | "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<unknown>>, any, {}, never>;
|
|
3
|
+
export default ModalCalendarStyled;
|
|
@@ -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,18 +1,26 @@
|
|
|
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
|
+
}
|
|
3
12
|
export interface ConsultationCardProps {
|
|
4
13
|
startConsultation: (props?: React.SyntheticEvent) => void;
|
|
5
14
|
handleReschedule: (props?: React.SyntheticEvent) => void;
|
|
6
15
|
handleRefund: (props?: React.SyntheticEvent) => void;
|
|
16
|
+
handleNotes?: (props?: React.SyntheticEvent) => void;
|
|
7
17
|
consultationWith: string;
|
|
8
18
|
day: string;
|
|
9
19
|
time: string;
|
|
20
|
+
dayOfWeek?: DayOfWeeks;
|
|
10
21
|
avatar: string;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* Consultation price
|
|
14
|
-
*/
|
|
15
|
-
price: string;
|
|
22
|
+
autorecord?: boolean;
|
|
23
|
+
finished?: boolean;
|
|
16
24
|
['data-container-testid']?: string;
|
|
17
25
|
['data-start-testid']?: string;
|
|
18
26
|
['data-reschedule-testid']?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React, { ReactNode, FC } from 'react';
|
|
2
3
|
|
|
3
4
|
interface ButtonProps {
|
|
4
5
|
buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive' | 'actionButtonGreen';
|
|
5
6
|
isDisabled: boolean;
|
|
6
7
|
children: React.ReactNode;
|
|
7
|
-
onClick
|
|
8
|
+
onClick?: (props?: React.SyntheticEvent) => void;
|
|
8
9
|
['data-testid']?: string;
|
|
9
10
|
}
|
|
10
11
|
declare const Button: React.FC<ButtonProps>;
|
|
@@ -40,26 +41,6 @@ interface NavigationBarProps {
|
|
|
40
41
|
}
|
|
41
42
|
declare const NavigationBar: React.FC<NavigationBarProps>;
|
|
42
43
|
|
|
43
|
-
interface ConsultationCardProps {
|
|
44
|
-
startConsultation: (props?: React.SyntheticEvent) => void;
|
|
45
|
-
handleReschedule: (props?: React.SyntheticEvent) => void;
|
|
46
|
-
handleRefund: (props?: React.SyntheticEvent) => void;
|
|
47
|
-
consultationWith: string;
|
|
48
|
-
day: string;
|
|
49
|
-
time: string;
|
|
50
|
-
avatar: string;
|
|
51
|
-
isFree?: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Consultation price
|
|
54
|
-
*/
|
|
55
|
-
price: string;
|
|
56
|
-
['data-container-testid']?: string;
|
|
57
|
-
['data-start-testid']?: string;
|
|
58
|
-
['data-reschedule-testid']?: string;
|
|
59
|
-
['data-refund-testid']?: string;
|
|
60
|
-
}
|
|
61
|
-
declare const ConsultationCard: React.FC<ConsultationCardProps>;
|
|
62
|
-
|
|
63
44
|
interface ContentCardProps {
|
|
64
45
|
contentVideo?: {
|
|
65
46
|
title: string;
|
|
@@ -161,4 +142,98 @@ interface YourLocalTimeBlockProps {
|
|
|
161
142
|
}
|
|
162
143
|
declare const YourLocalTimeBlock: React.FC<YourLocalTimeBlockProps>;
|
|
163
144
|
|
|
164
|
-
|
|
145
|
+
declare type ModalCalendarProps = {
|
|
146
|
+
onDismiss: () => void;
|
|
147
|
+
onDaySelected: (day: Date) => void;
|
|
148
|
+
consultationDays: Date[];
|
|
149
|
+
selectedDate?: Date;
|
|
150
|
+
};
|
|
151
|
+
declare const ModalCalendar: React.FC<ModalCalendarProps>;
|
|
152
|
+
|
|
153
|
+
declare type HorizontalCalendarProps = {
|
|
154
|
+
consultationDatesSeconds?: number[];
|
|
155
|
+
/**
|
|
156
|
+
* Days to be rendered. e.g. 15 - means 7 before today and 7 after today
|
|
157
|
+
*/
|
|
158
|
+
daysToRender?: number;
|
|
159
|
+
value?: DayToRender | Date;
|
|
160
|
+
onChange?: (value: DayToRender) => void;
|
|
161
|
+
/**
|
|
162
|
+
* date from which a component should start coordinates.
|
|
163
|
+
* e.g. startFrom = "15.01.2022", daysToRender=5
|
|
164
|
+
* return ["13.02.2022", "14.01.2022", "15.01.2022", "16.01.2022", "17.01.2022"]
|
|
165
|
+
*
|
|
166
|
+
*/
|
|
167
|
+
startFrom?: Date;
|
|
168
|
+
};
|
|
169
|
+
declare enum DayOfWeek {
|
|
170
|
+
SUN = "\u041D\u0434",
|
|
171
|
+
MON = "\u041F\u043D",
|
|
172
|
+
TUE = "\u0412\u0442",
|
|
173
|
+
WED = "\u0421\u0440",
|
|
174
|
+
THU = "\u0427\u0442",
|
|
175
|
+
FRI = "\u041F\u0442",
|
|
176
|
+
SAT = "\u0421\u0431"
|
|
177
|
+
}
|
|
178
|
+
declare type DayToRender = {
|
|
179
|
+
/**
|
|
180
|
+
* e.g. "2.2.122", "24.4.122"
|
|
181
|
+
*/
|
|
182
|
+
shortDate: string;
|
|
183
|
+
dayOfMonth: number;
|
|
184
|
+
dayOfWeek: DayOfWeek;
|
|
185
|
+
date: Date;
|
|
186
|
+
};
|
|
187
|
+
declare const HorizontalCalendar: React.FC<HorizontalCalendarProps>;
|
|
188
|
+
|
|
189
|
+
declare enum ImpressionEmojiEnum {
|
|
190
|
+
DEPRESSED = -2,
|
|
191
|
+
SAD = -1,
|
|
192
|
+
NEUTRAL = 0,
|
|
193
|
+
HAPPY = 1,
|
|
194
|
+
LOVELY = 2
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
declare type SelectImpressionEmojiProps = {
|
|
198
|
+
value?: ImpressionEmojiEnum;
|
|
199
|
+
onChange?: (val: ImpressionEmojiEnum) => void;
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
declare const _default: React.NamedExoticComponent<SelectImpressionEmojiProps>;
|
|
203
|
+
|
|
204
|
+
declare type EntryNotFoundProps = {
|
|
205
|
+
title?: string;
|
|
206
|
+
};
|
|
207
|
+
declare const EntryNotFound: FC<EntryNotFoundProps>;
|
|
208
|
+
|
|
209
|
+
declare enum DayOfWeeks {
|
|
210
|
+
'Неділя' = 0,
|
|
211
|
+
'Понеділок' = 1,
|
|
212
|
+
'Вівторок' = 2,
|
|
213
|
+
'Середа' = 3,
|
|
214
|
+
'Четверг' = 4,
|
|
215
|
+
"П'ятниця" = 5,
|
|
216
|
+
'Субота' = 6
|
|
217
|
+
}
|
|
218
|
+
interface ConsultationCardProps {
|
|
219
|
+
startConsultation: (props?: React.SyntheticEvent) => void;
|
|
220
|
+
handleReschedule: (props?: React.SyntheticEvent) => void;
|
|
221
|
+
handleRefund: (props?: React.SyntheticEvent) => void;
|
|
222
|
+
handleNotes?: (props?: React.SyntheticEvent) => void;
|
|
223
|
+
consultationWith: string;
|
|
224
|
+
day: string;
|
|
225
|
+
time: string;
|
|
226
|
+
dayOfWeek?: DayOfWeeks;
|
|
227
|
+
avatar: string;
|
|
228
|
+
autorecord?: boolean;
|
|
229
|
+
finished?: boolean;
|
|
230
|
+
['data-container-testid']?: string;
|
|
231
|
+
['data-start-testid']?: string;
|
|
232
|
+
['data-reschedule-testid']?: string;
|
|
233
|
+
['data-refund-testid']?: string;
|
|
234
|
+
}
|
|
235
|
+
declare const ConsultationCard: React.FC<ConsultationCardProps>;
|
|
236
|
+
|
|
237
|
+
declare const ConsultationCardSkeleton: () => JSX.Element;
|
|
238
|
+
|
|
239
|
+
export { ArchivedConsultationCard, Button, ConsultationCard, ConsultationCardProps, ConsultationCardSkeleton, ContentCard, DatePicker, DayOfWeeks, DayToRender, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, ImpressionEmojiEnum, Input, ListButton, ModalCalendar, NavigationBar, NoInternetConnection, ScrollTabs, _default as SelectImpressionEmoji, SelectImpressionEmojiProps, TabBar, TherapistCard, TherapistInformationComponent, YourLocalTimeBlock, toast };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindly/ui-components",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "react-scripts start",
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
"-": "^0.0.1",
|
|
20
20
|
"@babel/polyfill": "^7.12.1",
|
|
21
21
|
"@ionic/react": "^5.8.0",
|
|
22
|
-
"@ionic/react-hooks": "^0.0.8",
|
|
23
22
|
"@ionic/react-router": "^5.8.0",
|
|
24
23
|
"@storybook/addon-viewport": "^6.3.10",
|
|
25
24
|
"@storybook/cli": "^6.4.20",
|
|
@@ -36,7 +35,6 @@
|
|
|
36
35
|
"react-day-picker": "^8.0.5",
|
|
37
36
|
"react-dom": "^17.0.2",
|
|
38
37
|
"react-refresh": "^0.9.0",
|
|
39
|
-
"react-rte": "^0.16.5",
|
|
40
38
|
"react-scripts": "4.0.3",
|
|
41
39
|
"styled-components": "^5.3.1",
|
|
42
40
|
"web-vitals": "^1.1.2"
|
|
@@ -118,7 +116,6 @@
|
|
|
118
116
|
"@storybook/preset-create-react-app": "^3.2.0",
|
|
119
117
|
"@storybook/react": "^6.3.9",
|
|
120
118
|
"@svgr/rollup": "^5.5.0",
|
|
121
|
-
"@types/react-rte": "^0.16.3",
|
|
122
119
|
"@types/styled-components": "^5.1.13",
|
|
123
120
|
"@typescript-eslint/parser": "^4.30.0",
|
|
124
121
|
"babel-cli": "^6.26.0",
|