@mindly/ui-components 1.7.5 → 1.9.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/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +5 -2
- package/dist/cjs/types/lib/ImageWithFallback/ImageWithFallback.d.ts +6 -0
- package/dist/cjs/types/lib/LetterAvatar/LetterAvatar.d.ts +7 -0
- package/dist/cjs/types/lib/LetterAvatar/LetterAvatar.styled.d.ts +2 -0
- package/dist/cjs/types/lib/PersonDateTimeCard/PersonDateTimeCard.d.ts +8 -0
- package/dist/cjs/types/lib/PersonDateTimeCard/PersonDateTimeCard.styled.d.ts +2 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +5 -2
- package/dist/esm/types/lib/ImageWithFallback/ImageWithFallback.d.ts +6 -0
- package/dist/esm/types/lib/LetterAvatar/LetterAvatar.d.ts +7 -0
- package/dist/esm/types/lib/LetterAvatar/LetterAvatar.styled.d.ts +2 -0
- package/dist/esm/types/lib/PersonDateTimeCard/PersonDateTimeCard.d.ts +8 -0
- package/dist/esm/types/lib/PersonDateTimeCard/PersonDateTimeCard.styled.d.ts +2 -0
- package/dist/index.d.ts +20 -2
- package/package.json +3 -1
|
@@ -19,7 +19,10 @@ import { DayToRender, HorizontalCalendar } from './lib/HorisontalCalendar';
|
|
|
19
19
|
import SelectImpressionEmoji from './lib/SelectImpressionEmoji';
|
|
20
20
|
import SelectImpressionEmojiProps from './lib/SelectImpressionEmoji/SelectImpressionEmojiProps';
|
|
21
21
|
import ImpressionEmojiEnum from './lib/SelectImpressionEmoji/ImpressionEmojiEnum';
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
import LetterAvatar, { LetterAvatarProps } from './lib/LetterAvatar/LetterAvatar';
|
|
23
|
+
import ImageWithFallback, { ImageWithFallbackProps } from './lib/ImageWithFallback/ImageWithFallback';
|
|
24
|
+
import PersonDateTimeCard, { PersonDateTimeCardProps } from './lib/PersonDateTimeCard/PersonDateTimeCard';
|
|
25
|
+
export { ArchivedConsultationCard, DatePicker, Button, FloatingButton, FooterForBooking, ListButton, NavigationBar, ContentCard, TherapistCard, toast, NoInternetConnection, TherapistInformationComponent, Input, ScrollTabs, TabBar, YourLocalTimeBlock, ModalCalendar, HorizontalCalendar, SelectImpressionEmoji, ImpressionEmojiEnum, LetterAvatar, ImageWithFallback, PersonDateTimeCard };
|
|
26
|
+
export type { SelectImpressionEmojiProps, DayToRender, LetterAvatarProps, ImageWithFallbackProps, PersonDateTimeCardProps };
|
|
24
27
|
export * from './lib/EntryNotFound';
|
|
25
28
|
export * from './lib/consultation-card';
|
package/dist/index.d.ts
CHANGED
|
@@ -199,7 +199,25 @@ declare type SelectImpressionEmojiProps = {
|
|
|
199
199
|
onChange?: (val: ImpressionEmojiEnum) => void;
|
|
200
200
|
};
|
|
201
201
|
|
|
202
|
-
declare const _default: React.NamedExoticComponent<SelectImpressionEmojiProps>;
|
|
202
|
+
declare const _default$2: React.NamedExoticComponent<SelectImpressionEmojiProps>;
|
|
203
|
+
|
|
204
|
+
declare type LetterAvatarProps = {
|
|
205
|
+
letter: string;
|
|
206
|
+
className?: string;
|
|
207
|
+
};
|
|
208
|
+
declare const _default$1: React.NamedExoticComponent<LetterAvatarProps>;
|
|
209
|
+
|
|
210
|
+
declare type ImageWithFallbackProps = JSX.IntrinsicElements["img"] & ({
|
|
211
|
+
onErrorContent: React.ReactElement;
|
|
212
|
+
});
|
|
213
|
+
declare const ImageWithFallback: React.FC<ImageWithFallbackProps>;
|
|
214
|
+
|
|
215
|
+
declare type PersonDateTimeCardProps = {
|
|
216
|
+
photoSrc?: string;
|
|
217
|
+
name: string;
|
|
218
|
+
dateTime: Date;
|
|
219
|
+
};
|
|
220
|
+
declare const _default: React.NamedExoticComponent<PersonDateTimeCardProps>;
|
|
203
221
|
|
|
204
222
|
declare type EntryNotFoundProps = {
|
|
205
223
|
title?: string;
|
|
@@ -236,4 +254,4 @@ declare const ConsultationCard: React.FC<ConsultationCardProps>;
|
|
|
236
254
|
|
|
237
255
|
declare const ConsultationCardSkeleton: () => JSX.Element;
|
|
238
256
|
|
|
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 };
|
|
257
|
+
export { ArchivedConsultationCard, Button, ConsultationCard, ConsultationCardProps, ConsultationCardSkeleton, ContentCard, DatePicker, DayOfWeeks, DayToRender, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, ImageWithFallback, ImageWithFallbackProps, ImpressionEmojiEnum, Input, _default$1 as LetterAvatar, LetterAvatarProps, ListButton, ModalCalendar, NavigationBar, NoInternetConnection, _default as PersonDateTimeCard, PersonDateTimeCardProps, ScrollTabs, _default$2 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.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "react-scripts start",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"@types/react-dom": "^17.0.9",
|
|
32
32
|
"auto": "^10.32.0",
|
|
33
33
|
"date-fns": "^2.28.0",
|
|
34
|
+
"luxon": "^2.4.0",
|
|
34
35
|
"react": "^17.0.2",
|
|
35
36
|
"react-day-picker": "^8.0.5",
|
|
36
37
|
"react-dom": "^17.0.2",
|
|
@@ -116,6 +117,7 @@
|
|
|
116
117
|
"@storybook/preset-create-react-app": "^3.2.0",
|
|
117
118
|
"@storybook/react": "^6.3.9",
|
|
118
119
|
"@svgr/rollup": "^5.5.0",
|
|
120
|
+
"@types/luxon": "^2.3.2",
|
|
119
121
|
"@types/styled-components": "^5.1.13",
|
|
120
122
|
"@typescript-eslint/parser": "^4.30.0",
|
|
121
123
|
"babel-cli": "^6.26.0",
|