@mindly/ui-components 3.1.3 → 3.1.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.
Files changed (292) hide show
  1. package/dist/fonts/Lato-Bold.ttf +0 -0
  2. package/dist/fonts/Lato-Regular.ttf +0 -0
  3. package/dist/fonts/Lato-Semibold.ttf +0 -0
  4. package/dist/{esm/types/index.d.ts → index.ts} +64 -6
  5. package/dist/lib/AppHeader/AppHeader.style.ts +19 -0
  6. package/dist/lib/AppHeader/AppHeader.tsx +23 -0
  7. package/dist/lib/Avatar/Avatar.style.ts +17 -0
  8. package/dist/lib/Avatar/Avatar.tsx +46 -0
  9. package/dist/lib/Container/Container.styled.ts +15 -0
  10. package/dist/lib/Container/Container.tsx +15 -0
  11. package/dist/lib/EntryNotFound/EntryNotFound.style.ts +14 -0
  12. package/dist/lib/EntryNotFound/EntryNotFound.tsx +21 -0
  13. package/dist/lib/Filters/ListSelect/ListSelect.style.ts +38 -0
  14. package/dist/lib/Filters/ListSelect/ListSelect.tsx +48 -0
  15. package/dist/lib/Filters/Range/Range.style.ts +41 -0
  16. package/dist/lib/Filters/Range/Range.tsx +48 -0
  17. package/dist/lib/Filters/RowSelect/RowSelect.style.ts +30 -0
  18. package/dist/lib/Filters/RowSelect/RowSelect.tsx +38 -0
  19. package/dist/lib/Filters/Toggle/Toggle.style.ts +14 -0
  20. package/dist/lib/Filters/Toggle/Toggle.tsx +26 -0
  21. package/dist/lib/HorisontalCalendar/HorizontalCalendar.styled.ts +117 -0
  22. package/dist/lib/HorisontalCalendar/HorizontalCalendar.tsx +213 -0
  23. package/dist/lib/ImageWithFallback/ImageWithFallback.tsx +37 -0
  24. package/dist/lib/LetterAvatar/LetterAvatar.styled.ts +32 -0
  25. package/dist/lib/LetterAvatar/LetterAvatar.tsx +23 -0
  26. package/dist/lib/Modal/Modal.style.ts +12 -0
  27. package/dist/lib/Modal/Modal.tsx +30 -0
  28. package/dist/lib/ModalCalendar/ModalCalendar.styled.ts +123 -0
  29. package/dist/lib/ModalCalendar/ModalCalendar.tsx +71 -0
  30. package/dist/lib/PersonDateTimeCard/PersonDateTimeCard.styled.ts +36 -0
  31. package/dist/lib/PersonDateTimeCard/PersonDateTimeCard.tsx +32 -0
  32. package/dist/lib/Segment/Segment.style.ts +14 -0
  33. package/dist/lib/Segment/Segment.tsx +29 -0
  34. package/dist/lib/Segment/types.ts +4 -0
  35. package/dist/lib/SelectImpressionEmoji/ImpressionEmojiEnum.ts +9 -0
  36. package/dist/lib/SelectImpressionEmoji/SelectImpressionEmoji.styled.ts +28 -0
  37. package/dist/lib/SelectImpressionEmoji/SelectImpressionEmoji.tsx +56 -0
  38. package/dist/lib/SelectImpressionEmoji/SelectImpressionEmojiProps.ts +8 -0
  39. package/dist/lib/SelectImpressionEmoji/emojis.ts +9 -0
  40. package/dist/lib/SelectImpressionEmoji/index.tsx +14 -0
  41. package/dist/lib/Theme/global.css +251 -0
  42. package/dist/lib/Theme/mindly_constants.ts +23 -0
  43. package/dist/lib/UsersPsychologistScrollList/UserPsychologistScrollList.styled.ts +61 -0
  44. package/dist/lib/UsersPsychologistScrollList/UsersPsychologistScrollList.tsx +68 -0
  45. package/dist/lib/archived-consultation-card/ArchivedConsultation.test.tsx +9 -0
  46. package/dist/lib/archived-consultation-card/ArchivedConsultationCard.style.ts +72 -0
  47. package/dist/lib/archived-consultation-card/ArchivedConsultationCard.svg +3 -0
  48. package/dist/lib/archived-consultation-card/ArchivedConsultationCard.tsx +61 -0
  49. package/dist/lib/button/Button.style.ts +170 -0
  50. package/dist/lib/button/Button.test.tsx +39 -0
  51. package/dist/lib/button/Button.tsx +47 -0
  52. package/dist/lib/consultation-card/ConsultationCard.style.ts +119 -0
  53. package/dist/lib/consultation-card/ConsultationCard.test.tsx +65 -0
  54. package/dist/lib/consultation-card/ConsultationCard.tsx +155 -0
  55. package/dist/lib/consultation-card/ConsultationCardSkeleton.tsx +114 -0
  56. package/dist/lib/content-card/ContentCard.style.ts +59 -0
  57. package/dist/lib/content-card/ContentCard.test.tsx +29 -0
  58. package/dist/lib/content-card/ContentCard.tsx +81 -0
  59. package/dist/lib/date-picker/DatePicker.style.ts +52 -0
  60. package/dist/lib/date-picker/DatePicker.test.tsx +9 -0
  61. package/dist/lib/date-picker/DatePicker.tsx +59 -0
  62. package/dist/lib/floating-button/FloatingButton.style.ts +21 -0
  63. package/dist/lib/floating-button/FloatingButton.test.tsx +9 -0
  64. package/dist/lib/floating-button/FloatingButton.tsx +29 -0
  65. package/dist/lib/floating-button/floating button.svg +6 -0
  66. package/dist/lib/footer-for-booking/FooterForBooking.style.ts +56 -0
  67. package/dist/lib/footer-for-booking/FooterForBooking.test.tsx +30 -0
  68. package/dist/lib/footer-for-booking/FooterForBooking.tsx +53 -0
  69. package/dist/lib/input/Input.style.ts +37 -0
  70. package/dist/lib/input/Input.test.tsx +21 -0
  71. package/dist/lib/input/Input.tsx +73 -0
  72. package/dist/lib/list-button/ListButton.style.ts +21 -0
  73. package/dist/lib/list-button/ListButton.test.tsx +26 -0
  74. package/dist/lib/list-button/ListButton.tsx +30 -0
  75. package/dist/lib/navigation-bar/NavigationBar.style.ts +81 -0
  76. package/dist/lib/navigation-bar/NavigationBar.test.tsx +15 -0
  77. package/dist/lib/navigation-bar/NavigationBar.tsx +31 -0
  78. package/dist/lib/no-internet-connection/NoInternetConnection.style.ts +26 -0
  79. package/dist/lib/no-internet-connection/NoInternetConnection.svg +10 -0
  80. package/dist/lib/no-internet-connection/NoInternetConnection.test.tsx +9 -0
  81. package/dist/lib/no-internet-connection/NoInternetConnection.tsx +30 -0
  82. package/dist/lib/notes-card-text/NotesCardText.style.ts +14 -0
  83. package/dist/lib/notes-card-text/NotesCardText.tsx +32 -0
  84. package/dist/lib/notes-editor/NotesEditor.styled.ts +24 -0
  85. package/dist/lib/notes-editor/NotesEditor.tsx +16 -0
  86. package/dist/lib/scroll-tabs/ScrollTabs.style.ts +19 -0
  87. package/dist/lib/scroll-tabs/ScrollTabs.test.tsx +9 -0
  88. package/dist/lib/scroll-tabs/ScrollTabs.tsx +42 -0
  89. package/dist/lib/tab-bar/TabBar.style.tsx +43 -0
  90. package/dist/lib/tab-bar/TabBar.tsx +11 -0
  91. package/dist/lib/therapist-card/TherapistCard.style.ts +104 -0
  92. package/dist/lib/therapist-card/TherapistCard.test.tsx +40 -0
  93. package/dist/lib/therapist-card/TherapistCard.tsx +96 -0
  94. package/dist/lib/therapist-information-component/TherapistInformationComponent.style.ts +40 -0
  95. package/dist/lib/therapist-information-component/TherapistInformationComponent.test.tsx +16 -0
  96. package/dist/lib/therapist-information-component/TherapistInformationComponent.tsx +51 -0
  97. package/dist/lib/toast/index.css +13 -0
  98. package/dist/lib/toast/toast.ts +17 -0
  99. package/dist/lib/userAppTypes.ts +261 -0
  100. package/dist/lib/your-local-time-block/YourLocalTimeBlock.styled.ts +28 -0
  101. package/dist/lib/your-local-time-block/YourLocalTimeBlock.tsx +26 -0
  102. package/dist/react-app-env.d.ts +1 -0
  103. package/dist/svg.d.ts +13 -0
  104. package/package.json +4 -17
  105. package/dist/cjs/index.js +0 -166
  106. package/dist/cjs/index.js.map +0 -1
  107. package/dist/cjs/types/index.d.ts +0 -48
  108. package/dist/cjs/types/lib/AppHeader/AppHeader.d.ts +0 -6
  109. package/dist/cjs/types/lib/AppHeader/AppHeader.style.d.ts +0 -7
  110. package/dist/cjs/types/lib/Avatar/Avatar.d.ts +0 -9
  111. package/dist/cjs/types/lib/Avatar/Avatar.style.d.ts +0 -5
  112. package/dist/cjs/types/lib/Container/Container.d.ts +0 -3
  113. package/dist/cjs/types/lib/Container/Container.styled.d.ts +0 -5
  114. package/dist/cjs/types/lib/EntryNotFound/EntryNotFound.d.ts +0 -5
  115. package/dist/cjs/types/lib/EntryNotFound/EntryNotFound.style.d.ts +0 -2
  116. package/dist/cjs/types/lib/Filters/ListSelect/ListSelect.d.ts +0 -13
  117. package/dist/cjs/types/lib/Filters/ListSelect/ListSelect.style.d.ts +0 -9
  118. package/dist/cjs/types/lib/Filters/Range/Range.d.ts +0 -14
  119. package/dist/cjs/types/lib/Filters/Range/Range.style.d.ts +0 -3
  120. package/dist/cjs/types/lib/Filters/RowSelect/RowSelect.d.ts +0 -13
  121. package/dist/cjs/types/lib/Filters/RowSelect/RowSelect.style.d.ts +0 -7
  122. package/dist/cjs/types/lib/Filters/Toggle/Toggle.d.ts +0 -8
  123. package/dist/cjs/types/lib/Filters/Toggle/Toggle.style.d.ts +0 -2
  124. package/dist/cjs/types/lib/HorisontalCalendar/HorizontalCalendar.d.ts +0 -40
  125. package/dist/cjs/types/lib/HorisontalCalendar/HorizontalCalendar.styled.d.ts +0 -2
  126. package/dist/cjs/types/lib/ImageWithFallback/ImageWithFallback.d.ts +0 -6
  127. package/dist/cjs/types/lib/LetterAvatar/LetterAvatar.d.ts +0 -9
  128. package/dist/cjs/types/lib/LetterAvatar/LetterAvatar.styled.d.ts +0 -5
  129. package/dist/cjs/types/lib/Modal/Modal.d.ts +0 -8
  130. package/dist/cjs/types/lib/Modal/Modal.style.d.ts +0 -6
  131. package/dist/cjs/types/lib/ModalCalendar/ModalCalendar.d.ts +0 -10
  132. package/dist/cjs/types/lib/ModalCalendar/ModalCalendar.styled.d.ts +0 -12
  133. package/dist/cjs/types/lib/PersonDateTimeCard/PersonDateTimeCard.d.ts +0 -8
  134. package/dist/cjs/types/lib/PersonDateTimeCard/PersonDateTimeCard.styled.d.ts +0 -2
  135. package/dist/cjs/types/lib/Segment/Segment.d.ts +0 -10
  136. package/dist/cjs/types/lib/Segment/types.d.ts +0 -4
  137. package/dist/cjs/types/lib/SelectImpressionEmoji/ImpressionEmojiEnum.d.ts +0 -8
  138. package/dist/cjs/types/lib/SelectImpressionEmoji/SelectImpressionEmoji.d.ts +0 -4
  139. package/dist/cjs/types/lib/SelectImpressionEmoji/SelectImpressionEmoji.styled.d.ts +0 -2
  140. package/dist/cjs/types/lib/SelectImpressionEmoji/SelectImpressionEmojiProps.d.ts +0 -6
  141. package/dist/cjs/types/lib/SelectImpressionEmoji/emojis.d.ts +0 -5
  142. package/dist/cjs/types/lib/SelectImpressionEmoji/index.d.ts +0 -4
  143. package/dist/cjs/types/lib/Theme/mindly_constants.d.ts +0 -22
  144. package/dist/cjs/types/lib/UsersPsychologistScrollList/UserPsychologistScrollList.styled.d.ts +0 -6
  145. package/dist/cjs/types/lib/UsersPsychologistScrollList/UsersPsychologistScrollList.d.ts +0 -10
  146. package/dist/cjs/types/lib/archived-consultation-card/ArchivedConsultationCard.d.ts +0 -14
  147. package/dist/cjs/types/lib/archived-consultation-card/ArchivedConsultationCard.style.d.ts +0 -3
  148. package/dist/cjs/types/lib/button/Button.d.ts +0 -9
  149. package/dist/cjs/types/lib/button/Button.style.d.ts +0 -6
  150. package/dist/cjs/types/lib/consultation-card/ConsultationCard.d.ts +0 -31
  151. package/dist/cjs/types/lib/consultation-card/ConsultationCard.style.d.ts +0 -7
  152. package/dist/cjs/types/lib/consultation-card/ConsultationCardSkeleton.d.ts +0 -2
  153. package/dist/cjs/types/lib/content-card/ContentCard.d.ts +0 -15
  154. package/dist/cjs/types/lib/content-card/ContentCard.style.d.ts +0 -11
  155. package/dist/cjs/types/lib/date-picker/DatePicker.d.ts +0 -13
  156. package/dist/cjs/types/lib/date-picker/DatePicker.style.d.ts +0 -6
  157. package/dist/cjs/types/lib/floating-button/FloatingButton.d.ts +0 -8
  158. package/dist/cjs/types/lib/floating-button/FloatingButton.style.d.ts +0 -6
  159. package/dist/cjs/types/lib/footer-for-booking/FooterForBooking.d.ts +0 -10
  160. package/dist/cjs/types/lib/footer-for-booking/FooterForBooking.style.d.ts +0 -7
  161. package/dist/cjs/types/lib/input/Input.d.ts +0 -13
  162. package/dist/cjs/types/lib/input/Input.style.d.ts +0 -7
  163. package/dist/cjs/types/lib/list-button/ListButton.d.ts +0 -9
  164. package/dist/cjs/types/lib/list-button/ListButton.style.d.ts +0 -2
  165. package/dist/cjs/types/lib/navigation-bar/NavigationBar.d.ts +0 -8
  166. package/dist/cjs/types/lib/navigation-bar/NavigationBar.style.d.ts +0 -8
  167. package/dist/cjs/types/lib/no-internet-connection/NoInternetConnection.d.ts +0 -7
  168. package/dist/cjs/types/lib/no-internet-connection/NoInternetConnection.style.d.ts +0 -6
  169. package/dist/cjs/types/lib/notes-card-text/NotesCardText.d.ts +0 -6
  170. package/dist/cjs/types/lib/notes-card-text/NotesCardText.style.d.ts +0 -1
  171. package/dist/cjs/types/lib/notes-editor/NotesEditor.d.ts +0 -5
  172. package/dist/cjs/types/lib/notes-editor/NotesEditor.styled.d.ts +0 -2
  173. package/dist/cjs/types/lib/scroll-tabs/ScrollTabs.d.ts +0 -7
  174. package/dist/cjs/types/lib/scroll-tabs/ScrollTabs.style.d.ts +0 -3
  175. package/dist/cjs/types/lib/tab-bar/TabBar.d.ts +0 -6
  176. package/dist/cjs/types/lib/tab-bar/TabBar.style.d.ts +0 -5
  177. package/dist/cjs/types/lib/therapist-card/TherapistCard.d.ts +0 -13
  178. package/dist/cjs/types/lib/therapist-card/TherapistCard.style.d.ts +0 -5
  179. package/dist/cjs/types/lib/therapist-information-component/TherapistInformationComponent.d.ts +0 -10
  180. package/dist/cjs/types/lib/therapist-information-component/TherapistInformationComponent.style.d.ts +0 -2
  181. package/dist/cjs/types/lib/toast/toast.d.ts +0 -5
  182. package/dist/cjs/types/lib/userAppTypes.d.ts +0 -239
  183. package/dist/cjs/types/lib/your-local-time-block/YourLocalTimeBlock.d.ts +0 -6
  184. package/dist/cjs/types/lib/your-local-time-block/YourLocalTimeBlock.styled.d.ts +0 -2
  185. package/dist/esm/b7649e1531c181af.svg +0 -69
  186. package/dist/esm/index.js +0 -180
  187. package/dist/esm/index.js.map +0 -1
  188. package/dist/esm/types/lib/AppHeader/AppHeader.d.ts +0 -6
  189. package/dist/esm/types/lib/AppHeader/AppHeader.style.d.ts +0 -7
  190. package/dist/esm/types/lib/AppHeader/index.d.ts +0 -1
  191. package/dist/esm/types/lib/Avatar/Avatar.d.ts +0 -9
  192. package/dist/esm/types/lib/Avatar/Avatar.style.d.ts +0 -5
  193. package/dist/esm/types/lib/Avatar/index.d.ts +0 -1
  194. package/dist/esm/types/lib/Container/Container.d.ts +0 -3
  195. package/dist/esm/types/lib/Container/Container.styled.d.ts +0 -5
  196. package/dist/esm/types/lib/Container/index.d.ts +0 -1
  197. package/dist/esm/types/lib/EntryNotFound/EntryNotFound.d.ts +0 -5
  198. package/dist/esm/types/lib/EntryNotFound/EntryNotFound.style.d.ts +0 -2
  199. package/dist/esm/types/lib/EntryNotFound/index.d.ts +0 -1
  200. package/dist/esm/types/lib/Filters/ListSelect/ListSelect.d.ts +0 -13
  201. package/dist/esm/types/lib/Filters/ListSelect/ListSelect.style.d.ts +0 -9
  202. package/dist/esm/types/lib/Filters/ListSelect/index.d.ts +0 -1
  203. package/dist/esm/types/lib/Filters/Range/Range.d.ts +0 -14
  204. package/dist/esm/types/lib/Filters/Range/Range.style.d.ts +0 -3
  205. package/dist/esm/types/lib/Filters/Range/index.d.ts +0 -1
  206. package/dist/esm/types/lib/Filters/RowSelect/RowSelect.d.ts +0 -13
  207. package/dist/esm/types/lib/Filters/RowSelect/RowSelect.style.d.ts +0 -7
  208. package/dist/esm/types/lib/Filters/RowSelect/index.d.ts +0 -1
  209. package/dist/esm/types/lib/Filters/Toggle/Toggle.d.ts +0 -8
  210. package/dist/esm/types/lib/Filters/Toggle/Toggle.style.d.ts +0 -2
  211. package/dist/esm/types/lib/Filters/Toggle/index.d.ts +0 -1
  212. package/dist/esm/types/lib/HorisontalCalendar/HorizontalCalendar.d.ts +0 -40
  213. package/dist/esm/types/lib/HorisontalCalendar/HorizontalCalendar.styled.d.ts +0 -2
  214. package/dist/esm/types/lib/HorisontalCalendar/index.d.ts +0 -1
  215. package/dist/esm/types/lib/ImageWithFallback/ImageWithFallback.d.ts +0 -6
  216. package/dist/esm/types/lib/LetterAvatar/LetterAvatar.d.ts +0 -9
  217. package/dist/esm/types/lib/LetterAvatar/LetterAvatar.styled.d.ts +0 -5
  218. package/dist/esm/types/lib/Modal/Modal.d.ts +0 -8
  219. package/dist/esm/types/lib/Modal/Modal.style.d.ts +0 -6
  220. package/dist/esm/types/lib/Modal/index.d.ts +0 -1
  221. package/dist/esm/types/lib/ModalCalendar/ModalCalendar.d.ts +0 -10
  222. package/dist/esm/types/lib/ModalCalendar/ModalCalendar.styled.d.ts +0 -12
  223. package/dist/esm/types/lib/PersonDateTimeCard/PersonDateTimeCard.d.ts +0 -8
  224. package/dist/esm/types/lib/PersonDateTimeCard/PersonDateTimeCard.styled.d.ts +0 -2
  225. package/dist/esm/types/lib/Segment/Segment.d.ts +0 -10
  226. package/dist/esm/types/lib/Segment/index.d.ts +0 -2
  227. package/dist/esm/types/lib/Segment/types.d.ts +0 -4
  228. package/dist/esm/types/lib/SelectImpressionEmoji/ImpressionEmojiEnum.d.ts +0 -8
  229. package/dist/esm/types/lib/SelectImpressionEmoji/SelectImpressionEmoji.d.ts +0 -4
  230. package/dist/esm/types/lib/SelectImpressionEmoji/SelectImpressionEmoji.styled.d.ts +0 -2
  231. package/dist/esm/types/lib/SelectImpressionEmoji/SelectImpressionEmojiProps.d.ts +0 -6
  232. package/dist/esm/types/lib/SelectImpressionEmoji/emojis.d.ts +0 -5
  233. package/dist/esm/types/lib/SelectImpressionEmoji/index.d.ts +0 -4
  234. package/dist/esm/types/lib/Theme/mindly_constants.d.ts +0 -22
  235. package/dist/esm/types/lib/UsersPsychologistScrollList/UserPsychologistScrollList.styled.d.ts +0 -6
  236. package/dist/esm/types/lib/UsersPsychologistScrollList/UsersPsychologistScrollList.d.ts +0 -10
  237. package/dist/esm/types/lib/archived-consultation-card/ArchivedConsultationCard.d.ts +0 -14
  238. package/dist/esm/types/lib/archived-consultation-card/ArchivedConsultationCard.style.d.ts +0 -3
  239. package/dist/esm/types/lib/button/Button.d.ts +0 -9
  240. package/dist/esm/types/lib/button/Button.style.d.ts +0 -6
  241. package/dist/esm/types/lib/consultation-card/ConsultationCard.d.ts +0 -31
  242. package/dist/esm/types/lib/consultation-card/ConsultationCard.style.d.ts +0 -7
  243. package/dist/esm/types/lib/consultation-card/ConsultationCardSkeleton.d.ts +0 -2
  244. package/dist/esm/types/lib/consultation-card/index.d.ts +0 -2
  245. package/dist/esm/types/lib/content-card/ContentCard.d.ts +0 -15
  246. package/dist/esm/types/lib/content-card/ContentCard.style.d.ts +0 -11
  247. package/dist/esm/types/lib/date-picker/DatePicker.d.ts +0 -13
  248. package/dist/esm/types/lib/date-picker/DatePicker.style.d.ts +0 -6
  249. package/dist/esm/types/lib/floating-button/FloatingButton.d.ts +0 -8
  250. package/dist/esm/types/lib/floating-button/FloatingButton.style.d.ts +0 -6
  251. package/dist/esm/types/lib/footer-for-booking/FooterForBooking.d.ts +0 -10
  252. package/dist/esm/types/lib/footer-for-booking/FooterForBooking.style.d.ts +0 -7
  253. package/dist/esm/types/lib/input/Input.d.ts +0 -13
  254. package/dist/esm/types/lib/input/Input.style.d.ts +0 -7
  255. package/dist/esm/types/lib/list-button/ListButton.d.ts +0 -9
  256. package/dist/esm/types/lib/list-button/ListButton.style.d.ts +0 -2
  257. package/dist/esm/types/lib/navigation-bar/NavigationBar.d.ts +0 -8
  258. package/dist/esm/types/lib/navigation-bar/NavigationBar.style.d.ts +0 -8
  259. package/dist/esm/types/lib/no-internet-connection/NoInternetConnection.d.ts +0 -7
  260. package/dist/esm/types/lib/no-internet-connection/NoInternetConnection.style.d.ts +0 -6
  261. package/dist/esm/types/lib/notes-card-text/NotesCardText.d.ts +0 -6
  262. package/dist/esm/types/lib/notes-card-text/NotesCardText.style.d.ts +0 -1
  263. package/dist/esm/types/lib/notes-card-text/index.d.ts +0 -1
  264. package/dist/esm/types/lib/notes-editor/NotesEditor.d.ts +0 -5
  265. package/dist/esm/types/lib/notes-editor/NotesEditor.styled.d.ts +0 -2
  266. package/dist/esm/types/lib/scroll-tabs/ScrollTabs.d.ts +0 -7
  267. package/dist/esm/types/lib/scroll-tabs/ScrollTabs.style.d.ts +0 -3
  268. package/dist/esm/types/lib/tab-bar/TabBar.d.ts +0 -6
  269. package/dist/esm/types/lib/tab-bar/TabBar.style.d.ts +0 -5
  270. package/dist/esm/types/lib/therapist-card/TherapistCard.d.ts +0 -13
  271. package/dist/esm/types/lib/therapist-card/TherapistCard.style.d.ts +0 -5
  272. package/dist/esm/types/lib/therapist-information-component/TherapistInformationComponent.d.ts +0 -10
  273. package/dist/esm/types/lib/therapist-information-component/TherapistInformationComponent.style.d.ts +0 -2
  274. package/dist/esm/types/lib/toast/toast.d.ts +0 -5
  275. package/dist/esm/types/lib/userAppTypes.d.ts +0 -239
  276. package/dist/esm/types/lib/your-local-time-block/YourLocalTimeBlock.d.ts +0 -6
  277. package/dist/esm/types/lib/your-local-time-block/YourLocalTimeBlock.styled.d.ts +0 -2
  278. package/dist/index.d.ts +0 -644
  279. /package/dist/{cjs/types/lib/AppHeader/index.d.ts → lib/AppHeader/index.ts} +0 -0
  280. /package/dist/{cjs/types/lib/Avatar/index.d.ts → lib/Avatar/index.ts} +0 -0
  281. /package/dist/{cjs/types/lib/Container/index.d.ts → lib/Container/index.ts} +0 -0
  282. /package/dist/{cjs/b7649e1531c181af.svg → lib/EntryNotFound/calendar.svg} +0 -0
  283. /package/dist/{cjs/types/lib/EntryNotFound/index.d.ts → lib/EntryNotFound/index.ts} +0 -0
  284. /package/dist/{cjs/types/lib/Filters/ListSelect/index.d.ts → lib/Filters/ListSelect/index.ts} +0 -0
  285. /package/dist/{cjs/types/lib/Filters/Range/index.d.ts → lib/Filters/Range/index.ts} +0 -0
  286. /package/dist/{cjs/types/lib/Filters/RowSelect/index.d.ts → lib/Filters/RowSelect/index.ts} +0 -0
  287. /package/dist/{cjs/types/lib/Filters/Toggle/index.d.ts → lib/Filters/Toggle/index.ts} +0 -0
  288. /package/dist/{cjs/types/lib/HorisontalCalendar/index.d.ts → lib/HorisontalCalendar/index.ts} +0 -0
  289. /package/dist/{cjs/types/lib/Modal/index.d.ts → lib/Modal/index.ts} +0 -0
  290. /package/dist/{cjs/types/lib/Segment/index.d.ts → lib/Segment/index.ts} +0 -0
  291. /package/dist/{cjs/types/lib/consultation-card/index.d.ts → lib/consultation-card/index.ts} +0 -0
  292. /package/dist/{cjs/types/lib/notes-card-text/index.d.ts → lib/notes-card-text/index.ts} +0 -0
