@thecb/components 2.2.0

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 (308) hide show
  1. package/.eslintrc.json +29 -0
  2. package/.github/PULL_REQUEST_TEMPLATE.md +18 -0
  3. package/.github/stale.yml +17 -0
  4. package/.prettierignore +3 -0
  5. package/.tool-versions +1 -0
  6. package/README.md +149 -0
  7. package/dist/cb-components.cjs.js +77 -0
  8. package/package.json +96 -0
  9. package/rollup.config.js +35 -0
  10. package/src/components/atoms/alert/Alert.js +67 -0
  11. package/src/components/atoms/alert/Alert.theme.js +71 -0
  12. package/src/components/atoms/alert/index.js +3 -0
  13. package/src/components/atoms/amount-callout/AmountCallout.js +27 -0
  14. package/src/components/atoms/amount-callout/AmountCallout.theme.js +19 -0
  15. package/src/components/atoms/amount-callout/index.js +3 -0
  16. package/src/components/atoms/breadcrumb/Breadcrumb.js +50 -0
  17. package/src/components/atoms/breadcrumb/Breadcrumb.theme.js +25 -0
  18. package/src/components/atoms/breadcrumb/index.js +3 -0
  19. package/src/components/atoms/button-with-action/ButtonWithAction.js +128 -0
  20. package/src/components/atoms/button-with-action/ButtonWithAction.stories.js +125 -0
  21. package/src/components/atoms/button-with-action/ButtonWithAction.theme.js +360 -0
  22. package/src/components/atoms/button-with-action/index.js +3 -0
  23. package/src/components/atoms/button-with-link/ButtonWithLink.js +40 -0
  24. package/src/components/atoms/button-with-link/index.js +3 -0
  25. package/src/components/atoms/checkbox/Checkbox.js +143 -0
  26. package/src/components/atoms/checkbox/Checkbox.theme.js +54 -0
  27. package/src/components/atoms/checkbox/index.js +3 -0
  28. package/src/components/atoms/checkbox-list/CheckboxList.js +129 -0
  29. package/src/components/atoms/checkbox-list/CheckboxList.theme.js +42 -0
  30. package/src/components/atoms/checkbox-list/index.js +3 -0
  31. package/src/components/atoms/country-dropdown/CountryDropdown.js +24 -0
  32. package/src/components/atoms/country-dropdown/index.js +1 -0
  33. package/src/components/atoms/country-dropdown/options.js +249 -0
  34. package/src/components/atoms/display-box/DisplayBox.js +22 -0
  35. package/src/components/atoms/display-box/DisplayBox.theme.js +9 -0
  36. package/src/components/atoms/display-box/index.js +3 -0
  37. package/src/components/atoms/display-card/DisplayCard.js +65 -0
  38. package/src/components/atoms/display-card/index.js +3 -0
  39. package/src/components/atoms/dropdown/Dropdown.js +299 -0
  40. package/src/components/atoms/dropdown/Dropdown.theme.js +9 -0
  41. package/src/components/atoms/dropdown/DropdownIcon.js +31 -0
  42. package/src/components/atoms/dropdown/index.js +3 -0
  43. package/src/components/atoms/form-layouts/FormContainer.js +28 -0
  44. package/src/components/atoms/form-layouts/FormInput.js +218 -0
  45. package/src/components/atoms/form-layouts/FormInputColumn.js +15 -0
  46. package/src/components/atoms/form-layouts/FormInputRow.js +26 -0
  47. package/src/components/atoms/form-layouts/FormLayouts.theme.js +52 -0
  48. package/src/components/atoms/form-layouts/index.js +6 -0
  49. package/src/components/atoms/form-select/FormSelect.js +62 -0
  50. package/src/components/atoms/form-select/FormSelect.styled.js +65 -0
  51. package/src/components/atoms/form-select/index.js +3 -0
  52. package/src/components/atoms/formatted-address/FormattedAddress.js +53 -0
  53. package/src/components/atoms/formatted-address/FormattedAddress.theme.js +11 -0
  54. package/src/components/atoms/formatted-address/index.js +3 -0
  55. package/src/components/atoms/hamburger-button/HamburgerButton.js +113 -0
  56. package/src/components/atoms/hamburger-button/index.js +3 -0
  57. package/src/components/atoms/heading/Heading.js +37 -0
  58. package/src/components/atoms/heading/Heading.styled.js +14 -0
  59. package/src/components/atoms/heading/Heading.theme.js +18 -0
  60. package/src/components/atoms/heading/index.js +3 -0
  61. package/src/components/atoms/icons/AccountsAddIcon.js +42 -0
  62. package/src/components/atoms/icons/AccountsIcon.js +37 -0
  63. package/src/components/atoms/icons/AccountsIconSmall.js +63 -0
  64. package/src/components/atoms/icons/ChevronIcon.js +51 -0
  65. package/src/components/atoms/icons/ForgotPasswordIcon.js +46 -0
  66. package/src/components/atoms/icons/GoToEmailIcon.js +31 -0
  67. package/src/components/atoms/icons/Icons.theme.js +38 -0
  68. package/src/components/atoms/icons/PaymentMethodIcon.js +42 -0
  69. package/src/components/atoms/icons/PaymentsIconSmall.js +63 -0
  70. package/src/components/atoms/icons/ProfileIconSmall.js +44 -0
  71. package/src/components/atoms/icons/PropertiesAddIcon.js +70 -0
  72. package/src/components/atoms/icons/PropertiesIconSmall.js +32 -0
  73. package/src/components/atoms/icons/SettingsIconSmall.js +63 -0
  74. package/src/components/atoms/icons/VerifiedEmailIcon.js +53 -0
  75. package/src/components/atoms/icons/index.js +28 -0
  76. package/src/components/atoms/index.js +33 -0
  77. package/src/components/atoms/labeled-amount/LabeledAmount.js +35 -0
  78. package/src/components/atoms/labeled-amount/LabeledAmount.theme.js +10 -0
  79. package/src/components/atoms/labeled-amount/index.js +3 -0
  80. package/src/components/atoms/layouts/Box.js +83 -0
  81. package/src/components/atoms/layouts/Box.styled.js +131 -0
  82. package/src/components/atoms/layouts/Center.js +28 -0
  83. package/src/components/atoms/layouts/Center.styled.js +18 -0
  84. package/src/components/atoms/layouts/Cluster.js +37 -0
  85. package/src/components/atoms/layouts/Cluster.styled.js +21 -0
  86. package/src/components/atoms/layouts/Cover.js +49 -0
  87. package/src/components/atoms/layouts/Cover.styled.js +29 -0
  88. package/src/components/atoms/layouts/Frame.js +28 -0
  89. package/src/components/atoms/layouts/Frame.styled.js +27 -0
  90. package/src/components/atoms/layouts/Grid.js +38 -0
  91. package/src/components/atoms/layouts/Grid.styled.js +22 -0
  92. package/src/components/atoms/layouts/Imposter.js +52 -0
  93. package/src/components/atoms/layouts/Imposter.styled.js +19 -0
  94. package/src/components/atoms/layouts/Motion.js +51 -0
  95. package/src/components/atoms/layouts/Motion.styled.js +41 -0
  96. package/src/components/atoms/layouts/Reel.js +28 -0
  97. package/src/components/atoms/layouts/Reel.styled.js +17 -0
  98. package/src/components/atoms/layouts/Sidebar.js +42 -0
  99. package/src/components/atoms/layouts/Sidebar.styled.js +38 -0
  100. package/src/components/atoms/layouts/Stack.js +36 -0
  101. package/src/components/atoms/layouts/Stack.styled.js +30 -0
  102. package/src/components/atoms/layouts/Switcher.js +64 -0
  103. package/src/components/atoms/layouts/Switcher.styled.js +44 -0
  104. package/src/components/atoms/layouts/examples/FixedSizeContainer.js +22 -0
  105. package/src/components/atoms/layouts/examples/FixedSizeContainer.styled.js +20 -0
  106. package/src/components/atoms/layouts/examples/LayoutContentBlock.js +27 -0
  107. package/src/components/atoms/layouts/examples/LayoutContentBlock.styled.js +15 -0
  108. package/src/components/atoms/layouts/examples/ResizingContainer.js +49 -0
  109. package/src/components/atoms/layouts/examples/ResizingContainer.styled.js +39 -0
  110. package/src/components/atoms/layouts/examples/cluster-example/ClusterExample.js +10 -0
  111. package/src/components/atoms/layouts/examples/cluster-example/ClusterExample.stories.js +97 -0
  112. package/src/components/atoms/layouts/examples/grid-example/GridExample.js +49 -0
  113. package/src/components/atoms/layouts/examples/grid-example/GridExample.stories.js +44 -0
  114. package/src/components/atoms/layouts/examples/sidebar-example/SidebarExample.js +11 -0
  115. package/src/components/atoms/layouts/examples/sidebar-example/SidebarExample.stories.js +87 -0
  116. package/src/components/atoms/layouts/examples/stack-example/StackExample.js +27 -0
  117. package/src/components/atoms/layouts/examples/stack-example/StackExample.stories.js +69 -0
  118. package/src/components/atoms/layouts/examples/switcher-example/SwitcherExample.js +38 -0
  119. package/src/components/atoms/layouts/examples/switcher-example/SwitcherExample.stories.js +65 -0
  120. package/src/components/atoms/layouts/index.js +27 -0
  121. package/src/components/atoms/line-item/LineItem.js +30 -0
  122. package/src/components/atoms/line-item/LineItem.theme.js +7 -0
  123. package/src/components/atoms/line-item/index.js +3 -0
  124. package/src/components/atoms/link/ExternalLink.js +50 -0
  125. package/src/components/atoms/link/ExternalLink.styled.js +26 -0
  126. package/src/components/atoms/link/InternalLink.js +51 -0
  127. package/src/components/atoms/link/InternalLink.styled.js +39 -0
  128. package/src/components/atoms/link/Link.theme.js +8 -0
  129. package/src/components/atoms/link/index.js +4 -0
  130. package/src/components/atoms/nav-footer/NavFooter.js +57 -0
  131. package/src/components/atoms/nav-footer/index.js +3 -0
  132. package/src/components/atoms/nav-header/NavHeader.js +36 -0
  133. package/src/components/atoms/nav-header/index.js +3 -0
  134. package/src/components/atoms/paragraph/Paragraph.js +31 -0
  135. package/src/components/atoms/paragraph/Paragraph.styled.js +13 -0
  136. package/src/components/atoms/paragraph/Paragraph.theme.js +18 -0
  137. package/src/components/atoms/paragraph/index.js +3 -0
  138. package/src/components/atoms/password-requirements/PasswordRequirements.js +116 -0
  139. package/src/components/atoms/password-requirements/index.js +3 -0
  140. package/src/components/atoms/placeholder/Placeholder.js +122 -0
  141. package/src/components/atoms/placeholder/Placeholder.theme.js +9 -0
  142. package/src/components/atoms/placeholder/index.js +3 -0
  143. package/src/components/atoms/processing-fee/ProcessingFee.js +43 -0
  144. package/src/components/atoms/processing-fee/ProcessingFee.theme.js +7 -0
  145. package/src/components/atoms/processing-fee/index.js +3 -0
  146. package/src/components/atoms/radio-button/RadioButton.js +101 -0
  147. package/src/components/atoms/radio-button/RadioButton.theme.js +9 -0
  148. package/src/components/atoms/radio-button/index.js +3 -0
  149. package/src/components/atoms/solid-divider/SolidDivider.js +22 -0
  150. package/src/components/atoms/solid-divider/SolidDivider.theme.js +8 -0
  151. package/src/components/atoms/solid-divider/index.js +3 -0
  152. package/src/components/atoms/spinner/Spinner.js +61 -0
  153. package/src/components/atoms/spinner/Spinner.theme.js +5 -0
  154. package/src/components/atoms/spinner/index.js +3 -0
  155. package/src/components/atoms/state-province-dropdown/StateProvinceDropdown.js +28 -0
  156. package/src/components/atoms/state-province-dropdown/index.js +3 -0
  157. package/src/components/atoms/state-province-dropdown/options.js +3837 -0
  158. package/src/components/atoms/text/Text.js +37 -0
  159. package/src/components/atoms/text/Text.styled.js +32 -0
  160. package/src/components/atoms/text/Text.theme.js +22 -0
  161. package/src/components/atoms/text/index.js +3 -0
  162. package/src/components/atoms/toggle-switch/ToggleSwitch.js +212 -0
  163. package/src/components/atoms/toggle-switch/ToggleSwitch.theme.js +36 -0
  164. package/src/components/atoms/toggle-switch/index.js +3 -0
  165. package/src/components/index.js +3 -0
  166. package/src/components/molecules/address-form/AddressForm.js +110 -0
  167. package/src/components/molecules/address-form/AddressForm.state.js +52 -0
  168. package/src/components/molecules/address-form/index.js +11 -0
  169. package/src/components/molecules/change-password-form/ChangePasswordForm.js +92 -0
  170. package/src/components/molecules/change-password-form/ChangePasswordForm.state.js +33 -0
  171. package/src/components/molecules/change-password-form/index.js +11 -0
  172. package/src/components/molecules/collapsible-section/CollapsibleSection.js +126 -0
  173. package/src/components/molecules/collapsible-section/CollapsibleSection.theme.js +11 -0
  174. package/src/components/molecules/collapsible-section/index.js +3 -0
  175. package/src/components/molecules/edit-name-form/EditNameForm.js +51 -0
  176. package/src/components/molecules/edit-name-form/EditNameForm.state.js +14 -0
  177. package/src/components/molecules/edit-name-form/index.js +11 -0
  178. package/src/components/molecules/email-form/EmailForm.js +55 -0
  179. package/src/components/molecules/email-form/EmailForm.state.js +19 -0
  180. package/src/components/molecules/email-form/index.js +11 -0
  181. package/src/components/molecules/forgot-password-form/ForgotPasswordForm.js +32 -0
  182. package/src/components/molecules/forgot-password-form/ForgotPasswordForm.state.js +11 -0
  183. package/src/components/molecules/forgot-password-form/index.js +11 -0
  184. package/src/components/molecules/highlight-tab-row/HighlightTabRow.js +62 -0
  185. package/src/components/molecules/highlight-tab-row/HighlightTabRow.theme.js +7 -0
  186. package/src/components/molecules/highlight-tab-row/index.js +8 -0
  187. package/src/components/molecules/index.js +24 -0
  188. package/src/components/molecules/login-form/LoginForm.js +46 -0
  189. package/src/components/molecules/login-form/LoginForm.state.js +14 -0
  190. package/src/components/molecules/login-form/index.js +11 -0
  191. package/src/components/molecules/modal/Modal.js +138 -0
  192. package/src/components/molecules/modal/index.js +3 -0
  193. package/src/components/molecules/module/Module.js +42 -0
  194. package/src/components/molecules/module/Module.theme.js +30 -0
  195. package/src/components/molecules/module/index.js +8 -0
  196. package/src/components/molecules/nav-menu/NavMenu.theme.js +5 -0
  197. package/src/components/molecules/nav-menu/NavMenuDesktop.js +39 -0
  198. package/src/components/molecules/nav-menu/NavMenuMobile.js +63 -0
  199. package/src/components/molecules/nav-menu/index.js +4 -0
  200. package/src/components/molecules/obligation/Obligation.js +69 -0
  201. package/src/components/molecules/obligation/icons/AccountBillIcon.js +89 -0
  202. package/src/components/molecules/obligation/icons/AccountConstructionIcon.js +99 -0
  203. package/src/components/molecules/obligation/icons/AccountDentalIcon.js +94 -0
  204. package/src/components/molecules/obligation/icons/AccountElectricIcon.js +99 -0
  205. package/src/components/molecules/obligation/icons/AccountGarbageIcon.js +94 -0
  206. package/src/components/molecules/obligation/icons/AccountGasIcon.js +94 -0
  207. package/src/components/molecules/obligation/icons/AccountGenericIcon.js +89 -0
  208. package/src/components/molecules/obligation/icons/AccountMedicalIcon.js +94 -0
  209. package/src/components/molecules/obligation/icons/AccountWaterIcon.js +94 -0
  210. package/src/components/molecules/obligation/icons/PropertyApartmentIcon.js +99 -0
  211. package/src/components/molecules/obligation/icons/PropertyBusinessIcon.js +94 -0
  212. package/src/components/molecules/obligation/icons/PropertyCarIcon.js +99 -0
  213. package/src/components/molecules/obligation/icons/PropertyCommercialVehicleIcon.js +100 -0
  214. package/src/components/molecules/obligation/icons/PropertyGarageIcon.js +96 -0
  215. package/src/components/molecules/obligation/icons/PropertyLandIcon.js +99 -0
  216. package/src/components/molecules/obligation/icons/PropertyMotorcycleIcon.js +99 -0
  217. package/src/components/molecules/obligation/icons/PropertyPersonalIcon.js +94 -0
  218. package/src/components/molecules/obligation/icons/PropertyStorefrontIcon.js +100 -0
  219. package/src/components/molecules/obligation/icons/index.js +60 -0
  220. package/src/components/molecules/obligation/index.js +3 -0
  221. package/src/components/molecules/obligation/modules/AmountModule.js +36 -0
  222. package/src/components/molecules/obligation/modules/IconModule.js +29 -0
  223. package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +67 -0
  224. package/src/components/molecules/obligation/modules/TitleModule.js +25 -0
  225. package/src/components/molecules/obligation/modules/index.js +6 -0
  226. package/src/components/molecules/payment-button-bar/PaymentButtonBar.js +80 -0
  227. package/src/components/molecules/payment-button-bar/index.js +3 -0
  228. package/src/components/molecules/payment-details/PaymentDetails.js +158 -0
  229. package/src/components/molecules/payment-details/PaymentDetails.theme.js +11 -0
  230. package/src/components/molecules/payment-details/index.js +1 -0
  231. package/src/components/molecules/phone-form/PhoneForm.js +44 -0
  232. package/src/components/molecules/phone-form/PhoneForm.state.js +17 -0
  233. package/src/components/molecules/phone-form/index.js +11 -0
  234. package/src/components/molecules/radio-section/RadioSection.js +205 -0
  235. package/src/components/molecules/radio-section/RadioSection.theme.js +15 -0
  236. package/src/components/molecules/radio-section/index.js +3 -0
  237. package/src/components/molecules/registration-form/RegistrationForm.js +104 -0
  238. package/src/components/molecules/registration-form/RegistrationForm.state.js +40 -0
  239. package/src/components/molecules/registration-form/index.js +11 -0
  240. package/src/components/molecules/reset-confirmation-form/ResetConfirmationForm.js +56 -0
  241. package/src/components/molecules/reset-confirmation-form/index.js +3 -0
  242. package/src/components/molecules/reset-password-form/ResetPasswordForm.js +67 -0
  243. package/src/components/molecules/reset-password-form/ResetPasswordForm.state.js +30 -0
  244. package/src/components/molecules/reset-password-form/index.js +11 -0
  245. package/src/components/molecules/reset-password-success/ResetPasswordSuccess.js +55 -0
  246. package/src/components/molecules/reset-password-success/index.js +3 -0
  247. package/src/components/molecules/tab-sidebar/TabSidebar.js +92 -0
  248. package/src/components/molecules/tab-sidebar/TabSidebar.theme.js +9 -0
  249. package/src/components/molecules/tab-sidebar/index.js +3 -0
  250. package/src/components/molecules/terms-and-conditions/TermsAndConditions.js +73 -0
  251. package/src/components/molecules/terms-and-conditions/index.js +3 -0
  252. package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.js +64 -0
  253. package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.theme.js +28 -0
  254. package/src/components/molecules/terms-and-conditions-modal/index.js +3 -0
  255. package/src/components/molecules/workflow-tile/WorkflowTile.js +58 -0
  256. package/src/components/molecules/workflow-tile/index.js +3 -0
  257. package/src/components/templates/center-single/CenterSingle.js +61 -0
  258. package/src/components/templates/center-single/index.js +3 -0
  259. package/src/components/templates/center-stack/CenterStack.js +49 -0
  260. package/src/components/templates/center-stack/index.js +3 -0
  261. package/src/components/templates/default-page-template/DefaultPageTemplate.js +49 -0
  262. package/src/components/templates/default-page-template/index.js +3 -0
  263. package/src/components/templates/index.js +5 -0
  264. package/src/components/templates/sidebar-single-content/SidebarSingleContent.js +60 -0
  265. package/src/components/templates/sidebar-single-content/index.js +3 -0
  266. package/src/components/templates/sidebar-stack-content/SidebarStackContent.js +81 -0
  267. package/src/components/templates/sidebar-stack-content/index.js +3 -0
  268. package/src/components/templates/templates.theme.js +5 -0
  269. package/src/components/withWindowSize.js +50 -0
  270. package/src/constants/colors.js +178 -0
  271. package/src/constants/regex_constants.js +1 -0
  272. package/src/constants/style_constants.js +21 -0
  273. package/src/deprecated/colors.js +154 -0
  274. package/src/deprecated/components/radio-button/index.js +3 -0
  275. package/src/deprecated/components/radio-button/radio-button.js +44 -0
  276. package/src/deprecated/icons/AlertErrorIcon.js +42 -0
  277. package/src/deprecated/icons/AlertInfoIcon.js +42 -0
  278. package/src/deprecated/icons/AlertSuccessIcon.js +42 -0
  279. package/src/deprecated/icons/AlertWarningIcon.js +36 -0
  280. package/src/deprecated/icons/BankIcon.js +82 -0
  281. package/src/deprecated/icons/GenericCard.js +39 -0
  282. package/src/deprecated/icons/IconAdd.js +44 -0
  283. package/src/deprecated/icons/IconCheck.js +23 -0
  284. package/src/deprecated/icons/IconCheckEmail.js +46 -0
  285. package/src/deprecated/icons/IconChevron.js +35 -0
  286. package/src/deprecated/icons/IconEmailVerified.js +62 -0
  287. package/src/deprecated/icons/IconEye.js +32 -0
  288. package/src/deprecated/icons/IconEyeSlash.js +48 -0
  289. package/src/deprecated/icons/IconInvalid.js +69 -0
  290. package/src/deprecated/icons/IconNeutral.js +27 -0
  291. package/src/deprecated/icons/IconQuit.js +32 -0
  292. package/src/deprecated/icons/IconValid.js +72 -0
  293. package/src/deprecated/icons/IconWarn.js +28 -0
  294. package/src/deprecated/icons/index.js +40 -0
  295. package/src/deprecated/index.js +1 -0
  296. package/src/deprecated/spinner/Spinner.js +68 -0
  297. package/src/deprecated/spinner/index.js +1 -0
  298. package/src/deprecated/utility/__tests__/safeConcat.spec.js +59 -0
  299. package/src/deprecated/utility/__tests__/validateKeyType.spec.js +116 -0
  300. package/src/deprecated/utility/index.js +2 -0
  301. package/src/deprecated/utility/safeConcat.js +10 -0
  302. package/src/deprecated/utility/validateKeyType.js +19 -0
  303. package/src/index.js +2 -0
  304. package/src/util/formats.js +30 -0
  305. package/src/util/general.js +15 -0
  306. package/src/util/inputValidationUtils.js +257 -0
  307. package/src/util/router-utils.js +23 -0
  308. package/src/util/themeUtils.js +144 -0
