@tactics/toddle-styleguide 0.1.11 → 1.0.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 (449) hide show
  1. package/App.tsx +50 -33
  2. package/index.d.ts +37 -41
  3. package/index.tsx +48 -40
  4. package/package.json +1 -1
  5. package/src/components/atoms/calendar/__snapshots__/calendar.test.js.snap +18 -18
  6. package/src/components/atoms/footer/footer.component.tsx +1 -1
  7. package/src/components/atoms/footer/footer.preview.tsx +2 -3
  8. package/src/components/atoms/heading-components/heading1/__snapshots__/heading1.test.js.snap +5 -0
  9. package/src/components/atoms/heading-components/heading1/heading1.component.d.ts +1 -1
  10. package/src/components/atoms/heading-components/heading1/heading1.component.tsx +4 -1
  11. package/src/components/atoms/heading-components/heading2/__snapshots__/heading2.test.js.snap +5 -0
  12. package/src/components/atoms/heading-components/heading2/heading2.component.d.ts +1 -1
  13. package/src/components/atoms/heading-components/heading2/heading2.component.tsx +12 -1
  14. package/src/components/atoms/heading-components/heading3/__snapshots__/heading3.test.js.snap +5 -0
  15. package/src/components/atoms/heading-components/heading3/heading3.component.d.ts +1 -1
  16. package/src/components/atoms/heading-components/heading3/heading3.component.tsx +4 -1
  17. package/src/components/atoms/heading-components/heading4/__snapshots__/heading4.test.js.snap +5 -0
  18. package/src/components/atoms/heading-components/heading4/heading4.component.d.ts +1 -1
  19. package/src/components/atoms/heading-components/heading4/heading4.component.tsx +4 -1
  20. package/src/components/atoms/heading-components/index.d.ts +6 -0
  21. package/src/components/atoms/heading-components/index.tsx +7 -0
  22. package/src/components/atoms/increment-input/__snapshots__/increment-input.test.js.snap +32 -28
  23. package/src/components/atoms/increment-input/increment-input.component.d.ts +2 -1
  24. package/src/components/atoms/increment-input/increment-input.component.tsx +18 -6
  25. package/src/components/atoms/increment-input/increment-input.preview.tsx +9 -11
  26. package/src/components/atoms/increment-input/increment-input.styles.d.ts +1 -11
  27. package/src/components/atoms/increment-input/increment-input.styles.js +3 -12
  28. package/src/components/atoms/paragraph-components/index.d.ts +4 -0
  29. package/src/components/atoms/paragraph-components/index.tsx +5 -0
  30. package/src/components/atoms/paragraph-components/paragraph/__snapshots__/paragraph.test.js.snap +5 -0
  31. package/src/components/atoms/paragraph-components/paragraph/paragraph.component.d.ts +1 -1
  32. package/src/components/atoms/paragraph-components/paragraph/paragraph.component.tsx +4 -1
  33. package/src/components/atoms/paragraph-components/small-text/__snapshots__/small-text.test.js.snap +5 -0
  34. package/src/components/atoms/paragraph-components/small-text/small-text.component.d.ts +1 -1
  35. package/src/components/atoms/paragraph-components/small-text/small-text.component.tsx +4 -1
  36. package/src/components/atoms/paragraph-components/tiny-text/__snapshots__/tiny-text.test.js.snap +5 -0
  37. package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.d.ts +1 -1
  38. package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.tsx +4 -1
  39. package/src/components/atoms/split-container/__snapshots__/split-container.test.js.snap +71 -41
  40. package/src/components/atoms/split-container/split-container.preview.tsx +4 -4
  41. package/src/components/atoms/split-container/split-container.test.js +2 -2
  42. package/src/components/{atoms → molecules}/avatar/__snapshots__/avatar.test.js.snap +20 -16
  43. package/src/components/{atoms → molecules}/avatar/avatar.component.d.ts +2 -2
  44. package/src/components/molecules/avatar/avatar.component.tsx +68 -0
  45. package/src/components/{atoms → molecules}/avatar/avatar.preview.d.ts +0 -0
  46. package/src/components/{atoms → molecules}/avatar/avatar.preview.tsx +17 -0
  47. package/src/components/{atoms → molecules}/avatar/avatar.styles.d.ts +2 -1
  48. package/src/components/{atoms → molecules}/avatar/avatar.styles.js +7 -18
  49. package/src/components/{atoms → molecules}/avatar/avatar.test.js +0 -0
  50. package/src/components/{atoms → molecules}/blocked-message/__snapshots__/blocked-message.test.js.snap +18 -9
  51. package/src/components/{atoms → molecules}/blocked-message/blocked-message.component.d.ts +0 -0
  52. package/src/components/{atoms → molecules}/blocked-message/blocked-message.component.tsx +9 -2
  53. package/src/components/{atoms → molecules}/blocked-message/blocked-message.preview.d.ts +0 -0
  54. package/src/components/{atoms → molecules}/blocked-message/blocked-message.preview.tsx +0 -0
  55. package/src/components/{atoms → molecules}/blocked-message/blocked-message.styles.d.ts +0 -0
  56. package/src/components/{atoms → molecules}/blocked-message/blocked-message.styles.js +0 -4
  57. package/src/components/{atoms → molecules}/blocked-message/blocked-message.test.js +0 -0
  58. package/src/components/{atoms → molecules}/button/__snapshots__/button.test.js.snap +88 -44
  59. package/src/components/{atoms → molecules}/button/button.component.d.ts +2 -1
  60. package/src/components/{atoms → molecules}/button/button.component.tsx +13 -3
  61. package/src/components/{atoms → molecules}/button/button.preview.d.ts +0 -0
  62. package/src/components/{atoms → molecules}/button/button.preview.tsx +3 -3
  63. package/src/components/{atoms → molecules}/button/button.styles.d.ts +0 -6
  64. package/src/components/{atoms → molecules}/button/button.styles.js +0 -5
  65. package/src/components/{atoms → molecules}/button/button.test.js +0 -0
  66. package/src/components/{atoms → molecules}/calendar-select/__snapshots__/calendar-select.test.js.snap +15 -3
  67. package/src/components/{atoms → molecules}/calendar-select/calendar-select.component.d.ts +3 -1
  68. package/src/components/{atoms → molecules}/calendar-select/calendar-select.component.tsx +27 -10
  69. package/src/components/{atoms → molecules}/calendar-select/calendar-select.preview.d.ts +0 -0
  70. package/src/components/{atoms → molecules}/calendar-select/calendar-select.preview.tsx +12 -0
  71. package/src/components/{atoms → molecules}/calendar-select/calendar-select.styles.d.ts +0 -0
  72. package/src/components/{atoms → molecules}/calendar-select/calendar-select.styles.js +0 -5
  73. package/src/components/{atoms → molecules}/calendar-select/calendar-select.test.js +0 -0
  74. package/src/components/molecules/cancel-link/__snapshots__/cancel-link.test.js.snap +105 -0
  75. package/src/components/{atoms → molecules}/cancel-link/cancel-link.component.d.ts +0 -0
  76. package/src/components/{atoms → molecules}/cancel-link/cancel-link.component.tsx +6 -5
  77. package/src/components/{atoms → molecules}/cancel-link/cancel-link.preview.d.ts +0 -0
  78. package/src/components/{atoms → molecules}/cancel-link/cancel-link.preview.tsx +0 -0
  79. package/src/components/{atoms → molecules}/cancel-link/cancel-link.styles.d.ts +1 -7
  80. package/src/components/{atoms → molecules}/cancel-link/cancel-link.styles.js +1 -6
  81. package/src/components/{atoms → molecules}/cancel-link/cancel-link.test.js +0 -0
  82. package/src/components/{atoms → molecules}/checkbox/__snapshots__/checkbox.test.js.snap +44 -22
  83. package/src/components/{atoms → molecules}/checkbox/checkbox.component.d.ts +0 -0
  84. package/src/components/{atoms → molecules}/checkbox/checkbox.component.tsx +5 -2
  85. package/src/components/{atoms → molecules}/checkbox/checkbox.preview.d.ts +0 -0
  86. package/src/components/{atoms → molecules}/checkbox/checkbox.preview.tsx +0 -0
  87. package/src/components/{atoms → molecules}/checkbox/checkbox.styles.d.ts +0 -0
  88. package/src/components/{atoms → molecules}/checkbox/checkbox.styles.js +6 -11
  89. package/src/components/{atoms → molecules}/checkbox/checkbox.test.js +0 -0
  90. package/src/components/molecules/contact-role/__snapshots__/contact-role.test.js.snap +113 -0
  91. package/src/components/{atoms → molecules}/contact-role/contact-role.component.d.ts +0 -0
  92. package/src/components/molecules/contact-role/contact-role.component.tsx +23 -0
  93. package/src/components/{atoms → molecules}/contact-role/contact-role.preview.d.ts +0 -0
  94. package/src/components/{atoms → molecules}/contact-role/contact-role.preview.tsx +0 -0
  95. package/src/components/molecules/contact-role/contact-role.styles.d.ts +9 -0
  96. package/src/components/{atoms → molecules}/contact-role/contact-role.styles.js +1 -8
  97. package/src/components/{atoms → molecules}/contact-role/contact-role.test.js +0 -0
  98. package/src/components/{atoms → molecules}/date-input/__snapshots__/date-input.test.js.snap +22 -11
  99. package/src/components/{atoms → molecules}/date-input/date-input.component.d.ts +0 -0
  100. package/src/components/{atoms → molecules}/date-input/date-input.component.tsx +7 -2
  101. package/src/components/{atoms → molecules}/date-input/date-input.preview.d.ts +0 -0
  102. package/src/components/{atoms → molecules}/date-input/date-input.preview.tsx +3 -3
  103. package/src/components/{atoms → molecules}/date-input/date-input.styles.d.ts +0 -0
  104. package/src/components/{atoms → molecules}/date-input/date-input.styles.js +1 -6
  105. package/src/components/{atoms → molecules}/date-input/date-input.test.js +0 -0
  106. package/src/components/{atoms/day-select/components → molecules}/day/__snapshots__/day.test.js.snap +60 -38
  107. package/src/components/{atoms/day-select/components → molecules}/day/day.component.d.ts +1 -1
  108. package/src/components/{atoms/day-select/components → molecules}/day/day.component.tsx +22 -9
  109. package/src/components/{atoms/day-select/components → molecules}/day/day.styles.d.ts +0 -0
  110. package/src/components/{atoms/day-select/components → molecules}/day/day.styles.js +1 -15
  111. package/src/components/{atoms/day-select/components → molecules}/day/day.test.js +1 -1
  112. package/src/components/{atoms → molecules}/default-select/__snapshots__/default-select.test.js.snap +22 -12
  113. package/src/components/{atoms → molecules}/default-select/default-select.component.d.ts +0 -0
  114. package/src/components/{atoms → molecules}/default-select/default-select.component.tsx +8 -3
  115. package/src/components/molecules/default-select/default-select.preview.d.ts +1 -0
  116. package/src/components/{atoms → molecules}/default-select/default-select.preview.tsx +1 -1
  117. package/src/components/{atoms → molecules}/default-select/default-select.styles.d.ts +1 -8
  118. package/src/components/{atoms → molecules}/default-select/default-select.styles.js +1 -7
  119. package/src/components/{atoms → molecules}/default-select/default-select.test.js +0 -0
  120. package/src/components/molecules/department_logo/__snapshots__/department-logo.test.js.snap +27 -0
  121. package/src/components/{atoms → molecules}/department_logo/department-logo.component.d.ts +0 -0
  122. package/src/components/{atoms → molecules}/department_logo/department-logo.component.tsx +7 -3
  123. package/src/components/{atoms → molecules}/department_logo/department-logo.preview.d.ts +0 -0
  124. package/src/components/{atoms → molecules}/department_logo/department-logo.preview.tsx +1 -1
  125. package/src/components/molecules/department_logo/department-logo.styles.d.ts +5 -0
  126. package/src/components/molecules/department_logo/department-logo.styles.js +9 -0
  127. package/src/components/{atoms → molecules}/department_logo/department-logo.test.js +0 -0
  128. package/src/components/{atoms/text-bubble/components → molecules}/failed-to-send/__snapshots__/failed-bubble.test.js.snap +19 -9
  129. package/src/components/{atoms/text-bubble/components → molecules}/failed-to-send/failed-bubble.component.d.ts +0 -0
  130. package/src/components/{atoms/text-bubble/components → molecules}/failed-to-send/failed-bubble.component.tsx +7 -5
  131. package/src/components/{atoms/text-bubble/components → molecules}/failed-to-send/failed-bubble.styles.d.ts +0 -0
  132. package/src/components/{atoms/text-bubble/components → molecules}/failed-to-send/failed-bubble.styles.js +1 -4
  133. package/src/components/{atoms/text-bubble/components → molecules}/failed-to-send/failed-bubble.test.js +0 -0
  134. package/src/components/{atoms → molecules}/filter-range/__snapshots__/filter-range.test.js.snap +50 -26
  135. package/src/components/{atoms → molecules}/filter-range/filter-range.component.d.ts +0 -0
  136. package/src/components/{atoms → molecules}/filter-range/filter-range.component.tsx +19 -13
  137. package/src/components/{atoms → molecules}/filter-range/filter-range.preview.d.ts +0 -0
  138. package/src/components/molecules/filter-range/filter-range.preview.tsx +26 -0
  139. package/src/components/{atoms → molecules}/filter-range/filter-range.styles.d.ts +4 -14
  140. package/src/components/{atoms → molecules}/filter-range/filter-range.styles.js +4 -13
  141. package/src/components/{atoms → molecules}/filter-range/filter-range.test.js +0 -0
  142. package/src/components/{atoms → molecules}/filter-tab/__snapshots__/filter-tab.test.js.snap +99 -55
  143. package/src/components/{atoms → molecules}/filter-tab/filter-tab.component.d.ts +0 -0
  144. package/src/components/{atoms → molecules}/filter-tab/filter-tab.component.tsx +17 -10
  145. package/src/components/{atoms → molecules}/filter-tab/filter-tab.preview.d.ts +0 -0
  146. package/src/components/{atoms → molecules}/filter-tab/filter-tab.preview.tsx +0 -0
  147. package/src/components/{atoms → molecules}/filter-tab/filter-tab.styles.d.ts +3 -8
  148. package/src/components/{atoms → molecules}/filter-tab/filter-tab.styles.js +0 -7
  149. package/src/components/{atoms → molecules}/filter-tab/filter-tab.test.js +0 -0
  150. package/src/components/molecules/info/__snapshots__/info.test.js.snap +64 -0
  151. package/src/components/{atoms → molecules}/info/info.component.d.ts +0 -0
  152. package/src/components/{atoms → molecules}/info/info.component.tsx +9 -3
  153. package/src/components/{atoms → molecules}/info/info.preview.d.ts +0 -0
  154. package/src/components/{atoms → molecules}/info/info.preview.tsx +1 -0
  155. package/src/components/{atoms → molecules}/info/info.styles.d.ts +0 -0
  156. package/src/components/{atoms → molecules}/info/info.styles.js +4 -9
  157. package/src/components/{atoms → molecules}/info/info.test.js +0 -0
  158. package/src/components/{atoms → molecules}/message-input/__snapshots__/message-input.test.js.snap +0 -0
  159. package/src/components/{atoms → molecules}/message-input/message-input.component.d.ts +0 -0
  160. package/src/components/{atoms → molecules}/message-input/message-input.component.tsx +0 -0
  161. package/src/components/{atoms → molecules}/message-input/message-input.preview.d.ts +0 -0
  162. package/src/components/{atoms → molecules}/message-input/message-input.preview.tsx +0 -0
  163. package/src/components/{atoms → molecules}/message-input/message-input.styles.d.ts +0 -0
  164. package/src/components/{atoms → molecules}/message-input/message-input.styles.js +0 -0
  165. package/src/components/{atoms → molecules}/message-input/message-input.test.js +0 -0
  166. package/src/components/{atoms → molecules}/password-input/__snapshots__/password-input.test.js.snap +0 -0
  167. package/src/components/{atoms → molecules}/password-input/password-input.component.d.ts +0 -0
  168. package/src/components/{atoms → molecules}/password-input/password-input.component.tsx +0 -0
  169. package/src/components/{atoms → molecules}/password-input/password-input.preview.d.ts +0 -0
  170. package/src/components/{atoms → molecules}/password-input/password-input.preview.tsx +0 -1
  171. package/src/components/{atoms → molecules}/password-input/password-input.styles.d.ts +0 -0
  172. package/src/components/{atoms → molecules}/password-input/password-input.styles.js +0 -0
  173. package/src/components/{atoms → molecules}/password-input/password-input.test.js +0 -0
  174. package/src/components/molecules/pill/__snapshots__/pill.test.js.snap +226 -0
  175. package/src/components/{atoms → molecules}/pill/pill.component.d.ts +2 -2
  176. package/src/components/molecules/pill/pill.component.tsx +33 -0
  177. package/src/components/{atoms → molecules}/pill/pill.preview.d.ts +0 -0
  178. package/src/components/{atoms → molecules}/pill/pill.preview.tsx +6 -4
  179. package/src/components/{atoms → molecules}/pill/pill.styles.d.ts +0 -0
  180. package/src/components/{atoms → molecules}/pill/pill.styles.js +13 -12
  181. package/src/components/{atoms → molecules}/pill/pill.test.js +12 -4
  182. package/src/components/{atoms → molecules}/pressable-icon/__snapshots__/pressable-icon.test.js.snap +0 -0
  183. package/src/components/{atoms → molecules}/pressable-icon/pressable-icon.component.d.ts +0 -0
  184. package/src/components/{atoms → molecules}/pressable-icon/pressable-icon.component.tsx +0 -0
  185. package/src/components/{atoms → molecules}/pressable-icon/pressable-icon.preview.d.ts +0 -0
  186. package/src/components/{atoms → molecules}/pressable-icon/pressable-icon.preview.tsx +0 -0
  187. package/src/components/{atoms → molecules}/pressable-icon/pressable-icon.styles.d.ts +0 -0
  188. package/src/components/{atoms → molecules}/pressable-icon/pressable-icon.styles.js +0 -0
  189. package/src/components/{atoms → molecules}/pressable-icon/pressable-icon.test.js +0 -0
  190. package/src/components/{atoms → molecules}/quick-filter/__snapshots__/quick-filter.test.js.snap +80 -64
  191. package/src/components/{atoms → molecules}/quick-filter/quick-filter.component.d.ts +0 -0
  192. package/src/components/{atoms → molecules}/quick-filter/quick-filter.component.tsx +10 -2
  193. package/src/components/{atoms/quick-filter/quick-filter.prevriew.d.ts → molecules/quick-filter/quick-filter.preview.d.ts} +0 -0
  194. package/src/components/molecules/quick-filter/quick-filter.preview.tsx +44 -0
  195. package/src/components/{atoms → molecules}/quick-filter/quick-filter.styles.d.ts +0 -11
  196. package/src/components/{atoms → molecules}/quick-filter/quick-filter.styles.js +0 -24
  197. package/src/components/{atoms → molecules}/quick-filter/quick-filter.test.js +0 -0
  198. package/src/components/{atoms/search → molecules/search-input}/__snapshots__/search.test.js.snap +0 -0
  199. package/src/components/{atoms/search → molecules/search-input}/search.component.d.ts +3 -1
  200. package/src/components/{atoms/search → molecules/search-input}/search.component.tsx +14 -2
  201. package/src/components/{atoms/search → molecules/search-input}/search.preview.d.ts +0 -0
  202. package/src/components/{atoms/search → molecules/search-input}/search.preview.tsx +10 -4
  203. package/src/components/{atoms/search → molecules/search-input}/search.styles.d.ts +0 -0
  204. package/src/components/{atoms/search → molecules/search-input}/search.styles.js +0 -0
  205. package/src/components/{atoms/search → molecules/search-input}/search.test.js +0 -0
  206. package/src/components/{atoms → molecules}/select-link/__snapshots__/select-link.test.js.snap +27 -19
  207. package/src/components/{atoms → molecules}/select-link/select-link.component.d.ts +0 -0
  208. package/src/components/{atoms → molecules}/select-link/select-link.component.tsx +8 -5
  209. package/src/components/molecules/select-link/select-link.preview.d.ts +1 -0
  210. package/src/components/{atoms → molecules}/select-link/select-link.preview.tsx +0 -0
  211. package/src/components/{atoms → molecules}/select-link/select-link.styles.d.ts +1 -7
  212. package/src/components/{atoms → molecules}/select-link/select-link.styles.js +1 -6
  213. package/src/components/{atoms → molecules}/select-link/select-link.test.js +0 -0
  214. package/src/components/{atoms → molecules}/select-list-item/__snapshots__/select-list-item.test.js.snap +90 -36
  215. package/src/components/{atoms → molecules}/select-list-item/select-list-item-preview.d.ts +0 -0
  216. package/src/components/{atoms → molecules}/select-list-item/select-list-item-preview.tsx +2 -0
  217. package/src/components/{atoms → molecules}/select-list-item/select-list-item.component.d.ts +0 -0
  218. package/src/components/{atoms → molecules}/select-list-item/select-list-item.component.tsx +11 -5
  219. package/src/components/{atoms → molecules}/select-list-item/select-list-item.styles.d.ts +0 -0
  220. package/src/components/{atoms → molecules}/select-list-item/select-list-item.styles.js +0 -9
  221. package/src/components/{atoms → molecules}/select-list-item/select-list-item.test.js +0 -0
  222. package/src/components/{atoms → molecules}/select-picker/__snapshots__/select-picker.test.js.snap +0 -0
  223. package/src/components/{atoms → molecules}/select-picker/select-picker.component.d.ts +0 -0
  224. package/src/components/{atoms → molecules}/select-picker/select-picker.component.tsx +0 -0
  225. package/src/components/{atoms → molecules}/select-picker/select-picker.preview.d.ts +0 -0
  226. package/src/components/{atoms → molecules}/select-picker/select-picker.preview.tsx +0 -0
  227. package/src/components/{atoms → molecules}/select-picker/select-picker.styles.d.ts +0 -0
  228. package/src/components/{atoms → molecules}/select-picker/select-picker.styles.js +0 -0
  229. package/src/components/{atoms → molecules}/select-picker/select-picker.test.js +0 -0
  230. package/src/components/{atoms/text-bubble/components → molecules}/send-bubble/__snapshots__/send-text-bubble.test.js.snap +120 -60
  231. package/src/components/{atoms/text-bubble/components → molecules}/send-bubble/send-text-bubble.component.d.ts +2 -2
  232. package/src/components/{atoms/text-bubble/components → molecules}/send-bubble/send-text-bubble.component.tsx +22 -9
  233. package/src/components/{atoms/text-bubble/components → molecules}/send-bubble/send-text-bubble.styles.d.ts +0 -0
  234. package/src/components/{atoms/text-bubble/components → molecules}/send-bubble/send-text-bubble.styles.js +3 -8
  235. package/src/components/{atoms/text-bubble/components → molecules}/send-bubble/send-text-bubble.test.js +0 -0
  236. package/src/components/{atoms → molecules}/snackbar/__snapshots__/snackbar.test.js.snap +74 -54
  237. package/src/components/{atoms → molecules}/snackbar/snackbar.component.d.ts +2 -2
  238. package/src/components/molecules/snackbar/snackbar.component.tsx +46 -0
  239. package/src/components/{atoms → molecules}/snackbar/snackbar.preview.d.ts +0 -0
  240. package/src/components/molecules/snackbar/snackbar.preview.tsx +40 -0
  241. package/src/components/{atoms → molecules}/snackbar/snackbar.styles.d.ts +10 -14
  242. package/src/components/molecules/snackbar/snackbar.styles.js +54 -0
  243. package/src/components/{atoms → molecules}/snackbar/snackbar.test.js +0 -0
  244. package/src/components/{atoms → molecules}/swipe/Swipe.styles.d.ts +1 -1
  245. package/src/components/{atoms → molecules}/swipe/Swipe.styles.js +1 -3
  246. package/src/components/{atoms → molecules}/swipe/__snapshots__/swipe.test.js.snap +44 -22
  247. package/src/components/{atoms → molecules}/swipe/swipe.component.d.ts +0 -0
  248. package/src/components/{atoms → molecules}/swipe/swipe.component.tsx +8 -5
  249. package/src/components/{atoms → molecules}/swipe/swipe.preview.d.ts +0 -0
  250. package/src/components/{atoms → molecules}/swipe/swipe.preview.tsx +3 -4
  251. package/src/components/{atoms → molecules}/swipe/swipe.test.js +0 -0
  252. package/src/components/{atoms → molecules}/tag/__snapshots__/tag.test.js.snap +30 -12
  253. package/src/components/{atoms → molecules}/tag/tag.component.d.ts +0 -0
  254. package/src/components/{atoms → molecules}/tag/tag.component.tsx +13 -2
  255. package/src/components/{atoms → molecules}/tag/tag.preview.d.ts +0 -0
  256. package/src/components/{atoms → molecules}/tag/tag.preview.tsx +1 -1
  257. package/src/components/{atoms → molecules}/tag/tag.styles.d.ts +0 -0
  258. package/src/components/{atoms → molecules}/tag/tag.styles.js +0 -5
  259. package/src/components/{atoms → molecules}/tag/tag.test.js +0 -0
  260. package/src/components/{atoms → molecules}/time-tracker/__snapshots__/time-tracker.test.js.snap +110 -50
  261. package/src/components/{atoms → molecules}/time-tracker/time-tracker.component.d.ts +2 -1
  262. package/src/components/{atoms → molecules}/time-tracker/time-tracker.component.tsx +8 -4
  263. package/src/components/{atoms → molecules}/time-tracker/time-tracker.preview.d.ts +0 -0
  264. package/src/components/{atoms → molecules}/time-tracker/time-tracker.preview.tsx +0 -0
  265. package/src/components/{atoms → molecules}/time-tracker/time-tracker.styles.d.ts +0 -0
  266. package/src/components/{atoms → molecules}/time-tracker/time-tracker.styles.js +0 -4
  267. package/src/components/{atoms → molecules}/time-tracker/time-tracker.test.js +0 -0
  268. package/src/components/{atoms → molecules}/timeline/__snapshots__/timeline.test.js.snap +76 -10
  269. package/src/components/{atoms → molecules}/timeline/timeline.component.d.ts +0 -0
  270. package/src/components/{atoms → molecules}/timeline/timeline.component.tsx +4 -3
  271. package/src/components/{atoms → molecules}/timeline/timeline.preview.d.ts +0 -0
  272. package/src/components/{atoms → molecules}/timeline/timeline.preview.tsx +0 -0
  273. package/src/components/{atoms → molecules}/timeline/timeline.styles.d.ts +0 -0
  274. package/src/components/{atoms → molecules}/timeline/timeline.styles.js +0 -2
  275. package/src/components/{atoms → molecules}/timeline/timeline.test.js +0 -0
  276. package/src/components/molecules/timestamp/__snapshots__/timestamp.test.js.snap +27 -0
  277. package/src/components/{atoms/text-bubble/components → molecules}/timestamp/timestamp.component.d.ts +1 -1
  278. package/src/components/{atoms/text-bubble/components → molecules}/timestamp/timestamp.component.tsx +11 -5
  279. package/src/components/molecules/timestamp/timestamp.styles.d.ts +5 -0
  280. package/src/components/molecules/timestamp/timestamp.styles.js +8 -0
  281. package/src/components/{atoms/text-bubble/components → molecules}/timestamp/timestamp.test.js +1 -1
  282. package/src/components/{atoms → molecules}/wide-button/__snapshots__/wide-button.test.js.snap +60 -32
  283. package/src/components/{atoms → molecules}/wide-button/wide-button.component.d.ts +0 -0
  284. package/src/components/{atoms → molecules}/wide-button/wide-button.component.tsx +10 -2
  285. package/src/components/{atoms → molecules}/wide-button/wide-button.preview.d.ts +0 -0
  286. package/src/components/{atoms → molecules}/wide-button/wide-button.preview.tsx +0 -0
  287. package/src/components/{atoms → molecules}/wide-button/wide-button.styles.d.ts +0 -0
  288. package/src/components/{atoms → molecules}/wide-button/wide-button.styles.js +0 -5
  289. package/src/components/{atoms → molecules}/wide-button/wide-button.test.js +0 -0
  290. package/src/components/{atoms → organisms}/child-list-item/__snapshots__/child-list-item.test.js.snap +231 -115
  291. package/src/components/{atoms → organisms}/child-list-item/child-list-item.component.d.ts +2 -2
  292. package/src/components/{atoms → organisms}/child-list-item/child-list-item.component.tsx +29 -17
  293. package/src/components/{atoms → organisms}/child-list-item/child-list-item.preview.d.ts +0 -0
  294. package/src/components/organisms/child-list-item/child-list-item.preview.tsx +89 -0
  295. package/src/components/organisms/child-list-item/child-list-item.styles.d.ts +42 -0
  296. package/src/components/organisms/child-list-item/child-list-item.styles.js +46 -0
  297. package/src/components/{atoms → organisms}/child-list-item/child-list-item.test.js +3 -6
  298. package/src/components/{atoms → organisms}/contact-item/__snapshots__/contact-item.test.js.snap +80 -36
  299. package/src/components/{atoms → organisms}/contact-item/contact-item.component.d.ts +0 -0
  300. package/src/components/{atoms → organisms}/contact-item/contact-item.component.tsx +11 -11
  301. package/src/components/{atoms → organisms}/contact-item/contact-item.preview.d.ts +0 -0
  302. package/src/components/{atoms → organisms}/contact-item/contact-item.preview.tsx +0 -0
  303. package/src/components/organisms/contact-item/contact-item.styles.d.ts +14 -0
  304. package/src/components/{atoms → organisms}/contact-item/contact-item.styles.js +1 -8
  305. package/src/components/{atoms → organisms}/contact-item/contact-item.test.js +0 -0
  306. package/src/components/{atoms → organisms}/day-select/day-select.component.d.ts +0 -0
  307. package/src/components/{atoms → organisms}/day-select/day-select.component.tsx +1 -1
  308. package/src/components/{atoms → organisms}/day-select/day-select.preview.d.ts +0 -0
  309. package/src/components/{atoms → organisms}/day-select/day-select.preview.tsx +0 -0
  310. package/src/components/{atoms → organisms}/day-select/day-select.styles.d.ts +0 -0
  311. package/src/components/{atoms → organisms}/day-select/day-select.styles.js +0 -0
  312. package/src/components/organisms/my-child-list-item/__snapshots__/my-child-list-item.test.js.snap +487 -0
  313. package/src/components/organisms/my-child-list-item/my-child-list-item.component.d.ts +13 -0
  314. package/src/components/organisms/my-child-list-item/my-child-list-item.component.tsx +74 -0
  315. package/src/components/organisms/my-child-list-item/my-child-list-item.preview.d.ts +1 -0
  316. package/src/components/organisms/my-child-list-item/my-child-list-item.preview.tsx +38 -0
  317. package/src/components/organisms/my-child-list-item/my-child-list-item.styles.d.ts +29 -0
  318. package/src/components/organisms/my-child-list-item/my-child-list-item.styles.js +33 -0
  319. package/src/components/organisms/my-child-list-item/my-child-list-item.test.js +40 -0
  320. package/src/components/{atoms → organisms}/text-bubble/__snapshots__/text-bubble.test.js.snap +258 -125
  321. package/src/components/{atoms → organisms}/text-bubble/text-bubble.component.d.ts +0 -0
  322. package/src/components/{atoms → organisms}/text-bubble/text-bubble.component.tsx +3 -3
  323. package/src/components/{atoms → organisms}/text-bubble/text-bubble.preview.d.ts +0 -0
  324. package/src/components/{atoms → organisms}/text-bubble/text-bubble.preview.tsx +0 -0
  325. package/src/components/{atoms → organisms}/text-bubble/text-bubble.styles.d.ts +0 -0
  326. package/src/components/{atoms → organisms}/text-bubble/text-bubble.styles.js +0 -0
  327. package/src/components/{atoms → organisms}/text-bubble/text-bubble.test.js +0 -0
  328. package/src/components/{atoms → templates}/popover/components/backdrop/backdrop.component.d.ts +0 -0
  329. package/src/components/{atoms → templates}/popover/components/backdrop/backdrop.component.tsx +0 -0
  330. package/src/components/{atoms → templates}/popover/components/backdrop/backdrop.styles.d.ts +0 -0
  331. package/src/components/{atoms → templates}/popover/components/backdrop/backdrop.styles.js +0 -0
  332. package/src/components/{atoms → templates}/popover/components/foreground/foreground.component.d.ts +0 -0
  333. package/src/components/{atoms → templates}/popover/components/foreground/foreground.component.tsx +0 -0
  334. package/src/components/{atoms → templates}/popover/components/foreground/foreground.styles.d.ts +0 -0
  335. package/src/components/{atoms → templates}/popover/components/foreground/foreground.styles.js +0 -0
  336. package/src/components/{atoms → templates}/popover/components/index.d.ts +0 -0
  337. package/src/components/{atoms → templates}/popover/components/index.js +0 -0
  338. package/src/components/{atoms → templates}/popover/components/modal/close/close.component.d.ts +0 -0
  339. package/src/components/{atoms → templates}/popover/components/modal/close/close.component.tsx +0 -0
  340. package/src/components/{atoms → templates}/popover/components/modal/close/close.styles.d.ts +0 -0
  341. package/src/components/{atoms → templates}/popover/components/modal/close/close.styles.js +0 -0
  342. package/src/components/{atoms → templates}/popover/components/modal/heading/heading.component.d.ts +0 -0
  343. package/src/components/templates/popover/components/modal/heading/heading.component.tsx +29 -0
  344. package/src/components/templates/popover/components/modal/heading/heading.styles.d.ts +10 -0
  345. package/src/components/{atoms → templates}/popover/components/modal/heading/heading.styles.js +1 -10
  346. package/src/components/{atoms → templates}/popover/components/modal/modal.component.d.ts +0 -0
  347. package/src/components/{atoms → templates}/popover/components/modal/modal.component.tsx +0 -0
  348. package/src/components/{atoms → templates}/popover/components/modal/modal.styles.d.ts +0 -0
  349. package/src/components/{atoms → templates}/popover/components/modal/modal.styles.js +0 -0
  350. package/src/components/{atoms → templates}/popover/components/modal/scroll-content/scroll-content.component.d.ts +0 -0
  351. package/src/components/{atoms → templates}/popover/components/modal/scroll-content/scroll-content.component.tsx +0 -0
  352. package/src/components/{atoms → templates}/popover/components/modal/scroll-content/scroll-content.styles.d.ts +0 -0
  353. package/src/components/{atoms → templates}/popover/components/modal/scroll-content/scroll-content.styles.js +0 -0
  354. package/src/components/{atoms → templates}/popover/popover.component.d.ts +0 -0
  355. package/src/components/{atoms → templates}/popover/popover.component.tsx +0 -0
  356. package/src/components/{atoms → templates}/popover/popover.preview.d.ts +0 -0
  357. package/src/components/{atoms → templates}/popover/popover.preview.tsx +1 -6
  358. package/src/components/{atoms → templates}/popover/popover.styles.d.ts +0 -0
  359. package/src/components/{atoms → templates}/popover/popover.styles.js +0 -0
  360. package/src/gradients/main/main.gradient.d.ts +5 -1
  361. package/src/gradients/main/main.gradient.tsx +11 -2
  362. package/src/icons/__snapshots__/icons.test.js.snap +14 -14
  363. package/src/icons/icons.test.js +32 -24
  364. package/src/icons/index.d.ts +4 -2
  365. package/src/icons/outline/calendar/calendar.icon.tsx +4 -1
  366. package/src/icons/outline/chat/chat.icon.tsx +4 -1
  367. package/src/icons/outline/chat-alt/chat-alt.icon.tsx +4 -1
  368. package/src/icons/outline/check-circle/check-circle.icon.tsx +4 -1
  369. package/src/icons/outline/chevron-left/chevron-left.icon.tsx +4 -1
  370. package/src/icons/outline/chevron-right/chevron-right.icon.tsx +4 -1
  371. package/src/icons/outline/clock/clock.icon.tsx +4 -1
  372. package/src/icons/outline/cloud-download/cloud-download.icon.tsx +4 -1
  373. package/src/icons/outline/cross/cross.icon.tsx +4 -1
  374. package/src/icons/outline/currency-euro/currency-euro.icon.tsx +4 -1
  375. package/src/icons/outline/mail/mail.icon.tsx +4 -1
  376. package/src/icons/outline/mail-open/mail-open.icon.tsx +4 -1
  377. package/src/icons/outline/menu/menu.icon.tsx +4 -1
  378. package/src/icons/outline/minus-sm/minus-sm.icon.d.ts +1 -1
  379. package/src/icons/outline/minus-sm/minus-sm.icon.tsx +11 -3
  380. package/src/icons/outline/office-building/office-building.icon.tsx +4 -1
  381. package/src/icons/outline/outline.d.ts +2 -2
  382. package/src/icons/outline/paper-airplane/paper-airplane.icon.tsx +4 -1
  383. package/src/icons/outline/paperclip/paperclip.icon.tsx +4 -1
  384. package/src/icons/outline/pencil/pencil.icon.tsx +4 -1
  385. package/src/icons/outline/phone/phone.icon.tsx +4 -1
  386. package/src/icons/outline/plus/plus.icon.tsx +4 -1
  387. package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +1 -1
  388. package/src/icons/outline/plus-sm/plus-sm.icon.tsx +7 -2
  389. package/src/icons/outline/refresh/refresh.icon.tsx +4 -1
  390. package/src/icons/outline/search/search.icon.tsx +4 -1
  391. package/src/icons/outline/selector/selector.icon.tsx +4 -1
  392. package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.tsx +4 -1
  393. package/src/icons/outline/status-online/status-online.icon.tsx +4 -1
  394. package/src/icons/outline/thumb-up/thumb-up.icon.tsx +4 -1
  395. package/src/icons/outline/trash/trash.icon.tsx +4 -1
  396. package/src/icons/outline/user/user.icon.tsx +7 -2
  397. package/src/icons/outline/user-group/user-group.icon.tsx +4 -1
  398. package/src/icons/outline/users/users.icon.tsx +4 -1
  399. package/src/icons/solid/clock/clock-solid.icon.tsx +2 -1
  400. package/src/icons/solid/document-text/document-text-solid.icon.d.ts +2 -0
  401. package/src/icons/solid/document-text/document-text-solid.icon.tsx +21 -0
  402. package/src/icons/solid/information-circle/information-circle-solid.icon.tsx +2 -1
  403. package/src/icons/solid/pencil/pencil-solid.icon.tsx +3 -2
  404. package/src/icons/solid/phone/phone-solid.icon.tsx +2 -1
  405. package/src/icons/solid/refresh/refresh-solid.icon.tsx +2 -1
  406. package/src/icons/solid/solid.d.ts +2 -0
  407. package/src/icons/solid/solid.preview.tsx +6 -0
  408. package/src/icons/solid/solid.tsx +4 -0
  409. package/src/icons/solid/status-online/status-online-solid.icon.tsx +5 -2
  410. package/src/icons/solid/trash/trash-solid.icon.tsx +2 -1
  411. package/src/icons/solid/users/users-solid.icon.d.ts +2 -0
  412. package/src/icons/solid/users/users-solid.icon.tsx +31 -0
  413. package/src/models/hex-color.model.d.ts +4 -4
  414. package/src/types/icontype.type.d.ts +2 -1
  415. package/src/types/icontype.type.ts +2 -1
  416. package/src/types/text-properties.type.d.ts +4 -0
  417. package/src/types/text-properties.type.ts +4 -0
  418. package/src/types/visual-state.enum.d.ts +2 -1
  419. package/src/types/visual-state.enum.ts +1 -0
  420. package/src/utilities/text-color-handler/text-color-handler.d.ts +2 -0
  421. package/src/utilities/text-color-handler/text-color-handler.tsx +26 -0
  422. package/src/utilities/toddle-datetime/toddle-datetime.class.d.ts +1 -2
  423. package/src/components/atoms/avatar/avatar.component.tsx +0 -37
  424. package/src/components/atoms/cancel-link/__snapshots__/cancel-link.test.js.snap +0 -89
  425. package/src/components/atoms/child-list-item/child-list-item.preview.tsx +0 -65
  426. package/src/components/atoms/child-list-item/child-list-item.styles.d.ts +0 -78
  427. package/src/components/atoms/child-list-item/child-list-item.styles.js +0 -82
  428. package/src/components/atoms/contact-item/contact-item.styles.d.ts +0 -24
  429. package/src/components/atoms/contact-role/__snapshots__/contact-role.test.js.snap +0 -75
  430. package/src/components/atoms/contact-role/contact-role.component.tsx +0 -22
  431. package/src/components/atoms/contact-role/contact-role.styles.d.ts +0 -19
  432. package/src/components/atoms/default-select/default-select.preview.d.ts +0 -1
  433. package/src/components/atoms/department_logo/__snapshots__/department-logo.test.js.snap +0 -16
  434. package/src/components/atoms/department_logo/department-logo.styles.d.ts +0 -8
  435. package/src/components/atoms/department_logo/department-logo.styles.js +0 -11
  436. package/src/components/atoms/filter-range/filter-range.preview.tsx +0 -48
  437. package/src/components/atoms/info/__snapshots__/info.test.js.snap +0 -43
  438. package/src/components/atoms/pill/__snapshots__/pill.test.js.snap +0 -141
  439. package/src/components/atoms/pill/pill.component.tsx +0 -25
  440. package/src/components/atoms/popover/components/modal/heading/heading.component.tsx +0 -24
  441. package/src/components/atoms/popover/components/modal/heading/heading.styles.d.ts +0 -22
  442. package/src/components/atoms/quick-filter/quick-filter.prevriew.tsx +0 -46
  443. package/src/components/atoms/select-link/select-link.preview.d.ts +0 -1
  444. package/src/components/atoms/snackbar/snackbar.component.tsx +0 -30
  445. package/src/components/atoms/snackbar/snackbar.preview.tsx +0 -33
  446. package/src/components/atoms/snackbar/snackbar.styles.js +0 -82
  447. package/src/components/atoms/text-bubble/components/timestamp/__snapshots__/timestamp.test.js.snap +0 -18
  448. package/src/components/atoms/text-bubble/components/timestamp/timestamp.styles.d.ts +0 -10
  449. package/src/components/atoms/text-bubble/components/timestamp/timestamp.styles.js +0 -12
