@tactics/toddle-styleguide 1.3.2 → 1.4.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.
Files changed (305) hide show
  1. package/App.d.ts +2 -1
  2. package/index.d.ts +2 -1
  3. package/index.tsx +2 -0
  4. package/package.json +20 -20
  5. package/src/components/atoms/animated-wave/animated-wave.component.d.ts +2 -1
  6. package/src/components/atoms/animated-wave/animated-wave.styles.d.ts +19 -19
  7. package/src/components/atoms/backdrop/backdrop.component.d.ts +5 -7
  8. package/src/components/atoms/backdrop/backdrop.styles.d.ts +9 -9
  9. package/src/components/atoms/background-gradient/background-gradient.component.d.ts +2 -1
  10. package/src/components/atoms/background-gradient/background-gradient.preview.d.ts +2 -1
  11. package/src/components/atoms/background-gradient/background-gradient.styles.d.ts +6 -6
  12. package/src/components/atoms/calendar/__snapshots__/calendar.test.js.snap +18 -18
  13. package/src/components/atoms/calendar/calendar.component.d.ts +7 -11
  14. package/src/components/atoms/calendar/calendar.preview.d.ts +2 -1
  15. package/src/components/atoms/check-switch/check-switch.component.d.ts +4 -3
  16. package/src/components/atoms/check-switch/check-switch.preview.d.ts +2 -1
  17. package/src/components/atoms/footer/footer.component.d.ts +6 -6
  18. package/src/components/atoms/footer/footer.preview.d.ts +2 -1
  19. package/src/components/atoms/footer/footer.styles.d.ts +12 -13
  20. package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.d.ts +3 -10
  21. package/src/components/atoms/heading-components/heading1/heading1.component.d.ts +3 -10
  22. package/src/components/atoms/heading-components/heading2/heading2.component.d.ts +3 -10
  23. package/src/components/atoms/heading-components/heading3/heading3.component.d.ts +3 -10
  24. package/src/components/atoms/heading-components/heading4/heading4.component.d.ts +3 -10
  25. package/src/components/atoms/heading-components/headings.preview.d.ts +2 -1
  26. package/src/components/atoms/heading-components/index.d.ts +6 -6
  27. package/src/components/atoms/image-bubble/image-bubble.component.d.ts +7 -9
  28. package/src/components/atoms/image-bubble/image-bubble.preview.d.ts +2 -1
  29. package/src/components/atoms/increment-input/increment-input.component.d.ts +5 -8
  30. package/src/components/atoms/increment-input/increment-input.preview.d.ts +2 -1
  31. package/src/components/atoms/increment-input/increment-input.styles.d.ts +33 -34
  32. package/src/components/atoms/line/line.component.d.ts +5 -8
  33. package/src/components/atoms/line/line.preview.d.ts +2 -1
  34. package/src/components/atoms/line/line.preview.tsx +1 -0
  35. package/src/components/atoms/logo/logo.component.d.ts +5 -4
  36. package/src/components/atoms/logo/logo.preview.d.ts +2 -1
  37. package/src/components/atoms/paragraph-components/index.d.ts +4 -4
  38. package/src/components/atoms/paragraph-components/paragraph/paragraph.component.d.ts +3 -10
  39. package/src/components/atoms/paragraph-components/paragraph-components.preview.d.ts +2 -1
  40. package/src/components/atoms/paragraph-components/small-text/small-text.component.d.ts +3 -10
  41. package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.d.ts +3 -10
  42. package/src/components/atoms/quick-message/quick-message.component.d.ts +6 -10
  43. package/src/components/atoms/quick-message/quick-message.component.tsx +1 -0
  44. package/src/components/atoms/quick-message/quick-message.preview.d.ts +2 -1
  45. package/src/components/atoms/quick-message/quick-message.preview.tsx +1 -0
  46. package/src/components/atoms/quick-message/quick-message.styles.d.ts +13 -16
  47. package/src/components/atoms/split-container/split-container.component.d.ts +4 -7
  48. package/src/components/atoms/split-container/split-container.preview.d.ts +2 -1
  49. package/src/components/atoms/split-container/split-container.styles.d.ts +12 -12
  50. package/src/components/atoms/static-wave/static-wave.component.d.ts +7 -11
  51. package/src/components/atoms/text-input/text-input.component.d.ts +7 -10
  52. package/src/components/atoms/text-input/text-input.preview.d.ts +2 -1
  53. package/src/components/molecules/avatar/avatar.component.d.ts +12 -18
  54. package/src/components/molecules/avatar/avatar.preview.d.ts +2 -1
  55. package/src/components/molecules/blocked-message/blocked-message.component.d.ts +3 -4
  56. package/src/components/molecules/blocked-message/blocked-message.preview.d.ts +2 -1
  57. package/src/components/molecules/button/button.component.d.ts +12 -20
  58. package/src/components/molecules/button/button.preview.d.ts +2 -1
  59. package/src/components/molecules/calendar-select/calendar-select.component.d.ts +8 -12
  60. package/src/components/molecules/calendar-select/calendar-select.preview.d.ts +2 -1
  61. package/src/components/molecules/cancel-link/cancel-link.component.d.ts +5 -4
  62. package/src/components/molecules/cancel-link/cancel-link.preview.d.ts +2 -1
  63. package/src/components/molecules/checkbox/checkbox.component.d.ts +6 -9
  64. package/src/components/molecules/checkbox/checkbox.preview.d.ts +2 -1
  65. package/src/components/molecules/contact-role/contact-role.component.d.ts +4 -6
  66. package/src/components/molecules/contact-role/contact-role.preview.d.ts +2 -1
  67. package/src/components/molecules/date-input/date-input.component.d.ts +5 -7
  68. package/src/components/molecules/date-input/date-input.preview.d.ts +2 -1
  69. package/src/components/molecules/date-input/date-input.styles.d.ts +16 -22
  70. package/src/components/molecules/day/day.component.d.ts +7 -6
  71. package/src/components/molecules/default-select/default-select.component.d.ts +4 -6
  72. package/src/components/molecules/default-select/default-select.preview.d.ts +2 -1
  73. package/src/components/molecules/default-select/default-select.styles.d.ts +11 -11
  74. package/src/components/molecules/department_logo/department-logo.component.d.ts +4 -5
  75. package/src/components/molecules/department_logo/department-logo.preview.d.ts +2 -1
  76. package/src/components/molecules/failed-to-send/failed-bubble.component.d.ts +7 -11
  77. package/src/components/molecules/filter-range/filter-range.component.d.ts +8 -14
  78. package/src/components/molecules/filter-range/filter-range.preview.d.ts +2 -1
  79. package/src/components/molecules/filter-range/filter-range.styles.d.ts +20 -20
  80. package/src/components/molecules/filter-tab/filter-tab.component.d.ts +8 -11
  81. package/src/components/molecules/filter-tab/filter-tab.preview.d.ts +2 -1
  82. package/src/components/molecules/filter-tab/filter-tab.styles.d.ts +53 -60
  83. package/src/components/molecules/info/info.component.d.ts +5 -4
  84. package/src/components/molecules/info/info.preview.d.ts +2 -1
  85. package/src/components/molecules/info/info.styles.d.ts +14 -22
  86. package/src/components/molecules/language-button/language-button.component.d.ts +5 -8
  87. package/src/components/molecules/language-button/language-button.preview.d.ts +2 -1
  88. package/src/components/molecules/message-input/message-input.component.d.ts +7 -10
  89. package/src/components/molecules/message-input/message-input.preview.d.ts +2 -1
  90. package/src/components/molecules/message-input/message-input.styles.d.ts +31 -31
  91. package/src/components/molecules/more-info-button/more-info-button.component.d.ts +5 -8
  92. package/src/components/molecules/more-info-button/more-info-button.preview.d.ts +2 -1
  93. package/src/components/molecules/password-input/password-input.component.d.ts +6 -9
  94. package/src/components/molecules/password-input/password-input.preview.d.ts +2 -1
  95. package/src/components/molecules/password-input/password-input.styles.d.ts +27 -27
  96. package/src/components/molecules/pill/pill.component.d.ts +6 -5
  97. package/src/components/molecules/pill/pill.preview.d.ts +2 -1
  98. package/src/components/molecules/pressable-icon/pressable-icon.component.d.ts +5 -10
  99. package/src/components/molecules/pressable-icon/pressable-icon.preview.d.ts +2 -1
  100. package/src/components/molecules/quick-filter/quick-filter.component.d.ts +10 -16
  101. package/src/components/molecules/quick-filter/quick-filter.preview.d.ts +2 -1
  102. package/src/components/molecules/search-input/search.component.d.ts +8 -12
  103. package/src/components/molecules/search-input/search.preview.d.ts +2 -1
  104. package/src/components/molecules/search-input/search.styles.d.ts +31 -31
  105. package/src/components/molecules/select-link/select-link.component.d.ts +5 -4
  106. package/src/components/molecules/select-link/select-link.preview.d.ts +2 -1
  107. package/src/components/molecules/select-list-item/select-list-item-preview.d.ts +2 -1
  108. package/src/components/molecules/select-list-item/select-list-item.component.d.ts +7 -13
  109. package/src/components/molecules/select-list-item/select-list-item.styles.d.ts +28 -39
  110. package/src/components/molecules/select-picker/select-picker.component.d.ts +9 -13
  111. package/src/components/molecules/select-picker/select-picker.preview.d.ts +2 -1
  112. package/src/components/molecules/select-picker/select-picker.styles.d.ts +30 -31
  113. package/src/components/molecules/send-bubble/send-text-bubble.component.d.ts +8 -13
  114. package/src/components/molecules/snackbar/snackbar.component.d.ts +6 -5
  115. package/src/components/molecules/snackbar/snackbar.preview.d.ts +2 -1
  116. package/src/components/molecules/swipe/swipe.component.d.ts +5 -5
  117. package/src/components/molecules/swipe/swipe.preview.d.ts +2 -1
  118. package/src/components/molecules/tag/tag.component.d.ts +7 -11
  119. package/src/components/molecules/tag/tag.preview.d.ts +2 -1
  120. package/src/components/molecules/time-picker/time-picker.component.d.ts +6 -10
  121. package/src/components/molecules/time-picker/time-picker.component.tsx +1 -0
  122. package/src/components/molecules/time-picker/time-picker.preview.d.ts +2 -1
  123. package/src/components/molecules/time-tracker/time-tracker.component.d.ts +7 -10
  124. package/src/components/molecules/time-tracker/time-tracker.preview.d.ts +2 -1
  125. package/src/components/molecules/timeline/timeline.component.d.ts +4 -6
  126. package/src/components/molecules/timeline/timeline.preview.d.ts +2 -1
  127. package/src/components/molecules/timestamp/timestamp.component.d.ts +5 -4
  128. package/src/components/molecules/wave-background/wave.component.d.ts +3 -7
  129. package/src/components/molecules/wave-background/wave.preview.d.ts +2 -1
  130. package/src/components/molecules/wide-button/wide-button.component.d.ts +7 -11
  131. package/src/components/molecules/wide-button/wide-button.preview.d.ts +2 -1
  132. package/src/components/molecules/wide-button/wide-button.styles.d.ts +10 -15
  133. package/src/components/organisms/child-list-item/child-list-item.component.d.ts +18 -34
  134. package/src/components/organisms/child-list-item/child-list-item.preview.d.ts +2 -1
  135. package/src/components/organisms/child-list-item/child-list-item.styles.d.ts +35 -38
  136. package/src/components/organisms/child-list-item/components/child-list-tag.component.d.ts +4 -6
  137. package/src/components/organisms/contact-item/contact-item.component.d.ts +7 -11
  138. package/src/components/organisms/contact-item/contact-item.preview.d.ts +2 -1
  139. package/src/components/organisms/contact-item/contact-item.styles.d.ts +14 -13
  140. package/src/components/organisms/day-select/day-select.component.d.ts +7 -10
  141. package/src/components/organisms/day-select/day-select.preview.d.ts +2 -1
  142. package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.component.d.ts +4 -6
  143. package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.component.tsx +1 -0
  144. package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.d.ts +8 -13
  145. package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.tsx +1 -0
  146. package/src/components/organisms/journal-entry/journal-entry.component.d.ts +17 -30
  147. package/src/components/organisms/journal-entry/journal-entry.preview.d.ts +2 -1
  148. package/src/components/organisms/journal-entry/journal-entry.preview.tsx +1 -0
  149. package/src/components/organisms/journal-entry/journal-entry.styles.d.ts +22 -25
  150. package/src/components/organisms/loading-indicator/animation-style.animate.d.ts +3 -13
  151. package/src/components/organisms/loading-indicator/dot.component.d.ts +3 -3
  152. package/src/components/organisms/loading-indicator/loading-indicator.component.d.ts +2 -9
  153. package/src/components/organisms/loading-indicator/loading-indicator.preview.d.ts +2 -1
  154. package/src/components/organisms/my-child-list-item/my-child-list-item.component.d.ts +10 -16
  155. package/src/components/organisms/my-child-list-item/my-child-list-item.preview.d.ts +2 -1
  156. package/src/components/organisms/my-child-list-item/my-child-list-item.styles.d.ts +31 -31
  157. package/src/components/organisms/person-info-card/person-info-card.component.d.ts +11 -18
  158. package/src/components/organisms/person-info-card/person-info-card.component.tsx +1 -0
  159. package/src/components/organisms/person-info-card/person-info-card.preview.d.ts +2 -1
  160. package/src/components/organisms/tab-view/tab-view.component.d.ts +8 -12
  161. package/src/components/organisms/tab-view/tab-view.component.tsx +1 -0
  162. package/src/components/organisms/tab-view/tab-view.preview.d.ts +2 -1
  163. package/src/components/organisms/tab-view/tab-view.preview.tsx +1 -0
  164. package/src/components/organisms/tab-view/tab-view.styles.d.ts +8 -8
  165. package/src/components/organisms/text-bubble/text-bubble.component.d.ts +13 -21
  166. package/src/components/organisms/text-bubble/text-bubble.preview.d.ts +2 -1
  167. package/src/components/organisms/text-bubble/text-bubble.styles.d.ts +14 -14
  168. package/src/components/templates/modal/components/fade-panel.component.d.ts +7 -14
  169. package/src/components/templates/modal/components/fade-panel.styles.d.ts +13 -17
  170. package/src/components/templates/modal/modal.component.d.ts +6 -12
  171. package/src/components/templates/modal/modal.preview.d.ts +2 -1
  172. package/src/components/templates/modal/modal.styles.d.ts +21 -21
  173. package/src/components/templates/popover/components/foreground/foreground.component.d.ts +4 -4
  174. package/src/components/templates/popover/components/foreground/foreground.styles.d.ts +10 -10
  175. package/src/components/templates/popover/components/modal/close/close.component.d.ts +5 -4
  176. package/src/components/templates/popover/components/modal/heading/heading.component.d.ts +5 -4
  177. package/src/components/templates/popover/components/modal/heading/heading.styles.d.ts +12 -12
  178. package/src/components/templates/popover/components/modal/modal.component.d.ts +9 -17
  179. package/src/components/templates/popover/components/modal/modal.styles.d.ts +17 -17
  180. package/src/components/templates/popover/components/modal/scroll-content/scroll-content.component.d.ts +3 -5
  181. package/src/components/templates/popover/popover.component.d.ts +8 -15
  182. package/src/components/templates/popover/popover.preview.d.ts +2 -1
  183. package/src/components/templates/popover/popover.styles.d.ts +9 -9
  184. package/src/components/templates/popover-action/popover-action.component.d.ts +4 -8
  185. package/src/components/templates/popover-action/popover-action.preview.d.ts +2 -1
  186. package/src/components/templates/popover-action/popover-action.styles.d.ts +26 -26
  187. package/src/context/loading-dots.context.d.ts +7 -10
  188. package/src/context/theme.context.d.ts +49 -47
  189. package/src/gradients/main/main.gradient.d.ts +3 -4
  190. package/src/icons/index.d.ts +3 -7
  191. package/src/icons/index.tsx +1 -0
  192. package/src/icons/outline/calendar/calendar.icon.d.ts +3 -2
  193. package/src/icons/outline/chat/chat.icon.d.ts +3 -2
  194. package/src/icons/outline/chat-alt/chat-alt.icon.d.ts +3 -2
  195. package/src/icons/outline/check-circle/check-circle.icon.d.ts +3 -5
  196. package/src/icons/outline/chevron-left/chevron-left.icon.d.ts +3 -5
  197. package/src/icons/outline/chevron-right/chevron-right.icon.d.ts +3 -5
  198. package/src/icons/outline/clock/clock.icon.d.ts +3 -2
  199. package/src/icons/outline/cloud-download/cloud-download.icon.d.ts +3 -5
  200. package/src/icons/outline/currency-euro/currency-euro.icon.d.ts +3 -5
  201. package/src/icons/outline/document-text/document-text.icon.d.ts +3 -5
  202. package/src/icons/outline/exclamation/exclamation.icon.d.ts +3 -5
  203. package/src/icons/outline/exclamation-circle/exclamation-circle.icon.d.ts +3 -5
  204. package/src/icons/outline/eye/eye.icon.d.ts +3 -2
  205. package/src/icons/outline/eye-off/eye-off.icon.d.ts +3 -2
  206. package/src/icons/outline/filter/filter.icon.d.ts +3 -2
  207. package/src/icons/outline/information-circle/information-circle.icon.d.ts +3 -5
  208. package/src/icons/outline/logout/logout.icon.d.ts +3 -2
  209. package/src/icons/outline/mail/mail.icon.d.ts +3 -2
  210. package/src/icons/outline/mail-open/mail-open.icon.d.ts +3 -2
  211. package/src/icons/outline/menu/menu.icon.d.ts +3 -2
  212. package/src/icons/outline/minus-sm/minus-sm.icon.d.ts +3 -5
  213. package/src/icons/outline/office-building/office-building.icon.d.ts +3 -5
  214. package/src/icons/outline/outline-default.preview.d.ts +2 -1
  215. package/src/icons/outline/outline-grey.preview.d.ts +2 -1
  216. package/src/icons/outline/outline-white.preview.d.ts +2 -1
  217. package/src/icons/outline/outline.d.ts +2 -6
  218. package/src/icons/outline/paper-airplane/paper-airplane.icon.d.ts +3 -5
  219. package/src/icons/outline/paperclip/paperclip.icon.d.ts +3 -5
  220. package/src/icons/outline/pencil/pencil.icon.d.ts +3 -2
  221. package/src/icons/outline/phone/phone.icon.d.ts +3 -2
  222. package/src/icons/outline/plus/plus.icon.d.ts +3 -2
  223. package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +3 -5
  224. package/src/icons/outline/qrcode/qrcode.icon.d.ts +3 -2
  225. package/src/icons/outline/refresh/refresh.icon.d.ts +3 -2
  226. package/src/icons/outline/search/search.icon.d.ts +3 -2
  227. package/src/icons/outline/selector/selector.icon.d.ts +3 -2
  228. package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.d.ts +3 -5
  229. package/src/icons/outline/status-online/status-online.icon.d.ts +3 -5
  230. package/src/icons/outline/thumb-up/thumb-up.icon.d.ts +3 -2
  231. package/src/icons/outline/trash/trash.icon.d.ts +3 -2
  232. package/src/icons/outline/user/user.icon.d.ts +3 -2
  233. package/src/icons/outline/user-group/user-group.icon.d.ts +3 -5
  234. package/src/icons/outline/users/users.icon.d.ts +3 -2
  235. package/src/icons/outline/xmark/xmark.icon.d.ts +3 -2
  236. package/src/icons/solid/calendar/calendar.icon.d.ts +3 -2
  237. package/src/icons/solid/chat/chat.icon.d.ts +3 -2
  238. package/src/icons/solid/chat-alt/chat-alt-solid.icon.d.ts +3 -2
  239. package/src/icons/solid/check-circle/check-circle.icon.d.ts +3 -5
  240. package/src/icons/solid/chevron-left/chevron-left.icon.d.ts +3 -5
  241. package/src/icons/solid/chevron-right/chevron-right.icon.d.ts +3 -5
  242. package/src/icons/solid/clock/clock-solid.icon.d.ts +3 -2
  243. package/src/icons/solid/cloud-download/cloud-download.icon.d.ts +3 -5
  244. package/src/icons/solid/currency-euro/currency-euro.icon.d.ts +3 -5
  245. package/src/icons/solid/document-text/document-text-solid.icon.d.ts +3 -5
  246. package/src/icons/solid/exclamation/exclamation.icon.d.ts +3 -5
  247. package/src/icons/solid/exclamation-circle/exclamation-circle.icon.d.ts +3 -5
  248. package/src/icons/solid/eye/eye.icon.d.ts +3 -2
  249. package/src/icons/solid/eye-off/eye-off.icon.d.ts +3 -2
  250. package/src/icons/solid/filter/filter.icon.d.ts +3 -2
  251. package/src/icons/solid/information-circle/information-circle-solid.icon.d.ts +3 -5
  252. package/src/icons/solid/logout/logout.icon.d.ts +3 -2
  253. package/src/icons/solid/mail/mail.icon.d.ts +3 -2
  254. package/src/icons/solid/mail-open/mail-open.icon.d.ts +3 -2
  255. package/src/icons/solid/menu/menu.icon.d.ts +3 -2
  256. package/src/icons/solid/minus-sm/minus-sm.icon.d.ts +3 -5
  257. package/src/icons/solid/office-building/office-building.icon.d.ts +3 -5
  258. package/src/icons/solid/paper-airplane/paper-airplane.icon.d.ts +3 -5
  259. package/src/icons/solid/paperclip/paperclip.icon.d.ts +3 -5
  260. package/src/icons/solid/pencil/pencil-solid.icon.d.ts +3 -2
  261. package/src/icons/solid/phone/phone-solid.icon.d.ts +3 -2
  262. package/src/icons/solid/plus/plus.icon.d.ts +3 -2
  263. package/src/icons/solid/plus-sm/plus-sm.icon.d.ts +3 -5
  264. package/src/icons/solid/qrcode/qrcode.icon.d.ts +3 -2
  265. package/src/icons/solid/refresh/refresh-solid.icon.d.ts +3 -2
  266. package/src/icons/solid/search/search.icon.d.ts +3 -2
  267. package/src/icons/solid/selector/selector.icon.d.ts +3 -2
  268. package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.d.ts +3 -5
  269. package/src/icons/solid/solid.d.ts +2 -6
  270. package/src/icons/solid/solid.preview.d.ts +2 -1
  271. package/src/icons/solid/status-online/status-online-solid.icon.d.ts +3 -5
  272. package/src/icons/solid/thumb-up/thumb-up.icon.d.ts +3 -2
  273. package/src/icons/solid/trash/trash-solid.icon.d.ts +3 -2
  274. package/src/icons/solid/user/user.icon.d.ts +3 -2
  275. package/src/icons/solid/user-group/user-group.icon.d.ts +3 -5
  276. package/src/icons/solid/users/users-solid.icon.d.ts +3 -2
  277. package/src/icons/solid/xmark/xmark.icon.d.ts +3 -2
  278. package/src/interfaces/icon.interface.d.ts +5 -5
  279. package/src/models/hex-color.model.d.ts +4 -4
  280. package/src/models/initials.model.d.ts +5 -5
  281. package/src/theme/font/font.d.ts +70 -70
  282. package/src/theme/font/index.d.ts +3 -3
  283. package/src/theme/provider/index.d.ts +3 -3
  284. package/src/theme/provider/parent.theme.d.ts +45 -45
  285. package/src/theme/provider/staff-member.theme.d.ts +45 -45
  286. package/src/theme/responsive/index.d.ts +2 -5
  287. package/src/theme/scale/index.d.ts +10 -10
  288. package/src/types/bubble-alignment.enum.d.ts +2 -2
  289. package/src/types/icontype.type.d.ts +1 -41
  290. package/src/types/keyboard-types.enum.d.ts +7 -7
  291. package/src/types/loading-dots.type.d.ts +6 -6
  292. package/src/types/size.enum.d.ts +3 -3
  293. package/src/types/text-properties.type.d.ts +8 -8
  294. package/src/types/visual-state.enum.d.ts +5 -5
  295. package/src/utilities/color-handler/color-handler.d.ts +2 -6
  296. package/src/utilities/toddle-datetime/interfaces/duration.interface.d.ts +18 -18
  297. package/src/utilities/toddle-datetime/interfaces/toddle-datetime.interface.d.ts +16 -16
  298. package/src/utilities/toddle-datetime/toddle-datetime.class.d.ts +46 -103
  299. package/src/utilities/toddle-datetime/toddle-datetime.preview.d.ts +2 -1
  300. package/src/utilities/toddle-datetime/types/duration.type.d.ts +1 -1
  301. package/src/utilities/toddle-datetime/types/toddle-datetime.type.d.ts +2 -11
  302. package/tsconfig.json +1 -0
  303. package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.test.js +0 -25
  304. package/src/components/organisms/journal-entry/components/journal-entry-type/__snapshots__/journal-entry-type.test.js.snap +0 -304
  305. package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.test.js +0 -51
