@tactics/toddle-styleguide 5.0.2 → 5.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (961) hide show
  1. package/.prettierrc.js +9 -0
  2. package/.yarnrc.yml +2 -0
  3. package/App.d.ts +5 -0
  4. package/App.tsx +655 -0
  5. package/app.json +37 -0
  6. package/assets/adaptive-icon.png +0 -0
  7. package/assets/components/avatar/baby.png +0 -0
  8. package/assets/favicon.png +0 -0
  9. package/assets/fonts/montserrat/bold.ttf +0 -0
  10. package/assets/fonts/montserrat/regular.ttf +0 -0
  11. package/assets/fonts/source-sans-pro/bold.ttf +0 -0
  12. package/assets/fonts/source-sans-pro/regular.ttf +0 -0
  13. package/assets/icon.png +0 -0
  14. package/assets/lottie/wave-for-daycares.json +1197 -0
  15. package/assets/lottie/wave-for-parents.json +1 -0
  16. package/assets/splash.png +0 -0
  17. package/babel.config.js +20 -0
  18. package/index.d.ts +79 -0
  19. package/index.tsx +196 -0
  20. package/jest.config.js +26 -0
  21. package/metro.config.js +11 -0
  22. package/package.json +6 -16
  23. package/src/components/atoms/animated-wave/animated-wave.component.d.ts +2 -0
  24. package/src/components/atoms/animated-wave/animated-wave.component.tsx +28 -0
  25. package/src/components/atoms/animated-wave/animated-wave.preview.tsx +20 -0
  26. package/src/components/atoms/animated-wave/animated-wave.styles.d.ts +21 -0
  27. package/src/components/atoms/animated-wave/animated-wave.styles.js +25 -0
  28. package/src/components/atoms/backdrop/backdrop.component.d.ts +7 -0
  29. package/src/components/atoms/backdrop/backdrop.component.tsx +48 -0
  30. package/src/components/atoms/backdrop/backdrop.styles.d.ts +11 -0
  31. package/src/components/atoms/backdrop/backdrop.styles.js +15 -0
  32. package/src/components/atoms/background-gradient/__snapshots__/background-gradient.test.js.snap +40 -0
  33. package/src/components/atoms/background-gradient/background-gradient.component.d.ts +2 -0
  34. package/src/components/atoms/background-gradient/background-gradient.component.tsx +19 -0
  35. package/src/components/atoms/background-gradient/background-gradient.preview.d.ts +2 -0
  36. package/src/components/atoms/background-gradient/background-gradient.preview.tsx +77 -0
  37. package/src/components/atoms/background-gradient/background-gradient.styles.d.ts +8 -0
  38. package/src/components/atoms/background-gradient/background-gradient.styles.js +11 -0
  39. package/src/components/atoms/background-gradient/background-gradient.test.js +10 -0
  40. package/src/components/atoms/calendar/__snapshots__/calendar.test.js.snap +6817 -0
  41. package/src/components/atoms/calendar/calendar.component.d.ts +10 -0
  42. package/src/components/atoms/calendar/calendar.component.tsx +101 -0
  43. package/src/components/atoms/calendar/calendar.preview.d.ts +2 -0
  44. package/src/components/atoms/calendar/calendar.preview.tsx +39 -0
  45. package/src/components/atoms/calendar/calendar.styles.d.ts +81 -0
  46. package/src/components/atoms/calendar/calendar.styles.js +88 -0
  47. package/src/components/atoms/calendar/calendar.test.js +35 -0
  48. package/src/components/atoms/check-switch/__snapshots__/check-switch.test.js.snap +84 -0
  49. package/src/components/atoms/check-switch/check-switch.component.d.ts +7 -0
  50. package/src/components/atoms/check-switch/check-switch.component.tsx +48 -0
  51. package/src/components/atoms/check-switch/check-switch.preview.d.ts +2 -0
  52. package/src/components/atoms/check-switch/check-switch.preview.tsx +31 -0
  53. package/src/components/atoms/check-switch/check-switch.styles.d.ts +33 -0
  54. package/src/components/atoms/check-switch/check-switch.styles.js +36 -0
  55. package/src/components/atoms/check-switch/check-switch.test.js +13 -0
  56. package/src/components/atoms/count/count.component.d.ts +7 -0
  57. package/src/components/atoms/count/count.component.tsx +21 -0
  58. package/src/components/atoms/count/count.preview.d.ts +2 -0
  59. package/src/components/atoms/count/count.preview.tsx +16 -0
  60. package/src/components/atoms/count/count.styles.d.ts +24 -0
  61. package/src/components/atoms/count/count.styles.js +33 -0
  62. package/src/components/atoms/footer/footer.component.d.ts +6 -0
  63. package/src/components/atoms/footer/footer.component.tsx +28 -0
  64. package/src/components/atoms/footer/footer.preview.d.ts +2 -0
  65. package/src/components/atoms/footer/footer.preview.tsx +24 -0
  66. package/src/components/atoms/footer/footer.styles.d.ts +17 -0
  67. package/src/components/atoms/footer/footer.styles.js +18 -0
  68. package/src/components/atoms/heading-components/all-caps-heading/__snapshots__/all-caps-heading.test.js.snap +113 -0
  69. package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.d.ts +3 -0
  70. package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.tsx +28 -0
  71. package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.test.js +44 -0
  72. package/src/components/atoms/heading-components/heading.styles.d.ts +48 -0
  73. package/src/components/atoms/heading-components/heading.styles.js +63 -0
  74. package/src/components/atoms/heading-components/heading1/__snapshots__/heading1.test.js.snap +121 -0
  75. package/src/components/atoms/heading-components/heading1/heading1.component.d.ts +3 -0
  76. package/src/components/atoms/heading-components/heading1/heading1.component.tsx +28 -0
  77. package/src/components/atoms/heading-components/heading1/heading1.test.js +51 -0
  78. package/src/components/atoms/heading-components/heading2/__snapshots__/heading2.test.js.snap +121 -0
  79. package/src/components/atoms/heading-components/heading2/heading2.component.d.ts +3 -0
  80. package/src/components/atoms/heading-components/heading2/heading2.component.tsx +28 -0
  81. package/src/components/atoms/heading-components/heading2/heading2.test.js +51 -0
  82. package/src/components/atoms/heading-components/heading3/__snapshots__/heading3.test.js.snap +121 -0
  83. package/src/components/atoms/heading-components/heading3/heading3.component.d.ts +3 -0
  84. package/src/components/atoms/heading-components/heading3/heading3.component.tsx +28 -0
  85. package/src/components/atoms/heading-components/heading3/heading3.test.js +51 -0
  86. package/src/components/atoms/heading-components/heading4/__snapshots__/heading4.test.js.snap +121 -0
  87. package/src/components/atoms/heading-components/heading4/heading4.component.d.ts +3 -0
  88. package/src/components/atoms/heading-components/heading4/heading4.component.tsx +28 -0
  89. package/src/components/atoms/heading-components/heading4/heading4.test.js +51 -0
  90. package/src/components/atoms/heading-components/headings.preview.d.ts +2 -0
  91. package/src/components/atoms/heading-components/headings.preview.tsx +86 -0
  92. package/src/components/atoms/heading-components/index.d.ts +6 -0
  93. package/src/components/atoms/heading-components/index.tsx +7 -0
  94. package/src/components/atoms/image-bubble/__snapshots__/image-bubble.test.js.snap +67 -0
  95. package/src/components/atoms/image-bubble/image-bubble.component.d.ts +9 -0
  96. package/src/components/atoms/image-bubble/image-bubble.component.tsx +27 -0
  97. package/src/components/atoms/image-bubble/image-bubble.preview.d.ts +2 -0
  98. package/src/components/atoms/image-bubble/image-bubble.preview.tsx +19 -0
  99. package/src/components/atoms/image-bubble/image-bubble.styles.d.ts +35 -0
  100. package/src/components/atoms/image-bubble/image-bubble.styles.js +31 -0
  101. package/src/components/atoms/image-bubble/image-bubble.test.js +20 -0
  102. package/src/components/atoms/increment-input/__snapshots__/increment-input.test.js.snap +269 -0
  103. package/src/components/atoms/increment-input/increment-input.component.d.ts +8 -0
  104. package/src/components/atoms/increment-input/increment-input.component.tsx +63 -0
  105. package/src/components/atoms/increment-input/increment-input.preview.d.ts +2 -0
  106. package/src/components/atoms/increment-input/increment-input.preview.tsx +26 -0
  107. package/src/components/atoms/increment-input/increment-input.styles.d.ts +35 -0
  108. package/src/components/atoms/increment-input/increment-input.styles.js +39 -0
  109. package/src/components/atoms/increment-input/increment-input.test.js +14 -0
  110. package/src/components/atoms/line/line.component.d.ts +9 -0
  111. package/src/components/atoms/line/line.component.tsx +23 -0
  112. package/src/components/atoms/line/line.preview.d.ts +2 -0
  113. package/src/components/atoms/line/line.preview.tsx +55 -0
  114. package/src/components/atoms/line/line.styles.d.ts +12 -0
  115. package/src/components/atoms/line/line.styles.js +10 -0
  116. package/src/components/atoms/logo/__snapshots__/logo.test.js.snap +113 -0
  117. package/src/components/atoms/logo/logo.component.d.ts +7 -0
  118. package/src/components/atoms/logo/logo.component.tsx +39 -0
  119. package/src/components/atoms/logo/logo.preview.d.ts +2 -0
  120. package/src/components/atoms/logo/logo.preview.tsx +15 -0
  121. package/src/components/atoms/logo/logo.test.js +16 -0
  122. package/src/components/atoms/paragraph-components/index.d.ts +4 -0
  123. package/src/components/atoms/paragraph-components/index.tsx +5 -0
  124. package/src/components/atoms/paragraph-components/paragraph/__snapshots__/paragraph.test.js.snap +121 -0
  125. package/src/components/atoms/paragraph-components/paragraph/paragraph.component.d.ts +3 -0
  126. package/src/components/atoms/paragraph-components/paragraph/paragraph.component.tsx +28 -0
  127. package/src/components/atoms/paragraph-components/paragraph/paragraph.test.js +76 -0
  128. package/src/components/atoms/paragraph-components/paragraph-components.preview.d.ts +2 -0
  129. package/src/components/atoms/paragraph-components/paragraph-components.preview.tsx +94 -0
  130. package/src/components/atoms/paragraph-components/paragraph-text.styles.d.ts +30 -0
  131. package/src/components/atoms/paragraph-components/paragraph-text.styles.js +41 -0
  132. package/src/components/atoms/paragraph-components/small-text/__snapshots__/small-text.test.js.snap +121 -0
  133. package/src/components/atoms/paragraph-components/small-text/small-text.component.d.ts +3 -0
  134. package/src/components/atoms/paragraph-components/small-text/small-text.component.tsx +28 -0
  135. package/src/components/atoms/paragraph-components/small-text/small-text.test.js +76 -0
  136. package/src/components/atoms/paragraph-components/tiny-text/__snapshots__/tiny-text.test.js.snap +121 -0
  137. package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.d.ts +3 -0
  138. package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.tsx +28 -0
  139. package/src/components/atoms/paragraph-components/tiny-text/tiny-text.test.js +76 -0
  140. package/src/components/atoms/quick-message/__snapshots__/quick-message.test.js.snap +143 -0
  141. package/src/components/atoms/quick-message/quick-message.component.d.ts +9 -0
  142. package/src/components/atoms/quick-message/quick-message.component.tsx +35 -0
  143. package/src/components/atoms/quick-message/quick-message.preview.d.ts +2 -0
  144. package/src/components/atoms/quick-message/quick-message.preview.tsx +43 -0
  145. package/src/components/atoms/quick-message/quick-message.styles.d.ts +17 -0
  146. package/src/components/atoms/quick-message/quick-message.styles.js +20 -0
  147. package/src/components/atoms/quick-message/quick-message.test.js +58 -0
  148. package/src/components/atoms/split-container/__snapshots__/split-container.test.js.snap +333 -0
  149. package/src/components/atoms/split-container/split-container.component.d.ts +7 -0
  150. package/src/components/atoms/split-container/split-container.component.tsx +27 -0
  151. package/src/components/atoms/split-container/split-container.preview.d.ts +2 -0
  152. package/src/components/atoms/split-container/split-container.preview.tsx +62 -0
  153. package/src/components/atoms/split-container/split-container.styles.d.ts +14 -0
  154. package/src/components/atoms/split-container/split-container.styles.js +19 -0
  155. package/src/components/atoms/split-container/split-container.test.js +45 -0
  156. package/src/components/atoms/static-wave/static-wave.component.d.ts +9 -0
  157. package/src/components/atoms/static-wave/static-wave.component.tsx +46 -0
  158. package/src/components/atoms/static-wave/static-wave.styles.d.ts +14 -0
  159. package/src/components/atoms/static-wave/static-wave.styles.js +14 -0
  160. package/src/components/atoms/text-input/__snapshots__/text-input.test.js.snap +123 -0
  161. package/src/components/atoms/text-input/text-input.component.d.ts +9 -0
  162. package/src/components/atoms/text-input/text-input.component.tsx +30 -0
  163. package/src/components/atoms/text-input/text-input.preview.d.ts +2 -0
  164. package/src/components/atoms/text-input/text-input.preview.tsx +41 -0
  165. package/src/components/atoms/text-input/text-input.styles.d.ts +33 -0
  166. package/src/components/atoms/text-input/text-input.styles.js +29 -0
  167. package/src/components/atoms/text-input/text-input.test.js +59 -0
  168. package/src/components/molecules/amount/amount.component.d.ts +12 -0
  169. package/src/components/molecules/amount/amount.component.tsx +148 -0
  170. package/src/components/molecules/amount/amount.preview.d.ts +2 -0
  171. package/src/components/molecules/amount/amount.preview.tsx +77 -0
  172. package/src/components/molecules/amount/amount.styles.d.ts +36 -0
  173. package/src/components/molecules/amount/amount.styles.js +40 -0
  174. package/src/components/molecules/avatar/__snapshots__/avatar.test.js.snap +97 -0
  175. package/src/components/molecules/avatar/avatar.component.d.ts +15 -0
  176. package/src/components/molecules/avatar/avatar.component.tsx +118 -0
  177. package/src/components/molecules/avatar/avatar.preview.d.ts +2 -0
  178. package/src/components/molecules/avatar/avatar.preview.tsx +82 -0
  179. package/src/components/molecules/avatar/avatar.styles.d.ts +102 -0
  180. package/src/components/molecules/avatar/avatar.styles.js +90 -0
  181. package/src/components/molecules/avatar/avatar.test.js +22 -0
  182. package/src/components/molecules/bare-time-picker/bare-time-picker.component.d.ts +9 -0
  183. package/src/components/molecules/bare-time-picker/bare-time-picker.component.native.tsx +78 -0
  184. package/src/components/molecules/bare-time-picker/bare-time-picker.component.tsx +52 -0
  185. package/src/components/molecules/bare-time-picker/bare-time-picker.preview.d.ts +2 -0
  186. package/src/components/molecules/bare-time-picker/bare-time-picker.preview.tsx +86 -0
  187. package/src/components/molecules/bare-time-picker/bare-time-picker.styles.d.ts +14 -0
  188. package/src/components/molecules/bare-time-picker/bare-time-picker.styles.js +18 -0
  189. package/src/components/molecules/blocked-message/__snapshots__/blocked-message.test.js.snap +107 -0
  190. package/src/components/molecules/blocked-message/blocked-message.component.d.ts +6 -0
  191. package/src/components/molecules/blocked-message/blocked-message.component.tsx +35 -0
  192. package/src/components/molecules/blocked-message/blocked-message.preview.d.ts +2 -0
  193. package/src/components/molecules/blocked-message/blocked-message.preview.tsx +23 -0
  194. package/src/components/molecules/blocked-message/blocked-message.styles.d.ts +22 -0
  195. package/src/components/molecules/blocked-message/blocked-message.styles.js +21 -0
  196. package/src/components/molecules/blocked-message/blocked-message.test.js +12 -0
  197. package/src/components/molecules/button/__snapshots__/button.test.js.snap +652 -0
  198. package/src/components/molecules/button/button.component.d.ts +15 -0
  199. package/src/components/molecules/button/button.component.tsx +77 -0
  200. package/src/components/molecules/button/button.preview.d.ts +2 -0
  201. package/src/components/molecules/button/button.preview.tsx +57 -0
  202. package/src/components/molecules/button/button.styles.d.ts +18 -0
  203. package/src/components/molecules/button/button.styles.js +18 -0
  204. package/src/components/molecules/button/button.test.js +56 -0
  205. package/src/components/molecules/calendar-select/__snapshots__/calendar-select.test.js.snap +343 -0
  206. package/src/components/molecules/calendar-select/calendar-select.component.d.ts +10 -0
  207. package/src/components/molecules/calendar-select/calendar-select.component.tsx +98 -0
  208. package/src/components/molecules/calendar-select/calendar-select.preview.d.ts +2 -0
  209. package/src/components/molecules/calendar-select/calendar-select.preview.tsx +20 -0
  210. package/src/components/molecules/calendar-select/calendar-select.styles.d.ts +33 -0
  211. package/src/components/molecules/calendar-select/calendar-select.styles.js +37 -0
  212. package/src/components/molecules/calendar-select/calendar-select.test.js +20 -0
  213. package/src/components/molecules/cancel-link/__snapshots__/cancel-link.test.js.snap +139 -0
  214. package/src/components/molecules/cancel-link/cancel-link.component.d.ts +7 -0
  215. package/src/components/molecules/cancel-link/cancel-link.component.tsx +27 -0
  216. package/src/components/molecules/cancel-link/cancel-link.preview.d.ts +2 -0
  217. package/src/components/molecules/cancel-link/cancel-link.preview.tsx +20 -0
  218. package/src/components/molecules/cancel-link/cancel-link.styles.d.ts +11 -0
  219. package/src/components/molecules/cancel-link/cancel-link.styles.js +15 -0
  220. package/src/components/molecules/cancel-link/cancel-link.test.js +28 -0
  221. package/src/components/molecules/checkbox/__snapshots__/checkbox.test.js.snap +176 -0
  222. package/src/components/molecules/checkbox/checkbox.component.d.ts +8 -0
  223. package/src/components/molecules/checkbox/checkbox.component.tsx +31 -0
  224. package/src/components/molecules/checkbox/checkbox.preview.d.ts +2 -0
  225. package/src/components/molecules/checkbox/checkbox.preview.tsx +46 -0
  226. package/src/components/molecules/checkbox/checkbox.styles.d.ts +32 -0
  227. package/src/components/molecules/checkbox/checkbox.styles.js +30 -0
  228. package/src/components/molecules/checkbox/checkbox.test.js +30 -0
  229. package/src/components/molecules/contact-role/__snapshots__/contact-role.test.js.snap +113 -0
  230. package/src/components/molecules/contact-role/contact-role.component.d.ts +8 -0
  231. package/src/components/molecules/contact-role/contact-role.component.tsx +37 -0
  232. package/src/components/molecules/contact-role/contact-role.preview.d.ts +2 -0
  233. package/src/components/molecules/contact-role/contact-role.preview.tsx +17 -0
  234. package/src/components/molecules/contact-role/contact-role.styles.d.ts +16 -0
  235. package/src/components/molecules/contact-role/contact-role.styles.js +20 -0
  236. package/src/components/molecules/contact-role/contact-role.test.js +18 -0
  237. package/src/components/molecules/context-label/context-label.component.d.ts +7 -0
  238. package/src/components/molecules/context-label/context-label.component.tsx +37 -0
  239. package/src/components/molecules/context-label/context-label.preview.d.ts +2 -0
  240. package/src/components/molecules/context-label/context-label.preview.tsx +70 -0
  241. package/src/components/molecules/context-label/context-label.styles.d.ts +18 -0
  242. package/src/components/molecules/context-label/context-label.styles.js +21 -0
  243. package/src/components/molecules/date-input/__snapshots__/date-input.test.js.snap +140 -0
  244. package/src/components/molecules/date-input/date-input.component.d.ts +8 -0
  245. package/src/components/molecules/date-input/date-input.component.tsx +32 -0
  246. package/src/components/molecules/date-input/date-input.preview.d.ts +2 -0
  247. package/src/components/molecules/date-input/date-input.preview.tsx +62 -0
  248. package/src/components/molecules/date-input/date-input.styles.d.ts +18 -0
  249. package/src/components/molecules/date-input/date-input.styles.js +22 -0
  250. package/src/components/molecules/date-input/date-input.test.js +23 -0
  251. package/src/components/molecules/day/__snapshots__/day.test.js.snap +263 -0
  252. package/src/components/molecules/day/day.component.d.ts +13 -0
  253. package/src/components/molecules/day/day.component.tsx +69 -0
  254. package/src/components/molecules/day/day.styles.d.ts +35 -0
  255. package/src/components/molecules/day/day.styles.js +27 -0
  256. package/src/components/molecules/day/day.test.js +37 -0
  257. package/src/components/molecules/default-select/__snapshots__/default-select.test.js.snap +140 -0
  258. package/src/components/molecules/default-select/default-select.component.d.ts +7 -0
  259. package/src/components/molecules/default-select/default-select.component.tsx +42 -0
  260. package/src/components/molecules/default-select/default-select.preview.d.ts +2 -0
  261. package/src/components/molecules/default-select/default-select.preview.tsx +34 -0
  262. package/src/components/molecules/default-select/default-select.styles.d.ts +13 -0
  263. package/src/components/molecules/default-select/default-select.styles.js +17 -0
  264. package/src/components/molecules/default-select/default-select.test.js +17 -0
  265. package/src/components/molecules/department_logo/__snapshots__/department-logo.test.js.snap +27 -0
  266. package/src/components/molecules/department_logo/department-logo.component.d.ts +6 -0
  267. package/src/components/molecules/department_logo/department-logo.component.tsx +21 -0
  268. package/src/components/molecules/department_logo/department-logo.preview.d.ts +2 -0
  269. package/src/components/molecules/department_logo/department-logo.preview.tsx +11 -0
  270. package/src/components/molecules/department_logo/department-logo.styles.d.ts +5 -0
  271. package/src/components/molecules/department_logo/department-logo.styles.js +9 -0
  272. package/src/components/molecules/department_logo/department-logo.test.js +12 -0
  273. package/src/components/molecules/failed-to-send/__snapshots__/failed-bubble.test.js.snap +386 -0
  274. package/src/components/molecules/failed-to-send/failed-bubble.component.d.ts +9 -0
  275. package/src/components/molecules/failed-to-send/failed-bubble.component.tsx +101 -0
  276. package/src/components/molecules/failed-to-send/failed-bubble.styles.d.ts +38 -0
  277. package/src/components/molecules/failed-to-send/failed-bubble.styles.js +42 -0
  278. package/src/components/molecules/failed-to-send/failed-bubble.test.js +75 -0
  279. package/src/components/molecules/filter-range/__snapshots__/filter-range.test.js.snap +208 -0
  280. package/src/components/molecules/filter-range/filter-range.component.d.ts +11 -0
  281. package/src/components/molecules/filter-range/filter-range.component.tsx +72 -0
  282. package/src/components/molecules/filter-range/filter-range.preview.d.ts +2 -0
  283. package/src/components/molecules/filter-range/filter-range.preview.tsx +26 -0
  284. package/src/components/molecules/filter-range/filter-range.styles.d.ts +22 -0
  285. package/src/components/molecules/filter-range/filter-range.styles.js +26 -0
  286. package/src/components/molecules/filter-range/filter-range.test.js +20 -0
  287. package/src/components/molecules/filter-tab/__snapshots__/filter-tab.test.js.snap +536 -0
  288. package/src/components/molecules/filter-tab/filter-tab.component.d.ts +11 -0
  289. package/src/components/molecules/filter-tab/filter-tab.component.tsx +108 -0
  290. package/src/components/molecules/filter-tab/filter-tab.preview.d.ts +2 -0
  291. package/src/components/molecules/filter-tab/filter-tab.preview.tsx +80 -0
  292. package/src/components/molecules/filter-tab/filter-tab.styles.d.ts +59 -0
  293. package/src/components/molecules/filter-tab/filter-tab.styles.js +58 -0
  294. package/src/components/molecules/filter-tab/filter-tab.test.js +42 -0
  295. package/src/components/molecules/info/__snapshots__/info.test.js.snap +64 -0
  296. package/src/components/molecules/info/info.component.d.ts +8 -0
  297. package/src/components/molecules/info/info.component.tsx +39 -0
  298. package/src/components/molecules/info/info.preview.d.ts +2 -0
  299. package/src/components/molecules/info/info.preview.tsx +28 -0
  300. package/src/components/molecules/info/info.styles.d.ts +16 -0
  301. package/src/components/molecules/info/info.styles.js +20 -0
  302. package/src/components/molecules/info/info.test.js +18 -0
  303. package/src/components/molecules/inline-error/inline-error.component.d.ts +6 -0
  304. package/src/components/molecules/inline-error/inline-error.component.tsx +34 -0
  305. package/src/components/molecules/inline-error/inline-error.preview.d.ts +2 -0
  306. package/src/components/molecules/inline-error/inline-error.preview.tsx +22 -0
  307. package/src/components/molecules/inline-error/inline-error.styles.d.ts +18 -0
  308. package/src/components/molecules/inline-error/inline-error.styles.js +22 -0
  309. package/src/components/molecules/inline-notice/inline-notice.component.d.ts +6 -0
  310. package/src/components/molecules/inline-notice/inline-notice.component.tsx +31 -0
  311. package/src/components/molecules/inline-notice/inline-notice.preview.tsx +22 -0
  312. package/src/components/molecules/inline-notice/inline-notice.styles.d.ts +18 -0
  313. package/src/components/molecules/inline-notice/inline-notice.styles.js +22 -0
  314. package/src/components/molecules/language-button/__snapshots__/language-button.test.js.snap +129 -0
  315. package/src/components/molecules/language-button/language-button.component.d.ts +8 -0
  316. package/src/components/molecules/language-button/language-button.component.tsx +33 -0
  317. package/src/components/molecules/language-button/language-button.preview.d.ts +2 -0
  318. package/src/components/molecules/language-button/language-button.preview.tsx +29 -0
  319. package/src/components/molecules/language-button/language-button.styles.d.ts +8 -0
  320. package/src/components/molecules/language-button/language-button.styles.js +12 -0
  321. package/src/components/molecules/language-button/language-button.test.js +29 -0
  322. package/src/components/molecules/message-input/__snapshots__/message-input.test.js.snap +611 -0
  323. package/src/components/molecules/message-input/message-input.component.d.ts +9 -0
  324. package/src/components/molecules/message-input/message-input.component.tsx +54 -0
  325. package/src/components/molecules/message-input/message-input.preview.d.ts +2 -0
  326. package/src/components/molecules/message-input/message-input.preview.tsx +54 -0
  327. package/src/components/molecules/message-input/message-input.styles.d.ts +33 -0
  328. package/src/components/molecules/message-input/message-input.styles.js +37 -0
  329. package/src/components/molecules/message-input/message-input.test.js +63 -0
  330. package/src/components/molecules/more-info-button/__snapshots__/more-info-button.test.js.snap +133 -0
  331. package/src/components/molecules/more-info-button/more-info-button.component.d.ts +8 -0
  332. package/src/components/molecules/more-info-button/more-info-button.component.tsx +33 -0
  333. package/src/components/molecules/more-info-button/more-info-button.preview.d.ts +2 -0
  334. package/src/components/molecules/more-info-button/more-info-button.preview.tsx +29 -0
  335. package/src/components/molecules/more-info-button/more-info-button.styles.d.ts +10 -0
  336. package/src/components/molecules/more-info-button/more-info-button.styles.js +15 -0
  337. package/src/components/molecules/more-info-button/more-info-button.test.js +29 -0
  338. package/src/components/molecules/password-input/__snapshots__/password-input.test.js.snap +504 -0
  339. package/src/components/molecules/password-input/password-input.component.d.ts +8 -0
  340. package/src/components/molecules/password-input/password-input.component.tsx +55 -0
  341. package/src/components/molecules/password-input/password-input.preview.d.ts +2 -0
  342. package/src/components/molecules/password-input/password-input.preview.tsx +59 -0
  343. package/src/components/molecules/password-input/password-input.styles.d.ts +29 -0
  344. package/src/components/molecules/password-input/password-input.styles.js +33 -0
  345. package/src/components/molecules/password-input/password-input.test.js +46 -0
  346. package/src/components/molecules/pill/__snapshots__/pill.test.js.snap +226 -0
  347. package/src/components/molecules/pill/pill.component.d.ts +8 -0
  348. package/src/components/molecules/pill/pill.component.tsx +33 -0
  349. package/src/components/molecules/pill/pill.preview.d.ts +2 -0
  350. package/src/components/molecules/pill/pill.preview.tsx +23 -0
  351. package/src/components/molecules/pill/pill.styles.d.ts +32 -0
  352. package/src/components/molecules/pill/pill.styles.js +33 -0
  353. package/src/components/molecules/pill/pill.test.js +42 -0
  354. package/src/components/molecules/pressable-icon/__snapshots__/pressable-icon.test.js.snap +460 -0
  355. package/src/components/molecules/pressable-icon/pressable-icon.component.d.ts +9 -0
  356. package/src/components/molecules/pressable-icon/pressable-icon.component.tsx +50 -0
  357. package/src/components/molecules/pressable-icon/pressable-icon.preview.d.ts +2 -0
  358. package/src/components/molecules/pressable-icon/pressable-icon.preview.tsx +37 -0
  359. package/src/components/molecules/pressable-icon/pressable-icon.styles.d.ts +20 -0
  360. package/src/components/molecules/pressable-icon/pressable-icon.styles.js +25 -0
  361. package/src/components/molecules/pressable-icon/pressable-icon.test.js +51 -0
  362. package/src/components/molecules/quick-filter/__snapshots__/quick-filter.test.js.snap +557 -0
  363. package/src/components/molecules/quick-filter/quick-filter.component.d.ts +12 -0
  364. package/src/components/molecules/quick-filter/quick-filter.component.tsx +50 -0
  365. package/src/components/molecules/quick-filter/quick-filter.preview.d.ts +2 -0
  366. package/src/components/molecules/quick-filter/quick-filter.preview.tsx +57 -0
  367. package/src/components/molecules/quick-filter/quick-filter.styles.d.ts +35 -0
  368. package/src/components/molecules/quick-filter/quick-filter.styles.js +49 -0
  369. package/src/components/molecules/quick-filter/quick-filter.test.js +134 -0
  370. package/src/components/molecules/search-input/__snapshots__/search.test.js.snap +145 -0
  371. package/src/components/molecules/search-input/search.component.d.ts +10 -0
  372. package/src/components/molecules/search-input/search.component.tsx +50 -0
  373. package/src/components/molecules/search-input/search.preview.d.ts +2 -0
  374. package/src/components/molecules/search-input/search.preview.tsx +26 -0
  375. package/src/components/molecules/search-input/search.styles.d.ts +33 -0
  376. package/src/components/molecules/search-input/search.styles.js +38 -0
  377. package/src/components/molecules/search-input/search.test.js +22 -0
  378. package/src/components/molecules/select-link/__snapshots__/select-link.test.js.snap +70 -0
  379. package/src/components/molecules/select-link/select-link.component.d.ts +7 -0
  380. package/src/components/molecules/select-link/select-link.component.tsx +29 -0
  381. package/src/components/molecules/select-link/select-link.preview.d.ts +2 -0
  382. package/src/components/molecules/select-link/select-link.preview.tsx +20 -0
  383. package/src/components/molecules/select-link/select-link.styles.d.ts +11 -0
  384. package/src/components/molecules/select-link/select-link.styles.js +15 -0
  385. package/src/components/molecules/select-link/select-link.test.js +17 -0
  386. package/src/components/molecules/select-list-item/__snapshots__/select-list-item.test.js.snap +762 -0
  387. package/src/components/molecules/select-list-item/select-list-item-preview.d.ts +2 -0
  388. package/src/components/molecules/select-list-item/select-list-item-preview.tsx +40 -0
  389. package/src/components/molecules/select-list-item/select-list-item.component.d.ts +12 -0
  390. package/src/components/molecules/select-list-item/select-list-item.component.tsx +82 -0
  391. package/src/components/molecules/select-list-item/select-list-item.styles.d.ts +41 -0
  392. package/src/components/molecules/select-list-item/select-list-item.styles.js +43 -0
  393. package/src/components/molecules/select-list-item/select-list-item.test.js +38 -0
  394. package/src/components/molecules/select-picker/__snapshots__/select-picker.test.js.snap +407 -0
  395. package/src/components/molecules/select-picker/select-picker.component.d.ts +12 -0
  396. package/src/components/molecules/select-picker/select-picker.component.tsx +75 -0
  397. package/src/components/molecules/select-picker/select-picker.preview.d.ts +2 -0
  398. package/src/components/molecules/select-picker/select-picker.preview.tsx +63 -0
  399. package/src/components/molecules/select-picker/select-picker.styles.d.ts +32 -0
  400. package/src/components/molecules/select-picker/select-picker.styles.js +38 -0
  401. package/src/components/molecules/select-picker/select-picker.test.js +31 -0
  402. package/src/components/molecules/selectable-list-item/selectable-list-item-preview.d.ts +2 -0
  403. package/src/components/molecules/selectable-list-item/selectable-list-item-preview.tsx +51 -0
  404. package/src/components/molecules/selectable-list-item/selectable-list-item.component.d.ts +11 -0
  405. package/src/components/molecules/selectable-list-item/selectable-list-item.component.tsx +73 -0
  406. package/src/components/molecules/selectable-list-item/selectable-list-item.styles.d.ts +32 -0
  407. package/src/components/molecules/selectable-list-item/selectable-list-item.styles.js +34 -0
  408. package/src/components/molecules/send-bubble/__snapshots__/send-text-bubble.test.js.snap +1979 -0
  409. package/src/components/molecules/send-bubble/send-text-bubble.component.d.ts +11 -0
  410. package/src/components/molecules/send-bubble/send-text-bubble.component.tsx +104 -0
  411. package/src/components/molecules/send-bubble/send-text-bubble.styles.d.ts +60 -0
  412. package/src/components/molecules/send-bubble/send-text-bubble.styles.js +50 -0
  413. package/src/components/molecules/send-bubble/send-text-bubble.test.js +156 -0
  414. package/src/components/molecules/snackbar/__snapshots__/snackbar.test.js.snap +557 -0
  415. package/src/components/molecules/snackbar/snackbar.component.d.ts +8 -0
  416. package/src/components/molecules/snackbar/snackbar.component.tsx +65 -0
  417. package/src/components/molecules/snackbar/snackbar.preview.d.ts +2 -0
  418. package/src/components/molecules/snackbar/snackbar.preview.tsx +40 -0
  419. package/src/components/molecules/snackbar/snackbar.styles.d.ts +57 -0
  420. package/src/components/molecules/snackbar/snackbar.styles.js +54 -0
  421. package/src/components/molecules/snackbar/snackbar.test.js +35 -0
  422. package/src/components/molecules/swipe/__snapshots__/swipe.test.js.snap +340 -0
  423. package/src/components/molecules/swipe/swipe.component.d.ts +7 -0
  424. package/src/components/molecules/swipe/swipe.component.native.tsx +78 -0
  425. package/src/components/molecules/swipe/swipe.component.tsx +20 -0
  426. package/src/components/molecules/swipe/swipe.preview.d.ts +2 -0
  427. package/src/components/molecules/swipe/swipe.preview.tsx +123 -0
  428. package/src/components/molecules/swipe/swipe.styles.d.ts +28 -0
  429. package/src/components/molecules/swipe/swipe.styles.js +32 -0
  430. package/src/components/molecules/swipe/swipe.test.js +46 -0
  431. package/src/components/molecules/swipeable/swipeable-action.component.d.ts +10 -0
  432. package/src/components/molecules/swipeable/swipeable-action.component.tsx +57 -0
  433. package/src/components/molecules/swipeable/swipeable-action.styles.d.ts +12 -0
  434. package/src/components/molecules/swipeable/swipeable-action.styles.js +20 -0
  435. package/src/components/molecules/swipeable/swipeable-container.component.d.ts +14 -0
  436. package/src/components/molecules/swipeable/swipeable-container.component.tsx +69 -0
  437. package/src/components/molecules/swipeable/swipeable-container.styles.d.ts +9 -0
  438. package/src/components/molecules/swipeable/swipeable-container.styles.js +14 -0
  439. package/src/components/molecules/tag/__snapshots__/tag.test.js.snap +139 -0
  440. package/src/components/molecules/tag/tag.component.d.ts +9 -0
  441. package/src/components/molecules/tag/tag.component.tsx +39 -0
  442. package/src/components/molecules/tag/tag.preview.d.ts +2 -0
  443. package/src/components/molecules/tag/tag.preview.tsx +85 -0
  444. package/src/components/molecules/tag/tag.styles.d.ts +19 -0
  445. package/src/components/molecules/tag/tag.styles.js +19 -0
  446. package/src/components/molecules/tag/tag.test.js +34 -0
  447. package/src/components/molecules/time-picker/__snapshots__/time-picker.test.js.snap +2221 -0
  448. package/src/components/molecules/time-picker/time-picker.component.d.ts +9 -0
  449. package/src/components/molecules/time-picker/time-picker.component.tsx +98 -0
  450. package/src/components/molecules/time-picker/time-picker.preview.d.ts +2 -0
  451. package/src/components/molecules/time-picker/time-picker.preview.tsx +109 -0
  452. package/src/components/molecules/time-picker/time-picker.styles.d.ts +27 -0
  453. package/src/components/molecules/time-picker/time-picker.styles.js +31 -0
  454. package/src/components/molecules/time-picker/time-picker.test.js +18 -0
  455. package/src/components/molecules/time-tracker/__snapshots__/time-tracker.test.js.snap +266 -0
  456. package/src/components/molecules/time-tracker/time-tracker.component.d.ts +9 -0
  457. package/src/components/molecules/time-tracker/time-tracker.component.tsx +30 -0
  458. package/src/components/molecules/time-tracker/time-tracker.preview.d.ts +2 -0
  459. package/src/components/molecules/time-tracker/time-tracker.preview.tsx +15 -0
  460. package/src/components/molecules/time-tracker/time-tracker.styles.d.ts +33 -0
  461. package/src/components/molecules/time-tracker/time-tracker.styles.js +32 -0
  462. package/src/components/molecules/time-tracker/time-tracker.test.js +36 -0
  463. package/src/components/molecules/timeline/__snapshots__/timeline.test.js.snap +257 -0
  464. package/src/components/molecules/timeline/timeline.component.d.ts +7 -0
  465. package/src/components/molecules/timeline/timeline.component.tsx +69 -0
  466. package/src/components/molecules/timeline/timeline.preview.d.ts +2 -0
  467. package/src/components/molecules/timeline/timeline.preview.tsx +32 -0
  468. package/src/components/molecules/timeline/timeline.styles.d.ts +61 -0
  469. package/src/components/molecules/timeline/timeline.styles.js +46 -0
  470. package/src/components/molecules/timeline/timeline.test.js +18 -0
  471. package/src/components/molecules/timestamp/__snapshots__/timestamp.test.js.snap +28 -0
  472. package/src/components/molecules/timestamp/timestamp.component.d.ts +8 -0
  473. package/src/components/molecules/timestamp/timestamp.component.tsx +30 -0
  474. package/src/components/molecules/timestamp/timestamp.styles.d.ts +5 -0
  475. package/src/components/molecules/timestamp/timestamp.styles.js +8 -0
  476. package/src/components/molecules/timestamp/timestamp.test.js +16 -0
  477. package/src/components/molecules/wave-background/__snapshots__/wave.test.js.snap +173 -0
  478. package/src/components/molecules/wave-background/wave.component.d.ts +3 -0
  479. package/src/components/molecules/wave-background/wave.component.tsx +35 -0
  480. package/src/components/molecules/wave-background/wave.preview.d.ts +2 -0
  481. package/src/components/molecules/wave-background/wave.preview.tsx +78 -0
  482. package/src/components/molecules/wave-background/wave.styles.d.ts +13 -0
  483. package/src/components/molecules/wave-background/wave.styles.js +13 -0
  484. package/src/components/molecules/wave-background/wave.test.js +25 -0
  485. package/src/components/molecules/wide-button/__snapshots__/wide-button.test.js.snap +269 -0
  486. package/src/components/molecules/wide-button/wide-button.component.d.ts +9 -0
  487. package/src/components/molecules/wide-button/wide-button.component.tsx +39 -0
  488. package/src/components/molecules/wide-button/wide-button.preview.d.ts +2 -0
  489. package/src/components/molecules/wide-button/wide-button.preview.tsx +28 -0
  490. package/src/components/molecules/wide-button/wide-button.styles.d.ts +15 -0
  491. package/src/components/molecules/wide-button/wide-button.styles.js +19 -0
  492. package/src/components/molecules/wide-button/wide-button.test.js +30 -0
  493. package/src/components/organisms/child-list-item/__snapshots__/child-list-item.test.js.snap +1040 -0
  494. package/src/components/organisms/child-list-item/child-list-item.component.d.ts +23 -0
  495. package/src/components/organisms/child-list-item/child-list-item.component.tsx +166 -0
  496. package/src/components/organisms/child-list-item/child-list-item.preview.d.ts +2 -0
  497. package/src/components/organisms/child-list-item/child-list-item.preview.tsx +141 -0
  498. package/src/components/organisms/child-list-item/child-list-item.styles.d.ts +57 -0
  499. package/src/components/organisms/child-list-item/child-list-item.styles.js +61 -0
  500. package/src/components/organisms/child-list-item/child-list-item.test.js +75 -0
  501. package/src/components/organisms/child-list-item/components/child-list-tag.component.d.ts +7 -0
  502. package/src/components/organisms/child-list-item/components/child-list-tag.component.tsx +28 -0
  503. package/src/components/organisms/child-list-item/components/child-list-tag.styles.d.ts +13 -0
  504. package/src/components/organisms/child-list-item/components/child-list-tag.styles.js +16 -0
  505. package/src/components/organisms/contact-item/__snapshots__/contact-item.test.js.snap +404 -0
  506. package/src/components/organisms/contact-item/contact-item.component.d.ts +10 -0
  507. package/src/components/organisms/contact-item/contact-item.component.tsx +85 -0
  508. package/src/components/organisms/contact-item/contact-item.preview.d.ts +2 -0
  509. package/src/components/organisms/contact-item/contact-item.preview.tsx +38 -0
  510. package/src/components/organisms/contact-item/contact-item.styles.d.ts +22 -0
  511. package/src/components/organisms/contact-item/contact-item.styles.js +27 -0
  512. package/src/components/organisms/contact-item/contact-item.test.js +22 -0
  513. package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.component.d.ts +7 -0
  514. package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.component.tsx +96 -0
  515. package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.styles.d.ts +13 -0
  516. package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.styles.js +17 -0
  517. package/src/components/organisms/journal-entry/components/index.d.ts +2 -0
  518. package/src/components/organisms/journal-entry/components/index.ts +2 -0
  519. package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.d.ts +11 -0
  520. package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.tsx +63 -0
  521. package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.styles.d.ts +13 -0
  522. package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.styles.js +16 -0
  523. package/src/components/organisms/journal-entry/journal-entry.component.d.ts +20 -0
  524. package/src/components/organisms/journal-entry/journal-entry.component.tsx +134 -0
  525. package/src/components/organisms/journal-entry/journal-entry.preview.d.ts +2 -0
  526. package/src/components/organisms/journal-entry/journal-entry.preview.tsx +214 -0
  527. package/src/components/organisms/journal-entry/journal-entry.styles.d.ts +26 -0
  528. package/src/components/organisms/journal-entry/journal-entry.styles.js +27 -0
  529. package/src/components/organisms/loading-indicator/__snapshots__/loading-indicator.test.js.snap +474 -0
  530. package/src/components/organisms/loading-indicator/animation-style.animate.d.ts +3 -0
  531. package/src/components/organisms/loading-indicator/animation-style.animate.ts +164 -0
  532. package/src/components/organisms/loading-indicator/container.component.d.ts +1 -0
  533. package/src/components/organisms/loading-indicator/container.component.tsx +65 -0
  534. package/src/components/organisms/loading-indicator/dot.component.d.ts +6 -0
  535. package/src/components/organisms/loading-indicator/dot.component.tsx +27 -0
  536. package/src/components/organisms/loading-indicator/loading-indicator.component.d.ts +2 -0
  537. package/src/components/organisms/loading-indicator/loading-indicator.component.tsx +21 -0
  538. package/src/components/organisms/loading-indicator/loading-indicator.preview.d.ts +2 -0
  539. package/src/components/organisms/loading-indicator/loading-indicator.preview.tsx +100 -0
  540. package/src/components/organisms/loading-indicator/loading-indicator.test.js +41 -0
  541. package/src/components/organisms/my-child-list-item/__snapshots__/my-child-list-item.test.js.snap +293 -0
  542. package/src/components/organisms/my-child-list-item/my-child-list-item.component.d.ts +13 -0
  543. package/src/components/organisms/my-child-list-item/my-child-list-item.component.tsx +61 -0
  544. package/src/components/organisms/my-child-list-item/my-child-list-item.preview.d.ts +2 -0
  545. package/src/components/organisms/my-child-list-item/my-child-list-item.preview.tsx +51 -0
  546. package/src/components/organisms/my-child-list-item/my-child-list-item.styles.d.ts +33 -0
  547. package/src/components/organisms/my-child-list-item/my-child-list-item.styles.js +37 -0
  548. package/src/components/organisms/my-child-list-item/my-child-list-item.test.js +23 -0
  549. package/src/components/organisms/person-info-card/__snapshots__/person-info-card.test.js.snap +709 -0
  550. package/src/components/organisms/person-info-card/person-info-card.component.d.ts +15 -0
  551. package/src/components/organisms/person-info-card/person-info-card.component.tsx +45 -0
  552. package/src/components/organisms/person-info-card/person-info-card.preview.d.ts +2 -0
  553. package/src/components/organisms/person-info-card/person-info-card.preview.tsx +75 -0
  554. package/src/components/organisms/person-info-card/person-info-card.styles.d.ts +6 -0
  555. package/src/components/organisms/person-info-card/person-info-card.styles.js +10 -0
  556. package/src/components/organisms/person-info-card/person-info-card.test.js +85 -0
  557. package/src/components/organisms/text-bubble/__snapshots__/text-bubble.test.js.snap +3046 -0
  558. package/src/components/organisms/text-bubble/text-bubble.component.d.ts +15 -0
  559. package/src/components/organisms/text-bubble/text-bubble.component.tsx +71 -0
  560. package/src/components/organisms/text-bubble/text-bubble.preview.d.ts +2 -0
  561. package/src/components/organisms/text-bubble/text-bubble.preview.tsx +85 -0
  562. package/src/components/organisms/text-bubble/text-bubble.styles.d.ts +16 -0
  563. package/src/components/organisms/text-bubble/text-bubble.styles.js +20 -0
  564. package/src/components/organisms/text-bubble/text-bubble.test.js +144 -0
  565. package/src/components/organisms/timetable-edit/timetable-edit.component.d.ts +17 -0
  566. package/src/components/organisms/timetable-edit/timetable-edit.component.tsx +97 -0
  567. package/src/components/organisms/timetable-edit/timetable-edit.preview.d.ts +2 -0
  568. package/src/components/organisms/timetable-edit/timetable-edit.preview.tsx +84 -0
  569. package/src/components/organisms/timetable-edit/timetable-edit.styles.d.ts +21 -0
  570. package/src/components/organisms/timetable-edit/timetable-edit.styles.js +25 -0
  571. package/src/components/organisms/timetable-editor/components/timetable-edit-wrapper.d.ts +12 -0
  572. package/src/components/organisms/timetable-editor/components/timetable-edit-wrapper.tsx +70 -0
  573. package/src/components/organisms/timetable-editor/timetable-editor-staff.component.d.ts +8 -0
  574. package/src/components/organisms/timetable-editor/timetable-editor-staff.component.tsx +72 -0
  575. package/src/components/organisms/timetable-editor/timetable-editor.component.d.ts +8 -0
  576. package/src/components/organisms/timetable-editor/timetable-editor.component.tsx +84 -0
  577. package/src/components/organisms/timetable-editor/timetable-editor.preview.d.ts +2 -0
  578. package/src/components/organisms/timetable-editor/timetable-editor.preview.tsx +53 -0
  579. package/src/components/organisms/timetable-editor/timetable-editor.styles.d.ts +8 -0
  580. package/src/components/organisms/timetable-editor/timetable-editor.styles.js +12 -0
  581. package/src/components/templates/modal/components/fade-panel.component.d.ts +11 -0
  582. package/src/components/templates/modal/components/fade-panel.component.tsx +53 -0
  583. package/src/components/templates/modal/components/fade-panel.styles.d.ts +18 -0
  584. package/src/components/templates/modal/components/fade-panel.styles.js +19 -0
  585. package/src/components/templates/modal/modal-preview.styles.d.ts +13 -0
  586. package/src/components/templates/modal/modal-preview.styles.js +17 -0
  587. package/src/components/templates/modal/modal.component.d.ts +10 -0
  588. package/src/components/templates/modal/modal.component.tsx +53 -0
  589. package/src/components/templates/modal/modal.preview.d.ts +2 -0
  590. package/src/components/templates/modal/modal.preview.tsx +48 -0
  591. package/src/components/templates/modal/modal.styles.d.ts +23 -0
  592. package/src/components/templates/modal/modal.styles.js +28 -0
  593. package/src/components/templates/popover/components/foreground/foreground.component.d.ts +7 -0
  594. package/src/components/templates/popover/components/foreground/foreground.component.tsx +15 -0
  595. package/src/components/templates/popover/components/foreground/foreground.styles.d.ts +12 -0
  596. package/src/components/templates/popover/components/foreground/foreground.styles.js +17 -0
  597. package/src/components/templates/popover/components/index.d.ts +4 -0
  598. package/src/components/templates/popover/components/index.js +5 -0
  599. package/src/components/templates/popover/components/modal/close/close.component.d.ts +7 -0
  600. package/src/components/templates/popover/components/modal/close/close.component.tsx +28 -0
  601. package/src/components/templates/popover/components/modal/close/close.styles.d.ts +10 -0
  602. package/src/components/templates/popover/components/modal/close/close.styles.js +16 -0
  603. package/src/components/templates/popover/components/modal/heading/heading.component.d.ts +7 -0
  604. package/src/components/templates/popover/components/modal/heading/heading.component.tsx +35 -0
  605. package/src/components/templates/popover/components/modal/heading/heading.styles.d.ts +14 -0
  606. package/src/components/templates/popover/components/modal/heading/heading.styles.js +19 -0
  607. package/src/components/templates/popover/components/modal/modal.component.d.ts +12 -0
  608. package/src/components/templates/popover/components/modal/modal.component.tsx +92 -0
  609. package/src/components/templates/popover/components/modal/modal.styles.d.ts +19 -0
  610. package/src/components/templates/popover/components/modal/modal.styles.js +24 -0
  611. package/src/components/templates/popover/components/modal/scroll-content/scroll-content.component.d.ts +6 -0
  612. package/src/components/templates/popover/components/modal/scroll-content/scroll-content.component.tsx +20 -0
  613. package/src/components/templates/popover/components/modal/scroll-content/scroll-content.styles.d.ts +6 -0
  614. package/src/components/templates/popover/components/modal/scroll-content/scroll-content.styles.js +10 -0
  615. package/src/components/templates/popover/popover.component.d.ts +11 -0
  616. package/src/components/templates/popover/popover.component.tsx +67 -0
  617. package/src/components/templates/popover/popover.preview.d.ts +2 -0
  618. package/src/components/templates/popover/popover.preview.tsx +99 -0
  619. package/src/components/templates/popover/popover.styles.d.ts +11 -0
  620. package/src/components/templates/popover/popover.styles.js +15 -0
  621. package/src/components/templates/popover-action/popover-action.component.d.ts +12 -0
  622. package/src/components/templates/popover-action/popover-action.component.tsx +127 -0
  623. package/src/components/templates/popover-action/popover-action.preview.d.ts +2 -0
  624. package/src/components/templates/popover-action/popover-action.preview.tsx +142 -0
  625. package/src/components/templates/popover-action/popover-action.styles.d.ts +28 -0
  626. package/src/components/templates/popover-action/popover-action.styles.js +33 -0
  627. package/src/context/loading-dots.context.d.ts +8 -0
  628. package/src/context/loading-dots.context.tsx +33 -0
  629. package/src/context/theme.context.d.ts +74 -0
  630. package/src/context/theme.context.ts +77 -0
  631. package/src/gradients/main/main.gradient.d.ts +6 -0
  632. package/src/gradients/main/main.gradient.tsx +29 -0
  633. package/src/gradients/main/main.styles.d.ts +9 -0
  634. package/src/gradients/main/main.styles.js +11 -0
  635. package/src/hooks/use-debounce.d.ts +1 -0
  636. package/src/hooks/use-debounce.ts +15 -0
  637. package/src/icons/__snapshots__/icons.test.js.snap +3152 -0
  638. package/src/icons/crown.icon.d.ts +2 -0
  639. package/src/icons/crown.icon.tsx +29 -0
  640. package/src/icons/icons.test.js +328 -0
  641. package/src/icons/index.d.ts +3 -0
  642. package/src/icons/index.tsx +16 -0
  643. package/src/icons/outline/calendar/calendar.icon.d.ts +3 -0
  644. package/src/icons/outline/calendar/calendar.icon.tsx +24 -0
  645. package/src/icons/outline/chat/chat.icon.d.ts +3 -0
  646. package/src/icons/outline/chat/chat.icon.tsx +24 -0
  647. package/src/icons/outline/chat-alt/chat-alt.icon.d.ts +3 -0
  648. package/src/icons/outline/chat-alt/chat-alt.icon.tsx +24 -0
  649. package/src/icons/outline/check-circle/check-circle.icon.d.ts +3 -0
  650. package/src/icons/outline/check-circle/check-circle.icon.tsx +24 -0
  651. package/src/icons/outline/chevron-left/chevron-left.icon.d.ts +3 -0
  652. package/src/icons/outline/chevron-left/chevron-left.icon.tsx +24 -0
  653. package/src/icons/outline/chevron-right/chevron-right.icon.d.ts +3 -0
  654. package/src/icons/outline/chevron-right/chevron-right.icon.tsx +24 -0
  655. package/src/icons/outline/clock/clock.icon.d.ts +3 -0
  656. package/src/icons/outline/clock/clock.icon.tsx +24 -0
  657. package/src/icons/outline/cloud-download/cloud-download.icon.d.ts +3 -0
  658. package/src/icons/outline/cloud-download/cloud-download.icon.tsx +24 -0
  659. package/src/icons/outline/currency-euro/currency-euro.icon.d.ts +3 -0
  660. package/src/icons/outline/currency-euro/currency-euro.icon.tsx +24 -0
  661. package/src/icons/outline/document-text/document-text.icon.d.ts +3 -0
  662. package/src/icons/outline/document-text/document-text.icon.tsx +21 -0
  663. package/src/icons/outline/exclamation/exclamation.icon.d.ts +3 -0
  664. package/src/icons/outline/exclamation/exclamation.icon.tsx +21 -0
  665. package/src/icons/outline/exclamation-circle/exclamation-circle.icon.d.ts +3 -0
  666. package/src/icons/outline/exclamation-circle/exclamation-circle.icon.tsx +24 -0
  667. package/src/icons/outline/eye/eye.icon.d.ts +3 -0
  668. package/src/icons/outline/eye/eye.icon.tsx +28 -0
  669. package/src/icons/outline/eye-off/eye-off.icon.d.ts +3 -0
  670. package/src/icons/outline/eye-off/eye-off.icon.tsx +21 -0
  671. package/src/icons/outline/filter/filter.icon.d.ts +3 -0
  672. package/src/icons/outline/filter/filter.icon.tsx +22 -0
  673. package/src/icons/outline/information-circle/information-circle.icon.d.ts +3 -0
  674. package/src/icons/outline/information-circle/information-circle.icon.tsx +24 -0
  675. package/src/icons/outline/logout/logout.icon.d.ts +3 -0
  676. package/src/icons/outline/logout/logout.icon.tsx +27 -0
  677. package/src/icons/outline/mail/mail.icon.d.ts +3 -0
  678. package/src/icons/outline/mail/mail.icon.tsx +24 -0
  679. package/src/icons/outline/mail-open/mail-open.icon.d.ts +3 -0
  680. package/src/icons/outline/mail-open/mail-open.icon.tsx +24 -0
  681. package/src/icons/outline/menu/menu.icon.d.ts +3 -0
  682. package/src/icons/outline/menu/menu.icon.tsx +24 -0
  683. package/src/icons/outline/minus-sm/minus-sm.icon.d.ts +3 -0
  684. package/src/icons/outline/minus-sm/minus-sm.icon.tsx +24 -0
  685. package/src/icons/outline/office-building/office-building.icon.d.ts +3 -0
  686. package/src/icons/outline/office-building/office-building.icon.tsx +24 -0
  687. package/src/icons/outline/outline-default.preview.d.ts +2 -0
  688. package/src/icons/outline/outline-default.preview.tsx +115 -0
  689. package/src/icons/outline/outline-grey.preview.d.ts +2 -0
  690. package/src/icons/outline/outline-grey.preview.tsx +117 -0
  691. package/src/icons/outline/outline-white.preview.d.ts +2 -0
  692. package/src/icons/outline/outline-white.preview.tsx +121 -0
  693. package/src/icons/outline/outline.d.ts +2 -0
  694. package/src/icons/outline/outline.tsx +146 -0
  695. package/src/icons/outline/paper-airplane/paper-airplane.icon.d.ts +3 -0
  696. package/src/icons/outline/paper-airplane/paper-airplane.icon.tsx +30 -0
  697. package/src/icons/outline/paperclip/paperclip.icon.d.ts +3 -0
  698. package/src/icons/outline/paperclip/paperclip.icon.tsx +24 -0
  699. package/src/icons/outline/pencil/pencil.icon.d.ts +3 -0
  700. package/src/icons/outline/pencil/pencil.icon.tsx +24 -0
  701. package/src/icons/outline/phone/phone.icon.d.ts +3 -0
  702. package/src/icons/outline/phone/phone.icon.tsx +24 -0
  703. package/src/icons/outline/photograph/photograph.icon.d.ts +3 -0
  704. package/src/icons/outline/photograph/photograph.icon.tsx +24 -0
  705. package/src/icons/outline/plus/plus.icon.d.ts +3 -0
  706. package/src/icons/outline/plus/plus.icon.tsx +24 -0
  707. package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +3 -0
  708. package/src/icons/outline/plus-sm/plus-sm.icon.tsx +21 -0
  709. package/src/icons/outline/qrcode/qrcode.icon.d.ts +3 -0
  710. package/src/icons/outline/qrcode/qrcode.icon.tsx +18 -0
  711. package/src/icons/outline/refresh/refresh.icon.d.ts +3 -0
  712. package/src/icons/outline/refresh/refresh.icon.tsx +24 -0
  713. package/src/icons/outline/search/search.icon.d.ts +3 -0
  714. package/src/icons/outline/search/search.icon.tsx +24 -0
  715. package/src/icons/outline/selector/selector.icon.d.ts +3 -0
  716. package/src/icons/outline/selector/selector.icon.tsx +24 -0
  717. package/src/icons/outline/share/share.icon.d.ts +3 -0
  718. package/src/icons/outline/share/share.icon.tsx +24 -0
  719. package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.d.ts +3 -0
  720. package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.tsx +24 -0
  721. package/src/icons/outline/status-online/status-online.icon.d.ts +3 -0
  722. package/src/icons/outline/status-online/status-online.icon.tsx +24 -0
  723. package/src/icons/outline/thumb-up/thumb-up.icon.d.ts +3 -0
  724. package/src/icons/outline/thumb-up/thumb-up.icon.tsx +24 -0
  725. package/src/icons/outline/trash/trash.icon.d.ts +3 -0
  726. package/src/icons/outline/trash/trash.icon.tsx +24 -0
  727. package/src/icons/outline/user/user.icon.d.ts +3 -0
  728. package/src/icons/outline/user/user.icon.tsx +33 -0
  729. package/src/icons/outline/user-group/user-group.icon.d.ts +3 -0
  730. package/src/icons/outline/user-group/user-group.icon.tsx +24 -0
  731. package/src/icons/outline/users/users.icon.d.ts +3 -0
  732. package/src/icons/outline/users/users.icon.tsx +24 -0
  733. package/src/icons/outline/xmark/xmark.icon.d.ts +3 -0
  734. package/src/icons/outline/xmark/xmark.icon.tsx +24 -0
  735. package/src/icons/solid/calendar/calendar.icon.d.ts +3 -0
  736. package/src/icons/solid/calendar/calendar.icon.tsx +21 -0
  737. package/src/icons/solid/chat/chat.icon.d.ts +3 -0
  738. package/src/icons/solid/chat/chat.icon.tsx +21 -0
  739. package/src/icons/solid/chat-alt/chat-alt-solid.icon.d.ts +3 -0
  740. package/src/icons/solid/chat-alt/chat-alt-solid.icon.tsx +21 -0
  741. package/src/icons/solid/check-circle/check-circle.icon.d.ts +3 -0
  742. package/src/icons/solid/check-circle/check-circle.icon.tsx +21 -0
  743. package/src/icons/solid/chevron-left/chevron-left.icon.d.ts +3 -0
  744. package/src/icons/solid/chevron-left/chevron-left.icon.tsx +21 -0
  745. package/src/icons/solid/chevron-right/chevron-right.icon.d.ts +3 -0
  746. package/src/icons/solid/chevron-right/chevron-right.icon.tsx +21 -0
  747. package/src/icons/solid/clock/clock-solid.icon.d.ts +3 -0
  748. package/src/icons/solid/clock/clock-solid.icon.tsx +22 -0
  749. package/src/icons/solid/cloud-download/cloud-download.icon.d.ts +3 -0
  750. package/src/icons/solid/cloud-download/cloud-download.icon.tsx +21 -0
  751. package/src/icons/solid/currency-euro/currency-euro.icon.d.ts +3 -0
  752. package/src/icons/solid/currency-euro/currency-euro.icon.tsx +21 -0
  753. package/src/icons/solid/document-text/document-text-solid.icon.d.ts +3 -0
  754. package/src/icons/solid/document-text/document-text-solid.icon.tsx +22 -0
  755. package/src/icons/solid/exclamation/exclamation.icon.d.ts +3 -0
  756. package/src/icons/solid/exclamation/exclamation.icon.tsx +20 -0
  757. package/src/icons/solid/exclamation-circle/exclamation-circle.icon.d.ts +3 -0
  758. package/src/icons/solid/exclamation-circle/exclamation-circle.icon.tsx +23 -0
  759. package/src/icons/solid/eye/eye.icon.d.ts +3 -0
  760. package/src/icons/solid/eye/eye.icon.tsx +24 -0
  761. package/src/icons/solid/eye-off/eye-off.icon.d.ts +3 -0
  762. package/src/icons/solid/eye-off/eye-off.icon.tsx +24 -0
  763. package/src/icons/solid/filter/filter.icon.d.ts +3 -0
  764. package/src/icons/solid/filter/filter.icon.tsx +21 -0
  765. package/src/icons/solid/information-circle/information-circle-solid.icon.d.ts +3 -0
  766. package/src/icons/solid/information-circle/information-circle-solid.icon.tsx +25 -0
  767. package/src/icons/solid/logout/logout.icon.d.ts +3 -0
  768. package/src/icons/solid/logout/logout.icon.tsx +26 -0
  769. package/src/icons/solid/mail/mail.icon.d.ts +3 -0
  770. package/src/icons/solid/mail/mail.icon.tsx +23 -0
  771. package/src/icons/solid/mail-open/mail-open.icon.d.ts +3 -0
  772. package/src/icons/solid/mail-open/mail-open.icon.tsx +21 -0
  773. package/src/icons/solid/menu/menu.icon.d.ts +3 -0
  774. package/src/icons/solid/menu/menu.icon.tsx +33 -0
  775. package/src/icons/solid/minus-sm/minus-sm.icon.d.ts +3 -0
  776. package/src/icons/solid/minus-sm/minus-sm.icon.tsx +21 -0
  777. package/src/icons/solid/office-building/office-building.icon.d.ts +3 -0
  778. package/src/icons/solid/office-building/office-building.icon.tsx +21 -0
  779. package/src/icons/solid/paper-airplane/paper-airplane.icon.d.ts +3 -0
  780. package/src/icons/solid/paper-airplane/paper-airplane.icon.tsx +25 -0
  781. package/src/icons/solid/paperclip/paperclip.icon.d.ts +3 -0
  782. package/src/icons/solid/paperclip/paperclip.icon.tsx +21 -0
  783. package/src/icons/solid/pencil/pencil-solid.icon.d.ts +3 -0
  784. package/src/icons/solid/pencil/pencil-solid.icon.tsx +24 -0
  785. package/src/icons/solid/phone/phone-solid.icon.d.ts +3 -0
  786. package/src/icons/solid/phone/phone-solid.icon.tsx +20 -0
  787. package/src/icons/solid/photograph/photograph-solid.icon.d.ts +3 -0
  788. package/src/icons/solid/photograph/photograph-solid.icon.tsx +20 -0
  789. package/src/icons/solid/plus/plus.icon.d.ts +3 -0
  790. package/src/icons/solid/plus/plus.icon.tsx +21 -0
  791. package/src/icons/solid/plus-sm/plus-sm.icon.d.ts +3 -0
  792. package/src/icons/solid/plus-sm/plus-sm.icon.tsx +21 -0
  793. package/src/icons/solid/qrcode/qrcode.icon.d.ts +3 -0
  794. package/src/icons/solid/qrcode/qrcode.icon.tsx +60 -0
  795. package/src/icons/solid/refresh/refresh-solid.icon.d.ts +3 -0
  796. package/src/icons/solid/refresh/refresh-solid.icon.tsx +22 -0
  797. package/src/icons/solid/search/search.icon.d.ts +3 -0
  798. package/src/icons/solid/search/search.icon.tsx +21 -0
  799. package/src/icons/solid/selector/selector.icon.d.ts +3 -0
  800. package/src/icons/solid/selector/selector.icon.tsx +21 -0
  801. package/src/icons/solid/share/share.icon.d.ts +3 -0
  802. package/src/icons/solid/share/share.icon.tsx +19 -0
  803. package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.d.ts +3 -0
  804. package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.tsx +31 -0
  805. package/src/icons/solid/solid.d.ts +2 -0
  806. package/src/icons/solid/solid.preview.d.ts +2 -0
  807. package/src/icons/solid/solid.preview.tsx +146 -0
  808. package/src/icons/solid/solid.tsx +141 -0
  809. package/src/icons/solid/status-online/status-online-solid.icon.d.ts +3 -0
  810. package/src/icons/solid/status-online/status-online-solid.icon.tsx +22 -0
  811. package/src/icons/solid/thumb-up/thumb-up.icon.d.ts +3 -0
  812. package/src/icons/solid/thumb-up/thumb-up.icon.tsx +23 -0
  813. package/src/icons/solid/trash/trash-solid.icon.d.ts +3 -0
  814. package/src/icons/solid/trash/trash-solid.icon.tsx +22 -0
  815. package/src/icons/solid/user/user.icon.d.ts +3 -0
  816. package/src/icons/solid/user/user.icon.tsx +23 -0
  817. package/src/icons/solid/user-group/user-group.icon.d.ts +3 -0
  818. package/src/icons/solid/user-group/user-group.icon.tsx +72 -0
  819. package/src/icons/solid/users/users-solid.icon.d.ts +3 -0
  820. package/src/icons/solid/users/users-solid.icon.tsx +57 -0
  821. package/src/icons/solid/xmark/xmark.icon.d.ts +3 -0
  822. package/src/icons/solid/xmark/xmark.icon.tsx +21 -0
  823. package/src/interfaces/icon.interface.d.ts +11 -0
  824. package/src/interfaces/icon.interface.ts +12 -0
  825. package/src/models/hex-color.model.d.ts +6 -0
  826. package/src/models/hex-color.model.ts +25 -0
  827. package/src/models/hex-color.test.js +20 -0
  828. package/src/models/initials.model.d.ts +7 -0
  829. package/src/models/initials.model.ts +32 -0
  830. package/src/models/initials.test.js +23 -0
  831. package/src/models/time-slot-record.d.ts +15 -0
  832. package/src/models/time-slot-record.ts +37 -0
  833. package/src/models/time-slot-sequence.d.ts +15 -0
  834. package/src/models/time-slot-sequence.ts +79 -0
  835. package/src/theme/font/font.d.ts +72 -0
  836. package/src/theme/font/font.ts +72 -0
  837. package/src/theme/font/index.d.ts +3 -0
  838. package/src/theme/font/index.ts +4 -0
  839. package/src/theme/font/load-fonts.d.ts +1 -0
  840. package/src/theme/font/load-fonts.ts +10 -0
  841. package/src/theme/provider/index.d.ts +3 -0
  842. package/src/theme/provider/index.ts +4 -0
  843. package/src/theme/provider/parent.theme.d.ts +71 -0
  844. package/src/theme/provider/parent.theme.ts +73 -0
  845. package/src/theme/provider/staff-member.theme.d.ts +71 -0
  846. package/src/theme/provider/staff-member.theme.ts +73 -0
  847. package/src/theme/responsive/index.d.ts +2 -0
  848. package/src/theme/responsive/index.ts +17 -0
  849. package/src/theme/scale/index.d.ts +12 -0
  850. package/src/theme/scale/index.ts +14 -0
  851. package/src/types/bubble-alignment.enum.d.ts +4 -0
  852. package/src/types/bubble-alignment.enum.ts +4 -0
  853. package/src/types/icontype.type.d.ts +2 -0
  854. package/src/types/icontype.type.ts +45 -0
  855. package/src/types/keyboard-types.enum.d.ts +9 -0
  856. package/src/types/keyboard-types.enum.ts +9 -0
  857. package/src/types/loading-dots.type.d.ts +8 -0
  858. package/src/types/loading-dots.type.ts +8 -0
  859. package/src/types/size.enum.d.ts +5 -0
  860. package/src/types/size.enum.ts +5 -0
  861. package/src/types/state.enum.d.ts +7 -0
  862. package/src/types/state.enum.ts +7 -0
  863. package/src/types/text-properties.type.d.ts +11 -0
  864. package/src/types/text-properties.type.ts +12 -0
  865. package/src/types/timetable-edit.enum.d.ts +5 -0
  866. package/src/types/timetable-edit.enum.ts +5 -0
  867. package/src/types/visual-state.enum.d.ts +7 -0
  868. package/src/types/visual-state.enum.ts +7 -0
  869. package/src/utilities/color-handler/color-handler.d.ts +4 -0
  870. package/src/utilities/color-handler/color-handler.ts +74 -0
  871. package/src/utilities/toddle-datetime/interfaces/duration.interface.d.ts +22 -0
  872. package/src/utilities/toddle-datetime/interfaces/duration.interface.tsx +23 -0
  873. package/src/utilities/toddle-datetime/interfaces/toddle-datetime.interface.d.ts +22 -0
  874. package/src/utilities/toddle-datetime/interfaces/toddle-datetime.interface.tsx +25 -0
  875. package/src/utilities/toddle-datetime/toddle-datetime.class.d.ts +50 -0
  876. package/src/utilities/toddle-datetime/toddle-datetime.class.tsx +206 -0
  877. package/src/utilities/toddle-datetime/toddle-datetime.preview.d.ts +2 -0
  878. package/src/utilities/toddle-datetime/toddle-datetime.preview.tsx +160 -0
  879. package/src/utilities/toddle-datetime/toddle-datetime.test.js +127 -0
  880. package/src/utilities/toddle-datetime/types/duration.type.d.ts +4 -0
  881. package/src/utilities/toddle-datetime/types/duration.type.tsx +6 -0
  882. package/src/utilities/toddle-datetime/types/toddle-datetime.type.d.ts +5 -0
  883. package/src/utilities/toddle-datetime/types/toddle-datetime.type.tsx +23 -0
  884. package/tsconfig.json +13 -0
  885. package/types/src/components/atoms/avatar/avatar.component.d.ts +11 -0
  886. package/types/src/components/atoms/avatar/avatar.styles.d.ts +36 -0
  887. package/types/src/components/atoms/button/button.component.d.ts +9 -0
  888. package/types/src/components/atoms/button/button.styles.d.ts +20 -0
  889. package/types/src/components/atoms/cancel-link/cancel-link.component.d.ts +7 -0
  890. package/types/src/components/atoms/cancel-link/cancel-link.styles.d.ts +17 -0
  891. package/types/src/components/atoms/check-switch/check-switch.component.d.ts +7 -0
  892. package/types/src/components/atoms/check-switch/check-switch.styles.d.ts +30 -0
  893. package/types/src/components/atoms/checkbox/checkbox.component.d.ts +8 -0
  894. package/types/src/components/atoms/checkbox/checkbox.styles.d.ts +32 -0
  895. package/types/src/components/atoms/child-list-item/child-list-item.component.d.ts +19 -0
  896. package/types/src/components/atoms/child-list-item/child-list-item.styles.d.ts +68 -0
  897. package/types/src/components/atoms/contact-item/contact-item.component.d.ts +10 -0
  898. package/types/src/components/atoms/contact-item/contact-item.styles.d.ts +24 -0
  899. package/types/src/components/atoms/filter-tab/filter-tab.component.d.ts +9 -0
  900. package/types/src/components/atoms/filter-tab/filter-tab.styles.d.ts +61 -0
  901. package/types/src/components/atoms/form-actions/form-action.component.d.ts +7 -0
  902. package/types/src/components/atoms/form-actions/form-action.styles.d.ts +14 -0
  903. package/types/src/components/atoms/image-bubble/image-bubble.component.d.ts +9 -0
  904. package/types/src/components/atoms/image-bubble/image-bubble.styles.d.ts +27 -0
  905. package/types/src/components/atoms/info/info.component.d.ts +7 -0
  906. package/types/src/components/atoms/info/info.styles.d.ts +24 -0
  907. package/types/src/components/atoms/pill/pill.component.d.ts +8 -0
  908. package/types/src/components/atoms/pill/pill.styles.d.ts +24 -0
  909. package/types/src/components/atoms/popover/components/backdrop/backdrop.component.d.ts +6 -0
  910. package/types/src/components/atoms/popover/components/backdrop/backdrop.styles.d.ts +11 -0
  911. package/types/src/components/atoms/popover/components/foreground/foreground.component.d.ts +7 -0
  912. package/types/src/components/atoms/popover/components/foreground/foreground.styles.d.ts +12 -0
  913. package/types/src/components/atoms/popover/components/index.d.ts +4 -0
  914. package/types/src/components/atoms/popover/components/modal/close/close.component.d.ts +7 -0
  915. package/types/src/components/atoms/popover/components/modal/close/close.styles.d.ts +9 -0
  916. package/types/src/components/atoms/popover/components/modal/heading/heading.component.d.ts +7 -0
  917. package/types/src/components/atoms/popover/components/modal/heading/heading.styles.d.ts +22 -0
  918. package/types/src/components/atoms/popover/components/modal/modal.component.d.ts +11 -0
  919. package/types/src/components/atoms/popover/components/modal/modal.styles.d.ts +18 -0
  920. package/types/src/components/atoms/popover/components/modal/scroll-content/scroll-content.component.d.ts +6 -0
  921. package/types/src/components/atoms/popover/components/modal/scroll-content/scroll-content.styles.d.ts +6 -0
  922. package/types/src/components/atoms/popover/popover.component.d.ts +10 -0
  923. package/types/src/components/atoms/popover/popover.styles.d.ts +8 -0
  924. package/types/src/components/atoms/pressable-icon/pressable-icon.component.d.ts +9 -0
  925. package/types/src/components/atoms/pressable-icon/pressable-icon.styles.d.ts +17 -0
  926. package/types/src/components/atoms/quick-filter/quick-filter.component.d.ts +11 -0
  927. package/types/src/components/atoms/quick-filter/quick-filter.styles.d.ts +34 -0
  928. package/types/src/components/atoms/select-list-item/select-list-item.component.d.ts +10 -0
  929. package/types/src/components/atoms/select-list-item/select-list-item.styles.d.ts +37 -0
  930. package/types/src/components/atoms/snackbar/snackbar.component.d.ts +8 -0
  931. package/types/src/components/atoms/snackbar/snackbar.styles.d.ts +50 -0
  932. package/types/src/components/atoms/tag/tag.component.d.ts +13 -0
  933. package/types/src/components/atoms/tag/tag.styles.d.ts +16 -0
  934. package/types/src/components/atoms/text-bubble/text-bubble.component.d.ts +10 -0
  935. package/types/src/components/atoms/text-bubble/text-bubble.styles.d.ts +62 -0
  936. package/types/src/components/atoms/text-input/text-input.component.d.ts +9 -0
  937. package/types/src/components/atoms/text-input/text-input.styles.d.ts +21 -0
  938. package/types/src/components/atoms/time-tracker/time-tracker.component.d.ts +8 -0
  939. package/types/src/components/atoms/time-tracker/time-tracker.styles.d.ts +25 -0
  940. package/types/src/components/atoms/wide-button/wide-button.component.d.ts +8 -0
  941. package/types/src/components/atoms/wide-button/wide-button.styles.d.ts +17 -0
  942. package/types/src/context/theme.context.d.ts +46 -0
  943. package/types/src/gradients/main/main.gradient.d.ts +2 -0
  944. package/types/src/gradients/main/main.styles.d.ts +7 -0
  945. package/types/src/icons/outline/chevron-right/chevron-right.icon.d.ts +3 -0
  946. package/types/src/icons/outline/cross/cross.icon.d.ts +3 -0
  947. package/types/src/icons/outline/filter/filter.icon.d.ts +3 -0
  948. package/types/src/models/initials.model.d.ts +7 -0
  949. package/types/src/theme/font/font.d.ts +72 -0
  950. package/types/src/theme/font/index.d.ts +3 -0
  951. package/types/src/theme/font/load-fonts.d.ts +1 -0
  952. package/types/src/theme/provider/index.d.ts +3 -0
  953. package/types/src/theme/provider/parent.theme.d.ts +43 -0
  954. package/types/src/theme/provider/staff-member.theme.d.ts +43 -0
  955. package/types/src/theme/scale/index.d.ts +12 -0
  956. package/types/src/types/bubble-alignment.enum.d.ts +4 -0
  957. package/types/src/types/icontype.type.d.ts +3 -0
  958. package/types/src/types/keyboard-types.enum.d.ts +9 -0
  959. package/types/src/types/size.enum.d.ts +5 -0
  960. package/types/src/types/visual-state.enum.d.ts +6 -0
  961. package/build/export.js +0 -10328
