@mindly/ui-components 0.1.17 → 0.1.18

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.
Files changed (59) hide show
  1. package/README.md +6 -0
  2. package/dist/cjs/index.js +1 -16
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/cjs/types/index.d.ts +14 -10
  5. package/dist/cjs/types/lib/Theme/mindly_constants.d.ts +1 -0
  6. package/dist/cjs/types/lib/archived-consultation-card/ArchivedConsultationCard.d.ts +8 -0
  7. package/dist/cjs/types/lib/archived-consultation-card/ArchivedConsultationCard.style.d.ts +3 -0
  8. package/dist/cjs/types/lib/button/Button.d.ts +3 -3
  9. package/dist/cjs/types/lib/button/Button.style.d.ts +1 -1
  10. package/dist/cjs/types/lib/consultation-card/{consultationCard.d.ts → ConsultationCard.d.ts} +2 -2
  11. package/dist/{esm/types/lib/content-card/contentCard.d.ts → cjs/types/lib/content-card/ContentCard.d.ts} +2 -2
  12. package/dist/cjs/types/lib/date-picker/DatePicker.d.ts +9 -0
  13. package/dist/cjs/types/lib/date-picker/DatePicker.style.d.ts +5 -0
  14. package/dist/cjs/types/lib/floating-button/{floatingButton.d.ts → FloatingButton.d.ts} +2 -2
  15. package/dist/cjs/types/lib/footer-for-booking/FooterForBooking.d.ts +2 -2
  16. package/dist/{esm/types/lib/list-button/listButton.d.ts → cjs/types/lib/list-button/ListButton.d.ts} +2 -2
  17. package/dist/cjs/types/lib/list-button/{listButton.style.d.ts → ListButton.style.d.ts} +1 -1
  18. package/dist/cjs/types/lib/navigation-bar/NavigationBar.d.ts +5 -4
  19. package/dist/cjs/types/lib/no-internet-connection/NoInternetConnection.d.ts +6 -0
  20. package/dist/cjs/types/lib/no-internet-connection/NoInternetConnection.style.d.ts +6 -0
  21. package/dist/cjs/types/lib/tab-bar/TabBar.d.ts +2 -0
  22. package/dist/cjs/types/lib/therapist-card/TherapistCard.d.ts +2 -2
  23. package/dist/cjs/types/lib/therapist-card/TherapistCard.style.d.ts +1 -1
  24. package/dist/cjs/types/lib/toast/toast.d.ts +5 -0
  25. package/dist/esm/index.js +2 -2
  26. package/dist/esm/index.js.map +1 -1
  27. package/dist/esm/types/index.d.ts +14 -10
  28. package/dist/esm/types/lib/Theme/mindly_constants.d.ts +1 -0
  29. package/dist/esm/types/lib/archived-consultation-card/ArchivedConsultationCard.d.ts +8 -0
  30. package/dist/esm/types/lib/archived-consultation-card/ArchivedConsultationCard.style.d.ts +3 -0
  31. package/dist/esm/types/lib/button/Button.d.ts +3 -3
  32. package/dist/esm/types/lib/button/Button.style.d.ts +1 -1
  33. package/dist/esm/types/lib/consultation-card/{consultationCard.d.ts → ConsultationCard.d.ts} +2 -2
  34. package/dist/{cjs/types/lib/content-card/contentCard.d.ts → esm/types/lib/content-card/ContentCard.d.ts} +2 -2
  35. package/dist/esm/types/lib/date-picker/DatePicker.d.ts +9 -0
  36. package/dist/esm/types/lib/date-picker/DatePicker.style.d.ts +5 -0
  37. package/dist/esm/types/lib/floating-button/{floatingButton.d.ts → FloatingButton.d.ts} +2 -2
  38. package/dist/esm/types/lib/footer-for-booking/FooterForBooking.d.ts +2 -2
  39. package/dist/{cjs/types/lib/list-button/listButton.d.ts → esm/types/lib/list-button/ListButton.d.ts} +2 -2
  40. package/dist/esm/types/lib/list-button/{listButton.style.d.ts → ListButton.style.d.ts} +1 -1
  41. package/dist/esm/types/lib/navigation-bar/NavigationBar.d.ts +5 -4
  42. package/dist/esm/types/lib/no-internet-connection/NoInternetConnection.d.ts +6 -0
  43. package/dist/esm/types/lib/no-internet-connection/NoInternetConnection.style.d.ts +6 -0
  44. package/dist/esm/types/lib/tab-bar/TabBar.d.ts +2 -0
  45. package/dist/esm/types/lib/therapist-card/TherapistCard.d.ts +2 -2
  46. package/dist/esm/types/lib/therapist-card/TherapistCard.style.d.ts +1 -1
  47. package/dist/esm/types/lib/toast/toast.d.ts +5 -0
  48. package/dist/index.d.ts +42 -16
  49. package/package.json +9 -10
  50. package/dist/cjs/types/lib/tab-bar/tabBar.d.ts +0 -3
  51. package/dist/esm/types/lib/tab-bar/tabBar.d.ts +0 -3
  52. /package/dist/cjs/types/lib/consultation-card/{consultationCard.style.d.ts → ConsultationCard.style.d.ts} +0 -0
  53. /package/dist/cjs/types/lib/content-card/{contentCard.style.d.ts → ContentCard.style.d.ts} +0 -0
  54. /package/dist/cjs/types/lib/floating-button/{floatingButton.style.d.ts → FloatingButton.style.d.ts} +0 -0
  55. /package/dist/cjs/types/lib/tab-bar/{tabBar.style.d.ts → TabBar.style.d.ts} +0 -0
  56. /package/dist/esm/types/lib/consultation-card/{consultationCard.style.d.ts → ConsultationCard.style.d.ts} +0 -0
  57. /package/dist/esm/types/lib/content-card/{contentCard.style.d.ts → ContentCard.style.d.ts} +0 -0
  58. /package/dist/esm/types/lib/floating-button/{floatingButton.style.d.ts → FloatingButton.style.d.ts} +0 -0
  59. /package/dist/esm/types/lib/tab-bar/{tabBar.style.d.ts → TabBar.style.d.ts} +0 -0