package/App.d.ts CHANGED
@@ -1,4 +1,5 @@
1
+ import React from 'react';
1
2
  import 'intl';
2
3
  import 'intl/locale-data/jsonp/en';
3
- declare function App(): JSX.Element;
4
+ declare function App(): React.JSX.Element;
4
5
  export default App;
package/index.d.ts CHANGED
@@ -57,6 +57,7 @@ import { PopOverAction } from './src/components/templates/popover-action/popover
57
57
  import { QuickMessage } from './src/components/atoms/quick-message/quick-message.component';
58
58
  import { TabView } from './src/components/organisms/tab-view/tab-view.component';
59
59
  import { Line } from './src/components/atoms/line/line.component';
60
+ import { JournalEntry } from './src/components/organisms/journal-entry/journal-entry.component';
60
61
  import { BubbleAlignment } from './src/types/bubble-alignment.enum';
61
62
  import { KeyBoardTypes } from './src/types/keyboard-types.enum';
62
63
  import { Size } from './src/types/size.enum';
@@ -66,4 +67,4 @@ import { ToddleDateTime } from './src/utilities/toddle-datetime/toddle-datetime.
66
67
  import { ThemeCtx } from './src/context/theme.context';
67
68
  import { Scale } from './src/theme/scale/index';
68
69
  import CreateResponsiveStyle from './src/theme/responsive/index';