package/App.tsx CHANGED
@@ -11,52 +11,54 @@ import 'intl/locale-data/jsonp/en';
11
11
  import {ThemeCtx} from './src/context/theme.context';
12
12
  import {StaffMemberTheme} from './src/theme/provider';
13
13
  import {LoadFonts} from './src/theme/font';
14
- import {AvatarPreview} from './src/components/atoms/avatar/avatar.preview';
15
- import {ButtonPreview} from './src/components/atoms/button/button.preview';
16
- import {PillPreview} from './src/components/atoms/pill/pill.preview';
17
- import {SnackbarPreview} from './src/components/atoms/snackbar/snackbar.preview';
18
- import {TextBubblePreview} from './src/components/atoms/text-bubble/text-bubble.preview';
14
+ import {AvatarPreview} from './src/components/molecules/avatar/avatar.preview';
15
+ import {ButtonPreview} from './src/components/molecules/button/button.preview';
16
+ import {PillPreview} from './src/components/molecules/pill/pill.preview';
17
+ import {SnackbarPreview} from './src/components/molecules/snackbar/snackbar.preview';
18
+ import {TextBubblePreview} from './src/components/organisms/text-bubble/text-bubble.preview';
19
19
  import {ImageBubblePreview} from './src/components/atoms/image-bubble/image-bubble.preview';