@@ -1,10 +1,14 @@
1
- import Button from './lib/button/Button';
2
- import FloatingButton from './lib/floating-button/floatingButton';
3
- import FooterForBooking from './lib/footer-for-booking/FooterForBooking';
4
- import ListButton from './lib/list-button/listButton';
5
- import NavigationBar from './lib/navigation-bar/NavigationBar';
6
- import TabBar from './lib/tab-bar/tabBar';
7
- import ConsultationCard from './lib/consultation-card/consultationCard';
8
- import TherapistCard from './lib/therapist-card/TherapistCard';
9
- import ContentCard from './lib/content-card/contentCard';
10
- export { Button, FloatingButton, FooterForBooking, ListButton, NavigationBar, TabBar, ConsultationCard, TherapistCard, ContentCard, };
1
+ import { Button } from './lib/button/Button';
2
+ import { FloatingButton } from './lib/floating-button/FloatingButton';
3
+ import { FooterForBooking } from './lib/footer-for-booking/FooterForBooking';
4
+ import { ListButton } from './lib/list-button/ListButton';
5
+ import { NavigationBar } from './lib/navigation-bar/NavigationBar';
6
+ import { TabBar } from './lib/tab-bar/TabBar';
7
+ import { ConsultationCard } from './lib/consultation-card/ConsultationCard';
8
+ import { ContentCard } from './lib/content-card/ContentCard';
9
+ import { TherapistCard } from './lib/therapist-card/TherapistCard';
10
+ import { toast } from './lib/toast/toast';
11
+ import { ArchivedConsultationCard } from './lib/archived-consultation-card/ArchivedConsultationCard';
12
+ import { DatePicker } from './lib/date-picker/DatePicker';
13
+ import { NoInternetConnection } from './lib/no-internet-connection/NoInternetConnection';
14
+ export { ArchivedConsultationCard, DatePicker, Button, FloatingButton, FooterForBooking, ListButton, NavigationBar, TabBar, ConsultationCard, ContentCard, TherapistCard, toast, NoInternetConnection, };
@@ -17,4 +17,5 @@ export declare const colorConstants: {
17
17
  AccentCancelActive: string;
18
18
  AccentActiveButtonBG: string;
19
19
  AccentDivider: string;
20
+ AccentGrayBlue: string;
20
21
  };
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface ArchivedConsultationCardProps {
3
+ name: string;
4
+ date: string;
5
+ img: string;
6
+ }
7
+ export declare const ArchivedConsultationCard: React.FC<ArchivedConsultationCardProps>;
8
+ export {};
@@ -0,0 +1,3 @@
1
+ export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const TextContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const Avatar: import("styled-components").StyledComponent<"img", any, {}, never>;
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import '../Theme/global.css';
3
3
  interface ButtonProps {
4
- buttonType: 'primary' | 'secondary' | 'survey' | 'secondaryWithStroke' | 'secondaryCancel';
4
+ buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive';
5
5
  isDisabled: boolean;
6
6
  children: React.ReactNode;
7
7
  onClick: (atr: any) => void;
8
8
  }
