@tactics/toddle-styleguide 5.0.0 → 5.0.2

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/build/export.js +10328 -0
  2. package/package.json +17 -7
  3. package/.prettierrc.js +0 -9
  4. package/.yarnrc.yml +0 -2
  5. package/App.d.ts +0 -5
  6. package/App.tsx +0 -655
  7. package/app.json +0 -37
  8. package/assets/adaptive-icon.png +0 -0
  9. package/assets/components/avatar/baby.png +0 -0
  10. package/assets/favicon.png +0 -0
  11. package/assets/fonts/montserrat/bold.ttf +0 -0
  12. package/assets/fonts/montserrat/regular.ttf +0 -0
  13. package/assets/fonts/source-sans-pro/bold.ttf +0 -0
  14. package/assets/fonts/source-sans-pro/regular.ttf +0 -0
  15. package/assets/icon.png +0 -0
  16. package/assets/lottie/wave-for-daycares.json +0 -1197
  17. package/assets/lottie/wave-for-parents.json +0 -1
  18. package/assets/splash.png +0 -0
  19. package/babel.config.js +0 -20
  20. package/index.d.ts +0 -79
  21. package/index.tsx +0 -196
  22. package/jest.config.js +0 -26
  23. package/metro.config.js +0 -11
  24. package/src/components/atoms/animated-wave/animated-wave.component.d.ts +0 -2
  25. package/src/components/atoms/animated-wave/animated-wave.component.tsx +0 -28
  26. package/src/components/atoms/animated-wave/animated-wave.preview.tsx +0 -20
  27. package/src/components/atoms/animated-wave/animated-wave.styles.d.ts +0 -21
  28. package/src/components/atoms/animated-wave/animated-wave.styles.js +0 -25
  29. package/src/components/atoms/backdrop/backdrop.component.d.ts +0 -7
  30. package/src/components/atoms/backdrop/backdrop.component.tsx +0 -48
  31. package/src/components/atoms/backdrop/backdrop.styles.d.ts +0 -11
  32. package/src/components/atoms/backdrop/backdrop.styles.js +0 -15
  33. package/src/components/atoms/background-gradient/__snapshots__/background-gradient.test.js.snap +0 -40
  34. package/src/components/atoms/background-gradient/background-gradient.component.d.ts +0 -2
  35. package/src/components/atoms/background-gradient/background-gradient.component.tsx +0 -19
  36. package/src/components/atoms/background-gradient/background-gradient.preview.d.ts +0 -2
  37. package/src/components/atoms/background-gradient/background-gradient.preview.tsx +0 -77
  38. package/src/components/atoms/background-gradient/background-gradient.styles.d.ts +0 -8
  39. package/src/components/atoms/background-gradient/background-gradient.styles.js +0 -11
  40. package/src/components/atoms/background-gradient/background-gradient.test.js +0 -10
  41. package/src/components/atoms/calendar/__snapshots__/calendar.test.js.snap +0 -6817
  42. package/src/components/atoms/calendar/calendar.component.d.ts +0 -10
  43. package/src/components/atoms/calendar/calendar.component.tsx +0 -101
  44. package/src/components/atoms/calendar/calendar.preview.d.ts +0 -2
  45. package/src/components/atoms/calendar/calendar.preview.tsx +0 -39
  46. package/src/components/atoms/calendar/calendar.styles.d.ts +0 -81
  47. package/src/components/atoms/calendar/calendar.styles.js +0 -88
  48. package/src/components/atoms/calendar/calendar.test.js +0 -35
  49. package/src/components/atoms/check-switch/__snapshots__/check-switch.test.js.snap +0 -84
  50. package/src/components/atoms/check-switch/check-switch.component.d.ts +0 -7
  51. package/src/components/atoms/check-switch/check-switch.component.tsx +0 -48
  52. package/src/components/atoms/check-switch/check-switch.preview.d.ts +0 -2
  53. package/src/components/atoms/check-switch/check-switch.preview.tsx +0 -31
  54. package/src/components/atoms/check-switch/check-switch.styles.d.ts +0 -33
  55. package/src/components/atoms/check-switch/check-switch.styles.js +0 -36
  56. package/src/components/atoms/check-switch/check-switch.test.js +0 -13
  57. package/src/components/atoms/count/count.component.d.ts +0 -7
  58. package/src/components/atoms/count/count.component.tsx +0 -21
  59. package/src/components/atoms/count/count.preview.d.ts +0 -2
  60. package/src/components/atoms/count/count.preview.tsx +0 -16
  61. package/src/components/atoms/count/count.styles.d.ts +0 -24
  62. package/src/components/atoms/count/count.styles.js +0 -33
  63. package/src/components/atoms/footer/footer.component.d.ts +0 -6
  64. package/src/components/atoms/footer/footer.component.tsx +0 -28
  65. package/src/components/atoms/footer/footer.preview.d.ts +0 -2
  66. package/src/components/atoms/footer/footer.preview.tsx +0 -24
  67. package/src/components/atoms/footer/footer.styles.d.ts +0 -17
  68. package/src/components/atoms/footer/footer.styles.js +0 -18
  69. package/src/components/atoms/heading-components/all-caps-heading/__snapshots__/all-caps-heading.test.js.snap +0 -113
  70. package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.d.ts +0 -3
  71. package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.tsx +0 -28
  72. package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.test.js +0 -44
  73. package/src/components/atoms/heading-components/heading.styles.d.ts +0 -48
  74. package/src/components/atoms/heading-components/heading.styles.js +0 -63
  75. package/src/components/atoms/heading-components/heading1/__snapshots__/heading1.test.js.snap +0 -121
  76. package/src/components/atoms/heading-components/heading1/heading1.component.d.ts +0 -3
  77. package/src/components/atoms/heading-components/heading1/heading1.component.tsx +0 -28
  78. package/src/components/atoms/heading-components/heading1/heading1.test.js +0 -51
  79. package/src/components/atoms/heading-components/heading2/__snapshots__/heading2.test.js.snap +0 -121
  80. package/src/components/atoms/heading-components/heading2/heading2.component.d.ts +0 -3
  81. package/src/components/atoms/heading-components/heading2/heading2.component.tsx +0 -28
  82. package/src/components/atoms/heading-components/heading2/heading2.test.js +0 -51
  83. package/src/components/atoms/heading-components/heading3/__snapshots__/heading3.test.js.snap +0 -121
  84. package/src/components/atoms/heading-components/heading3/heading3.component.d.ts +0 -3
  85. package/src/components/atoms/heading-components/heading3/heading3.component.tsx +0 -28
  86. package/src/components/atoms/heading-components/heading3/heading3.test.js +0 -51
  87. package/src/components/atoms/heading-components/heading4/__snapshots__/heading4.test.js.snap +0 -121
  88. package/src/components/atoms/heading-components/heading4/heading4.component.d.ts +0 -3
  89. package/src/components/atoms/heading-components/heading4/heading4.component.tsx +0 -28
  90. package/src/components/atoms/heading-components/heading4/heading4.test.js +0 -51
  91. package/src/components/atoms/heading-components/headings.preview.d.ts +0 -2
  92. package/src/components/atoms/heading-components/headings.preview.tsx +0 -86
  93. package/src/components/atoms/heading-components/index.d.ts +0 -6
  94. package/src/components/atoms/heading-components/index.tsx +0 -7
  95. package/src/components/atoms/image-bubble/__snapshots__/image-bubble.test.js.snap +0 -67
  96. package/src/components/atoms/image-bubble/image-bubble.component.d.ts +0 -9
  97. package/src/components/atoms/image-bubble/image-bubble.component.tsx +0 -27
  98. package/src/components/atoms/image-bubble/image-bubble.preview.d.ts +0 -2
  99. package/src/components/atoms/image-bubble/image-bubble.preview.tsx +0 -19
  100. package/src/components/atoms/image-bubble/image-bubble.styles.d.ts +0 -35
  101. package/src/components/atoms/image-bubble/image-bubble.styles.js +0 -31
  102. package/src/components/atoms/image-bubble/image-bubble.test.js +0 -20
  103. package/src/components/atoms/increment-input/__snapshots__/increment-input.test.js.snap +0 -269
  104. package/src/components/atoms/increment-input/increment-input.component.d.ts +0 -8
  105. package/src/components/atoms/increment-input/increment-input.component.tsx +0 -63
  106. package/src/components/atoms/increment-input/increment-input.preview.d.ts +0 -2
  107. package/src/components/atoms/increment-input/increment-input.preview.tsx +0 -26
  108. package/src/components/atoms/increment-input/increment-input.styles.d.ts +0 -35
  109. package/src/components/atoms/increment-input/increment-input.styles.js +0 -39
  110. package/src/components/atoms/increment-input/increment-input.test.js +0 -14
  111. package/src/components/atoms/line/line.component.d.ts +0 -9
  112. package/src/components/atoms/line/line.component.tsx +0 -23
  113. package/src/components/atoms/line/line.preview.d.ts +0 -2
  114. package/src/components/atoms/line/line.preview.tsx +0 -55
  115. package/src/components/atoms/line/line.styles.d.ts +0 -12
  116. package/src/components/atoms/line/line.styles.js +0 -10
  117. package/src/components/atoms/logo/__snapshots__/logo.test.js.snap +0 -113
  118. package/src/components/atoms/logo/logo.component.d.ts +0 -7
  119. package/src/components/atoms/logo/logo.component.tsx +0 -39
  120. package/src/components/atoms/logo/logo.preview.d.ts +0 -2
  121. package/src/components/atoms/logo/logo.preview.tsx +0 -15
  122. package/src/components/atoms/logo/logo.test.js +0 -16
  123. package/src/components/atoms/paragraph-components/index.d.ts +0 -4
  124. package/src/components/atoms/paragraph-components/index.tsx +0 -5
  125. package/src/components/atoms/paragraph-components/paragraph/__snapshots__/paragraph.test.js.snap +0 -121
  126. package/src/components/atoms/paragraph-components/paragraph/paragraph.component.d.ts +0 -3
  127. package/src/components/atoms/paragraph-components/paragraph/paragraph.component.tsx +0 -28
  128. package/src/components/atoms/paragraph-components/paragraph/paragraph.test.js +0 -76
  129. package/src/components/atoms/paragraph-components/paragraph-components.preview.d.ts +0 -2
  130. package/src/components/atoms/paragraph-components/paragraph-components.preview.tsx +0 -94
  131. package/src/components/atoms/paragraph-components/paragraph-text.styles.d.ts +0 -30
  132. package/src/components/atoms/paragraph-components/paragraph-text.styles.js +0 -41
  133. package/src/components/atoms/paragraph-components/small-text/__snapshots__/small-text.test.js.snap +0 -121
  134. package/src/components/atoms/paragraph-components/small-text/small-text.component.d.ts +0 -3
  135. package/src/components/atoms/paragraph-components/small-text/small-text.component.tsx +0 -28
  136. package/src/components/atoms/paragraph-components/small-text/small-text.test.js +0 -76
  137. package/src/components/atoms/paragraph-components/tiny-text/__snapshots__/tiny-text.test.js.snap +0 -121
  138. package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.d.ts +0 -3
  139. package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.tsx +0 -28
  140. package/src/components/atoms/paragraph-components/tiny-text/tiny-text.test.js +0 -76
  141. package/src/components/atoms/quick-message/__snapshots__/quick-message.test.js.snap +0 -143
  142. package/src/components/atoms/quick-message/quick-message.component.d.ts +0 -9
  143. package/src/components/atoms/quick-message/quick-message.component.tsx +0 -35
  144. package/src/components/atoms/quick-message/quick-message.preview.d.ts +0 -2
  145. package/src/components/atoms/quick-message/quick-message.preview.tsx +0 -43
  146. package/src/components/atoms/quick-message/quick-message.styles.d.ts +0 -17
  147. package/src/components/atoms/quick-message/quick-message.styles.js +0 -20
  148. package/src/components/atoms/quick-message/quick-message.test.js +0 -58
  149. package/src/components/atoms/split-container/__snapshots__/split-container.test.js.snap +0 -333
  150. package/src/components/atoms/split-container/split-container.component.d.ts +0 -7
  151. package/src/components/atoms/split-container/split-container.component.tsx +0 -27
  152. package/src/components/atoms/split-container/split-container.preview.d.ts +0 -2
  153. package/src/components/atoms/split-container/split-container.preview.tsx +0 -62
  154. package/src/components/atoms/split-container/split-container.styles.d.ts +0 -14
  155. package/src/components/atoms/split-container/split-container.styles.js +0 -19
  156. package/src/components/atoms/split-container/split-container.test.js +0 -45
  157. package/src/components/atoms/static-wave/static-wave.component.d.ts +0 -9
  158. package/src/components/atoms/static-wave/static-wave.component.tsx +0 -46
  159. package/src/components/atoms/static-wave/static-wave.styles.d.ts +0 -14
  160. package/src/components/atoms/static-wave/static-wave.styles.js +0 -14
  161. package/src/components/atoms/text-input/__snapshots__/text-input.test.js.snap +0 -123
  162. package/src/components/atoms/text-input/text-input.component.d.ts +0 -9
  163. package/src/components/atoms/text-input/text-input.component.tsx +0 -30
  164. package/src/components/atoms/text-input/text-input.preview.d.ts +0 -2
  165. package/src/components/atoms/text-input/text-input.preview.tsx +0 -41
  166. package/src/components/atoms/text-input/text-input.styles.d.ts +0 -33
  167. package/src/components/atoms/text-input/text-input.styles.js +0 -29
  168. package/src/components/atoms/text-input/text-input.test.js +0 -59
  169. package/src/components/molecules/amount/amount.component.d.ts +0 -12
  170. package/src/components/molecules/amount/amount.component.tsx +0 -148
  171. package/src/components/molecules/amount/amount.preview.d.ts +0 -2
  172. package/src/components/molecules/amount/amount.preview.tsx +0 -77
  173. package/src/components/molecules/amount/amount.styles.d.ts +0 -36
  174. package/src/components/molecules/amount/amount.styles.js +0 -40
  175. package/src/components/molecules/avatar/__snapshots__/avatar.test.js.snap +0 -97
  176. package/src/components/molecules/avatar/avatar.component.d.ts +0 -15
  177. package/src/components/molecules/avatar/avatar.component.tsx +0 -118
  178. package/src/components/molecules/avatar/avatar.preview.d.ts +0 -2
  179. package/src/components/molecules/avatar/avatar.preview.tsx +0 -82
  180. package/src/components/molecules/avatar/avatar.styles.d.ts +0 -102
  181. package/src/components/molecules/avatar/avatar.styles.js +0 -90
  182. package/src/components/molecules/avatar/avatar.test.js +0 -22
  183. package/src/components/molecules/bare-time-picker/bare-time-picker.component.d.ts +0 -9
  184. package/src/components/molecules/bare-time-picker/bare-time-picker.component.native.tsx +0 -78
  185. package/src/components/molecules/bare-time-picker/bare-time-picker.component.tsx +0 -52
  186. package/src/components/molecules/bare-time-picker/bare-time-picker.preview.d.ts +0 -2
  187. package/src/components/molecules/bare-time-picker/bare-time-picker.preview.tsx +0 -86
  188. package/src/components/molecules/bare-time-picker/bare-time-picker.styles.d.ts +0 -14
  189. package/src/components/molecules/bare-time-picker/bare-time-picker.styles.js +0 -18
  190. package/src/components/molecules/blocked-message/__snapshots__/blocked-message.test.js.snap +0 -107
  191. package/src/components/molecules/blocked-message/blocked-message.component.d.ts +0 -6
  192. package/src/components/molecules/blocked-message/blocked-message.component.tsx +0 -35
  193. package/src/components/molecules/blocked-message/blocked-message.preview.d.ts +0 -2
  194. package/src/components/molecules/blocked-message/blocked-message.preview.tsx +0 -23
  195. package/src/components/molecules/blocked-message/blocked-message.styles.d.ts +0 -22
  196. package/src/components/molecules/blocked-message/blocked-message.styles.js +0 -21
  197. package/src/components/molecules/blocked-message/blocked-message.test.js +0 -12
  198. package/src/components/molecules/button/__snapshots__/button.test.js.snap +0 -652
  199. package/src/components/molecules/button/button.component.d.ts +0 -15
  200. package/src/components/molecules/button/button.component.tsx +0 -77
  201. package/src/components/molecules/button/button.preview.d.ts +0 -2
  202. package/src/components/molecules/button/button.preview.tsx +0 -57
  203. package/src/components/molecules/button/button.styles.d.ts +0 -18
  204. package/src/components/molecules/button/button.styles.js +0 -18
  205. package/src/components/molecules/button/button.test.js +0 -56
  206. package/src/components/molecules/calendar-select/__snapshots__/calendar-select.test.js.snap +0 -343
  207. package/src/components/molecules/calendar-select/calendar-select.component.d.ts +0 -10
  208. package/src/components/molecules/calendar-select/calendar-select.component.tsx +0 -98
  209. package/src/components/molecules/calendar-select/calendar-select.preview.d.ts +0 -2
  210. package/src/components/molecules/calendar-select/calendar-select.preview.tsx +0 -20
  211. package/src/components/molecules/calendar-select/calendar-select.styles.d.ts +0 -33
  212. package/src/components/molecules/calendar-select/calendar-select.styles.js +0 -37
  213. package/src/components/molecules/calendar-select/calendar-select.test.js +0 -20
  214. package/src/components/molecules/cancel-link/__snapshots__/cancel-link.test.js.snap +0 -139
  215. package/src/components/molecules/cancel-link/cancel-link.component.d.ts +0 -7
  216. package/src/components/molecules/cancel-link/cancel-link.component.tsx +0 -27
  217. package/src/components/molecules/cancel-link/cancel-link.preview.d.ts +0 -2
  218. package/src/components/molecules/cancel-link/cancel-link.preview.tsx +0 -20
  219. package/src/components/molecules/cancel-link/cancel-link.styles.d.ts +0 -11
  220. package/src/components/molecules/cancel-link/cancel-link.styles.js +0 -15
  221. package/src/components/molecules/cancel-link/cancel-link.test.js +0 -28
  222. package/src/components/molecules/checkbox/__snapshots__/checkbox.test.js.snap +0 -176
  223. package/src/components/molecules/checkbox/checkbox.component.d.ts +0 -8
  224. package/src/components/molecules/checkbox/checkbox.component.tsx +0 -31
  225. package/src/components/molecules/checkbox/checkbox.preview.d.ts +0 -2
  226. package/src/components/molecules/checkbox/checkbox.preview.tsx +0 -46
  227. package/src/components/molecules/checkbox/checkbox.styles.d.ts +0 -32
  228. package/src/components/molecules/checkbox/checkbox.styles.js +0 -30
  229. package/src/components/molecules/checkbox/checkbox.test.js +0 -30
  230. package/src/components/molecules/contact-role/__snapshots__/contact-role.test.js.snap +0 -113
  231. package/src/components/molecules/contact-role/contact-role.component.d.ts +0 -8
  232. package/src/components/molecules/contact-role/contact-role.component.tsx +0 -37
  233. package/src/components/molecules/contact-role/contact-role.preview.d.ts +0 -2
  234. package/src/components/molecules/contact-role/contact-role.preview.tsx +0 -17
  235. package/src/components/molecules/contact-role/contact-role.styles.d.ts +0 -16
  236. package/src/components/molecules/contact-role/contact-role.styles.js +0 -20
  237. package/src/components/molecules/contact-role/contact-role.test.js +0 -18
  238. package/src/components/molecules/context-label/context-label.component.d.ts +0 -7
  239. package/src/components/molecules/context-label/context-label.component.tsx +0 -37
  240. package/src/components/molecules/context-label/context-label.preview.d.ts +0 -2
  241. package/src/components/molecules/context-label/context-label.preview.tsx +0 -70
  242. package/src/components/molecules/context-label/context-label.styles.d.ts +0 -18
  243. package/src/components/molecules/context-label/context-label.styles.js +0 -21
  244. package/src/components/molecules/date-input/__snapshots__/date-input.test.js.snap +0 -140
  245. package/src/components/molecules/date-input/date-input.component.d.ts +0 -8
  246. package/src/components/molecules/date-input/date-input.component.tsx +0 -32
  247. package/src/components/molecules/date-input/date-input.preview.d.ts +0 -2
  248. package/src/components/molecules/date-input/date-input.preview.tsx +0 -62
  249. package/src/components/molecules/date-input/date-input.styles.d.ts +0 -18
  250. package/src/components/molecules/date-input/date-input.styles.js +0 -22
  251. package/src/components/molecules/date-input/date-input.test.js +0 -23
  252. package/src/components/molecules/day/__snapshots__/day.test.js.snap +0 -263
  253. package/src/components/molecules/day/day.component.d.ts +0 -13
  254. package/src/components/molecules/day/day.component.tsx +0 -69
  255. package/src/components/molecules/day/day.styles.d.ts +0 -35
  256. package/src/components/molecules/day/day.styles.js +0 -27
  257. package/src/components/molecules/day/day.test.js +0 -37
  258. package/src/components/molecules/default-select/__snapshots__/default-select.test.js.snap +0 -140
  259. package/src/components/molecules/default-select/default-select.component.d.ts +0 -7
  260. package/src/components/molecules/default-select/default-select.component.tsx +0 -42
  261. package/src/components/molecules/default-select/default-select.preview.d.ts +0 -2
  262. package/src/components/molecules/default-select/default-select.preview.tsx +0 -34
  263. package/src/components/molecules/default-select/default-select.styles.d.ts +0 -13
  264. package/src/components/molecules/default-select/default-select.styles.js +0 -17
  265. package/src/components/molecules/default-select/default-select.test.js +0 -17
  266. package/src/components/molecules/department_logo/__snapshots__/department-logo.test.js.snap +0 -27
  267. package/src/components/molecules/department_logo/department-logo.component.d.ts +0 -6
  268. package/src/components/molecules/department_logo/department-logo.component.tsx +0 -21
  269. package/src/components/molecules/department_logo/department-logo.preview.d.ts +0 -2
  270. package/src/components/molecules/department_logo/department-logo.preview.tsx +0 -11
  271. package/src/components/molecules/department_logo/department-logo.styles.d.ts +0 -5
  272. package/src/components/molecules/department_logo/department-logo.styles.js +0 -9
  273. package/src/components/molecules/department_logo/department-logo.test.js +0 -12
  274. package/src/components/molecules/failed-to-send/__snapshots__/failed-bubble.test.js.snap +0 -386
  275. package/src/components/molecules/failed-to-send/failed-bubble.component.d.ts +0 -9
  276. package/src/components/molecules/failed-to-send/failed-bubble.component.tsx +0 -101
  277. package/src/components/molecules/failed-to-send/failed-bubble.styles.d.ts +0 -38
  278. package/src/components/molecules/failed-to-send/failed-bubble.styles.js +0 -42
  279. package/src/components/molecules/failed-to-send/failed-bubble.test.js +0 -75
  280. package/src/components/molecules/filter-range/__snapshots__/filter-range.test.js.snap +0 -208
  281. package/src/components/molecules/filter-range/filter-range.component.d.ts +0 -11
  282. package/src/components/molecules/filter-range/filter-range.component.tsx +0 -72
  283. package/src/components/molecules/filter-range/filter-range.preview.d.ts +0 -2
  284. package/src/components/molecules/filter-range/filter-range.preview.tsx +0 -26
  285. package/src/components/molecules/filter-range/filter-range.styles.d.ts +0 -22
  286. package/src/components/molecules/filter-range/filter-range.styles.js +0 -26
  287. package/src/components/molecules/filter-range/filter-range.test.js +0 -20
  288. package/src/components/molecules/filter-tab/__snapshots__/filter-tab.test.js.snap +0 -536
  289. package/src/components/molecules/filter-tab/filter-tab.component.d.ts +0 -11
  290. package/src/components/molecules/filter-tab/filter-tab.component.tsx +0 -108
  291. package/src/components/molecules/filter-tab/filter-tab.preview.d.ts +0 -2
  292. package/src/components/molecules/filter-tab/filter-tab.preview.tsx +0 -80
  293. package/src/components/molecules/filter-tab/filter-tab.styles.d.ts +0 -59
  294. package/src/components/molecules/filter-tab/filter-tab.styles.js +0 -58
  295. package/src/components/molecules/filter-tab/filter-tab.test.js +0 -42
  296. package/src/components/molecules/info/__snapshots__/info.test.js.snap +0 -64
  297. package/src/components/molecules/info/info.component.d.ts +0 -8
  298. package/src/components/molecules/info/info.component.tsx +0 -39
  299. package/src/components/molecules/info/info.preview.d.ts +0 -2
  300. package/src/components/molecules/info/info.preview.tsx +0 -28
  301. package/src/components/molecules/info/info.styles.d.ts +0 -16
  302. package/src/components/molecules/info/info.styles.js +0 -20
  303. package/src/components/molecules/info/info.test.js +0 -18
  304. package/src/components/molecules/inline-error/inline-error.component.d.ts +0 -6
  305. package/src/components/molecules/inline-error/inline-error.component.tsx +0 -34
  306. package/src/components/molecules/inline-error/inline-error.preview.d.ts +0 -2
  307. package/src/components/molecules/inline-error/inline-error.preview.tsx +0 -22
  308. package/src/components/molecules/inline-error/inline-error.styles.d.ts +0 -18
  309. package/src/components/molecules/inline-error/inline-error.styles.js +0 -22
  310. package/src/components/molecules/inline-notice/inline-notice.component.d.ts +0 -6
  311. package/src/components/molecules/inline-notice/inline-notice.component.tsx +0 -31
  312. package/src/components/molecules/inline-notice/inline-notice.preview.tsx +0 -22
  313. package/src/components/molecules/inline-notice/inline-notice.styles.d.ts +0 -18
  314. package/src/components/molecules/inline-notice/inline-notice.styles.js +0 -22
  315. package/src/components/molecules/language-button/__snapshots__/language-button.test.js.snap +0 -129
  316. package/src/components/molecules/language-button/language-button.component.d.ts +0 -8
  317. package/src/components/molecules/language-button/language-button.component.tsx +0 -33
  318. package/src/components/molecules/language-button/language-button.preview.d.ts +0 -2
  319. package/src/components/molecules/language-button/language-button.preview.tsx +0 -29
  320. package/src/components/molecules/language-button/language-button.styles.d.ts +0 -8
  321. package/src/components/molecules/language-button/language-button.styles.js +0 -12
  322. package/src/components/molecules/language-button/language-button.test.js +0 -29
  323. package/src/components/molecules/message-input/__snapshots__/message-input.test.js.snap +0 -611
  324. package/src/components/molecules/message-input/message-input.component.d.ts +0 -9
  325. package/src/components/molecules/message-input/message-input.component.tsx +0 -54
  326. package/src/components/molecules/message-input/message-input.preview.d.ts +0 -2
  327. package/src/components/molecules/message-input/message-input.preview.tsx +0 -54
  328. package/src/components/molecules/message-input/message-input.styles.d.ts +0 -33
  329. package/src/components/molecules/message-input/message-input.styles.js +0 -37
  330. package/src/components/molecules/message-input/message-input.test.js +0 -63
  331. package/src/components/molecules/more-info-button/__snapshots__/more-info-button.test.js.snap +0 -133
  332. package/src/components/molecules/more-info-button/more-info-button.component.d.ts +0 -8
  333. package/src/components/molecules/more-info-button/more-info-button.component.tsx +0 -33
  334. package/src/components/molecules/more-info-button/more-info-button.preview.d.ts +0 -2
  335. package/src/components/molecules/more-info-button/more-info-button.preview.tsx +0 -29
  336. package/src/components/molecules/more-info-button/more-info-button.styles.d.ts +0 -10
  337. package/src/components/molecules/more-info-button/more-info-button.styles.js +0 -15
  338. package/src/components/molecules/more-info-button/more-info-button.test.js +0 -29
  339. package/src/components/molecules/password-input/__snapshots__/password-input.test.js.snap +0 -504
  340. package/src/components/molecules/password-input/password-input.component.d.ts +0 -8
  341. package/src/components/molecules/password-input/password-input.component.tsx +0 -55
  342. package/src/components/molecules/password-input/password-input.preview.d.ts +0 -2
  343. package/src/components/molecules/password-input/password-input.preview.tsx +0 -59
  344. package/src/components/molecules/password-input/password-input.styles.d.ts +0 -29
  345. package/src/components/molecules/password-input/password-input.styles.js +0 -33
  346. package/src/components/molecules/password-input/password-input.test.js +0 -46
  347. package/src/components/molecules/pill/__snapshots__/pill.test.js.snap +0 -226
  348. package/src/components/molecules/pill/pill.component.d.ts +0 -8
  349. package/src/components/molecules/pill/pill.component.tsx +0 -33
  350. package/src/components/molecules/pill/pill.preview.d.ts +0 -2
  351. package/src/components/molecules/pill/pill.preview.tsx +0 -23
  352. package/src/components/molecules/pill/pill.styles.d.ts +0 -32
  353. package/src/components/molecules/pill/pill.styles.js +0 -33
  354. package/src/components/molecules/pill/pill.test.js +0 -42
  355. package/src/components/molecules/pressable-icon/__snapshots__/pressable-icon.test.js.snap +0 -460
  356. package/src/components/molecules/pressable-icon/pressable-icon.component.d.ts +0 -9
  357. package/src/components/molecules/pressable-icon/pressable-icon.component.tsx +0 -50
  358. package/src/components/molecules/pressable-icon/pressable-icon.preview.d.ts +0 -2
  359. package/src/components/molecules/pressable-icon/pressable-icon.preview.tsx +0 -37
  360. package/src/components/molecules/pressable-icon/pressable-icon.styles.d.ts +0 -20
  361. package/src/components/molecules/pressable-icon/pressable-icon.styles.js +0 -25
  362. package/src/components/molecules/pressable-icon/pressable-icon.test.js +0 -51
  363. package/src/components/molecules/quick-filter/__snapshots__/quick-filter.test.js.snap +0 -557
  364. package/src/components/molecules/quick-filter/quick-filter.component.d.ts +0 -12
  365. package/src/components/molecules/quick-filter/quick-filter.component.tsx +0 -50
  366. package/src/components/molecules/quick-filter/quick-filter.preview.d.ts +0 -2
  367. package/src/components/molecules/quick-filter/quick-filter.preview.tsx +0 -57
  368. package/src/components/molecules/quick-filter/quick-filter.styles.d.ts +0 -35
  369. package/src/components/molecules/quick-filter/quick-filter.styles.js +0 -49
  370. package/src/components/molecules/quick-filter/quick-filter.test.js +0 -134
  371. package/src/components/molecules/search-input/__snapshots__/search.test.js.snap +0 -145
  372. package/src/components/molecules/search-input/search.component.d.ts +0 -10
  373. package/src/components/molecules/search-input/search.component.tsx +0 -50
  374. package/src/components/molecules/search-input/search.preview.d.ts +0 -2
  375. package/src/components/molecules/search-input/search.preview.tsx +0 -26
  376. package/src/components/molecules/search-input/search.styles.d.ts +0 -33
  377. package/src/components/molecules/search-input/search.styles.js +0 -38
  378. package/src/components/molecules/search-input/search.test.js +0 -22
  379. package/src/components/molecules/select-link/__snapshots__/select-link.test.js.snap +0 -70
  380. package/src/components/molecules/select-link/select-link.component.d.ts +0 -7
  381. package/src/components/molecules/select-link/select-link.component.tsx +0 -29
  382. package/src/components/molecules/select-link/select-link.preview.d.ts +0 -2
  383. package/src/components/molecules/select-link/select-link.preview.tsx +0 -20
  384. package/src/components/molecules/select-link/select-link.styles.d.ts +0 -11
  385. package/src/components/molecules/select-link/select-link.styles.js +0 -15
  386. package/src/components/molecules/select-link/select-link.test.js +0 -17
  387. package/src/components/molecules/select-list-item/__snapshots__/select-list-item.test.js.snap +0 -762
  388. package/src/components/molecules/select-list-item/select-list-item-preview.d.ts +0 -2
  389. package/src/components/molecules/select-list-item/select-list-item-preview.tsx +0 -40
  390. package/src/components/molecules/select-list-item/select-list-item.component.d.ts +0 -12
  391. package/src/components/molecules/select-list-item/select-list-item.component.tsx +0 -82
  392. package/src/components/molecules/select-list-item/select-list-item.styles.d.ts +0 -41
  393. package/src/components/molecules/select-list-item/select-list-item.styles.js +0 -43
  394. package/src/components/molecules/select-list-item/select-list-item.test.js +0 -38
  395. package/src/components/molecules/select-picker/__snapshots__/select-picker.test.js.snap +0 -407
  396. package/src/components/molecules/select-picker/select-picker.component.d.ts +0 -12
  397. package/src/components/molecules/select-picker/select-picker.component.tsx +0 -75
  398. package/src/components/molecules/select-picker/select-picker.preview.d.ts +0 -2
  399. package/src/components/molecules/select-picker/select-picker.preview.tsx +0 -63
  400. package/src/components/molecules/select-picker/select-picker.styles.d.ts +0 -32
  401. package/src/components/molecules/select-picker/select-picker.styles.js +0 -38
  402. package/src/components/molecules/select-picker/select-picker.test.js +0 -31
  403. package/src/components/molecules/selectable-list-item/selectable-list-item-preview.d.ts +0 -2
  404. package/src/components/molecules/selectable-list-item/selectable-list-item-preview.tsx +0 -51
  405. package/src/components/molecules/selectable-list-item/selectable-list-item.component.d.ts +0 -11
  406. package/src/components/molecules/selectable-list-item/selectable-list-item.component.tsx +0 -73
  407. package/src/components/molecules/selectable-list-item/selectable-list-item.styles.d.ts +0 -32
  408. package/src/components/molecules/selectable-list-item/selectable-list-item.styles.js +0 -34
  409. package/src/components/molecules/send-bubble/__snapshots__/send-text-bubble.test.js.snap +0 -1979
  410. package/src/components/molecules/send-bubble/send-text-bubble.component.d.ts +0 -11
  411. package/src/components/molecules/send-bubble/send-text-bubble.component.tsx +0 -104
  412. package/src/components/molecules/send-bubble/send-text-bubble.styles.d.ts +0 -60
  413. package/src/components/molecules/send-bubble/send-text-bubble.styles.js +0 -50
  414. package/src/components/molecules/send-bubble/send-text-bubble.test.js +0 -156
  415. package/src/components/molecules/snackbar/__snapshots__/snackbar.test.js.snap +0 -557
  416. package/src/components/molecules/snackbar/snackbar.component.d.ts +0 -8
  417. package/src/components/molecules/snackbar/snackbar.component.tsx +0 -65
  418. package/src/components/molecules/snackbar/snackbar.preview.d.ts +0 -2
  419. package/src/components/molecules/snackbar/snackbar.preview.tsx +0 -40
  420. package/src/components/molecules/snackbar/snackbar.styles.d.ts +0 -57
  421. package/src/components/molecules/snackbar/snackbar.styles.js +0 -54
  422. package/src/components/molecules/snackbar/snackbar.test.js +0 -35
  423. package/src/components/molecules/swipe/__snapshots__/swipe.test.js.snap +0 -340
  424. package/src/components/molecules/swipe/swipe.component.d.ts +0 -7
  425. package/src/components/molecules/swipe/swipe.component.native.tsx +0 -78
  426. package/src/components/molecules/swipe/swipe.component.tsx +0 -20
  427. package/src/components/molecules/swipe/swipe.preview.d.ts +0 -2
  428. package/src/components/molecules/swipe/swipe.preview.tsx +0 -123
  429. package/src/components/molecules/swipe/swipe.styles.d.ts +0 -28
  430. package/src/components/molecules/swipe/swipe.styles.js +0 -32
  431. package/src/components/molecules/swipe/swipe.test.js +0 -46
  432. package/src/components/molecules/swipeable/swipeable-action.component.d.ts +0 -10
  433. package/src/components/molecules/swipeable/swipeable-action.component.tsx +0 -57
  434. package/src/components/molecules/swipeable/swipeable-action.styles.d.ts +0 -12
  435. package/src/components/molecules/swipeable/swipeable-action.styles.js +0 -20
  436. package/src/components/molecules/swipeable/swipeable-container.component.d.ts +0 -14
  437. package/src/components/molecules/swipeable/swipeable-container.component.tsx +0 -69
  438. package/src/components/molecules/swipeable/swipeable-container.styles.d.ts +0 -9
  439. package/src/components/molecules/swipeable/swipeable-container.styles.js +0 -14
  440. package/src/components/molecules/tag/__snapshots__/tag.test.js.snap +0 -139
  441. package/src/components/molecules/tag/tag.component.d.ts +0 -9
  442. package/src/components/molecules/tag/tag.component.tsx +0 -39
  443. package/src/components/molecules/tag/tag.preview.d.ts +0 -2
  444. package/src/components/molecules/tag/tag.preview.tsx +0 -85
  445. package/src/components/molecules/tag/tag.styles.d.ts +0 -19
  446. package/src/components/molecules/tag/tag.styles.js +0 -19
  447. package/src/components/molecules/tag/tag.test.js +0 -34
  448. package/src/components/molecules/time-picker/__snapshots__/time-picker.test.js.snap +0 -2221
  449. package/src/components/molecules/time-picker/time-picker.component.d.ts +0 -9
  450. package/src/components/molecules/time-picker/time-picker.component.tsx +0 -98
  451. package/src/components/molecules/time-picker/time-picker.preview.d.ts +0 -2
  452. package/src/components/molecules/time-picker/time-picker.preview.tsx +0 -109
  453. package/src/components/molecules/time-picker/time-picker.styles.d.ts +0 -27
  454. package/src/components/molecules/time-picker/time-picker.styles.js +0 -31
  455. package/src/components/molecules/time-picker/time-picker.test.js +0 -18
  456. package/src/components/molecules/time-tracker/__snapshots__/time-tracker.test.js.snap +0 -266
  457. package/src/components/molecules/time-tracker/time-tracker.component.d.ts +0 -9
  458. package/src/components/molecules/time-tracker/time-tracker.component.tsx +0 -30
  459. package/src/components/molecules/time-tracker/time-tracker.preview.d.ts +0 -2
  460. package/src/components/molecules/time-tracker/time-tracker.preview.tsx +0 -15
  461. package/src/components/molecules/time-tracker/time-tracker.styles.d.ts +0 -33
  462. package/src/components/molecules/time-tracker/time-tracker.styles.js +0 -32
  463. package/src/components/molecules/time-tracker/time-tracker.test.js +0 -36
  464. package/src/components/molecules/timeline/__snapshots__/timeline.test.js.snap +0 -257
  465. package/src/components/molecules/timeline/timeline.component.d.ts +0 -7
  466. package/src/components/molecules/timeline/timeline.component.tsx +0 -69
  467. package/src/components/molecules/timeline/timeline.preview.d.ts +0 -2
  468. package/src/components/molecules/timeline/timeline.preview.tsx +0 -32
  469. package/src/components/molecules/timeline/timeline.styles.d.ts +0 -61
  470. package/src/components/molecules/timeline/timeline.styles.js +0 -46
  471. package/src/components/molecules/timeline/timeline.test.js +0 -18
  472. package/src/components/molecules/timestamp/__snapshots__/timestamp.test.js.snap +0 -28
  473. package/src/components/molecules/timestamp/timestamp.component.d.ts +0 -8
  474. package/src/components/molecules/timestamp/timestamp.component.tsx +0 -30
  475. package/src/components/molecules/timestamp/timestamp.styles.d.ts +0 -5
  476. package/src/components/molecules/timestamp/timestamp.styles.js +0 -8
  477. package/src/components/molecules/timestamp/timestamp.test.js +0 -16
  478. package/src/components/molecules/wave-background/__snapshots__/wave.test.js.snap +0 -173
  479. package/src/components/molecules/wave-background/wave.component.d.ts +0 -3
  480. package/src/components/molecules/wave-background/wave.component.tsx +0 -35
  481. package/src/components/molecules/wave-background/wave.preview.d.ts +0 -2
  482. package/src/components/molecules/wave-background/wave.preview.tsx +0 -78
  483. package/src/components/molecules/wave-background/wave.styles.d.ts +0 -13
  484. package/src/components/molecules/wave-background/wave.styles.js +0 -13
  485. package/src/components/molecules/wave-background/wave.test.js +0 -25
  486. package/src/components/molecules/wide-button/__snapshots__/wide-button.test.js.snap +0 -269
  487. package/src/components/molecules/wide-button/wide-button.component.d.ts +0 -9
  488. package/src/components/molecules/wide-button/wide-button.component.tsx +0 -39
  489. package/src/components/molecules/wide-button/wide-button.preview.d.ts +0 -2
  490. package/src/components/molecules/wide-button/wide-button.preview.tsx +0 -28
  491. package/src/components/molecules/wide-button/wide-button.styles.d.ts +0 -15
  492. package/src/components/molecules/wide-button/wide-button.styles.js +0 -19
  493. package/src/components/molecules/wide-button/wide-button.test.js +0 -30
  494. package/src/components/organisms/child-list-item/__snapshots__/child-list-item.test.js.snap +0 -1040
  495. package/src/components/organisms/child-list-item/child-list-item.component.d.ts +0 -23
  496. package/src/components/organisms/child-list-item/child-list-item.component.tsx +0 -166
  497. package/src/components/organisms/child-list-item/child-list-item.preview.d.ts +0 -2
  498. package/src/components/organisms/child-list-item/child-list-item.preview.tsx +0 -141
  499. package/src/components/organisms/child-list-item/child-list-item.styles.d.ts +0 -57
  500. package/src/components/organisms/child-list-item/child-list-item.styles.js +0 -61
  501. package/src/components/organisms/child-list-item/child-list-item.test.js +0 -75
  502. package/src/components/organisms/child-list-item/components/child-list-tag.component.d.ts +0 -7
  503. package/src/components/organisms/child-list-item/components/child-list-tag.component.tsx +0 -28
  504. package/src/components/organisms/child-list-item/components/child-list-tag.styles.d.ts +0 -13
  505. package/src/components/organisms/child-list-item/components/child-list-tag.styles.js +0 -16
  506. package/src/components/organisms/contact-item/__snapshots__/contact-item.test.js.snap +0 -404
  507. package/src/components/organisms/contact-item/contact-item.component.d.ts +0 -10
  508. package/src/components/organisms/contact-item/contact-item.component.tsx +0 -85
  509. package/src/components/organisms/contact-item/contact-item.preview.d.ts +0 -2
  510. package/src/components/organisms/contact-item/contact-item.preview.tsx +0 -38
  511. package/src/components/organisms/contact-item/contact-item.styles.d.ts +0 -22
  512. package/src/components/organisms/contact-item/contact-item.styles.js +0 -27
  513. package/src/components/organisms/contact-item/contact-item.test.js +0 -22
  514. package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.component.d.ts +0 -7
  515. package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.component.tsx +0 -96
  516. package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.styles.d.ts +0 -13
  517. package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.styles.js +0 -17
  518. package/src/components/organisms/journal-entry/components/index.d.ts +0 -2
  519. package/src/components/organisms/journal-entry/components/index.ts +0 -2
  520. package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.d.ts +0 -11
  521. package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.tsx +0 -63
  522. package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.styles.d.ts +0 -13
  523. package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.styles.js +0 -16
  524. package/src/components/organisms/journal-entry/journal-entry.component.d.ts +0 -20
  525. package/src/components/organisms/journal-entry/journal-entry.component.tsx +0 -134
  526. package/src/components/organisms/journal-entry/journal-entry.preview.d.ts +0 -2
  527. package/src/components/organisms/journal-entry/journal-entry.preview.tsx +0 -214
  528. package/src/components/organisms/journal-entry/journal-entry.styles.d.ts +0 -26
  529. package/src/components/organisms/journal-entry/journal-entry.styles.js +0 -27
  530. package/src/components/organisms/loading-indicator/__snapshots__/loading-indicator.test.js.snap +0 -474
  531. package/src/components/organisms/loading-indicator/animation-style.animate.d.ts +0 -3
  532. package/src/components/organisms/loading-indicator/animation-style.animate.ts +0 -164
  533. package/src/components/organisms/loading-indicator/container.component.d.ts +0 -1
  534. package/src/components/organisms/loading-indicator/container.component.tsx +0 -65
  535. package/src/components/organisms/loading-indicator/dot.component.d.ts +0 -6
  536. package/src/components/organisms/loading-indicator/dot.component.tsx +0 -27
  537. package/src/components/organisms/loading-indicator/loading-indicator.component.d.ts +0 -2
  538. package/src/components/organisms/loading-indicator/loading-indicator.component.tsx +0 -21
  539. package/src/components/organisms/loading-indicator/loading-indicator.preview.d.ts +0 -2
  540. package/src/components/organisms/loading-indicator/loading-indicator.preview.tsx +0 -100
  541. package/src/components/organisms/loading-indicator/loading-indicator.test.js +0 -41
  542. package/src/components/organisms/my-child-list-item/__snapshots__/my-child-list-item.test.js.snap +0 -293
  543. package/src/components/organisms/my-child-list-item/my-child-list-item.component.d.ts +0 -13
  544. package/src/components/organisms/my-child-list-item/my-child-list-item.component.tsx +0 -61
  545. package/src/components/organisms/my-child-list-item/my-child-list-item.preview.d.ts +0 -2
  546. package/src/components/organisms/my-child-list-item/my-child-list-item.preview.tsx +0 -51
  547. package/src/components/organisms/my-child-list-item/my-child-list-item.styles.d.ts +0 -33
  548. package/src/components/organisms/my-child-list-item/my-child-list-item.styles.js +0 -37
  549. package/src/components/organisms/my-child-list-item/my-child-list-item.test.js +0 -23
  550. package/src/components/organisms/person-info-card/__snapshots__/person-info-card.test.js.snap +0 -709
  551. package/src/components/organisms/person-info-card/person-info-card.component.d.ts +0 -15
  552. package/src/components/organisms/person-info-card/person-info-card.component.tsx +0 -45
  553. package/src/components/organisms/person-info-card/person-info-card.preview.d.ts +0 -2
  554. package/src/components/organisms/person-info-card/person-info-card.preview.tsx +0 -75
  555. package/src/components/organisms/person-info-card/person-info-card.styles.d.ts +0 -6
  556. package/src/components/organisms/person-info-card/person-info-card.styles.js +0 -10
  557. package/src/components/organisms/person-info-card/person-info-card.test.js +0 -85
  558. package/src/components/organisms/text-bubble/__snapshots__/text-bubble.test.js.snap +0 -3046
  559. package/src/components/organisms/text-bubble/text-bubble.component.d.ts +0 -15
  560. package/src/components/organisms/text-bubble/text-bubble.component.tsx +0 -71
  561. package/src/components/organisms/text-bubble/text-bubble.preview.d.ts +0 -2
  562. package/src/components/organisms/text-bubble/text-bubble.preview.tsx +0 -85
  563. package/src/components/organisms/text-bubble/text-bubble.styles.d.ts +0 -16
  564. package/src/components/organisms/text-bubble/text-bubble.styles.js +0 -20
  565. package/src/components/organisms/text-bubble/text-bubble.test.js +0 -144
  566. package/src/components/organisms/timetable-edit/timetable-edit.component.d.ts +0 -17
  567. package/src/components/organisms/timetable-edit/timetable-edit.component.tsx +0 -97
  568. package/src/components/organisms/timetable-edit/timetable-edit.preview.d.ts +0 -2
  569. package/src/components/organisms/timetable-edit/timetable-edit.preview.tsx +0 -84
  570. package/src/components/organisms/timetable-edit/timetable-edit.styles.d.ts +0 -21
  571. package/src/components/organisms/timetable-edit/timetable-edit.styles.js +0 -25
  572. package/src/components/organisms/timetable-editor/components/timetable-edit-wrapper.d.ts +0 -12
  573. package/src/components/organisms/timetable-editor/components/timetable-edit-wrapper.tsx +0 -70
  574. package/src/components/organisms/timetable-editor/timetable-editor-staff.component.d.ts +0 -8
  575. package/src/components/organisms/timetable-editor/timetable-editor-staff.component.tsx +0 -72
  576. package/src/components/organisms/timetable-editor/timetable-editor.component.d.ts +0 -8
  577. package/src/components/organisms/timetable-editor/timetable-editor.component.tsx +0 -84
  578. package/src/components/organisms/timetable-editor/timetable-editor.preview.d.ts +0 -2
  579. package/src/components/organisms/timetable-editor/timetable-editor.preview.tsx +0 -53
  580. package/src/components/organisms/timetable-editor/timetable-editor.styles.d.ts +0 -8
  581. package/src/components/organisms/timetable-editor/timetable-editor.styles.js +0 -12
  582. package/src/components/templates/modal/components/fade-panel.component.d.ts +0 -11
  583. package/src/components/templates/modal/components/fade-panel.component.tsx +0 -53
  584. package/src/components/templates/modal/components/fade-panel.styles.d.ts +0 -18
  585. package/src/components/templates/modal/components/fade-panel.styles.js +0 -19
  586. package/src/components/templates/modal/modal-preview.styles.d.ts +0 -13
  587. package/src/components/templates/modal/modal-preview.styles.js +0 -17
  588. package/src/components/templates/modal/modal.component.d.ts +0 -10
  589. package/src/components/templates/modal/modal.component.tsx +0 -53
  590. package/src/components/templates/modal/modal.preview.d.ts +0 -2
  591. package/src/components/templates/modal/modal.preview.tsx +0 -48
  592. package/src/components/templates/modal/modal.styles.d.ts +0 -23
  593. package/src/components/templates/modal/modal.styles.js +0 -28
  594. package/src/components/templates/popover/components/foreground/foreground.component.d.ts +0 -7
  595. package/src/components/templates/popover/components/foreground/foreground.component.tsx +0 -15
  596. package/src/components/templates/popover/components/foreground/foreground.styles.d.ts +0 -12
  597. package/src/components/templates/popover/components/foreground/foreground.styles.js +0 -17
  598. package/src/components/templates/popover/components/index.d.ts +0 -4
  599. package/src/components/templates/popover/components/index.js +0 -5
  600. package/src/components/templates/popover/components/modal/close/close.component.d.ts +0 -7
  601. package/src/components/templates/popover/components/modal/close/close.component.tsx +0 -28
  602. package/src/components/templates/popover/components/modal/close/close.styles.d.ts +0 -10
  603. package/src/components/templates/popover/components/modal/close/close.styles.js +0 -16
  604. package/src/components/templates/popover/components/modal/heading/heading.component.d.ts +0 -7
  605. package/src/components/templates/popover/components/modal/heading/heading.component.tsx +0 -35
  606. package/src/components/templates/popover/components/modal/heading/heading.styles.d.ts +0 -14
  607. package/src/components/templates/popover/components/modal/heading/heading.styles.js +0 -19
  608. package/src/components/templates/popover/components/modal/modal.component.d.ts +0 -12
  609. package/src/components/templates/popover/components/modal/modal.component.tsx +0 -92
  610. package/src/components/templates/popover/components/modal/modal.styles.d.ts +0 -19
  611. package/src/components/templates/popover/components/modal/modal.styles.js +0 -24
  612. package/src/components/templates/popover/components/modal/scroll-content/scroll-content.component.d.ts +0 -6
  613. package/src/components/templates/popover/components/modal/scroll-content/scroll-content.component.tsx +0 -20
  614. package/src/components/templates/popover/components/modal/scroll-content/scroll-content.styles.d.ts +0 -6
  615. package/src/components/templates/popover/components/modal/scroll-content/scroll-content.styles.js +0 -10
  616. package/src/components/templates/popover/popover.component.d.ts +0 -11
  617. package/src/components/templates/popover/popover.component.tsx +0 -67
  618. package/src/components/templates/popover/popover.preview.d.ts +0 -2
  619. package/src/components/templates/popover/popover.preview.tsx +0 -99
  620. package/src/components/templates/popover/popover.styles.d.ts +0 -11
  621. package/src/components/templates/popover/popover.styles.js +0 -15
  622. package/src/components/templates/popover-action/popover-action.component.d.ts +0 -12
  623. package/src/components/templates/popover-action/popover-action.component.tsx +0 -127
  624. package/src/components/templates/popover-action/popover-action.preview.d.ts +0 -2
  625. package/src/components/templates/popover-action/popover-action.preview.tsx +0 -142
  626. package/src/components/templates/popover-action/popover-action.styles.d.ts +0 -28
  627. package/src/components/templates/popover-action/popover-action.styles.js +0 -33
  628. package/src/context/loading-dots.context.d.ts +0 -8
  629. package/src/context/loading-dots.context.tsx +0 -33
  630. package/src/context/theme.context.d.ts +0 -74
  631. package/src/context/theme.context.ts +0 -77
  632. package/src/gradients/main/main.gradient.d.ts +0 -6
  633. package/src/gradients/main/main.gradient.tsx +0 -29
  634. package/src/gradients/main/main.styles.d.ts +0 -9
  635. package/src/gradients/main/main.styles.js +0 -11
  636. package/src/hooks/use-debounce.d.ts +0 -1
  637. package/src/hooks/use-debounce.ts +0 -15
  638. package/src/icons/__snapshots__/icons.test.js.snap +0 -3152
  639. package/src/icons/crown.icon.d.ts +0 -2
  640. package/src/icons/crown.icon.tsx +0 -29
  641. package/src/icons/icons.test.js +0 -328
  642. package/src/icons/index.d.ts +0 -3
  643. package/src/icons/index.tsx +0 -16
  644. package/src/icons/outline/calendar/calendar.icon.d.ts +0 -3
  645. package/src/icons/outline/calendar/calendar.icon.tsx +0 -24
  646. package/src/icons/outline/chat/chat.icon.d.ts +0 -3
  647. package/src/icons/outline/chat/chat.icon.tsx +0 -24
  648. package/src/icons/outline/chat-alt/chat-alt.icon.d.ts +0 -3
  649. package/src/icons/outline/chat-alt/chat-alt.icon.tsx +0 -24
  650. package/src/icons/outline/check-circle/check-circle.icon.d.ts +0 -3
  651. package/src/icons/outline/check-circle/check-circle.icon.tsx +0 -24
  652. package/src/icons/outline/chevron-left/chevron-left.icon.d.ts +0 -3
  653. package/src/icons/outline/chevron-left/chevron-left.icon.tsx +0 -24
  654. package/src/icons/outline/chevron-right/chevron-right.icon.d.ts +0 -3
  655. package/src/icons/outline/chevron-right/chevron-right.icon.tsx +0 -24
  656. package/src/icons/outline/clock/clock.icon.d.ts +0 -3
  657. package/src/icons/outline/clock/clock.icon.tsx +0 -24
  658. package/src/icons/outline/cloud-download/cloud-download.icon.d.ts +0 -3
  659. package/src/icons/outline/cloud-download/cloud-download.icon.tsx +0 -24
  660. package/src/icons/outline/currency-euro/currency-euro.icon.d.ts +0 -3
  661. package/src/icons/outline/currency-euro/currency-euro.icon.tsx +0 -24
  662. package/src/icons/outline/document-text/document-text.icon.d.ts +0 -3
  663. package/src/icons/outline/document-text/document-text.icon.tsx +0 -21
  664. package/src/icons/outline/exclamation/exclamation.icon.d.ts +0 -3
  665. package/src/icons/outline/exclamation/exclamation.icon.tsx +0 -21
  666. package/src/icons/outline/exclamation-circle/exclamation-circle.icon.d.ts +0 -3
  667. package/src/icons/outline/exclamation-circle/exclamation-circle.icon.tsx +0 -24
  668. package/src/icons/outline/eye/eye.icon.d.ts +0 -3
  669. package/src/icons/outline/eye/eye.icon.tsx +0 -28
  670. package/src/icons/outline/eye-off/eye-off.icon.d.ts +0 -3
  671. package/src/icons/outline/eye-off/eye-off.icon.tsx +0 -21
  672. package/src/icons/outline/filter/filter.icon.d.ts +0 -3
  673. package/src/icons/outline/filter/filter.icon.tsx +0 -22
  674. package/src/icons/outline/information-circle/information-circle.icon.d.ts +0 -3
  675. package/src/icons/outline/information-circle/information-circle.icon.tsx +0 -24
  676. package/src/icons/outline/logout/logout.icon.d.ts +0 -3
  677. package/src/icons/outline/logout/logout.icon.tsx +0 -27
  678. package/src/icons/outline/mail/mail.icon.d.ts +0 -3
  679. package/src/icons/outline/mail/mail.icon.tsx +0 -24
  680. package/src/icons/outline/mail-open/mail-open.icon.d.ts +0 -3
  681. package/src/icons/outline/mail-open/mail-open.icon.tsx +0 -24
  682. package/src/icons/outline/menu/menu.icon.d.ts +0 -3
  683. package/src/icons/outline/menu/menu.icon.tsx +0 -24
  684. package/src/icons/outline/minus-sm/minus-sm.icon.d.ts +0 -3
  685. package/src/icons/outline/minus-sm/minus-sm.icon.tsx +0 -24
  686. package/src/icons/outline/office-building/office-building.icon.d.ts +0 -3
  687. package/src/icons/outline/office-building/office-building.icon.tsx +0 -24
  688. package/src/icons/outline/outline-default.preview.d.ts +0 -2
  689. package/src/icons/outline/outline-default.preview.tsx +0 -115
  690. package/src/icons/outline/outline-grey.preview.d.ts +0 -2
  691. package/src/icons/outline/outline-grey.preview.tsx +0 -117
  692. package/src/icons/outline/outline-white.preview.d.ts +0 -2
  693. package/src/icons/outline/outline-white.preview.tsx +0 -121
  694. package/src/icons/outline/outline.d.ts +0 -2
  695. package/src/icons/outline/outline.tsx +0 -146
  696. package/src/icons/outline/paper-airplane/paper-airplane.icon.d.ts +0 -3
  697. package/src/icons/outline/paper-airplane/paper-airplane.icon.tsx +0 -30
  698. package/src/icons/outline/paperclip/paperclip.icon.d.ts +0 -3
  699. package/src/icons/outline/paperclip/paperclip.icon.tsx +0 -24
  700. package/src/icons/outline/pencil/pencil.icon.d.ts +0 -3
  701. package/src/icons/outline/pencil/pencil.icon.tsx +0 -24
  702. package/src/icons/outline/phone/phone.icon.d.ts +0 -3
  703. package/src/icons/outline/phone/phone.icon.tsx +0 -24
  704. package/src/icons/outline/photograph/photograph.icon.d.ts +0 -3
  705. package/src/icons/outline/photograph/photograph.icon.tsx +0 -24
  706. package/src/icons/outline/plus/plus.icon.d.ts +0 -3
  707. package/src/icons/outline/plus/plus.icon.tsx +0 -24
  708. package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +0 -3
  709. package/src/icons/outline/plus-sm/plus-sm.icon.tsx +0 -21
  710. package/src/icons/outline/qrcode/qrcode.icon.d.ts +0 -3
  711. package/src/icons/outline/qrcode/qrcode.icon.tsx +0 -18
  712. package/src/icons/outline/refresh/refresh.icon.d.ts +0 -3
  713. package/src/icons/outline/refresh/refresh.icon.tsx +0 -24
  714. package/src/icons/outline/search/search.icon.d.ts +0 -3
  715. package/src/icons/outline/search/search.icon.tsx +0 -24
  716. package/src/icons/outline/selector/selector.icon.d.ts +0 -3
  717. package/src/icons/outline/selector/selector.icon.tsx +0 -24
  718. package/src/icons/outline/share/share.icon.d.ts +0 -3
  719. package/src/icons/outline/share/share.icon.tsx +0 -24
  720. package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.d.ts +0 -3
  721. package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.tsx +0 -24
  722. package/src/icons/outline/status-online/status-online.icon.d.ts +0 -3
  723. package/src/icons/outline/status-online/status-online.icon.tsx +0 -24
  724. package/src/icons/outline/thumb-up/thumb-up.icon.d.ts +0 -3
  725. package/src/icons/outline/thumb-up/thumb-up.icon.tsx +0 -24
  726. package/src/icons/outline/trash/trash.icon.d.ts +0 -3
  727. package/src/icons/outline/trash/trash.icon.tsx +0 -24
  728. package/src/icons/outline/user/user.icon.d.ts +0 -3
  729. package/src/icons/outline/user/user.icon.tsx +0 -33
  730. package/src/icons/outline/user-group/user-group.icon.d.ts +0 -3
  731. package/src/icons/outline/user-group/user-group.icon.tsx +0 -24
  732. package/src/icons/outline/users/users.icon.d.ts +0 -3
  733. package/src/icons/outline/users/users.icon.tsx +0 -24
  734. package/src/icons/outline/xmark/xmark.icon.d.ts +0 -3
  735. package/src/icons/outline/xmark/xmark.icon.tsx +0 -24
  736. package/src/icons/solid/calendar/calendar.icon.d.ts +0 -3
  737. package/src/icons/solid/calendar/calendar.icon.tsx +0 -21
  738. package/src/icons/solid/chat/chat.icon.d.ts +0 -3
  739. package/src/icons/solid/chat/chat.icon.tsx +0 -21
  740. package/src/icons/solid/chat-alt/chat-alt-solid.icon.d.ts +0 -3
  741. package/src/icons/solid/chat-alt/chat-alt-solid.icon.tsx +0 -21
  742. package/src/icons/solid/check-circle/check-circle.icon.d.ts +0 -3
  743. package/src/icons/solid/check-circle/check-circle.icon.tsx +0 -21
  744. package/src/icons/solid/chevron-left/chevron-left.icon.d.ts +0 -3
  745. package/src/icons/solid/chevron-left/chevron-left.icon.tsx +0 -21
  746. package/src/icons/solid/chevron-right/chevron-right.icon.d.ts +0 -3
  747. package/src/icons/solid/chevron-right/chevron-right.icon.tsx +0 -21
  748. package/src/icons/solid/clock/clock-solid.icon.d.ts +0 -3
  749. package/src/icons/solid/clock/clock-solid.icon.tsx +0 -22
  750. package/src/icons/solid/cloud-download/cloud-download.icon.d.ts +0 -3
  751. package/src/icons/solid/cloud-download/cloud-download.icon.tsx +0 -21
  752. package/src/icons/solid/currency-euro/currency-euro.icon.d.ts +0 -3
  753. package/src/icons/solid/currency-euro/currency-euro.icon.tsx +0 -21
  754. package/src/icons/solid/document-text/document-text-solid.icon.d.ts +0 -3
  755. package/src/icons/solid/document-text/document-text-solid.icon.tsx +0 -22
  756. package/src/icons/solid/exclamation/exclamation.icon.d.ts +0 -3
  757. package/src/icons/solid/exclamation/exclamation.icon.tsx +0 -20
  758. package/src/icons/solid/exclamation-circle/exclamation-circle.icon.d.ts +0 -3
  759. package/src/icons/solid/exclamation-circle/exclamation-circle.icon.tsx +0 -23
  760. package/src/icons/solid/eye/eye.icon.d.ts +0 -3
  761. package/src/icons/solid/eye/eye.icon.tsx +0 -24
  762. package/src/icons/solid/eye-off/eye-off.icon.d.ts +0 -3
  763. package/src/icons/solid/eye-off/eye-off.icon.tsx +0 -24
  764. package/src/icons/solid/filter/filter.icon.d.ts +0 -3
  765. package/src/icons/solid/filter/filter.icon.tsx +0 -21
  766. package/src/icons/solid/information-circle/information-circle-solid.icon.d.ts +0 -3
  767. package/src/icons/solid/information-circle/information-circle-solid.icon.tsx +0 -25
  768. package/src/icons/solid/logout/logout.icon.d.ts +0 -3
  769. package/src/icons/solid/logout/logout.icon.tsx +0 -26
  770. package/src/icons/solid/mail/mail.icon.d.ts +0 -3
  771. package/src/icons/solid/mail/mail.icon.tsx +0 -23
  772. package/src/icons/solid/mail-open/mail-open.icon.d.ts +0 -3
  773. package/src/icons/solid/mail-open/mail-open.icon.tsx +0 -21
  774. package/src/icons/solid/menu/menu.icon.d.ts +0 -3
  775. package/src/icons/solid/menu/menu.icon.tsx +0 -33
  776. package/src/icons/solid/minus-sm/minus-sm.icon.d.ts +0 -3
  777. package/src/icons/solid/minus-sm/minus-sm.icon.tsx +0 -21
  778. package/src/icons/solid/office-building/office-building.icon.d.ts +0 -3
  779. package/src/icons/solid/office-building/office-building.icon.tsx +0 -21
  780. package/src/icons/solid/paper-airplane/paper-airplane.icon.d.ts +0 -3
  781. package/src/icons/solid/paper-airplane/paper-airplane.icon.tsx +0 -25
  782. package/src/icons/solid/paperclip/paperclip.icon.d.ts +0 -3
  783. package/src/icons/solid/paperclip/paperclip.icon.tsx +0 -21
  784. package/src/icons/solid/pencil/pencil-solid.icon.d.ts +0 -3
  785. package/src/icons/solid/pencil/pencil-solid.icon.tsx +0 -24
  786. package/src/icons/solid/phone/phone-solid.icon.d.ts +0 -3
  787. package/src/icons/solid/phone/phone-solid.icon.tsx +0 -20
  788. package/src/icons/solid/photograph/photograph-solid.icon.d.ts +0 -3
  789. package/src/icons/solid/photograph/photograph-solid.icon.tsx +0 -20
  790. package/src/icons/solid/plus/plus.icon.d.ts +0 -3
  791. package/src/icons/solid/plus/plus.icon.tsx +0 -21
  792. package/src/icons/solid/plus-sm/plus-sm.icon.d.ts +0 -3
  793. package/src/icons/solid/plus-sm/plus-sm.icon.tsx +0 -21
  794. package/src/icons/solid/qrcode/qrcode.icon.d.ts +0 -3
  795. package/src/icons/solid/qrcode/qrcode.icon.tsx +0 -60
  796. package/src/icons/solid/refresh/refresh-solid.icon.d.ts +0 -3
  797. package/src/icons/solid/refresh/refresh-solid.icon.tsx +0 -22
  798. package/src/icons/solid/search/search.icon.d.ts +0 -3
  799. package/src/icons/solid/search/search.icon.tsx +0 -21
  800. package/src/icons/solid/selector/selector.icon.d.ts +0 -3
  801. package/src/icons/solid/selector/selector.icon.tsx +0 -21
  802. package/src/icons/solid/share/share.icon.d.ts +0 -3
  803. package/src/icons/solid/share/share.icon.tsx +0 -19
  804. package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.d.ts +0 -3
  805. package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.tsx +0 -31
  806. package/src/icons/solid/solid.d.ts +0 -2
  807. package/src/icons/solid/solid.preview.d.ts +0 -2
  808. package/src/icons/solid/solid.preview.tsx +0 -146
  809. package/src/icons/solid/solid.tsx +0 -141
  810. package/src/icons/solid/status-online/status-online-solid.icon.d.ts +0 -3
  811. package/src/icons/solid/status-online/status-online-solid.icon.tsx +0 -22
  812. package/src/icons/solid/thumb-up/thumb-up.icon.d.ts +0 -3
  813. package/src/icons/solid/thumb-up/thumb-up.icon.tsx +0 -23
  814. package/src/icons/solid/trash/trash-solid.icon.d.ts +0 -3
  815. package/src/icons/solid/trash/trash-solid.icon.tsx +0 -22
  816. package/src/icons/solid/user/user.icon.d.ts +0 -3
  817. package/src/icons/solid/user/user.icon.tsx +0 -23
  818. package/src/icons/solid/user-group/user-group.icon.d.ts +0 -3
  819. package/src/icons/solid/user-group/user-group.icon.tsx +0 -72
  820. package/src/icons/solid/users/users-solid.icon.d.ts +0 -3
  821. package/src/icons/solid/users/users-solid.icon.tsx +0 -57
  822. package/src/icons/solid/xmark/xmark.icon.d.ts +0 -3
  823. package/src/icons/solid/xmark/xmark.icon.tsx +0 -21
  824. package/src/interfaces/icon.interface.d.ts +0 -11
  825. package/src/interfaces/icon.interface.ts +0 -12
  826. package/src/models/hex-color.model.d.ts +0 -6
  827. package/src/models/hex-color.model.ts +0 -25
  828. package/src/models/hex-color.test.js +0 -20
  829. package/src/models/initials.model.d.ts +0 -7
  830. package/src/models/initials.model.ts +0 -32
  831. package/src/models/initials.test.js +0 -23
  832. package/src/models/time-slot-record.d.ts +0 -15
  833. package/src/models/time-slot-record.ts +0 -37
  834. package/src/models/time-slot-sequence.d.ts +0 -15
  835. package/src/models/time-slot-sequence.ts +0 -79
  836. package/src/theme/font/font.d.ts +0 -72
  837. package/src/theme/font/font.ts +0 -72
  838. package/src/theme/font/index.d.ts +0 -3
  839. package/src/theme/font/index.ts +0 -4
  840. package/src/theme/font/load-fonts.d.ts +0 -1
  841. package/src/theme/font/load-fonts.ts +0 -10
  842. package/src/theme/provider/index.d.ts +0 -3
  843. package/src/theme/provider/index.ts +0 -4
  844. package/src/theme/provider/parent.theme.d.ts +0 -71
  845. package/src/theme/provider/parent.theme.ts +0 -73
  846. package/src/theme/provider/staff-member.theme.d.ts +0 -71
  847. package/src/theme/provider/staff-member.theme.ts +0 -73
  848. package/src/theme/responsive/index.d.ts +0 -2
  849. package/src/theme/responsive/index.ts +0 -17
  850. package/src/theme/scale/index.d.ts +0 -12
  851. package/src/theme/scale/index.ts +0 -14
  852. package/src/types/bubble-alignment.enum.d.ts +0 -4
  853. package/src/types/bubble-alignment.enum.ts +0 -4
  854. package/src/types/icontype.type.d.ts +0 -2
  855. package/src/types/icontype.type.ts +0 -45
  856. package/src/types/keyboard-types.enum.d.ts +0 -9
  857. package/src/types/keyboard-types.enum.ts +0 -9
  858. package/src/types/loading-dots.type.d.ts +0 -8
  859. package/src/types/loading-dots.type.ts +0 -8
  860. package/src/types/size.enum.d.ts +0 -5
  861. package/src/types/size.enum.ts +0 -5
  862. package/src/types/state.enum.d.ts +0 -7
  863. package/src/types/state.enum.ts +0 -7
  864. package/src/types/text-properties.type.d.ts +0 -11
  865. package/src/types/text-properties.type.ts +0 -12
  866. package/src/types/timetable-edit.enum.d.ts +0 -5
  867. package/src/types/timetable-edit.enum.ts +0 -5
  868. package/src/types/visual-state.enum.d.ts +0 -7
  869. package/src/types/visual-state.enum.ts +0 -7
  870. package/src/utilities/color-handler/color-handler.d.ts +0 -4
  871. package/src/utilities/color-handler/color-handler.ts +0 -74
  872. package/src/utilities/toddle-datetime/interfaces/duration.interface.d.ts +0 -22
  873. package/src/utilities/toddle-datetime/interfaces/duration.interface.tsx +0 -23
  874. package/src/utilities/toddle-datetime/interfaces/toddle-datetime.interface.d.ts +0 -22
  875. package/src/utilities/toddle-datetime/interfaces/toddle-datetime.interface.tsx +0 -25
  876. package/src/utilities/toddle-datetime/toddle-datetime.class.d.ts +0 -50
  877. package/src/utilities/toddle-datetime/toddle-datetime.class.tsx +0 -206
  878. package/src/utilities/toddle-datetime/toddle-datetime.preview.d.ts +0 -2
  879. package/src/utilities/toddle-datetime/toddle-datetime.preview.tsx +0 -160
  880. package/src/utilities/toddle-datetime/toddle-datetime.test.js +0 -127
  881. package/src/utilities/toddle-datetime/types/duration.type.d.ts +0 -4
  882. package/src/utilities/toddle-datetime/types/duration.type.tsx +0 -6
  883. package/src/utilities/toddle-datetime/types/toddle-datetime.type.d.ts +0 -5
  884. package/src/utilities/toddle-datetime/types/toddle-datetime.type.tsx +0 -23
  885. package/tsconfig.json +0 -13
  886. package/types/src/components/atoms/avatar/avatar.component.d.ts +0 -11
  887. package/types/src/components/atoms/avatar/avatar.styles.d.ts +0 -36
  888. package/types/src/components/atoms/button/button.component.d.ts +0 -9
  889. package/types/src/components/atoms/button/button.styles.d.ts +0 -20
  890. package/types/src/components/atoms/cancel-link/cancel-link.component.d.ts +0 -7
  891. package/types/src/components/atoms/cancel-link/cancel-link.styles.d.ts +0 -17
  892. package/types/src/components/atoms/check-switch/check-switch.component.d.ts +0 -7
  893. package/types/src/components/atoms/check-switch/check-switch.styles.d.ts +0 -30
  894. package/types/src/components/atoms/checkbox/checkbox.component.d.ts +0 -8
  895. package/types/src/components/atoms/checkbox/checkbox.styles.d.ts +0 -32
  896. package/types/src/components/atoms/child-list-item/child-list-item.component.d.ts +0 -19
  897. package/types/src/components/atoms/child-list-item/child-list-item.styles.d.ts +0 -68
  898. package/types/src/components/atoms/contact-item/contact-item.component.d.ts +0 -10
  899. package/types/src/components/atoms/contact-item/contact-item.styles.d.ts +0 -24
  900. package/types/src/components/atoms/filter-tab/filter-tab.component.d.ts +0 -9
  901. package/types/src/components/atoms/filter-tab/filter-tab.styles.d.ts +0 -61
  902. package/types/src/components/atoms/form-actions/form-action.component.d.ts +0 -7
  903. package/types/src/components/atoms/form-actions/form-action.styles.d.ts +0 -14
  904. package/types/src/components/atoms/image-bubble/image-bubble.component.d.ts +0 -9
  905. package/types/src/components/atoms/image-bubble/image-bubble.styles.d.ts +0 -27
  906. package/types/src/components/atoms/info/info.component.d.ts +0 -7
  907. package/types/src/components/atoms/info/info.styles.d.ts +0 -24
  908. package/types/src/components/atoms/pill/pill.component.d.ts +0 -8
  909. package/types/src/components/atoms/pill/pill.styles.d.ts +0 -24
  910. package/types/src/components/atoms/popover/components/backdrop/backdrop.component.d.ts +0 -6
  911. package/types/src/components/atoms/popover/components/backdrop/backdrop.styles.d.ts +0 -11
  912. package/types/src/components/atoms/popover/components/foreground/foreground.component.d.ts +0 -7
  913. package/types/src/components/atoms/popover/components/foreground/foreground.styles.d.ts +0 -12
  914. package/types/src/components/atoms/popover/components/index.d.ts +0 -4
  915. package/types/src/components/atoms/popover/components/modal/close/close.component.d.ts +0 -7
  916. package/types/src/components/atoms/popover/components/modal/close/close.styles.d.ts +0 -9
  917. package/types/src/components/atoms/popover/components/modal/heading/heading.component.d.ts +0 -7
  918. package/types/src/components/atoms/popover/components/modal/heading/heading.styles.d.ts +0 -22
  919. package/types/src/components/atoms/popover/components/modal/modal.component.d.ts +0 -11
  920. package/types/src/components/atoms/popover/components/modal/modal.styles.d.ts +0 -18
  921. package/types/src/components/atoms/popover/components/modal/scroll-content/scroll-content.component.d.ts +0 -6
  922. package/types/src/components/atoms/popover/components/modal/scroll-content/scroll-content.styles.d.ts +0 -6
  923. package/types/src/components/atoms/popover/popover.component.d.ts +0 -10
  924. package/types/src/components/atoms/popover/popover.styles.d.ts +0 -8
  925. package/types/src/components/atoms/pressable-icon/pressable-icon.component.d.ts +0 -9
  926. package/types/src/components/atoms/pressable-icon/pressable-icon.styles.d.ts +0 -17
  927. package/types/src/components/atoms/quick-filter/quick-filter.component.d.ts +0 -11
  928. package/types/src/components/atoms/quick-filter/quick-filter.styles.d.ts +0 -34
  929. package/types/src/components/atoms/select-list-item/select-list-item.component.d.ts +0 -10
  930. package/types/src/components/atoms/select-list-item/select-list-item.styles.d.ts +0 -37
  931. package/types/src/components/atoms/snackbar/snackbar.component.d.ts +0 -8
  932. package/types/src/components/atoms/snackbar/snackbar.styles.d.ts +0 -50
  933. package/types/src/components/atoms/tag/tag.component.d.ts +0 -13
  934. package/types/src/components/atoms/tag/tag.styles.d.ts +0 -16
  935. package/types/src/components/atoms/text-bubble/text-bubble.component.d.ts +0 -10
  936. package/types/src/components/atoms/text-bubble/text-bubble.styles.d.ts +0 -62
  937. package/types/src/components/atoms/text-input/text-input.component.d.ts +0 -9
  938. package/types/src/components/atoms/text-input/text-input.styles.d.ts +0 -21
  939. package/types/src/components/atoms/time-tracker/time-tracker.component.d.ts +0 -8
  940. package/types/src/components/atoms/time-tracker/time-tracker.styles.d.ts +0 -25
  941. package/types/src/components/atoms/wide-button/wide-button.component.d.ts +0 -8
  942. package/types/src/components/atoms/wide-button/wide-button.styles.d.ts +0 -17
  943. package/types/src/context/theme.context.d.ts +0 -46
  944. package/types/src/gradients/main/main.gradient.d.ts +0 -2
  945. package/types/src/gradients/main/main.styles.d.ts +0 -7
  946. package/types/src/icons/outline/chevron-right/chevron-right.icon.d.ts +0 -3
  947. package/types/src/icons/outline/cross/cross.icon.d.ts +0 -3
  948. package/types/src/icons/outline/filter/filter.icon.d.ts +0 -3
  949. package/types/src/models/initials.model.d.ts +0 -7
  950. package/types/src/theme/font/font.d.ts +0 -72
  951. package/types/src/theme/font/index.d.ts +0 -3
  952. package/types/src/theme/font/load-fonts.d.ts +0 -1
  953. package/types/src/theme/provider/index.d.ts +0 -3
  954. package/types/src/theme/provider/parent.theme.d.ts +0 -43
  955. package/types/src/theme/provider/staff-member.theme.d.ts +0 -43
  956. package/types/src/theme/scale/index.d.ts +0 -12
  957. package/types/src/types/bubble-alignment.enum.d.ts +0 -4
  958. package/types/src/types/icontype.type.d.ts +0 -3
  959. package/types/src/types/keyboard-types.enum.d.ts +0 -9
  960. package/types/src/types/size.enum.d.ts +0 -5
  961. package/types/src/types/visual-state.enum.d.ts +0 -6
