@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
@@ -2,13 +2,14 @@ import * as React from 'react';
2
2
  import {useContext} from 'react';
3
3
  import Svg, {Path} from 'react-native-svg';
4
4
  import {ThemeCtx} from '../../../context/theme.context';
5
- import {IconType} from '../../../types/icontype.type';
5
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
6
6
  import {HexColor} from '../../../models/hex-color.model';
7
+ import {Scale} from '../../../theme/scale/index';
7
8
 
8
- export const ChevronRightIcon = ({color}: IconType) => {
9
+ export const ChevronRightIcon = ({color, size = Scale.l}: IconSVGProps) => {
9
10
  const context = useContext(ThemeCtx);
10
11
  return (
11
- <Svg width="28" height="28" viewBox="0 0 26 27" fill="none">
12
+ <Svg width={size} height={size} viewBox="0 0 11 19" fill="none">
12
13
  <Path
13
14
  stroke={
14
15
  color ? HexColor.of(color).toString() : context.colors.main['0']
@@ -16,7 +17,7 @@ export const ChevronRightIcon = ({color}: IconType) => {
16
17
  strokeWidth="2"
17
18
  strokeLinecap="round"
18
19
  strokeLinejoin="round"
19
- d="M9.75 5.625L17.3333 13.5L9.75 21.375"
20
+ d="M1.75 1.625L9.33333 9.5L1.75 17.375"
20
21
  />
21
22
  </Svg>
22
23
  );
@@ -1,2 +1,2 @@
1
- import { IconType } from '../../../types/icontype.type';
2
- export declare const ClockIcon: ({ color }: IconType) => JSX.Element;
1
+ import { IconSVGProps } from '../../../interfaces/icon.interface';
2
+ export declare const ClockIcon: ({ color, size }: IconSVGProps) => JSX.Element;
@@ -2,13 +2,14 @@ import * as React from 'react';
2
2
  import {useContext} from 'react';
3
3
  import Svg, {Path} from 'react-native-svg';
4
4
  import {ThemeCtx} from '../../../context/theme.context';
5
- import {IconType} from '../../../types/icontype.type';
5
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
6
6
  import {HexColor} from '../../../models/hex-color.model';
7
+ import {Scale} from '../../../theme/scale/index';
7
8
 
8
- export const ClockIcon = ({color}: IconType) => {
9
+ export const ClockIcon = ({color, size = Scale.l}: IconSVGProps) => {
9
10
  const context = useContext(ThemeCtx);
10
11
  return (
11
- <Svg width="28" height="28" viewBox="0 0 27 26" fill="none">
12
+ <Svg width={size} height={size} viewBox="0 0 23 22" fill="none">
12
13
  <Path
13
14
  stroke={
14
15
  color ? HexColor.of(color).toString() : context.colors.main['0']
@@ -16,7 +17,7 @@ export const ClockIcon = ({color}: IconType) => {
16
17
  strokeWidth="2"
17
18
  strokeLinecap="round"
18
19
  strokeLinejoin="round"
19
- d="M13.5 8.66667V13L16.875 16.25M23.625 13C23.625 18.3848 19.0919 22.75 13.5 22.75C7.90812 22.75 3.375 18.3848 3.375 13C3.375 7.61522 7.90812 3.25 13.5 3.25C19.0919 3.25 23.625 7.61522 23.625 13Z"
20
+ d="M11.5 6.66667V11L14.875 14.25M21.625 11C21.625 16.3848 17.0919 20.75 11.5 20.75C5.90812 20.75 1.375 16.3848 1.375 11C1.375 5.61522 5.90812 1.25 11.5 1.25C17.0919 1.25 21.625 5.61522 21.625 11Z"
20
21
  />
21
22
  </Svg>
22
23
  );
@@ -1,2 +1,2 @@
1
- import { IconType } from '../../../types/icontype.type';
2
- export declare const CloudDownloadIcon: ({ color }: IconType) => JSX.Element;
1
+ import { IconSVGProps } from '../../../interfaces/icon.interface';
2
+ export declare const CloudDownloadIcon: ({ color, size }: IconSVGProps) => JSX.Element;
@@ -2,13 +2,14 @@ import * as React from 'react';
2
2
  import {useContext} from 'react';
3
3
  import Svg, {Path} from 'react-native-svg';
4
4
  import {ThemeCtx} from '../../../context/theme.context';
5
- import {IconType} from '../../../types/icontype.type';
5
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
6
6
  import {HexColor} from '../../../models/hex-color.model';
7
+ import {Scale} from '../../../theme/scale/index';
7
8
 
8
- export const CloudDownloadIcon = ({color}: IconType) => {
9
+ export const CloudDownloadIcon = ({color, size = Scale.l}: IconSVGProps) => {
9
10
  const context = useContext(ThemeCtx);
10
11
  return (
11
- <Svg width="28" height="28" viewBox="0 0 27 27" fill="none">
12
+ <Svg width={size} height={size} viewBox="0 0 23 25" fill="none">
12
13
  <Path
13
14
  stroke={
14
15
  color ? HexColor.of(color).toString() : context.colors.main['0']
@@ -16,7 +17,7 @@ export const CloudDownloadIcon = ({color}: IconType) => {
16
17
  strokeWidth="2"
17
18
  strokeLinecap="round"
18
19
  strokeLinejoin="round"
19
- d="M7.875 18C5.38972 18 3.375 15.9853 3.375 13.5C3.375 11.3546 4.87639 9.5598 6.8858 9.10907C6.7969 8.71194 6.75 8.29895 6.75 7.875C6.75 4.7684 9.2684 2.25 12.375 2.25C15.0967 2.25 17.3669 4.18303 17.8877 6.7511C17.925 6.75037 17.9625 6.75 18 6.75C21.1066 6.75 23.625 9.2684 23.625 12.375C23.625 15.0963 21.6925 17.3663 19.125 17.8875M10.125 21.375L13.5 24.75M13.5 24.75L16.875 21.375M13.5 24.75V11.25"
20
+ d="M5.875 17C3.38972 17 1.375 14.9853 1.375 12.5C1.375 10.3546 2.87639 8.5598 4.8858 8.10907C4.7969 7.71194 4.75 7.29895 4.75 6.875C4.75 3.7684 7.2684 1.25 10.375 1.25C13.0967 1.25 15.3669 3.18303 15.8877 5.7511C15.925 5.75037 15.9625 5.75 16 5.75C19.1066 5.75 21.625 8.2684 21.625 11.375C21.625 14.0963 19.6925 16.3663 17.125 16.8875M8.125 20.375L11.5 23.75M11.5 23.75L14.875 20.375M11.5 23.75V10.25"
20
21
  />
21
22
  </Svg>
22
23
  );
@@ -1,2 +1,2 @@
1
- import { IconType } from '../../../types/icontype.type';
2
- export declare const CurrencyEuroIcon: ({ color }: IconType) => JSX.Element;
1
+ import { IconSVGProps } from '../../../interfaces/icon.interface';
2
+ export declare const CurrencyEuroIcon: ({ color, size }: IconSVGProps) => JSX.Element;
@@ -2,13 +2,14 @@ import * as React from 'react';
2
2
  import {useContext} from 'react';
3
3
  import Svg, {Path} from 'react-native-svg';
4
4
  import {ThemeCtx} from '../../../context/theme.context';
5
- import {IconType} from '../../../types/icontype.type';
5
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
6
6
  import {HexColor} from '../../../models/hex-color.model';
7
+ import {Scale} from '../../../theme/scale/index';
7
8
 
8
- export const CurrencyEuroIcon = ({color}: IconType) => {
9
+ export const CurrencyEuroIcon = ({color, size = Scale.l}: IconSVGProps) => {
9
10
  const context = useContext(ThemeCtx);
10
11
  return (
11
- <Svg width="28" height="28" viewBox="0 0 26 27" fill="none">
12
+ <Svg width={size} height={size} viewBox="0 0 22 23" fill="none">
12
13
  <Path
13
14
  stroke={
14
15
  color ? HexColor.of(color).toString() : context.colors.main['0']
@@ -16,7 +17,7 @@ export const CurrencyEuroIcon = ({color}: IconType) => {
16
17
  strokeWidth="2"
17
18
  strokeLinecap="round"
18
19
  strokeLinejoin="round"
19
- d="M15.2981 17.4775C14.0289 19.6742 11.9711 19.6742 10.7019 17.4775C9.4327 15.2808 9.4327 11.7192 10.7019 9.52252C11.9711 7.32583 14.0289 7.32583 15.2981 9.52252M8.66667 11.8125H13M8.66667 15.1875H13M22.75 13.5C22.75 19.0919 18.3848 23.625 13 23.625C7.61522 23.625 3.25 19.0919 3.25 13.5C3.25 7.90812 7.61522 3.375 13 3.375C18.3848 3.375 22.75 7.90812 22.75 13.5Z"
20
+ d="M13.2981 15.4775C12.0289 17.6742 9.97111 17.6742 8.7019 15.4775C7.4327 13.2808 7.4327 9.71922 8.7019 7.52252C9.97111 5.32583 12.0289 5.32583 13.2981 7.52252M6.66667 9.8125H11M6.66667 13.1875H11M20.75 11.5C20.75 17.0919 16.3848 21.625 11 21.625C5.61522 21.625 1.25 17.0919 1.25 11.5C1.25 5.90812 5.61522 1.375 11 1.375C16.3848 1.375 20.75 5.90812 20.75 11.5Z"
20
21
  />
21
22
  </Svg>
22
23
  );
@@ -1,2 +1,2 @@
1
- import { IconType } from '../../../types/icontype.type';
2
- export declare const DocumentTextIcon: ({ color }: IconType) => JSX.Element;
1
+ import { IconSVGProps } from '../../../interfaces/icon.interface';
2
+ export declare const DocumentTextIcon: ({ color, size }: IconSVGProps) => JSX.Element;
@@ -2,18 +2,19 @@ import * as React from 'react';
2
2
  import {useContext} from 'react';
3
3
  import Svg, {Path} from 'react-native-svg';
4
4
  import {ThemeCtx} from '../../../context/theme.context';
5
- import {IconType} from '../../../types/icontype.type';
5
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
6
+ import {Scale} from '../../../theme/scale/index';
6
7
 
7
- export const DocumentTextIcon = ({color}: IconType) => {
8
+ export const DocumentTextIcon = ({color, size = Scale.l}: IconSVGProps) => {
8
9
  const context = useContext(ThemeCtx);
9
10
  return (
10
- <Svg width="28" height="28" viewBox="0 0 32 32" fill="none">
11
+ <Svg width={size} height={size} viewBox="0 0 18 22" fill="none">
11
12
  <Path
12
13
  stroke={color ? color : context.colors.main['0']}
13
14
  strokeWidth="2"
14
15
  strokeLinecap="round"
15
16
  strokeLinejoin="round"
16
- d="M12 16H20M12 21.3333H20M22.6667 28H9.33332C7.86056 28 6.66666 26.8061 6.66666 25.3333V6.66667C6.66666 5.19391 7.86056 4 9.33332 4H16.781C17.1347 4 17.4738 4.14048 17.7238 4.39052L24.9428 11.6095C25.1928 11.8595 25.3333 12.1987 25.3333 12.5523V25.3333C25.3333 26.8061 24.1394 28 22.6667 28Z"
17
+ d="M5.74996 11H12.25M5.74996 15.3333H12.25M14.4166 20.75H3.58329C2.38668 20.75 1.41663 19.78 1.41663 18.5833V3.41667C1.41663 2.22005 2.38668 1.25 3.58329 1.25H9.63456C9.92188 1.25 10.1974 1.36414 10.4006 1.5673L16.266 7.4327C16.4692 7.63586 16.5833 7.91141 16.5833 8.19873V18.5833C16.5833 19.7799 15.6132 20.75 14.4166 20.75Z"
17
18
  />
18
19
  </Svg>
19
20
  );
@@ -1,2 +1,2 @@
1
- import { IconType } from '../../../types/icontype.type';
2
- export declare const ExclamationIcon: ({ color }: IconType) => JSX.Element;
1
+ import { IconSVGProps } from '../../../interfaces/icon.interface';
2
+ export declare const ExclamationIcon: ({ color, size }: IconSVGProps) => JSX.Element;
@@ -2,18 +2,19 @@ import * as React from 'react';
2
2
  import {useContext} from 'react';
3
3
  import Svg, {Path} from 'react-native-svg';
4
4
  import {ThemeCtx} from '../../../context/theme.context';
5
- import {IconType} from '../../../types/icontype.type';
5
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
6
+ import {Scale} from '../../../theme/scale/index';
6
7
 
7
- export const ExclamationIcon = ({color}: IconType) => {
8
+ export const ExclamationIcon = ({color, size = Scale.l}: IconSVGProps) => {
8
9
  const context = useContext(ThemeCtx);
9
10
  return (
10
- <Svg width="28" height="28" viewBox="0 0 27 27" fill="none">
11
+ <Svg width={size} height={size} viewBox="0 0 23 21" fill="none">
11
12
  <Path
12
13
  stroke={color ? color : context.colors.main['0']}
13
14
  strokeWidth="2"
14
15
  strokeLinecap="round"
15
16
  strokeLinejoin="round"
16
- d="M13.4997 10.125V12.375M13.4997 16.875H13.511M5.70551 21.375H21.294C23.026 21.375 24.1085 19.5 23.2425 18L15.4483 4.5C14.5823 3 12.4172 3 11.5512 4.5L3.75695 18C2.89092 19.5 3.97345 21.375 5.70551 21.375Z"
17
+ d="M11.5 8.125V10.375M11.5 14.875H11.5113M3.70581 19.375H19.2943C21.0263 19.375 22.1088 17.5 21.2428 16L13.4486 2.5C12.5826 1 10.4175 1 9.55148 2.5L1.75725 16C0.891228 17.5 1.97376 19.375 3.70581 19.375Z"
17
18
  />
18
19
  </Svg>
19
20
  );
@@ -1,2 +1,2 @@
1
- import { IconType } from '../../../types/icontype.type';
2
- export declare const ExclamationCircleIcon: ({ color }: IconType) => JSX.Element;
1
+ import { IconSVGProps } from '../../../interfaces/icon.interface';
2
+ export declare const ExclamationCircleIcon: ({ color, size, }: IconSVGProps) => JSX.Element;
@@ -2,18 +2,22 @@ import * as React from 'react';
2
2
  import {useContext} from 'react';
3
3
  import Svg, {Path} from 'react-native-svg';
4
4
  import {ThemeCtx} from '../../../context/theme.context';
5
- import {IconType} from '../../../types/icontype.type';
5
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
6
+ import {Scale} from '../../../theme/scale/index';
6
7
 
7
- export const ExclamationCircleIcon = ({color}: IconType) => {
8
+ export const ExclamationCircleIcon = ({
9
+ color,
10
+ size = Scale.l,
11
+ }: IconSVGProps) => {
8
12
  const context = useContext(ThemeCtx);
9
13
  return (
10
- <Svg width="28" height="28" viewBox="0 0 26 27" fill="none">
14
+ <Svg width={size} height={size} viewBox="0 0 22 23" fill="none">
11
15
  <Path
12
16
  stroke={color ? color : context.colors.main['0']}
13
17
  strokeWidth="2"
14
18
  strokeLinecap="round"
15
19
  strokeLinejoin="round"
16
- d="M13 9V13.5M13 18H13.0108M22.75 13.5C22.75 19.0919 18.3848 23.625 13 23.625C7.61522 23.625 3.25 19.0919 3.25 13.5C3.25 7.90812 7.61522 3.375 13 3.375C18.3848 3.375 22.75 7.90812 22.75 13.5Z"
20
+ d="M11 7V11.5M11 16H11.0108M20.75 11.5C20.75 17.0919 16.3848 21.625 11 21.625C5.61522 21.625 1.25 17.0919 1.25 11.5C1.25 5.90812 5.61522 1.375 11 1.375C16.3848 1.375 20.75 5.90812 20.75 11.5Z"
17
21
  />
18
22
  </Svg>
19
23
  );
@@ -1,2 +1,2 @@
1
- import { IconType } from '../../../types/icontype.type';
2
- export declare const EyeIcon: ({ color }: IconType) => JSX.Element;
1
+ import { IconSVGProps } from '../../../interfaces/icon.interface';
2
+ export declare const EyeIcon: ({ color, size }: IconSVGProps) => JSX.Element;
@@ -2,25 +2,26 @@ import * as React from 'react';
2
2
  import {useContext} from 'react';
3
3
  import Svg, {Path} from 'react-native-svg';
4
4
  import {ThemeCtx} from '../../../context/theme.context';
5
- import {IconType} from '../../../types/icontype.type';
5
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
6
+ import {Scale} from '../../../theme/scale/index';
6
7
 
7
- export const EyeIcon = ({color}: IconType) => {
8
+ export const EyeIcon = ({color, size = Scale.l}: IconSVGProps) => {
8
9
  const context = useContext(ThemeCtx);
9
10
  return (
10
- <Svg width="28" height="28" viewBox="0 0 27 27" fill="none">
11
+ <Svg width={size} height={size} viewBox="0 0 25 19" fill="none">
11
12
  <Path
12
13
  stroke={color ? color : context.colors.main['0']}
13
14
  strokeWidth="2"
14
15
  strokeLinecap="round"
15
16
  strokeLinejoin="round"
16
- d="M16.875 13.5C16.875 15.364 15.3639 16.875 13.5 16.875C11.636 16.875 10.125 15.364 10.125 13.5C10.125 11.636 11.636 10.125 13.5 10.125C15.3639 10.125 16.875 11.636 16.875 13.5Z"
17
+ d="M15.875 9.5C15.875 11.364 14.3639 12.875 12.5 12.875C10.636 12.875 9.12497 11.364 9.12497 9.5C9.12497 7.63604 10.636 6.125 12.5 6.125C14.3639 6.125 15.875 7.63604 15.875 9.5Z"
17
18
  />
18
19
  <Path
19
20
  stroke={color ? color : context.colors.main['0']}
20
21
  strokeWidth="2"
21
22
  strokeLinecap="round"
22
23
  strokeLinejoin="round"
23
- d="M2.7655 13.5C4.19906 8.93574 8.46313 5.625 13.5005 5.625C18.5378 5.625 22.8019 8.93578 24.2354 13.5C22.8019 18.0643 18.5378 21.375 13.5005 21.375C8.46313 21.375 4.19904 18.0642 2.7655 13.5Z"
24
+ d="M1.7655 9.49996C3.19906 4.93574 7.46313 1.625 12.5005 1.625C17.5378 1.625 21.8019 4.93578 23.2354 9.50004C21.8019 14.0643 17.5378 17.375 12.5005 17.375C7.46313 17.375 3.19904 14.0642 1.7655 9.49996Z"
24
25
  />
25
26
  </Svg>
26
27
  );
@@ -1,2 +1,2 @@
1
- import { IconType } from '../../../types/icontype.type';
2
- export declare const EyeOffIcon: ({ color }: IconType) => JSX.Element;
1
+ import { IconSVGProps } from '../../../interfaces/icon.interface';
2
+ export declare const EyeOffIcon: ({ color, size }: IconSVGProps) => JSX.Element;
@@ -2,12 +2,13 @@ import * as React from 'react';
2
2
  import {useContext} from 'react';
3
3
  import Svg, {Path} from 'react-native-svg';
4
4
  import {ThemeCtx} from '../../../context/theme.context';
5
- import {IconType} from '../../../types/icontype.type';
5
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
6
+ import {Scale} from '../../../theme/scale/index';
6
7
 
7
- export const EyeOffIcon = ({color}: IconType) => {
8
+ export const EyeOffIcon = ({color, size = Scale.l}: IconSVGProps) => {
8
9
  const context = useContext(ThemeCtx);
9
10
  return (
10
- <Svg width="28" height="28" viewBox="0 0 25 23" fill="none">
11
+ <Svg width={size} height={size} viewBox="0 0 25 23" fill="none">
11
12
  <Path
12
13
  stroke={color ? color : context.colors.main['0']}
13
14
  strokeWidth="2"
@@ -1,2 +1,2 @@
1
- import { IconType } from '../../../types/icontype.type';
2
- export declare const FilterIcon: ({ color }: IconType) => JSX.Element;
1
+ import { IconSVGProps } from '../../../interfaces/icon.interface';
2
+ export declare const FilterIcon: ({ color, size }: IconSVGProps) => JSX.Element;
@@ -2,57 +2,20 @@ import * as React from 'react';
2
2
  import {useContext} from 'react';
3
3
  import Svg, {Path} from 'react-native-svg';
4
4
  import {ThemeCtx} from '../../../context/theme.context';
5
- import {IconType} from '../../../types/icontype.type';
5
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
6
+ import {Scale} from '../../../theme/scale/index';
6
7
 
7
- export const FilterIcon = ({color}: IconType) => {
8
+ export const FilterIcon = ({color, size = Scale.l}: IconSVGProps) => {
8
9
  const context = useContext(ThemeCtx);
9
10
 
10
- const d = [
11
- 'M3.25',
12
- '4.25C3.25',
13
- '3.69772',
14
- '3.69772',
15
- '3.25',
16
- '4.25',
17
- '3.25H21.75C22.3023',
18
- '3.25',
19
- '22.75',
20
- '3.69772',
21
- '22.75',
22
- '4.25V7.16912C22.75',
23
- '7.43434',
24
- '22.6446',
25
- '7.68869',
26
- '22.4571',
27
- '7.87623L15.4596',
28
- '14.8738C15.272',
29
- '15.0613',
30
- '15.1667',
31
- '15.3157',
32
- '15.1667',
33
- '15.5809V18.4167L10.8333',
34
- '22.75V15.5809C10.8333',
35
- '15.3157',
36
- '10.728',
37
- '15.0613',
38
- '10.5404',
39
- '14.8738L3.54289',
40
- '7.87623C3.35536',
41
- '7.68869',
42
- '3.25',
43
- '7.43434',
44
- '3.25',
45
- '7.16912V4.25Z',
46
- ];
47
-
48
11
  return (
49
- <Svg width="28" height="28" viewBox="0 0 26 26" fill="none">
12
+ <Svg width={size} height={size} viewBox="0 0 22 22" fill="none">
50
13
  <Path
51
14
  stroke={color ? color : context.colors.main['0']}
52
15
  strokeWidth="2"
53
16
  strokeLinecap="round"
54
17
  strokeLinejoin="round"
55
- d={d.join(' ')}
18
+ d="M1.25 2.25C1.25 1.69772 1.69772 1.25 2.25 1.25H19.75C20.3023 1.25 20.75 1.69772 20.75 2.25V5.16912C20.75 5.43434 20.6446 5.68869 20.4571 5.87623L13.4596 12.8738C13.272 13.0613 13.1667 13.3157 13.1667 13.5809V16.4167L8.83333 20.75V13.5809C8.83333 13.3157 8.72798 13.0613 8.54044 12.8738L1.54289 5.87623C1.35536 5.68869 1.25 5.43434 1.25 5.16912V2.25Z"
56
19
  />
57
20
  </Svg>
58
21
  );
@@ -1,2 +1,2 @@
1
- import { IconType } from '../../../types/icontype.type';
2
- export declare const InformationCircleIcon: ({ color }: IconType) => JSX.Element;
1
+ import { IconSVGProps } from '../../../interfaces/icon.interface';
2
+ export declare const InformationCircleIcon: ({ color, size, }: IconSVGProps) => JSX.Element;
@@ -2,18 +2,22 @@ import * as React from 'react';
2
2
  import {useContext} from 'react';
3
3
  import Svg, {Path} from 'react-native-svg';
4
4
  import {ThemeCtx} from '../../../context/theme.context';
5
- import {IconType} from '../../../types/icontype.type';
5
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
6
+ import {Scale} from '../../../theme/scale/index';
6
7
 
7
- export const InformationCircleIcon = ({color}: IconType) => {
8
+ export const InformationCircleIcon = ({
9
+ color,
10
+ size = Scale.l,
11
+ }: IconSVGProps) => {
8
12
  const context = useContext(ThemeCtx);
9
13
  return (
10
- <Svg width="28" height="28" viewBox="0 0 26 26" fill="none">
14
+ <Svg width={size} height={size} viewBox="0 0 22 22" fill="none">
11
15
  <Path
12
16
  stroke={color ? color : context.colors.main['0']}
13
17
  strokeWidth="2"
14
18
  strokeLinecap="round"
15
19
  strokeLinejoin="round"
16
- d="M14.0833 17.3333H13V13H11.9167M13 8.66667H13.0108M22.75 13C22.75 18.3848 18.3848 22.75 13 22.75C7.61522 22.75 3.25 18.3848 3.25 13C3.25 7.61522 7.61522 3.25 13 3.25C18.3848 3.25 22.75 7.61522 22.75 13Z"
20
+ d="M12.0833 15.3333H11V11H9.91667M11 6.66667H11.0108M20.75 11C20.75 16.3848 16.3848 20.75 11 20.75C5.61522 20.75 1.25 16.3848 1.25 11C1.25 5.61522 5.61522 1.25 11 1.25C16.3848 1.25 20.75 5.61522 20.75 11Z"
17
21
  />
18
22
  </Svg>
19
23
  );
@@ -1,2 +1,2 @@
1
- import { IconType } from '../../../types/icontype.type';
2
- export declare const LogoutIcon: ({ color }: IconType) => JSX.Element;
1
+ import { IconSVGProps } from '../../../interfaces/icon.interface';
2
+ export declare const LogoutIcon: ({ color, size }: IconSVGProps) => JSX.Element;
@@ -2,18 +2,25 @@ import * as React from 'react';
2
2
  import {useContext} from 'react';
3
3
  import Svg, {Path} from 'react-native-svg';
4
4
  import {ThemeCtx} from '../../../context/theme.context';
5
- import {IconType} from '../../../types/icontype.type';
5
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
6
+ import {Scale} from '../../../theme/scale/index';
6
7
 
7
- export const LogoutIcon = ({color}: IconType) => {
8
+ export const LogoutIcon = ({color, size = Scale.l}: IconSVGProps) => {
8
9
  const context = useContext(ThemeCtx);
9
10
  return (
10
- <Svg width="28" height="28" viewBox="0 0 32 34" fill="none">
11
+ <Svg
12
+ width={size}
13
+ height={size}
14
+ viewBox="0 0 22 21"
15
+ fill="none"
16
+ style={{transform: [{scaleX: -1}]}}
17
+ >
11
18
  <Path
12
19
  stroke={color ? color : context.colors.main['0']}
13
20
  strokeWidth="2"
14
21
  strokeLinecap="round"
15
22
  strokeLinejoin="round"
16
- d="M17.3333 11.077L22.6667 16.6155M22.6667 16.6155L17.3333 22.1539M22.6667 16.6155L4 16.6155M10.6667 11.077V9.69238C10.6667 7.39828 12.4575 5.53854 14.6667 5.53854H24C26.2091 5.53854 28 7.39828 28 9.69238L28 23.5385C28 25.8326 26.2091 27.6924 24 27.6924H14.6667C12.4575 27.6924 10.6667 25.8326 10.6667 23.5385V22.1539"
23
+ d="M9.91667 15L5.58333 10.5M5.58333 10.5L9.91667 6M5.58333 10.5L20.75 10.5M15.3333 15V16.125C15.3333 17.989 13.8783 19.5 12.0833 19.5H4.5C2.70507 19.5 1.25 17.989 1.25 16.125V4.875C1.25 3.01104 2.70507 1.5 4.5 1.5H12.0833C13.8783 1.5 15.3333 3.01104 15.3333 4.875V6"
17
24
  />
18
25
  </Svg>
19
26
  );
@@ -1,2 +1,2 @@
1
- import { IconType } from '../../../types/icontype.type';
2
- export declare const MailIcon: ({ color }: IconType) => JSX.Element;
1
+ import { IconSVGProps } from '../../../interfaces/icon.interface';
2
+ export declare const MailIcon: ({ color, size }: IconSVGProps) => JSX.Element;
@@ -2,13 +2,14 @@ import * as React from 'react';
2
2
  import {useContext} from 'react';
3
3
  import Svg, {Path} from 'react-native-svg';
4
4
  import {ThemeCtx} from '../../../context/theme.context';
5
- import {IconType} from '../../../types/icontype.type';
5
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
6
6
  import {HexColor} from '../../../models/hex-color.model';
7
+ import {Scale} from '../../../theme/scale/index';
7
8
 
8
- export const MailIcon = ({color}: IconType) => {
9
+ export const MailIcon = ({color, size = Scale.l}: IconSVGProps) => {
9
10
  const context = useContext(ThemeCtx);
10
11
  return (
11
- <Svg width="28" height="28" viewBox="0 0 28 28" fill="none">
12
+ <Svg width={size} height={size} viewBox="0 0 23 19" fill="none">
12
13
  <Path
13
14
  stroke={
14
15
  color ? HexColor.of(color).toString() : context.colors.main['0']
@@ -16,7 +17,7 @@ export const MailIcon = ({color}: IconType) => {
16
17
  strokeWidth="2"
17
18
  strokeLinecap="round"
18
19
  strokeLinejoin="round"
19
- d="M3.875 9.5L12.7519 15.4179C13.5077 15.9218 14.4923 15.9218 15.2481 15.4179L24.125 9.5M6.125 21.875H21.875C23.1176 21.875 24.125 20.8676 24.125 19.625V8.375C24.125 7.13236 23.1176 6.125 21.875 6.125H6.125C4.88236 6.125 3.875 7.13236 3.875 8.375V19.625C3.875 20.8676 4.88236 21.875 6.125 21.875Z"
20
+ d="M1.375 5L10.2519 10.9179C11.0077 11.4218 11.9923 11.4218 12.7481 10.9179L21.625 5M3.625 17.375H19.375C20.6176 17.375 21.625 16.3676 21.625 15.125V3.875C21.625 2.63236 20.6176 1.625 19.375 1.625H3.625C2.38236 1.625 1.375 2.63236 1.375 3.875V15.125C1.375 16.3676 2.38236 17.375 3.625 17.375Z"
20
21
  />
21
22
  </Svg>
22
23
  );
@@ -1,2 +1,2 @@
1
- import { IconType } from '../../../types/icontype.type';
2
- export declare const MailOpenIcon: ({ color }: IconType) => JSX.Element;
1
+ import { IconSVGProps } from '../../../interfaces/icon.interface';
2
+ export declare const MailOpenIcon: ({ color, size }: IconSVGProps) => JSX.Element;
@@ -2,13 +2,14 @@ import * as React from 'react';
2
2
  import {useContext} from 'react';
3
3
  import Svg, {Path} from 'react-native-svg';
4
4
  import {ThemeCtx} from '../../../context/theme.context';
5
- import {IconType} from '../../../types/icontype.type';
5
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
6
6
  import {HexColor} from '../../../models/hex-color.model';
7
+ import {Scale} from '../../../theme/scale/index';
7
8
 
8
- export const MailOpenIcon = ({color}: IconType) => {
9
+ export const MailOpenIcon = ({color, size = Scale.l}: IconSVGProps) => {
9
10
  const context = useContext(ThemeCtx);
10
11
  return (
11
- <Svg width="28" height="28" viewBox="0 0 27 26" fill="none">
12
+ <Svg width={size} height={size} viewBox="0 0 23 22" fill="none">
12
13
  <Path
13
14
  stroke={
14
15
  color ? HexColor.of(color).toString() : context.colors.main['0']
@@ -16,7 +17,7 @@ export const MailOpenIcon = ({color}: IconType) => {
16
17
  strokeWidth="2"
17
18
  strokeLinecap="round"
18
19
  strokeLinejoin="round"
19
- d="M3.375 20.5833V10.9095C3.375 10.1851 3.75098 9.50861 4.37692 9.10676L12.2519 4.05121C13.0077 3.56602 13.9923 3.56602 14.7481 4.05121L22.6231 9.10676C23.249 9.50861 23.625 10.1851 23.625 10.9095V20.5833M3.375 20.5833C3.375 21.7799 4.38236 22.75 5.625 22.75H21.375C22.6176 22.75 23.625 21.7799 23.625 20.5833M3.375 20.5833L10.9688 15.7083M23.625 20.5833L16.0312 15.7083M3.375 10.8333L10.9688 15.7083M23.625 10.8333L16.0312 15.7083M16.0312 15.7083L14.7481 16.5321C13.9923 17.0173 13.0077 17.0173 12.2519 16.5321L10.9688 15.7083"
20
+ d="M1.375 18.5833V8.90954C1.375 8.18511 1.75098 7.50861 2.37692 7.10676L10.2519 2.05121C11.0077 1.56602 11.9923 1.56602 12.7481 2.05121L20.6231 7.10676C21.249 7.50861 21.625 8.18511 21.625 8.90954V18.5833M1.375 18.5833C1.375 19.7799 2.38236 20.75 3.625 20.75H19.375C20.6176 20.75 21.625 19.7799 21.625 18.5833M1.375 18.5833L8.96875 13.7083M21.625 18.5833L14.0312 13.7083M1.375 8.83331L8.96875 13.7083M21.625 8.83331L14.0312 13.7083M14.0312 13.7083L12.7481 14.5321C11.9923 15.0173 11.0077 15.0173 10.2519 14.5321L8.96875 13.7083"
20
21
  />
21
22
  </Svg>
22
23
  );
@@ -1,2 +1,2 @@
1
- import { IconType } from '../../../types/icontype.type';
2
- export declare const MenuIcon: ({ color }: IconType) => JSX.Element;
1
+ import { IconSVGProps } from '../../../interfaces/icon.interface';
2
+ export declare const MenuIcon: ({ color, size }: IconSVGProps) => JSX.Element;
@@ -2,13 +2,14 @@ import * as React from 'react';
2
2
  import {useContext} from 'react';
3
3
  import Svg, {Path} from 'react-native-svg';
4
4
  import {ThemeCtx} from '../../../context/theme.context';
5
- import {IconType} from '../../../types/icontype.type';
5
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
6
6
  import {HexColor} from '../../../models/hex-color.model';
7
+ import {Scale} from '../../../theme/scale/index';
7
8
 
8
- export const MenuIcon = ({color}: IconType) => {
9
+ export const MenuIcon = ({color, size = Scale.l}: IconSVGProps) => {
9
10
  const context = useContext(ThemeCtx);
10
11
  return (
11
- <Svg width="28" height="28" viewBox="0 0 27 27" fill="none">
12
+ <Svg width={size} height={size} viewBox="0 0 21 17" fill="none">
12
13
  <Path
13
14
  stroke={
14
15
  color ? HexColor.of(color).toString() : context.colors.main['0']
@@ -16,7 +17,7 @@ export const MenuIcon = ({color}: IconType) => {
16
17
  strokeWidth="2"
17
18
  strokeLinecap="round"
18
19
  strokeLinejoin="round"
19
- d="M4.5 6.75H22.5M4.5 13.5H22.5M4.5 20.25H22.5"
20
+ d="M1.5 1.75H19.5M1.5 8.5H19.5M1.5 15.25H19.5"
20
21
  />
21
22
  </Svg>
22
23
  );
@@ -1,2 +1,2 @@
1
- import { IconType } from '../../../types/icontype.type';
2
- export declare const MinusSmallIcon: ({ color, size }: IconType) => JSX.Element;
1
+ import { IconSVGProps } from '../../../interfaces/icon.interface';
2
+ export declare const MinusSmallIcon: ({ color, size }: IconSVGProps) => JSX.Element;
@@ -2,18 +2,14 @@ import * as React from 'react';
2
2
  import {useContext} from 'react';
3
3
  import Svg, {Path} from 'react-native-svg';
4
4
  import {ThemeCtx} from '../../../context/theme.context';
5
- import {IconType} from '../../../types/icontype.type';
5
+ import {IconSVGProps} from '../../../interfaces/icon.interface';
6
6
  import {HexColor} from '../../../models/hex-color.model';
7
+ import {Scale} from '../../../theme/scale/index';
7
8
 
8
- export const MinusSmallIcon = ({color, size}: IconType) => {
9
+ export const MinusSmallIcon = ({color, size = Scale.l}: IconSVGProps) => {
9
10
  const context = useContext(ThemeCtx);
10
11
  return (
11
- <Svg
12
- width={!size ? 28 : size}
13
- height={!size ? 28 : size}
14
- viewBox="0 0 26 26"
15
- fill="none"
16
- >
12
+ <Svg width={size} height={size} viewBox="0 0 16 3" fill="none">
17
13
  <Path
18
14
  stroke={
19
15
  color ? HexColor.of(color).toString() : context.colors.main['0']
@@ -21,7 +17,7 @@ export const MinusSmallIcon = ({color, size}: IconType) => {
21
17
  strokeWidth="2"
22
18
  strokeLinecap="round"
23
19
  strokeLinejoin="round"
24
- d="M19.4006 13H6.60059"
20
+ d="M14.5 1.5H1.5"
25
21
  />
26
22
  </Svg>
27
23
  );
@@ -1,2 +1,2 @@
1
- import { IconType } from '../../../types/icontype.type';
2
- export declare const OfficeBuildingIcon: ({ color }: IconType) => JSX.Element;
1
+ import { IconSVGProps } from '../../../interfaces/icon.interface';
2
+ export declare const OfficeBuildingIcon: ({ color, size }: IconSVGProps) => JSX.Element;