@@ -0,0 +1,460 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`pressable-icon test render a default disabled pressable icon 1`] = `
4
+ <View
5
+ accessibilityState={
6
+ {
7
+ "busy": undefined,
8
+ "checked": undefined,
9
+ "disabled": true,
10
+ "expanded": undefined,
11
+ "selected": undefined,
12
+ }
13
+ }
14
+ accessibilityValue={
15
+ {
16
+ "max": undefined,
17
+ "min": undefined,
18
+ "now": undefined,
19
+ "text": undefined,
20
+ }
21
+ }
22
+ accessible={true}
23
+ collapsable={false}
24
+ focusable={true}
25
+ onBlur={[Function]}
26
+ onClick={[Function]}
27
+ onFocus={[Function]}
28
+ onResponderGrant={[Function]}
29
+ onResponderMove={[Function]}
30
+ onResponderRelease={[Function]}
31
+ onResponderTerminate={[Function]}
32
+ onResponderTerminationRequest={[Function]}
33
+ onStartShouldSetResponder={[Function]}
34
+ >
35
+ <View
36
+ style={
37
+ [
38
+ {
39
+ "backgroundColor": "#E5E8EB",
40
+ },
41
+ {
42
+ "alignItems": "center",
43
+ "borderRadius": 50,
44
+ "flexDirection": "row",
45
+ "height": 50,
46
+ "justifyContent": "center",
47
+ "padding": 12,
48
+ "width": 50,
49
+ },
50
+ ]
51
+ }
52
+ >
53
+ <RNSVGSvgView
54
+ align="xMidYMid"
55
+ bbHeight="24"
56
+ bbWidth="24"
57
+ fill="none"
58
+ focusable={false}
59
+ height={24}
60
+ meetOrSlice={0}
61
+ minX={0}
62
+ minY={0}
63
+ style={
64
+ [
65
+ {
66
+ "backgroundColor": "transparent",
67
+ "borderWidth": 0,
68
+ },
69
+ {
70
+ "flex": 0,
71
+ "height": 24,
72
+ "width": 24,
73
+ },
74
+ ]
75
+ }
76
+ vbHeight={19}
77
+ vbWidth={23}
78
+ width={24}
79
+ >
80
+ <RNSVGGroup
81
+ fill={null}
82
+ propList={
83
+ [
84
+ "fill",
85
+ ]
86
+ }
87
+ >
88
+ <RNSVGPath
89
+ d="M1.375 5L10.2519 10.9179C11.0077 11.4218 11.9923 11.4218 12.7481 10.9179L21.625 5M3.625 17.375H19.375C20.6176 17.375 21.625 16.3676 21.625 15.125V3.875C21.625 2.63236 20.6176 1.625 19.375 1.625H3.625C2.38236 1.625 1.375 2.63236 1.375 3.875V15.125C1.375 16.3676 2.38236 17.375 3.625 17.375Z"
90
+ fill={
91
+ {
92
+ "payload": 4278190080,
93
+ "type": 0,
94
+ }
95
+ }
96
+ propList={
97
+ [
98
+ "stroke",
99
+ "strokeWidth",
100
+ "strokeLinecap",
101
+ "strokeLinejoin",
102
+ ]
103
+ }
104
+ stroke={
105
+ {
106
+ "payload": 4283522924,
107
+ "type": 0,
108
+ }
109
+ }
110
+ strokeLinecap={1}
111
+ strokeLinejoin={1}
112
+ strokeWidth="2"
113
+ />
114
+ </RNSVGGroup>
115
+ </RNSVGSvgView>
116
+ </View>
117
+ </View>
118
+ `;
119
+
120
+ exports[`pressable-icon test render a default pressable icon 1`] = `
121
+ <View
122
+ accessibilityState={
123
+ {
124
+ "busy": undefined,
125
+ "checked": undefined,
126
+ "disabled": undefined,
127
+ "expanded": undefined,
128
+ "selected": undefined,
129
+ }
130
+ }
131
+ accessibilityValue={
132
+ {
133
+ "max": undefined,
134
+ "min": undefined,
135
+ "now": undefined,
136
+ "text": undefined,
137
+ }
138
+ }
139
+ accessible={true}
140
+ collapsable={false}
141
+ focusable={true}
142
+ onBlur={[Function]}
143
+ onClick={[Function]}
144
+ onFocus={[Function]}
145
+ onResponderGrant={[Function]}
146
+ onResponderMove={[Function]}
147
+ onResponderRelease={[Function]}
148
+ onResponderTerminate={[Function]}
149
+ onResponderTerminationRequest={[Function]}
150
+ onStartShouldSetResponder={[Function]}
151
+ >
152
+ <View
153
+ style={
154
+ [
155
+ {
156
+ "backgroundColor": "#E0E8F9",
157
+ },
158
+ {
159
+ "alignItems": "center",
160
+ "borderRadius": 50,
161
+ "flexDirection": "row",
162
+ "height": 50,
163
+ "justifyContent": "center",
164
+ "padding": 12,
165
+ "width": 50,
166
+ },
167
+ ]
168
+ }
169
+ >
170
+ <RNSVGSvgView
171
+ align="xMidYMid"
172
+ bbHeight="24"
173
+ bbWidth="24"
174
+ fill="none"
175
+ focusable={false}
176
+ height={24}
177
+ meetOrSlice={0}
178
+ minX={0}
179
+ minY={0}
180
+ style={
181
+ [
182
+ {
183
+ "backgroundColor": "transparent",
184
+ "borderWidth": 0,
185
+ },
186
+ {
187
+ "flex": 0,
188
+ "height": 24,
189
+ "width": 24,
190
+ },
191
+ ]
192
+ }
193
+ vbHeight={23}
194
+ vbWidth={23}
195
+ width={24}
196
+ >
197
+ <RNSVGGroup
198
+ fill={null}
199
+ propList={
200
+ [
201
+ "fill",
202
+ ]
203
+ }
204
+ >
205
+ <RNSVGPath
206
+ d="M13.75 9.25H19.1094C20.782 9.25 21.8699 11.0102 21.1219 12.5062L17.1844 20.3812C16.8033 21.1435 16.0242 21.625 15.1719 21.625H10.652C10.468 21.625 10.2848 21.6024 10.1063 21.5578L5.875 20.5M13.75 9.25V3.625C13.75 2.38236 12.7426 1.375 11.5 1.375H11.3926C10.8306 1.375 10.375 1.83059 10.375 2.39259C10.375 3.19618 10.1371 3.9818 9.69138 4.65043L5.875 10.375V20.5M13.75 9.25H11.5M5.875 20.5H3.625C2.38236 20.5 1.375 19.4926 1.375 18.25V11.5C1.375 10.2574 2.38236 9.25 3.625 9.25H6.4375"
207
+ fill={
208
+ {
209
+ "payload": 4278190080,
210
+ "type": 0,
211
+ }
212
+ }
213
+ propList={
214
+ [
215
+ "stroke",
216
+ "strokeWidth",
217
+ "strokeLinecap",
218
+ "strokeLinejoin",
219
+ ]
220
+ }
221
+ stroke={
222
+ {
223
+ "payload": 4279837036,
224
+ "type": 0,
225
+ }
226
+ }
227
+ strokeLinecap={1}
228
+ strokeLinejoin={1}
229
+ strokeWidth="2"
230
+ />
231
+ </RNSVGGroup>
232
+ </RNSVGSvgView>
233
+ </View>
234
+ </View>
235
+ `;
236
+
237
+ exports[`pressable-icon test render an inverted pressable icon 1`] = `
238
+ <View
239
+ accessibilityState={
240
+ {
241
+ "busy": undefined,
242
+ "checked": undefined,
243
+ "disabled": undefined,
244
+ "expanded": undefined,
245
+ "selected": undefined,
246
+ }
247
+ }
248
+ accessibilityValue={
249
+ {
250
+ "max": undefined,
251
+ "min": undefined,
252
+ "now": undefined,
253
+ "text": undefined,
254
+ }
255
+ }
256
+ accessible={true}
257
+ collapsable={false}
258
+ focusable={true}
259
+ onBlur={[Function]}
260
+ onClick={[Function]}
261
+ onFocus={[Function]}
262
+ onResponderGrant={[Function]}
263
+ onResponderMove={[Function]}
264
+ onResponderRelease={[Function]}
265
+ onResponderTerminate={[Function]}
266
+ onResponderTerminationRequest={[Function]}
267
+ onStartShouldSetResponder={[Function]}
268
+ >
269
+ <View
270
+ style={
271
+ [
272
+ {
273
+ "backgroundColor": "#19216C",
274
+ },
275
+ {
276
+ "alignItems": "center",
277
+ "borderRadius": 50,
278
+ "flexDirection": "row",
279
+ "height": 50,
280
+ "justifyContent": "center",
281
+ "padding": 12,
282
+ "width": 50,
283
+ },
284
+ ]
285
+ }
286
+ >
287
+ <RNSVGSvgView
288
+ align="xMidYMid"
289
+ bbHeight="24"
290
+ bbWidth="24"
291
+ fill="none"
292
+ focusable={false}
293
+ height={24}
294
+ meetOrSlice={0}
295
+ minX={0}
296
+ minY={0}
297
+ style={
298
+ [
299
+ {
300
+ "backgroundColor": "transparent",
301
+ "borderWidth": 0,
302
+ },
303
+ {
304
+ "flex": 0,
305
+ "height": 24,
306
+ "width": 24,
307
+ },
308
+ ]
309
+ }
310
+ vbHeight={22}
311
+ vbWidth={22}
312
+ width={24}
313
+ >
314
+ <RNSVGGroup
315
+ fill={null}
316
+ propList={
317
+ [
318
+ "fill",
319
+ ]
320
+ }
321
+ >
322
+ <RNSVGPath
323
+ d="M1.25 2.25C1.25 1.69772 1.69772 1.25 2.25 1.25H19.75C20.3023 1.25 20.75 1.69772 20.75 2.25V5.16912C20.75 5.43434 20.6446 5.68869 20.4571 5.87623L13.4596 12.8738C13.272 13.0613 13.1667 13.3157 13.1667 13.5809V16.4167L8.83333 20.75V13.5809C8.83333 13.3157 8.72798 13.0613 8.54044 12.8738L1.54289 5.87623C1.35536 5.68869 1.25 5.43434 1.25 5.16912V2.25Z"
324
+ fill={
325
+ {
326
+ "payload": 4278190080,
327
+ "type": 0,
328
+ }
329
+ }
330
+ propList={
331
+ [
332
+ "stroke",
333
+ "strokeWidth",
334
+ "strokeLinecap",
335
+ "strokeLinejoin",
336
+ ]
337
+ }
338
+ stroke={
339
+ {
340
+ "payload": 4292929785,
341
+ "type": 0,
342
+ }
343
+ }
344
+ strokeLinecap={1}
345
+ strokeLinejoin={1}
346
+ strokeWidth="2"
347
+ />
348
+ </RNSVGGroup>
349
+ </RNSVGSvgView>
350
+ </View>
351
+ </View>
352
+ `;
353
+
354
+ exports[`pressable-icon test render an inverted pressable icon that is disabled 1`] = `
355
+ <View
356
+ accessibilityState={
357
+ {
358
+ "busy": undefined,
359
+ "checked": undefined,
360
+ "disabled": true,
361
+ "expanded": undefined,
362
+ "selected": undefined,
363
+ }
364
+ }
365
+ accessibilityValue={
366
+ {
367
+ "max": undefined,
368
+ "min": undefined,
369
+ "now": undefined,
370
+ "text": undefined,
371
+ }
372
+ }
373
+ accessible={true}
374
+ collapsable={false}
375
+ focusable={true}
376
+ onBlur={[Function]}
377
+ onClick={[Function]}
378
+ onFocus={[Function]}
379
+ onResponderGrant={[Function]}
380
+ onResponderMove={[Function]}
381
+ onResponderRelease={[Function]}
382
+ onResponderTerminate={[Function]}
383
+ onResponderTerminationRequest={[Function]}
384
+ onStartShouldSetResponder={[Function]}
385
+ >
386
+ <View
387
+ style={
388
+ [
389
+ {
390
+ "backgroundColor": "#E5E8EB",
391
+ },
392
+ {
393
+ "alignItems": "center",
394
+ "borderRadius": 50,
395
+ "flexDirection": "row",
396
+ "height": 50,
397
+ "justifyContent": "center",
398
+ "padding": 12,
399
+ "width": 50,
400
+ },
401
+ ]
402
+ }
403
+ >
404
+ <RNSVGSvgView
405
+ align="xMidYMid"
406
+ bbHeight="24"
407
+ bbWidth="24"
408
+ fill="none"
409
+ focusable={false}
410
+ height={24}
411
+ meetOrSlice={0}
412
+ minX={0}
413
+ minY={0}
414
+ style={
415
+ [
416
+ {
417
+ "backgroundColor": "transparent",
418
+ "borderWidth": 0,
419
+ },
420
+ {
421
+ "flex": 0,
422
+ "height": 24,
423
+ "width": 24,
424
+ },
425
+ ]
426
+ }
427
+ vbHeight={18}
428
+ vbWidth={17}
429
+ width={24}
430
+ >
431
+ <RNSVGGroup
432
+ fill={null}
433
+ propList={
434
+ [
435
+ "fill",
436
+ ]
437
+ }
438
+ >
439
+ <RNSVGPath
440
+ clipRule={0}
441
+ d="M7.34995 0.200012C6.91436 0.200012 6.51616 0.435415 6.32136 0.808077L5.48921 2.40001H1.59995C0.964824 2.40001 0.449951 2.8925 0.449951 3.50001C0.449951 4.10753 0.964824 4.60001 1.59995 4.60001L1.59995 15.6C1.59995 16.815 2.6297 17.8 3.89995 17.8H13.1C14.3702 17.8 15.4 16.815 15.4 15.6V4.60001C16.0351 4.60001 16.55 4.10753 16.55 3.50001C16.55 2.8925 16.0351 2.40001 15.4 2.40001H11.5107L10.6785 0.808077C10.4837 0.435415 10.0855 0.200012 9.64995 0.200012H7.34995ZM5.04995 6.80001C5.04995 6.1925 5.56482 5.70001 6.19995 5.70001C6.83508 5.70001 7.34995 6.1925 7.34995 6.80001V13.4C7.34995 14.0075 6.83508 14.5 6.19995 14.5C5.56482 14.5 5.04995 14.0075 5.04995 13.4V6.80001ZM10.8 5.70001C10.1648 5.70001 9.64995 6.1925 9.64995 6.80001V13.4C9.64995 14.0075 10.1648 14.5 10.8 14.5C11.4351 14.5 11.95 14.0075 11.95 13.4V6.80001C11.95 6.1925 11.4351 5.70001 10.8 5.70001Z"
442
+ fill={
443
+ {
444
+ "payload": 4283522924,
445
+ "type": 0,
446
+ }
447
+ }
448
+ fillRule={0}
449
+ propList={
450
+ [
451
+ "fill",
452
+ "fillRule",
453
+ ]
454
+ }
455
+ />
456
+ </RNSVGGroup>
457
+ </RNSVGSvgView>
458
+ </View>
459
+ </View>
460
+ `;
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ type PressableIconProps = {
3
+ icon: React.ReactElement;
4
+ inverted?: boolean;
5
+ disabled?: boolean;
6
+ onPress?: () => void;
7
+ };
8
+ export declare const PressableIcon: ({ icon, inverted, disabled, onPress, }: PressableIconProps) => React.JSX.Element;
9
+ export {};
@@ -0,0 +1,50 @@
1
+ import * as React from 'react';
2
+ import {useContext} from 'react';
3
+
4
+ import {Pressable, View} from 'react-native';
5
+ import {ThemeCtx} from '../../../context/theme.context';
6
+ import {Stylesheet} from './pressable-icon.styles';
7
+
8
+ type PressableIconProps = {
9
+ icon: React.ReactElement;
10
+ inverted?: boolean;
11
+ disabled?: boolean;
12
+ onPress?: () => void;
13
+ };
14
+
15
+ export const PressableIcon = ({
16
+ icon,
17
+ inverted,
18
+ disabled,
19
+ onPress,
20
+ }: PressableIconProps) => {
21
+ const context = useContext(ThemeCtx);
22
+ const styles = Stylesheet(context, disabled);
23
+
24
+ const disabledIcon = React.Children.map(icon, (child) =>
25
+ React.cloneElement(child, {
26
+ ...icon.props,
27
+ color: context.colors.ui.darkgrey,
28
+ })
29
+ );
30
+
31
+ const invertedIcon = React.Children.map(icon, (child) =>
32
+ React.cloneElement(child, {
33
+ ...icon.props,
34
+ color: context.colors.main['9'],
35
+ })
36
+ );
37
+
38
+ return (
39
+ <Pressable onPress={onPress} disabled={disabled}>
40
+ <View
41
+ style={[
42
+ inverted ? styles.backgroundInverted : styles.backgroundDefault,
43
+ styles.container,
44
+ ]}
45
+ >
46
+ {[disabled ? disabledIcon : icon && inverted ? invertedIcon : icon]}
47
+ </View>
48
+ </Pressable>
49
+ );
50
+ };
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const PressableIconPreview: ({}: {}) => React.JSX.Element;
@@ -0,0 +1,37 @@
1
+ import React from 'react';
2
+ import {PressableIcon} from './pressable-icon.component';
3
+ import {Icon} from '../../../icons';
4
+ const {View} = require('react-native');
5
+
6
+ export const PressableIconPreview = ({}: {}) => {
7
+ return (
8
+ <View
9
+ style={{
10
+ flex: 1,
11
+ alignItems: 'center',
12
+ justifyContent: 'center',
13
+ }}
14
+ >
15
+ <PressableIcon
16
+ icon={<Icon style={'regular'} name={'mail'} key={'random'} />}
17
+ onPress={() => console.log('Pressed')}
18
+ />
19
+ <PressableIcon
20
+ icon={<Icon style={'regular'} name={'phone'} key={'test'} />}
21
+ inverted={true}
22
+ disabled={true}
23
+ onPress={() => console.log('Pressed')}
24
+ />
25
+ <PressableIcon
26
+ icon={<Icon style={'solid'} name={'chat-alt'} key={'testen'} />}
27
+ inverted={true}
28
+ onPress={() => console.log('Pressed')}
29
+ />
30
+ <PressableIcon
31
+ icon={<Icon style={'regular'} name={'plus'} key={'hello'} />}
32
+ disabled={true}
33
+ onPress={() => console.log('Pressed')}
34
+ />
35
+ </View>
36
+ );
37
+ };
@@ -0,0 +1,20 @@
1
+ export function Stylesheet(
2
+ context: any,
3
+ disabled: any
4
+ ): {
5
+ container: {
6
+ flexDirection: 'row';
7
+ justifyContent: 'center';
8
+ alignItems: 'center';
9
+ borderRadius: number;
10
+ width: number;
11
+ height: number;
12
+ padding: number;
13
+ };
14
+ backgroundDefault: {
15
+ backgroundColor: any;
16
+ };
17
+ backgroundInverted: {
18
+ backgroundColor: any;
19
+ };
20
+ };
@@ -0,0 +1,25 @@
1
+ import {StyleSheet} from 'react-native';
2
+ import {Scale} from '../../../theme/scale';
3
+
4
+ export const Stylesheet = (context, disabled) =>
5
+ StyleSheet.create({
6
+ container: {
7
+ flexDirection: 'row',
8
+ justifyContent: 'center',
9
+ alignItems: 'center',
10
+ borderRadius: 50,
11
+ width: 50,
12
+ height: 50,
13
+ padding: Scale.s,
14
+ },
15
+ backgroundDefault: {
16
+ backgroundColor: disabled
17
+ ? context.colors.ui.lightgrey
18
+ : context.colors.main['9'],
19
+ },
20
+ backgroundInverted: {
21
+ backgroundColor: disabled
22
+ ? context.colors.ui.lightgrey
23
+ : context.colors.main['0'],
24
+ },
25
+ });
@@ -0,0 +1,51 @@
1
+ import React from 'react';
2
+ import render from 'react-test-renderer';
3
+ import {PressableIcon} from './pressable-icon.component';
4
+ import {Icon} from '../../../icons';
5
+
6
+ describe('pressable-icon test', () => {
7
+ it('render a default pressable icon', function () {
8
+ const tree = render
9
+ .create(
10
+ <PressableIcon
11
+ icon={<Icon style={'regular'} name={'thumb-up'} key="default" />}
12
+ />
13
+ )
14
+ .toJSON();
15
+ expect(tree).toMatchSnapshot();
16
+ });
17
+ it('render a default disabled pressable icon', () => {
18
+ const tree = render
19
+ .create(
20
+ <PressableIcon
21
+ icon={<Icon style={'regular'} name={'mail'} key="disabled" />}
22
+ disabled={true}
23
+ />
24
+ )
25
+ .toJSON();
26
+ expect(tree).toMatchSnapshot();
27
+ });
28
+ it('render an inverted pressable icon', () => {
29
+ const tree = render
30
+ .create(
31
+ <PressableIcon
32
+ icon={<Icon style={'regular'} name={'filter'} key="inverted" />}
33
+ inverted={true}
34
+ />
35
+ )
36
+ .toJSON();
37
+ expect(tree).toMatchSnapshot();
38
+ });
39
+ it('render an inverted pressable icon that is disabled', () => {
40
+ const tree = render
41
+ .create(
42
+ <PressableIcon
43
+ icon={<Icon style={'solid'} name={'trash'} key="disabled inverted" />}
44
+ inverted={true}
45
+ disabled={true}
46
+ />
47
+ )
48
+ .toJSON();
49
+ expect(tree).toMatchSnapshot();
50
+ });
51
+ });