9
- declare const Button: React.FC<ButtonProps>;
10
- export default Button;
9
+ export declare const Button: React.FC<ButtonProps>;
10
+ export {};
@@ -1,5 +1,5 @@
1
1
  interface ContainerProps {
2
- buttonType: 'primary' | 'secondary' | 'survey' | 'secondaryWithStroke' | 'secondaryCancel';
2
+ buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive';
3
3
  isDisabled: boolean;
4
4
  }
5
5
  export declare const Container: import("styled-components").StyledComponent<"button", any, ContainerProps, never>;
@@ -7,5 +7,5 @@ interface ConsultationCardProps {
7
7
  time: string;
8
8
  avatar: string;
9
9
  }
10
- declare const ConsultationCard: React.FC<ConsultationCardProps>;
11
- export default ConsultationCard;
10
+ export declare const ConsultationCard: React.FC<ConsultationCardProps>;
11
+ export {};
@@ -10,5 +10,5 @@ interface ContentCardProps {
10
10
  title: string;
11
11
  };
12
12
  }
13
- declare const ContentCard: React.FC<ContentCardProps>;
14
- export default ContentCard;
13
+ export declare const ContentCard: React.FC<ContentCardProps>;
14
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface DatePickerProps {
3
+ day: string;
4
+ date: string;
5
+ month: string;
6
+ isActive: boolean;
7
+ }
8
+ export declare const DatePicker: React.FC<DatePickerProps>;
9
+ export {};
@@ -0,0 +1,5 @@
1
+ interface ContainerProps {
2
+ isActive: boolean;
3
+ }
4
+ export declare const Container: import("styled-components").StyledComponent<"div", any, ContainerProps, never>;
5
+ export {};
@@ -3,5 +3,5 @@ interface FloatingButtonType {
3
3
  bottomHeight: number;
4
4
  rightWidth: number;
5
5
  }
6
- declare const FloatingButton: React.FC<FloatingButtonType>;
7
- export default FloatingButton;
6
+ export declare const FloatingButton: React.FC<FloatingButtonType>;
7
+ export {};
@@ -4,5 +4,5 @@ interface FooterForBookingProps {
4
4
  time: string;
5
5
  price: string;
6
6
  }
7
- declare const FooterForBooking: React.FC<FooterForBookingProps>;
8
- export default FooterForBooking;
7
+ export declare const FooterForBooking: React.FC<FooterForBookingProps>;
8
+ export {};
@@ -4,5 +4,5 @@ interface ListButtonProps {
4
4
  text: string;
5
5
  icon: string;
6
6
  }
7
- declare const ListButton: React.FC<ListButtonProps>;
8
- export default ListButton;
7
+ export declare const ListButton: React.FC<ListButtonProps>;
8
+ export {};
@@ -1,2 +1,2 @@
1
1
  export declare const Container: import("styled-components").StyledComponent<"button", any, {}, never>;
2
- export declare const Image: import("styled-components").StyledComponent<any, any, object, string | number | symbol>;
2
+ export declare const Image: import("styled-components").StyledComponent<"img", any, {}, never>;
@@ -1,7 +1,8 @@
1
- import React from 'react';
1
+ import React, { ReactNode } from 'react';
2
2
  import '../Theme/global.css';