20
- import {TimeTrackerPreview} from './src/components/atoms/time-tracker/time-tracker.preview';
21
- import {CancelLinkPreview} from './src/components/atoms/cancel-link/cancel-link.preview';
22
- import {InfoPreview} from './src/components/atoms/info/info.preview';
20
+ import {TimeTrackerPreview} from './src/components/molecules/time-tracker/time-tracker.preview';
21
+ import {CancelLinkPreview} from './src/components/molecules/cancel-link/cancel-link.preview';
22
+ import {InfoPreview} from './src/components/molecules/info/info.preview';
23
23
  import {IconSolidPreview} from './src/icons/solid/solid.preview';
24
24
  import {IconOutlineWhitePreview} from './src/icons/outline/outline-white.preview';
25
25
  import {IconOutlineDefaultPreview} from './src/icons/outline/outline-default.preview';
26
26
  import {IconOutlineGreyPreview} from './src/icons/outline/outline-grey.preview';
27
- import {TagPreview} from './src/components/atoms/tag/tag.preview';
28
- import {PopoverPreview} from './src/components/atoms/popover/popover.preview';
29
- import {FilterTabPreview} from './src/components/atoms/filter-tab/filter-tab.preview';
30
- import {ContactItemPreview} from './src/components/atoms/contact-item/contact-item.preview';
31
- import {SelectListItemPreview} from './src/components/atoms/select-list-item/select-list-item-preview';
32
- import {CheckboxPreview} from './src/components/atoms/checkbox/checkbox.preview';
27
+ import {TagPreview} from './src/components/molecules/tag/tag.preview';
28
+ import {PopoverPreview} from './src/components/templates/popover/popover.preview';
29
+ import {FilterTabPreview} from './src/components/molecules/filter-tab/filter-tab.preview';
30
+ import {ContactItemPreview} from './src/components/organisms/contact-item/contact-item.preview';
31
+ import {SelectListItemPreview} from './src/components/molecules/select-list-item/select-list-item-preview';
32
+ import {CheckboxPreview} from './src/components/molecules/checkbox/checkbox.preview';
33
33
  import {CheckPreview} from './src/components/atoms/check-switch/check-switch.preview';