@@ -0,0 +1,154 @@
1
+ /*
2
+ Need to add a new color? Visit http://chir.ag/projects/name-that-color to generate a color name.
3
+
4
+ Name already taken? If you can't use the existing color, then use thesaurus.com to pick a similar name
5
+ to the one generated by name-that-color.
6
+ */
7
+
8
+ const TRANSPARENT = "transparent";
9
+ // WHITE
10
+ const WHITE = "#FFFFFF";
11
+ const SOLITUDE_WHITE = "#EBEDF1";
12
+ const SEASHELL_WHITE = "#F1F1F1";
13
+ const ALABASTER_WHITE = "#F7F7F7";
14
+ const AQUA_HAZE_WHITE = "#F7F9FA";
15
+ const BLEACH_WHITE = "#FEF4d7";
16
+ // GREY
17
+ const ALTO_GREY = "#d1d1d1";
18
+ const SILVER_GREY = "#cdcdcd";
19
+ const PEWTER_GREY = "#DFE1E4";
20
+ const ASH_GREY = "#979797";
21
+ const IRON_GREY = "#d5d8dc";
22
+ const GHOST_GREY = "#CACED8";
23
+ const DUSTY_GREY = "#9B9B9B";
24
+ const REGENT_GREY = "#959EA7";
25
+ const STORM_GREY = "#6E727E";
26
+ const TROUT_GREY = "#515660";
27
+ const MINESHAFT_GREY = "#333333";
28
+ const SOOT_GREY = "#999999";
29
+ const FIREFLY_GREY = "#091325";
30
+ const BRIGHT_GREY = "#3B414D";
31
+ // BLUE
32
+ const CLOUDBURST_BLUE = "#26395c";
33
+ const ZODIAC_BLUE = "#14284b";
34
+ const CONGRESS_BLUE = "#005095";
35
+ const SCIENCE_BLUE = "#0074D9";
36
+ const MARINER_BLUE = "#2E75D2";
37
+ const CURIOUS_BLUE = "#27A9E1";
38
+ const SELAGO_BLUE = "#F2F8FD";
39
+ const ONAHAU_BLUE = "#D1ECFF";
40
+ const PICKLED_BLUE = "#2C3E50";
41
+ const CERULEAN_BLUE = "#0D8DC4";
42
+ const FOAM_BLUE = "#EFF4FD";
43
+ // GREEN
44
+ const FOREST_GREEN = "#19b03F";
45
+ const MEADOW_GREEN = "#16C98D";
46
+ const POLAR_GREEN = "#DCF7EE";
47
+ const ICE_GREEN = "#A4F6DF";
48
+ const HAZE_GREEN = "#05A670";
49
+ const EMERALD_GREEN = "#47B872";
50
+ const HINT_GREEN = "#E8FFEF";
51
+ // YELLOW
52
+ const SELECTIVE_YELLOW = "#F8B700";
53
+ const MUSTARD_YELLOW = "#FFD459";
54
+ // ORANGE
55
+ const CARROT_ORANGE = "#ED9620";
56
+ const ZEST_ORANGE = "#F47820";
57
+ const APRICOT_ORANGE = "#FFE8D8";
58
+ // RED
59
+ const RED = "#FF0000";
60
+ const CRIMSON_RED = "#ED1C24";
61
+ const THUNDERBIRD_RED = "#C3191F";
62
+ const RAZZMATAZZ_RED = "#ED125F";
63
+ const FANTASY_RED = "#FCF4F4";
64
+ const COSMOS_RED = "#FFD0D3";
65
+ const BLUSH_RED = "#FFF0F5";
66
+
67
+ // Second level color constants
68
+ const ERROR_COLOR = RAZZMATAZZ_RED;
69
+
70
+ // These colors are sequestered so that the alert component can reference them // by type of alert
71
+ const ALERT_COLORS = {
72
+ warn: {
73
+ background: BLEACH_WHITE,
74
+ shadow: SELECTIVE_YELLOW,
75
+ iconBackground: MUSTARD_YELLOW,
76
+ iconFill: CARROT_ORANGE
77
+ },
78
+ info: {
79
+ background: SELAGO_BLUE,
80
+ shadow: SCIENCE_BLUE,
81
+ iconBackground: ONAHAU_BLUE,
82
+ iconFill: CONGRESS_BLUE
83
+ },
84
+ error: {
85
+ background: FANTASY_RED,
86
+ shadow: CRIMSON_RED,
87
+ iconBackground: COSMOS_RED,
88
+ iconFill: THUNDERBIRD_RED
89
+ },
90
+ success: {
91
+ background: POLAR_GREEN,
92
+ shadow: MEADOW_GREEN,
93
+ iconBackground: ICE_GREEN,
94
+ iconFill: HAZE_GREEN
95
+ },
96
+ text: ZODIAC_BLUE,
97
+ link: SCIENCE_BLUE
98
+ };
99
+
100
+ export {
101
+ TRANSPARENT,
102
+ WHITE,
103
+ SOLITUDE_WHITE,
104
+ SEASHELL_WHITE,
105
+ ALABASTER_WHITE,
106
+ AQUA_HAZE_WHITE,
107
+ BLEACH_WHITE,
108
+ ALTO_GREY,
109
+ SILVER_GREY,
110
+ PEWTER_GREY,
111
+ ASH_GREY,
112
+ IRON_GREY,
113
+ GHOST_GREY,
114
+ DUSTY_GREY,
115
+ REGENT_GREY,
116
+ STORM_GREY,
117
+ TROUT_GREY,
118
+ MINESHAFT_GREY,
119
+ FIREFLY_GREY,
120
+ SOOT_GREY,
121
+ BRIGHT_GREY,
122
+ CLOUDBURST_BLUE,
123
+ ZODIAC_BLUE,
124
+ CONGRESS_BLUE,
125
+ SCIENCE_BLUE,
126
+ MARINER_BLUE,
127
+ CURIOUS_BLUE,
128
+ SELAGO_BLUE,
129
+ ONAHAU_BLUE,
130
+ PICKLED_BLUE,
131
+ CERULEAN_BLUE,
132
+ FOAM_BLUE,
133
+ FOREST_GREEN,
134
+ MEADOW_GREEN,
135
+ POLAR_GREEN,
136
+ ICE_GREEN,
137
+ HAZE_GREEN,
138
+ EMERALD_GREEN,
139
+ HINT_GREEN,
140
+ SELECTIVE_YELLOW,
141
+ MUSTARD_YELLOW,
142
+ CARROT_ORANGE,
143
+ ZEST_ORANGE,
144
+ APRICOT_ORANGE,
145
+ RED,
146
+ CRIMSON_RED,
147
+ THUNDERBIRD_RED,
148
+ RAZZMATAZZ_RED,
149
+ FANTASY_RED,
150
+ COSMOS_RED,
151
+ BLUSH_RED,
152
+ ALERT_COLORS,
153
+ ERROR_COLOR
154
+ };
@@ -0,0 +1,3 @@
1
+ import RadioButton from "./radio-button";
2
+
3
+ export default RadioButton;
@@ -0,0 +1,44 @@
1
+ import React from "react";
2
+ import styled from "styled-components";
3
+ import { MARINER_BLUE, PEWTER_GREY } from "../../colors";
4
+
5
+ const defaultTheme = {
6
+ theme: {
7
+ accentColor: MARINER_BLUE,
8
+ inactiveColor: PEWTER_GREY
9
+ }
10
+ };
11
+
12
+ const RadioButtonBorder = styled.div`
13
+ height: 24px;
14
+ width: 24px;
15
+ border: 1px solid
16
+ ${({ isSelected, theme }) =>
17
+ isSelected ? theme.accentColor : theme.inactiveColor};
18
+ border-radius: 12px;
19
+ display: flex;
20
+ justify-content: center;
21
+ align-items: center;
22
+ margin: 10px;
23
+ min-width: 24px;
24
+ min-height: 24px;
25
+ `;
26
+
27
+ RadioButtonBorder.defaultProps = defaultTheme;
28
+
29
+ const RadioButtonCenter = styled.div`
30
+ height: 16px;
31
+ width: 16px;
32
+ background-color: ${({ theme }) => theme.accentColor};
33
+ border-radius: 8px;
34
+ `;
35
+
36
+ RadioButtonCenter.defaultProps = defaultTheme;
37
+
38
+ const RadioButton = ({ isSelected, name }) => (
39
+ <RadioButtonBorder isSelected={isSelected} name={name}>
40
+ {isSelected && <RadioButtonCenter />}
41
+ </RadioButtonBorder>
42
+ );
43
+
44
+ export default RadioButton;
@@ -0,0 +1,42 @@
1
+ import React from "react";
2
+ export const AlertErrorIcon = () => (
3
+ <svg
4
+ width="24px"
5
+ height="24px"
6
+ viewBox="0 0 24 24"
7
+ version="1.1"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ xmlnsXlink="http://www.w3.org/1999/xlink"
10
+ >
11
+ <defs>
12
+ <path
13
+ d="M12,0 C18.627417,0 24,5.372583 24,12 C24,18.627417 18.627417,24 12,24 C5.372583,24 0,18.627417 0,12 C0,5.372583 5.372583,0 12,0 Z M15.5714286,7 L12,10.572 L8.42857143,7 L7,8.42857143 L10.571,12 L7,15.5714286 L8.42857143,17 L11.999,13.428 L15.5714286,17 L17,15.5714286 L13.428,12 L17,8.42857143 L15.5714286,7 Z"
14
+ id="path-1"
15
+ ></path>
16
+ </defs>
17
+ <g
18
+ id="Symbols"
19
+ stroke="none"
20
+ strokeWidth="1"
21
+ fill="none"
22
+ fillRule="evenodd"
23
+ >
24
+ <g id="Alert/Error" transform="translate(-24.000000, -32.000000)">
25
+ <g
26
+ id="Icon/Error-Container"
27
+ transform="translate(24.000000, 32.000000)"
28
+ >
29
+ <mask id="mask-2" fill="white">
30
+ <use xlinkHref="#path-1"></use>
31
+ </mask>
32
+ <use
33
+ id="icon---error"
34
+ fill="#ED125F"
35
+ fillRule="nonzero"
36
+ xlinkHref="#path-1"
37
+ ></use>
38
+ </g>
39
+ </g>
40
+ </g>
41
+ </svg>
42
+ );
@@ -0,0 +1,42 @@
1
+ import React from "react";
2
+ export const AlertInfoIcon = () => (
3
+ <svg
4
+ width="24px"
5
+ height="24px"
6
+ viewBox="0 0 24 24"
7
+ version="1.1"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ xmlnsXlink="http://www.w3.org/1999/xlink"
10
+ >
11
+ <defs>
12
+ <path
13
+ d="M12,24 C18.627417,24 24,18.627417 24,12 C24,5.372583 18.627417,0 12,0 C5.372583,0 0,5.372583 0,12 C0,18.627417 5.372583,24 12,24 Z M13,10 L13,16 L14,16 L14,18 L10,18 L10,16 L11,16 L11,12 L10,12 L10,10 L13,10 Z M13,6 L13,8 L11,8 L11,6 L13,6 Z"
14
+ id="path-1"
15
+ ></path>
16
+ </defs>
17
+ <g
18
+ id="Symbols"
19
+ stroke="none"
20
+ strokeWidth="1"
21
+ fill="none"
22
+ fillRule="evenodd"
23
+ >
24
+ <g id="Alert/Informational" transform="translate(-24.000000, -34.000000)">
25
+ <g
26
+ id="Icon/Information-Container"
27
+ transform="translate(24.000000, 34.000000)"
28
+ >
29
+ <mask id="mask-2" fill="white">
30
+ <use xlinkHref="#path-1"></use>
31
+ </mask>
32
+ <use
33
+ id="background-2"
34
+ fill="#15749d"
35
+ fillRule="nonzero"
36
+ xlinkHref="#path-1"
37
+ ></use>
38
+ </g>
39
+ </g>
40
+ </g>
41
+ </svg>
42
+ );
@@ -0,0 +1,42 @@
1
+ import React from "react";
2
+ export const AlertSuccessIcon = () => (
3
+ <svg
4
+ width="24px"
5
+ height="24px"
6
+ viewBox="0 0 24 24"
7
+ version="1.1"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ xmlnsXlink="http://www.w3.org/1999/xlink"
10
+ >
11
+ <defs>
12
+ <path
13
+ d="M12,24 C18.627417,24 24,18.627417 24,12 C24,5.372583 18.627417,0 12,0 C5.372583,0 0,5.372583 0,12 C0,18.627417 5.372583,24 12,24 Z M16.9497475,7.46446609 L18.363961,8.87867966 L9.87867966,17.363961 L5.63603897,13.1213203 L7.05025253,11.7071068 L9.87803897,14.5354661 L16.9497475,7.46446609 Z"
14
+ id="path-1"
15
+ ></path>
16
+ </defs>
17
+ <g
18
+ id="Symbols"
19
+ stroke="none"
20
+ strokeWidth="1"
21
+ fill="none"
22
+ fillRule="evenodd"
23
+ >
24
+ <g id="Alert/Success" transform="translate(-24.000000, -34.000000)">
25
+ <g
26
+ id="Icon/Success-Container"
27
+ transform="translate(24.000000, 34.000000)"
28
+ >
29
+ <mask id="mask-2" fill="white">
30
+ <use xlinkHref="#path-1"></use>
31
+ </mask>
32
+ <use
33
+ id="background-2"
34
+ fill="#47B872"
35
+ fillRule="nonzero"
36
+ xlinkHref="#path-1"
37
+ ></use>
38
+ </g>
39
+ </g>
40
+ </g>
41
+ </svg>
42
+ );
@@ -0,0 +1,36 @@
1
+ import React from "react";
2
+ export const AlertWarningIcon = () => (
3
+ <svg
4
+ width="24px"
5
+ height="21px"
6
+ viewBox="0 0 24 21"
7
+ version="1.1"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ xmlnsXlink="http://www.w3.org/1999/xlink"
10
+ >
11
+ <g
12
+ id="Symbols"
13
+ stroke="none"
14
+ strokeWidth="1"
15
+ fill="none"
16
+ fillRule="evenodd"
17
+ >
18
+ <g
19
+ id="Alert/Warning"
20
+ transform="translate(-24.000000, -36.000000)"
21
+ fill="#F47820"
22
+ fillRule="nonzero"
23
+ >
24
+ <g
25
+ id="Icon/Warning-Container"
26
+ transform="translate(24.000000, 34.000000)"
27
+ >
28
+ <path
29
+ d="M13.0106463,2.58294345 C13.3063934,2.75612993 13.5526739,3.00241046 13.7258604,3.29815753 L23.0814452,19.2745017 C23.6396097,20.2276681 23.3193975,21.4528439 22.3662311,22.0110084 C22.0596748,22.1905246 21.7108352,22.285148 21.3555848,22.285148 L2.64441521,22.285148 C1.53984571,22.285148 0.64441521,21.3897175 0.64441521,20.285148 C0.64441521,19.9298976 0.739038571,19.581058 0.918554829,19.2745017 L10.2741396,3.29815753 C10.8323042,2.34499116 12.0574799,2.02477891 13.0106463,2.58294345 Z M13,17 L11,17 L11,19 L13,19 L13,17 Z M13,7 L11,7 L11,15 L13,15 L13,7 Z"
30
+ id="icon---warning"
31
+ ></path>
32
+ </g>
33
+ </g>
34
+ </g>
35
+ </svg>
36
+ );
@@ -0,0 +1,82 @@
1
+ import React from "react";
2
+
3
+ export const BankIcon = () => {
4
+ return (
5
+ <svg
6
+ width="28px"
7
+ height="18px"
8
+ viewBox="0 0 28 18"
9
+ version="1.1"
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ xmlnsXlink="http://www.w3.org/1999/xlink"
12
+ >
13
+ <g stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
14
+ <g transform="translate(-196.000000, -311.000000)">
15
+ <g transform="translate(132.000000, 204.000000)">
16
+ <g transform="translate(0.000000, 48.000000)">
17
+ <g transform="translate(0.000000, 32.000000)">
18
+ <g transform="translate(24.000000, 24.000000)">
19
+ <g transform="translate(40.000000, 3.000000)">
20
+ <rect
21
+ id="bg"
22
+ fill="#CACED8"
23
+ x="0"
24
+ y="0"
25
+ width="28"
26
+ height="18"
27
+ rx="1"
28
+ ></rect>
29
+ <g
30
+ id="bank"
31
+ transform="translate(8.000000, 4.000000)"
32
+ fill="#6E727E"
33
+ >
34
+ <rect
35
+ id="Rectangle"
36
+ x="1"
37
+ y="4"
38
+ width="2"
39
+ height="3"
40
+ rx="0.5"
41
+ ></rect>
42
+ <rect
43
+ id="Rectangle-Copy-4"
44
+ x="5"
45
+ y="4"
46
+ width="2"
47
+ height="3"
48
+ rx="0.5"
49
+ ></rect>
50
+ <rect
51
+ id="Rectangle-Copy-5"
52
+ x="9"
53
+ y="4"
54
+ width="2"
55
+ height="3"
56
+ rx="0.5"
57
+ ></rect>
58
+ <rect
59
+ id="Rectangle-Copy-7"
60
+ x="0"
61
+ y="8"
62
+ width="12"
63
+ height="2"
64
+ rx="0.5"
65
+ ></rect>
66
+ <path
67
+ d="M0.378167287,1.40499005 L5.00055528,0.243670994 C5.63734349,0.0836856623 6.30372324,0.0829130839 6.9408807,0.241421446 L11.620708,1.40564191 C11.8435643,1.46108283 12,1.66120383 12,1.89085278 L12,2.5 C12,2.77614237 11.7761424,3 11.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 L0,1.88991972 C-2.80709531e-17,1.66070299 0.155859301,1.46084224 0.378167287,1.40499005 Z"
68
+ id="Rectangle-Copy-2"
69
+ ></path>
70
+ </g>
71
+ </g>
72
+ </g>
73
+ </g>
74
+ </g>
75
+ </g>
76
+ </g>
77
+ </g>
78
+ </svg>
79
+ );
80
+ };
81
+
82
+ export default BankIcon;
@@ -0,0 +1,39 @@
1
+ import React from "react";
2
+
3
+ const GenericCard = () => (
4
+ <svg
5
+ width="28px"
6
+ height="18px"
7
+ viewBox="0 0 28 18"
8
+ version="1.1"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlnsXlink="http://www.w3.org/1999/xlink"
11
+ >
12
+ <g stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
13
+ <g>
14
+ <rect
15
+ id="bg"
16
+ fill="#CACED8"
17
+ x="0"
18
+ y="0"
19
+ width="28"
20
+ height="18"
21
+ rx="1"
22
+ ></rect>
23
+ <g transform="translate(0.000000, 4.000000)" fill="#6E727E">
24
+ <rect id="Rectangle-Copy-7" x="0" y="0" width="28" height="4"></rect>
25
+ <rect
26
+ id="Rectangle-Copy-8"
27
+ x="17"
28
+ y="8"
29
+ width="7"
30
+ height="2"
31
+ rx="1"
32
+ ></rect>
33
+ </g>
34
+ </g>
35
+ </g>
36
+ </svg>
37
+ );
38
+
39
+ export default GenericCard;
@@ -0,0 +1,44 @@
1
+ import React from "react";
2
+ import { WHITE, CHARADE_GREY } from "../../constants/colors";
3
+
4
+ export const IconAdd = ({ fill = CHARADE_GREY, iconID, isMobile }) => (
5
+ <svg
6
+ xmlns="http://www.w3.org/2000/svg"
7
+ xmlnsXlink="http://www.w3.org/1999/xlink"
8
+ width="18"
9
+ height="18"
10
+ viewBox={isMobile ? "0 -0.25 20 20" : "-0.5 -0.5 18 18"}
11
+ id={`icon-add-${iconID}`}
12
+ >
13
+ <defs>
14
+ <path
15
+ id="path-1"
16
+ d="M9.91666623 6.78508747L6.78508747 6.78508747 6.78508747 9.91666623 5.74122788 9.91666623 5.74122788 6.78508747 2.60964912 6.78508747 2.60964912 5.74122788 5.74122788 5.74122788 5.74122788 2.60964912 6.78508747 2.60964912 6.78508747 5.74122788 9.91666623 5.74122788z"
17
+ ></path>
18
+ </defs>
19
+ <g fill="none" fillRule="evenodd" stroke="none" strokeWidth="1">
20
+ <g transform="translate(-383 -15)">
21
+ <g transform="translate(384 16)">
22
+ <g>
23
+ <g transform="translate(1.94 1.858)">
24
+ <mask id="mask-2" fill={WHITE}>
25
+ <use xlinkHref="#path-1"></use>
26
+ </mask>
27
+ <use fill="#000" fillRule="evenodd" xlinkHref="#path-1"></use>
28
+ <g fill={fill} fillRule="evenodd" mask="url(#mask-2)">
29
+ <path d="M0 0H12.526V12.526H0z"></path>
30
+ </g>
31
+ </g>
32
+ <circle
33
+ cx="8.155"
34
+ cy="8.072"
35
+ r="8"
36
+ stroke={fill}
37
+ strokeWidth="0.644"
38
+ ></circle>
39
+ </g>
40
+ </g>
41
+ </g>
42
+ </g>
43
+ </svg>
44
+ );
@@ -0,0 +1,23 @@
1
+ import React from "react";
2
+ import { WHITE } from "../../constants/colors";
3
+
4
+ export const IconCheck = ({ fill = WHITE, width = "24", height = "24" }) => (
5
+ <svg
6
+ width={width}
7
+ height={height}
8
+ viewBox="0 0 25 25"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlnsXlink="http://www.w3.org/1999/xlink"
11
+ id="icon-check"
12
+ >
13
+ <defs>
14
+ <polygon
15
+ id="icon-check-path-1"
16
+ points="8.99999946 16.169999 4.82999963 11.9999993 3.40999964 13.409999 8.99999946 18.9999989 20.9999987 6.99999958 19.5899989 5.58999981"
17
+ />
18
+ </defs>
19
+ <g id="icon-check-mark" fill="none" fillRule="evenodd">
20
+ <use id="icon-check-Fill-2" fill={fill} xlinkHref="#icon-check-path-1" />
21
+ </g>
22
+ </svg>
23
+ );
@@ -0,0 +1,46 @@
1
+ import React from "react";
2
+ import { BOSTON_BLUE } from "../../constants/colors";
3
+
4
+ export const IconCheckEmail = ({ fill = BOSTON_BLUE, iconID }) => (
5
+ <svg
6
+ width="87px"
7
+ height="80px"
8
+ viewBox="0 0 87 80"
9
+ version="1.1"
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ >
12
+ <g
13
+ id="Authentication"
14
+ stroke="none"
15
+ strokeWidth="1"
16
+ fill="none"
17
+ fillRule="evenodd"
18
+ >
19
+ <g
20
+ id="00.1.1---HSS---Register---Verify"
21
+ transform="translate(-672.000000, -379.000000)"
22
+ >
23
+ <g
24
+ id="Large-Icons/Check-Email"
25
+ transform="translate(670.000000, 369.000000)"
26
+ >
27
+ <g id="Large-Icon-Mask"></g>
28
+ <g id={`icon-check-email-${iconID}`}>
29
+ <g transform="translate(2.000000, 10.000000)">
30
+ <path
31
+ d="M74.4941678,15.1125372 C76.0546548,15.1125372 78.8749733,18.4166121 82.9551232,25.0247619 C82.9551232,25.0247619 84.184277,29.7742857 84.6669583,36.0219048 L84.6669583,36.0219048 L58.9866256,36.0219048 C58.6524563,36.0219048 58.3366423,36.1019502 58.0566727,36.2442816 C58.0189269,36.263761 57.9816383,36.2841754 57.9450512,36.3056892 L57.8942665,36.3363002 L57.8942665,36.3363002 C57.6952517,36.461434 57.518768,36.6189945 57.3716995,36.8020376 L57.2875148,36.914505 C57.2768503,36.9297514 57.2663785,36.9451478 57.256103,36.9606902 C57.0319171,37.2990305 56.9010866,37.7070423 56.9010866,38.1462857 L56.9010866,38.5462857 C56.9010866,38.6919409 56.9154729,38.8341618 56.9428766,38.9715565 L56.9476148,38.9928079 L56.9476148,38.9928079 L56.9820309,39.1344108 C57.1346469,39.6751429 57.4924331,40.1272754 57.9640126,40.3978973 L58.0159835,40.4268675 L58.0159835,40.4268675 L58.1421751,40.4889645 C58.1851794,40.5083725 58.2289486,40.5263426 58.2734239,40.542815 L58.4093769,40.58806 C58.5926915,40.6417283 58.7863624,40.6704762 58.9866256,40.6704762 L58.9866256,40.6704762 L84.8551738,40.6704762 C84.8596567,42.4314286 84.7801453,44.2380952 84.5846406,46.0419048 L84.5846406,46.0419048 L58.9861578,46.0420952 C58.7358289,46.0420952 58.4958003,46.0870138 58.2734239,46.1693755 L58.1426429,46.2230355 C58.0813089,46.2507157 58.0215308,46.2813209 57.9634793,46.3146775 C57.3295663,46.6783783 56.9010866,47.3709986 56.9010866,48.1659048 L56.9010866,48.5659048 C56.9010866,49.2232148 57.1945435,49.8110702 57.6553396,50.2007317 C57.7452274,50.2768687 57.842125,50.3458573 57.9445244,50.4062277 C57.9816383,50.4278198 58.0189269,50.4482467 58.0568735,50.4675298 C58.3366423,50.6102704 58.6524563,50.6904762 58.9866256,50.6904762 L58.9866256,50.6904762 L83.7932676,50.6904762 C83.3358429,52.5704762 82.7034928,54.3809524 81.8625422,56.06 L81.8625422,56.06 L58.9866256,56.06 C58.6524563,56.06 58.3366423,56.1401256 58.0566727,56.2825476 C57.9728344,56.3255569 57.8920224,56.3738726 57.8149103,56.4273158 C57.7934421,56.4419247 57.7727749,56.4568374 57.7523903,56.4721189 C57.2363781,56.8586283 56.9010866,57.4818742 56.9010866,58.1844762 L56.9010866,58.5854286 C56.9010866,59.0243155 57.0319171,59.4322377 57.2560356,59.7708724 L57.2875148,59.8167242 L57.2875148,59.8167242 L57.3716995,59.9292798 C57.5358858,60.1336677 57.7367333,60.3063347 57.9640126,60.4368388 L58.0159835,60.465731 L58.0159835,60.465731 L58.1421751,60.5279637 C58.1851794,60.5473848 58.2289486,60.5653677 58.2734239,60.5818522 L58.4093769,60.6270362 C58.5926915,60.6807471 58.7863624,60.7095238 58.9866256,60.7095238 L58.9866256,60.7095238 L79.0291277,60.7095238 C77.6035338,62.7314286 76.0769137,64.5085714 74.4941678,66.08 L74.4941678,66.08 L58.9866256,66.08 C58.7362966,66.08 58.496268,66.1249635 58.2738916,66.2073859 L58.1421751,66.2614649 C57.8411451,66.3974129 57.5775954,66.6038385 57.3716995,66.8601488 L57.2875148,66.9727996 C57.2335115,67.0499833 57.1844499,67.130999 57.1408005,67.2153665 C56.9875598,67.5108431 56.9010866,67.8471884 56.9010866,68.204 L56.9010866,68.604 C56.9010866,69.0432434 57.0319171,69.4512553 57.2560356,69.7898625 L57.2875148,69.835557 L57.2875148,69.835557 L57.3716995,69.9482481 C57.5093861,70.1196143 57.6728546,70.2686454 57.8560723,70.3892074 C58.1813438,70.6038449 58.5696984,70.7285714 58.9866256,70.7285714 L58.9866256,70.7285714 L68.85166,70.7285714 C58.74745,77.574061 48.4322892,77.7770354 47.973789,77.7827009 L47.9579175,77.7828571 L48.0728325,60.1485372 L10.2414195,60.1487619 C8.78215025,60.1487619 7.59883254,58.9449524 7.59883254,57.4592381 L7.59883254,33.2220952 C7.59883254,33.1078095 7.60583442,32.9951862 7.61942518,32.8846459 L7.61904762,32.4494503 C7.61904762,32.2717564 7.71924057,32.1180319 7.86362173,32.0468606 C8.22490883,31.2893478 8.92751469,30.729366 9.7684372,30.5746082 L9.7679847,27.0301448 C9.7679847,26.7840568 9.57721521,26.5853966 9.34281681,26.5853966 L8.29743421,26.5853966 C8.06303581,26.5853966 7.87226632,26.3858416 7.87226632,26.1406485 L7.87226632,25.1894064 C7.87226632,24.9817976 8.01684051,24.8028245 8.21103188,24.7571864 C8.63448883,24.6551717 9.00661766,24.5433135 9.32485197,24.4207169 C9.69013706,24.2793282 10.0468675,24.0967756 10.3941877,23.8739541 C10.4592033,23.8327903 10.5336291,23.8095238 10.6097658,23.8095238 L12.0589296,23.8095238 C12.2941834,23.8095238 12.4840975,24.0090788 12.4840975,24.254272 L12.4838325,30.5315372 L48.2648325,30.5315372 L48.3650619,15.1125372 L48.3650619,15.1125372 Z"
32
+ id="Combined-Shape---White"
33
+ fill="#FFFFFF"
34
+ ></path>
35
+ <path
36
+ d="M47.9581981,-9.52380985e-05 C56.9565603,-9.52380985e-05 65.4871514,3.12268167 72.3446088,8.7532717 C81.4337394,16.2155591 86.8208942,27.4313505 86.8208942,39.5432381 C86.8208942,61.3771077 69.4263514,79.0865714 47.9581981,79.0865714 C34.4442148,79.0865714 22.5445637,72.0696395 15.5815317,61.4239462 L10.2414195,61.4235238 C8.14067307,61.4235238 6.43378275,59.7533562 6.32915362,57.6628185 L6.32407064,57.4592381 L6.32385133,39.3158583 C2.5913556,37.5703697 -0.000289047552,33.7310733 -0.000289047552,29.275054 C-0.000289047552,23.1754922 4.85570993,18.2314924 10.8467023,18.2314924 C12.2269075,18.2314924 13.546873,18.493895 14.7611005,18.9723776 C21.5837148,7.59648641 33.8971126,-9.52380985e-05 47.9581981,-9.52380985e-05 Z M81.2659457,24.9341955 L49.152062,24.9343333 L49.151711,29.2559048 L51.0326726,29.2568571 C53.1333491,29.2568571 54.8394271,30.9278343 54.9440056,33.0185042 L54.9490861,33.2220952 L54.9490861,57.4592381 C54.9490861,59.5756393 53.308688,61.3119024 51.2346947,61.418352 L51.0326726,61.4235238 L49.151711,61.4229048 L49.1525807,76.4583297 C68.4184149,75.822867 83.8936595,59.8699605 84.2074641,40.1541708 L84.2123228,39.5432381 C84.2123228,34.4178918 83.1815127,29.4659967 81.2659457,24.9341955 Z M46.762711,61.4229048 L18.7470538,61.4241545 C25.1282949,70.2503773 35.271242,76.0790468 46.7630395,76.4583058 L46.762711,61.4229048 Z M52.3990706,36.0128571 L32.320205,48.7167114 C31.331052,49.3411297 30.1513357,49.3778602 29.1401502,48.8263314 L28.9526155,48.716026 L14.6028663,39.6386342 C13.4325124,40.0784334 12.1671766,40.3186156 10.8467023,40.3186156 C10.1725836,40.3186156 9.51283526,40.2560185 8.87275851,40.1362218 L8.87359445,57.4592381 C8.87359445,58.199415 9.42053271,58.7995324 10.1104776,58.8675733 L10.2414195,58.874 L51.0326726,58.874 C51.7386136,58.874 52.3265333,58.3177044 52.3932576,57.596334 L52.3995623,57.4592381 L52.3990706,36.0128571 Z M51.0326726,31.806381 L21.4074656,31.8063616 C20.8002759,34.4427739 19.2653942,36.7152551 17.1725128,38.247413 L30.3153624,46.5612655 C30.5024748,46.6795574 30.6807447,46.6964562 30.8653024,46.6121083 L30.9581754,46.5614978 L52.3839176,33.0068456 C52.2835452,32.3234575 51.7126402,31.806381 51.0326726,31.806381 Z M12.0589296,23.8095238 L10.6097658,23.8095238 C10.5336291,23.8095238 10.4592033,23.8327903 10.3941877,23.8739541 C10.0468675,24.0967756 9.69013706,24.2793282 9.32485197,24.4207169 C9.00661766,24.5433135 8.63448883,24.6551717 8.21103188,24.7571864 C8.01684051,24.8028245 7.87226632,24.9817976 7.87226632,25.1894064 L7.87226632,25.1894064 L7.87226632,26.1406485 C7.87226632,26.3858416 8.06303581,26.5853966 8.29743421,26.5853966 L8.29743421,26.5853966 L9.34281681,26.5853966 C9.57721521,26.5853966 9.7679847,26.7840568 9.7679847,27.0301448 L9.7679847,27.0301448 L9.7679847,31.559954 C9.7679847,31.806042 9.57721521,32.0047021 9.34281681,32.0047021 L9.34281681,32.0047021 L8.0442155,32.0047021 C7.80981711,32.0047021 7.61904762,32.2042571 7.61904762,32.4494503 L7.61904762,32.4494503 L7.61904762,33.8409661 C7.61904762,34.0861593 7.80981711,34.2857143 8.0442155,34.2857143 L8.0442155,34.2857143 L13.8605464,34.2857143 C14.0949448,34.2857143 14.2857143,34.0861593 14.2857143,33.8409661 L14.2857143,33.8409661 L14.2857143,32.4494503 C14.2857143,32.2042571 14.0949448,32.0047021 13.8605464,32.0047021 L13.8605464,32.0047021 L12.9101208,32.0047021 C12.6748669,32.0047021 12.4840975,31.806042 12.4840975,31.559954 L12.4840975,31.559954 L12.4840975,24.254272 C12.4840975,24.0090788 12.2941834,23.8095238 12.0589296,23.8095238 L12.0589296,23.8095238 Z M47.9581981,2.60847619 C34.8918219,2.60847619 23.4361353,9.6518814 17.0556177,20.2182119 C19.8551989,22.2115316 21.6874843,25.5155914 21.6936779,29.2560279 L46.762711,29.2559048 L46.763062,14.0740952 C46.763062,13.455487 47.2332005,12.9466855 47.8356664,12.8855018 L47.9578239,12.8793333 L73.0447529,12.8785871 C72.2926086,12.1445579 71.5069884,11.4406886 70.6893001,10.7693565 C64.5776396,5.75113293 57.0494428,2.8717032 49.0738741,2.62566643 L48.5167254,2.61277997 L47.9581981,2.60847619 Z M54.7243432,17.1422857 C53.5466381,17.168 52.61308,18.1594286 52.6374011,19.3584762 C52.6626577,20.5565714 53.6364393,21.508 54.8141444,21.4822857 C55.9909141,21.4575238 56.9244723,20.4651429 56.9001511,19.2670476 C56.87583,18.068 55.9011129,17.1165714 54.7243432,17.1422857 Z M62.1593202,17.1422857 C60.981615,17.168 60.0471214,18.1594286 60.072378,19.3584762 C60.0976346,20.5565714 61.0714162,21.508 62.2491213,21.4822857 C63.4249556,21.4575238 64.3594492,20.4651429 64.335128,19.2670476 C64.3108069,18.068 63.3360899,17.1165714 62.1593202,17.1422857 Z M69.5943906,17.1422857 C68.4166855,17.168 67.4821919,18.1594286 67.506513,19.3584762 C67.5327051,20.5565714 68.5064867,21.508 69.6841918,21.4822857 C70.8600261,21.4575238 71.7945197,20.4651429 71.7701985,19.2670476 C71.7458773,18.068 70.7711603,17.1165714 69.5943906,17.1422857 Z"
37
+ id="Combined-Shape---PRIMARY-Color"
38
+ fill={fill}
39
+ ></path>
40
+ </g>
41
+ </g>
42
+ </g>
43
+ </g>
44
+ </g>
45
+ </svg>
46
+ );
@@ -0,0 +1,35 @@
1
+ import React from "react";
2
+ import { STORM_GREY, WHITE, PICKLED_BLUE } from "../../constants/colors";
3
+
4
+ export const IconChevron = ({ fill = STORM_GREY }) => {
5
+ return (
6
+ <svg
7
+ width="24"
8
+ height="24"
9
+ viewBox="0 0 24 24"
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ xmlnsXlink="http://www.w3.org/1999/xlink"
12
+ id={`icon-chevron`}
13
+ >
14
+ <defs>
15
+ <polygon
16
+ id={`icon-chevron-path-1`}
17
+ points="10.4099998 6 9 7.40999976 13.5799996 11.9999996 9 16.5899995 10.4099998 17.9999993 16.4099994 11.9999996"
18
+ />
19
+ </defs>
20
+ <g id={`icon-chevron-Icon/Chevron-Down`} fill="none" fillRule="evenodd">
21
+ <mask id={`icon-chevron-mask-2`} fill={WHITE}>
22
+ <use xlinkHref={`#icon-chevron-path-1`} />
23
+ </mask>
24
+ <use
25
+ id={`icon-chevron-Fill-2`}
26
+ fill={PICKLED_BLUE}
27
+ xlinkHref={`#icon-chevron-path-1`}
28
+ />
29
+ <g id="Colors/Blue-Dark" mask={`url(#icon-chevron-mask-2)`} fill={fill}>
30
+ <rect id={`icon-chevron-rect`} width="24" height="24" />
31
+ </g>
32
+ </g>
33
+ </svg>
34
+ );
35
+ };