69
- export { AllCapsHeading, Avatar, BackgroundGradient, BlockedMessage, Button, Calendar, CalendarSelect, CancelLink, Check, Checkbox, ChildListItem, ContactItem, ContactRole, DateInput, DaySelect, DefaultSelect, DepartmentLogo, FilterRange, FilterTab, Footer, Heading1, Heading2, Heading3, Heading4, Icon, ImageBubble, IncrementInput, Info, LanguageButton, Line, LoadingIndicator, Logo, MessageInput, Modal, MoreInfoButton, MyChildListItem, Paragraph, PasswordInput, PersonInfoCard, Pill, Popover, PopOverAction, PressableIcon, QuickFilter, QuickMessage, Search, SelectLink, SelectListItem, SelectPicker, SmallText, Snackbar, SplitContainer, Swipe, TabView, Tag, TextBubble, TextInput, TimeLine, TimePicker, TimeTracker, TinyText, WaveBackground, WideButton, BubbleAlignment, Initials, KeyBoardTypes, Size, ThemeCtx, ToddleDateTime, VisualState, CreateResponsiveStyle, Scale, };
70
+ export { AllCapsHeading, Avatar, BackgroundGradient, BlockedMessage, Button, Calendar, CalendarSelect, CancelLink, Check, Checkbox, ChildListItem, ContactItem, ContactRole, DateInput, DaySelect, DefaultSelect, DepartmentLogo, FilterRange, FilterTab, Footer, Heading1, Heading2, Heading3, Heading4, Icon, ImageBubble, IncrementInput, Info, JournalEntry, LanguageButton, Line, LoadingIndicator, Logo, MessageInput, Modal, MoreInfoButton, MyChildListItem, Paragraph, PasswordInput, PersonInfoCard, Pill, Popover, PopOverAction, PressableIcon, QuickFilter, QuickMessage, Search, SelectLink, SelectListItem, SelectPicker, SmallText, Snackbar, SplitContainer, Swipe, TabView, Tag, TextBubble, TextInput, TimeLine, TimePicker, TimeTracker, TinyText, WaveBackground, WideButton, BubbleAlignment, Initials, KeyBoardTypes, Size, ThemeCtx, ToddleDateTime, VisualState, CreateResponsiveStyle, Scale, };
package/index.tsx CHANGED
@@ -75,6 +75,7 @@ import {PopOverAction} from './src/components/templates/popover-action/popover-a
75
75
  import {QuickMessage} from './src/components/atoms/quick-message/quick-message.component';