34
- import {WideButtonPreview} from './src/components/atoms/wide-button/wide-button.preview';
35
- import {PressableIconPreview} from './src/components/atoms/pressable-icon/pressable-icon.preview';
34
+ import {WideButtonPreview} from './src/components/molecules/wide-button/wide-button.preview';
35
+ import {PressableIconPreview} from './src/components/molecules/pressable-icon/pressable-icon.preview';
36
36
  import {SplitContainerPreview} from './src/components/atoms/split-container/split-container.preview';
37
37
  import {CalendarPreview} from './src/components/atoms/calendar/calendar.preview';
38
- import {QuickFilterPreview} from './src/components/atoms/quick-filter/quick-filter.prevriew';
39
- import {DateInputPreview} from './src/components/atoms/date-input/date-input.preview';
38
+ import {QuickFilterPreview} from './src/components/molecules/quick-filter/quick-filter.preview';
39
+ import {DateInputPreview} from './src/components/molecules/date-input/date-input.preview';
40
40
  import {TextInputPreview} from './src/components/atoms/text-input/text-input.preview';
41
- import {ChildListItemPreview} from './src/components/atoms/child-list-item/child-list-item.preview';
42
- import {TimeLinePreview} from './src/components/atoms/timeline/timeline.preview';
43
- import {SelectPickerPreview} from './src/components/atoms/select-picker/select-picker.preview';
44
- import {FilterRangePreview} from './src/components/atoms/filter-range/filter-range.preview';
45
- import {DaySelectPreview} from './src/components/atoms/day-select/day-select.preview';
41
+ import {ChildListItemPreview} from './src/components/organisms/child-list-item/child-list-item.preview';
42
+ import {TimeLinePreview} from './src/components/molecules/timeline/timeline.preview';
43
+ import {SelectPickerPreview} from './src/components/molecules/select-picker/select-picker.preview';
44
+ import {FilterRangePreview} from './src/components/molecules/filter-range/filter-range.preview';
45
+ import {DaySelectPreview} from './src/components/organisms/day-select/day-select.preview';
46
46
  import {IncrementInputPreview} from './src/components/atoms/increment-input/increment-input.preview';
