@tactics/toddle-styleguide 1.0.0 → 1.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 (292) hide show
  1. package/App.tsx +27 -0
  2. package/index.d.ts +5 -1
  3. package/index.tsx +8 -0
  4. package/package.json +1 -1
  5. package/src/components/{templates/popover/components → atoms}/backdrop/backdrop.component.tsx +1 -1
  6. package/src/components/atoms/calendar/__snapshots__/calendar.test.js.snap +54 -54
  7. package/src/components/atoms/calendar/calendar.component.tsx +4 -2
  8. package/src/components/atoms/footer/__snapshots__/footer.test.js.snap +9 -9
  9. package/src/components/atoms/increment-input/__snapshots__/increment-input.test.js.snap +18 -18
  10. package/src/components/atoms/increment-input/increment-input.component.tsx +12 -2
  11. package/src/components/atoms/split-container/__snapshots__/split-container.test.js.snap +9 -9
  12. package/src/components/molecules/blocked-message/__snapshots__/blocked-message.test.js.snap +9 -9
  13. package/src/components/molecules/blocked-message/blocked-message.component.tsx +6 -1
  14. package/src/components/molecules/button/__snapshots__/button.test.js.snap +36 -30
  15. package/src/components/molecules/button/button.component.d.ts +6 -3
  16. package/src/components/molecules/button/button.component.tsx +27 -3
  17. package/src/components/molecules/button/button.preview.tsx +6 -3
  18. package/src/components/molecules/button/button.test.js +9 -6
  19. package/src/components/molecules/calendar-select/__snapshots__/calendar-select.test.js.snap +29 -29
  20. package/src/components/molecules/calendar-select/calendar-select.component.tsx +7 -4
  21. package/src/components/molecules/calendar-select/calendar-select.styles.js +2 -2
  22. package/src/components/molecules/date-input/__snapshots__/date-input.test.js.snap +9 -9
  23. package/src/components/molecules/date-input/date-input.component.tsx +5 -1
  24. package/src/components/molecules/default-select/__snapshots__/default-select.test.js.snap +9 -9
  25. package/src/components/molecules/default-select/default-select.component.tsx +5 -1
  26. package/src/components/molecules/failed-to-send/__snapshots__/failed-bubble.test.js.snap +27 -27
  27. package/src/components/molecules/failed-to-send/failed-bubble.component.tsx +14 -3
  28. package/src/components/molecules/language-button/__snapshots__/language-button.test.js.snap +95 -0
  29. package/src/components/molecules/language-button/language-button.component.d.ts +7 -0
  30. package/src/components/molecules/language-button/language-button.component.tsx +33 -0
  31. package/src/components/molecules/language-button/language-button.preview.d.ts +1 -0
  32. package/src/components/molecules/language-button/language-button.preview.tsx +29 -0
  33. package/src/components/molecules/language-button/language-button.styles.d.ts +8 -0
  34. package/src/components/molecules/language-button/language-button.styles.js +12 -0
  35. package/src/components/molecules/language-button/language-button.test.js +29 -0
  36. package/src/components/molecules/message-input/__snapshots__/message-input.test.js.snap +140 -72
  37. package/src/components/molecules/message-input/message-input.component.tsx +10 -2
  38. package/src/components/molecules/more-info-button/__snapshots__/more-info-button.test.js.snap +99 -0
  39. package/src/components/molecules/more-info-button/more-info-button.component.d.ts +7 -0
  40. package/src/components/molecules/more-info-button/more-info-button.component.tsx +33 -0
  41. package/src/components/molecules/more-info-button/more-info-button.preview.d.ts +1 -0
  42. package/src/components/molecules/more-info-button/more-info-button.preview.tsx +29 -0
  43. package/src/components/molecules/more-info-button/more-info-button.styles.d.ts +10 -0
  44. package/src/components/molecules/more-info-button/more-info-button.styles.js +15 -0
  45. package/src/components/molecules/more-info-button/more-info-button.test.js +29 -0
  46. package/src/components/molecules/password-input/__snapshots__/password-input.test.js.snap +30 -30
  47. package/src/components/molecules/password-input/password-input.component.tsx +10 -2
  48. package/src/components/molecules/pressable-icon/__snapshots__/pressable-icon.test.js.snap +36 -36
  49. package/src/components/molecules/pressable-icon/pressable-icon.preview.tsx +4 -4
  50. package/src/components/molecules/pressable-icon/pressable-icon.test.js +8 -4
  51. package/src/components/molecules/search-input/__snapshots__/search.test.js.snap +15 -18
  52. package/src/components/molecules/search-input/search.component.tsx +6 -2
  53. package/src/components/molecules/search-input/search.styles.js +5 -8
  54. package/src/components/molecules/select-list-item/__snapshots__/select-list-item.test.js.snap +431 -431
  55. package/src/components/molecules/select-list-item/select-list-item-preview.tsx +3 -4
  56. package/src/components/molecules/select-list-item/select-list-item.component.tsx +21 -18
  57. package/src/components/molecules/select-list-item/select-list-item.styles.js +10 -7
  58. package/src/components/molecules/select-picker/__snapshots__/select-picker.test.js.snap +18 -20
  59. package/src/components/molecules/select-picker/select-picker.component.tsx +6 -1
  60. package/src/components/molecules/select-picker/select-picker.styles.js +2 -2
  61. package/src/components/molecules/send-bubble/__snapshots__/send-text-bubble.test.js.snap +108 -108
  62. package/src/components/molecules/send-bubble/send-text-bubble.component.tsx +2 -2
  63. package/src/components/molecules/snackbar/__snapshots__/snackbar.test.js.snap +36 -36
  64. package/src/components/molecules/snackbar/snackbar.component.tsx +21 -2
  65. package/src/components/molecules/swipe/__snapshots__/swipe.test.js.snap +15 -11
  66. package/src/components/molecules/swipe/swipe.component.tsx +10 -2
  67. package/src/components/organisms/child-list-item/__snapshots__/child-list-item.test.js.snap +10 -10
  68. package/src/components/organisms/child-list-item/child-list-item.component.tsx +7 -2
  69. package/src/components/organisms/child-list-item/child-list-item.preview.tsx +7 -1
  70. package/src/components/organisms/contact-item/__snapshots__/contact-item.test.js.snap +18 -18
  71. package/src/components/organisms/contact-item/contact-item.component.tsx +6 -1
  72. package/src/components/organisms/loading-indicator/__snapshots__/loading-indicator.test.js.snap +474 -0
  73. package/src/components/organisms/loading-indicator/animation-style.animate.d.ts +3 -0
  74. package/src/components/organisms/loading-indicator/animation-style.animate.ts +164 -0
  75. package/src/components/organisms/loading-indicator/container.component.d.ts +1 -0
  76. package/src/components/organisms/loading-indicator/container.component.tsx +65 -0
  77. package/src/components/organisms/loading-indicator/dot.component.d.ts +6 -0
  78. package/src/components/organisms/loading-indicator/dot.component.tsx +27 -0
  79. package/src/components/organisms/loading-indicator/loading-indicator.component.d.ts +2 -0
  80. package/src/components/organisms/loading-indicator/loading-indicator.component.tsx +21 -0
  81. package/src/components/organisms/loading-indicator/loading-indicator.preview.d.ts +1 -0
  82. package/src/components/organisms/loading-indicator/loading-indicator.preview.tsx +100 -0
  83. package/src/components/organisms/loading-indicator/loading-indicator.test.js +40 -0
  84. package/src/components/organisms/my-child-list-item/__snapshots__/my-child-list-item.test.js.snap +18 -18
  85. package/src/components/organisms/my-child-list-item/my-child-list-item.component.tsx +12 -2
  86. package/src/components/organisms/text-bubble/__snapshots__/text-bubble.test.js.snap +135 -135
  87. package/src/components/organisms/text-bubble/text-bubble.test.js +0 -1
  88. package/src/components/templates/modal/components/fade-panel.component.d.ts +11 -0
  89. package/src/components/templates/modal/components/fade-panel.component.tsx +53 -0
  90. package/src/components/templates/modal/components/fade-panel.styles.d.ts +16 -0
  91. package/src/components/templates/modal/components/fade-panel.styles.js +17 -0
  92. package/src/components/templates/modal/modal-preview.styles.d.ts +13 -0
  93. package/src/components/templates/modal/modal-preview.styles.js +17 -0
  94. package/src/components/templates/modal/modal.component.d.ts +10 -0
  95. package/src/components/templates/modal/modal.component.tsx +56 -0
  96. package/src/components/templates/modal/modal.preview.d.ts +1 -0
  97. package/src/components/templates/modal/modal.preview.tsx +73 -0
  98. package/src/components/templates/modal/modal.styles.d.ts +21 -0
  99. package/src/components/templates/modal/modal.styles.js +23 -0
  100. package/src/components/templates/popover/components/index.js +1 -1
  101. package/src/components/templates/popover/components/modal/close/close.component.tsx +9 -4
  102. package/src/components/templates/popover/components/modal/close/close.styles.d.ts +4 -3
  103. package/src/components/templates/popover/components/modal/close/close.styles.js +8 -5
  104. package/src/components/templates/popover/components/modal/heading/heading.styles.js +1 -1
  105. package/src/components/templates/popover/components/modal/modal.component.tsx +1 -1
  106. package/src/components/templates/popover/components/modal/modal.styles.js +1 -1
  107. package/src/components/templates/popover/popover.component.tsx +2 -1
  108. package/src/context/loading-dots.context.d.ts +8 -0
  109. package/src/context/loading-dots.context.tsx +33 -0
  110. package/src/icons/__snapshots__/icons.test.js.snap +572 -482
  111. package/src/icons/icons.test.js +126 -51
  112. package/src/icons/index.d.ts +2 -56
  113. package/src/icons/index.tsx +11 -3
  114. package/src/icons/outline/calendar/calendar.icon.d.ts +2 -2
  115. package/src/icons/outline/calendar/calendar.icon.tsx +5 -4
  116. package/src/icons/outline/chat/chat.icon.d.ts +2 -2
  117. package/src/icons/outline/chat/chat.icon.tsx +5 -4
  118. package/src/icons/outline/chat-alt/chat-alt.icon.d.ts +2 -2
  119. package/src/icons/outline/chat-alt/chat-alt.icon.tsx +5 -4
  120. package/src/icons/outline/check-circle/check-circle.icon.d.ts +2 -2
  121. package/src/icons/outline/check-circle/check-circle.icon.tsx +5 -4
  122. package/src/icons/outline/chevron-left/chevron-left.icon.d.ts +2 -2
  123. package/src/icons/outline/chevron-left/chevron-left.icon.tsx +5 -4
  124. package/src/icons/outline/chevron-right/chevron-right.icon.d.ts +2 -2
  125. package/src/icons/outline/chevron-right/chevron-right.icon.tsx +5 -4
  126. package/src/icons/outline/clock/clock.icon.d.ts +2 -2
  127. package/src/icons/outline/clock/clock.icon.tsx +5 -4
  128. package/src/icons/outline/cloud-download/cloud-download.icon.d.ts +2 -2
  129. package/src/icons/outline/cloud-download/cloud-download.icon.tsx +5 -4
  130. package/src/icons/outline/currency-euro/currency-euro.icon.d.ts +2 -2
  131. package/src/icons/outline/currency-euro/currency-euro.icon.tsx +5 -4
  132. package/src/icons/outline/document-text/document-text.icon.d.ts +2 -2
  133. package/src/icons/outline/document-text/document-text.icon.tsx +5 -4
  134. package/src/icons/outline/exclamation/exclamation.icon.d.ts +2 -2
  135. package/src/icons/outline/exclamation/exclamation.icon.tsx +5 -4
  136. package/src/icons/outline/exclamation-circle/exclamation-circle.icon.d.ts +2 -2
  137. package/src/icons/outline/exclamation-circle/exclamation-circle.icon.tsx +8 -4
  138. package/src/icons/outline/eye/eye.icon.d.ts +2 -2
  139. package/src/icons/outline/eye/eye.icon.tsx +6 -5
  140. package/src/icons/outline/eye-off/eye-off.icon.d.ts +2 -2
  141. package/src/icons/outline/eye-off/eye-off.icon.tsx +4 -3
  142. package/src/icons/outline/filter/filter.icon.d.ts +2 -2
  143. package/src/icons/outline/filter/filter.icon.tsx +5 -42
  144. package/src/icons/outline/information-circle/information-circle.icon.d.ts +2 -2
  145. package/src/icons/outline/information-circle/information-circle.icon.tsx +8 -4
  146. package/src/icons/outline/logout/logout.icon.d.ts +2 -2
  147. package/src/icons/outline/logout/logout.icon.tsx +11 -4
  148. package/src/icons/outline/mail/mail.icon.d.ts +2 -2
  149. package/src/icons/outline/mail/mail.icon.tsx +5 -4
  150. package/src/icons/outline/mail-open/mail-open.icon.d.ts +2 -2
  151. package/src/icons/outline/mail-open/mail-open.icon.tsx +5 -4
  152. package/src/icons/outline/menu/menu.icon.d.ts +2 -2
  153. package/src/icons/outline/menu/menu.icon.tsx +5 -4
  154. package/src/icons/outline/minus-sm/minus-sm.icon.d.ts +2 -2
  155. package/src/icons/outline/minus-sm/minus-sm.icon.tsx +5 -9
  156. package/src/icons/outline/office-building/office-building.icon.d.ts +2 -2
  157. package/src/icons/outline/office-building/office-building.icon.tsx +5 -4
  158. package/src/icons/outline/outline-default.preview.tsx +49 -45
  159. package/src/icons/outline/outline-grey.preview.tsx +56 -40
  160. package/src/icons/outline/outline-white.preview.tsx +61 -41
  161. package/src/icons/outline/outline.d.ts +2 -42
  162. package/src/icons/outline/outline.tsx +99 -42
  163. package/src/icons/outline/paper-airplane/paper-airplane.icon.d.ts +2 -2
  164. package/src/icons/outline/paper-airplane/paper-airplane.icon.tsx +11 -4
  165. package/src/icons/outline/paperclip/paperclip.icon.d.ts +2 -2
  166. package/src/icons/outline/paperclip/paperclip.icon.tsx +5 -4
  167. package/src/icons/outline/pencil/pencil.icon.d.ts +2 -2
  168. package/src/icons/outline/pencil/pencil.icon.tsx +5 -4
  169. package/src/icons/outline/phone/phone.icon.d.ts +2 -2
  170. package/src/icons/outline/phone/phone.icon.tsx +5 -4
  171. package/src/icons/outline/plus/plus.icon.d.ts +2 -2
  172. package/src/icons/outline/plus/plus.icon.tsx +5 -4
  173. package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +2 -2
  174. package/src/icons/outline/plus-sm/plus-sm.icon.tsx +5 -9
  175. package/src/icons/outline/qrcode/qrcode.icon.d.ts +2 -2
  176. package/src/icons/outline/qrcode/qrcode.icon.tsx +5 -4
  177. package/src/icons/outline/refresh/refresh.icon.d.ts +2 -2
  178. package/src/icons/outline/refresh/refresh.icon.tsx +5 -4
  179. package/src/icons/outline/search/search.icon.d.ts +2 -2
  180. package/src/icons/outline/search/search.icon.tsx +5 -4
  181. package/src/icons/outline/selector/selector.icon.d.ts +2 -2
  182. package/src/icons/outline/selector/selector.icon.tsx +5 -4
  183. package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.d.ts +2 -2
  184. package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.tsx +5 -4
  185. package/src/icons/outline/status-online/status-online.icon.d.ts +2 -2
  186. package/src/icons/outline/status-online/status-online.icon.tsx +5 -4
  187. package/src/icons/outline/thumb-up/thumb-up.icon.d.ts +2 -2
  188. package/src/icons/outline/thumb-up/thumb-up.icon.tsx +5 -4
  189. package/src/icons/outline/trash/trash.icon.d.ts +2 -2
  190. package/src/icons/outline/trash/trash.icon.tsx +5 -4
  191. package/src/icons/outline/user/user.icon.d.ts +2 -2
  192. package/src/icons/outline/user/user.icon.tsx +6 -5
  193. package/src/icons/outline/user-group/user-group.icon.d.ts +2 -2
  194. package/src/icons/outline/user-group/user-group.icon.tsx +5 -4
  195. package/src/icons/outline/users/users.icon.d.ts +2 -2
  196. package/src/icons/outline/users/users.icon.tsx +5 -4
  197. package/src/icons/outline/xmark/xmark.icon.d.ts +2 -0
  198. package/src/icons/outline/{cross/cross.icon.tsx → xmark/xmark.icon.tsx} +5 -4
  199. package/src/icons/solid/calendar/calendar.icon.d.ts +2 -0
  200. package/src/icons/solid/calendar/calendar.icon.tsx +21 -0
  201. package/src/icons/solid/chat/chat.icon.d.ts +2 -0
  202. package/src/icons/solid/chat/chat.icon.tsx +21 -0
  203. package/src/icons/solid/chat-alt/chat-alt-solid.icon.d.ts +2 -2
  204. package/src/icons/solid/chat-alt/chat-alt-solid.icon.tsx +5 -4
  205. package/src/icons/solid/check-circle/check-circle.icon.d.ts +2 -0
  206. package/src/icons/solid/check-circle/check-circle.icon.tsx +21 -0
  207. package/src/icons/solid/chevron-left/chevron-left.icon.d.ts +2 -0
  208. package/src/icons/solid/chevron-left/chevron-left.icon.tsx +21 -0
  209. package/src/icons/solid/chevron-right/chevron-right.icon.d.ts +2 -0
  210. package/src/icons/solid/chevron-right/chevron-right.icon.tsx +21 -0
  211. package/src/icons/solid/clock/clock-solid.icon.d.ts +2 -2
  212. package/src/icons/solid/clock/clock-solid.icon.tsx +5 -4
  213. package/src/icons/solid/cloud-download/cloud-download.icon.d.ts +2 -0
  214. package/src/icons/solid/cloud-download/cloud-download.icon.tsx +21 -0
  215. package/src/icons/solid/currency-euro/currency-euro.icon.d.ts +2 -0
  216. package/src/icons/solid/currency-euro/currency-euro.icon.tsx +21 -0
  217. package/src/icons/solid/document-text/document-text-solid.icon.d.ts +2 -2
  218. package/src/icons/solid/document-text/document-text-solid.icon.tsx +4 -3
  219. package/src/icons/solid/exclamation/exclamation.icon.d.ts +2 -0
  220. package/src/icons/solid/exclamation/exclamation.icon.tsx +20 -0
  221. package/src/icons/solid/exclamation-circle/exclamation-circle.icon.d.ts +2 -0
  222. package/src/icons/solid/exclamation-circle/exclamation-circle.icon.tsx +23 -0
  223. package/src/icons/solid/eye/eye.icon.d.ts +2 -0
  224. package/src/icons/solid/eye/eye.icon.tsx +24 -0
  225. package/src/icons/solid/eye-off/eye-off.icon.d.ts +2 -0
  226. package/src/icons/solid/eye-off/eye-off.icon.tsx +24 -0
  227. package/src/icons/solid/filter/filter.icon.d.ts +2 -0
  228. package/src/icons/solid/filter/filter.icon.tsx +21 -0
  229. package/src/icons/solid/information-circle/information-circle-solid.icon.d.ts +2 -2
  230. package/src/icons/solid/information-circle/information-circle-solid.icon.tsx +8 -4
  231. package/src/icons/solid/logout/logout.icon.d.ts +2 -0
  232. package/src/icons/solid/logout/logout.icon.tsx +26 -0
  233. package/src/icons/solid/mail/mail.icon.d.ts +2 -0
  234. package/src/icons/solid/mail/mail.icon.tsx +23 -0
  235. package/src/icons/solid/mail-open/mail-open.icon.d.ts +2 -0
  236. package/src/icons/solid/mail-open/mail-open.icon.tsx +21 -0
  237. package/src/icons/solid/menu/menu.icon.d.ts +2 -0
  238. package/src/icons/solid/menu/menu.icon.tsx +33 -0
  239. package/src/icons/solid/minus-sm/minus-sm.icon.d.ts +2 -0
  240. package/src/icons/solid/minus-sm/minus-sm.icon.tsx +21 -0
  241. package/src/icons/solid/office-building/office-building.icon.d.ts +2 -0
  242. package/src/icons/solid/office-building/office-building.icon.tsx +21 -0
  243. package/src/icons/solid/paper-airplane/paper-airplane.icon.d.ts +2 -0
  244. package/src/icons/solid/paper-airplane/paper-airplane.icon.tsx +25 -0
  245. package/src/icons/solid/paperclip/paperclip.icon.d.ts +2 -0
  246. package/src/icons/solid/paperclip/paperclip.icon.tsx +21 -0
  247. package/src/icons/solid/pencil/pencil-solid.icon.d.ts +2 -2
  248. package/src/icons/solid/pencil/pencil-solid.icon.tsx +6 -5
  249. package/src/icons/solid/phone/phone-solid.icon.d.ts +2 -2
  250. package/src/icons/solid/phone/phone-solid.icon.tsx +5 -4
  251. package/src/icons/solid/plus/plus.icon.d.ts +2 -0
  252. package/src/icons/solid/plus/plus.icon.tsx +21 -0
  253. package/src/icons/solid/plus-sm/plus-sm.icon.d.ts +2 -0
  254. package/src/icons/solid/plus-sm/plus-sm.icon.tsx +21 -0
  255. package/src/icons/solid/qrcode/qrcode.icon.d.ts +2 -0
  256. package/src/icons/solid/qrcode/qrcode.icon.tsx +60 -0
  257. package/src/icons/solid/refresh/refresh-solid.icon.d.ts +2 -2
  258. package/src/icons/solid/refresh/refresh-solid.icon.tsx +5 -4
  259. package/src/icons/solid/search/search.icon.d.ts +2 -0
  260. package/src/icons/solid/search/search.icon.tsx +21 -0
  261. package/src/icons/solid/selector/selector.icon.d.ts +2 -0
  262. package/src/icons/solid/selector/selector.icon.tsx +21 -0
  263. package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.d.ts +2 -0
  264. package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.tsx +31 -0
  265. package/src/icons/solid/solid.d.ts +2 -12
  266. package/src/icons/solid/solid.preview.tsx +95 -30
  267. package/src/icons/solid/solid.tsx +133 -21
  268. package/src/icons/solid/status-online/status-online-solid.icon.d.ts +2 -2
  269. package/src/icons/solid/status-online/status-online-solid.icon.tsx +5 -10
  270. package/src/icons/solid/thumb-up/thumb-up.icon.d.ts +2 -0
  271. package/src/icons/solid/thumb-up/thumb-up.icon.tsx +23 -0
  272. package/src/icons/solid/trash/trash-solid.icon.d.ts +2 -2
  273. package/src/icons/solid/trash/trash-solid.icon.tsx +5 -4
  274. package/src/icons/solid/user/user.icon.d.ts +2 -0
  275. package/src/icons/solid/user/user.icon.tsx +23 -0
  276. package/src/icons/solid/user-group/user-group.icon.d.ts +2 -0
  277. package/src/icons/solid/user-group/user-group.icon.tsx +72 -0
  278. package/src/icons/solid/users/users-solid.icon.d.ts +2 -2
  279. package/src/icons/solid/users/users-solid.icon.tsx +29 -3
  280. package/src/icons/solid/xmark/xmark.icon.d.ts +2 -0
  281. package/src/icons/solid/xmark/xmark.icon.tsx +21 -0
  282. package/src/interfaces/icon.interface.d.ts +11 -0
  283. package/src/interfaces/icon.interface.ts +12 -0
  284. package/src/theme/provider/parent.theme.ts +1 -1
  285. package/src/types/icontype.type.d.ts +2 -4
  286. package/src/types/icontype.type.ts +43 -4
  287. package/src/types/loading-dots.type.d.ts +8 -0
  288. package/src/types/loading-dots.type.ts +8 -0
  289. package/src/icons/outline/cross/cross.icon.d.ts +0 -2
  290. /package/src/components/{templates/popover/components → atoms}/backdrop/backdrop.component.d.ts +0 -0
  291. /package/src/components/{templates/popover/components → atoms}/backdrop/backdrop.styles.d.ts +0 -0
  292. /package/src/components/{templates/popover/components → atoms}/backdrop/backdrop.styles.js +0 -0
