@mindly/ui-components 1.7.4 → 1.8.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 -12
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +5 -4
- package/dist/cjs/types/lib/ImageWithFallback/ImageWithFallback.d.ts +6 -0
- package/dist/cjs/types/lib/LetterAvatar/LetterAvatar.d.ts +6 -0
- package/dist/cjs/types/lib/LetterAvatar/LetterAvatar.styled.d.ts +2 -0
- package/dist/esm/index.js +3 -13
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +5 -4
- package/dist/esm/types/lib/ImageWithFallback/ImageWithFallback.d.ts +6 -0
- package/dist/esm/types/lib/LetterAvatar/LetterAvatar.d.ts +6 -0
- package/dist/esm/types/lib/LetterAvatar/LetterAvatar.styled.d.ts +2 -0
- package/dist/index.d.ts +12 -8
- package/package.json +1 -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/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
|
@@ -15,12 +15,13 @@ 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
17
|
import { ModalCalendar } from './lib/ModalCalendar/ModalCalendar';
|
|
18
|
-
import {
|
|
18
|
+
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
|
+
export { ArchivedConsultationCard, DatePicker, Button, FloatingButton, FooterForBooking, ListButton, NavigationBar, ContentCard, TherapistCard, toast, NoInternetConnection, TherapistInformationComponent, Input, ScrollTabs, TabBar, YourLocalTimeBlock, ModalCalendar, HorizontalCalendar, SelectImpressionEmoji, ImpressionEmojiEnum, LetterAvatar, ImageWithFallback, };
|
|
25
|
+
export type { SelectImpressionEmojiProps, DayToRender, LetterAvatarProps, ImageWithFallbackProps };
|
|
24
26
|
export * from './lib/EntryNotFound';
|
|
25
27
|
export * from './lib/consultation-card';
|
|
26
|
-
export * from './lib/TextEditor';
|
package/dist/index.d.ts
CHANGED
|
@@ -199,7 +199,17 @@ declare type SelectImpressionEmojiProps = {
|
|
|
199
199
|
onChange?: (val: ImpressionEmojiEnum) => void;
|
|
200
200
|
};
|
|
201
201
|
|
|
202
|
-
declare const _default: React.NamedExoticComponent<SelectImpressionEmojiProps>;
|
|
202
|
+
declare const _default$1: React.NamedExoticComponent<SelectImpressionEmojiProps>;
|
|
203
|
+
|
|
204
|
+
declare type LetterAvatarProps = {
|
|
205
|
+
letter: string;
|
|
206
|
+
};
|
|
207
|
+
declare const _default: React.NamedExoticComponent<LetterAvatarProps>;
|
|
208
|
+
|
|
209
|
+
declare type ImageWithFallbackProps = JSX.IntrinsicElements["img"] & ({
|
|
210
|
+
onErrorContent: React.ReactElement;
|
|
211
|
+
});
|
|
212
|
+
declare const ImageWithFallback: React.FC<ImageWithFallbackProps>;
|
|
203
213
|
|
|
204
214
|
declare type EntryNotFoundProps = {
|
|
205
215
|
title?: string;
|
|
@@ -236,10 +246,4 @@ declare const ConsultationCard: React.FC<ConsultationCardProps>;
|
|
|
236
246
|
|
|
237
247
|
declare const ConsultationCardSkeleton: () => JSX.Element;
|
|
238
248
|
|
|
239
|
-
|
|
240
|
-
defaultValue?: string;
|
|
241
|
-
onChange?: (value: string) => void;
|
|
242
|
-
};
|
|
243
|
-
declare const TextEditor: FC<TextEditorProps>;
|
|
244
|
-
|
|
245
|
-
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, TextEditor, TextEditorProps, TherapistCard, TherapistInformationComponent, YourLocalTimeBlock, toast };
|
|
249
|
+
export { ArchivedConsultationCard, Button, ConsultationCard, ConsultationCardProps, ConsultationCardSkeleton, ContentCard, DatePicker, DayOfWeeks, DayToRender, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, ImageWithFallback, ImageWithFallbackProps, ImpressionEmojiEnum, Input, _default as LetterAvatar, LetterAvatarProps, ListButton, ModalCalendar, NavigationBar, NoInternetConnection, ScrollTabs, _default$1 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.8.0",
|
|
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",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import RichTextEditor from 'react-rte';
|
|
2
|
-
declare type EditorContainerProps = {
|
|
3
|
-
isKeyboardOpen?: boolean;
|
|
4
|
-
keyboardHeight?: number;
|
|
5
|
-
};
|
|
6
|
-
export declare const EditorContainer: import("styled-components").StyledComponent<typeof RichTextEditor, any, EditorContainerProps, never>;
|
|
7
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import { EditorValue } from 'react-rte';
|
|
3
|
-
declare type TextEditorState = {
|
|
4
|
-
value: EditorValue;
|
|
5
|
-
};
|
|
6
|
-
declare type TextEditorProps = {
|
|
7
|
-
defaultValue?: string;
|
|
8
|
-
onChange?: (value: string) => void;
|
|
9
|
-
isKeyboardOpen?: boolean;
|
|
10
|
-
keyboardHeight?: number;
|
|
11
|
-
};
|
|
12
|
-
export declare class TextEditorContainer extends Component<TextEditorProps, TextEditorState> {
|
|
13
|
-
state: {
|
|
14
|
-
value: EditorValue;
|
|
15
|
-
};
|
|
16
|
-
onChange: (value: EditorValue) => void;
|
|
17
|
-
render(): JSX.Element;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './TextEditor';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import RichTextEditor from 'react-rte';
|
|
2
|
-
declare type EditorContainerProps = {
|
|
3
|
-
isKeyboardOpen?: boolean;
|
|
4
|
-
keyboardHeight?: number;
|
|
5
|
-
};
|
|
6
|
-
export declare const EditorContainer: import("styled-components").StyledComponent<typeof RichTextEditor, any, EditorContainerProps, never>;
|
|
7
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import { EditorValue } from 'react-rte';
|
|
3
|
-
declare type TextEditorState = {
|
|
4
|
-
value: EditorValue;
|
|
5
|
-
};
|
|
6
|
-
declare type TextEditorProps = {
|
|
7
|
-
defaultValue?: string;
|
|
8
|
-
onChange?: (value: string) => void;
|
|
9
|
-
isKeyboardOpen?: boolean;
|
|
10
|
-
keyboardHeight?: number;
|
|
11
|
-
};
|
|
12
|
-
export declare class TextEditorContainer extends Component<TextEditorProps, TextEditorState> {
|
|
13
|
-
state: {
|
|
14
|
-
value: EditorValue;
|
|
15
|
-
};
|
|
16
|
-
onChange: (value: EditorValue) => void;
|
|
17
|
-
render(): JSX.Element;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './TextEditor';
|