@tactics/toddle-styleguide 0.0.1

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 (220) hide show
  1. package/.expo-shared/assets.json +4 -0
  2. package/.github/workflows/run-tests.yml +16 -0
  3. package/.prettierrc.js +9 -0
  4. package/.yarnrc.yml +1 -0
  5. package/App.tsx +221 -0
  6. package/app.json +33 -0
  7. package/assets/adaptive-icon.png +0 -0
  8. package/assets/components/avatar/baby.png +0 -0
  9. package/assets/favicon.png +0 -0
  10. package/assets/fonts/montserrat/bold.ttf +0 -0
  11. package/assets/fonts/montserrat/regular.ttf +0 -0
  12. package/assets/fonts/source-sans-pro/bold.ttf +0 -0
  13. package/assets/fonts/source-sans-pro/regular.ttf +0 -0
  14. package/assets/icon.png +0 -0
  15. package/assets/splash.png +0 -0
  16. package/babel.config.js +6 -0
  17. package/jest.config.js +22 -0
  18. package/package.json +53 -0
  19. package/src/components/atoms/avatar/__snapshots__/avatar.test.js.snap +85 -0
  20. package/src/components/atoms/avatar/avatar.component.tsx +35 -0
  21. package/src/components/atoms/avatar/avatar.preview.tsx +38 -0
  22. package/src/components/atoms/avatar/avatar.styles.js +55 -0
  23. package/src/components/atoms/avatar/avatar.test.js +22 -0
  24. package/src/components/atoms/button/__snapshots__/button.test.js.snap +307 -0
  25. package/src/components/atoms/button/button.component.tsx +27 -0
  26. package/src/components/atoms/button/button.preview.tsx +34 -0
  27. package/src/components/atoms/button/button.styles.js +25 -0
  28. package/src/components/atoms/button/button.test.js +35 -0
  29. package/src/components/atoms/cancel-link/__snapshots__/cancel-link.test.js.snap +89 -0
  30. package/src/components/atoms/cancel-link/cancel-link.component.tsx +24 -0
  31. package/src/components/atoms/cancel-link/cancel-link.preview.tsx +20 -0
  32. package/src/components/atoms/cancel-link/cancel-link.styles.js +20 -0
  33. package/src/components/atoms/cancel-link/cancel-link.test.js +28 -0
  34. package/src/components/atoms/check-switch/__snapshots__/check-switch.test.js.snap +67 -0
  35. package/src/components/atoms/check-switch/check-switch.component.tsx +46 -0
  36. package/src/components/atoms/check-switch/check-switch.preview.tsx +31 -0
  37. package/src/components/atoms/check-switch/check-switch.styles.js +36 -0
  38. package/src/components/atoms/check-switch/check-switch.test.js +13 -0
  39. package/src/components/atoms/checkbox/__snapshots__/checkbox.test.js.snap +120 -0
  40. package/src/components/atoms/checkbox/checkbox.component.tsx +26 -0
  41. package/src/components/atoms/checkbox/checkbox.preview.tsx +46 -0
  42. package/src/components/atoms/checkbox/checkbox.styles.js +35 -0
  43. package/src/components/atoms/checkbox/checkbox.test.js +30 -0
  44. package/src/components/atoms/child-list-item/__snapshots__/child-list-item.test.js.snap +635 -0
  45. package/src/components/atoms/child-list-item/child-list-item.component.tsx +81 -0
  46. package/src/components/atoms/child-list-item/child-list-item.preview.tsx +65 -0
  47. package/src/components/atoms/child-list-item/child-list-item.styles.js +82 -0
  48. package/src/components/atoms/child-list-item/child-list-item.test.js +73 -0
  49. package/src/components/atoms/contact-item/__snapshots__/contact-item.test.js.snap +321 -0
  50. package/src/components/atoms/contact-item/contact-item.component.tsx +61 -0
  51. package/src/components/atoms/contact-item/contact-item.preview.tsx +30 -0
  52. package/src/components/atoms/contact-item/contact-item.styles.js +26 -0
  53. package/src/components/atoms/contact-item/contact-item.test.js +20 -0
  54. package/src/components/atoms/filter-tab/__snapshots__/filter-tab.test.js.snap +415 -0
  55. package/src/components/atoms/filter-tab/filter-tab.component.tsx +93 -0
  56. package/src/components/atoms/filter-tab/filter-tab.preview.tsx +37 -0
  57. package/src/components/atoms/filter-tab/filter-tab.styles.js +64 -0
  58. package/src/components/atoms/filter-tab/filter-tab.test.js +38 -0
  59. package/src/components/atoms/form-actions/__snapshots__/form-action.test.js.snap +176 -0
  60. package/src/components/atoms/form-actions/form-action.component.tsx +25 -0
  61. package/src/components/atoms/form-actions/form-action.preview.tsx +29 -0
  62. package/src/components/atoms/form-actions/form-action.styles.js +19 -0
  63. package/src/components/atoms/form-actions/form-action.test.js +32 -0
  64. package/src/components/atoms/image-bubble/__snapshots__/image-bubble.test.js.snap +67 -0
  65. package/src/components/atoms/image-bubble/image-bubble.component.tsx +25 -0
  66. package/src/components/atoms/image-bubble/image-bubble.preview.tsx +19 -0
  67. package/src/components/atoms/image-bubble/image-bubble.styles.js +31 -0
  68. package/src/components/atoms/image-bubble/image-bubble.test.js +20 -0
  69. package/src/components/atoms/info/__snapshots__/info.test.js.snap +43 -0
  70. package/src/components/atoms/info/info.component.tsx +22 -0
  71. package/src/components/atoms/info/info.preview.tsx +20 -0
  72. package/src/components/atoms/info/info.styles.js +25 -0
  73. package/src/components/atoms/info/info.test.js +18 -0
  74. package/src/components/atoms/pill/__snapshots__/pill.test.js.snap +141 -0
  75. package/src/components/atoms/pill/pill.component.tsx +23 -0
  76. package/src/components/atoms/pill/pill.preview.tsx +21 -0
  77. package/src/components/atoms/pill/pill.styles.js +32 -0
  78. package/src/components/atoms/pill/pill.test.js +34 -0
  79. package/src/components/atoms/popover/components/backdrop/backdrop.component.tsx +40 -0
  80. package/src/components/atoms/popover/components/backdrop/backdrop.styles.js +15 -0
  81. package/src/components/atoms/popover/components/foreground/foreground.component.tsx +17 -0
  82. package/src/components/atoms/popover/components/foreground/foreground.styles.js +17 -0
  83. package/src/components/atoms/popover/components/index.js +5 -0
  84. package/src/components/atoms/popover/components/modal/close/close.component.tsx +21 -0
  85. package/src/components/atoms/popover/components/modal/close/close.styles.js +13 -0
  86. package/src/components/atoms/popover/components/modal/heading/heading.component.tsx +22 -0
  87. package/src/components/atoms/popover/components/modal/heading/heading.styles.js +24 -0
  88. package/src/components/atoms/popover/components/modal/modal.component.tsx +87 -0
  89. package/src/components/atoms/popover/components/modal/modal.styles.js +23 -0
  90. package/src/components/atoms/popover/components/modal/scroll-content/scroll-content.component.tsx +18 -0
  91. package/src/components/atoms/popover/components/modal/scroll-content/scroll-content.styles.js +10 -0
  92. package/src/components/atoms/popover/popover.component.tsx +60 -0
  93. package/src/components/atoms/popover/popover.preview.tsx +135 -0
  94. package/src/components/atoms/popover/popover.styles.js +12 -0
  95. package/src/components/atoms/popover-heading/__snapshots__/popover_heading.test.js.snap +35 -0
  96. package/src/components/atoms/popover-heading/popover-heading.component.tsx +22 -0
  97. package/src/components/atoms/popover-heading/popover-heading.preview.tsx +18 -0
  98. package/src/components/atoms/popover-heading/popover-heading.styles.js +19 -0
  99. package/src/components/atoms/popover-heading/popover_heading.test.js +11 -0
  100. package/src/components/atoms/pressable-icon/__snapshots__/pressable-icon.test.js.snap +364 -0
  101. package/src/components/atoms/pressable-icon/pressable-icon.component.tsx +48 -0
  102. package/src/components/atoms/pressable-icon/pressable-icon.preview.tsx +37 -0
  103. package/src/components/atoms/pressable-icon/pressable-icon.styles.js +25 -0
  104. package/src/components/atoms/pressable-icon/pressable-icon.test.js +47 -0
  105. package/src/components/atoms/quick-filter/__snapshots__/quick-filter.test.js.snap +465 -0
  106. package/src/components/atoms/quick-filter/quick-filter.component.tsx +32 -0
  107. package/src/components/atoms/quick-filter/quick-filter.prevriew.tsx +46 -0
  108. package/src/components/atoms/quick-filter/quick-filter.styles.js +68 -0
  109. package/src/components/atoms/quick-filter/quick-filter.test.js +127 -0
  110. package/src/components/atoms/select-list-item/__snapshots__/select-list-item.test.js.snap +391 -0
  111. package/src/components/atoms/select-list-item/select-list-item-preview.tsx +31 -0
  112. package/src/components/atoms/select-list-item/select-list-item.test.js +38 -0
  113. package/src/components/atoms/select-list-item/select-list.component-item.tsx +52 -0
  114. package/src/components/atoms/select-list-item/select-list.styles-item.js +40 -0
  115. package/src/components/atoms/snackbar/__snapshots__/snackbar.test.js.snap +493 -0
  116. package/src/components/atoms/snackbar/snackbar.component.tsx +28 -0
  117. package/src/components/atoms/snackbar/snackbar.preview.tsx +33 -0
  118. package/src/components/atoms/snackbar/snackbar.styles.js +82 -0
  119. package/src/components/atoms/snackbar/snackbar.test.js +35 -0
  120. package/src/components/atoms/tag/__snapshots__/tag.test.js.snap +87 -0
  121. package/src/components/atoms/tag/tag.component.tsx +37 -0
  122. package/src/components/atoms/tag/tag.preview.tsx +27 -0
  123. package/src/components/atoms/tag/tag.styles.js +22 -0
  124. package/src/components/atoms/tag/tag.test.js +24 -0
  125. package/src/components/atoms/text-bubble/__snapshots__/text-bubble.test.js.snap +337 -0
  126. package/src/components/atoms/text-bubble/text-bubble.component.tsx +32 -0
  127. package/src/components/atoms/text-bubble/text-bubble.preview.tsx +27 -0
  128. package/src/components/atoms/text-bubble/text-bubble.styles.js +64 -0
  129. package/src/components/atoms/text-bubble/text-bubble.test.js +84 -0
  130. package/src/components/atoms/text-input/__snapshots__/text-input.test.js.snap +68 -0
  131. package/src/components/atoms/text-input/text-input.component.tsx +32 -0
  132. package/src/components/atoms/text-input/text-input.preview.tsx +24 -0
  133. package/src/components/atoms/text-input/text-input.styles.js +26 -0
  134. package/src/components/atoms/text-input/text-input.test.js +32 -0
  135. package/src/components/atoms/time-tracker/__snapshots__/time-tracker.test.js.snap +206 -0
  136. package/src/components/atoms/time-tracker/time-tracker.component.tsx +24 -0
  137. package/src/components/atoms/time-tracker/time-tracker.preview.tsx +15 -0
  138. package/src/components/atoms/time-tracker/time-tracker.styles.js +36 -0
  139. package/src/components/atoms/time-tracker/time-tracker.test.js +37 -0
  140. package/src/components/atoms/wide-button/__snapshots__/wide-button.test.js.snap +92 -0
  141. package/src/components/atoms/wide-button/wide-button.component.tsx +23 -0
  142. package/src/components/atoms/wide-button/wide-button.preview.tsx +18 -0
  143. package/src/components/atoms/wide-button/wide-button.styles.js +22 -0
  144. package/src/components/atoms/wide-button/wide-button.test.js +16 -0
  145. package/src/context/theme.context.ts +49 -0
  146. package/src/gradients/main/main.gradient.tsx +20 -0
  147. package/src/gradients/main/main.styles.js +11 -0
  148. package/src/icons/__snapshots__/icons.test.js.snap +2588 -0
  149. package/src/icons/icons.test.js +245 -0
  150. package/src/icons/index.tsx +7 -0
  151. package/src/icons/outline/calendar/calendar.icon.tsx +20 -0
  152. package/src/icons/outline/chat/chat.icon.tsx +20 -0
  153. package/src/icons/outline/chat-alt/chat-alt.icon.tsx +20 -0
  154. package/src/icons/outline/check-circle/check-circle.icon.tsx +20 -0
  155. package/src/icons/outline/chevron-left/chevron-left.icon.tsx +20 -0
  156. package/src/icons/outline/chevron-right/chevron-right.icon.tsx +20 -0
  157. package/src/icons/outline/clock/clock.icon.tsx +20 -0
  158. package/src/icons/outline/cloud-download/cloud-download.icon.tsx +20 -0
  159. package/src/icons/outline/cross/cross.icon.tsx +20 -0
  160. package/src/icons/outline/currency-euro/currency-euro.icon.tsx +20 -0
  161. package/src/icons/outline/document-text/document-text.icon.tsx +20 -0
  162. package/src/icons/outline/exclamation/exclamation.icon.tsx +20 -0
  163. package/src/icons/outline/exclamation-circle/exclamation-circle.icon.tsx +20 -0
  164. package/src/icons/outline/eye/eye.icon.tsx +27 -0
  165. package/src/icons/outline/filter/filter.icon.tsx +59 -0
  166. package/src/icons/outline/information-circle/information-circle.icon.tsx +20 -0
  167. package/src/icons/outline/logout/logout.icon.tsx +20 -0
  168. package/src/icons/outline/mail/mail.icon.tsx +20 -0
  169. package/src/icons/outline/mail-open/mail-open.icon.tsx +20 -0
  170. package/src/icons/outline/menu/menu.icon.tsx +20 -0
  171. package/src/icons/outline/minus-sm/minus-sm.icon.tsx +20 -0
  172. package/src/icons/outline/office-building/office-building.icon.tsx +20 -0
  173. package/src/icons/outline/outline-default.preview.tsx +99 -0
  174. package/src/icons/outline/outline-grey.preview.tsx +100 -0
  175. package/src/icons/outline/outline-white.preview.tsx +100 -0
  176. package/src/icons/outline/outline.tsx +81 -0
  177. package/src/icons/outline/paper-airplane/paper-airplane.icon.tsx +20 -0
  178. package/src/icons/outline/paperclip/paperclip.icon.tsx +20 -0
  179. package/src/icons/outline/pencil/pencil.icon.tsx +20 -0
  180. package/src/icons/outline/phone/phone.icon.tsx +20 -0
  181. package/src/icons/outline/plus/plus.icon.tsx +20 -0
  182. package/src/icons/outline/plus-sm/plus-sm.icon.tsx +20 -0
  183. package/src/icons/outline/qrcode/qrcode.icon.tsx +17 -0
  184. package/src/icons/outline/refresh/refresh.icon.tsx +20 -0
  185. package/src/icons/outline/search/search.icon.tsx +20 -0
  186. package/src/icons/outline/selector/selector.icon.tsx +20 -0
  187. package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.tsx +20 -0
  188. package/src/icons/outline/status-online/status-online.icon.tsx +20 -0
  189. package/src/icons/outline/thumb-up/thumb-up.icon.tsx +20 -0
  190. package/src/icons/outline/trash/trash.icon.tsx +20 -0
  191. package/src/icons/outline/user/user.icon.tsx +27 -0
  192. package/src/icons/outline/user-group/user-group.icon.tsx +20 -0
  193. package/src/icons/outline/users/users.icon.tsx +20 -0
  194. package/src/icons/solid/chat-alt/chat-alt-solid.icon.tsx +20 -0
  195. package/src/icons/solid/clock/clock-solid.icon.tsx +20 -0
  196. package/src/icons/solid/information-circle/information-circle-solid.icon.tsx +20 -0
  197. package/src/icons/solid/pencil/pencil-solid.icon.tsx +22 -0
  198. package/src/icons/solid/phone/phone-solid.icon.tsx +18 -0
  199. package/src/icons/solid/refresh/refresh-solid.icon.tsx +20 -0
  200. package/src/icons/solid/solid.preview.tsx +73 -0
  201. package/src/icons/solid/solid.tsx +19 -0
  202. package/src/icons/solid/status-online/status-online-solid.icon.tsx +24 -0
  203. package/src/icons/solid/trash/trash-solid.icon.tsx +20 -0
  204. package/src/models/hex-color.model.ts +25 -0
  205. package/src/models/hex-color.test.js +20 -0
  206. package/src/models/initials.model.ts +32 -0
  207. package/src/models/initials.test.js +23 -0
  208. package/src/theme/font/font.ts +72 -0
  209. package/src/theme/font/index.ts +4 -0
  210. package/src/theme/font/load-fonts.ts +10 -0
  211. package/src/theme/provider/index.ts +4 -0
  212. package/src/theme/provider/parent.theme.ts +45 -0
  213. package/src/theme/provider/staff-member.theme.ts +45 -0
  214. package/src/theme/scale/index.ts +14 -0
  215. package/src/types/bubble-alignment.enum.ts +4 -0
  216. package/src/types/icontype.type.ts +3 -0
  217. package/src/types/keyboard-types.enum.ts +9 -0
  218. package/src/types/size.enum.ts +5 -0
  219. package/src/types/visual-state.enum.ts +6 -0
  220. package/tsconfig.json +7 -0
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ import {useContext} from 'react';
3
+ import Svg, {Path} from 'react-native-svg';
4
+ import {ThemeCtx} from '../../../context/theme.context';
5
+ import {IconType} from '../../../types/icontype.type';
6
+
7
+ export const MailIcon = ({color}: IconType) => {
8
+ const context = useContext(ThemeCtx);
9
+ return (
10
+ <Svg width="28" height="28" viewBox="0 0 28 28" fill="none">
11
+ <Path
12
+ stroke={color ? color : context.colors.main['0']}
13
+ strokeWidth="2"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ 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"
17
+ />
18
+ </Svg>
19
+ );
20
+ };
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ import {useContext} from 'react';
3
+ import Svg, {Path} from 'react-native-svg';
4
+ import {ThemeCtx} from '../../../context/theme.context';
5
+ import {IconType} from '../../../types/icontype.type';
6
+
7
+ export const MailOpenIcon = ({color}: IconType) => {
8
+ const context = useContext(ThemeCtx);
9
+ return (
10
+ <Svg width="28" height="28" viewBox="0 0 27 26" fill="none">
11
+ <Path
12
+ stroke={color ? color : context.colors.main['0']}
13
+ strokeWidth="2"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ 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"
17
+ />
18
+ </Svg>
19
+ );
20
+ };
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ import {useContext} from 'react';
3
+ import Svg, {Path} from 'react-native-svg';
4
+ import {ThemeCtx} from '../../../context/theme.context';
5
+ import {IconType} from '../../../types/icontype.type';
6
+
7
+ export const MenuIcon = ({color}: IconType) => {
8
+ const context = useContext(ThemeCtx);
9
+ return (
10
+ <Svg width="28" height="28" viewBox="0 0 27 27" fill="none">
11
+ <Path
12
+ stroke={color ? color : context.colors.main['0']}
13
+ strokeWidth="2"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ d="M4.5 6.75H22.5M4.5 13.5H22.5M4.5 20.25H22.5"
17
+ />
18
+ </Svg>
19
+ );
20
+ };
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ import {useContext} from 'react';
3
+ import Svg, {Path} from 'react-native-svg';
4
+ import {ThemeCtx} from '../../../context/theme.context';
5
+ import {IconType} from '../../../types/icontype.type';
6
+
7
+ export const MinusSmallIcon = ({color}: IconType) => {
8
+ const context = useContext(ThemeCtx);
9
+ return (
10
+ <Svg width="28" height="28" viewBox="0 0 26 26" fill="none">
11
+ <Path
12
+ stroke={color ? color : context.colors.main['0']}
13
+ strokeWidth="2"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ d="M19.4006 13H6.60059"
17
+ />
18
+ </Svg>
19
+ );
20
+ };
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ import {useContext} from 'react';
3
+ import Svg, {Path} from 'react-native-svg';
4
+ import {ThemeCtx} from '../../../context/theme.context';
5
+ import {IconType} from '../../../types/icontype.type';
6
+
7
+ export const OfficeBuildingIcon = ({color}: IconType) => {
8
+ const context = useContext(ThemeCtx);
9
+ return (
10
+ <Svg width="28" height="28" viewBox="0 0 27 27" fill="none">
11
+ <Path
12
+ stroke={color ? color : context.colors.main['0']}
13
+ strokeWidth="2"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ d="M21.375 23.625V5.625C21.375 4.38236 20.3676 3.375 19.125 3.375H7.875C6.63236 3.375 5.625 4.38236 5.625 5.625V23.625M21.375 23.625L23.625 23.625M21.375 23.625H15.75M5.625 23.625L3.375 23.625M5.625 23.625H11.25M10.125 7.87497H11.25M10.125 12.375H11.25M15.75 7.87497H16.875M15.75 12.375H16.875M11.25 23.625V18C11.25 17.3787 11.7537 16.875 12.375 16.875H14.625C15.2463 16.875 15.75 17.3787 15.75 18V23.625M11.25 23.625H15.75"
17
+ />
18
+ </Svg>
19
+ );
20
+ };
@@ -0,0 +1,99 @@
1
+ import React, {useContext} from 'react';
2
+ import {View} from 'react-native';
3
+ import {Icon} from '..';
4
+ import {ThemeCtx} from '../../context/theme.context';
5
+
6
+ export const IconOutlineDefaultPreview = ({}: {}) => {
7
+ const Context = useContext(ThemeCtx);
8
+
9
+ return (
10
+ <View
11
+ style={{
12
+ flex: 1,
13
+ padding: 20,
14
+ flexDirection: 'row',
15
+ }}
16
+ >
17
+ <View
18
+ style={{
19
+ flex: 1,
20
+ flexDirection: 'row',
21
+ alignContent: 'center',
22
+ backgroundColor: Context.colors.main['9'],
23
+ }}
24
+ >
25
+ <View
26
+ style={{
27
+ flex: 1,
28
+ alignItems: 'center',
29
+ justifyContent: 'space-around',
30
+ }}
31
+ >
32
+ <Icon.Outline.Filter />
33
+ <Icon.Outline.Pencil />
34
+ <Icon.Outline.Search />
35
+ <Icon.Outline.PaperClip />
36
+ <Icon.Outline.PaperAirplane />
37
+ <Icon.Outline.Eye />
38
+ <Icon.Outline.Selector />
39
+ <Icon.Outline.ChevronLeft />
40
+ <Icon.Outline.ChevronRight />
41
+ <Icon.Outline.Phone />
42
+ </View>
43
+ <View
44
+ style={{
45
+ flex: 1,
46
+ alignItems: 'center',
47
+ justifyContent: 'space-around',
48
+ }}
49
+ >
50
+ <Icon.Outline.Mail />
51
+ <Icon.Outline.Chat />
52
+ <Icon.Outline.Clock />
53
+ <Icon.Outline.ChatAlt />
54
+ <Icon.Outline.InformationCircle />
55
+ <Icon.Outline.PlusSm />
56
+ <Icon.Outline.User />
57
+ <Icon.Outline.CloudDownload />
58
+ <Icon.Outline.CurrencyEuro />
59
+ <Icon.Outline.Refresh />
60
+ </View>
61
+ <View
62
+ style={{
63
+ flex: 1,
64
+ alignItems: 'center',
65
+ justifyContent: 'space-around',
66
+ }}
67
+ >
68
+ <Icon.Outline.CheckCircle />
69
+ <Icon.Outline.Exclamation />
70
+ <Icon.Outline.ExclamationCircle />
71
+ <Icon.Outline.ThumbUp />
72
+ <Icon.Outline.Trash />
73
+ <Icon.Outline.Cross />
74
+ <Icon.Outline.OfficeBuilding />
75
+ <Icon.Outline.UserGroup />
76
+ <Icon.Outline.Logout />
77
+ <Icon.Outline.Calendar />
78
+ </View>
79
+ <View
80
+ style={{
81
+ flex: 1,
82
+ alignItems: 'center',
83
+ justifyContent: 'space-around',
84
+ }}
85
+ >
86
+ <Icon.Outline.Menu />
87
+ <Icon.Outline.ViewGridAdd />
88
+ <Icon.Outline.MinusSm />
89
+ <Icon.Outline.StatusOnline />
90
+ <Icon.Outline.Qrcode />
91
+ <Icon.Outline.DocumentText />
92
+ <Icon.Outline.Users />
93
+ <Icon.Outline.MailOpen />
94
+ <Icon.Outline.Plus />
95
+ </View>
96
+ </View>
97
+ </View>
98
+ );
99
+ };
@@ -0,0 +1,100 @@
1
+ import React, {useContext} from 'react';
2
+ import {View} from 'react-native';
3
+ import {Icon} from '..';
4
+ import {ThemeCtx} from '../../context/theme.context';
5
+
6
+ export const IconOutlineGreyPreview = ({}: {}) => {
7
+ const Context = useContext(ThemeCtx);
8
+ const greyColor = Context.colors.ui.darkgrey;
9
+
10
+ return (
11
+ <View
12
+ style={{
13
+ flex: 1,
14
+ padding: 20,
15
+ flexDirection: 'row',
16
+ }}
17
+ >
18
+ <View
19
+ style={{
20
+ flex: 1,
21
+ flexDirection: 'row',
22
+ alignContent: 'center',
23
+ backgroundColor: Context.colors.ui.lightgrey,
24
+ }}
25
+ >
26
+ <View
27
+ style={{
28
+ flex: 1,
29
+ alignItems: 'center',
30
+ justifyContent: 'space-around',
31
+ }}
32
+ >
33
+ <Icon.Outline.Filter color={greyColor} />
34
+ <Icon.Outline.Pencil color={greyColor} />
35
+ <Icon.Outline.Search color={greyColor} />
36
+ <Icon.Outline.PaperClip color={greyColor} />
37
+ <Icon.Outline.PaperAirplane color={greyColor} />
38
+ <Icon.Outline.Eye color={greyColor} />
39
+ <Icon.Outline.Selector color={greyColor} />
40
+ <Icon.Outline.ChevronLeft color={greyColor} />
41
+ <Icon.Outline.ChevronRight color={greyColor} />
42
+ <Icon.Outline.Phone color={greyColor} />
43
+ </View>
44
+ <View
45
+ style={{
46
+ flex: 1,
47
+ alignItems: 'center',
48
+ justifyContent: 'space-around',
49
+ }}
50
+ >
51
+ <Icon.Outline.Mail color={greyColor} />
52
+ <Icon.Outline.Chat color={greyColor} />
53
+ <Icon.Outline.Clock color={greyColor} />
54
+ <Icon.Outline.ChatAlt color={greyColor} />
55
+ <Icon.Outline.InformationCircle color={greyColor} />
56
+ <Icon.Outline.PlusSm color={greyColor} />
57
+ <Icon.Outline.User color={greyColor} />
58
+ <Icon.Outline.CloudDownload color={greyColor} />
59
+ <Icon.Outline.CurrencyEuro color={greyColor} />
60
+ <Icon.Outline.Refresh color={greyColor} />
61
+ </View>
62
+ <View
63
+ style={{
64
+ flex: 1,
65
+ alignItems: 'center',
66
+ justifyContent: 'space-around',
67
+ }}
68
+ >
69
+ <Icon.Outline.CheckCircle color={greyColor} />
70
+ <Icon.Outline.Exclamation color={greyColor} />
71
+ <Icon.Outline.ExclamationCircle color={greyColor} />
72
+ <Icon.Outline.ThumbUp color={greyColor} />
73
+ <Icon.Outline.Trash color={greyColor} />
74
+ <Icon.Outline.Cross color={greyColor} />
75
+ <Icon.Outline.OfficeBuilding color={greyColor} />
76
+ <Icon.Outline.UserGroup color={greyColor} />
77
+ <Icon.Outline.Logout color={greyColor} />
78
+ <Icon.Outline.Calendar color={greyColor} />
79
+ </View>
80
+ <View
81
+ style={{
82
+ flex: 1,
83
+ alignItems: 'center',
84
+ justifyContent: 'space-around',
85
+ }}
86
+ >
87
+ <Icon.Outline.Menu color={greyColor} />
88
+ <Icon.Outline.ViewGridAdd color={greyColor} />
89
+ <Icon.Outline.MinusSm color={greyColor} />
90
+ <Icon.Outline.StatusOnline color={greyColor} />
91
+ <Icon.Outline.Qrcode color={greyColor} />
92
+ <Icon.Outline.DocumentText color={greyColor} />
93
+ <Icon.Outline.Users color={greyColor} />
94
+ <Icon.Outline.MailOpen color={greyColor} />
95
+ <Icon.Outline.Plus color={greyColor} />
96
+ </View>
97
+ </View>
98
+ </View>
99
+ );
100
+ };
@@ -0,0 +1,100 @@
1
+ import React, {useContext} from 'react';
2
+ import {View} from 'react-native';
3
+ import {Icon} from '..';
4
+ import {ThemeCtx} from '../../context/theme.context';
5
+
6
+ export const IconOutlineWhitePreview = ({}: {}) => {
7
+ const Context = useContext(ThemeCtx);
8
+ const whiteColor = Context.colors.ui.white;
9
+
10
+ return (
11
+ <View
12
+ style={{
13
+ flex: 1,
14
+ padding: 20,
15
+ flexDirection: 'row',
16
+ }}
17
+ >
18
+ <View
19
+ style={{
20
+ flex: 1,
21
+ flexDirection: 'row',
22
+ alignContent: 'center',
23
+ backgroundColor: Context.colors.main['0'],
24
+ }}
25
+ >
26
+ <View
27
+ style={{
28
+ flex: 1,
29
+ alignItems: 'center',
30
+ justifyContent: 'space-around',
31
+ }}
32
+ >
33
+ <Icon.Outline.Filter color={whiteColor} />
34
+ <Icon.Outline.Pencil color={whiteColor} />
35
+ <Icon.Outline.Search color={whiteColor} />
36
+ <Icon.Outline.PaperClip color={whiteColor} />
37
+ <Icon.Outline.PaperAirplane color={whiteColor} />
38
+ <Icon.Outline.Eye color={whiteColor} />
39
+ <Icon.Outline.Selector color={whiteColor} />
40
+ <Icon.Outline.ChevronLeft color={whiteColor} />
41
+ <Icon.Outline.ChevronRight color={whiteColor} />
42
+ <Icon.Outline.Phone color={whiteColor} />
43
+ </View>
44
+ <View
45
+ style={{
46
+ flex: 1,
47
+ alignItems: 'center',
48
+ justifyContent: 'space-around',
49
+ }}
50
+ >
51
+ <Icon.Outline.Mail color={whiteColor} />
52
+ <Icon.Outline.Chat color={whiteColor} />
53
+ <Icon.Outline.Clock color={whiteColor} />
54
+ <Icon.Outline.ChatAlt color={whiteColor} />
55
+ <Icon.Outline.InformationCircle color={whiteColor} />
56
+ <Icon.Outline.PlusSm color={whiteColor} />
57
+ <Icon.Outline.User color={whiteColor} />
58
+ <Icon.Outline.CloudDownload color={whiteColor} />
59
+ <Icon.Outline.CurrencyEuro color={whiteColor} />
60
+ <Icon.Outline.Refresh color={whiteColor} />
61
+ </View>
62
+ <View
63
+ style={{
64
+ flex: 1,
65
+ alignItems: 'center',
66
+ justifyContent: 'space-around',
67
+ }}
68
+ >
69
+ <Icon.Outline.CheckCircle color={whiteColor} />
70
+ <Icon.Outline.Exclamation color={whiteColor} />
71
+ <Icon.Outline.ExclamationCircle color={whiteColor} />
72
+ <Icon.Outline.ThumbUp color={whiteColor} />
73
+ <Icon.Outline.Trash color={whiteColor} />
74
+ <Icon.Outline.Cross color={whiteColor} />
75
+ <Icon.Outline.OfficeBuilding color={whiteColor} />
76
+ <Icon.Outline.UserGroup color={whiteColor} />
77
+ <Icon.Outline.Logout color={whiteColor} />
78
+ <Icon.Outline.Calendar color={whiteColor} />
79
+ </View>
80
+ <View
81
+ style={{
82
+ flex: 1,
83
+ alignItems: 'center',
84
+ justifyContent: 'space-around',
85
+ }}
86
+ >
87
+ <Icon.Outline.Menu color={whiteColor} />
88
+ <Icon.Outline.ViewGridAdd color={whiteColor} />
89
+ <Icon.Outline.MinusSm color={whiteColor} />
90
+ <Icon.Outline.StatusOnline color={whiteColor} />
91
+ <Icon.Outline.Qrcode color={whiteColor} />
92
+ <Icon.Outline.DocumentText color={whiteColor} />
93
+ <Icon.Outline.Users color={whiteColor} />
94
+ <Icon.Outline.MailOpen color={whiteColor} />
95
+ <Icon.Outline.Plus color={whiteColor} />
96
+ </View>
97
+ </View>
98
+ </View>
99
+ );
100
+ };
@@ -0,0 +1,81 @@
1
+ import {CalendarIcon as Calendar} from './calendar/calendar.icon';
2
+ import {ChatIcon as Chat} from './chat/chat.icon';
3
+ import {ChatAltIcon as ChatAlt} from './chat-alt/chat-alt.icon';
4
+ import {CheckCircleIcon as CheckCircle} from './check-circle/check-circle.icon';
5
+ import {ChevronLeftIcon as ChevronLeft} from './chevron-left/chevron-left.icon';
6
+ import {ChevronRightIcon as ChevronRight} from './chevron-right/chevron-right.icon';
7
+ import {ClockIcon as Clock} from './clock/clock.icon';
8
+ import {CloudDownloadIcon as CloudDownload} from './cloud-download/cloud-download.icon';
9
+ import {CurrencyEuroIcon as CurrencyEuro} from './currency-euro/currency-euro.icon';
10
+ import {DocumentTextIcon as DocumentText} from './document-text/document-text.icon';
11
+ import {ExclamationIcon as Exclamation} from './exclamation/exclamation.icon';
12
+ import {ExclamationCircleIcon as ExclamationCircle} from './exclamation-circle/exclamation-circle.icon';
13
+ import {EyeIcon as Eye} from './eye/eye.icon';
14
+ import {FilterIcon as Filter} from './filter/filter.icon';
15
+ import {InformationCircleIcon as InformationCircle} from './information-circle/information-circle.icon';
16
+ import {LogoutIcon as Logout} from './logout/logout.icon';
17
+ import {MailIcon as Mail} from './mail/mail.icon';
18
+ import {MailOpenIcon as MailOpen} from './mail-open/mail-open.icon';
19
+ import {MenuIcon as Menu} from './menu/menu.icon';
20
+ import {MinusSmallIcon as MinusSm} from './minus-sm/minus-sm.icon';
21
+ import {OfficeBuildingIcon as OfficeBuilding} from './office-building/office-building.icon';
22
+ import {PaperAirplaneIcon as PaperAirplane} from './paper-airplane/paper-airplane.icon';
23
+ import {PaperClipIcon as PaperClip} from './paperclip/paperclip.icon';
24
+ import {PencilIcon as Pencil} from './pencil/pencil.icon';
25
+ import {PhoneIcon as Phone} from './phone/phone.icon';
26
+ import {PlusIcon as Plus} from './plus/plus.icon';
27
+ import {PlusSmallIcon as PlusSm} from './plus-sm/plus-sm.icon';
28
+ import {QrcodeIcon as Qrcode} from './qrcode/qrcode.icon';
29
+ import {RefreshIcon as Refresh} from './refresh/refresh.icon';
30
+ import {SearchIcon as Search} from './search/search.icon';
31
+ import {SelectorIcon as Selector} from './selector/selector.icon';
32
+ import {SmViewGridAddIcon as ViewGridAdd} from './sm-view-grid-add/sm-view-grid-add.icon';
33
+ import {StatusOnlineIcon as StatusOnline} from './status-online/status-online.icon';
34
+ import {ThumbUpIcon as ThumbUp} from './thumb-up/thumb-up.icon';
35
+ import {TrashIcon as Trash} from './trash/trash.icon';
36
+ import {UserIcon as User} from './user/user.icon';
37
+ import {UserGroupIcon as UserGroup} from './user-group/user-group.icon';
38
+ import {UsersIcon as Users} from './users/users.icon';
39
+ import {CrossIcon as Cross} from './cross/cross.icon';
40
+
41
+ export const Outline = {
42
+ Calendar,
43
+ Chat,
44
+ ChatAlt,
45
+ CheckCircle,
46
+ ChevronLeft,
47
+ ChevronRight,
48
+ Clock,
49
+ CloudDownload,
50
+ CurrencyEuro,
51
+ DocumentText,
52
+ Exclamation,
53
+ ExclamationCircle,
54
+ Eye,
55
+ Filter,
56
+ InformationCircle,
57
+ Logout,
58
+ Mail,
59
+ MailOpen,
60
+ Menu,
61
+ MinusSm,
62
+ OfficeBuilding,
63
+ PaperAirplane,
64
+ PaperClip,
65
+ Pencil,
66
+ Phone,
67
+ Plus,
68
+ PlusSm,
69
+ Qrcode,
70
+ Refresh,
71
+ Search,
72
+ Selector,
73
+ ViewGridAdd,
74
+ StatusOnline,
75
+ ThumbUp,
76
+ Trash,
77
+ User,
78
+ UserGroup,
79
+ Users,
80
+ Cross,
81
+ };
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ import {useContext} from 'react';
3
+ import Svg, {Path} from 'react-native-svg';
4
+ import {ThemeCtx} from '../../../context/theme.context';
5
+ import {IconType} from '../../../types/icontype.type';
6
+
7
+ export const PaperAirplaneIcon = ({color}: IconType) => {
8
+ const context = useContext(ThemeCtx);
9
+ return (
10
+ <Svg width="28" height="28" viewBox="0 0 27 28" fill="none">
11
+ <Path
12
+ stroke={color ? color : context.colors.main['0']}
13
+ strokeWidth="2"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ d="M6.29167 14L4.125 24.125L23.625 14L4.125 3.875L6.29167 14ZM6.29167 14L14.9583 14"
17
+ />
18
+ </Svg>
19
+ );
20
+ };
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ import {useContext} from 'react';
3
+ import Svg, {Path} from 'react-native-svg';
4
+ import {ThemeCtx} from '../../../context/theme.context';
5
+ import {IconType} from '../../../types/icontype.type';
6
+
7
+ export const PaperClipIcon = ({color}: IconType) => {
8
+ const context = useContext(ThemeCtx);
9
+ return (
10
+ <Svg width="28" height="28" viewBox="0 0 26 26" fill="none">
11
+ <Path
12
+ stroke={color ? color : context.colors.main['0']}
13
+ strokeWidth="2"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ d="M16.4359 7.58333L9.30125 14.7179C8.45511 15.5641 8.45511 16.9359 9.30125 17.7821C10.1474 18.6282 11.5192 18.6282 12.3654 17.7821L19.3141 10.6475C21.0064 8.95519 21.0064 6.21148 19.3141 4.5192C17.6218 2.82693 14.8781 2.82693 13.1859 4.5192L6.23712 11.6538C3.69871 14.1922 3.69871 18.3078 6.23712 20.8462C8.77553 23.3846 12.8911 23.3846 15.4295 20.8462L22.2083 14.0833"
17
+ />
18
+ </Svg>
19
+ );
20
+ };
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ import {useContext} from 'react';
3
+ import Svg, {Path} from 'react-native-svg';
4
+ import {ThemeCtx} from '../../../context/theme.context';
5
+ import {IconType} from '../../../types/icontype.type';
6
+
7
+ export const PencilIcon = ({color}: IconType) => {
8
+ const context = useContext(ThemeCtx);
9
+ return (
10
+ <Svg width="28" height="28" viewBox="0 0 28 28" fill="none">
11
+ <Path
12
+ stroke={color ? color : context.colors.main['0']}
13
+ strokeWidth="2"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ d="M17.6362 6.38626L21.6137 10.3637M19.3237 4.69876C20.422 3.60041 22.2028 3.60041 23.3012 4.69876C24.3995 5.79711 24.3995 7.57789 23.3012 8.67624L7.8125 24.1649H3.875V20.1475L19.3237 4.69876Z"
17
+ />
18
+ </Svg>
19
+ );
20
+ };
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ import {useContext} from 'react';
3
+ import Svg, {Path} from 'react-native-svg';
4
+ import {ThemeCtx} from '../../../context/theme.context';
5
+ import {IconType} from '../../../types/icontype.type';
6
+
7
+ export const PhoneIcon = ({color}: IconType) => {
8
+ const context = useContext(ThemeCtx);
9
+ return (
10
+ <Svg width="28" height="28" viewBox="0 0 27 26" fill="none">
11
+ <Path
12
+ stroke={color ? color : context.colors.main['0']}
13
+ strokeWidth="2"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ d="M3.375 5.41667C3.375 4.22005 4.38236 3.25 5.625 3.25H9.31415C9.79838 3.25 10.2283 3.54838 10.3814 3.99075L12.0665 8.85865C12.2435 9.3701 12.0031 9.92909 11.5023 10.1702L8.96288 11.3929C10.2029 14.0413 12.4186 16.175 15.1689 17.3691L16.4387 14.9237C16.689 14.4415 17.2695 14.21 17.8006 14.3805L22.8558 16.0031C23.3151 16.1505 23.625 16.5645 23.625 17.0308V20.5833C23.625 21.7799 22.6176 22.75 21.375 22.75H20.25C10.9302 22.75 3.375 15.4746 3.375 6.5V5.41667Z"
17
+ />
18
+ </Svg>
19
+ );
20
+ };
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ import {useContext} from 'react';
3
+ import Svg, {Path} from 'react-native-svg';
4
+ import {ThemeCtx} from '../../../context/theme.context';
5
+ import {IconType} from '../../../types/icontype.type';
6
+
7
+ export const PlusIcon = ({color}: IconType) => {
8
+ const context = useContext(ThemeCtx);
9
+ return (
10
+ <Svg width="28" height="28" viewBox="0 0 28 28" fill="none">
11
+ <Path
12
+ stroke={color ? color : context.colors.main['0']}
13
+ strokeWidth="2"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ d="M14 5V23M23 14L5 14"
17
+ />
18
+ </Svg>
19
+ );
20
+ };
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ import {useContext} from 'react';
3
+ import Svg, {Path} from 'react-native-svg';
4
+ import {ThemeCtx} from '../../../context/theme.context';
5
+ import {IconType} from '../../../types/icontype.type';
6
+
7
+ export const PlusSmallIcon = ({color}: IconType) => {
8
+ const context = useContext(ThemeCtx);
9
+ return (
10
+ <Svg width="28" height="28" viewBox="0 0 27 27" fill="none">
11
+ <Path
12
+ stroke={color ? color : context.colors.main['0']}
13
+ strokeWidth="2"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ d="M13.5 6.75V13.5M13.5 13.5V20.25M13.5 13.5H20.25M13.5 13.5L6.75 13.5"
17
+ />
18
+ </Svg>
19
+ );
20
+ };
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ import {useContext} from 'react';
3
+ import Svg, {Path} from 'react-native-svg';
4
+ import {ThemeCtx} from '../../../context/theme.context';
5
+ import {IconType} from '../../../types/icontype.type';
6
+
7
+ export const QrcodeIcon = ({color}: IconType) => {
8
+ const context = useContext(ThemeCtx);
9
+ return (
10
+ <Svg width="28" height="28" viewBox="0 0 26 27" fill="none">
11
+ <Path
12
+ fill={color ? color : context.colors.main['0']}
13
+ 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"
14
+ />
15
+ </Svg>
16
+ );
17
+ };
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ import {useContext} from 'react';
3
+ import Svg, {Path} from 'react-native-svg';
4
+ import {ThemeCtx} from '../../../context/theme.context';
5
+ import {IconType} from '../../../types/icontype.type';
6
+
7
+ export const RefreshIcon = ({color}: IconType) => {
8
+ const context = useContext(ThemeCtx);
9
+ return (
10
+ <Svg width="28" height="28" viewBox="0 0 26 27" fill="none">
11
+ <Path
12
+ stroke={color ? color : context.colors.main['0']}
13
+ strokeWidth="2"
14
+ strokeLinecap="round"
15
+ strokeLinejoin="round"
16
+ d="M4.33301 4.5V10.125H4.96298M21.5993 12.375C21.0662 7.9354 17.4193 4.5 12.9997 4.5C9.36251 4.5 6.24866 6.82669 4.96298 10.125M4.96298 10.125H9.74967M21.6663 22.5V16.875H21.0364M21.0364 16.875C19.7507 20.1733 16.6368 22.5 12.9997 22.5C8.58009 22.5 4.93317 19.0646 4.40006 14.625M21.0364 16.875H16.2497"
17
+ />
18
+ </Svg>
19
+ );
20
+ };