47
- import {SwipePreview} from './src/components/atoms/swipe/swipe.preview';
47
+ import {SwipePreview} from './src/components/molecules/swipe/swipe.preview';
48
48
  import {LogoPreview} from './src/components/atoms/logo/logo.preview';
49
- import {ContactRolePreview} from './src/components/atoms/contact-role/contact-role.preview';
50
- import {SearchPreview} from './src/components/atoms/search/search.preview';
51
- import {BlockedMessagePreview} from './src/components/atoms/blocked-message/blocked-message.preview';
52
- import {DepartmentLogoPreview} from './src/components/atoms/department_logo/department-logo.preview';
53
- import {CalendarSelectPreview} from './src/components/atoms/calendar-select/calendar-select.preview';
49
+ import {ContactRolePreview} from './src/components/molecules/contact-role/contact-role.preview';
50
+ import {SearchPreview} from './src/components/molecules/search-input/search.preview';
51
+ import {BlockedMessagePreview} from './src/components/molecules/blocked-message/blocked-message.preview';
52
+ import {DepartmentLogoPreview} from './src/components/molecules/department_logo/department-logo.preview';
53
+ import {CalendarSelectPreview} from './src/components/molecules/calendar-select/calendar-select.preview';
54
54
  import {FooterPreview} from './src/components/atoms/footer/footer.preview';
55
- import {DefaulSelectPreview} from './src/components/atoms/default-select/default-select.preview';
56
- import {PasswordInputPreview} from './src/components/atoms/password-input/password-input.preview';
57
- import {MessageInputPreview} from './src/components/atoms/message-input/message-input.preview';
55
+ import {DefaultSelectPreview} from './src/components/molecules/default-select/default-select.preview';
56
+ import {PasswordInputPreview} from './src/components/molecules/password-input/password-input.preview';
57
+ import {MessageInputPreview} from './src/components/molecules/message-input/message-input.preview';
58
58
  import {HeadingsPreview} from './src/components/atoms/heading-components/headings.preview';
59
59
  import {ParagraphComponentsPreview} from './src/components/atoms/paragraph-components/paragraph-components.preview';