package/App.tsx CHANGED
@@ -59,6 +59,10 @@ import {HeadingsPreview} from './src/components/atoms/heading-components/heading
59
59
  import {ParagraphComponentsPreview} from './src/components/atoms/paragraph-components/paragraph-components.preview';
60
60
  import {MyChildListItemPreview} from './src/components/organisms/my-child-list-item/my-child-list-item.preview';
61
61
  import {SelectLinkPreview} from './src/components/molecules/select-link/select-link.preview';
62
+ import {MoreInfoButtonPreview} from './src/components/molecules/more-info-button/more-info-button.preview';
63
+ import {LanguageButtonPreview} from './src/components/molecules/language-button/language-button.preview';
64
+ import {ModalPreview} from './src/components/templates/modal/modal.preview';
65
+ import {LoadingIndicatorPreview} from './src/components/organisms/loading-indicator/loading-indicator.preview';
62
66
 
63
67
  const Stack = createNativeStackNavigator();
64
68
 
@@ -223,6 +227,19 @@ const HomeScreen = ({navigation}: {navigation: any}) => {
223
227
  title="Select link"
224
228
  onPress={() => navigation.push('select-link')}
225
229
  />
230
+ <ReactBtn
231
+ title="More info button"
232
+ onPress={() => navigation.push('more-info-button')}
233
+ />
234
+ <ReactBtn
235
+ title="Language button"
236
+ onPress={() => navigation.push('language-button')}
237
+ />
238
+ <ReactBtn title="Modal" onPress={() => navigation.push('modal')} />
239
+ <ReactBtn
240
+ title="Loading indicator"
241
+ onPress={() => navigation.push('loading-indicator')}
242
+ />
226
243
  </ScrollView>
227
244
  );
