@mindly/ui-components 1.7.4 → 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.
@@ -15,7 +15,7 @@ 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 { HorizontalCalendar, DayToRender } from './lib/HorisontalCalendar';
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';
@@ -23,4 +23,3 @@ export { ArchivedConsultationCard, DatePicker, Button, FloatingButton, FooterFor
23
23
  export type { SelectImpressionEmojiProps, DayToRender };
24
24
  export * from './lib/EntryNotFound';
25
25
  export * from './lib/consultation-card';
26
- export * from './lib/TextEditor';
package/dist/index.d.ts CHANGED
@@ -236,10 +236,4 @@ declare const ConsultationCard: React.FC<ConsultationCardProps>;
236
236
 
237
237
  declare const ConsultationCardSkeleton: () => JSX.Element;
238
238
 
239
- declare type TextEditorProps = {
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 };
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.4",
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",
@@ -1,6 +0,0 @@
1
- import { FC } from 'react';
2
- export declare type TextEditorProps = {
3
- defaultValue?: string;
4
- onChange?: (value: string) => void;
5
- };
6
- export declare const TextEditor: FC<TextEditorProps>;
@@ -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,6 +0,0 @@
1
- import { FC } from 'react';
2
- export declare type TextEditorProps = {
3
- defaultValue?: string;
4
- onChange?: (value: string) => void;
5
- };
6
- export declare const TextEditor: FC<TextEditorProps>;
@@ -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';