60
+ import {MyChildListItemPreview} from './src/components/organisms/my-child-list-item/my-child-list-item.preview';
61
+ import {SelectLinkPreview} from './src/components/molecules/select-link/select-link.preview';
60
62
 
61
63
  const Stack = createNativeStackNavigator();
62
64
 
@@ -154,6 +156,7 @@ const HomeScreen = ({navigation}: {navigation: any}) => {
154
156
  title="Child list item"
155
157
  onPress={() => navigation.push('child-list-item')}
156
158
  />
159
+ <ReactBtn title="Timeline" onPress={() => navigation.push('timeline')} />
157
160
  <ReactBtn
158
161
  title="Filter range"
159
162
  onPress={() => navigation.push('filter-range')}
@@ -212,6 +215,14 @@ const HomeScreen = ({navigation}: {navigation: any}) => {
212
215
  title="Paragraphs"
213
216
  onPress={() => navigation.push('paragraphs')}
214
217
  />
218
+ <ReactBtn
219
+ title="My child list item"
220
+ onPress={() => navigation.push('my-child-list-item')}
221
+ />
222
+ <ReactBtn
223
+ title="Select link"
224
+ onPress={() => navigation.push('select-link')}
225
+ />
215
226
  </ScrollView>
216
227
  );
217
228
  };