228
245
  };
@@ -365,6 +382,16 @@ function App() {
365
382
  <Stack.Screen name="select-link">
366
383
  {() => <SelectLinkPreview />}
367
384
  </Stack.Screen>
385
+ <Stack.Screen name="more-info-button">
386
+ {() => <MoreInfoButtonPreview />}
387
+ </Stack.Screen>
388
+ <Stack.Screen name="language-button">
389
+ {() => <LanguageButtonPreview />}
390
+ </Stack.Screen>
391
+ <Stack.Screen name="modal">{() => <ModalPreview />}</Stack.Screen>
392
+ <Stack.Screen name="loading-indicator" options={{headerShown: false}}>
393
+ {() => <LoadingIndicatorPreview />}
394
+ </Stack.Screen>
368
395
  </Stack.Navigator>
369
396
  </NavigationContainer>
370
397
  </ThemeCtx.Provider>
package/index.d.ts CHANGED
@@ -45,6 +45,10 @@ import { AllCapsHeading, Heading1, Heading2, Heading3, Heading4 } from './src/co
45
45
  import { Paragraph, SmallText, TinyText } from './src/components/atoms/paragraph-components';
46
46
  import { SelectLink } from './src/components/molecules/select-link/select-link.component';
47
47
  import { MyChildListItem } from './src/components/organisms/my-child-list-item/my-child-list-item.component';
48
+ import { MoreInfoButton } from './src/components/molecules/more-info-button/more-info-button.component';
49
+ import { LanguageButton } from './src/components/molecules/language-button/language-button.component';
50
+ import { Modal } from './src/components/templates/modal/modal.component';
51
+ import { LoadingIndicator } from './src/components/organisms/loading-indicator/loading-indicator.component';
48
52
  import { BubbleAlignment } from './src/types/bubble-alignment.enum';
49
53
  import { KeyBoardTypes } from './src/types/keyboard-types.enum';
50
54
  import { Size } from './src/types/size.enum';
@@ -53,4 +57,4 @@ import { Initials } from './src/models/initials.model';
53
57
  import { ToddleDateTime } from './src/utilities/toddle-datetime/toddle-datetime.class';
54
58
  import { ThemeCtx } from './src/context/theme.context';
55
59
  import { Scale } from './src/theme/scale/index';
56
- export { Initials, BubbleAlignment, KeyBoardTypes, Size, Scale, VisualState, ThemeCtx, ToddleDateTime, Avatar, Button, CancelLink, Check, Checkbox, ChildListItem, ContactItem, FilterTab, SplitContainer, ImageBubble, Info, Pill, Popover, PressableIcon, QuickFilter, Search, SelectListItem, Snackbar, Tag, TextBubble, TextInput, TimeTracker, WideButton, Icon, Calendar, IncrementInput, Swipe, Logo, DaySelect, BlockedMessage, DepartmentLogo, ContactRole, Timeline, SelectPicker, CalendarSelect, DateInput, FilterRange, Footer, DefaultSelect, PasswordInput, MessageInput, Heading1, Heading2, Heading3, Heading4, AllCapsHeading, Paragraph, SmallText, TinyText, SelectLink, MyChildListItem, };
60
+ export { Initials, BubbleAlignment, KeyBoardTypes, Size, Scale, VisualState, ThemeCtx, ToddleDateTime, Avatar, Button, CancelLink, Check, Checkbox, ChildListItem, ContactItem, FilterTab, SplitContainer, ImageBubble, Info, Pill, Popover, PressableIcon, QuickFilter, Search, SelectListItem, Snackbar, Tag, TextBubble, TextInput, TimeTracker, WideButton, Icon, Calendar, IncrementInput, Swipe, Logo, DaySelect, BlockedMessage, DepartmentLogo, ContactRole, Timeline, SelectPicker, CalendarSelect, DateInput, FilterRange, Footer, DefaultSelect, PasswordInput, MessageInput, Heading1, Heading2, Heading3, Heading4, AllCapsHeading, Paragraph, SmallText, TinyText, SelectLink, MyChildListItem, MoreInfoButton, LanguageButton, Modal, LoadingIndicator, };
package/index.tsx CHANGED
@@ -63,6 +63,10 @@ import {
63
63
  } from './src/components/atoms/paragraph-components';
64
64
  import {SelectLink} from './src/components/molecules/select-link/select-link.component';
65
65
  import {MyChildListItem} from './src/components/organisms/my-child-list-item/my-child-list-item.component';
66
+ import {MoreInfoButton} from './src/components/molecules/more-info-button/more-info-button.component';
67
+ import {LanguageButton} from './src/components/molecules/language-button/language-button.component';
68
+ import {Modal} from './src/components/templates/modal/modal.component';
69
+ import {LoadingIndicator} from './src/components/organisms/loading-indicator/loading-indicator.component';
66
70
 
67
71
  // Exports of enums
68
72
  import {BubbleAlignment} from './src/types/bubble-alignment.enum';
@@ -142,4 +146,8 @@ export {
142
146
  TinyText,
143
147
  SelectLink,
144
148
  MyChildListItem,
149
+ MoreInfoButton,
150
+ LanguageButton,
151
+ Modal,
152
+ LoadingIndicator,
145
153
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tactics/toddle-styleguide",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "main": "index.tsx",
5
5
  "types": "index.d.ts",
6
6
  "prepublish": "tsc",
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import {useContext, useMemo} from 'react';
3
3
 
4
- import {ThemeCtx} from '../../../../../context/theme.context';
4
+ import {ThemeCtx} from '../../../context/theme.context';
5
5
  import {Animated} from 'react-native';
6
6
  import {Stylesheet} from './backdrop.styles';
7
7
 
@@ -90,11 +90,11 @@ exports[`Test for the calendar component renders a calendar where you can select
90
90
  >
91
91
  <RNSVGSvgView
92
92
  align="xMidYMid"
93
- bbHeight="28"
94
- bbWidth="28"
93
+ bbHeight={24}
94
+ bbWidth={24}
95
95
  fill="none"
96
96
  focusable={false}
97
- height="28"
97
+ height={24}
98
98
  meetOrSlice={0}
99
99
  minX={0}
100
100
  minY={0}
@@ -106,14 +106,14 @@ exports[`Test for the calendar component renders a calendar where you can select
106
106
  },
107
107
  {
108
108
  "flex": 0,
109
- "height": 28,
110
- "width": 28,
109
+ "height": 24,
110
+ "width": 24,
111
111
  },
112
112
  ]
113
113
  }