76
76
  import {TabView} from './src/components/organisms/tab-view/tab-view.component';
77
77
  import {Line} from './src/components/atoms/line/line.component';
78
+ import {JournalEntry} from './src/components/organisms/journal-entry/journal-entry.component';
78
79
 
79
80
  // Exports of enums
80
81
  import {BubbleAlignment} from './src/types/bubble-alignment.enum';
@@ -126,6 +127,7 @@ export {
126
127
  ImageBubble,
127
128
  IncrementInput,
128
129
  Info,
130
+ JournalEntry,
129
131
  LanguageButton,
130
132
  Line,
131
133
  LoadingIndicator,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tactics/toddle-styleguide",
3
- "version": "1.3.2",
3
+ "version": "1.4.0",
4
4
  "main": "index.tsx",
5
5
  "types": "index.d.ts",
6
6
  "prepublish": "tsc",
@@ -19,10 +19,10 @@
19
19
  "packageManager": "yarn@3.3.1",
20
20
  "dependencies": {
21
21
  "@callstack/react-theme-provider": "^3.0.8",
22
- "@expo/config-plugins": "~6.0.2",
23
- "@expo/webpack-config": "^18.1.0",
22
+ "@expo/config-plugins": "~7.2.2",
23
+ "@expo/webpack-config": "^19.0.0",
24
24
  "@miblanchard/react-native-slider": "^2.3.1",
25
- "@react-native-picker/picker": "2.4.8",
25
+ "@react-native-picker/picker": "2.4.10",
26
26
  "@react-navigation/bottom-tabs": "^6.5.8",
27
27
  "@react-navigation/drawer": "^6.6.3",
28
28
  "@react-navigation/native": "^6.1.7",
@@ -32,30 +32,30 @@
32
32
  "@testing-library/react-native": "^12.1.2",
33
33
  "@types/luxon": "^3.3.0",
34
34
  "@types/xdate": "^0.8.32",
35
- "expo": "^48.0.19",
36
- "expo-font": "~11.1.1",
37
- "expo-haptics": "~12.2.1",
38
- "expo-linear-gradient": "~12.1.2",
39
- "expo-status-bar": "~1.4.4",
35
+ "expo": "^49.0.0",
36
+ "expo-font": "~11.4.0",
37
+ "expo-haptics": "~12.4.0",
38
+ "expo-linear-gradient": "~12.3.0",
39
+ "expo-status-bar": "~1.6.0",
40
40
  "intl": "^1.2.5",
41
41
  "jsc-android": "^250231.0.0",
42
42
  "lottie-ios": "4.2.0",
43
- "lottie-react-native": "5.1.4",
43
+ "lottie-react-native": "5.1.6",
44
44
  "luxon": "^3.3.0",
45
45
  "react": "18.2.0",
46
46
  "react-dom": "18.2.0",
47
- "react-native": "0.71.8",
47
+ "react-native": "0.72.5",
48
48
  "react-native-calendar-strip": "^2.2.6",
49
49
  "react-native-calendars": "^1.1299.0",
50
- "react-native-gesture-handler": "~2.9.0",
51
- "react-native-pager-view": "6.1.2",
50
+ "react-native-gesture-handler": "~2.12.0",
51
+ "react-native-pager-view": "6.2.0",
52
52
  "react-native-picker-select": "^8.0.4",
53
- "react-native-reanimated": "~2.14.4",
54
- "react-native-safe-area-context": "4.5.0",
55
- "react-native-screens": "~3.20.0",
56
- "react-native-svg": "13.4.0",
53
+ "react-native-reanimated": "~3.3.0",
54
+ "react-native-safe-area-context": "4.6.3",
55
+ "react-native-screens": "~3.22.0",
56
+ "react-native-svg": "13.9.0",
57
57
  "react-native-swipe-gestures": "^1.0.5",
58
- "react-native-web": "~0.18.10",
58
+ "react-native-web": "~0.19.6",
59
59
  "react-native-wheel-picker-expo": "^0.5.4",
60
60
  "react-test-renderer": "^18.2.0"
61
61
  },
@@ -65,7 +65,7 @@
65
65
  "@types/jest": "^29.5.2",
66
66
  "@types/luxon": "^3.3.0",
67
67
  "@types/node": "^20.3.1",
68
- "@types/react": "~18.0.27",
68
+ "@types/react": "~18.2.14",
69
69
  "@types/react-dom": "~18.0.10",
70
70
  "@types/react-test-renderer": "^18.0.0",
71
71
  "jest": "^29.5.0",
@@ -73,6 +73,6 @@
73
73
  "prettier": "2.8.8",
74
74
  "ts-jest": "^29.1.0",
75
75
  "ts-node": "^10.9.1",
76
- "typescript": "^4.9.4"
76
+ "typescript": "^5.1.3"
77
77
  }