3
- interface NavigationBar {
3
+ interface NavigationBarProps {
4
4
  isInternetConnected: boolean;
5
+ children?: ReactNode | undefined;
5
6
  }
6
- declare const NavigationBar: React.FC<NavigationBar>;
7
- export default NavigationBar;
7
+ export declare const NavigationBar: React.FC<NavigationBarProps>;
8
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface NoInternetConnectionProps {
3
+ isInternetConnected: boolean;
4
+ }
5
+ export declare const NoInternetConnection: React.FC<NoInternetConnectionProps>;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ interface ContainerProps {
2
+ isInternetConnected: boolean;
3
+ isIos: boolean;
4
+ }
5
+ export declare const Container: import("styled-components").StyledComponent<"div", any, ContainerProps, never>;
6
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const TabBar: React.FC;
@@ -9,5 +9,5 @@ interface TherapistCardProps {
9
9
  psychologistExperience: number;
10
10
  handleClick: React.MouseEventHandler;
11
11
  }
12
- declare const TherapistCard: React.FC<TherapistCardProps>;
13
- export default TherapistCard;
12
+ export declare const TherapistCard: React.FC<TherapistCardProps>;
13
+ export {};
@@ -14,7 +14,7 @@ declare type HideProps = {
14
14
  export declare const Hide: import("styled-components").StyledComponent<"div", any, HideProps, never>;
15
15
  export declare const PsychologistCardIonCard: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("@ionic/core/dist/types/components").JSX.IonCard, "button" | "type" | "disabled" | "color" | "download" | "href" | "rel" | "target" | "mode" | "routerAnimation"> & {
16
16
  routerLink?: string | undefined;
17
- routerDirection?: "none" | "forward" | "back" | "root" | undefined;
17
+ routerDirection?: "none" | "root" | "forward" | "back" | undefined;
18
18
  routerOptions?: import("@ionic/react").RouterOptions | undefined;
19
19
  routerAnimation?: import("@ionic/react").AnimationBuilder | undefined;
20
20
  } & Pick<import("react").HTMLAttributes<HTMLIonCardElement>, "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<HTMLIonCardElement>>, any, {}, never>;
@@ -0,0 +1,5 @@
1
+ import './index.css';
2
+ /**
3
+ * Toast that work line an API, we can call it anywhere, need message text and duration(default 3 seconds)
4
+ */
5
+ export declare const toast: (message: string, duration?: number) => Promise<void>;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import React from 'react';
1
+ import React, { ReactNode } from 'react';
2
2
 
3
3
  interface ButtonProps {
4
- buttonType: 'primary' | 'secondary' | 'survey' | 'secondaryWithStroke' | 'secondaryCancel';
4
+ buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive';
5
5
  isDisabled: boolean;
6
6
  children: React.ReactNode;
7
7
  onClick: (atr: any) => void;
@@ -27,10 +27,11 @@ interface ListButtonProps {
27
27
  }
28
28
  declare const ListButton: React.FC<ListButtonProps>;
29
29
 
30
- interface NavigationBar {
30
+ interface NavigationBarProps {
31
31
  isInternetConnected: boolean;
32
+ children?: ReactNode | undefined;
32
33
  }
33
- declare const NavigationBar: React.FC<NavigationBar>;
34
+ declare const NavigationBar: React.FC<NavigationBarProps>;
34
35
 
35
36
  declare const TabBar: React.FC;
36
37
 
@@ -44,6 +45,19 @@ interface ConsultationCardProps {
44
45
  }
45
46
  declare const ConsultationCard: React.FC<ConsultationCardProps>;
46
47
 
48
+ interface ContentCardProps {
49
+ contentVideo?: {
50
+ title: string;
51
+ url: string;
52
+ };
53
+ contentArticle?: {
54
+ link: string;
55
+ photoURL: string;
56
+ title: string;
57
+ };
58
+ }
59
+ declare const ContentCard: React.FC<ContentCardProps>;
60
+
47
61
  interface TherapistCardProps {
48
62
  psychologistName: string;
49
63
  psychologistLastName: string;
@@ -56,17 +70,29 @@ interface TherapistCardProps {
56
70
  }
57
71
  declare const TherapistCard: React.FC<TherapistCardProps>;
58
72
 
59
- interface ContentCardProps {
60
- contentVideo?: {
61
- title: string;
62
- url: string;
63
- };
64
- contentArticle?: {
65
- link: string;
66
- photoURL: string;
67
- title: string;
68
- };
73
+ /**
74
+ * Toast that work line an API, we can call it anywhere, need message text and duration(default 3 seconds)
75
+ */
76
+ declare const toast: (message: string, duration?: number) => Promise<void>;
77
+
78
+ interface ArchivedConsultationCardProps {
79
+ name: string;
80
+ date: string;
81
+ img: string;
69
82
  }
70
- declare const ContentCard: React.FC<ContentCardProps>;
83
+ declare const ArchivedConsultationCard: React.FC<ArchivedConsultationCardProps>;
84
+
85
+ interface DatePickerProps {
86
+ day: string;
87
+ date: string;
88
+ month: string;
89
+ isActive: boolean;
90
+ }
91
+ declare const DatePicker: React.FC<DatePickerProps>;
92
+
93
+ interface NoInternetConnectionProps {
94
+ isInternetConnected: boolean;
95
+ }
96
+ declare const NoInternetConnection: React.FC<NoInternetConnectionProps>;
71
97
 
72
- export { Button, ConsultationCard, ContentCard, FloatingButton, FooterForBooking, ListButton, NavigationBar, TabBar, TherapistCard };
98
+ export { ArchivedConsultationCard, Button, ConsultationCard, ContentCard, DatePicker, FloatingButton, FooterForBooking, ListButton, NavigationBar, NoInternetConnection, TabBar, TherapistCard, toast };
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "@babel/polyfill": "^7.12.1",
7
7
  "@ionic/react": "^5.8.0",
8
8
  "@ionic/react-router": "^5.8.0",
9
- "@svgr/rollup": "^5.5.0",
10
9
  "@testing-library/jest-dom": "^5.14.1",
11
10
  "@testing-library/react": "^11.2.7",
12
11
  "@testing-library/user-event": "^12.8.3",
@@ -18,8 +17,6 @@
18
17
  "react": "^17.0.2",
19
18
  "react-dom": "^17.0.2",
20
19
  "react-scripts": "4.0.3",
21
- "rollup-plugin-esbuild": "^4.5.0",
22
- "rollup-plugin-typescript2": "^0.30.0",
23
20
  "styled-components": "^5.3.1",
24
21
  "web-vitals": "^1.1.2"
25
22
  },
@@ -45,8 +42,9 @@
45
42
  "clean": "rimraf dist",
46
43
  "build": "rollup -c",
47
44
  "test:ts": "tsc --noEmit --skipLibCheck",
45
+ "coverage": "npm test -- --env=jsdom --coverage --coverageDirectory=jest-coverage --passWithNoTests",
48
46
  "test:lint": "eslint \"./src/**/*{ts,tsx}\" --ignore-pattern \"*.d.ts\" --fix",
49
- "test": "react-scripts test",
47
+ "test": "react-scripts test --watchAll=false",
50
48
  "eject": "react-scripts eject",
51
49
  "storybook": "start-storybook -p 6006 -s public",
52
50
  "build-storybook": "build-storybook -s public",
@@ -98,20 +96,19 @@
98
96
  "devDependencies": {
99
97
  "@babel/cli": "^7.15.7",
100
98
  "@babel/core": "^7.15.5",
101
- "@babel/plugin-proposal-class-properties": "^7.14.5",
102
99
  "@babel/preset-typescript": "^7.15.0",
103
100
  "@ionic/lab": "3.2.10",
104
- "@rollup/plugin-babel": "^5.3.0",
105
101
  "@rollup/plugin-commonjs": "^20.0.0",
106
102
  "@rollup/plugin-node-resolve": "^13.0.5",
103
+ "@rollup/plugin-replace": "^3.0.0",
107
104
  "@rollup/plugin-typescript": "^8.2.5",
108
- "@rollup/plugin-url": "^6.1.0",
109
105
  "@storybook/addon-actions": "^6.3.7",
110
106
  "@storybook/addon-essentials": "^6.3.7",
111
107
  "@storybook/addon-links": "^6.3.7",
112
108
  "@storybook/node-logger": "^6.3.7",
113
109
  "@storybook/preset-create-react-app": "^3.2.0",
114
- "@storybook/react": "^6.3.7",
110
+ "@storybook/react": "^6.3.9",
111
+ "@svgr/rollup": "^5.5.0",
115
112
  "@types/styled-components": "^5.1.13",
116
113
  "@typescript-eslint/parser": "^4.30.0",
117
114
  "babel-cli": "^6.26.0",
@@ -121,12 +118,14 @@
121
118
  "postcss": "^8.3.8",
122
119
  "rimraf": "^3.0.2",
123
120
  "rollup": "^2.58.0",
124
- "rollup-plugin-copy": "^3.4.0",
125
121
  "rollup-plugin-dts": "^4.0.0",
126
122
  "rollup-plugin-peer-deps-external": "^2.2.4",
127
123
  "rollup-plugin-postcss": "^4.0.1",
124
+ "rollup-plugin-react-svg": "^3.0.3",
128
125
  "rollup-plugin-svg-import": "^1.5.1",
126
+ "rollup-plugin-svg-to-jsx": "^1.0.0",
129
127
  "rollup-plugin-terser": "^7.0.2",
128
+ "rollup-plugin-url": "^3.0.1",
130
129
  "tslib": "^2.3.1",
131
130
  "typescript": "^4.4.3"
132
131
  },
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const TabBar: React.FC;
3
- export default TabBar;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const TabBar: React.FC;
3
- export default TabBar;