@tactics/toddle-styleguide 2.0.3 → 2.0.4

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 (318) hide show
  1. package/index.d.ts +2 -1
  2. package/package.json +1 -1
  3. package/src/components/atoms/animated-wave/animated-wave.styles.d.ts +19 -19
  4. package/src/components/atoms/backdrop/backdrop.component.d.ts +7 -4
  5. package/src/components/atoms/backdrop/backdrop.styles.d.ts +9 -9
  6. package/src/components/atoms/background-gradient/background-gradient.styles.d.ts +6 -6
  7. package/src/components/atoms/calendar/calendar.component.d.ts +11 -6
  8. package/src/components/atoms/check-switch/check-switch.component.d.ts +6 -3
  9. package/src/components/atoms/count/count.component.d.ts +7 -4
  10. package/src/components/atoms/count/count.component.tsx +12 -13
  11. package/src/components/atoms/count/count.preview.tsx +5 -5
  12. package/src/components/atoms/count/count.styles.d.ts +23 -20
  13. package/src/components/atoms/count/count.styles.js +25 -17
  14. package/src/components/atoms/footer/footer.component.d.ts +9 -6
  15. package/src/components/atoms/footer/footer.component.tsx +7 -9
  16. package/src/components/atoms/footer/footer.styles.d.ts +16 -13
  17. package/src/components/atoms/footer/footer.styles.js +1 -1
  18. package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.d.ts +10 -2
  19. package/src/components/atoms/heading-components/heading1/heading1.component.d.ts +10 -2
  20. package/src/components/atoms/heading-components/heading2/heading2.component.d.ts +10 -2
  21. package/src/components/atoms/heading-components/heading3/heading3.component.d.ts +10 -2
  22. package/src/components/atoms/heading-components/heading4/heading4.component.d.ts +10 -2
  23. package/src/components/atoms/heading-components/index.d.ts +6 -6
  24. package/src/components/atoms/image-bubble/image-bubble.component.d.ts +9 -6
  25. package/src/components/atoms/increment-input/increment-input.component.d.ts +8 -4
  26. package/src/components/atoms/increment-input/increment-input.styles.d.ts +33 -33
  27. package/src/components/atoms/line/line.component.d.ts +8 -4
  28. package/src/components/atoms/logo/logo.component.d.ts +4 -4
  29. package/src/components/atoms/paragraph-components/index.d.ts +4 -4
  30. package/src/components/atoms/paragraph-components/paragraph/paragraph.component.d.ts +10 -2
  31. package/src/components/atoms/paragraph-components/small-text/small-text.component.d.ts +10 -2
  32. package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.d.ts +10 -2
  33. package/src/components/atoms/quick-message/quick-message.component.d.ts +10 -5
  34. package/src/components/atoms/quick-message/quick-message.styles.d.ts +16 -13
  35. package/src/components/atoms/split-container/split-container.component.d.ts +7 -4
  36. package/src/components/atoms/split-container/split-container.styles.d.ts +12 -12
  37. package/src/components/atoms/static-wave/static-wave.component.d.ts +11 -6
  38. package/src/components/atoms/text-input/text-input.component.d.ts +10 -6
  39. package/src/components/atoms/text-input/text-input.preview.d.ts +1 -1
  40. package/src/components/molecules/amount/amount.component.d.ts +16 -9
  41. package/src/components/molecules/amount/amount.component.tsx +125 -100
  42. package/src/components/molecules/amount/amount.preview.tsx +59 -11
  43. package/src/components/molecules/amount/amount.styles.d.ts +34 -34
  44. package/src/components/molecules/amount/amount.styles.js +7 -7
  45. package/src/components/molecules/avatar/avatar.component.d.ts +20 -12
  46. package/src/components/molecules/avatar/avatar.component.tsx +8 -6
  47. package/src/components/molecules/avatar/avatar.styles.d.ts +96 -78
  48. package/src/components/molecules/avatar/avatar.styles.js +18 -16
  49. package/src/components/molecules/bare-time-picker/bare-time-picker.component.d.ts +11 -6
  50. package/src/components/molecules/bare-time-picker/bare-time-picker.component.tsx +64 -66
  51. package/src/components/molecules/bare-time-picker/bare-time-picker.preview.tsx +1 -1
  52. package/src/components/molecules/bare-time-picker/bare-time-picker.styles.d.ts +6 -6
  53. package/src/components/molecules/bare-time-picker/bare-time-picker.styles.js +8 -8
  54. package/src/components/molecules/blocked-message/blocked-message.component.d.ts +4 -2
  55. package/src/components/molecules/button/button.component.d.ts +20 -11
  56. package/src/components/molecules/calendar-select/calendar-select.component.d.ts +12 -6
  57. package/src/components/molecules/calendar-select/calendar-select.component.tsx +76 -73
  58. package/src/components/molecules/calendar-select/calendar-select.styles.d.ts +31 -31
  59. package/src/components/molecules/calendar-select/calendar-select.styles.js +33 -33
  60. package/src/components/molecules/cancel-link/cancel-link.component.d.ts +7 -4
  61. package/src/components/molecules/checkbox/checkbox.component.d.ts +9 -5
  62. package/src/components/molecules/contact-role/contact-role.component.d.ts +6 -3
  63. package/src/components/molecules/context-label/context-label.component.d.ts +7 -4
  64. package/src/components/molecules/context-label/context-label.component.tsx +21 -23
  65. package/src/components/molecules/context-label/context-label.preview.tsx +45 -30
  66. package/src/components/molecules/context-label/context-label.styles.d.ts +7 -5
  67. package/src/components/molecules/date-input/date-input.component.d.ts +7 -4
  68. package/src/components/molecules/date-input/date-input.styles.d.ts +16 -16
  69. package/src/components/molecules/day/day.component.d.ts +10 -6
  70. package/src/components/molecules/default-select/default-select.component.d.ts +6 -3
  71. package/src/components/molecules/default-select/default-select.styles.d.ts +11 -11
  72. package/src/components/molecules/department_logo/department-logo.component.d.ts +5 -3
  73. package/src/components/molecules/failed-to-send/failed-bubble.component.d.ts +11 -6
  74. package/src/components/molecules/filter-range/filter-range.component.d.ts +14 -7
  75. package/src/components/molecules/filter-range/filter-range.styles.d.ts +20 -20
  76. package/src/components/molecules/filter-tab/filter-tab.component.d.ts +11 -7
  77. package/src/components/molecules/filter-tab/filter-tab.styles.d.ts +58 -53
  78. package/src/components/molecules/info/info.component.d.ts +9 -5
  79. package/src/components/molecules/info/info.component.tsx +13 -5
  80. package/src/components/molecules/info/info.preview.tsx +4 -5
  81. package/src/components/molecules/info/info.styles.d.ts +14 -14
  82. package/src/components/molecules/inline-error/inline-error.component.d.ts +3 -3
  83. package/src/components/molecules/inline-error/inline-error.component.tsx +10 -3
  84. package/src/components/molecules/inline-error/inline-error.preview.tsx +4 -2
  85. package/src/components/molecules/inline-error/inline-error.styles.d.ts +16 -16
  86. package/src/components/molecules/inline-error/inline-error.styles.js +2 -2
  87. package/src/components/molecules/inline-notice/inline-notice.component.d.ts +3 -3
  88. package/src/components/molecules/inline-notice/inline-notice.component.tsx +16 -12
  89. package/src/components/molecules/inline-notice/inline-notice.preview.tsx +4 -2
  90. package/src/components/molecules/inline-notice/inline-notice.styles.d.ts +16 -16
  91. package/src/components/molecules/inline-notice/inline-notice.styles.js +18 -18
  92. package/src/components/molecules/language-button/language-button.component.d.ts +8 -4
  93. package/src/components/molecules/message-input/message-input.component.d.ts +10 -6
  94. package/src/components/molecules/message-input/message-input.styles.d.ts +31 -31
  95. package/src/components/molecules/more-info-button/more-info-button.component.d.ts +8 -4
  96. package/src/components/molecules/password-input/password-input.component.d.ts +9 -5
  97. package/src/components/molecules/password-input/password-input.component.tsx +1 -1
  98. package/src/components/molecules/password-input/password-input.styles.d.ts +27 -27
  99. package/src/components/molecules/pill/pill.component.d.ts +5 -5
  100. package/src/components/molecules/pressable-icon/pressable-icon.component.d.ts +10 -5
  101. package/src/components/molecules/quick-filter/quick-filter.component.d.ts +16 -9
  102. package/src/components/molecules/quick-filter/quick-filter.component.tsx +1 -1
  103. package/src/components/molecules/quick-filter/quick-filter.preview.tsx +1 -1
  104. package/src/components/molecules/quick-filter/quick-filter.styles.js +1 -1
  105. package/src/components/molecules/search-input/search.component.d.ts +12 -7
  106. package/src/components/molecules/search-input/search.preview.d.ts +1 -1
  107. package/src/components/molecules/search-input/search.styles.d.ts +31 -31
  108. package/src/components/molecules/select-link/select-link.component.d.ts +7 -4
  109. package/src/components/molecules/select-list-item/select-list-item.component.d.ts +16 -9
  110. package/src/components/molecules/select-list-item/select-list-item.component.tsx +13 -9
  111. package/src/components/molecules/select-list-item/select-list-item.styles.d.ts +27 -22
  112. package/src/components/molecules/select-picker/select-picker.component.d.ts +13 -8
  113. package/src/components/molecules/select-picker/select-picker.styles.d.ts +30 -30
  114. package/src/components/molecules/selectable-list-item/selectable-list-item-preview.tsx +1 -1
  115. package/src/components/molecules/selectable-list-item/selectable-list-item.component.d.ts +15 -8
  116. package/src/components/molecules/selectable-list-item/selectable-list-item.component.tsx +17 -5
  117. package/src/components/molecules/selectable-list-item/selectable-list-item.styles.d.ts +31 -27
  118. package/src/components/molecules/send-bubble/send-text-bubble.component.d.ts +13 -7
  119. package/src/components/molecules/snackbar/snackbar.component.d.ts +8 -5
  120. package/src/components/molecules/swipe/swipe.component.d.ts +8 -5
  121. package/src/components/molecules/tag/tag.component.d.ts +11 -6
  122. package/src/components/molecules/time-picker/time-picker.component.d.ts +10 -5
  123. package/src/components/molecules/time-picker/time-picker.component.tsx +8 -2
  124. package/src/components/molecules/time-picker/time-picker.styles.d.ts +25 -25
  125. package/src/components/molecules/time-tracker/time-tracker.component.d.ts +10 -6
  126. package/src/components/molecules/timeline/timeline.component.d.ts +6 -3
  127. package/src/components/molecules/timestamp/timestamp.component.d.ts +7 -4
  128. package/src/components/molecules/wave-background/wave.component.d.ts +7 -2
  129. package/src/components/molecules/wide-button/wide-button.component.d.ts +11 -6
  130. package/src/components/molecules/wide-button/wide-button.styles.d.ts +14 -10
  131. package/src/components/organisms/child-list-item/child-list-item.component.d.ts +38 -20
  132. package/src/components/organisms/child-list-item/child-list-item.component.tsx +29 -26
  133. package/src/components/organisms/child-list-item/child-list-item.styles.d.ts +56 -53
  134. package/src/components/organisms/child-list-item/child-list-item.styles.js +5 -5
  135. package/src/components/organisms/child-list-item/components/child-list-tag.component.d.ts +6 -3
  136. package/src/components/organisms/contact-item/contact-item.component.d.ts +11 -6
  137. package/src/components/organisms/contact-item/contact-item.styles.d.ts +13 -13
  138. package/src/components/organisms/day-select/day-select.component.d.ts +10 -6
  139. package/src/components/organisms/day-select/day-select.component.tsx +46 -32
  140. package/src/components/organisms/day-select/day-select.styles.d.ts +16 -16
  141. package/src/components/organisms/day-select/day-select.styles.js +2 -2
  142. package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.component.d.ts +6 -3
  143. package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.d.ts +13 -7
  144. package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.tsx +5 -4
  145. package/src/components/organisms/journal-entry/journal-entry.component.d.ts +30 -16
  146. package/src/components/organisms/journal-entry/journal-entry.styles.d.ts +25 -22
  147. package/src/components/organisms/loading-indicator/animation-style.animate.d.ts +13 -3
  148. package/src/components/organisms/loading-indicator/dot.component.d.ts +3 -3
  149. package/src/components/organisms/loading-indicator/loading-indicator.component.d.ts +9 -2
  150. package/src/components/organisms/my-child-list-item/my-child-list-item.component.d.ts +16 -9
  151. package/src/components/organisms/my-child-list-item/my-child-list-item.styles.d.ts +31 -31
  152. package/src/components/organisms/person-info-card/person-info-card.component.d.ts +18 -10
  153. package/src/components/organisms/tab-view/tab-view.component.d.ts +12 -8
  154. package/src/components/organisms/tab-view/tab-view.styles.d.ts +8 -8
  155. package/src/components/organisms/text-bubble/text-bubble.component.d.ts +21 -12
  156. package/src/components/organisms/text-bubble/text-bubble.styles.d.ts +14 -14
  157. package/src/components/organisms/timetable-edit/timetable-edit.component.d.ts +25 -13
  158. package/src/components/organisms/timetable-edit/timetable-edit.component.tsx +58 -56
  159. package/src/components/organisms/timetable-edit/timetable-edit.preview.tsx +20 -18
  160. package/src/components/organisms/timetable-edit/timetable-edit.styles.d.ts +19 -19
  161. package/src/components/organisms/timetable-edit/timetable-edit.styles.js +21 -21
  162. package/src/components/organisms/timetable-editor/components/timetable-edit-wrapper.d.ts +15 -9
  163. package/src/components/organisms/timetable-editor/components/timetable-edit-wrapper.tsx +65 -58
  164. package/src/components/organisms/timetable-editor/timetable-editor-staff.component.d.ts +11 -0
  165. package/src/components/organisms/timetable-editor/timetable-editor-staff.component.tsx +66 -47
  166. package/src/components/organisms/timetable-editor/timetable-editor.component.d.ts +8 -5
  167. package/src/components/organisms/timetable-editor/timetable-editor.component.tsx +76 -53
  168. package/src/components/organisms/timetable-editor/timetable-editor.preview.tsx +7 -7
  169. package/src/components/organisms/timetable-editor/timetable-editor.styles.d.ts +6 -6
  170. package/src/components/organisms/timetable-editor/timetable-editor.styles.js +8 -8
  171. package/src/components/templates/modal/components/fade-panel.component.d.ts +14 -7
  172. package/src/components/templates/modal/components/fade-panel.styles.d.ts +17 -13
  173. package/src/components/templates/modal/modal.component.d.ts +12 -6
  174. package/src/components/templates/modal/modal.styles.d.ts +21 -21
  175. package/src/components/templates/popover/components/foreground/foreground.component.d.ts +6 -4
  176. package/src/components/templates/popover/components/foreground/foreground.styles.d.ts +10 -10
  177. package/src/components/templates/popover/components/modal/close/close.component.d.ts +4 -4
  178. package/src/components/templates/popover/components/modal/heading/heading.component.d.ts +7 -4
  179. package/src/components/templates/popover/components/modal/heading/heading.styles.d.ts +12 -12
  180. package/src/components/templates/popover/components/modal/modal.component.d.ts +17 -9
  181. package/src/components/templates/popover/components/modal/modal.styles.d.ts +17 -17
  182. package/src/components/templates/popover/components/modal/scroll-content/scroll-content.component.d.ts +5 -3
  183. package/src/components/templates/popover/popover.component.d.ts +15 -8
  184. package/src/components/templates/popover/popover.styles.d.ts +9 -9
  185. package/src/components/templates/popover-action/popover-action.component.d.ts +8 -4
  186. package/src/components/templates/popover-action/popover-action.component.tsx +6 -4
  187. package/src/components/templates/popover-action/popover-action.styles.d.ts +26 -26
  188. package/src/context/loading-dots.context.d.ts +9 -6
  189. package/src/context/theme.context.d.ts +65 -65
  190. package/src/context/theme.context.ts +4 -4
  191. package/src/gradients/main/main.gradient.d.ts +4 -2
  192. package/src/hooks/use-debounce.ts +8 -8
  193. package/src/icons/crown.icon.tsx +18 -5
  194. package/src/icons/index.d.ts +7 -2
  195. package/src/icons/outline/calendar/calendar.icon.d.ts +5 -2
  196. package/src/icons/outline/chat/chat.icon.d.ts +5 -2
  197. package/src/icons/outline/chat-alt/chat-alt.icon.d.ts +5 -2
  198. package/src/icons/outline/check-circle/check-circle.icon.d.ts +5 -2
  199. package/src/icons/outline/chevron-left/chevron-left.icon.d.ts +5 -2
  200. package/src/icons/outline/chevron-right/chevron-right.icon.d.ts +5 -2
  201. package/src/icons/outline/clock/clock.icon.d.ts +5 -2
  202. package/src/icons/outline/cloud-download/cloud-download.icon.d.ts +5 -2
  203. package/src/icons/outline/currency-euro/currency-euro.icon.d.ts +5 -2
  204. package/src/icons/outline/document-text/document-text.icon.d.ts +5 -2
  205. package/src/icons/outline/exclamation/exclamation.icon.d.ts +5 -2
  206. package/src/icons/outline/exclamation-circle/exclamation-circle.icon.d.ts +5 -2
  207. package/src/icons/outline/eye/eye.icon.d.ts +5 -2
  208. package/src/icons/outline/eye-off/eye-off.icon.d.ts +5 -2
  209. package/src/icons/outline/filter/filter.icon.d.ts +5 -2
  210. package/src/icons/outline/information-circle/information-circle.icon.d.ts +5 -2
  211. package/src/icons/outline/logout/logout.icon.d.ts +5 -2
  212. package/src/icons/outline/mail/mail.icon.d.ts +5 -2
  213. package/src/icons/outline/mail-open/mail-open.icon.d.ts +5 -2
  214. package/src/icons/outline/menu/menu.icon.d.ts +5 -2
  215. package/src/icons/outline/minus-sm/minus-sm.icon.d.ts +5 -2
  216. package/src/icons/outline/office-building/office-building.icon.d.ts +5 -2
  217. package/src/icons/outline/outline-default.preview.tsx +2 -2
  218. package/src/icons/outline/outline.d.ts +6 -2
  219. package/src/icons/outline/outline.tsx +4 -4
  220. package/src/icons/outline/paper-airplane/paper-airplane.icon.d.ts +5 -2
  221. package/src/icons/outline/paperclip/paperclip.icon.d.ts +5 -2
  222. package/src/icons/outline/pencil/pencil.icon.d.ts +5 -2
  223. package/src/icons/outline/phone/phone.icon.d.ts +5 -2
  224. package/src/icons/outline/photograph/photograph.icon.d.ts +5 -2
  225. package/src/icons/outline/photograph/photograph.icon.tsx +3 -6
  226. package/src/icons/outline/plus/plus.icon.d.ts +5 -2
  227. package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +5 -2
  228. package/src/icons/outline/qrcode/qrcode.icon.d.ts +5 -2
  229. package/src/icons/outline/refresh/refresh.icon.d.ts +5 -2
  230. package/src/icons/outline/search/search.icon.d.ts +5 -2
  231. package/src/icons/outline/selector/selector.icon.d.ts +5 -2
  232. package/src/icons/outline/share/share.icon.d.ts +5 -2
  233. package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.d.ts +5 -2
  234. package/src/icons/outline/status-online/status-online.icon.d.ts +5 -2
  235. package/src/icons/outline/thumb-up/thumb-up.icon.d.ts +5 -2
  236. package/src/icons/outline/trash/trash.icon.d.ts +5 -2
  237. package/src/icons/outline/user/user.icon.d.ts +5 -2
  238. package/src/icons/outline/user-group/user-group.icon.d.ts +5 -2
  239. package/src/icons/outline/users/users.icon.d.ts +5 -2
  240. package/src/icons/outline/xmark/xmark.icon.d.ts +5 -2
  241. package/src/icons/solid/calendar/calendar.icon.d.ts +5 -2
  242. package/src/icons/solid/chat/chat.icon.d.ts +5 -2
  243. package/src/icons/solid/chat-alt/chat-alt-solid.icon.d.ts +5 -2
  244. package/src/icons/solid/check-circle/check-circle.icon.d.ts +5 -2
  245. package/src/icons/solid/chevron-left/chevron-left.icon.d.ts +5 -2
  246. package/src/icons/solid/chevron-right/chevron-right.icon.d.ts +5 -2
  247. package/src/icons/solid/clock/clock-solid.icon.d.ts +5 -2
  248. package/src/icons/solid/cloud-download/cloud-download.icon.d.ts +5 -2
  249. package/src/icons/solid/currency-euro/currency-euro.icon.d.ts +5 -2
  250. package/src/icons/solid/document-text/document-text-solid.icon.d.ts +5 -2
  251. package/src/icons/solid/exclamation/exclamation.icon.d.ts +5 -2
  252. package/src/icons/solid/exclamation-circle/exclamation-circle.icon.d.ts +5 -2
  253. package/src/icons/solid/eye/eye.icon.d.ts +5 -2
  254. package/src/icons/solid/eye-off/eye-off.icon.d.ts +5 -2
  255. package/src/icons/solid/filter/filter.icon.d.ts +5 -2
  256. package/src/icons/solid/information-circle/information-circle-solid.icon.d.ts +5 -2
  257. package/src/icons/solid/logout/logout.icon.d.ts +5 -2
  258. package/src/icons/solid/mail/mail.icon.d.ts +5 -2
  259. package/src/icons/solid/mail-open/mail-open.icon.d.ts +5 -2
  260. package/src/icons/solid/menu/menu.icon.d.ts +5 -2
  261. package/src/icons/solid/minus-sm/minus-sm.icon.d.ts +5 -2
  262. package/src/icons/solid/office-building/office-building.icon.d.ts +5 -2
  263. package/src/icons/solid/paper-airplane/paper-airplane.icon.d.ts +5 -2
  264. package/src/icons/solid/paperclip/paperclip.icon.d.ts +5 -2
  265. package/src/icons/solid/pencil/pencil-solid.icon.d.ts +5 -2
  266. package/src/icons/solid/phone/phone-solid.icon.d.ts +5 -2
  267. package/src/icons/solid/photograph/photograph-solid.icon.d.ts +5 -2
  268. package/src/icons/solid/photograph/photograph-solid.icon.tsx +4 -4
  269. package/src/icons/solid/plus/plus.icon.d.ts +5 -2
  270. package/src/icons/solid/plus-sm/plus-sm.icon.d.ts +5 -2
  271. package/src/icons/solid/qrcode/qrcode.icon.d.ts +5 -2
  272. package/src/icons/solid/refresh/refresh-solid.icon.d.ts +5 -2
  273. package/src/icons/solid/search/search.icon.d.ts +5 -2
  274. package/src/icons/solid/selector/selector.icon.d.ts +5 -2
  275. package/src/icons/solid/share/share.icon.d.ts +5 -2
  276. package/src/icons/solid/share/share.icon.tsx +1 -3
  277. package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.d.ts +5 -2
  278. package/src/icons/solid/solid.d.ts +6 -2
  279. package/src/icons/solid/solid.tsx +4 -4
  280. package/src/icons/solid/status-online/status-online-solid.icon.d.ts +5 -2
  281. package/src/icons/solid/thumb-up/thumb-up.icon.d.ts +5 -2
  282. package/src/icons/solid/trash/trash-solid.icon.d.ts +5 -2
  283. package/src/icons/solid/user/user.icon.d.ts +5 -2
  284. package/src/icons/solid/user-group/user-group.icon.d.ts +5 -2
  285. package/src/icons/solid/users/users-solid.icon.d.ts +5 -2
  286. package/src/icons/solid/xmark/xmark.icon.d.ts +5 -2
  287. package/src/interfaces/icon.interface.d.ts +5 -5
  288. package/src/models/hex-color.model.d.ts +4 -4
  289. package/src/models/initials.model.d.ts +5 -5
  290. package/src/models/time-slot-record.d.ts +11 -11
  291. package/src/models/time-slot-sequence.d.ts +15 -13
  292. package/src/models/time-slot-sequence.ts +13 -9
  293. package/src/theme/font/font.d.ts +70 -70
  294. package/src/theme/font/index.d.ts +3 -3
  295. package/src/theme/provider/index.d.ts +3 -3
  296. package/src/theme/provider/parent.theme.d.ts +63 -63
  297. package/src/theme/provider/parent.theme.ts +4 -4
  298. package/src/theme/provider/staff-member.theme.d.ts +63 -63
  299. package/src/theme/provider/staff-member.theme.ts +4 -4
  300. package/src/theme/responsive/index.d.ts +5 -2
  301. package/src/theme/scale/index.d.ts +10 -10
  302. package/src/types/bubble-alignment.enum.d.ts +2 -2
  303. package/src/types/icontype.type.d.ts +43 -1
  304. package/src/types/keyboard-types.enum.d.ts +7 -7
  305. package/src/types/loading-dots.type.d.ts +6 -6
  306. package/src/types/size.enum.d.ts +3 -3
  307. package/src/types/state.enum.d.ts +4 -4
  308. package/src/types/state.enum.ts +5 -5
  309. package/src/types/text-properties.type.d.ts +8 -8
  310. package/src/types/timetable-edit.enum.d.ts +3 -3
  311. package/src/types/visual-state.enum.d.ts +5 -5
  312. package/src/utilities/color-handler/color-handler.d.ts +12 -4
  313. package/src/utilities/color-handler/color-handler.ts +2 -3
  314. package/src/utilities/toddle-datetime/interfaces/duration.interface.d.ts +18 -18
  315. package/src/utilities/toddle-datetime/interfaces/toddle-datetime.interface.d.ts +16 -16
  316. package/src/utilities/toddle-datetime/toddle-datetime.class.d.ts +103 -46
  317. package/src/utilities/toddle-datetime/types/duration.type.d.ts +1 -1
  318. package/src/utilities/toddle-datetime/types/toddle-datetime.type.d.ts +11 -2
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const InformationCircleIcon: ({ color, size, }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const InformationCircleIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const LogoutIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const LogoutIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const MailIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const MailIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const MailOpenIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const MailOpenIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const MenuIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const MenuIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const MinusSmallIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const MinusSmallIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const OfficeBuildingIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const OfficeBuildingIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const PaperAirplaneIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const PaperAirplaneIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const PaperClipIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const PaperClipIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const PencilIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const PencilIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const PhoneIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const PhoneIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const PhotographIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const PhotographIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -11,10 +11,10 @@ export const PhotographIcon = ({color, size = Scale.l}: IconSVGProps) => {
11
11
 
12
12
  return (
13
13
  <Svg width={size} height={size} viewBox="0 0 18 16" fill="none">
14
- <Path
15
- d="M2.39995 0.299988C1.18492 0.299988 0.199951 1.28496 0.199951 2.49999V13.5C0.199951 14.715 1.18492 15.7 2.39995 15.7H15.5999C16.815 15.7 17.7999 14.715 17.7999 13.5V2.49999C17.7999 1.28496 16.815 0.299988 15.5999 0.299988H2.39995ZM15.5999 13.5H2.39995L6.79995 4.69999L10.1 11.3L12.2999 6.89999L15.5999 13.5Z"
16
- fill={color ? HexColor.of(color).toString() : context.colors.main['0']}
17
- />
14
+ <Path
15
+ d="M2.39995 0.299988C1.18492 0.299988 0.199951 1.28496 0.199951 2.49999V13.5C0.199951 14.715 1.18492 15.7 2.39995 15.7H15.5999C16.815 15.7 17.7999 14.715 17.7999 13.5V2.49999C17.7999 1.28496 16.815 0.299988 15.5999 0.299988H2.39995ZM15.5999 13.5H2.39995L6.79995 4.69999L10.1 11.3L12.2999 6.89999L15.5999 13.5Z"
16
+ fill={color ? HexColor.of(color).toString() : context.colors.main['0']}
17
+ />
18
18
  </Svg>
19
19
  );
20
20
  };
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const PlusIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const PlusIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const PlusSmallIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const PlusSmallIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const QrcodeIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const QrcodeIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const RefreshIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const RefreshIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const SearchIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const SearchIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const SelectorIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const SelectorIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const ShareIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const ShareIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -12,9 +12,7 @@ export const ShareIcon = ({color, size = Scale.l}: IconSVGProps) => {
12
12
  <Svg width={size} height={size} viewBox="0 0 22 22" fill="none">
13
13
  <Path
14
14
  d="M16.5 8.80001C18.3225 8.80001 19.7999 7.32255 19.7999 5.50001C19.7999 3.67747 18.3225 2.20001 16.5 2.20001C14.6774 2.20001 13.2 3.67747 13.2 5.50001C13.2 5.63804 13.2084 5.7741 13.2249 5.90768L7.7908 8.62472C7.19729 8.05217 6.38974 7.70001 5.49995 7.70001C3.67741 7.70001 2.19995 9.17747 2.19995 11C2.19995 12.8226 3.67741 14.3 5.49995 14.3C6.38976 14.3 7.19732 13.9478 7.79084 13.3753L13.2249 16.0923C13.2084 16.2259 13.2 16.362 13.2 16.5C13.2 18.3226 14.6774 19.8 16.5 19.8C18.3225 19.8 19.7999 18.3226 19.7999 16.5C19.7999 14.6775 18.3225 13.2 16.5 13.2C15.6102 13.2 14.8026 13.5522 14.2091 14.1247L8.77502 11.4077C8.79148 11.2741 8.79995 11.138 8.79995 11C8.79995 10.862 8.79147 10.7259 8.77501 10.5923L14.2091 7.87527C14.8026 8.44784 15.6101 8.80001 16.5 8.80001Z"
15
- fill={
16
- color ? HexColor.of(color).toString() : context.colors.main['0']
17
- }
15
+ fill={color ? HexColor.of(color).toString() : context.colors.main['0']}
18
16
  />
19
17
  </Svg>
20
18
  );
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const SmViewGridAddIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const SmViewGridAddIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,2 +1,6 @@
1
- import { IconNameInterface } from '../../interfaces/icon.interface';
2
- export declare const Solid: ({ name, size, color }: IconNameInterface) => JSX.Element;
1
+ import {IconNameInterface} from '../../interfaces/icon.interface';
2
+ export declare const Solid: ({
3
+ name,
4
+ size,
5
+ color,
6
+ }: IconNameInterface) => JSX.Element;
@@ -41,8 +41,8 @@ import {UserIcon as UserSolid} from './user/user.icon';
41
41
  import {UserGroupIcon as UserGroupSolid} from './user-group/user-group.icon';
42
42
  import {UsersIcon as UsersSolid} from './users/users-solid.icon';
43
43
  import {XMarkIcon as XMarkSolid} from './xmark/xmark.icon';
44
- import { ShareIcon } from './share/share.icon';
45
- import { PhotographIcon } from './photograph/photograph-solid.icon';
44
+ import {ShareIcon} from './share/share.icon';
45
+ import {PhotographIcon} from './photograph/photograph-solid.icon';
46
46
 
47
47
  export const Solid = ({name, size, color}: IconNameInterface): JSX.Element => {
48
48
  const renderIcon = ({name}: IconNameInterface): React.ReactNode => {
@@ -128,9 +128,9 @@ export const Solid = ({name, size, color}: IconNameInterface): JSX.Element => {
128
128
  case 'xmark':
129
129
  return <XMarkSolid size={size} color={color} />;
130
130
  case 'share':
131
- return <ShareIcon size={size} color={color} />
131
+ return <ShareIcon size={size} color={color} />;
132
132
  case 'photograph':
133
- return <PhotographIcon size={size} color={color} />
133
+ return <PhotographIcon size={size} color={color} />;
134
134
  default:
135
135
  alert('The icon you want is not available');
136
136
  break;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const StatusOnlineIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const StatusOnlineIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const ThumbUpIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const ThumbUpIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const TrashIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const TrashIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const UserIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const UserIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const UserGroupIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const UserGroupIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const UsersIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const UsersIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import * as React from 'react';
2
- import { IconSVGProps } from '../../../interfaces/icon.interface';
3
- export declare const XMarkIcon: ({ color, size }: IconSVGProps) => React.JSX.Element;
2
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
3
+ export declare const XMarkIcon: ({
4
+ color,
5
+ size,
6
+ }: IconSVGProps) => React.JSX.Element;
@@ -1,11 +1,11 @@
1
- import { IconStyleType, IconNameType } from '../types/icontype.type';
1
+ import {IconStyleType, IconNameType} from '../types/icontype.type';
2
2
  export interface IconSVGProps {
3
- color?: string | null;
4
- size?: number;
3
+ color?: string | null;
4
+ size?: number;
5
5
  }
6
6
  export interface IconNameInterface extends IconSVGProps {
7
- name: IconNameType;
7
+ name: IconNameType;
8
8
  }
9
9
  export interface IconInterface extends IconNameInterface {
10
- style: IconStyleType;
10
+ style: IconStyleType;
11
11
  }
@@ -1,6 +1,6 @@
1
1
  export declare class HexColor {
2
- private readonly color;
3
- private constructor();
4
- static of(color: string): HexColor;
5
- toString(): string;
2
+ private readonly color;
3
+ private constructor();
4
+ static of(color: string): HexColor;
5
+ toString(): string;
6
6
  }
@@ -1,7 +1,7 @@
1
1
  export declare class Initials {
2
- private readonly initials;
3
- private constructor();
4
- static for(first: string, second: string): Initials;
5
- private static safeLetter;
6
- toString(): string;
2
+ private readonly initials;
3
+ private constructor();
4
+ static for(first: string, second: string): Initials;
5
+ private static safeLetter;
6
+ toString(): string;
7
7
  }
@@ -1,15 +1,15 @@
1
1
  export interface TimeSlotRecordJSON {
2
- in: string;
3
- out: string;
2
+ in: string;
3
+ out: string;
4
4
  }
5
5
  export declare class TimeSlotRecord {
6
- start: string;
7
- end?: string;
8
- private constructor();
9
- static fromJson(json: TimeSlotRecordJSON): TimeSlotRecord;
10
- static fromEmpty(): TimeSlotRecord;
11
- static fromRecord(seq: TimeSlotRecord): TimeSlotRecord;
12
- isEmpty(): boolean;
13
- isComplete(): boolean;
14
- toJson(): TimeSlotRecordJSON;
6
+ start: string;
7
+ end?: string;
8
+ private constructor();
9
+ static fromJson(json: TimeSlotRecordJSON): TimeSlotRecord;
10
+ static fromEmpty(): TimeSlotRecord;
11
+ static fromRecord(seq: TimeSlotRecord): TimeSlotRecord;
12
+ isEmpty(): boolean;
13
+ isComplete(): boolean;
14
+ toJson(): TimeSlotRecordJSON;
15
15
  }
@@ -1,15 +1,17 @@
1
- import { TimeSlotRecord, TimeSlotRecordJSON } from './time-slot-record';
1
+ import {TimeSlotRecord, TimeSlotRecordJSON} from './time-slot-record';
2
2
  export declare class TimeSlotSequence {
3
- readonly first: TimeSlotRecord;
4
- readonly second: TimeSlotRecord;
5
- readonly third: TimeSlotRecord;
6
- private constructor();
7
- static fromAttendanceRecordArray(arr: TimeSlotRecord[]): TimeSlotSequence;
8
- static fromTimeSlotRecordJSONArray(arr: TimeSlotRecordJSON[]): TimeSlotSequence;
9
- static fromEmpty(): TimeSlotSequence;
10
- asArray(): TimeSlotRecord[];
11
- toJson(): TimeSlotRecord[];
12
- addToNextSlot(checkInOutTime: string): void;
13
- isComplete(): boolean;
14
- isEmpty(): boolean;
3
+ readonly first: TimeSlotRecord;
4
+ readonly second: TimeSlotRecord;
5
+ readonly third: TimeSlotRecord;
6
+ private constructor();
7
+ static fromAttendanceRecordArray(arr: TimeSlotRecord[]): TimeSlotSequence;
8
+ static fromTimeSlotRecordJSONArray(
9
+ arr: TimeSlotRecordJSON[]
10
+ ): TimeSlotSequence;
11
+ static fromEmpty(): TimeSlotSequence;
12
+ asArray(): TimeSlotRecord[];
13
+ toJson(): TimeSlotRecord[];
14
+ addToNextSlot(checkInOutTime: string): void;
15
+ isComplete(): boolean;
16
+ isEmpty(): boolean;
15
17
  }
@@ -4,7 +4,7 @@ export class TimeSlotSequence {
4
4
  private constructor(
5
5
  public readonly first: TimeSlotRecord,
6
6
  public readonly second: TimeSlotRecord,
7
- public readonly third: TimeSlotRecord,
7
+ public readonly third: TimeSlotRecord
8
8
  ) {}
9
9
 
10
10
  static fromAttendanceRecordArray(arr: TimeSlotRecord[]): TimeSlotSequence {
@@ -16,12 +16,18 @@ export class TimeSlotSequence {
16
16
  }
17
17
 
18
18
  static fromTimeSlotRecordJSONArray(
19
- arr: TimeSlotRecordJSON[]
19
+ arr: TimeSlotRecordJSON[]
20
20
  ): TimeSlotSequence {
21
21
  return new TimeSlotSequence(
22
- TimeSlotRecord.fromJson(arr[0] ? arr[0] : TimeSlotRecord.fromEmpty().toJson()),
23
- TimeSlotRecord.fromJson(arr[1] ? arr[1] : TimeSlotRecord.fromEmpty().toJson()),
24
- TimeSlotRecord.fromJson(arr[2] ? arr[2] : TimeSlotRecord.fromEmpty().toJson()),
22
+ TimeSlotRecord.fromJson(
23
+ arr[0] ? arr[0] : TimeSlotRecord.fromEmpty().toJson()
24
+ ),
25
+ TimeSlotRecord.fromJson(
26
+ arr[1] ? arr[1] : TimeSlotRecord.fromEmpty().toJson()
27
+ ),
28
+ TimeSlotRecord.fromJson(
29
+ arr[2] ? arr[2] : TimeSlotRecord.fromEmpty().toJson()
30
+ )
25
31
  );
26
32
  }
27
33
 
@@ -29,7 +35,7 @@ export class TimeSlotSequence {
29
35
  return new TimeSlotSequence(
30
36
  TimeSlotRecord.fromEmpty(),
31
37
  TimeSlotRecord.fromEmpty(),
32
- TimeSlotRecord.fromEmpty(),
38
+ TimeSlotRecord.fromEmpty()
33
39
  );
34
40
  }
35
41
 
@@ -67,9 +73,7 @@ export class TimeSlotSequence {
67
73
 
68
74
  isEmpty(): boolean {
69
75
  return (
70
- this.first.isEmpty() &&
71
- this.second.isEmpty() &&
72
- this.third.isEmpty()
76
+ this.first.isEmpty() && this.second.isEmpty() && this.third.isEmpty()
73
77
  );
74
78
  }
75
79
  }
@@ -1,72 +1,72 @@
1
1
  export declare const Font: {
2
- huge: {
3
- fontFamily: string;
4
- fontSize: number;
5
- lineHeight: number;
6
- };
7
- hugeBold: {
8
- fontFamily: string;
9
- fontSize: number;
10
- lineHeight: number;
11
- };
12
- big: {
13
- fontFamily: string;
14
- fontSize: number;
15
- lineHeight: number;
16
- };
17
- bigBold: {
18
- fontFamily: string;
19
- fontSize: number;
20
- lineHeight: number;
21
- };
22
- large: {
23
- fontFamily: string;
24
- fontSize: number;
25
- lineHeight: number;
26
- };
27
- largeBold: {
28
- fontFamily: string;
29
- fontSize: number;
30
- lineHeight: number;
31
- };
32
- medium: {
33
- fontFamily: string;
34
- fontSize: number;
35
- lineHeight: number;
36
- };
37
- mediumBold: {
38
- fontFamily: string;
39
- fontSize: number;
40
- lineHeight: number;
41
- };
42
- regular: {
43
- fontFamily: string;
44
- fontSize: number;
45
- lineHeight: number;
46
- };
47
- regularBold: {
48
- fontFamily: string;
49
- fontSize: number;
50
- lineHeight: number;
51
- };
52
- small: {
53
- fontFamily: string;
54
- fontSize: number;
55
- lineHeight: number;
56
- };
57
- smallBold: {
58
- fontFamily: string;
59
- fontSize: number;
60
- lineHeight: number;
61
- };
62
- tiny: {
63
- fontFamily: string;
64
- fontSize: number;
65
- lineHeight: number;
66
- };
67
- tinyBold: {
68
- fontFamily: string;
69
- fontSize: number;
70
- lineHeight: number;
71
- };
2
+ huge: {
3
+ fontFamily: string;
4
+ fontSize: number;
5
+ lineHeight: number;
6
+ };
7
+ hugeBold: {
8
+ fontFamily: string;
9
+ fontSize: number;
10
+ lineHeight: number;
11
+ };
12
+ big: {
13
+ fontFamily: string;
14
+ fontSize: number;
15
+ lineHeight: number;
16
+ };
17
+ bigBold: {
18
+ fontFamily: string;
19
+ fontSize: number;
20
+ lineHeight: number;
21
+ };
22
+ large: {
23
+ fontFamily: string;
24
+ fontSize: number;
25
+ lineHeight: number;
26
+ };
27
+ largeBold: {
28
+ fontFamily: string;
29
+ fontSize: number;
30
+ lineHeight: number;
31
+ };
32
+ medium: {
33
+ fontFamily: string;
34
+ fontSize: number;
35
+ lineHeight: number;
36
+ };
37
+ mediumBold: {
38
+ fontFamily: string;
39
+ fontSize: number;
40
+ lineHeight: number;
41
+ };
42
+ regular: {
43
+ fontFamily: string;
44
+ fontSize: number;
45
+ lineHeight: number;
46
+ };
47
+ regularBold: {
48
+ fontFamily: string;
49
+ fontSize: number;
50
+ lineHeight: number;
51
+ };
52
+ small: {
53
+ fontFamily: string;
54
+ fontSize: number;
55
+ lineHeight: number;
56
+ };
57
+ smallBold: {
58
+ fontFamily: string;
59
+ fontSize: number;
60
+ lineHeight: number;
61
+ };
62
+ tiny: {
63
+ fontFamily: string;
64
+ fontSize: number;
65
+ lineHeight: number;
66
+ };
67
+ tinyBold: {
68
+ fontFamily: string;
69
+ fontSize: number;
70
+ lineHeight: number;
71
+ };
72
72
  };