78
78
  }
@@ -1 +1,2 @@
1
- export declare const AnimatedWave: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const AnimatedWave: () => React.JSX.Element;
@@ -1,21 +1,21 @@
1
1
  export function Stylesheet(Context: any): {
2
- container: {
3
- flex: number;
4
- alignItems: 'center';
5
- justifyContent: 'flex-start';
6
- };
7
- animationContainer: {
8
- width: string;
9
- alignItems: 'center';
10
- position: 'absolute';
11
- top: number;
12
- zIndex: number;
13
- };
14
- overlay: {
15
- width: string;
16
- height: string;
17
- position: 'absolute';
18
- top: number;
19
- backgroundColor: any;
20
- };
2
+ container: {
3
+ flex: number;
4
+ alignItems: "center";
5
+ justifyContent: "flex-start";
6
+ };
7
+ animationContainer: {
8
+ width: "100%";
9
+ alignItems: "center";
10
+ position: "absolute";
11
+ top: "-1%";
12
+ zIndex: number;
13
+ };
14
+ overlay: {
15
+ width: "100%";
16
+ height: "30%";
17
+ position: "absolute";
18
+ top: "38%";
19
+ backgroundColor: any;
20
+ };
21
21
  };
@@ -1,9 +1,7 @@
1
+ import * as React from 'react';
1
2
  type PopoverBackdropProps = {
2
- isVisible: boolean;
3
- touchBackDrop?: (value: boolean) => void;
3
+ isVisible: boolean;
4
+ touchBackDrop?: (value: boolean) => void;
4
5
  };