@@ -337,7 +348,7 @@ function App() {
337
348
  </Stack.Screen>
338
349
  <Stack.Screen name="footer">{() => <FooterPreview />}</Stack.Screen>
339
350
  <Stack.Screen name="default-select">
340
- {() => <DefaulSelectPreview />}
351
+ {() => <DefaultSelectPreview />}
341
352
  </Stack.Screen>
342
353
  <Stack.Screen name="message-input">
343
354
  {() => <MessageInputPreview />}
@@ -348,6 +359,12 @@ function App() {
348
359
  <Stack.Screen name="paragraphs">
349
360
  {() => <ParagraphComponentsPreview />}
350
361
  </Stack.Screen>
362
+ <Stack.Screen name="my-child-list-item">
363
+ {() => <MyChildListItemPreview />}
364
+ </Stack.Screen>
365
+ <Stack.Screen name="select-link">
366
+ {() => <SelectLinkPreview />}
367
+ </Stack.Screen>
351
368
  </Stack.Navigator>
352
369
  </NavigationContainer>
353
370
  </ThemeCtx.Provider>
package/index.d.ts CHANGED
@@ -1,54 +1,50 @@
1
1
  import 'intl';
2
2
  import 'intl/locale-data/jsonp/en';
3
- import { Avatar } from './src/components/atoms/avatar/avatar.component';
4
- import { Button } from './src/components/atoms/button/button.component';
5
- import { CancelLink } from './src/components/atoms/cancel-link/cancel-link.component';
3
+ import { Avatar } from './src/components/molecules/avatar/avatar.component';
4
+ import { Button } from './src/components/molecules/button/button.component';
5
+ import { CancelLink } from './src/components/molecules/cancel-link/cancel-link.component';
6
6
  import { Check } from './src/components/atoms/check-switch/check-switch.component';
7
- import { Checkbox } from './src/components/atoms/checkbox/checkbox.component';
8
- import { ChildListItem } from './src/components/atoms/child-list-item/child-list-item.component';
9
- import { ContactItem } from './src/components/atoms/contact-item/contact-item.component';
10
- import { FilterTab } from './src/components/atoms/filter-tab/filter-tab.component';
7
+ import { Checkbox } from './src/components/molecules/checkbox/checkbox.component';
8
+ import { ChildListItem } from './src/components/organisms/child-list-item/child-list-item.component';
9
+ import { ContactItem } from './src/components/organisms/contact-item/contact-item.component';
10
+ import { FilterTab } from './src/components/molecules/filter-tab/filter-tab.component';
11
11
  import { SplitContainer } from './src/components/atoms/split-container/split-container.component';
12
12
  import { ImageBubble } from './src/components/atoms/image-bubble/image-bubble.component';
13
- import { Info } from './src/components/atoms/info/info.component';
14
- import { Pill } from './src/components/atoms/pill/pill.component';
15
- import { Popover } from './src/components/atoms/popover/popover.component';
16
- import { PressableIcon } from './src/components/atoms/pressable-icon/pressable-icon.component';
17
- import { QuickFilter } from './src/components/atoms/quick-filter/quick-filter.component';
18
- import { SelectListItem } from './src/components/atoms/select-list-item/select-list-item.component';
19
- import { Snackbar } from './src/components/atoms/snackbar/snackbar.component';
20
- import { Tag } from './src/components/atoms/tag/tag.component';
21
- import { TextBubble } from './src/components/atoms/text-bubble/text-bubble.component';
13
+ import { Info } from './src/components/molecules/info/info.component';
14
+ import { Pill } from './src/components/molecules/pill/pill.component';
15
+ import { Popover } from './src/components/templates/popover/popover.component';
16
+ import { PressableIcon } from './src/components/molecules/pressable-icon/pressable-icon.component';
17
+ import { QuickFilter } from './src/components/molecules/quick-filter/quick-filter.component';
18
+ import { SelectListItem } from './src/components/molecules/select-list-item/select-list-item.component';
19
+ import { Snackbar } from './src/components/molecules/snackbar/snackbar.component';
20
+ import { Tag } from './src/components/molecules/tag/tag.component';
21
+ import { TextBubble } from './src/components/organisms/text-bubble/text-bubble.component';
22
22
  import { TextInput } from './src/components/atoms/text-input/text-input.component';
23
- import { TimeTracker } from './src/components/atoms/time-tracker/time-tracker.component';
24
- import { WideButton } from './src/components/atoms/wide-button/wide-button.component';
23
+ import { TimeTracker } from './src/components/molecules/time-tracker/time-tracker.component';
24
+ import { WideButton } from './src/components/molecules/wide-button/wide-button.component';
25
25
  import { Icon } from './src/icons';
26
26
  import { Calendar } from './src/components/atoms/calendar/calendar.component';
27
27
  import { IncrementInput } from './src/components/atoms/increment-input/increment-input.component';
28
- import { Swipe } from './src/components/atoms/swipe/swipe.component';
28
+ import { Swipe } from './src/components/molecules/swipe/swipe.component';
29
29
  import { Logo } from './src/components/atoms/logo/logo.component';
30
- import { DaySelect } from './src/components/atoms/day-select/day-select.component';
31
- import { Search } from './src/components/atoms/search/search.component';
32
- import { BlockedMessage } from './src/components/atoms/blocked-message/blocked-message.component';
33
- import { DepartmentLogo } from './src/components/atoms/department_logo/department-logo.component';
34
- import { ContactRole } from './src/components/atoms/contact-role/contact-role.component';
35
- import { Timeline } from './src/components/atoms/timeline/timeline.component';
36
- import { SelectPicker } from './src/components/atoms/select-picker/select-picker.component';
37
- import { CalendarSelect } from './src/components/atoms/calendar-select/calendar-select.component';
38
- import { DateInput } from './src/components/atoms/date-input/date-input.component';
39
- import { FilterRange } from './src/components/atoms/filter-range/filter-range.component';
30
+ import { DaySelect } from './src/components/organisms/day-select/day-select.component';
31
+ import { Search } from './src/components/molecules/search-input/search.component';
32
+ import { BlockedMessage } from './src/components/molecules/blocked-message/blocked-message.component';
33
+ import { DepartmentLogo } from './src/components/molecules/department_logo/department-logo.component';
34
+ import { ContactRole } from './src/components/molecules/contact-role/contact-role.component';
35
+ import { Timeline } from './src/components/molecules/timeline/timeline.component';
36
+ import { SelectPicker } from './src/components/molecules/select-picker/select-picker.component';
37
+ import { CalendarSelect } from './src/components/molecules/calendar-select/calendar-select.component';
38
+ import { DateInput } from './src/components/molecules/date-input/date-input.component';
39
+ import { FilterRange } from './src/components/molecules/filter-range/filter-range.component';
40
40
  import { Footer } from './src/components/atoms/footer/footer.component';
41
- import { DefaultSelect } from './src/components/atoms/default-select/default-select.component';
42
- import { PasswordInput } from './src/components/atoms/password-input/password-input.component';
43
- import { MessageInput } from './src/components/atoms/message-input/message-input.component';
44
- import { Heading1 } from './src/components/atoms/heading-components/heading1/heading1.component';
45
- import { Heading2 } from './src/components/atoms/heading-components/heading2/heading2.component';
46
- import { Heading3 } from './src/components/atoms/heading-components/heading3/heading3.component';
47
- import { Heading4 } from './src/components/atoms/heading-components/heading4/heading4.component';
48
- import { AllCapsHeading } from './src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component';
49
- import { Paragraph } from './src/components/atoms/paragraph-components/paragraph/paragraph.component';
50
- import { SmallText } from './src/components/atoms/paragraph-components/small-text/small-text.component';
51
- import { TinyText } from './src/components/atoms/paragraph-components/tiny-text/tiny-text.component';
41
+ import { DefaultSelect } from './src/components/molecules/default-select/default-select.component';
42
+ import { PasswordInput } from './src/components/molecules/password-input/password-input.component';
43
+ import { MessageInput } from './src/components/molecules/message-input/message-input.component';
44
+ import { AllCapsHeading, Heading1, Heading2, Heading3, Heading4 } from './src/components/atoms/heading-components';
45
+ import { Paragraph, SmallText, TinyText } from './src/components/atoms/paragraph-components';
46
+ import { SelectLink } from './src/components/molecules/select-link/select-link.component';
47
+ import { MyChildListItem } from './src/components/organisms/my-child-list-item/my-child-list-item.component';
52
48
  import { BubbleAlignment } from './src/types/bubble-alignment.enum';
53
49
  import { KeyBoardTypes } from './src/types/keyboard-types.enum';
54
50
  import { Size } from './src/types/size.enum';
@@ -57,4 +53,4 @@ import { Initials } from './src/models/initials.model';
57
53
  import { ToddleDateTime } from './src/utilities/toddle-datetime/toddle-datetime.class';
58
54
  import { ThemeCtx } from './src/context/theme.context';
59
55
  import { Scale } from './src/theme/scale/index';
60
- export { Initials, BubbleAlignment, KeyBoardTypes, Size, Scale, VisualState, ThemeCtx, ToddleDateTime, Avatar, Button, CancelLink, Check, Checkbox, ChildListItem, ContactItem, FilterTab, SplitContainer, ImageBubble, Info, Pill, Popover, PressableIcon, QuickFilter, Search, SelectListItem, Snackbar, Tag, TextBubble, TextInput, TimeTracker, WideButton, Icon, Calendar, IncrementInput, Swipe, Logo, DaySelect, BlockedMessage, DepartmentLogo, ContactRole, Timeline, SelectPicker, CalendarSelect, DateInput, FilterRange, Footer, DefaultSelect, PasswordInput, MessageInput, Heading1, Heading2, Heading3, Heading4, AllCapsHeading, Paragraph, SmallText, TinyText, };
56
+ export { Initials, BubbleAlignment, KeyBoardTypes, Size, Scale, VisualState, ThemeCtx, ToddleDateTime, Avatar, Button, CancelLink, Check, Checkbox, ChildListItem, ContactItem, FilterTab, SplitContainer, ImageBubble, Info, Pill, Popover, PressableIcon, QuickFilter, Search, SelectListItem, Snackbar, Tag, TextBubble, TextInput, TimeTracker, WideButton, Icon, Calendar, IncrementInput, Swipe, Logo, DaySelect, BlockedMessage, DepartmentLogo, ContactRole, Timeline, SelectPicker, CalendarSelect, DateInput, FilterRange, Footer, DefaultSelect, PasswordInput, MessageInput, Heading1, Heading2, Heading3, Heading4, AllCapsHeading, Paragraph, SmallText, TinyText, SelectLink, MyChildListItem, };
package/index.tsx CHANGED
@@ -8,55 +8,61 @@ import App from './App';
8
8
  registerRootComponent(App);
9
9
 
10
10
  // Exports of components
11
- import {Avatar} from './src/components/atoms/avatar/avatar.component';
12
- import {Button} from './src/components/atoms/button/button.component';
13
- import {CancelLink} from './src/components/atoms/cancel-link/cancel-link.component';
11
+ import {Avatar} from './src/components/molecules/avatar/avatar.component';
12
+ import {Button} from './src/components/molecules/button/button.component';
13
+ import {CancelLink} from './src/components/molecules/cancel-link/cancel-link.component';
14
14
  import {Check} from './src/components/atoms/check-switch/check-switch.component';
15
- import {Checkbox} from './src/components/atoms/checkbox/checkbox.component';
16
- import {ChildListItem} from './src/components/atoms/child-list-item/child-list-item.component';
17
- import {ContactItem} from './src/components/atoms/contact-item/contact-item.component';
18
- import {FilterTab} from './src/components/atoms/filter-tab/filter-tab.component';
15
+ import {Checkbox} from './src/components/molecules/checkbox/checkbox.component';
16
+ import {ChildListItem} from './src/components/organisms/child-list-item/child-list-item.component';
17
+ import {ContactItem} from './src/components/organisms/contact-item/contact-item.component';
18
+ import {FilterTab} from './src/components/molecules/filter-tab/filter-tab.component';
19
19
  import {SplitContainer} from './src/components/atoms/split-container/split-container.component';
20
20
  import {ImageBubble} from './src/components/atoms/image-bubble/image-bubble.component';
21
- import {Info} from './src/components/atoms/info/info.component';
22
- import {Pill} from './src/components/atoms/pill/pill.component';
23
- import {Popover} from './src/components/atoms/popover/popover.component';
24
- import {PressableIcon} from './src/components/atoms/pressable-icon/pressable-icon.component';
25
- import {QuickFilter} from './src/components/atoms/quick-filter/quick-filter.component';
26
- import {SelectListItem} from './src/components/atoms/select-list-item/select-list-item.component';
27
- import {Snackbar} from './src/components/atoms/snackbar/snackbar.component';
28
- import {Tag} from './src/components/atoms/tag/tag.component';
29
- import {TextBubble} from './src/components/atoms/text-bubble/text-bubble.component';
21
+ import {Info} from './src/components/molecules/info/info.component';
22
+ import {Pill} from './src/components/molecules/pill/pill.component';
23
+ import {Popover} from './src/components/templates/popover/popover.component';
24
+ import {PressableIcon} from './src/components/molecules/pressable-icon/pressable-icon.component';
25
+ import {QuickFilter} from './src/components/molecules/quick-filter/quick-filter.component';
26
+ import {SelectListItem} from './src/components/molecules/select-list-item/select-list-item.component';
27
+ import {Snackbar} from './src/components/molecules/snackbar/snackbar.component';
28
+ import {Tag} from './src/components/molecules/tag/tag.component';
29
+ import {TextBubble} from './src/components/organisms/text-bubble/text-bubble.component';
30
30
  import {TextInput} from './src/components/atoms/text-input/text-input.component';
31
- import {TimeTracker} from './src/components/atoms/time-tracker/time-tracker.component';
32
- import {WideButton} from './src/components/atoms/wide-button/wide-button.component';
31
+ import {TimeTracker} from './src/components/molecules/time-tracker/time-tracker.component';
32
+ import {WideButton} from './src/components/molecules/wide-button/wide-button.component';
33
33
  import {Icon} from './src/icons';
34
34
  import {Calendar} from './src/components/atoms/calendar/calendar.component';
35
35
  import {IncrementInput} from './src/components/atoms/increment-input/increment-input.component';
36
- import {Swipe} from './src/components/atoms/swipe/swipe.component';
36
+ import {Swipe} from './src/components/molecules/swipe/swipe.component';
37
37
  import {Logo} from './src/components/atoms/logo/logo.component';
38
- import {DaySelect} from './src/components/atoms/day-select/day-select.component';
39
- import {Search} from './src/components/atoms/search/search.component';
40
- import {BlockedMessage} from './src/components/atoms/blocked-message/blocked-message.component';
41
- import {DepartmentLogo} from './src/components/atoms/department_logo/department-logo.component';
42
- import {ContactRole} from './src/components/atoms/contact-role/contact-role.component';
43
- import {Timeline} from './src/components/atoms/timeline/timeline.component';
44
- import {SelectPicker} from './src/components/atoms/select-picker/select-picker.component';
45
- import {CalendarSelect} from './src/components/atoms/calendar-select/calendar-select.component';
46
- import {DateInput} from './src/components/atoms/date-input/date-input.component';
47
- import {FilterRange} from './src/components/atoms/filter-range/filter-range.component';
38
+ import {DaySelect} from './src/components/organisms/day-select/day-select.component';
39
+ import {Search} from './src/components/molecules/search-input/search.component';
40
+ import {BlockedMessage} from './src/components/molecules/blocked-message/blocked-message.component';
41
+ import {DepartmentLogo} from './src/components/molecules/department_logo/department-logo.component';
42
+ import {ContactRole} from './src/components/molecules/contact-role/contact-role.component';
43
+ import {Timeline} from './src/components/molecules/timeline/timeline.component';
44
+ import {SelectPicker} from './src/components/molecules/select-picker/select-picker.component';
45
+ import {CalendarSelect} from './src/components/molecules/calendar-select/calendar-select.component';
46
+ import {DateInput} from './src/components/molecules/date-input/date-input.component';
47
+ import {FilterRange} from './src/components/molecules/filter-range/filter-range.component';
48
48
  import {Footer} from './src/components/atoms/footer/footer.component';
49
- import {DefaultSelect} from './src/components/atoms/default-select/default-select.component';
50
- import {PasswordInput} from './src/components/atoms/password-input/password-input.component';
51
- import {MessageInput} from './src/components/atoms/message-input/message-input.component';
52
- import {Heading1} from './src/components/atoms/heading-components/heading1/heading1.component';
53
- import {Heading2} from './src/components/atoms/heading-components/heading2/heading2.component';
54
- import {Heading3} from './src/components/atoms/heading-components/heading3/heading3.component';
55
- import {Heading4} from './src/components/atoms/heading-components/heading4/heading4.component';
56
- import {AllCapsHeading} from './src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component';
57
- import {Paragraph} from './src/components/atoms/paragraph-components/paragraph/paragraph.component';
58
- import {SmallText} from './src/components/atoms/paragraph-components/small-text/small-text.component';
59
- import {TinyText} from './src/components/atoms/paragraph-components/tiny-text/tiny-text.component';
49
+ import {DefaultSelect} from './src/components/molecules/default-select/default-select.component';
50
+ import {PasswordInput} from './src/components/molecules/password-input/password-input.component';
51
+ import {MessageInput} from './src/components/molecules/message-input/message-input.component';
52
+ import {
53
+ AllCapsHeading,
54
+ Heading1,
55
+ Heading2,
56
+ Heading3,
57
+ Heading4,
58
+ } from './src/components/atoms/heading-components';
59
+ import {
60
+ Paragraph,
61
+ SmallText,
62
+ TinyText,
63
+ } from './src/components/atoms/paragraph-components';
64
+ import {SelectLink} from './src/components/molecules/select-link/select-link.component';
65
+ import {MyChildListItem} from './src/components/organisms/my-child-list-item/my-child-list-item.component';
60
66
 
61
67
  // Exports of enums
62
68
  import {BubbleAlignment} from './src/types/bubble-alignment.enum';
@@ -134,4 +140,6 @@ export {
134
140
  Paragraph,
135
141
  SmallText,
136
142
  TinyText,
143
+ SelectLink,
144
+ MyChildListItem,
137
145
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tactics/toddle-styleguide",
3
- "version": "0.1.11",
3
+ "version": "1.0.0",
4
4
  "main": "index.tsx",
5
5
  "types": "index.d.ts",
6
6
  "prepublish": "tsc",
@@ -931,7 +931,7 @@ exports[`Test for the calendar component renders a calendar where you can select
931
931
  }
932
932
  >
933
933
  <View
934
- accessibilityLabel="today Maandag 6 Februari 2023 "
934
+ accessibilityLabel=" Maandag 6 Februari 2023 "
935
935
  accessibilityRole="button"
936
936
  accessibilityState={
937
937
  {
@@ -951,10 +951,6 @@ exports[`Test for the calendar component renders a calendar where you can select
951
951
  style={
952
952
  {
953
953
  "alignItems": "center",
954
- "borderColor": "#7B93DB",
955
- "borderRadius": 21,
956
- "borderStyle": "solid",
957
- "borderWidth": 1,
958
954
  "height": 42,
959
955
  "justifyContent": "center",
960
956
  "opacity": 1,
@@ -974,9 +970,6 @@ exports[`Test for the calendar component renders a calendar where you can select
974
970
  "lineHeight": 22.4,
975
971
  "marginTop": 4,
976
972
  },
977
- {
978
- "color": "#7B93DB",
979
- },
980
973
  ]
981
974
  }
982
975
  >
@@ -1431,7 +1424,7 @@ exports[`Test for the calendar component renders a calendar where you can select
1431
1424
  }
1432
1425
  >
1433
1426
  <View
1434
- accessibilityLabel=" Maandag 13 Februari 2023 "
1427
+ accessibilityLabel="today Maandag 13 Februari 2023 "
1435
1428
  accessibilityRole="button"
1436
1429
  accessibilityState={
1437
1430
  {
@@ -1451,6 +1444,10 @@ exports[`Test for the calendar component renders a calendar where you can select
1451
1444
  style={
1452
1445
  {
1453
1446
  "alignItems": "center",
1447
+ "borderColor": "#7B93DB",
1448
+ "borderRadius": 21,
1449
+ "borderStyle": "solid",
1450
+ "borderWidth": 1,
1454
1451
  "height": 42,
1455
1452
  "justifyContent": "center",
1456
1453
  "opacity": 1,
@@ -1470,6 +1467,9 @@ exports[`Test for the calendar component renders a calendar where you can select
1470
1467
  "lineHeight": 22.4,
1471
1468
  "marginTop": 4,
1472
1469
  },
1470
+ {
1471
+ "color": "#7B93DB",
1472
+ },
1473
1473
  ]
1474
1474
  }
1475
1475
  >
@@ -3848,8 +3848,7 @@ exports[`Test for the calendar component renders a calendar where you can select
3848
3848
  }
3849
3849
  >
3850
3850
  <View
3851
- accessibilityLabel="today Maandag 6 Februari 2023 "
3852
- accessibilityRole="button"
3851
+ accessibilityLabel=" Maandag 6 Februari 2023 "
3853
3852
  accessibilityState={
3854
3853
  {
3855
3854
  "disabled": false,
@@ -3868,10 +3867,6 @@ exports[`Test for the calendar component renders a calendar where you can select
3868
3867
  style={
3869
3868
  {
3870
3869
  "alignItems": "center",
3871
- "borderColor": "#7B93DB",
3872
- "borderRadius": 21,
3873
- "borderStyle": "solid",
3874
- "borderWidth": 1,
3875
3870
  "height": 42,
3876
3871
  "justifyContent": "center",
3877
3872
  "opacity": 1,
@@ -3892,7 +3887,7 @@ exports[`Test for the calendar component renders a calendar where you can select
3892
3887
  "marginTop": 4,
3893
3888
  },
3894
3889
  {
3895
- "color": "#7B93DB",
3890
+ "color": "#9AA5B1",
3896
3891
  },
3897
3892
  ]
3898
3893
  }
@@ -4360,7 +4355,8 @@ exports[`Test for the calendar component renders a calendar where you can select
4360
4355
  }
4361
4356
  >
4362
4357
  <View
4363
- accessibilityLabel=" Maandag 13 Februari 2023 "
4358
+ accessibilityLabel="today Maandag 13 Februari 2023 "
4359
+ accessibilityRole="button"
4364
4360
  accessibilityState={
4365
4361
  {
4366
4362
  "disabled": false,
@@ -4379,6 +4375,10 @@ exports[`Test for the calendar component renders a calendar where you can select
4379
4375
  style={
4380
4376
  {
4381
4377
  "alignItems": "center",
4378
+ "borderColor": "#7B93DB",
4379
+ "borderRadius": 21,
4380
+ "borderStyle": "solid",
4381
+ "borderWidth": 1,
4382
4382
  "height": 42,
4383
4383
  "justifyContent": "center",
4384
4384
  "opacity": 1,
@@ -4399,7 +4399,7 @@ exports[`Test for the calendar component renders a calendar where you can select
4399
4399
  "marginTop": 4,
4400
4400
  },
4401
4401
  {
4402
- "color": "#9AA5B1",
4402
+ "color": "#7B93DB",
4403
4403
  },
4404
4404
  ]
4405
4405
  }
@@ -1,4 +1,4 @@
1
- import React, {ReactNode} from 'react';
1
+ import React from 'react';
2
2
  import {useContext} from 'react';
3
3
  import {View} from 'react-native';
4
4
 
@@ -1,9 +1,8 @@
1
1
  import React from 'react';
2
2
  import {Footer} from './footer.component';
3
- import {QrcodeIcon} from '../../../icons/outline/qrcode/qrcode.icon';
4
3
  import {SplitContainer} from '../split-container/split-container.component';
5
- import {SelectLink} from '../select-link/select-link.component';
6
- import {Button} from '../button/button.component';
4
+ import {SelectLink} from '../../molecules/select-link/select-link.component';
5
+ import {Button} from '../../molecules/button/button.component';
7
6
 
8
7
  export const FooterPreview = ({}: {}) => {
9
8
  return (
@@ -16,6 +16,7 @@ exports[`Test for Heading1 should render a Heading 1 component, huge font, bold
16
16
  "textAlign": undefined,
17
17
  "width": "100%",
18
18
  },
19
+ undefined,
19
20
  ]
20
21
  }
21
22
  >
@@ -39,6 +40,7 @@ exports[`Test for Heading1 should render a Heading 1 component, huge font, bold
39
40
  "textAlign": undefined,
40
41
  "width": "100%",
41
42
  },
43
+ undefined,
42
44
  ]
43
45
  }
44
46
  >
@@ -62,6 +64,7 @@ exports[`Test for Heading1 should render a Heading 1 component, huge font, bold
62
64
  "textAlign": "justify",
63
65
  "width": "100%",
64
66
  },
67
+ undefined,
65
68
  ]
66
69
  }
67
70
  >
@@ -85,6 +88,7 @@ exports[`Test for Heading1 should render a Heading 1 component, huge font, not b
85
88
  "textAlign": undefined,
86
89
  "width": "100%",
87
90
  },
91
+ undefined,
88
92
  ]
89
93
  }
90
94
  >
@@ -108,6 +112,7 @@ exports[`Test for Heading1 should render a Heading 1 component, huge font, not b
108
112
  "textAlign": undefined,
109
113
  "width": "100%",
110
114
  },
115
+ undefined,
111
116
  ]
112
117
  }
113
118
  >
@@ -1,2 +1,2 @@
1
1
  import { TextProperties } from '../../../../types/text-properties.type';
2
- export declare const Heading1: ({ bold, children, textColor, textAlign, }: TextProperties) => JSX.Element;
2
+ export declare const Heading1: ({ bold, children, textColor, textAlign, addStyle, }: TextProperties) => JSX.Element;
@@ -9,9 +9,12 @@ export const Heading1 = ({
9
9
  children,
10
10
  textColor,
11
11
  textAlign,
12
+ addStyle,
12
13
  }: TextProperties) => {
13
14
  const Context = useContext(ThemeCtx);
14
15
  const styles = Stylesheet(Context, bold, textColor, textAlign);
15
16
 
16
- return <Text style={[styles.heading1, styles.main]}>{children}</Text>;
17
+ return (
18
+ <Text style={[styles.heading1, styles.main, addStyle]}>{children}</Text>
19
+ );
17
20
  };
@@ -16,6 +16,7 @@ exports[`Test for Heading2 should render a Heading 2 component, big font, bold 1
16
16
  "textAlign": undefined,
17
17
  "width": "100%",
18
18
  },
19
+ undefined,
19
20
  ]
20
21
  }
21
22
  >
@@ -39,6 +40,7 @@ exports[`Test for Heading2 should render a Heading 2 component, big font, bold,
39
40
  "textAlign": undefined,
40
41
  "width": "100%",
41
42
  },
43
+ undefined,
42
44
  ]
43
45
  }
44
46
  >
@@ -62,6 +64,7 @@ exports[`Test for Heading2 should render a Heading 2 component, big font, bold,
62
64
  "textAlign": "center",
63
65
  "width": "100%",
64
66
  },
67
+ undefined,
65
68
  ]
66
69
  }
67
70
  >
@@ -85,6 +88,7 @@ exports[`Test for Heading2 should render a Heading 2 component, big font, not bo
85
88
  "textAlign": undefined,
86
89
  "width": "100%",
87
90
  },
91
+ undefined,
88
92
  ]
89
93
  }
90
94
  >
@@ -108,6 +112,7 @@ exports[`Test for Heading2 should render a Heading 2 component, big font, not bo
108
112
  "textAlign": undefined,
109
113
  "width": "100%",
110
114
  },
115
+ undefined,
111
116
  ]
112
117
  }
113
118
  >
@@ -1,2 +1,2 @@
1
1
  import { TextProperties } from '../../../../types/text-properties.type';
2
- export declare const Heading2: ({ bold, children, textColor, textAlign, }: TextProperties) => JSX.Element;
2
+ export declare const Heading2: ({ bold, children, textColor, textAlign, numberOfLines, ellipsizeMode, addStyle, }: TextProperties) => JSX.Element;
@@ -9,9 +9,20 @@ export const Heading2 = ({
9
9
  children,
10
10
  textColor,
11
11
  textAlign,
12
+ numberOfLines,
13
+ ellipsizeMode,
14
+ addStyle,
12
15
  }: TextProperties) => {
13
16
  const Context = useContext(ThemeCtx);
14
17
  const styles = Stylesheet(Context, bold, textColor, textAlign);
15
18
 
16
- return <Text style={[styles.heading2, styles.main]}>{children}</Text>;
19
+ return (
20
+ <Text
21
+ style={[styles.heading2, styles.main, addStyle]}
22
+ numberOfLines={numberOfLines}
23
+ ellipsizeMode={ellipsizeMode}
24
+ >
25
+ {children}
26
+ </Text>
27
+ );
17
28
  };