@@ -1,22 +0,0 @@
1
- import { ConversionAccuracy } from '../types/toddle-datetime.type';
2
- export interface LocaleOptions {
3
- /**
4
- * @default system's locale
5
- */
6
- locale?: string | undefined;
7
- }
8
- export interface DateTimeOptions extends LocaleOptions {
9
- /**
10
- * Use this zone if no offset is specified in the input string itself. Will also convert the time to this zone.
11
- * @default local
12
- */
13
- zone?: string | undefined;
14
- /**
15
- * Override the zone with a fixed-offset zone specified in the string itself, if it specifies one.
16
- * @default false
17
- */
18
- setZone?: boolean | undefined;
19
- }
20
- export interface DiffOptions {
21
- conversionAccuracy?: ConversionAccuracy | undefined;
22
- }
@@ -1,25 +0,0 @@
1
- import {ConversionAccuracy} from '../types/toddle-datetime.type';
2
-
3
- export interface LocaleOptions {
4
- /**
5
- * @default system's locale
6
- */
7
- locale?: string | undefined;
8
- }
9
-
10
- export interface DateTimeOptions extends LocaleOptions {
11
- /**
12
- * Use this zone if no offset is specified in the input string itself. Will also convert the time to this zone.
13
- * @default local
14
- */
15
- zone?: string | undefined;
16
- /**
17
- * Override the zone with a fixed-offset zone specified in the string itself, if it specifies one.
18
- * @default false
19
- */
20
- setZone?: boolean | undefined;
21
- }
22
-
23
- export interface DiffOptions {
24
- conversionAccuracy?: ConversionAccuracy | undefined;
25
- }
@@ -1,50 +0,0 @@
1
- import { Duration as LuxonDuration } from 'luxon';
2
- import { LocaleOptions, DateTimeOptions, DiffOptions } from './interfaces/toddle-datetime.interface';
3
- import { DurationLike, DurationUnits } from './types/duration.type';
4
- import { DateTimeFormatOptions, DateTimeJSOptions, DateTimeUnit } from './types/toddle-datetime.type';
5
- import { DurationObjectUnits } from './interfaces/duration.interface';
6
- export declare class Duration {
7
- private duration;
8
- constructor(duration: LuxonDuration);
9
- toObject(): DurationObjectUnits;
10
- }
11
- export declare class ToddleDateTime {
12
- private dateTime;
13
- private constructor();
14
- /**
15
- * Create a ToddleDateTime for the current instant, in the system's time zone.
16
- *
17
- * Use Settings to override these default values if needed.
18
- * @example
19
- * ToddleDateTime.now().toISO() //~> now in the ISO format
20
- */
21
- static now(): ToddleDateTime;
22
- static local(opts?: DateTimeJSOptions): ToddleDateTime;
23
- static local(year: number, opts?: DateTimeJSOptions): ToddleDateTime;
24
- static local(year: number, month: number, opts?: DateTimeJSOptions): ToddleDateTime;
25
- static local(year: number, month: number, day: number, opts?: DateTimeJSOptions): ToddleDateTime;
26
- static local(year: number, month: number, day: number, hour: number, opts?: DateTimeJSOptions): ToddleDateTime;
27
- static local(year: number, month: number, day: number, hour: number, minute: number, opts?: DateTimeJSOptions): ToddleDateTime;
28
- static local(year: number, month: number, day: number, hour: number, minute: number, second: number, opts?: DateTimeJSOptions): ToddleDateTime;
29
- static local(year: number, month: number, day: number, hour: number, minute: number, second: number, milliseconds: number, opts?: DateTimeJSOptions): ToddleDateTime;
30
- static fromISO(date: string, options?: DateTimeOptions): ToddleDateTime;
31
- static fromSeconds(seconds: number, options?: DateTimeJSOptions): ToddleDateTime;
32
- static get DATE_MED(): DateTimeFormatOptions;
33
- get hour(): number;
34
- get minute(): number;
35
- get second(): number;
36
- get millisecond(): number;
37
- get day(): number;
38
- get weekdayShort(): string;
39
- plus(duration: DurationLike): ToddleDateTime;
40
- minus(duration: DurationLike): ToddleDateTime;
41
- startOf(unit: DateTimeUnit): ToddleDateTime;
42
- endOf(unit: DateTimeUnit): ToddleDateTime;
43
- toFormat(format: string, options?: LocaleOptions): string;
44
- toISO(): string | null;
45
- toISODate(): string | null;
46
- toString(): string;
47
- toLocaleString(formatOptions?: DateTimeFormatOptions, options?: LocaleOptions): string;
48
- timestamp(): number;
49
- diff(otherDateTime: ToddleDateTime, unit?: DurationUnits, options?: DiffOptions): Duration;
50
- }
@@ -1,206 +0,0 @@
1
- import {DateTime as LuxonDateTime, Duration as LuxonDuration} from 'luxon';
2
-
3
- import {
4
- LocaleOptions,
5
- DateTimeOptions,
6
- DiffOptions,
7
- } from './interfaces/toddle-datetime.interface';
8
-
9
- import {DurationLike, DurationUnits} from './types/duration.type';
10
- import {
11
- DateTimeFormatOptions,
12
- DateTimeJSOptions,
13
- DateTimeUnit,
14
- } from './types/toddle-datetime.type';
15
- import {DurationObjectUnits} from './interfaces/duration.interface';
16
-
17
- export class Duration {
18
- private duration: LuxonDuration;
19
-
20
- constructor(duration: LuxonDuration) {
21
- this.duration = duration;
22
- }
23
-
24
- toObject(): DurationObjectUnits {
25
- return this.duration.toObject();
26
- }
27
- }
28
-
29
- export class ToddleDateTime {
30
- private dateTime: LuxonDateTime;
31
-
32
- private constructor(dateTime?: LuxonDateTime) {
33
- this.dateTime = dateTime || LuxonDateTime.local();
34
- }
35
-
36
- // STATIC MEMBERS
37
- /**
38
- * Create a ToddleDateTime for the current instant, in the system's time zone.
39
- *
40
- * Use Settings to override these default values if needed.
41
- * @example
42
- * ToddleDateTime.now().toISO() //~> now in the ISO format
43
- */
44
- static now(): ToddleDateTime {
45
- return new ToddleDateTime(LuxonDateTime.local());
46
- }
47
-
48
- static local(opts?: DateTimeJSOptions): ToddleDateTime;
49
- static local(year: number, opts?: DateTimeJSOptions): ToddleDateTime;
50
- static local(
51
- year: number,
52
- month: number,
53
- opts?: DateTimeJSOptions
54
- ): ToddleDateTime;
55
- static local(
56
- year: number,
57
- month: number,
58
- day: number,
59
- opts?: DateTimeJSOptions
60
- ): ToddleDateTime;
61
- static local(
62
- year: number,
63
- month: number,
64
- day: number,
65
- hour: number,
66
- opts?: DateTimeJSOptions
67
- ): ToddleDateTime;
68
- static local(
69
- year: number,
70
- month: number,
71
- day: number,
72
- hour: number,
73
- minute: number,
74
- opts?: DateTimeJSOptions
75
- ): ToddleDateTime;
76
- static local(
77
- year: number,
78
- month: number,
79
- day: number,
80
- hour: number,
81
- minute: number,
82
- second: number,
83
- opts?: DateTimeJSOptions
84
- ): ToddleDateTime;
85
- static local(
86
- year: number,
87
- month: number,
88
- day: number,
89
- hour: number,
90
- minute: number,
91
- second: number,
92
- milliseconds: number,
93
- opts?: DateTimeJSOptions
94
- ): ToddleDateTime;
95
- static local(...args: any[]): ToddleDateTime {
96
- const dateTime = LuxonDateTime.local(...args);
97
- return new ToddleDateTime(dateTime);
98
- }
99
-
100
- static fromISO(date: string, options?: DateTimeOptions): ToddleDateTime {
101
- return new ToddleDateTime(LuxonDateTime.fromISO(date, options));
102
- }
103
-
104
- static fromSeconds(
105
- seconds: number,
106
- options?: DateTimeJSOptions
107
- ): ToddleDateTime {
108
- return new ToddleDateTime(LuxonDateTime.fromSeconds(seconds, options));
109
- }
110
-
111
- // FORMAT PRESETS
112
-
113
- static get DATE_MED(): DateTimeFormatOptions {
114
- return LuxonDateTime.DATE_MED;
115
- }
116
-
117
- // GET
118
-
119
- get hour(): number {
120
- return this.dateTime.hour;
121
- }
122
-
123
- get minute(): number {
124
- return this.dateTime.minute;
125
- }
126
-
127
- get second(): number {
128
- return this.dateTime.second;
129
- }
130
-
131
- get millisecond(): number {
132
- return this.dateTime.millisecond;
133
- }
134
-
135
- get day(): number {
136
- return this.dateTime.day;
137
- }
138
-
139
- get weekdayShort(): string {
140
- return this.dateTime.toFormat('EEE');
141
- }
142
-
143
- // TRANSFORM
144
-
145
- plus(duration: DurationLike): ToddleDateTime {
146
- return new ToddleDateTime(this.dateTime.plus(duration));
147
- }
148
-
149
- minus(duration: DurationLike): ToddleDateTime {
150
- return new ToddleDateTime(this.dateTime.minus(duration));
151
- }
152
-
153
- startOf(unit: DateTimeUnit): ToddleDateTime {
154
- this.dateTime = this.dateTime.startOf(unit);
155
- return this;
156
- }
157
-
158
- endOf(unit: DateTimeUnit): ToddleDateTime {
159
- this.dateTime = this.dateTime.endOf(unit);
160
- return this;
161
- }
162
-
163
- // OUTPUT
164
-
165
- toFormat(format: string, options?: LocaleOptions): string {
166
- return this.dateTime.toFormat(format, options);
167
- }
168
-
169
- toISO(): string | null {
170
- return this.dateTime.toISO();
171
- }
172
-
173
- toISODate(): string | null {
174
- return this.dateTime.toISODate();
175
- }
176
-
177
- toString(): string {
178
- return this.dateTime.toString();
179
- }
180
-
181
- toLocaleString(
182
- formatOptions?: DateTimeFormatOptions,
183
- options?: LocaleOptions
184
- ): string {
185
- return this.dateTime.toLocaleString(formatOptions, options);
186
- }
187
-
188
- timestamp(): number {
189
- return this.dateTime.toUnixInteger();
190
- }
191
-
192
- // COMPARE
193
-
194
- diff(
195
- otherDateTime: ToddleDateTime,
196
- unit?: DurationUnits,
197
- options?: DiffOptions
198
- ): Duration {
199
- const luxonDuration = this.dateTime.diff(
200
- otherDateTime.dateTime,
201
- unit,
202
- options
203
- );
204
- return new Duration(luxonDuration);
205
- }
206
- }
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const ToddleDateTimePreview: ({}: {}) => React.JSX.Element;
@@ -1,160 +0,0 @@
1
- import React from 'react';
2
- import {ToddleDateTime} from './toddle-datetime.class';
3
- import {ScrollView, View} from 'react-native';
4
- import {Paragraph} from '../../components/atoms/paragraph-components';
5
- import {Heading2, Heading4} from '../../components/atoms/heading-components';
6
-
7
- export const ToddleDateTimePreview = ({}: {}) => {
8
- const now = ToddleDateTime.now();
9
- const fromISO = ToddleDateTime.fromISO('2016-05-25T09:08:34.123');
10
- const timestamp = 1688729520;
11
-
12
- return (
13
- <View
14
- style={{
15
- marginTop: 24,
16
- alignContent: 'center',
17
- justifyContent: 'center',
18
- paddingBottom: 100,
19
- }}
20
- >
21
- <Heading2 bold={true} textAlign={'center'} addStyle={{marginBottom: 50}}>
22
- ToddleDateTime
23
- </Heading2>
24
- <Heading4 addStyle={{paddingHorizontal: 16, marginBottom: 24}}>
25
- ToddleDateTime is a wrapper around Luxon, and provides less
26
- functionality. This can and or will expand through time. You can find
27
- the implemented methods below:
28
- </Heading4>
29
- <ScrollView contentContainerStyle={{padding: 16}}>
30
- <Heading4 bold={true}>.now()</Heading4>
31
- <Paragraph addStyle={{marginBottom: 12}}>
32
- Create a DateTime for the current instant, in the system's time zone.
33
- </Paragraph>
34
-
35
- <Heading4 bold={true}>
36
- .fromISO(date: string, options?: DateTimeOptions)
37
- </Heading4>
38
- <Paragraph addStyle={{marginBottom: 12}}>
39
- Create a ToddleDateTime from an ISO 8601 string
40
- </Paragraph>
41
-
42
- <Heading4 bold={true}>.local()</Heading4>
43
- <Paragraph addStyle={{marginBottom: 12}}>
44
- Create a local ToddleDateTime
45
- </Paragraph>
46
-
47
- <Heading4 bold={true}>.timestamp()</Heading4>
48
- <Paragraph>
49
- Returns the epoch milliseconds of this ToddleDateTime.
50
- </Paragraph>
51
- <Paragraph addStyle={{marginBottom: 12}}>
52
- {fromISO.timestamp()}
53
- </Paragraph>
54
-
55
- <Heading4 bold={true}>.fromSeconds(seconds, options?)</Heading4>
56
- <Paragraph addStyle={{marginBottom: 12}}>
57
- Create a ToddleDateTime from a number of seconds since the epoch
58
- (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.
59
- </Paragraph>
60
-
61
- <Heading4 bold={true}>.DATE_MED()</Heading4>
62
- <Paragraph addStyle={{marginBottom: 12}}>
63
- ToddleDateTime.toLocaleString format like 'Oct 14, 1983'
64
- </Paragraph>
65
-
66
- <Heading4 bold={true}>.hour()</Heading4>
67
- <Paragraph addStyle={{marginBottom: 12}}>
68
- Get the hour of the day (0-23)
69
- </Paragraph>
70
-
71
- <Heading4 bold={true}>.minute()</Heading4>
72
- <Paragraph addStyle={{marginBottom: 12}}>
73
- Get the minute of the hour (0-59).
74
- </Paragraph>
75
-
76
- <Heading4 bold={true}>.second()</Heading4>
77
- <Paragraph addStyle={{marginBottom: 12}}>
78
- Get the second of the minute (0-59).
79
- </Paragraph>
80
-
81
- <Heading4 bold={true}>.millisecond()</Heading4>
82
- <Paragraph addStyle={{marginBottom: 12}}>
83
- Get the millisecond of the second (0-999).
84
- </Paragraph>
85
-
86
- <Heading4 bold={true}>.day()</Heading4>
87
- <Paragraph addStyle={{marginBottom: 12}}>
88
- Get the day of the month (1-30ish).
89
- </Paragraph>
90
-
91
- <Heading4 bold={true}>.weekdayShort()</Heading4>
92
- <Paragraph addStyle={{marginBottom: 12}}>
93
- Get the human readable short weekday, such as 'Mon'. Defaults to the
94
- system's locale if no locale has been specified
95
- </Paragraph>
96
-
97
- <Heading4 bold={true}>.plus(duration)</Heading4>
98
- <Paragraph addStyle={{marginBottom: 12}}>
99
- {`Adding hours, minutes, seconds, or milliseconds increases the timestamp by the right number of milliseconds. Adding days, months, or years shifts the calendar, accounting for DSTs and leap years along the way. Thus, dt.plus({ hours: 24 }) may result in a different time than dt.plus({ days: 1 }) if there's a DST shift in between.`}
100
- </Paragraph>
101
-
102
- <Heading4 bold={true}>.minus(duration)</Heading4>
103
- <Paragraph addStyle={{marginBottom: 12}}>
104
- See ToddleDateTime plus()
105
- </Paragraph>
106
-
107
- <Heading4 bold={true}>.startOf(unit)</Heading4>
108
- <Paragraph addStyle={{marginBottom: 12}}>
109
- "Set" this ToddleDateTime to the beginning of the given unit.
110
- </Paragraph>
111
-
112
- <Heading4 bold={true}>.endOf(unit)</Heading4>
113
- <Paragraph addStyle={{marginBottom: 12}}>
114
- "Set" this ToddleDateTime to the end (meaning the last millisecond) of
115
- a unit of time
116
- </Paragraph>
117
-
118
- <Heading4 bold={true}>.toFormat(format, options?)</Heading4>
119
- <Paragraph addStyle={{marginBottom: 12}}>
120
- Returns a string representation of this ToddleDateTime formatted
121
- according to the specified format string.
122
- </Paragraph>
123
-
124
- <Heading4 bold={true}>.toISO()</Heading4>
125
- <Paragraph addStyle={{marginBottom: 12}}>
126
- Returns an ISO 8601-compliant string representation of this
127
- ToddleDateTime
128
- </Paragraph>
129
-
130
- <Heading4 bold={true}>.toISODate()</Heading4>
131
- <Paragraph addStyle={{marginBottom: 12}}>
132
- Returns an ISO 8601-compliant string representation of this
133
- ToddleDateTime's date component
134
- </Paragraph>
135
-
136
- <Heading4 bold={true}>.toString()</Heading4>
137
- <Paragraph addStyle={{marginBottom: 12}}>
138
- Returns a string representation of this DateTime appropriate for
139
- debugging
140
- </Paragraph>
141
-
142
- <Heading4 bold={true}>
143
- .toLocaleString(formatOptions?, options?)
144
- </Heading4>
145
- <Paragraph addStyle={{marginBottom: 12}}>
146
- Returns a localized string representing this date.
147
- </Paragraph>
148
-
149
- <Heading4 bold={true}>.timestamp()</Heading4>
150
- <Paragraph addStyle={{marginBottom: 12}}>
151
- Returns the epoch seconds (as a whole number) of this ToddleDateTime.{' '}
152
- </Paragraph>
153
- <Heading4 bold={true}>.diff(otherDateTime, unit?, options?)</Heading4>
154
- <Paragraph addStyle={{marginBottom: 12}}>
155
- Return the difference between two ToddleDateTimes as a Duration.
156
- </Paragraph>
157
- </ScrollView>
158
- </View>
159
- );
160
- };
@@ -1,127 +0,0 @@
1
- import {DateTime as LuxonDateTime} from 'luxon';
2
- import {ToddleDateTime} from './toddle-datetime.class';
3
-
4
- describe('ToddleDateTime static members', () => {
5
- it('now() returns an instance of ToddleDateTime', () => {
6
- expect(ToddleDateTime.now()).toBeInstanceOf(ToddleDateTime);
7
- });
8
-
9
- it('fromISO() returns an instance of ToddleDateTime', () => {
10
- const date = '2022-01-01T00:00:00.000-07:00';
11
- expect(ToddleDateTime.fromISO(date)).toBeInstanceOf(ToddleDateTime);
12
- });
13
-
14
- it('fromISO() parses ISO date correctly', () => {
15
- const date = '2022-01-01T00:00:00.000-07:00';
16
- const toddleDateTime = ToddleDateTime.fromISO(date);
17
- const luxonDateTime = LuxonDateTime.fromISO(date);
18
- expect(toddleDateTime.toISODate()).toEqual(luxonDateTime.toISODate());
19
- });
20
-
21
- it('fromSeconds() returns an instance of ToddleDateTime', () => {
22
- const timestamp = 1688729520;
23
- expect(ToddleDateTime.fromSeconds(timestamp)).toBeInstanceOf(
24
- ToddleDateTime
25
- );
26
- const toddleDateTime = ToddleDateTime.fromSeconds(timestamp);
27
- const luxonDateTime = LuxonDateTime.fromSeconds(timestamp);
28
- expect(toddleDateTime.toISO()).toEqual(luxonDateTime.toISO());
29
- });
30
- });
31
-
32
- describe('ToddleDateTime FORMAT PRESETS', () => {
33
- const date = '2022-01-01T00:00:00.000-07:00';
34
- const luxonDateMed = LuxonDateTime.now(date).toLocaleString(
35
- LuxonDateTime.DATE_MED
36
- );
37
- const toddleDateMed = ToddleDateTime.now(date).toLocaleString(
38
- ToddleDateTime.DATE_MED
39
- );
40
- expect(toddleDateMed).toMatch(luxonDateMed);
41
- });
42
-
43
- describe('ToddleDateTime GET methods', () => {
44
- let dateTime;
45
- let luxonDateTime = LuxonDateTime.local();
46
-
47
- beforeEach(() => {
48
- dateTime = new ToddleDateTime(luxonDateTime);
49
- });
50
-
51
- it('day returns the day of the month', () => {
52
- expect(dateTime.day).toEqual(luxonDateTime.day);
53
- });
54
-
55
- it('weekdayShort returns the short weekday name', () => {
56
- expect(dateTime.weekdayShort).toEqual(luxonDateTime.weekdayShort);
57
- });
58
- });
59
-
60
- describe('ToddleDateTime TRANSFORM methods', () => {
61
- let dateTime;
62
- const luxonDateTime = LuxonDateTime.local();
63
-
64
- beforeEach(() => {
65
- dateTime = new ToddleDateTime(luxonDateTime);
66
- });
67
-
68
- it('plus() adds a duration to the date time', () => {
69
- const duration = {days: 7};
70
- const newDateTime = dateTime.plus(duration);
71
- expect(newDateTime.day).toEqual(luxonDateTime.plus(duration).day);
72
- });
73
-
74
- it('minus() subtracts a duration from the date time', () => {
75
- const duration = {days: 7};
76
- const newDateTime = dateTime.minus(duration);
77
- expect(newDateTime.day).toEqual(luxonDateTime.minus(duration).day);
78
- });
79
-
80
- it('startOf() changes the date time to the start of a unit', () => {
81
- dateTime.startOf('month');
82
- expect(dateTime.day).toEqual(1);
83
- });
84
-
85
- it('endOf() changes the date time to the end of a unit', () => {
86
- dateTime.endOf('year');
87
- expect(dateTime.day).toEqual(31);
88
- });
89
- });
90
-
91
- describe('ToddleDateTime OUTPUT methods', () => {
92
- let dateTime;
93
-
94
- beforeEach(() => {
95
- dateTime = ToddleDateTime.now('30-01-2023');
96
- });
97
-
98
- it('toFormat() formats the date time according to the provided format string', () => {
99
- const formattedDate = dateTime.toFormat('yyyy-MM-dd');
100
- expect(formattedDate).toMatch(dateTime.toFormat('yyyy-MM-dd'));
101
- });
102
-
103
- it('toISO() formats the date time in ISO format', () => {
104
- const formattedDate = dateTime.toISO();
105
- expect(formattedDate).toMatch(dateTime.toISO());
106
- });
107
-
108
- it('toISODate() formats the date time in ISO date format', () => {
109
- const formattedDate = dateTime.toISODate();
110
- expect(formattedDate).toMatch(dateTime.toISODate());
111
- });
112
-
113
- it('toString() formats the date time as a string', () => {
114
- const stringDate = dateTime.toString();
115
- expect(stringDate).toMatch(dateTime.toString());
116
- });
117
-
118
- it('toLocaleString() formats the date time as a locale string', () => {
119
- const localeString = dateTime.toLocaleString();
120
- expect(localeString).toMatch(dateTime.toLocaleString());
121
- });
122
-
123
- it('timestamp formats the time to a number', () => {
124
- const timestamp = dateTime.timestamp();
125
- expect(timestamp).toEqual(dateTime.timestamp());
126
- });
127
- });
@@ -1,4 +0,0 @@
1
- import { DurationLikeObject } from '../interfaces/duration.interface';
2
- export type DurationUnit = keyof DurationLikeObject;
3
- export type DurationUnits = DurationUnit | DurationUnit[];
4
- export type DurationLike = DurationLikeObject | number;
@@ -1,6 +0,0 @@
1
- import {DurationLikeObject} from '../interfaces/duration.interface';
2
-
3
- export type DurationUnit = keyof DurationLikeObject;
4
- export type DurationUnits = DurationUnit | DurationUnit[];
5
-
6
- export type DurationLike = DurationLikeObject | number;
@@ -1,5 +0,0 @@
1
- import { DateTimeOptions } from '../interfaces/toddle-datetime.interface';
2
- export type DateTimeFormatOptions = Intl.DateTimeFormatOptions;
3
- export type DateTimeUnit = 'year' | 'quarter' | 'month' | 'week' | 'day' | 'hour' | 'minute' | 'second' | 'millisecond';
4
- export type DateTimeJSOptions = Omit<DateTimeOptions, 'setZone'>;
5
- export type ConversionAccuracy = 'casual' | 'longterm';
@@ -1,23 +0,0 @@
1
- import {
2
- DateTimeOptions,
3
- LocaleOptions,
4
- } from '../interfaces/toddle-datetime.interface';
5
- import {CanBeInvalid} from 'luxon/src/_util';
6
- import {_ToObjectOutput} from 'luxon';
7
-
8
- export type DateTimeFormatOptions = Intl.DateTimeFormatOptions;
9
-
10
- export type DateTimeUnit =
11
- | 'year'
12
- | 'quarter'
13
- | 'month'
14
- | 'week'
15
- | 'day'
16
- | 'hour'
17
- | 'minute'
18
- | 'second'
19
- | 'millisecond';
20
-
21
- export type DateTimeJSOptions = Omit<DateTimeOptions, 'setZone'>;
22
-
23
- export type ConversionAccuracy = 'casual' | 'longterm';
package/tsconfig.json DELETED
@@ -1,13 +0,0 @@
1
- {
2
- "extends": "expo/tsconfig.base",
3
- "compilerOptions": {
4
- "jsx": "react",
5
- "strict": true,
6
- "allowSyntheticDefaultImports": true,
7
- "esModuleInterop": true,
8
- "skipLibCheck": true,
9
- "target": "ES5",
10
- "noImplicitAny": false
11
- },
12
- "typeRoots": ["./types"]
13
- }
@@ -1,11 +0,0 @@
1
- import * as React from 'react';
2
- import { ImageSourcePropType } from 'react-native';
3
- import { Size } from '../../../types/size.enum';
4
- import { Initials } from '../../../models/initials.model';
5
- declare type AvatarProps = {
6
- source: ImageSourcePropType | Initials;
7
- size: Size;
8
- isBlocked?: boolean;
9
- };
10
- declare const Avatar: React.FC<AvatarProps>;
11
- export { Avatar as Avatar };