5
- declare const Backdrop: ({
6
- isVisible,
7
- touchBackDrop,
8
- }: PopoverBackdropProps) => JSX.Element;
9
- export {Backdrop as Backdrop};
6
+ declare const Backdrop: ({ isVisible, touchBackDrop }: PopoverBackdropProps) => React.JSX.Element;
7
+ export { Backdrop as Backdrop };
@@ -1,11 +1,11 @@
1
1
  export function Stylesheet(Context: any): {
2
- element: {
3
- width: string;
4
- height: string;
5
- backgroundColor: any;
6
- zIndex: number;
7
- position: 'absolute';
8
- top: number;
9
- left: number;
10
- };
2
+ element: {
3
+ width: "100%";
4
+ height: "100%";
5
+ backgroundColor: any;
6
+ zIndex: number;
7
+ position: "absolute";
8
+ top: number;
9
+ left: number;
10
+ };
11
11
  };
@@ -1 +1,2 @@
1
- export declare const BackgroundGradient: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const BackgroundGradient: () => React.JSX.Element;
@@ -1 +1,2 @@
1
- export declare const BackgroundGradientPreview: ({}: {}) => JSX.Element;
1
+ import React from 'react';
2
+ export declare const BackgroundGradientPreview: ({}: {}) => React.JSX.Element;
@@ -1,8 +1,8 @@
1
1
  export function Stylesheet(): {
2
- rootContainer: {
3
- width: string;
4
- height: string;
5
- position: 'absolute';
6
- zIndex: number;
7
- };
2
+ rootContainer: {
3
+ width: "100%";
4
+ height: "100%";
5
+ position: "absolute";
6
+ zIndex: number;
7
+ };
8
8
  };
