@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.
- package/.eslintrc.json +29 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +18 -0
- package/.github/stale.yml +17 -0
- package/.prettierignore +3 -0
- package/.tool-versions +1 -0
- package/README.md +149 -0
- package/dist/cb-components.cjs.js +77 -0
- package/package.json +96 -0
- package/rollup.config.js +35 -0
- package/src/components/atoms/alert/Alert.js +67 -0
- package/src/components/atoms/alert/Alert.theme.js +71 -0
- package/src/components/atoms/alert/index.js +3 -0
- package/src/components/atoms/amount-callout/AmountCallout.js +27 -0
- package/src/components/atoms/amount-callout/AmountCallout.theme.js +19 -0
- package/src/components/atoms/amount-callout/index.js +3 -0
- package/src/components/atoms/breadcrumb/Breadcrumb.js +50 -0
- package/src/components/atoms/breadcrumb/Breadcrumb.theme.js +25 -0
- package/src/components/atoms/breadcrumb/index.js +3 -0
- package/src/components/atoms/button-with-action/ButtonWithAction.js +128 -0
- package/src/components/atoms/button-with-action/ButtonWithAction.stories.js +125 -0
- package/src/components/atoms/button-with-action/ButtonWithAction.theme.js +360 -0
- package/src/components/atoms/button-with-action/index.js +3 -0
- package/src/components/atoms/button-with-link/ButtonWithLink.js +40 -0
- package/src/components/atoms/button-with-link/index.js +3 -0
- package/src/components/atoms/checkbox/Checkbox.js +143 -0
- package/src/components/atoms/checkbox/Checkbox.theme.js +54 -0
- package/src/components/atoms/checkbox/index.js +3 -0
- package/src/components/atoms/checkbox-list/CheckboxList.js +129 -0
- package/src/components/atoms/checkbox-list/CheckboxList.theme.js +42 -0
- package/src/components/atoms/checkbox-list/index.js +3 -0
- package/src/components/atoms/country-dropdown/CountryDropdown.js +24 -0
- package/src/components/atoms/country-dropdown/index.js +1 -0
- package/src/components/atoms/country-dropdown/options.js +249 -0
- package/src/components/atoms/display-box/DisplayBox.js +22 -0
- package/src/components/atoms/display-box/DisplayBox.theme.js +9 -0
- package/src/components/atoms/display-box/index.js +3 -0
- package/src/components/atoms/display-card/DisplayCard.js +65 -0
- package/src/components/atoms/display-card/index.js +3 -0
- package/src/components/atoms/dropdown/Dropdown.js +299 -0
- package/src/components/atoms/dropdown/Dropdown.theme.js +9 -0
- package/src/components/atoms/dropdown/DropdownIcon.js +31 -0
- package/src/components/atoms/dropdown/index.js +3 -0
- package/src/components/atoms/form-layouts/FormContainer.js +28 -0
- package/src/components/atoms/form-layouts/FormInput.js +218 -0
- package/src/components/atoms/form-layouts/FormInputColumn.js +15 -0
- package/src/components/atoms/form-layouts/FormInputRow.js +26 -0
- package/src/components/atoms/form-layouts/FormLayouts.theme.js +52 -0
- package/src/components/atoms/form-layouts/index.js +6 -0
- package/src/components/atoms/form-select/FormSelect.js +62 -0
- package/src/components/atoms/form-select/FormSelect.styled.js +65 -0
- package/src/components/atoms/form-select/index.js +3 -0
- package/src/components/atoms/formatted-address/FormattedAddress.js +53 -0
- package/src/components/atoms/formatted-address/FormattedAddress.theme.js +11 -0
- package/src/components/atoms/formatted-address/index.js +3 -0
- package/src/components/atoms/hamburger-button/HamburgerButton.js +113 -0
- package/src/components/atoms/hamburger-button/index.js +3 -0
- package/src/components/atoms/heading/Heading.js +37 -0
- package/src/components/atoms/heading/Heading.styled.js +14 -0
- package/src/components/atoms/heading/Heading.theme.js +18 -0
- package/src/components/atoms/heading/index.js +3 -0
- package/src/components/atoms/icons/AccountsAddIcon.js +42 -0
- package/src/components/atoms/icons/AccountsIcon.js +37 -0
- package/src/components/atoms/icons/AccountsIconSmall.js +63 -0
- package/src/components/atoms/icons/ChevronIcon.js +51 -0
- package/src/components/atoms/icons/ForgotPasswordIcon.js +46 -0
- package/src/components/atoms/icons/GoToEmailIcon.js +31 -0
- package/src/components/atoms/icons/Icons.theme.js +38 -0
- package/src/components/atoms/icons/PaymentMethodIcon.js +42 -0
- package/src/components/atoms/icons/PaymentsIconSmall.js +63 -0
- package/src/components/atoms/icons/ProfileIconSmall.js +44 -0
- package/src/components/atoms/icons/PropertiesAddIcon.js +70 -0
- package/src/components/atoms/icons/PropertiesIconSmall.js +32 -0
- package/src/components/atoms/icons/SettingsIconSmall.js +63 -0
- package/src/components/atoms/icons/VerifiedEmailIcon.js +53 -0
- package/src/components/atoms/icons/index.js +28 -0
- package/src/components/atoms/index.js +33 -0
- package/src/components/atoms/labeled-amount/LabeledAmount.js +35 -0
- package/src/components/atoms/labeled-amount/LabeledAmount.theme.js +10 -0
- package/src/components/atoms/labeled-amount/index.js +3 -0
- package/src/components/atoms/layouts/Box.js +83 -0
- package/src/components/atoms/layouts/Box.styled.js +131 -0
- package/src/components/atoms/layouts/Center.js +28 -0
- package/src/components/atoms/layouts/Center.styled.js +18 -0
- package/src/components/atoms/layouts/Cluster.js +37 -0
- package/src/components/atoms/layouts/Cluster.styled.js +21 -0
- package/src/components/atoms/layouts/Cover.js +49 -0
- package/src/components/atoms/layouts/Cover.styled.js +29 -0
- package/src/components/atoms/layouts/Frame.js +28 -0
- package/src/components/atoms/layouts/Frame.styled.js +27 -0
- package/src/components/atoms/layouts/Grid.js +38 -0
- package/src/components/atoms/layouts/Grid.styled.js +22 -0
- package/src/components/atoms/layouts/Imposter.js +52 -0
- package/src/components/atoms/layouts/Imposter.styled.js +19 -0
- package/src/components/atoms/layouts/Motion.js +51 -0
- package/src/components/atoms/layouts/Motion.styled.js +41 -0
- package/src/components/atoms/layouts/Reel.js +28 -0
- package/src/components/atoms/layouts/Reel.styled.js +17 -0
- package/src/components/atoms/layouts/Sidebar.js +42 -0
- package/src/components/atoms/layouts/Sidebar.styled.js +38 -0
- package/src/components/atoms/layouts/Stack.js +36 -0
- package/src/components/atoms/layouts/Stack.styled.js +30 -0
- package/src/components/atoms/layouts/Switcher.js +64 -0
- package/src/components/atoms/layouts/Switcher.styled.js +44 -0
- package/src/components/atoms/layouts/examples/FixedSizeContainer.js +22 -0
- package/src/components/atoms/layouts/examples/FixedSizeContainer.styled.js +20 -0
- package/src/components/atoms/layouts/examples/LayoutContentBlock.js +27 -0
- package/src/components/atoms/layouts/examples/LayoutContentBlock.styled.js +15 -0
- package/src/components/atoms/layouts/examples/ResizingContainer.js +49 -0
- package/src/components/atoms/layouts/examples/ResizingContainer.styled.js +39 -0
- package/src/components/atoms/layouts/examples/cluster-example/ClusterExample.js +10 -0
- package/src/components/atoms/layouts/examples/cluster-example/ClusterExample.stories.js +97 -0
- package/src/components/atoms/layouts/examples/grid-example/GridExample.js +49 -0
- package/src/components/atoms/layouts/examples/grid-example/GridExample.stories.js +44 -0
- package/src/components/atoms/layouts/examples/sidebar-example/SidebarExample.js +11 -0
- package/src/components/atoms/layouts/examples/sidebar-example/SidebarExample.stories.js +87 -0
- package/src/components/atoms/layouts/examples/stack-example/StackExample.js +27 -0
- package/src/components/atoms/layouts/examples/stack-example/StackExample.stories.js +69 -0
- package/src/components/atoms/layouts/examples/switcher-example/SwitcherExample.js +38 -0
- package/src/components/atoms/layouts/examples/switcher-example/SwitcherExample.stories.js +65 -0
- package/src/components/atoms/layouts/index.js +27 -0
- package/src/components/atoms/line-item/LineItem.js +30 -0
- package/src/components/atoms/line-item/LineItem.theme.js +7 -0
- package/src/components/atoms/line-item/index.js +3 -0
- package/src/components/atoms/link/ExternalLink.js +50 -0
- package/src/components/atoms/link/ExternalLink.styled.js +26 -0
- package/src/components/atoms/link/InternalLink.js +51 -0
- package/src/components/atoms/link/InternalLink.styled.js +39 -0
- package/src/components/atoms/link/Link.theme.js +8 -0
- package/src/components/atoms/link/index.js +4 -0
- package/src/components/atoms/nav-footer/NavFooter.js +57 -0
- package/src/components/atoms/nav-footer/index.js +3 -0
- package/src/components/atoms/nav-header/NavHeader.js +36 -0
- package/src/components/atoms/nav-header/index.js +3 -0
- package/src/components/atoms/paragraph/Paragraph.js +31 -0
- package/src/components/atoms/paragraph/Paragraph.styled.js +13 -0
- package/src/components/atoms/paragraph/Paragraph.theme.js +18 -0
- package/src/components/atoms/paragraph/index.js +3 -0
- package/src/components/atoms/password-requirements/PasswordRequirements.js +116 -0
- package/src/components/atoms/password-requirements/index.js +3 -0
- package/src/components/atoms/placeholder/Placeholder.js +122 -0
- package/src/components/atoms/placeholder/Placeholder.theme.js +9 -0
- package/src/components/atoms/placeholder/index.js +3 -0
- package/src/components/atoms/processing-fee/ProcessingFee.js +43 -0
- package/src/components/atoms/processing-fee/ProcessingFee.theme.js +7 -0
- package/src/components/atoms/processing-fee/index.js +3 -0
- package/src/components/atoms/radio-button/RadioButton.js +101 -0
- package/src/components/atoms/radio-button/RadioButton.theme.js +9 -0
- package/src/components/atoms/radio-button/index.js +3 -0
- package/src/components/atoms/solid-divider/SolidDivider.js +22 -0
- package/src/components/atoms/solid-divider/SolidDivider.theme.js +8 -0
- package/src/components/atoms/solid-divider/index.js +3 -0
- package/src/components/atoms/spinner/Spinner.js +61 -0
- package/src/components/atoms/spinner/Spinner.theme.js +5 -0
- package/src/components/atoms/spinner/index.js +3 -0
- package/src/components/atoms/state-province-dropdown/StateProvinceDropdown.js +28 -0
- package/src/components/atoms/state-province-dropdown/index.js +3 -0
- package/src/components/atoms/state-province-dropdown/options.js +3837 -0
- package/src/components/atoms/text/Text.js +37 -0
- package/src/components/atoms/text/Text.styled.js +32 -0
- package/src/components/atoms/text/Text.theme.js +22 -0
- package/src/components/atoms/text/index.js +3 -0
- package/src/components/atoms/toggle-switch/ToggleSwitch.js +212 -0
- package/src/components/atoms/toggle-switch/ToggleSwitch.theme.js +36 -0
- package/src/components/atoms/toggle-switch/index.js +3 -0
- package/src/components/index.js +3 -0
- package/src/components/molecules/address-form/AddressForm.js +110 -0
- package/src/components/molecules/address-form/AddressForm.state.js +52 -0
- package/src/components/molecules/address-form/index.js +11 -0
- package/src/components/molecules/change-password-form/ChangePasswordForm.js +92 -0
- package/src/components/molecules/change-password-form/ChangePasswordForm.state.js +33 -0
- package/src/components/molecules/change-password-form/index.js +11 -0
- package/src/components/molecules/collapsible-section/CollapsibleSection.js +126 -0
- package/src/components/molecules/collapsible-section/CollapsibleSection.theme.js +11 -0
- package/src/components/molecules/collapsible-section/index.js +3 -0
- package/src/components/molecules/edit-name-form/EditNameForm.js +51 -0
- package/src/components/molecules/edit-name-form/EditNameForm.state.js +14 -0
- package/src/components/molecules/edit-name-form/index.js +11 -0
- package/src/components/molecules/email-form/EmailForm.js +55 -0
- package/src/components/molecules/email-form/EmailForm.state.js +19 -0
- package/src/components/molecules/email-form/index.js +11 -0
- package/src/components/molecules/forgot-password-form/ForgotPasswordForm.js +32 -0
- package/src/components/molecules/forgot-password-form/ForgotPasswordForm.state.js +11 -0
- package/src/components/molecules/forgot-password-form/index.js +11 -0
- package/src/components/molecules/highlight-tab-row/HighlightTabRow.js +62 -0
- package/src/components/molecules/highlight-tab-row/HighlightTabRow.theme.js +7 -0
- package/src/components/molecules/highlight-tab-row/index.js +8 -0
- package/src/components/molecules/index.js +24 -0
- package/src/components/molecules/login-form/LoginForm.js +46 -0
- package/src/components/molecules/login-form/LoginForm.state.js +14 -0
- package/src/components/molecules/login-form/index.js +11 -0
- package/src/components/molecules/modal/Modal.js +138 -0
- package/src/components/molecules/modal/index.js +3 -0
- package/src/components/molecules/module/Module.js +42 -0
- package/src/components/molecules/module/Module.theme.js +30 -0
- package/src/components/molecules/module/index.js +8 -0
- package/src/components/molecules/nav-menu/NavMenu.theme.js +5 -0
- package/src/components/molecules/nav-menu/NavMenuDesktop.js +39 -0
- package/src/components/molecules/nav-menu/NavMenuMobile.js +63 -0
- package/src/components/molecules/nav-menu/index.js +4 -0
- package/src/components/molecules/obligation/Obligation.js +69 -0
- package/src/components/molecules/obligation/icons/AccountBillIcon.js +89 -0
- package/src/components/molecules/obligation/icons/AccountConstructionIcon.js +99 -0
- package/src/components/molecules/obligation/icons/AccountDentalIcon.js +94 -0
- package/src/components/molecules/obligation/icons/AccountElectricIcon.js +99 -0
- package/src/components/molecules/obligation/icons/AccountGarbageIcon.js +94 -0
- package/src/components/molecules/obligation/icons/AccountGasIcon.js +94 -0
- package/src/components/molecules/obligation/icons/AccountGenericIcon.js +89 -0
- package/src/components/molecules/obligation/icons/AccountMedicalIcon.js +94 -0
- package/src/components/molecules/obligation/icons/AccountWaterIcon.js +94 -0
- package/src/components/molecules/obligation/icons/PropertyApartmentIcon.js +99 -0
- package/src/components/molecules/obligation/icons/PropertyBusinessIcon.js +94 -0
- package/src/components/molecules/obligation/icons/PropertyCarIcon.js +99 -0
- package/src/components/molecules/obligation/icons/PropertyCommercialVehicleIcon.js +100 -0
- package/src/components/molecules/obligation/icons/PropertyGarageIcon.js +96 -0
- package/src/components/molecules/obligation/icons/PropertyLandIcon.js +99 -0
- package/src/components/molecules/obligation/icons/PropertyMotorcycleIcon.js +99 -0
- package/src/components/molecules/obligation/icons/PropertyPersonalIcon.js +94 -0
- package/src/components/molecules/obligation/icons/PropertyStorefrontIcon.js +100 -0
- package/src/components/molecules/obligation/icons/index.js +60 -0
- package/src/components/molecules/obligation/index.js +3 -0
- package/src/components/molecules/obligation/modules/AmountModule.js +36 -0
- package/src/components/molecules/obligation/modules/IconModule.js +29 -0
- package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +67 -0
- package/src/components/molecules/obligation/modules/TitleModule.js +25 -0
- package/src/components/molecules/obligation/modules/index.js +6 -0
- package/src/components/molecules/payment-button-bar/PaymentButtonBar.js +80 -0
- package/src/components/molecules/payment-button-bar/index.js +3 -0
- package/src/components/molecules/payment-details/PaymentDetails.js +158 -0
- package/src/components/molecules/payment-details/PaymentDetails.theme.js +11 -0
- package/src/components/molecules/payment-details/index.js +1 -0
- package/src/components/molecules/phone-form/PhoneForm.js +44 -0
- package/src/components/molecules/phone-form/PhoneForm.state.js +17 -0
- package/src/components/molecules/phone-form/index.js +11 -0
- package/src/components/molecules/radio-section/RadioSection.js +205 -0
- package/src/components/molecules/radio-section/RadioSection.theme.js +15 -0
- package/src/components/molecules/radio-section/index.js +3 -0
- package/src/components/molecules/registration-form/RegistrationForm.js +104 -0
- package/src/components/molecules/registration-form/RegistrationForm.state.js +40 -0
- package/src/components/molecules/registration-form/index.js +11 -0
- package/src/components/molecules/reset-confirmation-form/ResetConfirmationForm.js +56 -0
- package/src/components/molecules/reset-confirmation-form/index.js +3 -0
- package/src/components/molecules/reset-password-form/ResetPasswordForm.js +67 -0
- package/src/components/molecules/reset-password-form/ResetPasswordForm.state.js +30 -0
- package/src/components/molecules/reset-password-form/index.js +11 -0
- package/src/components/molecules/reset-password-success/ResetPasswordSuccess.js +55 -0
- package/src/components/molecules/reset-password-success/index.js +3 -0
- package/src/components/molecules/tab-sidebar/TabSidebar.js +92 -0
- package/src/components/molecules/tab-sidebar/TabSidebar.theme.js +9 -0
- package/src/components/molecules/tab-sidebar/index.js +3 -0
- package/src/components/molecules/terms-and-conditions/TermsAndConditions.js +73 -0
- package/src/components/molecules/terms-and-conditions/index.js +3 -0
- package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.js +64 -0
- package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.theme.js +28 -0
- package/src/components/molecules/terms-and-conditions-modal/index.js +3 -0
- package/src/components/molecules/workflow-tile/WorkflowTile.js +58 -0
- package/src/components/molecules/workflow-tile/index.js +3 -0
- package/src/components/templates/center-single/CenterSingle.js +61 -0
- package/src/components/templates/center-single/index.js +3 -0
- package/src/components/templates/center-stack/CenterStack.js +49 -0
- package/src/components/templates/center-stack/index.js +3 -0
- package/src/components/templates/default-page-template/DefaultPageTemplate.js +49 -0
- package/src/components/templates/default-page-template/index.js +3 -0
- package/src/components/templates/index.js +5 -0
- package/src/components/templates/sidebar-single-content/SidebarSingleContent.js +60 -0
- package/src/components/templates/sidebar-single-content/index.js +3 -0
- package/src/components/templates/sidebar-stack-content/SidebarStackContent.js +81 -0
- package/src/components/templates/sidebar-stack-content/index.js +3 -0
- package/src/components/templates/templates.theme.js +5 -0
- package/src/components/withWindowSize.js +50 -0
- package/src/constants/colors.js +178 -0
- package/src/constants/regex_constants.js +1 -0
- package/src/constants/style_constants.js +21 -0
- package/src/deprecated/colors.js +154 -0
- package/src/deprecated/components/radio-button/index.js +3 -0
- package/src/deprecated/components/radio-button/radio-button.js +44 -0
- package/src/deprecated/icons/AlertErrorIcon.js +42 -0
- package/src/deprecated/icons/AlertInfoIcon.js +42 -0
- package/src/deprecated/icons/AlertSuccessIcon.js +42 -0
- package/src/deprecated/icons/AlertWarningIcon.js +36 -0
- package/src/deprecated/icons/BankIcon.js +82 -0
- package/src/deprecated/icons/GenericCard.js +39 -0
- package/src/deprecated/icons/IconAdd.js +44 -0
- package/src/deprecated/icons/IconCheck.js +23 -0
- package/src/deprecated/icons/IconCheckEmail.js +46 -0
- package/src/deprecated/icons/IconChevron.js +35 -0
- package/src/deprecated/icons/IconEmailVerified.js +62 -0
- package/src/deprecated/icons/IconEye.js +32 -0
- package/src/deprecated/icons/IconEyeSlash.js +48 -0
- package/src/deprecated/icons/IconInvalid.js +69 -0
- package/src/deprecated/icons/IconNeutral.js +27 -0
- package/src/deprecated/icons/IconQuit.js +32 -0
- package/src/deprecated/icons/IconValid.js +72 -0
- package/src/deprecated/icons/IconWarn.js +28 -0
- package/src/deprecated/icons/index.js +40 -0
- package/src/deprecated/index.js +1 -0
- package/src/deprecated/spinner/Spinner.js +68 -0
- package/src/deprecated/spinner/index.js +1 -0
- package/src/deprecated/utility/__tests__/safeConcat.spec.js +59 -0
- package/src/deprecated/utility/__tests__/validateKeyType.spec.js +116 -0
- package/src/deprecated/utility/index.js +2 -0
- package/src/deprecated/utility/safeConcat.js +10 -0
- package/src/deprecated/utility/validateKeyType.js +19 -0
- package/src/index.js +2 -0
- package/src/util/formats.js +30 -0
- package/src/util/general.js +15 -0
- package/src/util/inputValidationUtils.js +257 -0
- package/src/util/router-utils.js +23 -0
- package/src/util/themeUtils.js +144 -0
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import React, { Fragment, useContext } from "react";
|
|
2
|
+
import { ThemeContext } from "styled-components";
|
|
3
|
+
import AriaModal from "react-aria-modal";
|
|
4
|
+
import { WHITE, ATHENS_GREY, SILVER_GREY } from "../../../constants/colors";
|
|
5
|
+
import { FONT_WEIGHT_SEMIBOLD } from "../../../constants/style_constants";
|
|
6
|
+
import Paragraph from "../../atoms/paragraph";
|
|
7
|
+
import Heading from "../../atoms/heading";
|
|
8
|
+
import ButtonWithAction from "../../atoms/button-with-action";
|
|
9
|
+
import { Box, Stack, Cluster } from "../../atoms/layouts";
|
|
10
|
+
|
|
11
|
+
/*
|
|
12
|
+
Default Modal molecule
|
|
13
|
+
Uses react-aria-modal behind the scenes for a11y purposes
|
|
14
|
+
Styling accomplished with our atoms / layout primitives
|
|
15
|
+
|
|
16
|
+
Cancel button will (for now) always use hideModal as its action
|
|
17
|
+
Continue button takes an action, if you want to navigate to
|
|
18
|
+
a different route (as with a link) connect() and use "push" from connected-react-router
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
const getApplicationNode = () => document.getElementById("root");
|
|
22
|
+
|
|
23
|
+
const Modal = ({
|
|
24
|
+
ModalLink,
|
|
25
|
+
hideModal,
|
|
26
|
+
continueAction,
|
|
27
|
+
modalOpen,
|
|
28
|
+
modalHeaderText,
|
|
29
|
+
modalBodyText,
|
|
30
|
+
cancelButtonText = "Cancel",
|
|
31
|
+
continueButtonText = "Continue",
|
|
32
|
+
modalHeaderBg = WHITE,
|
|
33
|
+
modalBodyBg = ATHENS_GREY,
|
|
34
|
+
useDangerButton = false,
|
|
35
|
+
defaultWrapper = true,
|
|
36
|
+
onlyCloseButton = false,
|
|
37
|
+
maxHeight
|
|
38
|
+
}) => {
|
|
39
|
+
const { isMobile } = useContext(ThemeContext);
|
|
40
|
+
return (
|
|
41
|
+
<Fragment>
|
|
42
|
+
<ModalLink />
|
|
43
|
+
{modalOpen && (
|
|
44
|
+
<AriaModal
|
|
45
|
+
onExit={hideModal}
|
|
46
|
+
getApplicationNode={getApplicationNode}
|
|
47
|
+
titleText={modalHeaderText}
|
|
48
|
+
underlayStyle={{
|
|
49
|
+
display: "flex",
|
|
50
|
+
flexDirection: "column",
|
|
51
|
+
justifyContent: "center",
|
|
52
|
+
alignItems: "center"
|
|
53
|
+
}}
|
|
54
|
+
dialogStyle={{
|
|
55
|
+
width: "615px"
|
|
56
|
+
}}
|
|
57
|
+
>
|
|
58
|
+
<Box
|
|
59
|
+
padding="0"
|
|
60
|
+
borderRadius="2px"
|
|
61
|
+
boxShadow="inset 0px -2px 0px 0px rgb(0, 80, 149)"
|
|
62
|
+
>
|
|
63
|
+
<Box background={modalHeaderBg} padding="1rem 1.5rem">
|
|
64
|
+
<Cluster justify="flex-start" align="center">
|
|
65
|
+
<Heading variant="h6" weight={FONT_WEIGHT_SEMIBOLD}>
|
|
66
|
+
{modalHeaderText}
|
|
67
|
+
</Heading>
|
|
68
|
+
</Cluster>
|
|
69
|
+
</Box>
|
|
70
|
+
<Box background={modalBodyBg} padding="1rem 1.5rem">
|
|
71
|
+
<Stack childGap="1.5rem">
|
|
72
|
+
<Box
|
|
73
|
+
borderWidthOverride="0 0 2px 0"
|
|
74
|
+
borderColor={SILVER_GREY}
|
|
75
|
+
padding="0 0 1.5rem 0"
|
|
76
|
+
extraStyles={
|
|
77
|
+
maxHeight ? `max-height: ${maxHeight}; overflow: auto;` : ``
|
|
78
|
+
}
|
|
79
|
+
>
|
|
80
|
+
{defaultWrapper ? (
|
|
81
|
+
<Paragraph variant="p">{modalBodyText}</Paragraph>
|
|
82
|
+
) : (
|
|
83
|
+
<Box padding={maxHeight ? "0 0 1rem 0" : "0"}>
|
|
84
|
+
{modalBodyText}
|
|
85
|
+
</Box>
|
|
86
|
+
)}
|
|
87
|
+
</Box>
|
|
88
|
+
<Box padding="0">
|
|
89
|
+
<Cluster justify="flex-end" align="center" childGap="0rem">
|
|
90
|
+
{!onlyCloseButton ? (
|
|
91
|
+
<Fragment>
|
|
92
|
+
<Box
|
|
93
|
+
padding="0.5rem"
|
|
94
|
+
extraStyles={isMobile ? "flex-grow: 1" : ""}
|
|
95
|
+
>
|
|
96
|
+
<ButtonWithAction
|
|
97
|
+
variant="secondary"
|
|
98
|
+
action={hideModal}
|
|
99
|
+
text={cancelButtonText}
|
|
100
|
+
dataQa={cancelButtonText}
|
|
101
|
+
extraStyles="width: 100%;"
|
|
102
|
+
/>
|
|
103
|
+
</Box>
|
|
104
|
+
<Box
|
|
105
|
+
padding="0.5rem"
|
|
106
|
+
extraStyles={isMobile ? "flex-grow: 1" : ""}
|
|
107
|
+
>
|
|
108
|
+
<ButtonWithAction
|
|
109
|
+
variant={useDangerButton ? "danger" : "primary"}
|
|
110
|
+
action={continueAction}
|
|
111
|
+
text={continueButtonText}
|
|
112
|
+
dataQa={continueButtonText}
|
|
113
|
+
extraStyles="width: 100%;"
|
|
114
|
+
/>
|
|
115
|
+
</Box>
|
|
116
|
+
</Fragment>
|
|
117
|
+
) : (
|
|
118
|
+
<Box padding="0.5rem">
|
|
119
|
+
<ButtonWithAction
|
|
120
|
+
action={hideModal}
|
|
121
|
+
variant="primary"
|
|
122
|
+
text="Close"
|
|
123
|
+
dataQa="Close"
|
|
124
|
+
/>
|
|
125
|
+
</Box>
|
|
126
|
+
)}
|
|
127
|
+
</Cluster>
|
|
128
|
+
</Box>
|
|
129
|
+
</Stack>
|
|
130
|
+
</Box>
|
|
131
|
+
</Box>
|
|
132
|
+
</AriaModal>
|
|
133
|
+
)}
|
|
134
|
+
</Fragment>
|
|
135
|
+
);
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
export default Modal;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
import Heading from "../../atoms/heading";
|
|
4
|
+
import { Box } from "../../atoms/layouts";
|
|
5
|
+
import { Fragment } from "react";
|
|
6
|
+
|
|
7
|
+
const Module = ({
|
|
8
|
+
heading,
|
|
9
|
+
spacing = "1rem",
|
|
10
|
+
padding = "0",
|
|
11
|
+
spacingBottom = "2.5rem",
|
|
12
|
+
themeValues,
|
|
13
|
+
variant = "default",
|
|
14
|
+
children
|
|
15
|
+
}) => (
|
|
16
|
+
<Fragment>
|
|
17
|
+
{heading && (
|
|
18
|
+
<Heading
|
|
19
|
+
variant={variant === "default" ? "h5" : "h3"}
|
|
20
|
+
weight={themeValues.fontWeight}
|
|
21
|
+
color={themeValues.fontColor}
|
|
22
|
+
margin={`${spacing} 0 ${themeValues.titleSpacing} 0`}
|
|
23
|
+
textAlign={themeValues.textAlign}
|
|
24
|
+
aria-level={variant === "default" ? "3" : "1"}
|
|
25
|
+
>
|
|
26
|
+
{heading}
|
|
27
|
+
</Heading>
|
|
28
|
+
)}
|
|
29
|
+
<Box padding={`0 0 ${spacingBottom}`}>
|
|
30
|
+
<Box
|
|
31
|
+
padding={padding}
|
|
32
|
+
background={themeValues.backgroundColor}
|
|
33
|
+
borderRadius={themeValues.borderRadius}
|
|
34
|
+
boxShadow={themeValues.boxShadow}
|
|
35
|
+
>
|
|
36
|
+
{children}
|
|
37
|
+
</Box>
|
|
38
|
+
</Box>
|
|
39
|
+
</Fragment>
|
|
40
|
+
);
|
|
41
|
+
|
|
42
|
+
export default Module;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { WHITE, CHARADE_GREY } from "../../../constants/colors";
|
|
2
|
+
|
|
3
|
+
const fontSize = { default: "1.375rem", largeTitle: "1.75rem" };
|
|
4
|
+
const fontWeight = { default: "600", largeTitle: "700" };
|
|
5
|
+
const fontColor = { default: CHARADE_GREY, largeTitle: CHARADE_GREY };
|
|
6
|
+
const lineHeight = { default: "2rem", largeTitle: "2rem" };
|
|
7
|
+
const textAlign = { default: "left", largeTitle: "left" };
|
|
8
|
+
const titleType = { default: "h5", largeTitle: "h3" };
|
|
9
|
+
const titleSpacing = { default: "0.5rem", largeTitle: "1.125rem" };
|
|
10
|
+
const boxShadow = {
|
|
11
|
+
default:
|
|
12
|
+
"0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
|
|
13
|
+
largeTitle:
|
|
14
|
+
"0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
|
|
15
|
+
};
|
|
16
|
+
const borderRadius = { default: "0.25rem", largeTitle: "0.25rem" };
|
|
17
|
+
const backgroundColor = { default: WHITE, largeTitle: WHITE };
|
|
18
|
+
|
|
19
|
+
export const fallbackValues = {
|
|
20
|
+
fontSize,
|
|
21
|
+
fontWeight,
|
|
22
|
+
fontColor,
|
|
23
|
+
lineHeight,
|
|
24
|
+
textAlign,
|
|
25
|
+
titleType,
|
|
26
|
+
titleSpacing,
|
|
27
|
+
boxShadow,
|
|
28
|
+
borderRadius,
|
|
29
|
+
backgroundColor
|
|
30
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { memo } from "react";
|
|
2
|
+
import Module from "./Module";
|
|
3
|
+
import { themeComponent } from "../../../util/themeUtils";
|
|
4
|
+
import { fallbackValues } from "./Module.theme";
|
|
5
|
+
|
|
6
|
+
export default memo(
|
|
7
|
+
themeComponent(Module, "Module", fallbackValues, "default")
|
|
8
|
+
);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Box, Imposter } from "../../atoms/layouts";
|
|
3
|
+
import { fallbackValues } from "./NavMenu.theme.js";
|
|
4
|
+
import { themeComponent } from "../../../util/themeUtils";
|
|
5
|
+
|
|
6
|
+
const NavMenuDesktop = ({
|
|
7
|
+
top = "125%",
|
|
8
|
+
left = "-100%",
|
|
9
|
+
menuContent = [],
|
|
10
|
+
visible = true,
|
|
11
|
+
onMouseEnter,
|
|
12
|
+
onMouseLeave,
|
|
13
|
+
onFocus,
|
|
14
|
+
onBlur,
|
|
15
|
+
themeValues
|
|
16
|
+
}) => {
|
|
17
|
+
const menuCarat = `&:after { bottom: 100%; right: 10px; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; border-color: ${themeValues.backgroundColor}00; border-bottom-color: ${themeValues.backgroundColor}; border-width: 10px; margin-left: -10px; }`;
|
|
18
|
+
|
|
19
|
+
return (
|
|
20
|
+
<Imposter breakout top={top} left={left} visible={visible}>
|
|
21
|
+
<Box
|
|
22
|
+
minWidth="240px"
|
|
23
|
+
padding="1rem 0.5rem"
|
|
24
|
+
extraStyles={`position: relative; ${menuCarat}`}
|
|
25
|
+
background={themeValues.backgroundColor}
|
|
26
|
+
borderRadius="5px"
|
|
27
|
+
boxShadow={`0px 3px 8px 0px ${themeValues.backgroundColor}, 0px 2px 14px 0px ${themeValues.backgroundColor};`}
|
|
28
|
+
onMouseEnter={onMouseEnter}
|
|
29
|
+
onMouseLeave={onMouseLeave}
|
|
30
|
+
onFocus={onFocus}
|
|
31
|
+
onBlur={onBlur}
|
|
32
|
+
>
|
|
33
|
+
{menuContent}
|
|
34
|
+
</Box>
|
|
35
|
+
</Imposter>
|
|
36
|
+
);
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export default themeComponent(NavMenuDesktop, "NavMenu", fallbackValues);
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import styled from "styled-components";
|
|
3
|
+
import posed from "react-pose";
|
|
4
|
+
import { easeIn, easeOut } from "@popmotion/easing";
|
|
5
|
+
import { Box } from "../../atoms/layouts";
|
|
6
|
+
import { fallbackValues } from "./NavMenu.theme.js";
|
|
7
|
+
import { themeComponent } from "../../../util/themeUtils";
|
|
8
|
+
|
|
9
|
+
const menu = posed.div({
|
|
10
|
+
invisible: {
|
|
11
|
+
left: "-100vw",
|
|
12
|
+
right: "100vw",
|
|
13
|
+
transition: {
|
|
14
|
+
right: {
|
|
15
|
+
ease: easeOut,
|
|
16
|
+
duration: 500
|
|
17
|
+
},
|
|
18
|
+
left: {
|
|
19
|
+
ease: easeOut,
|
|
20
|
+
duration: 500
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
visible: {
|
|
25
|
+
left: "0",
|
|
26
|
+
right: "0",
|
|
27
|
+
transition: {
|
|
28
|
+
left: {
|
|
29
|
+
ease: easeIn,
|
|
30
|
+
duration: 500
|
|
31
|
+
},
|
|
32
|
+
right: {
|
|
33
|
+
ease: easeIn,
|
|
34
|
+
duration: 500
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
const ImposterMenu = styled(menu)`
|
|
41
|
+
position: fixed;
|
|
42
|
+
top: 72px;
|
|
43
|
+
`;
|
|
44
|
+
|
|
45
|
+
const NavMenuMobile = ({ menuContent = [], visible = false, themeValues }) => {
|
|
46
|
+
return (
|
|
47
|
+
<ImposterMenu
|
|
48
|
+
initialPose="invisible"
|
|
49
|
+
pose={visible ? "visible" : "invisible"}
|
|
50
|
+
>
|
|
51
|
+
<Box
|
|
52
|
+
width="100vw"
|
|
53
|
+
padding="1rem 0.5rem"
|
|
54
|
+
extraStyles={`position: relative; max-width: 400px; height: calc(100vh - 72px);`}
|
|
55
|
+
background={themeValues.backgroundColor}
|
|
56
|
+
>
|
|
57
|
+
{menuContent}
|
|
58
|
+
</Box>
|
|
59
|
+
</ImposterMenu>
|
|
60
|
+
);
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
export default themeComponent(NavMenuMobile, "NavMenu", fallbackValues);
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Box, Cluster, Stack } from "../../../components/atoms/layouts";
|
|
3
|
+
import { WHITE, GHOST_GREY, BRIGHT_GREY } from "../../../constants/colors";
|
|
4
|
+
import {
|
|
5
|
+
IconModule,
|
|
6
|
+
TitleModule,
|
|
7
|
+
AmountModule,
|
|
8
|
+
PaymentDetailsActions
|
|
9
|
+
} from "./modules";
|
|
10
|
+
|
|
11
|
+
const Obligation = ({
|
|
12
|
+
config,
|
|
13
|
+
obligations,
|
|
14
|
+
actions,
|
|
15
|
+
autoPayEnabled,
|
|
16
|
+
isMobile
|
|
17
|
+
}) => {
|
|
18
|
+
const obligation = obligations[0];
|
|
19
|
+
const { customAttributes } = obligation;
|
|
20
|
+
return (
|
|
21
|
+
<Box
|
|
22
|
+
background={WHITE}
|
|
23
|
+
borderRadius="4px"
|
|
24
|
+
boxShadow={`0px 0px 5px 0px ${GHOST_GREY}`}
|
|
25
|
+
>
|
|
26
|
+
<Stack childGap="14px">
|
|
27
|
+
<Box key={`${obligations[0].id}-top`} padding="0 8px" minWidth="100%">
|
|
28
|
+
<Cluster justify="space-between" align="center" childGap="4px">
|
|
29
|
+
<Box padding="0">
|
|
30
|
+
<Cluster justify="flex-start" align="center">
|
|
31
|
+
{!isMobile && (
|
|
32
|
+
<IconModule
|
|
33
|
+
icon={config.icon}
|
|
34
|
+
iconDefault={config.iconDefault}
|
|
35
|
+
configIconMap={config.iconMap}
|
|
36
|
+
iconValue={config.iconValue}
|
|
37
|
+
customAttributes={customAttributes}
|
|
38
|
+
/>
|
|
39
|
+
)}
|
|
40
|
+
<TitleModule
|
|
41
|
+
title={obligation.description}
|
|
42
|
+
subtitle={obligation.subDescription}
|
|
43
|
+
titleColor={BRIGHT_GREY}
|
|
44
|
+
isMobile={isMobile}
|
|
45
|
+
/>
|
|
46
|
+
</Cluster>
|
|
47
|
+
</Box>
|
|
48
|
+
<AmountModule
|
|
49
|
+
totalAmountDue={obligations.reduce(
|
|
50
|
+
(acc, curr) => acc + curr.amountDue,
|
|
51
|
+
0
|
|
52
|
+
)}
|
|
53
|
+
autoPayEnabled={autoPayEnabled}
|
|
54
|
+
isMobile={isMobile}
|
|
55
|
+
/>
|
|
56
|
+
</Cluster>
|
|
57
|
+
</Box>
|
|
58
|
+
<PaymentDetailsActions
|
|
59
|
+
obligations={obligations}
|
|
60
|
+
config={config}
|
|
61
|
+
actions={actions}
|
|
62
|
+
isMobile={isMobile}
|
|
63
|
+
/>
|
|
64
|
+
</Stack>
|
|
65
|
+
</Box>
|
|
66
|
+
);
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export default Obligation;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
const AccountBillIcon = () => (
|
|
4
|
+
<svg
|
|
5
|
+
width="81px"
|
|
6
|
+
height="81px"
|
|
7
|
+
viewBox="0 0 81 81"
|
|
8
|
+
version="1.1"
|
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
+
xmlnsXlink="http://www.w3.org/1999/xlink"
|
|
11
|
+
>
|
|
12
|
+
<defs>
|
|
13
|
+
<circle id="account-bill-path-1" cx="33.5" cy="33.5" r="33.5"></circle>
|
|
14
|
+
<filter
|
|
15
|
+
x="-17.2%"
|
|
16
|
+
y="-14.2%"
|
|
17
|
+
width="134.3%"
|
|
18
|
+
height="134.3%"
|
|
19
|
+
filterUnits="objectBoundingBox"
|
|
20
|
+
id="account-bill-filter-2"
|
|
21
|
+
>
|
|
22
|
+
<feOffset
|
|
23
|
+
dx="0"
|
|
24
|
+
dy="-4"
|
|
25
|
+
in="SourceAlpha"
|
|
26
|
+
result="shadowOffsetOuter1"
|
|
27
|
+
></feOffset>
|
|
28
|
+
<feColorMatrix
|
|
29
|
+
values="0 0 0 0 0.964705882 0 0 0 0 0.964705882 0 0 0 0 0.976470588 0 0 0 1 0"
|
|
30
|
+
type="matrix"
|
|
31
|
+
in="shadowOffsetOuter1"
|
|
32
|
+
result="shadowMatrixOuter1"
|
|
33
|
+
></feColorMatrix>
|
|
34
|
+
<feOffset
|
|
35
|
+
dx="0"
|
|
36
|
+
dy="2"
|
|
37
|
+
in="SourceAlpha"
|
|
38
|
+
result="shadowOffsetOuter2"
|
|
39
|
+
></feOffset>
|
|
40
|
+
<feGaussianBlur
|
|
41
|
+
stdDeviation="3.5"
|
|
42
|
+
in="shadowOffsetOuter2"
|
|
43
|
+
result="shadowBlurOuter2"
|
|
44
|
+
></feGaussianBlur>
|
|
45
|
+
<feColorMatrix
|
|
46
|
+
values="0 0 0 0 0.161570617 0 0 0 0 0.163300979 0 0 0 0 0.199501812 0 0 0 0.3 0"
|
|
47
|
+
type="matrix"
|
|
48
|
+
in="shadowBlurOuter2"
|
|
49
|
+
result="shadowMatrixOuter2"
|
|
50
|
+
></feColorMatrix>
|
|
51
|
+
<feMerge>
|
|
52
|
+
<feMergeNode in="shadowMatrixOuter1"></feMergeNode>
|
|
53
|
+
<feMergeNode in="shadowMatrixOuter2"></feMergeNode>
|
|
54
|
+
</feMerge>
|
|
55
|
+
</filter>
|
|
56
|
+
</defs>
|
|
57
|
+
<g
|
|
58
|
+
id="AccountBill"
|
|
59
|
+
stroke="none"
|
|
60
|
+
strokeWidth="1"
|
|
61
|
+
fill="none"
|
|
62
|
+
fillRule="evenodd"
|
|
63
|
+
>
|
|
64
|
+
<g id="AccountBillIcon" transform="translate(7.000000, 5.000000)">
|
|
65
|
+
<g id="Oval-Copy-6">
|
|
66
|
+
<use
|
|
67
|
+
fill="black"
|
|
68
|
+
fillOpacity="1"
|
|
69
|
+
filter="url(#account-bill-filter-2)"
|
|
70
|
+
xlinkHref="#account-bill-path-1"
|
|
71
|
+
></use>
|
|
72
|
+
<use
|
|
73
|
+
fill="#FFFFFF"
|
|
74
|
+
fillRule="evenodd"
|
|
75
|
+
xlinkHref="#account-bill-path-1"
|
|
76
|
+
></use>
|
|
77
|
+
</g>
|
|
78
|
+
<path
|
|
79
|
+
d="M45.9999428,26.0000477 L45.9999428,25.6250486 C45.9999428,25.2083826 45.8541101,24.8542174 45.5624438,24.5625511 L45.5624438,24.5625511 L39.4374584,18.4375657 C39.1457921,18.1458994 38.791627,18.0000668 38.374961,18.0000668 L38.374961,18.0000668 L37.9999619,18.0000668 L37.9999619,26.0000477 L45.9999428,26.0000477 Z M44.4999464,49.9999905 C44.9166123,49.9999905 45.2707775,49.8541578 45.5624438,49.5624915 C45.8541101,49.2708252 45.9999428,48.91666 45.9999428,48.499994 L45.9999428,48.499994 L45.9999428,28.0000429 L37.499963,28.0000429 C37.0832971,28.0000429 36.7291319,27.8542102 36.4374656,27.562544 C36.1457993,27.2708777 35.9999666,26.9167125 35.9999666,26.5000465 L35.9999666,26.5000465 L35.9999666,18.0000668 L23.5,18.0000668 C23.0833304,18.0000668 22.7291652,18.1458994 22.437499,18.4375657 C22.1458327,18.729232 22,19.0833972 22,19.5000668 L22,19.5000668 L22,48.499994 C22,48.91666 22.1458327,49.2708252 22.437499,49.5624915 C22.7291652,49.8541578 23.0833304,49.9999905 23.5,49.9999905 L23.5,49.9999905 L44.4999464,49.9999905 Z M31.4999774,24.0000572 L26.4999905,24.0000572 C26.3749896,24.0000572 26.2604068,23.9479696 26.1562401,23.8438028 C26.0520734,23.7396361 25.9999905,23.6250533 25.9999905,23.5000572 L25.9999905,23.5000572 L25.9999905,22.5000572 C25.9999905,22.3750563 26.0520734,22.2604736 26.1562401,22.1563068 C26.2604068,22.0521401 26.3749896,22.0000572 26.4999905,22.0000572 L26.4999905,22.0000572 L31.4999774,22.0000572 C31.6249771,22.0000572 31.7395598,22.0521401 31.8437265,22.1563068 C31.9478933,22.2604736 31.9999762,22.3750563 31.9999762,22.5000572 L31.9999762,22.5000572 L31.9999762,23.5000572 C31.9999762,23.6250533 31.9478933,23.7396361 31.8437265,23.8438028 C31.7395598,23.9479696 31.6249771,24.0000572 31.4999774,24.0000572 L31.4999774,24.0000572 Z M31.4999774,28.0000477 L26.4999905,28.0000477 C26.3749896,28.0000477 26.2604068,27.94796 26.1562401,27.8437933 C26.0520734,27.7396266 25.9999905,27.6250438 25.9999905,27.5000477 L25.9999905,27.5000477 L25.9999905,26.5000477 C25.9999905,26.3750468 26.0520734,26.260464 26.1562401,26.1562973 C26.2604068,26.0521306 26.3749896,26.0000477 26.4999905,26.0000477 L26.4999905,26.0000477 L31.4999774,26.0000477 C31.6249771,26.0000477 31.7395598,26.0521306 31.8437265,26.1562973 C31.9478933,26.260464 31.9999762,26.3750468 31.9999762,26.5000477 L31.9999762,26.5000477 L31.9999762,27.5000477 C31.9999762,27.6250438 31.9478933,27.7396266 31.8437265,27.8437933 C31.7395598,27.94796 31.6249771,28.0000477 31.4999774,28.0000477 L31.4999774,28.0000477 Z M34.4999702,46 L33.4999726,46 C33.3749729,46 33.2603901,45.9479171 33.1562234,45.8437504 C33.0520567,45.7395836 32.9999738,45.6250009 32.9999738,45.5000012 L32.9999738,45.5000012 L32.9999738,44.0000048 C32.2916424,43.9583379 31.64581,43.7083385 31.0624784,43.2500066 C30.9374787,43.1666737 30.8645619,43.05209 30.8437289,42.9062574 C30.8228959,42.7604247 30.8749788,42.625008 30.9999785,42.5000083 L30.9999785,42.5000083 L31.7499768,41.81251 C31.9166433,41.6458434 32.1249759,41.6354274 32.3749753,41.7812601 C32.6249747,41.9270927 32.895807,42.0000095 33.1874733,42.0000095 L33.1874733,42.0000095 L34.9374692,42.0000095 C35.1458017,42.0000095 35.3228852,41.9166767 35.4687179,41.7500101 C35.6145506,41.5833435 35.6874674,41.395844 35.6874674,41.1875115 C35.6874674,40.979179 35.6353845,40.8020954 35.5312177,40.6562627 C35.427051,40.5104301 35.2916353,40.4166803 35.1249687,40.3750134 L35.1249687,40.3750134 L32.3124802,39.5625153 C31.7291438,39.3541828 31.2499779,39.0000167 30.8749788,38.5000179 C30.4999797,38.0000191 30.3124802,37.4375204 30.3124802,36.8125219 C30.3124802,36.0625237 30.5728965,35.4166922 31.0937283,34.8750265 C31.6145601,34.3333608 32.2499756,34.0416955 32.9999738,34.0000334 L32.9999738,34.0000334 L32.9999738,32.5000334 C32.9999738,32.3750325 33.0520567,32.2604497 33.1562234,32.156283 C33.2603901,32.0521163 33.3749729,32.0000334 33.4999726,32.0000334 L33.4999726,32.0000334 L34.4999702,32.0000334 C34.6249699,32.0000334 34.7395526,32.0521163 34.8437194,32.156283 C34.9478861,32.2604497 34.999969,32.3750325 34.999969,32.5000334 L34.999969,32.5000334 L34.999969,34.0000334 C35.7083003,34.0416955 36.3541328,34.2916949 36.9374644,34.7500268 C37.0624641,34.8333596 37.1353809,34.9479433 37.1562139,35.093776 C37.1770468,35.2396087 37.1249639,35.3750253 36.9999642,35.5000334 L36.9999642,35.5000334 L36.249966,36.1875234 C36.0832994,36.35419 35.8749669,36.364606 35.6249675,36.2187733 C35.3749681,36.0729407 35.1041357,36.0000334 34.8124695,36.0000334 L34.8124695,36.0000334 L33.0624736,36.0000334 C32.8541411,36.0000334 32.6770576,36.0833567 32.5312249,36.2500232 C32.3853922,36.4166898 32.3124802,36.6041894 32.3124802,36.8125219 C32.3124802,37.0208544 32.3645583,37.197938 32.468725,37.3437706 C32.5728918,37.4896033 32.7083075,37.5833531 32.8749741,37.62502 L32.8749741,37.62502 L35.6874674,38.437518 C36.270799,38.6458505 36.7499648,39.0000167 37.1249639,39.5000155 C37.499963,40.0000143 37.6874626,40.562513 37.6874626,41.1875115 C37.6874626,41.9375097 37.4270462,42.5833412 36.9062145,43.1250069 C36.3853827,43.6666725 35.7499672,43.9583379 34.999969,44.0000048 L34.999969,44.0000048 L34.999969,45.5000012 C34.999969,45.6250009 34.9478861,45.7395836 34.8437194,45.8437504 C34.7395526,45.9479171 34.6249699,46 34.4999702,46 L34.4999702,46 Z"
|
|
80
|
+
id="f"
|
|
81
|
+
fill="#292A33"
|
|
82
|
+
fillRule="nonzero"
|
|
83
|
+
></path>
|
|
84
|
+
</g>
|
|
85
|
+
</g>
|
|
86
|
+
</svg>
|
|
87
|
+
);
|
|
88
|
+
|
|
89
|
+
export default AccountBillIcon;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
const AccountConstructionIcon = () => (
|
|
4
|
+
<svg
|
|
5
|
+
width="81px"
|
|
6
|
+
height="81px"
|
|
7
|
+
viewBox="0 0 81 81"
|
|
8
|
+
version="1.1"
|
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
+
xmlnsXlink="http://www.w3.org/1999/xlink"
|
|
11
|
+
>
|
|
12
|
+
<defs>
|
|
13
|
+
<circle
|
|
14
|
+
id="account-construction-path-1"
|
|
15
|
+
cx="33.5"
|
|
16
|
+
cy="33.5"
|
|
17
|
+
r="33.5"
|
|
18
|
+
></circle>
|
|
19
|
+
<filter
|
|
20
|
+
x="-17.2%"
|
|
21
|
+
y="-14.2%"
|
|
22
|
+
width="134.3%"
|
|
23
|
+
height="134.3%"
|
|
24
|
+
filterUnits="objectBoundingBox"
|
|
25
|
+
id="account-construction-filter-2"
|
|
26
|
+
>
|
|
27
|
+
<feOffset
|
|
28
|
+
dx="0"
|
|
29
|
+
dy="-4"
|
|
30
|
+
in="SourceAlpha"
|
|
31
|
+
result="shadowOffsetOuter1"
|
|
32
|
+
></feOffset>
|
|
33
|
+
<feColorMatrix
|
|
34
|
+
values="0 0 0 0 0.964705882 0 0 0 0 0.964705882 0 0 0 0 0.976470588 0 0 0 1 0"
|
|
35
|
+
type="matrix"
|
|
36
|
+
in="shadowOffsetOuter1"
|
|
37
|
+
result="shadowMatrixOuter1"
|
|
38
|
+
></feColorMatrix>
|
|
39
|
+
<feOffset
|
|
40
|
+
dx="0"
|
|
41
|
+
dy="2"
|
|
42
|
+
in="SourceAlpha"
|
|
43
|
+
result="shadowOffsetOuter2"
|
|
44
|
+
></feOffset>
|
|
45
|
+
<feGaussianBlur
|
|
46
|
+
stdDeviation="3.5"
|
|
47
|
+
in="shadowOffsetOuter2"
|
|
48
|
+
result="shadowBlurOuter2"
|
|
49
|
+
></feGaussianBlur>
|
|
50
|
+
<feColorMatrix
|
|
51
|
+
values="0 0 0 0 0.161570617 0 0 0 0 0.163300979 0 0 0 0 0.199501812 0 0 0 0.3 0"
|
|
52
|
+
type="matrix"
|
|
53
|
+
in="shadowBlurOuter2"
|
|
54
|
+
result="shadowMatrixOuter2"
|
|
55
|
+
></feColorMatrix>
|
|
56
|
+
<feMerge>
|
|
57
|
+
<feMergeNode in="shadowMatrixOuter1"></feMergeNode>
|
|
58
|
+
<feMergeNode in="shadowMatrixOuter2"></feMergeNode>
|
|
59
|
+
</feMerge>
|
|
60
|
+
</filter>
|
|
61
|
+
</defs>
|
|
62
|
+
<g
|
|
63
|
+
id="account-construction-Profile-/-Icons"
|
|
64
|
+
stroke="none"
|
|
65
|
+
strokeWidth="1"
|
|
66
|
+
fill="none"
|
|
67
|
+
fillRule="evenodd"
|
|
68
|
+
>
|
|
69
|
+
<g id="Outlined" transform="translate(-91.000000, -681.000000)">
|
|
70
|
+
<g
|
|
71
|
+
id="account-construction-Profile-Obligation-Icon-/-Account---Construction"
|
|
72
|
+
transform="translate(98.000000, 686.000000)"
|
|
73
|
+
>
|
|
74
|
+
<g id="Oval-Copy-6">
|
|
75
|
+
<use
|
|
76
|
+
fill="black"
|
|
77
|
+
fillOpacity="1"
|
|
78
|
+
filter="url(#account-construction-filter-2)"
|
|
79
|
+
xlinkHref="#account-construction-path-1"
|
|
80
|
+
></use>
|
|
81
|
+
<use
|
|
82
|
+
fill="#FFFFFF"
|
|
83
|
+
fillRule="evenodd"
|
|
84
|
+
xlinkHref="#account-construction-path-1"
|
|
85
|
+
></use>
|
|
86
|
+
</g>
|
|
87
|
+
<path
|
|
88
|
+
d="M45.34368,37.5000203 C45.6145124,37.5000203 45.8540958,37.3958535 46.0624283,37.187521 L46.0624283,37.187521 L51.6874149,31.5625344 C51.8957474,31.3542019 51.9999142,31.1146185 51.9999142,30.8437861 C51.9999142,30.5729538 51.8957474,30.3333704 51.6874149,30.1250378 L51.6874149,30.1250378 L50.3124182,28.6875413 C50.1040857,28.5208747 49.8645023,28.4375419 49.5936699,28.4375419 C49.3228375,28.4375419 49.0832541,28.5208747 48.8749216,28.6875413 L48.8749216,28.6875413 L48.1874233,29.4375395 L46.3749276,27.6250438 C46.5415942,26.9167125 46.5415942,26.2187972 46.3749276,25.5312988 C46.208261,24.8438004 45.8540958,24.2500519 45.3124301,23.750053 L45.3124301,23.750053 L42.246743,20.6849214 C41.0502644,19.5325165 39.6450828,18.7521483 38.0311975,18.3438159 C36.3020346,17.906317 34.5832887,17.906317 32.8749598,18.3438159 C31.1666308,18.7813149 29.6666344,19.6458958 28.3749705,20.9375598 L28.3749705,20.9375598 L33.9999571,23.750053 L33.9999571,24.9375502 C33.9999571,26.0208806 34.3957892,26.9583784 35.1874543,27.7500435 L35.1874543,27.7500435 L38.249947,30.8125362 C38.7916126,31.3542019 39.4061942,31.7083671 40.0936926,31.8750337 C40.7811909,32.0417003 41.4582723,32.0417003 42.1249377,31.8750337 L42.1249377,31.8750337 L43.9374334,33.6250295 L43.249935,34.3750277 C43.0416025,34.5416943 42.9374358,34.7708598 42.9374358,35.0625261 C42.9374358,35.3541924 43.0416025,35.5833579 43.249935,35.7500244 L43.249935,35.7500244 L44.6249318,37.187521 C44.8332643,37.3958535 45.0728477,37.5000203 45.34368,37.5000203 Z M19.9374906,49.9999905 C21.020821,49.9999905 21.9374858,49.5833245 22.6874841,48.7499934 L22.6874841,48.7499934 L37.5624486,32.8125314 C37.2707823,32.6041989 37.0416168,32.4166994 36.8749502,32.2500328 L36.8749502,32.2500328 L33.8124575,29.1875401 C33.604125,28.9792076 33.3957915,28.7292082 33.187459,28.4375419 L33.187459,28.4375419 L17.249997,43.3125064 C16.416666,44.0625046 16,44.9791694 16,46.0624999 C16,47.1458303 16.3854161,48.072912 17.1562472,48.8437432 C17.9270784,49.6145744 18.8541602,49.9999905 19.9374906,49.9999905 Z"
|
|
89
|
+
id="account-construction-h"
|
|
90
|
+
fill="#292A33"
|
|
91
|
+
fillRule="nonzero"
|
|
92
|
+
></path>
|
|
93
|
+
</g>
|
|
94
|
+
</g>
|
|
95
|
+
</g>
|
|
96
|
+
</svg>
|
|
97
|
+
);
|
|
98
|
+
|
|
99
|
+
export default AccountConstructionIcon;
|