114
- vbHeight={27}
115
- vbWidth={27}
116
- width="28"
114
+ vbHeight={19}
115
+ vbWidth={10}
116
+ width={24}
117
117
  >
118
118
  <RNSVGGroup
119
119
  fill={null}
@@ -124,7 +124,7 @@ exports[`Test for the calendar component renders a calendar where you can select
124
124
  }
125
125
  >
126
126
  <RNSVGPath
127
- d="M16.875 21.375L9 13.5L16.875 5.625"
127
+ d="M8.875 17.375L1 9.5L8.875 1.625"
128
128
  propList={
129
129
  [
130
130
  "stroke",
@@ -202,11 +202,11 @@ exports[`Test for the calendar component renders a calendar where you can select
202
202
  >
203
203
  <RNSVGSvgView
204
204
  align="xMidYMid"
205
- bbHeight="28"
206
- bbWidth="28"
205
+ bbHeight={24}
206
+ bbWidth={24}
207
207
  fill="none"
208
208
  focusable={false}
209
- height="28"
209
+ height={24}
210
210
  meetOrSlice={0}
211
211
  minX={0}
212
212
  minY={0}
@@ -218,14 +218,14 @@ exports[`Test for the calendar component renders a calendar where you can select
218
218
  },
219
219
  {
220
220
  "flex": 0,
221
- "height": 28,
222
- "width": 28,
221
+ "height": 24,
222
+ "width": 24,
223
223
  },
224
224
  ]
225
225
  }
226
- vbHeight={27}
227
- vbWidth={26}
228
- width="28"
226
+ vbHeight={19}
227
+ vbWidth={11}
228
+ width={24}
229
229
  >
230
230
  <RNSVGGroup
231
231
  fill={null}
@@ -236,7 +236,7 @@ exports[`Test for the calendar component renders a calendar where you can select
236
236
  }
237
237
  >
238
238
  <RNSVGPath
239
- d="M9.75 5.625L17.3333 13.5L9.75 21.375"
239
+ d="M1.75 1.625L9.33333 9.5L1.75 17.375"
240
240
  propList={
241
241
  [
242
242
  "stroke",
@@ -1424,7 +1424,7 @@ exports[`Test for the calendar component renders a calendar where you can select
1424
1424
  }
1425
1425
  >
1426
1426
  <View
1427
- accessibilityLabel="today Maandag 13 Februari 2023 "
1427
+ accessibilityLabel=" Maandag 13 Februari 2023 "
1428
1428
  accessibilityRole="button"
1429
1429
  accessibilityState={
1430
1430
  {
@@ -1444,10 +1444,6 @@ exports[`Test for the calendar component renders a calendar where you can select
1444
1444
  style={
1445
1445
  {
1446
1446
  "alignItems": "center",
1447
- "borderColor": "#7B93DB",
1448
- "borderRadius": 21,
1449
- "borderStyle": "solid",
1450
- "borderWidth": 1,
1451
1447
  "height": 42,
1452
1448
  "justifyContent": "center",
1453
1449
  "opacity": 1,
@@ -1467,9 +1463,6 @@ exports[`Test for the calendar component renders a calendar where you can select
1467
1463
  "lineHeight": 22.4,
1468
1464
  "marginTop": 4,
1469
1465
  },
1470
- {
1471
- "color": "#7B93DB",
1472
- },
1473
1466
  ]
1474
1467
  }
1475
1468
  >
@@ -2417,7 +2410,7 @@ exports[`Test for the calendar component renders a calendar where you can select
2417
2410
  }
2418
2411
  >
2419
2412
  <View
2420
- accessibilityLabel=" Maandag 27 Februari 2023 "
2413
+ accessibilityLabel="today Maandag 27 Februari 2023 "
2421
2414
  accessibilityRole="button"
2422
2415
  accessibilityState={
2423
2416
  {
@@ -2437,6 +2430,10 @@ exports[`Test for the calendar component renders a calendar where you can select
2437
2430
  style={
2438
2431
  {
2439
2432
  "alignItems": "center",
2433
+ "borderColor": "#7B93DB",
2434
+ "borderRadius": 21,
2435
+ "borderStyle": "solid",
2436
+ "borderWidth": 1,
2440
2437
  "height": 42,
2441
2438
  "justifyContent": "center",
2442
2439
  "opacity": 1,
@@ -2456,6 +2453,9 @@ exports[`Test for the calendar component renders a calendar where you can select
2456
2453
  "lineHeight": 22.4,
2457
2454
  "marginTop": 4,
2458
2455
  },
2456
+ {
2457
+ "color": "#7B93DB",
2458
+ },
2459
2459
  ]
2460
2460
  }
2461
2461
  >
@@ -2997,11 +2997,11 @@ exports[`Test for the calendar component renders a calendar where you can select
2997
2997
  >
2998
2998
  <RNSVGSvgView
2999
2999
  align="xMidYMid"
3000
- bbHeight="28"
3001
- bbWidth="28"
3000
+ bbHeight={24}
3001
+ bbWidth={24}
3002
3002
  fill="none"
3003
3003
  focusable={false}
3004
- height="28"
3004
+ height={24}
3005
3005
  meetOrSlice={0}
3006
3006
  minX={0}
3007
3007
  minY={0}
@@ -3013,14 +3013,14 @@ exports[`Test for the calendar component renders a calendar where you can select
3013
3013
  },
3014
3014
  {
3015
3015
  "flex": 0,
3016
- "height": 28,
3017
- "width": 28,
3016
+ "height": 24,
3017
+ "width": 24,
3018
3018
  },
3019
3019
  ]
3020
3020
  }
3021
- vbHeight={27}
3022
- vbWidth={27}
3023
- width="28"
3021
+ vbHeight={19}
3022
+ vbWidth={10}
3023
+ width={24}
3024
3024
  >
3025
3025
  <RNSVGGroup
3026
3026
  fill={null}
@@ -3031,7 +3031,7 @@ exports[`Test for the calendar component renders a calendar where you can select
3031
3031
  }
3032
3032
  >
3033
3033
  <RNSVGPath
3034
- d="M16.875 21.375L9 13.5L16.875 5.625"
3034
+ d="M8.875 17.375L1 9.5L8.875 1.625"
3035
3035
  propList={
3036
3036
  [
3037
3037
  "stroke",
@@ -3109,11 +3109,11 @@ exports[`Test for the calendar component renders a calendar where you can select
3109
3109
  >
3110
3110
  <RNSVGSvgView
3111
3111
  align="xMidYMid"
3112
- bbHeight="28"
3113
- bbWidth="28"
3112
+ bbHeight={24}
3113
+ bbWidth={24}
3114
3114
  fill="none"
3115
3115
  focusable={false}
3116
- height="28"
3116
+ height={24}
3117
3117
  meetOrSlice={0}
3118
3118
  minX={0}
3119
3119
  minY={0}
@@ -3125,14 +3125,14 @@ exports[`Test for the calendar component renders a calendar where you can select
3125
3125
  },
3126
3126
  {
3127
3127
  "flex": 0,
3128
- "height": 28,
3129
- "width": 28,
3128
+ "height": 24,
3129
+ "width": 24,
3130
3130
  },
3131
3131
  ]
3132
3132
  }
3133
- vbHeight={27}
3134
- vbWidth={26}
3135
- width="28"
3133
+ vbHeight={19}
3134
+ vbWidth={11}
3135
+ width={24}
3136
3136
  >
3137
3137
  <RNSVGGroup
3138
3138
  fill={null}
@@ -3143,7 +3143,7 @@ exports[`Test for the calendar component renders a calendar where you can select
3143
3143
  }
3144
3144
  >
3145
3145
  <RNSVGPath
3146
- d="M9.75 5.625L17.3333 13.5L9.75 21.375"
3146
+ d="M1.75 1.625L9.33333 9.5L1.75 17.375"
3147
3147
  propList={
3148
3148
  [
3149
3149
  "stroke",
@@ -4355,8 +4355,7 @@ exports[`Test for the calendar component renders a calendar where you can select
4355
4355
  }
4356
4356
  >
4357
4357
  <View
4358
- accessibilityLabel="today Maandag 13 Februari 2023 "
4359
- accessibilityRole="button"
4358
+ accessibilityLabel=" Maandag 13 Februari 2023 "
4360
4359
  accessibilityState={
4361
4360
  {
4362
4361
  "disabled": false,
@@ -4375,10 +4374,6 @@ exports[`Test for the calendar component renders a calendar where you can select
4375
4374
  style={
4376
4375
  {
4377
4376
  "alignItems": "center",
4378
- "borderColor": "#7B93DB",
4379
- "borderRadius": 21,
4380
- "borderStyle": "solid",
4381
- "borderWidth": 1,
4382
4377
  "height": 42,
4383
4378
  "justifyContent": "center",
4384
4379
  "opacity": 1,
@@ -4399,7 +4394,7 @@ exports[`Test for the calendar component renders a calendar where you can select
4399
4394
  "marginTop": 4,
4400
4395
  },
4401
4396
  {
4402
- "color": "#7B93DB",
4397
+ "color": "#9AA5B1",
4403
4398
  },
4404
4399
  ]
4405
4400
  }
@@ -5374,7 +5369,8 @@ exports[`Test for the calendar component renders a calendar where you can select
5374
5369
  }
5375
5370
  >
5376
5371
  <View
5377
- accessibilityLabel=" Maandag 27 Februari 2023 "
5372
+ accessibilityLabel="today Maandag 27 Februari 2023 "
5373
+ accessibilityRole="button"
5378
5374
  accessibilityState={
5379
5375
  {
5380
5376
  "disabled": false,
@@ -5393,6 +5389,10 @@ exports[`Test for the calendar component renders a calendar where you can select
5393
5389
  style={
5394
5390
  {
5395
5391
  "alignItems": "center",
5392
+ "borderColor": "#7B93DB",
5393
+ "borderRadius": 21,
5394
+ "borderStyle": "solid",
5395
+ "borderWidth": 1,
5396
5396
  "height": 42,
5397
5397
  "justifyContent": "center",
5398
5398
  "opacity": 1,
@@ -5413,7 +5413,7 @@ exports[`Test for the calendar component renders a calendar where you can select
5413
5413
  "marginTop": 4,
5414
5414
  },
5415
5415
  {
5416
- "color": "#9AA5B1",
5416
+ "color": "#7B93DB",
5417
5417
  },
5418
5418
  ]
5419
5419
  }
@@ -89,8 +89,10 @@ export const Calendar = ({
89
89
  firstDay={1}
90
90
  enableSwipeMonths={true}
91
91
  renderArrow={(direction) => {
92
- if (direction === 'left') return <Icon.Outline.ChevronLeft />;
93
- if (direction === 'right') return <Icon.Outline.ChevronRight />;
92
+ if (direction === 'left')
93
+ return <Icon style={'regular'} name={'chevron-left'} />;
94
+ if (direction === 'right')
95
+ return <Icon style={'regular'} name={'chevron-right'} />;
94
96
  }}
95
97
  />
96
98
  );
@@ -20,11 +20,11 @@ exports[`test footer renders footer correctly 1`] = `
20
20
  >
21
21
  <RNSVGSvgView
22
22
  align="xMidYMid"
23
- bbHeight="28"
24
- bbWidth="28"
23
+ bbHeight={24}
24
+ bbWidth={24}
25
25
  fill="none"
26
26
  focusable={false}
27
- height="28"
27
+ height={24}
28
28
  meetOrSlice={0}
29
29
  minX={0}
30
30
  minY={0}
@@ -36,14 +36,14 @@ exports[`test footer renders footer correctly 1`] = `
36
36
  },
37
37
  {
38
38
  "flex": 0,
39
- "height": 28,
40
- "width": 28,
39
+ "height": 24,
40
+ "width": 24,
41
41
  },
42
42
  ]
43
43
  }
44
- vbHeight={27}
45
- vbWidth={26}
46
- width="28"
44
+ vbHeight={21}
45
+ vbWidth={20}
46
+ width={24}
47
47
  >
48
48
  <RNSVGGroup
49
49
  fill={null}
@@ -54,7 +54,7 @@ exports[`test footer renders footer correctly 1`] = `
54
54
  }
55
55
  >
56
56
  <RNSVGPath
57
- d="M14 4.5C14 3.94772 13.5523 3.5 13 3.5C12.4477 3.5 12 3.94772 12 4.5H14ZM12 5.625C12 6.17728 12.4477 6.625 13 6.625C13.5523 6.625 14 6.17728 14 5.625H12ZM19.5 17C18.9477 17 18.5 17.4477 18.5 18C18.5 18.5523 18.9477 19 19.5 19V17ZM21.6666 19C22.2189 19 22.6666 18.5523 22.6666 18C22.6666 17.4477 22.2189 17 21.6666 17V19ZM13 18V17C12.4477 17 12 17.4477 12 18H13ZM15.1666 19C15.7189 19 16.1666 18.5523 16.1666 18C16.1666 17.4477 15.7189 17 15.1666 17V19ZM12 22.5C12 23.0523 12.4477 23.5 13 23.5C13.5523 23.5 14 23.0523 14 22.5H12ZM14 10.125C14 9.57272 13.5523 9.125 13 9.125C12.4477 9.125 12 9.57272 12 10.125H14ZM13 13.5H12C12 14.0523 12.4477 14.5 13 14.5V13.5ZM17.3333 21.5C16.781 21.5 16.3333 21.9477 16.3333 22.5C16.3333 23.0523 16.781 23.5 17.3333 23.5V21.5ZM21.6666 23.5C22.2189 23.5 22.6666 23.0523 22.6666 22.5C22.6666 21.9477 22.2189 21.5 21.6666 21.5V23.5ZM4.33331 12.5C3.78103 12.5 3.33331 12.9477 3.33331 13.5C3.33331 14.0523 3.78103 14.5 4.33331 14.5V12.5ZM8.66665 14.5C9.21893 14.5 9.66665 14.0523 9.66665 13.5C9.66665 12.9477 9.21893 12.5 8.66665 12.5V14.5ZM13.0108 14.5C13.5631 14.5 14.0108 14.0523 14.0108 13.5C14.0108 12.9477 13.5631 12.5 13.0108 12.5V14.5ZM17.3441 14.5C17.8964 14.5 18.3441 14.0523 18.3441 13.5C18.3441 12.9477 17.8964 12.5 17.3441 12.5V14.5ZM21.6666 12.5C21.1144 12.5 20.6666 12.9477 20.6666 13.5C20.6666 14.0523 21.1144 14.5 21.6666 14.5V12.5ZM21.6775 14.5C22.2298 14.5 22.6775 14.0523 22.6775 13.5C22.6775 12.9477 22.2298 12.5 21.6775 12.5V14.5ZM5.41665 5.5H7.58331V3.5H5.41665V5.5ZM7.66665 5.625V7.875H9.66665V5.625H7.66665ZM7.58331 8H5.41665V10H7.58331V8ZM5.33331 7.875V5.625H3.33331V7.875H5.33331ZM5.41665 8C5.40602 8 5.39043 7.9971 5.37093 7.97685C5.3508 7.95595 5.33331 7.92194 5.33331 7.875H3.33331C3.33331 9.0127 4.23082 10 5.41665 10V8ZM7.66665 7.875C7.66665 7.92194 7.64916 7.95595 7.62902 7.97685C7.60953 7.9971 7.59394 8 7.58331 8V10C8.76914 10 9.66665 9.0127 9.66665 7.875H7.66665ZM7.58331 5.5C7.59394 5.5 7.60953 5.5029 7.62902 5.52315C7.64916 5.54405 7.66665 5.57806 7.66665 5.625H9.66665C9.66665 4.4873 8.76914 3.5 7.58331 3.5V5.5ZM5.41665 3.5C4.23082 3.5 3.33331 4.4873 3.33331 5.625H5.33331C5.33331 5.57806 5.3508 5.54405 5.37093 5.52315C5.39043 5.5029 5.40602 5.5 5.41665 5.5V3.5ZM18.4166 5.5H20.5833V3.5H18.4166V5.5ZM20.6666 5.625V7.875H22.6666V5.625H20.6666ZM20.5833 8H18.4166V10H20.5833V8ZM18.3333 7.875V5.625H16.3333V7.875H18.3333ZM18.4166 8C18.406 8 18.3904 7.9971 18.3709 7.97685C18.3508 7.95595 18.3333 7.92194 18.3333 7.875H16.3333C16.3333 9.0127 17.2308 10 18.4166 10V8ZM20.6666 7.875C20.6666 7.92194 20.6492 7.95595 20.629 7.97685C20.6095 7.9971 20.5939 8 20.5833 8V10C21.7691 10 22.6666 9.0127 22.6666 7.875H20.6666ZM20.5833 5.5C20.5939 5.5 20.6095 5.5029 20.629 5.52315C20.6492 5.54405 20.6666 5.57806 20.6666 5.625H22.6666C22.6666 4.4873 21.7691 3.5 20.5833 3.5V5.5ZM18.4166 3.5C17.2308 3.5 16.3333 4.4873 16.3333 5.625H18.3333C18.3333 5.57806 18.3508 5.54405 18.3709 5.52315C18.3904 5.5029 18.406 5.5 18.4166 5.5V3.5ZM5.41665 19H7.58331V17H5.41665V19ZM7.66665 19.125V21.375H9.66665V19.125H7.66665ZM7.58331 21.5H5.41665V23.5H7.58331V21.5ZM5.33331 21.375V19.125H3.33331V21.375H5.33331ZM5.41665 21.5C5.40602 21.5 5.39043 21.4971 5.37093 21.4769C5.3508 21.4559 5.33331 21.4219 5.33331 21.375H3.33331C3.33331 22.5127 4.23082 23.5 5.41665 23.5V21.5ZM7.66665 21.375C7.66665 21.4219 7.64916 21.4559 7.62902 21.4769C7.60953 21.4971 7.59394 21.5 7.58331 21.5V23.5C8.76914 23.5 9.66665 22.5127 9.66665 21.375H7.66665ZM7.58331 19C7.59394 19 7.60953 19.0029 7.62902 19.0231C7.64916 19.0441 7.66665 19.0781 7.66665 19.125H9.66665C9.66665 17.9873 8.76914 17 7.58331 17V19ZM5.41665 17C4.23082 17 3.33331 17.9873 3.33331 19.125H5.33331C5.33331 19.0781 5.3508 19.0441 5.37093 19.0231C5.39043 19.0029 5.40602 19 5.41665 19V17ZM12 4.5V5.625H14V4.5H12ZM19.5 19H21.6666V17H19.5V19ZM13 19H15.1666V17H13V19ZM12 18V22.5H14V18H12ZM12 10.125V13.5H14V10.125H12ZM17.3333 23.5H21.6666V21.5H17.3333V23.5ZM4.33331 14.5H8.66665V12.5H4.33331V14.5ZM13 14.5H13.0108V12.5H13V14.5ZM21.6666 14.5H21.6775V12.5H21.6666V14.5ZM13 14.5H17.3441V12.5H13V14.5Z"
57
+ d="M11 1.5C11 0.947715 10.5523 0.5 9.99998 0.5C9.44769 0.5 8.99998 0.947715 8.99998 1.5H11ZM8.99998 2.625C8.99998 3.17728 9.44769 3.625 9.99998 3.625C10.5523 3.625 11 3.17728 11 2.625H8.99998ZM16.5 14C15.9477 14 15.5 14.4477 15.5 15C15.5 15.5523 15.9477 16 16.5 16V14ZM18.6666 16C19.2189 16 19.6666 15.5523 19.6666 15C19.6666 14.4477 19.2189 14 18.6666 14V16ZM9.99998 15V14C9.44769 14 8.99998 14.4477 8.99998 15H9.99998ZM12.1666 16C12.7189 16 13.1666 15.5523 13.1666 15C13.1666 14.4477 12.7189 14 12.1666 14V16ZM8.99998 19.5C8.99998 20.0523 9.44769 20.5 9.99998 20.5C10.5523 20.5 11 20.0523 11 19.5H8.99998ZM11 7.125C11 6.57272 10.5523 6.125 9.99998 6.125C9.44769 6.125 8.99998 6.57272 8.99998 7.125H11ZM9.99998 10.5H8.99998C8.99998 11.0523 9.44769 11.5 9.99998 11.5V10.5ZM14.3333 18.5C13.781 18.5 13.3333 18.9477 13.3333 19.5C13.3333 20.0523 13.781 20.5 14.3333 20.5V18.5ZM18.6666 20.5C19.2189 20.5 19.6666 20.0523 19.6666 19.5C19.6666 18.9477 19.2189 18.5 18.6666 18.5V20.5ZM1.33331 9.5C0.781028 9.5 0.333313 9.94771 0.333313 10.5C0.333313 11.0523 0.781028 11.5 1.33331 11.5V9.5ZM5.66665 11.5C6.21893 11.5 6.66665 11.0523 6.66665 10.5C6.66665 9.94771 6.21893 9.5 5.66665 9.5V11.5ZM10.0108 11.5C10.5631 11.5 11.0108 11.0523 11.0108 10.5C11.0108 9.94771 10.5631 9.5 10.0108 9.5V11.5ZM14.3441 11.5C14.8964 11.5 15.3441 11.0523 15.3441 10.5C15.3441 9.94771 14.8964 9.5 14.3441 9.5V11.5ZM18.6666 9.5C18.1144 9.5 17.6666 9.94771 17.6666 10.5C17.6666 11.0523 18.1144 11.5 18.6666 11.5V9.5ZM18.6775 11.5C19.2298 11.5 19.6775 11.0523 19.6775 10.5C19.6775 9.94771 19.2298 9.5 18.6775 9.5V11.5ZM2.41665 2.5H4.58331V0.5H2.41665V2.5ZM4.66665 2.625V4.875H6.66665V2.625H4.66665ZM4.58331 5H2.41665V7H4.58331V5ZM2.33331 4.875V2.625H0.333313V4.875H2.33331ZM2.41665 5C2.40602 5 2.39043 4.9971 2.37093 4.97685C2.3508 4.95595 2.33331 4.92194 2.33331 4.875H0.333313C0.333313 6.0127 1.23082 7 2.41665 7V5ZM4.66665 4.875C4.66665 4.92194 4.64916 4.95595 4.62902 4.97685C4.60953 4.9971 4.59394 5 4.58331 5V7C5.76914 7 6.66665 6.0127 6.66665 4.875H4.66665ZM4.58331 2.5C4.59394 2.5 4.60953 2.5029 4.62902 2.52315C4.64916 2.54405 4.66665 2.57806 4.66665 2.625H6.66665C6.66665 1.4873 5.76914 0.5 4.58331 0.5V2.5ZM2.41665 0.5C1.23082 0.5 0.333313 1.4873 0.333313 2.625H2.33331C2.33331 2.57806 2.3508 2.54405 2.37093 2.52315C2.39043 2.5029 2.40602 2.5 2.41665 2.5V0.5ZM15.4166 2.5H17.5833V0.5H15.4166V2.5ZM17.6666 2.625V4.875H19.6666V2.625H17.6666ZM17.5833 5H15.4166V7H17.5833V5ZM15.3333 4.875V2.625H13.3333V4.875H15.3333ZM15.4166 5C15.406 5 15.3904 4.9971 15.3709 4.97685C15.3508 4.95595 15.3333 4.92194 15.3333 4.875H13.3333C13.3333 6.0127 14.2308 7 15.4166 7V5ZM17.6666 4.875C17.6666 4.92194 17.6492 4.95595 17.629 4.97685C17.6095 4.9971 17.5939 5 17.5833 5V7C18.7691 7 19.6666 6.0127 19.6666 4.875H17.6666ZM17.5833 2.5C17.5939 2.5 17.6095 2.5029 17.629 2.52315C17.6492 2.54405 17.6666 2.57806 17.6666 2.625H19.6666C19.6666 1.4873 18.7691 0.5 17.5833 0.5V2.5ZM15.4166 0.5C14.2308 0.5 13.3333 1.4873 13.3333 2.625H15.3333C15.3333 2.57806 15.3508 2.54405 15.3709 2.52315C15.3904 2.5029 15.406 2.5 15.4166 2.5V0.5ZM2.41665 16H4.58331V14H2.41665V16ZM4.66665 16.125V18.375H6.66665V16.125H4.66665ZM4.58331 18.5H2.41665V20.5H4.58331V18.5ZM2.33331 18.375V16.125H0.333313V18.375H2.33331ZM2.41665 18.5C2.40602 18.5 2.39043 18.4971 2.37093 18.4769C2.3508 18.4559 2.33331 18.4219 2.33331 18.375H0.333313C0.333313 19.5127 1.23082 20.5 2.41665 20.5V18.5ZM4.66665 18.375C4.66665 18.4219 4.64916 18.4559 4.62902 18.4769C4.60953 18.4971 4.59394 18.5 4.58331 18.5V20.5C5.76914 20.5 6.66665 19.5127 6.66665 18.375H4.66665ZM4.58331 16C4.59394 16 4.60953 16.0029 4.62902 16.0231C4.64916 16.0441 4.66665 16.0781 4.66665 16.125H6.66665C6.66665 14.9873 5.76914 14 4.58331 14V16ZM2.41665 14C1.23082 14 0.333313 14.9873 0.333313 16.125H2.33331C2.33331 16.0781 2.3508 16.0441 2.37093 16.0231C2.39043 16.0029 2.40602 16 2.41665 16V14ZM8.99998 1.5V2.625H11V1.5H8.99998ZM16.5 16H18.6666V14H16.5V16ZM9.99998 16H12.1666V14H9.99998V16ZM8.99998 15V19.5H11V15H8.99998ZM8.99998 7.125V10.5H11V7.125H8.99998ZM14.3333 20.5H18.6666V18.5H14.3333V20.5ZM1.33331 11.5H5.66665V9.5H1.33331V11.5ZM9.99998 11.5H10.0108V9.5H9.99998V11.5ZM18.6666 11.5H18.6775V9.5H18.6666V11.5ZM9.99998 11.5H14.3441V9.5H9.99998V11.5Z"
58
58
  fill={4283522924}
59
59
  propList={
60
60
  [
@@ -36,11 +36,11 @@ exports[`Increment input test renders an increment input component 1`] = `
36
36
  >
37
37
  <RNSVGSvgView
38
38
  align="xMidYMid"
39
- bbHeight={26}
40
- bbWidth={26}
39
+ bbHeight={18}
40
+ bbWidth={18}
41
41
  fill="none"
42
42
  focusable={false}
43
- height={26}
43
+ height={18}
44
44
  meetOrSlice={0}
45
45
  minX={0}
46
46
  minY={0}
@@ -52,14 +52,14 @@ exports[`Increment input test renders an increment input component 1`] = `
52
52
  },
53
53
  {
54
54
  "flex": 0,
55
- "height": 26,
56
- "width": 26,
55
+ "height": 18,
56
+ "width": 18,
57
57
  },
58
58
  ]
59
59
  }
60
- vbHeight={26}
61
- vbWidth={26}
62
- width={26}
60
+ vbHeight={3}
61
+ vbWidth={16}
62
+ width={18}
63
63
  >
64
64
  <RNSVGGroup
65
65
  fill={null}
@@ -70,7 +70,7 @@ exports[`Increment input test renders an increment input component 1`] = `
70
70
  }
71
71
  >
72
72
  <RNSVGPath
73
- d="M19.4006 13H6.60059"
73
+ d="M14.5 1.5H1.5"
74
74
  propList={
75
75
  [
76
76
  "stroke",
@@ -158,11 +158,11 @@ exports[`Increment input test renders an increment input component 1`] = `
158
158
  >
159
159
  <RNSVGSvgView
160
160
  align="xMidYMid"
161
- bbHeight={26}
162
- bbWidth={26}
161
+ bbHeight={18}
162
+ bbWidth={18}
163
163
  fill="none"
164
164
  focusable={false}
165
- height={26}
165
+ height={18}
166
166
  meetOrSlice={0}
167
167
  minX={0}
168
168
  minY={0}
@@ -174,14 +174,14 @@ exports[`Increment input test renders an increment input component 1`] = `
174
174
  },
175
175
  {
176
176
  "flex": 0,
177
- "height": 26,
178
- "width": 26,
177
+ "height": 18,
178
+ "width": 18,
179
179
  },
180
180
  ]
181
181
  }
182
- vbHeight={27}
183
- vbWidth={27}
184
- width={26}
182
+ vbHeight={17}
183
+ vbWidth={17}
184
+ width={18}
185
185
  >
186
186
  <RNSVGGroup
187
187
  fill={null}
@@ -192,7 +192,7 @@ exports[`Increment input test renders an increment input component 1`] = `
192
192
  }
193
193
  >
194
194
  <RNSVGPath
195
- d="M13.5 6.75V13.5M13.5 13.5V20.25M13.5 13.5H20.25M13.5 13.5L6.75 13.5"
195
+ d="M8.5 1.75V8.5M8.5 8.5V15.25M8.5 8.5H15.25M8.5 8.5L1.75 8.5"
196
196
  propList={
197
197
  [
198
198
  "stroke",
@@ -38,7 +38,12 @@ export const IncrementInput = ({
38
38
  return (
39
39
  <View style={styles.container}>
40
40
  <Pressable onPress={decrement} style={styles.buttonContainer}>
41
- <Icon.Outline.MinusSm color={context.colors.ui.white} size={26} />
41
+ <Icon
42
+ style={'regular'}
43
+ name={'minus-sm'}
44
+ size={18}
45
+ color={context.colors.ui.white}
46
+ />
42
47
  </Pressable>
43
48
  <View style={styles.numberContainer}>
44
49
  <Paragraph textAlign={'center'} addStyle={styles.number}>
@@ -46,7 +51,12 @@ export const IncrementInput = ({
46
51
  </Paragraph>
47
52
  </View>
48
53
  <Pressable onPress={increment} style={styles.buttonContainer}>
49
- <Icon.Outline.PlusSm color={context.colors.ui.white} size={26} />
54
+ <Icon
55
+ style={'regular'}
56
+ name={'plus-sm'}
57
+ size={18}
58
+ color={context.colors.ui.white}
59
+ />
50
60
  </Pressable>
51
61
  </View>
52
62
  );