@@ -1381,7 +1381,7 @@ exports[`Test for the calendar component renders a calendar where you can select
1381
1381
  }
1382
1382
  >
1383
1383
  <View
1384
- accessibilityLabel="today Vrijdag 11 Augustus 2023 "
1384
+ accessibilityLabel=" Vrijdag 11 Augustus 2023 "
1385
1385
  accessibilityRole="button"
1386
1386
  accessibilityState={
1387
1387
  {
@@ -1413,10 +1413,6 @@ exports[`Test for the calendar component renders a calendar where you can select
1413
1413
  style={
1414
1414
  {
1415
1415
  "alignItems": "center",
1416
- "borderColor": "#7B93DB",
1417
- "borderRadius": 21,
1418
- "borderStyle": "solid",
1419
- "borderWidth": 1,
1420
1416
  "height": 42,
1421
1417
  "justifyContent": "center",
1422
1418
  "opacity": 1,
@@ -1436,9 +1432,6 @@ exports[`Test for the calendar component renders a calendar where you can select
1436
1432
  "lineHeight": 22.4,
1437
1433
  "marginTop": 4,
1438
1434
  },
1439
- {
1440
- "color": "#7B93DB",
1441
- },
1442
1435
  ]
1443
1436
  }
1444
1437
  >
@@ -1641,7 +1634,7 @@ exports[`Test for the calendar component renders a calendar where you can select
1641
1634
  }
1642
1635
  >
1643
1636
  <View
1644
- accessibilityLabel=" Maandag 14 Augustus 2023 "
1637
+ accessibilityLabel="today Maandag 14 Augustus 2023 "
1645
1638
  accessibilityRole="button"
1646
1639
  accessibilityState={
1647
1640
  {
@@ -1673,6 +1666,10 @@ exports[`Test for the calendar component renders a calendar where you can select
1673
1666
  style={
1674
1667
  {
1675
1668
  "alignItems": "center",
1669
+ "borderColor": "#7B93DB",
1670
+ "borderRadius": 21,
1671
+ "borderStyle": "solid",
1672
+ "borderWidth": 1,
1676
1673
  "height": 42,
1677
1674
  "justifyContent": "center",
1678
1675
  "opacity": 1,
@@ -1692,6 +1689,9 @@ exports[`Test for the calendar component renders a calendar where you can select
1692
1689
  "lineHeight": 22.4,
1693
1690
  "marginTop": 4,
1694
1691
  },
1692
+ {
1693
+ "color": "#7B93DB",
1694
+ },
1695
1695
  ]
1696
1696
  }
1697
1697
  >
@@ -4766,8 +4766,7 @@ exports[`Test for the calendar component renders a calendar where you can select
4766
4766
  }
4767
4767
  >
4768
4768
  <View
4769
- accessibilityLabel="today Vrijdag 11 Augustus 2023 "
4770
- accessibilityRole="button"
4769
+ accessibilityLabel=" Vrijdag 11 Augustus 2023 "
4771
4770
  accessibilityState={
4772
4771
  {
4773
4772
  "busy": undefined,
@@ -4798,10 +4797,6 @@ exports[`Test for the calendar component renders a calendar where you can select
4798
4797
  style={
4799
4798
  {
4800
4799
  "alignItems": "center",
4801
- "borderColor": "#7B93DB",
4802
- "borderRadius": 21,
4803
- "borderStyle": "solid",
4804
- "borderWidth": 1,
4805
4800
  "height": 42,
4806
4801
  "justifyContent": "center",
4807
4802
  "opacity": 1,
@@ -4822,7 +4817,7 @@ exports[`Test for the calendar component renders a calendar where you can select
4822
4817
  "marginTop": 4,
4823
4818
  },
4824
4819
  {
4825
- "color": "#7B93DB",
4820
+ "color": "#9AA5B1",
4826
4821
  },
4827
4822
  ]
4828
4823
  }
@@ -5030,7 +5025,8 @@ exports[`Test for the calendar component renders a calendar where you can select
5030
5025
  }
5031
5026
  >
5032
5027
  <View
5033
- accessibilityLabel=" Maandag 14 Augustus 2023 "
5028
+ accessibilityLabel="today Maandag 14 Augustus 2023 "
5029
+ accessibilityRole="button"
5034
5030
  accessibilityState={
5035
5031
  {
5036
5032
  "busy": undefined,
@@ -5061,6 +5057,10 @@ exports[`Test for the calendar component renders a calendar where you can select
5061
5057
  style={
5062
5058
  {
5063
5059
  "alignItems": "center",
5060
+ "borderColor": "#7B93DB",
5061
+ "borderRadius": 21,
5062
+ "borderStyle": "solid",
5063
+ "borderWidth": 1,
5064
5064
  "height": 42,
5065
5065
  "justifyContent": "center",
5066
5066
  "opacity": 1,
@@ -5081,7 +5081,7 @@ exports[`Test for the calendar component renders a calendar where you can select
5081
5081
  "marginTop": 4,
5082
5082
  },
5083
5083
  {
5084
- "color": "#9AA5B1",
5084
+ "color": "#7B93DB",
5085
5085
  },
5086
5086
  ]
5087
5087
  }
@@ -1,14 +1,10 @@
1
- import {ToddleDateTime} from '../../../utilities/toddle-datetime/toddle-datetime.class';
1
+ import React from 'react';
2
+ import { ToddleDateTime } from '../../../utilities/toddle-datetime/toddle-datetime.class';
2
3
  type CalendarProps = {
3
- onDayPress: (day: ToddleDateTime) => void;
4
- selected: ToddleDateTime;
5
- minDate?: string;
6
- maxDate?: string;
4
+ onDayPress: (day: ToddleDateTime) => void;
5
+ selected: ToddleDateTime;
6
+ minDate?: string;
7
+ maxDate?: string;
7
8
  };
8
- export declare const Calendar: ({
9
- onDayPress,
10
- selected,
11
- minDate,
12
- maxDate,
13
- }: CalendarProps) => JSX.Element;
9
+ export declare const Calendar: ({ onDayPress, selected, minDate, maxDate, }: CalendarProps) => React.JSX.Element;
14
10
  export {};
@@ -1 +1,2 @@
1
- export declare const CalendarPreview: ({}: {}) => JSX.Element;
1
+ import React from 'react';
2
+ export declare const CalendarPreview: ({}: {}) => React.JSX.Element;
@@ -1,6 +1,7 @@
1
+ import * as React from 'react';
1
2
  type CheckProps = {
2
- value: boolean;
3
- onToggle: () => void;
3
+ value: boolean;
4
+ onToggle: () => void;
4
5
  };
5
- export declare const Check: ({value, onToggle}: CheckProps) => JSX.Element;
6
+ export declare const Check: ({ value, onToggle }: CheckProps) => React.JSX.Element;
6
7
  export {};
@@ -1 +1,2 @@
1
- export declare const CheckPreview: ({}: {}) => JSX.Element;
1
+ import React from 'react';
2
+ export declare const CheckPreview: ({}: {}) => React.JSX.Element;
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import {ViewStyle} from 'react-native';
3
- import {AnimateStyle} from 'react-native-reanimated';
2
+ import { ViewStyle } from 'react-native';
3
+ import { AnimateStyle } from 'react-native-reanimated';
4
4
  type FooterProps = {
5
- children: React.ReactNode;
6
- animatedStyle?: AnimateStyle<ViewStyle>;
5
+ children: React.ReactNode;
6
+ animatedStyle?: AnimateStyle<ViewStyle>;
7
7
  };
8
- declare const Footer: ({children, animatedStyle}: FooterProps) => JSX.Element;
9
- export {Footer as Footer};
8
+ declare const Footer: ({ children, animatedStyle }: FooterProps) => React.JSX.Element;
9
+ export { Footer as Footer };
@@ -1 +1,2 @@
1
- export declare const FooterPreview: ({}: {}) => JSX.Element;
1
+ import React from 'react';
2
+ export declare const FooterPreview: ({}: {}) => React.JSX.Element;
@@ -1,15 +1,14 @@
1
1
  export function Stylesheet(context: any): {
2
- container: {
3
- flexDirection: 'row';
4
- alignItems: 'center';
5
- justifyContent: 'center';
6
- backgroundColor: any;
7
- borderTopColor: any;
8
- borderTopStyle: string;
9
- borderTopWidth: number;
10
- height: number;
11
- width: string;
12
- position: 'absolute';
13
- bottom: number;
14
- };
2
+ container: {
3
+ flexDirection: "row";
4
+ alignItems: "center" | "flex-start";
5
+ justifyContent: "center";
6
+ paddingTop: number;
7
+ backgroundColor: any;
8
+ borderTopColor: any;
9
+ borderStyle: "solid";
10
+ borderTopWidth: number;
11
+ height: number;
12
+ width: "100%";
13
+ };
15
14
  };
@@ -1,10 +1,3 @@
1
- import {TextProperties} from '../../../../types/text-properties.type';
2
- export declare const AllCapsHeading: ({
3
- bold,
4
- children,
5
- textColor,
6
- textAlign,
7
- numberOfLines,
8
- ellipsizeMode,
9
- addStyle,
10
- }: TextProperties) => JSX.Element;
1
+ import React from 'react';
2
+ import { TextProperties } from '../../../../types/text-properties.type';
3
+ export declare const AllCapsHeading: ({ bold, children, textColor, textAlign, numberOfLines, ellipsizeMode, addStyle, }: TextProperties) => React.JSX.Element;
@@ -1,10 +1,3 @@
1
- import {TextProperties} from '../../../../types/text-properties.type';
2
- export declare const Heading1: ({
3
- bold,
4
- children,
5
- textColor,
6
- textAlign,
7
- addStyle,
8
- ellipsizeMode,
9
- numberOfLines,
10
- }: TextProperties) => JSX.Element;
1
+ import React from 'react';
2
+ import { TextProperties } from '../../../../types/text-properties.type';
3
+ export declare const Heading1: ({ bold, children, textColor, textAlign, addStyle, ellipsizeMode, numberOfLines, }: TextProperties) => React.JSX.Element;
@@ -1,10 +1,3 @@
1
- import {TextProperties} from '../../../../types/text-properties.type';
2
- export declare const Heading2: ({
3
- bold,
4
- children,
5
- textColor,
6
- textAlign,
7
- numberOfLines,
8
- ellipsizeMode,
9
- addStyle,
10
- }: TextProperties) => JSX.Element;
1
+ import React from 'react';
2
+ import { TextProperties } from '../../../../types/text-properties.type';
3
+ export declare const Heading2: ({ bold, children, textColor, textAlign, numberOfLines, ellipsizeMode, addStyle, }: TextProperties) => React.JSX.Element;
@@ -1,10 +1,3 @@
1
- import {TextProperties} from '../../../../types/text-properties.type';
2
- export declare const Heading3: ({
3
- bold,
4
- children,
5
- textColor,
6
- textAlign,
7
- addStyle,
8
- numberOfLines,
9
- ellipsizeMode,
10
- }: TextProperties) => JSX.Element;
1
+ import React from 'react';
2
+ import { TextProperties } from '../../../../types/text-properties.type';
3
+ export declare const Heading3: ({ bold, children, textColor, textAlign, addStyle, numberOfLines, ellipsizeMode, }: TextProperties) => React.JSX.Element;
@@ -1,10 +1,3 @@
1
- import {TextProperties} from '../../../../types/text-properties.type';
2
- export declare const Heading4: ({
3
- bold,
4
- children,
5
- textColor,
6
- textAlign,
7
- addStyle,
8
- numberOfLines,
9
- ellipsizeMode,
10
- }: TextProperties) => JSX.Element;
1
+ import React from 'react';
2
+ import { TextProperties } from '../../../../types/text-properties.type';
3
+ export declare const Heading4: ({ bold, children, textColor, textAlign, addStyle, numberOfLines, ellipsizeMode, }: TextProperties) => React.JSX.Element;
@@ -1 +1,2 @@
1
- export declare const HeadingsPreview: ({}: {}) => JSX.Element;
1
+ import React from 'react';
2
+ export declare const HeadingsPreview: ({}: {}) => React.JSX.Element;
@@ -1,6 +1,6 @@
1
- import {Heading1} from './heading1/heading1.component';
2
- import {Heading2} from './heading2/heading2.component';
3
- import {Heading3} from './heading3/heading3.component';
4
- import {Heading4} from './heading4/heading4.component';
5
- import {AllCapsHeading} from './all-caps-heading/all-caps-heading.component';
6
- export {AllCapsHeading, Heading1, Heading2, Heading3, Heading4};
1
+ import { Heading1 } from './heading1/heading1.component';
2
+ import { Heading2 } from './heading2/heading2.component';
3
+ import { Heading3 } from './heading3/heading3.component';
4
+ import { Heading4 } from './heading4/heading4.component';
5
+ import { AllCapsHeading } from './all-caps-heading/all-caps-heading.component';
6
+ export { AllCapsHeading, Heading1, Heading2, Heading3, Heading4 };
@@ -1,11 +1,9 @@
1
- import {ImageSourcePropType} from 'react-native';
2
- import {BubbleAlignment} from '../../../types/bubble-alignment.enum';
1
+ import * as React from 'react';
2
+ import { ImageSourcePropType } from 'react-native';
3
+ import { BubbleAlignment } from '../../../types/bubble-alignment.enum';
3
4
  type ImageBubbleProps = {
4
- source: ImageSourcePropType;
5
- bubbleAlignment: BubbleAlignment;
5
+ source: ImageSourcePropType;
6
+ bubbleAlignment: BubbleAlignment;
6
7
  };
7
- declare const ImageBubble: ({
8
- source,
9
- bubbleAlignment,
10
- }: ImageBubbleProps) => JSX.Element;
11
- export {ImageBubble as ImageBubble};
8
+ declare const ImageBubble: ({ source, bubbleAlignment }: ImageBubbleProps) => React.JSX.Element;
9
+ export { ImageBubble as ImageBubble };
@@ -1 +1,2 @@
1
- export declare const ImageBubblePreview: ({}: {}) => JSX.Element;
1
+ import React from 'react';
2
+ export declare const ImageBubblePreview: ({}: {}) => React.JSX.Element;
@@ -1,11 +1,8 @@
1
+ import React from 'react';
1
2
  type IncrementInputProps = {
2
- value: number;
3
- maxValue?: number;
4
- onPress: (number: number) => void;
3
+ value: number;
4
+ maxValue?: number;
5
+ onPress: (number: number) => void;
5
6
  };
6
- export declare const IncrementInput: ({
7
- value,
8
- onPress,
9
- maxValue,
10
- }: IncrementInputProps) => JSX.Element;
7
+ export declare const IncrementInput: ({ value, onPress, maxValue, }: IncrementInputProps) => React.JSX.Element;
11
8
  export {};
@@ -1 +1,2 @@
1
- export declare const IncrementInputPreview: ({}: {}) => JSX.Element;
1
+ import React from 'react';
2
+ export declare const IncrementInputPreview: ({}: {}) => React.JSX.Element;