@@ -0,0 +1,43 @@
1
+ import styled from 'styled-components';
2
+ import { colorConstants } from '../Theme/mindly_constants';
3
+
4
+ interface ContainerProps {
5
+ isIos: boolean;
6
+ }
7
+
8
+ export const Container = styled.div<ContainerProps>`
9
+ display: flex;
10
+ box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.08);
11
+ position: fixed;
12
+ bottom: -1px;
13
+ width: 100vw;
14
+ border: none;
15
+ padding-bottom: ${(props) => (props.isIos ? '34px' : '10px')};
16
+ color: ${colorConstants.secondaryTextColor};
17
+ padding-top: 10px;
18
+ justify-content: center;
19
+ background: white;
20
+
21
+ div {
22
+ display: flex;
23
+ flex-direction: column;
24
+ align-items: center;
25
+ max-width: 150px;
26
+ flex-grow: 1;
27
+ flex-basis: 0;
28
+ cursor: pointer;
29
+ }
30
+
31
+ ion-icon {
32
+ font-size: 28px;
33
+ margin: 0;
34
+ }
35
+
36
+ ion-label {
37
+ font-weight: 700;
38
+ font-size: 10px;
39
+ margin: 0;
40
+ line-height: 14px;
41
+ font-family: 'Lato Bold', sans-serif;
42
+ }
43
+ `;
@@ -0,0 +1,11 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { Container } from './TabBar.style';
3
+
4
+ export interface TabBarProps {
5
+ children: ReactNode;
6
+ isIos: boolean;
7
+ }
8
+
9
+ export const TabBar: React.FC<TabBarProps> = (props) => {
10
+ return <Container isIos={props.isIos}>{props.children}</Container>;
11
+ };
@@ -0,0 +1,104 @@
1
+ import { IonIcon } from '@ionic/react';
2
+ import styled from 'styled-components';
3
+ import { colorConstants } from '../Theme/mindly_constants';
4
+
5
+ export const Container = styled.div`
6
+ cursor: pointer;
7
+ border-radius: 8px;
8
+ box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.15);
9
+ position: relative;
10
+ padding: 11px;
11
+
12
+ @media (min-width: 600px) {
13
+ max-width: 452px;
14
+ }
15
+ `;
16
+
17
+ export const Card = styled.div`
18
+ display: flex;
19
+ flex-direction: row;
20
+ align-content: center;
21
+ align-items: center;
22
+
23
+ .img-container {
24
+ max-height: 102px;
25
+ max-width: 102px;
26
+ flex: 1 0;
27
+ }
28
+
29
+ .card-content {
30
+ display: flex;
31
+ flex-direction: column;
32
+ flex: 1;
33
+ }
34
+
35
+ .img {
36
+ width: 102px;
37
+ height: 102px;
38
+ object-fit: cover;
39
+ border-radius: 4px;
40
+ }
41
+
42
+ h1 {
43
+ margin: 0px 16px 0;
44
+ color: ${colorConstants.primaryTextColor};
45
+ font-size: 16px;
46
+ line-height: 20px;
47
+ white-space: nowrap;
48
+ overflow: hidden;
49
+ text-overflow: ellipsis;
50
+ }
51
+
52
+ h3 {
53
+ margin: 4px 16px 0;
54
+ color: ${colorConstants.secondaryTextColor};
55
+ font-size: 14px;
56
+ line-height: 16px;
57
+ }
58
+ `;
59
+
60
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
61
+ export const PsychologistCardIcons = styled<any>(IonIcon)`
62
+ // #skipcq
63
+ color: ${colorConstants.primaryColor};
64
+ font-size: 20px;
65
+ margin: 0;
66
+
67
+ @media (max-width: 320px) {
68
+ font-size: 19px;
69
+ }
70
+ `;
71
+
72
+ export const IconsContainer = styled.div`
73
+ display: flex;
74
+ align-items: center;
75
+ padding: 0;
76
+ margin-right: 12px;
77
+ margin-top: 4px;
78
+
79
+ .color-green {
80
+ // #skipcq
81
+ color: ${colorConstants.AccentTickColor};
82
+ }
83
+
84
+ p {
85
+ color: ${colorConstants.primaryTextColor};
86
+ font-size: 12px;
87
+ line-height: 16px;
88
+ padding-left: 4px;
89
+ margin: 0;
90
+ font-family: 'Lato Regular', sans-serif;
91
+ white-space: nowrap;
92
+
93
+ @media (max-width: 320px) {
94
+ font-size: 10.5px;
95
+ line-height: 14px;
96
+ }
97
+ }
98
+ `;
99
+
100
+ export const InfoContainer = styled.div`
101
+ display: flex;
102
+ margin-left: 16px;
103
+ flex-wrap: wrap;
104
+ `;
@@ -0,0 +1,40 @@
1
+ import { render, screen } from '@testing-library/react';
2
+ import React from 'react';
3
+ import { TherapistCard } from './TherapistCard';
4
+
5
+ describe('Test therapist card', () => {
6
+ test('Smoke test', () => {
7
+ render(
8
+ <TherapistCard
9
+ handleClick={() => false}
10
+ psychologistDuration={50}
11
+ psychologistExperience={11}
12
+ psychologistLastName="Test"
13
+ psychologistName="User"
14
+ psychologistPhoto=""
15
+ psychologistPrice={500}
16
+ psychologistType="Therapist"
17
+ />
18
+ );
19
+ });
20
+
21
+ test('Try click on card', () => {
22
+ const handleClick = jest.fn();
23
+ expect(handleClick).toHaveBeenCalledTimes(0);
24
+ render(
25
+ <TherapistCard
26
+ handleClick={handleClick}
27
+ psychologistDuration={50}
28
+ psychologistExperience={11}
29
+ psychologistLastName="Test"
30
+ psychologistName="User"
31
+ psychologistPhoto=""
32
+ psychologistPrice={500}
33
+ psychologistType="Therapist"
34
+ data-testid="container"
35
+ />
36
+ );
37
+ screen.getByTestId('container').click();
38
+ expect(handleClick).toHaveBeenCalledTimes(1);
39
+ });
40
+ });
@@ -0,0 +1,96 @@
1
+ import React from 'react';
2
+ import { IonSkeletonText } from '@ionic/react';
3
+ import { timeOutline, cardOutline, briefcaseOutline } from 'ionicons/icons';
4
+ import {
5
+ PsychologistCardIcons,
6
+ IconsContainer,
7
+ Container,
8
+ InfoContainer,
9
+ Card,
10
+ } from './TherapistCard.style';
11
+
12
+ export interface TherapistCardProps {
13
+ psychologistName: string;
14
+ psychologistLastName: string;
15
+
16
+ /*
17
+ * The direction of psychologist work
18
+ */
19
+ psychologistType: string;
20
+
21
+ /*
22
+ * Link to psychologist photo
23
+ */
24
+ psychologistPhoto: string;
25
+
26
+ /*
27
+ * Consultation price
28
+ */
29
+ psychologistPrice: number;
30
+
31
+ /*
32
+ * Duration of consultation
33
+ */
34
+ psychologistDuration: number;
35
+ psychologistExperience: number;
36
+
37
+ /*
38
+ * The function that is called when clicking on the card
39
+ */
40
+ handleClick: (props?: React.SyntheticEvent) => void;
41
+ ['data-testid']?: string;
42
+ }
43
+
44
+ export const TherapistCard: React.FC<TherapistCardProps> = (props) => {
45
+ const [imageLoaded, setImageLoaded] = React.useState(false);
46
+
47
+ return (
48
+ <Container data-testid={props['data-testid']} onClick={props.handleClick}>
49
+ <Card>
50
+ <div className="img-container">
51
+ <img
52
+ className="img"
53
+ src={props.psychologistPhoto}
54
+ alt="psychologistPhoto"
55
+ onLoad={() => setImageLoaded(true)}
56
+ style={{ display: imageLoaded ? 'block' : 'none' }}
57
+ />
58
+
59
+ <IonSkeletonText
60
+ animated
61
+ className="img"
62
+ style={{ display: imageLoaded ? 'none' : 'block' }}
63
+ />
64
+ </div>
65
+
66
+ <div className="card-content">
67
+ <h1 className="bold">
68
+ {`${props.psychologistName} ${props.psychologistLastName}`}
69
+ </h1>
70
+ <h3 className="semiBold">{props.psychologistType}</h3>
71
+ <InfoContainer>
72
+ <IconsContainer>
73
+ <PsychologistCardIcons icon={timeOutline} />
74
+ <p className="semiBold">{`${props.psychologistDuration} хвилин`}</p>
75
+ </IconsContainer>
76
+ <IconsContainer>
77
+ <PsychologistCardIcons icon={briefcaseOutline} />
78
+ <p className="semiBold">
79
+ {props.psychologistExperience >= 5
80
+ ? `${props.psychologistExperience} років досвіду`
81
+ : props.psychologistExperience === 1
82
+ ? `${props.psychologistExperience} рік досвіду`
83
+ : `${props.psychologistExperience} роки досвіду`}
84
+ </p>
85
+ </IconsContainer>
86
+ <IconsContainer>
87
+ <PsychologistCardIcons icon={cardOutline} className="color-green" />
88
+ <p className="semiBold color-green">{`${props.psychologistPrice} грн`}</p>
89
+ </IconsContainer>
90
+ </InfoContainer>
91
+ </div>
92
+
93
+ </Card>
94
+ </Container>
95
+ );
96
+ };
@@ -0,0 +1,40 @@
1
+ import styled from 'styled-components';
2
+ import { colorConstants } from '../Theme/mindly_constants';
3
+
4
+ export const Container = styled.div`
5
+ width: 100%;
6
+ display: flex;
7
+ flex-direction: column;
8
+
9
+ img {
10
+ width: 100%;
11
+ height: 222px;
12
+ border-radius: 8px;
13
+ object-fit: cover;
14
+
15
+ @media (min-width: 600px) {
16
+ height: auto;
17
+ }
18
+
19
+ @media (min-width: 1024px) {
20
+ height: auto;
21
+ }
22
+ }
23
+ `;
24
+
25
+ export const Info = styled.div`
26
+ display: flex;
27
+ justify-content: space-between;
28
+ margin-top: 16px;
29
+
30
+ h3 {
31
+ color: ${colorConstants.primaryTextColor};
32
+ display: flex;
33
+ align-items: center;
34
+
35
+ ion-icon {
36
+ margin-right: 4px;
37
+ font-size: 24px;
38
+ }
39
+ }
40
+ `;
@@ -0,0 +1,16 @@
1
+ import { render } from '@testing-library/react';
2
+ import React from 'react';
3
+ import { TherapistInformationComponent } from './TherapistInformationComponent';
4
+
5
+ describe('Test therapist information component', () => {
6
+ test('Smoke test', () => {
7
+ render(
8
+ <TherapistInformationComponent
9
+ price="1200 грн"
10
+ avatar=""
11
+ duration="50 хв"
12
+ experience="4 роки"
13
+ />
14
+ );
15
+ });
16
+ });
@@ -0,0 +1,51 @@
1
+ import React from 'react';
2
+ import { Container, Info } from './TherapistInformationComponent.style';
3
+ import { timeOutline, cardOutline, briefcaseOutline } from 'ionicons/icons';
4
+ import { IonIcon } from '@ionic/react';
5
+ import '../Theme/global.css';
6
+
7
+ export interface TherapistInformationComponentProps {
8
+ /*
9
+ * Link to psychologist avatar
10
+ */
11
+ avatar: string;
12
+
13
+ /*
14
+ * Psychologist's experience
15
+ */
16
+ experience: string;
17
+
18
+ /*
19
+ * Consultation duration
20
+ */
21
+ duration: string;
22
+
23
+ /*
24
+ * Consultation cost
25
+ */
26
+ price: string;
27
+ ['data-testid']?: string;
28
+ }
29
+
30
+ export const TherapistInformationComponent: React.FC<TherapistInformationComponentProps> =
31
+ (props) => {
32
+ return (
33
+ <Container data-testid={props['data-testid']}>
34
+ <img src={props.avatar} alt="therapist avatar" />
35
+ <Info>
36
+ <h3 className="semiBold">
37
+ <IonIcon icon={briefcaseOutline} color="primary" />
38
+ {props.experience}
39
+ </h3>
40
+ <h3 className="semiBold">
41
+ <IonIcon icon={timeOutline} color="primary" />
42
+ {props.duration}
43
+ </h3>
44
+ <h3 className="semiBold">
45
+ <IonIcon icon={cardOutline} color="primary" />
46
+ {props.price}
47
+ </h3>
48
+ </Info>
49
+ </Container>
50
+ );
51
+ };
@@ -0,0 +1,13 @@
1
+ .toast_classes {
2
+ color: #ffffff;
3
+ --background: #1d201f;
4
+ font-weight: 400;
5
+ font-size: 14px;
6
+ line-height: 16px;
7
+ margin-top: 30px;
8
+ border-radius: 4px;
9
+ }
10
+
11
+ .toast_classes_ios {
12
+ top: -36px;
13
+ }
@@ -0,0 +1,17 @@
1
+ import './index.css';
2
+ import { isPlatform } from '@ionic/react';
3
+ /**
4
+ * Toast that work line an API, we can call it anywhere, need message text and duration(default 3 seconds)
5
+ */
6
+ export const toast = (message: string, duration = 4500): Promise<void> => {
7
+ const toastMessage = document.createElement('ion-toast');
8
+ toastMessage.message = message;
9
+ toastMessage.duration = duration;
10
+ toastMessage.position = 'top';
11
+ toastMessage.cssClass = isPlatform('ios')
12
+ ? 'toast_classes toast_classes_ios'
13
+ : 'toast_classes';
14
+
15
+ document.getElementById('root')?.appendChild(toastMessage);
16
+ return toastMessage.present();
17
+ };
@@ -0,0 +1,261 @@
1
+ export interface IPromotionalCode {
2
+ /**
3
+ * The percentage value that specifies the size of the discount
4
+ * @example 25
5
+ */
6
+ percent_off: number;
7
+ /**
8
+ * Price after applying promocode
9
+ */
10
+ price_uah: string;
11
+ }
12
+
13
+ export enum PaidTypes {
14
+ paid_100 = 'paid_100',
15
+ paid_0 = 'paid_0',
16
+ }
17
+
18
+ export type PsychologistProfileType = {
19
+ id: string;
20
+ psychologist_id?: string;
21
+ articles: Array<{
22
+ subtheme: string;
23
+ content: Array<{ photoURL: string; title: string; link: string }>;
24
+ }>;
25
+ education: string;
26
+ experience: string;
27
+ goal: string;
28
+ not_work_with: Array<string>;
29
+ short_description: string;
30
+ specialization: string;
31
+ video: Array<{
32
+ subtheme: string;
33
+ content: Array<{ title: string; url: string }>;
34
+ }>;
35
+ work_with: Array<string>;
36
+ };
37
+
38
+ //PsychologistCalendarType****
39
+ export type PsycologistCalendarType = {
40
+ id: string;
41
+ psychologist_id: string;
42
+ schedule: Array<{ slot_id: string }>;
43
+ };
44
+
45
+ export type WeeklyAvailabilitiesItem = {
46
+ reason: 'busy' | 'opened' | 'booked';
47
+ isAvailable: boolean;
48
+ time: string;
49
+ };
50
+
51
+ export type PsychologistDevicesProfileType = {
52
+ tokens?: {
53
+ fcmtokens?: string[];
54
+ };
55
+ };
56
+
57
+ export type PsychologistType = {
58
+ id: string;
59
+ consultation_with: string;
60
+ duration: number;
61
+ email: string;
62
+ first_name: string;
63
+ last_name: string;
64
+ price: number;
65
+ focus: string;
66
+ photo: string;
67
+ avatar: string;
68
+ experience: number;
69
+ time_zone: string;
70
+ calendar: PsycologistCalendarType;
71
+ devices?: PsychologistDevicesProfileType;
72
+ profile: PsychologistProfileType;
73
+ isTestUser: boolean;
74
+ psychologistSex?: 'female' | 'male';
75
+ };
76
+
77
+ export type ConsultationType = {
78
+ id: string;
79
+ consultation_time: {
80
+ _seconds: number;
81
+ nanoseconds: number;
82
+ };
83
+ consultation_with: string;
84
+ duration: number;
85
+ exchange_rate: string;
86
+ payment_date: {
87
+ _seconds: number;
88
+ nanoseconds: number;
89
+ };
90
+ payment_type?: string;
91
+ price: number;
92
+ price_uah: number;
93
+ psychologist_avatar: string;
94
+ psychologist_id: string;
95
+ psychologist_name: string;
96
+ psychologist_timezone: string;
97
+ user_avatar: string;
98
+ user_id: string;
99
+ user_name: string;
100
+ user_timezone: string;
101
+ videochat_url: string;
102
+ was_rescheduled: boolean;
103
+ session_status?: 'client_showed' | 'client_not_showed';
104
+ consultation_time_before_rescheduling?: {
105
+ _seconds: number;
106
+ nanoseconds: number;
107
+ };
108
+ applied_promotional_code?: string | null;
109
+ auto_booking_status?: 'enable' | 'disable';
110
+ };
111
+
112
+ export type ConsultationWatcherType = {
113
+ user_id: string;
114
+ payment_date: {
115
+ seconds: number;
116
+ nanoseconds: number;
117
+ };
118
+ };
119
+
120
+ export type HasPaidConsultationsWithType = {
121
+ therapistID?: string;
122
+ currentPrice?: string;
123
+ };
124
+
125
+ export type UserType = {
126
+ id?: string | undefined;
127
+ avatar?: Array<{ url: string }>;
128
+ display_name: string;
129
+ last_name?: string;
130
+ displayName?: string;
131
+ email: string;
132
+ phone_number: string;
133
+ phoneNumber?: string;
134
+ surveyAnswers?: QuestionType[];
135
+ user_psychologists?: Array<string> | string;
136
+ isTestUser: boolean;
137
+ /**
138
+ * @deprecated
139
+ */
140
+ client_from_country?: string;
141
+ financial_support_approved?: boolean;
142
+ hasPaidConsultationsWith?: Array<HasPaidConsultationsWithType>;
143
+ };
144
+
145
+ export type QuestionType = {
146
+ answers: string[];
147
+ photoURL: string;
148
+ question: string;
149
+ subquestion: string;
150
+ };
151
+
152
+ export type AnswerType = {
153
+ id: number;
154
+ question: string;
155
+ answer: string;
156
+ };
157
+
158
+ export type SurveyType = {
159
+ questions: QuestionType[];
160
+ };
161
+
162
+ export type InputState = {
163
+ value: string;
164
+ active: boolean;
165
+ };
166
+
167
+ export type ChangeUserDataObject = {
168
+ display_name: string;
169
+ last_name: string;
170
+ phone_number: string;
171
+ };
172
+
173
+ export type GoogleForgotPasswordAnswer = {
174
+ apiKey: string;
175
+ lang: string;
176
+ mode: string;
177
+ oobCode: string;
178
+ };
179
+
180
+ export interface Customer {
181
+ /**
182
+ * Unique identifier for the object.
183
+ */
184
+ id: string;
185
+
186
+ /**
187
+ * String representing the object's type. Objects of the same type share the same value.
188
+ */
189
+ object: 'customer';
190
+
191
+ /**
192
+ * Current balance, if any, being stored on the customer. If negative, the customer has credit to apply to their next invoice. If positive, the customer has an amount owed that will be added to their next invoice. The balance does not refer to any unpaid invoices; it solely takes into account amounts that have yet to be successfully applied to any invoice. This balance is only taken into account as invoices are finalized.
193
+ */
194
+ balance: number;
195
+
196
+ /**
197
+ * Time at which the object was created. Measured in seconds since the Unix epoch.
198
+ */
199
+ created: number;
200
+
201
+ /**
202
+ * Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) the customer can be charged in for recurring billing purposes.
203
+ */
204
+ currency: string | null;
205
+
206
+ deleted?: void;
207
+
208
+ /**
209
+ * When the customer's latest invoice is billed by charging automatically, `delinquent` is `true` if the invoice's latest charge failed. When the customer's latest invoice is billed by sending an invoice, `delinquent` is `true` if the invoice isn't paid by its due date.
210
+ *
211
+ * If an invoice is marked uncollectible by [dunning](https://stripe.com/docs/billing/automatic-collection), `delinquent` doesn't get reset to `false`.
212
+ */
213
+ delinquent: boolean | null;
214
+
215
+ /**
216
+ * An arbitrary string attached to the object. Often useful for displaying to users.
217
+ */
218
+ description: string | null;
219
+
220
+ /**
221
+ * The customer's email address.
222
+ */
223
+ email: string | null;
224
+
225
+ /**
226
+ * The prefix for the customer used to generate unique invoice numbers.
227
+ */
228
+ invoice_prefix: string | null;
229
+
230
+ invoice_settings: {
231
+ /**
232
+ * ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices.
233
+ */
234
+ default_payment_method?: string;
235
+ };
236
+
237
+ /**
238
+ * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
239
+ */
240
+ livemode: boolean;
241
+
242
+ /**
243
+ * The customer's full name or business name.
244
+ */
245
+ name: string | null;
246
+
247
+ /**
248
+ * The suffix of the customer's next invoice number, e.g., 0001.
249
+ */
250
+ next_invoice_sequence?: number;
251
+
252
+ /**
253
+ * The customer's phone number.
254
+ */
255
+ phone: string | null;
256
+
257
+ /**
258
+ * The customer's preferred locales (languages), ordered by preference.
259
+ */
260
+ preferred_locales: Array<string> | null;
261
+ }