@thecb/components 7.1.1-beta.0 → 7.1.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.storybook/page.d.ts +13 -0
- package/dist/.storybook/page.js +41 -0
- package/dist/.storybook/themes/apc.theme.d.ts +79 -0
- package/dist/.storybook/themes/apc.theme.js +1 -0
- package/dist/.storybook/themes/index.d.ts +2 -0
- package/dist/.storybook/themes/index.js +2 -0
- package/dist/.storybook/themes/sf.theme.d.ts +231 -0
- package/dist/.storybook/themes/sf.theme.js +1 -0
- package/dist/button-with-action/ButtonWithActionProps.js +0 -0
- package/dist/button-with-link/ButtonWithLinkProps.js +1 -0
- package/dist/index.cjs.js +435 -175
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +433 -173
- package/dist/index.esm.js.map +1 -1
- package/dist/nav-tabs/TabConfig.js +0 -0
- package/dist/src/components/atoms/add-obligation/AddObligation.d.ts +5 -0
- package/dist/src/components/atoms/add-obligation/AddObligation.js +21 -0
- package/dist/src/components/atoms/add-obligation/AddObligation.stories.d.ts +7 -0
- package/dist/src/components/atoms/add-obligation/AddObligation.stories.js +10 -0
- package/dist/src/components/atoms/add-obligation/AddObligation.theme.d.ts +9 -0
- package/dist/src/components/atoms/add-obligation/AddObligation.theme.js +8 -0
- package/dist/src/components/atoms/add-obligation/index.d.ts +2 -0
- package/dist/src/components/atoms/add-obligation/index.js +2 -0
- package/dist/src/components/atoms/alert/Alert.d.ts +5 -0
- package/dist/src/components/atoms/alert/Alert.js +26 -0
- package/dist/src/components/atoms/alert/Alert.stories.d.ts +7 -0
- package/dist/src/components/atoms/alert/Alert.stories.js +19 -0
- package/dist/src/components/atoms/alert/Alert.theme.d.ts +65 -0
- package/dist/src/components/atoms/alert/Alert.theme.js +45 -0
- package/dist/src/components/atoms/alert/index.d.ts +2 -0
- package/dist/src/components/atoms/alert/index.js +2 -0
- package/dist/src/components/atoms/amount-callout/AmountCallout.d.ts +5 -0
- package/dist/src/components/atoms/amount-callout/AmountCallout.js +12 -0
- package/dist/src/components/atoms/amount-callout/AmountCallout.stories.d.ts +7 -0
- package/dist/src/components/atoms/amount-callout/AmountCallout.stories.js +18 -0
- package/dist/src/components/atoms/amount-callout/AmountCallout.theme.d.ts +5 -0
- package/dist/src/components/atoms/amount-callout/AmountCallout.theme.js +4 -0
- package/dist/src/components/atoms/amount-callout/index.d.ts +2 -0
- package/dist/src/components/atoms/amount-callout/index.js +2 -0
- package/dist/src/components/atoms/box-with-shadow/BoxWithShadow.d.ts +5 -0
- package/dist/src/components/atoms/box-with-shadow/BoxWithShadow.js +43 -0
- package/dist/src/components/atoms/box-with-shadow/BoxWithShadow.theme.d.ts +5 -0
- package/dist/src/components/atoms/box-with-shadow/BoxWithShadow.theme.js +5 -0
- package/dist/src/components/atoms/box-with-shadow/index.d.ts +2 -0
- package/dist/src/components/atoms/box-with-shadow/index.js +2 -0
- package/dist/src/components/atoms/breadcrumb/Breadcrumb.d.ts +4 -0
- package/dist/src/components/atoms/breadcrumb/Breadcrumb.js +22 -0
- package/dist/src/components/atoms/breadcrumb/Breadcrumb.stories.d.ts +7 -0
- package/dist/src/components/atoms/breadcrumb/Breadcrumb.stories.js +37 -0
- package/dist/src/components/atoms/breadcrumb/Breadcrumb.theme.d.ts +19 -0
- package/dist/src/components/atoms/breadcrumb/Breadcrumb.theme.js +24 -0
- package/dist/src/components/atoms/breadcrumb/index.d.ts +2 -0
- package/dist/src/components/atoms/breadcrumb/index.js +2 -0
- package/dist/src/components/atoms/button-with-action/ButtonWithAction.d.ts +15 -0
- package/dist/src/components/atoms/button-with-action/ButtonWithAction.js +86 -0
- package/dist/src/components/atoms/button-with-action/ButtonWithAction.stories.d.ts +7 -0
- package/dist/src/components/atoms/button-with-action/ButtonWithAction.stories.js +24 -0
- package/dist/src/components/atoms/button-with-action/ButtonWithAction.theme.d.ts +342 -0
- package/dist/src/components/atoms/button-with-action/ButtonWithAction.theme.js +202 -0
- package/dist/src/components/atoms/button-with-action/ButtonWithActionProps.d.ts +14 -0
- package/dist/src/components/atoms/button-with-action/ButtonWithActionProps.js +1 -0
- package/dist/src/components/atoms/button-with-action/index.d.ts +2 -0
- package/dist/src/components/atoms/button-with-action/index.js +2 -0
- package/dist/src/components/atoms/button-with-link/ButtonWithLink.d.ts +11 -0
- package/dist/src/components/atoms/button-with-link/ButtonWithLink.js +41 -0
- package/dist/src/components/atoms/button-with-link/ButtonWithLink.stories.d.ts +7 -0
- package/dist/src/components/atoms/button-with-link/ButtonWithLink.stories.js +21 -0
- package/dist/src/components/atoms/button-with-link/ButtonWithLinkProps.d.ts +10 -0
- package/dist/src/components/atoms/button-with-link/ButtonWithLinkProps.js +2 -0
- package/dist/src/components/atoms/button-with-link/index.d.ts +2 -0
- package/dist/src/components/atoms/button-with-link/index.js +2 -0
- package/dist/src/components/atoms/card/Card.d.ts +5 -0
- package/dist/src/components/atoms/card/Card.js +18 -0
- package/dist/src/components/atoms/card/Card.theme.d.ts +5 -0
- package/dist/src/components/atoms/card/Card.theme.js +5 -0
- package/dist/src/components/atoms/card/index.d.ts +2 -0
- package/dist/src/components/atoms/card/index.js +2 -0
- package/dist/src/components/atoms/checkbox/Checkbox.d.ts +5 -0
- package/dist/src/components/atoms/checkbox/Checkbox.js +52 -0
- package/dist/src/components/atoms/checkbox/Checkbox.stories.d.ts +7 -0
- package/dist/src/components/atoms/checkbox/Checkbox.stories.js +16 -0
- package/dist/src/components/atoms/checkbox/Checkbox.theme.d.ts +68 -0
- package/dist/src/components/atoms/checkbox/Checkbox.theme.js +39 -0
- package/dist/src/components/atoms/checkbox/index.d.ts +2 -0
- package/dist/src/components/atoms/checkbox/index.js +2 -0
- package/dist/src/components/atoms/checkbox-list/CheckboxList.d.ts +6 -0
- package/dist/src/components/atoms/checkbox-list/CheckboxList.js +40 -0
- package/dist/src/components/atoms/checkbox-list/CheckboxList.stories.d.ts +7 -0
- package/dist/src/components/atoms/checkbox-list/CheckboxList.stories.js +41 -0
- package/dist/src/components/atoms/checkbox-list/CheckboxList.theme.d.ts +44 -0
- package/dist/src/components/atoms/checkbox-list/CheckboxList.theme.js +33 -0
- package/dist/src/components/atoms/checkbox-list/index.d.ts +2 -0
- package/dist/src/components/atoms/checkbox-list/index.js +2 -0
- package/dist/src/components/atoms/country-dropdown/CountryDropdown.d.ts +9 -0
- package/dist/src/components/atoms/country-dropdown/CountryDropdown.js +8 -0
- package/dist/src/components/atoms/country-dropdown/CountryDropdown.stories.d.ts +7 -0
- package/dist/src/components/atoms/country-dropdown/CountryDropdown.stories.js +31 -0
- package/dist/src/components/atoms/country-dropdown/index.d.ts +1 -0
- package/dist/src/components/atoms/country-dropdown/index.js +1 -0
- package/dist/src/components/atoms/country-dropdown/options.d.ts +4 -0
- package/dist/src/components/atoms/country-dropdown/options.js +249 -0
- package/dist/src/components/atoms/detail/Detail.d.ts +5 -0
- package/dist/src/components/atoms/detail/Detail.js +63 -0
- package/dist/src/components/atoms/detail/Detail.styled.d.ts +1 -0
- package/dist/src/components/atoms/detail/Detail.styled.js +28 -0
- package/dist/src/components/atoms/detail/Detail.theme.d.ts +36 -0
- package/dist/src/components/atoms/detail/Detail.theme.js +28 -0
- package/dist/src/components/atoms/detail/index.d.ts +2 -0
- package/dist/src/components/atoms/detail/index.js +2 -0
- package/dist/src/components/atoms/display-box/DisplayBox.d.ts +5 -0
- package/dist/src/components/atoms/display-box/DisplayBox.js +11 -0
- package/dist/src/components/atoms/display-box/DisplayBox.stories.d.ts +7 -0
- package/dist/src/components/atoms/display-box/DisplayBox.stories.js +12 -0
- package/dist/src/components/atoms/display-box/DisplayBox.theme.d.ts +7 -0
- package/dist/src/components/atoms/display-box/DisplayBox.theme.js +7 -0
- package/dist/src/components/atoms/display-box/index.d.ts +2 -0
- package/dist/src/components/atoms/display-box/index.js +2 -0
- package/dist/src/components/atoms/display-card/DisplayCard.d.ts +9 -0
- package/dist/src/components/atoms/display-card/DisplayCard.js +22 -0
- package/dist/src/components/atoms/display-card/DisplayCard.stories.d.ts +7 -0
- package/dist/src/components/atoms/display-card/DisplayCard.stories.js +10 -0
- package/dist/src/components/atoms/display-card/index.d.ts +2 -0
- package/dist/src/components/atoms/display-card/index.js +2 -0
- package/dist/src/components/atoms/dropdown/Dropdown.d.ts +5 -0
- package/dist/src/components/atoms/dropdown/Dropdown.js +258 -0
- package/dist/src/components/atoms/dropdown/Dropdown.stories.d.ts +7 -0
- package/dist/src/components/atoms/dropdown/Dropdown.stories.js +30 -0
- package/dist/src/components/atoms/dropdown/Dropdown.theme.d.ts +7 -0
- package/dist/src/components/atoms/dropdown/Dropdown.theme.js +7 -0
- package/dist/src/components/atoms/dropdown/DropdownIcon.d.ts +2 -0
- package/dist/src/components/atoms/dropdown/DropdownIcon.js +7 -0
- package/dist/src/components/atoms/dropdown/index.d.ts +2 -0
- package/dist/src/components/atoms/dropdown/index.js +2 -0
- package/dist/src/components/atoms/form-layouts/FormContainer.d.ts +5 -0
- package/dist/src/components/atoms/form-layouts/FormContainer.js +34 -0
- package/dist/src/components/atoms/form-layouts/FormFooterPanel.d.ts +5 -0
- package/dist/src/components/atoms/form-layouts/FormFooterPanel.js +15 -0
- package/dist/src/components/atoms/form-layouts/FormInput.d.ts +5 -0
- package/dist/src/components/atoms/form-layouts/FormInput.js +116 -0
- package/dist/src/components/atoms/form-layouts/FormInputColumn.d.ts +7 -0
- package/dist/src/components/atoms/form-layouts/FormInputColumn.js +29 -0
- package/dist/src/components/atoms/form-layouts/FormInputRow.d.ts +9 -0
- package/dist/src/components/atoms/form-layouts/FormInputRow.js +30 -0
- package/dist/src/components/atoms/form-layouts/FormLayouts.stories.d.ts +7 -0
- package/dist/src/components/atoms/form-layouts/FormLayouts.stories.js +38 -0
- package/dist/src/components/atoms/form-layouts/FormLayouts.theme.d.ts +86 -0
- package/dist/src/components/atoms/form-layouts/FormLayouts.theme.js +44 -0
- package/dist/src/components/atoms/form-layouts/index.d.ts +6 -0
- package/dist/src/components/atoms/form-layouts/index.js +6 -0
- package/dist/src/components/atoms/form-select/FormSelect.d.ts +5 -0
- package/dist/src/components/atoms/form-select/FormSelect.js +36 -0
- package/dist/src/components/atoms/form-select/FormSelect.stories.d.ts +7 -0
- package/dist/src/components/atoms/form-select/FormSelect.stories.js +36 -0
- package/dist/src/components/atoms/form-select/FormSelect.styled.d.ts +3 -0
- package/dist/src/components/atoms/form-select/FormSelect.styled.js +22 -0
- package/dist/src/components/atoms/form-select/FormSelect.theme.d.ts +81 -0
- package/dist/src/components/atoms/form-select/FormSelect.theme.js +40 -0
- package/dist/src/components/atoms/form-select/index.d.ts +2 -0
- package/dist/src/components/atoms/form-select/index.js +2 -0
- package/dist/src/components/atoms/formatted-address/FormattedAddress.d.ts +5 -0
- package/dist/src/components/atoms/formatted-address/FormattedAddress.js +22 -0
- package/dist/src/components/atoms/formatted-address/FormattedAddress.stories.d.ts +7 -0
- package/dist/src/components/atoms/formatted-address/FormattedAddress.stories.js +18 -0
- package/dist/src/components/atoms/formatted-address/FormattedAddress.theme.d.ts +23 -0
- package/dist/src/components/atoms/formatted-address/FormattedAddress.theme.js +9 -0
- package/dist/src/components/atoms/formatted-address/index.d.ts +2 -0
- package/dist/src/components/atoms/formatted-address/index.js +2 -0
- package/dist/src/components/atoms/formatted-credit-card/FormattedCreditCard.d.ts +7 -0
- package/dist/src/components/atoms/formatted-credit-card/FormattedCreditCard.js +47 -0
- package/dist/src/components/atoms/formatted-credit-card/FormattedCreditCard.theme.d.ts +7 -0
- package/dist/src/components/atoms/formatted-credit-card/FormattedCreditCard.theme.js +7 -0
- package/dist/src/components/atoms/formatted-credit-card/index.d.ts +2 -0
- package/dist/src/components/atoms/formatted-credit-card/index.js +2 -0
- package/dist/src/components/atoms/hamburger-button/HamburgerButton.d.ts +8 -0
- package/dist/src/components/atoms/hamburger-button/HamburgerButton.js +27 -0
- package/dist/src/components/atoms/hamburger-button/HamburgerButton.stories.d.ts +7 -0
- package/dist/src/components/atoms/hamburger-button/HamburgerButton.stories.js +11 -0
- package/dist/src/components/atoms/hamburger-button/index.d.ts +2 -0
- package/dist/src/components/atoms/hamburger-button/index.js +2 -0
- package/dist/src/components/atoms/heading/Heading.d.ts +5 -0
- package/dist/src/components/atoms/heading/Heading.js +40 -0
- package/dist/src/components/atoms/heading/Heading.stories.d.ts +7 -0
- package/dist/src/components/atoms/heading/Heading.stories.js +10 -0
- package/dist/src/components/atoms/heading/Heading.styled.d.ts +1 -0
- package/dist/src/components/atoms/heading/Heading.styled.js +28 -0
- package/dist/src/components/atoms/heading/Heading.theme.d.ts +17 -0
- package/dist/src/components/atoms/heading/Heading.theme.js +16 -0
- package/dist/src/components/atoms/heading/index.d.ts +2 -0
- package/dist/src/components/atoms/heading/index.js +2 -0
- package/dist/src/components/atoms/icons/AccountNumberImage.d.ts +2 -0
- package/dist/src/components/atoms/icons/AccountNumberImage.js +20 -0
- package/dist/src/components/atoms/icons/AccountsAddIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/AccountsAddIcon.js +16 -0
- package/dist/src/components/atoms/icons/AccountsIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/AccountsIcon.js +15 -0
- package/dist/src/components/atoms/icons/AccountsIconSmall.d.ts +5 -0
- package/dist/src/components/atoms/icons/AccountsIconSmall.js +20 -0
- package/dist/src/components/atoms/icons/AchReturnIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/AchReturnIcon.js +6 -0
- package/dist/src/components/atoms/icons/AllocatedIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/AllocatedIcon.js +6 -0
- package/dist/src/components/atoms/icons/AutopayOnIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/AutopayOnIcon.js +6 -0
- package/dist/src/components/atoms/icons/BankIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/BankIcon.js +7 -0
- package/dist/src/components/atoms/icons/CalendarIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/CalendarIcon.js +6 -0
- package/dist/src/components/atoms/icons/CarrotIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/CarrotIcon.js +20 -0
- package/dist/src/components/atoms/icons/CashIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/CashIcon.js +7 -0
- package/dist/src/components/atoms/icons/ChargebackIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/ChargebackIcon.js +6 -0
- package/dist/src/components/atoms/icons/ChargebackReversalIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/ChargebackReversalIcon.js +6 -0
- package/dist/src/components/atoms/icons/CheckIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/CheckIcon.js +12 -0
- package/dist/src/components/atoms/icons/CheckmarkIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/CheckmarkIcon.js +12 -0
- package/dist/src/components/atoms/icons/ChevronIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/ChevronIcon.js +16 -0
- package/dist/src/components/atoms/icons/CustomerSearchIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/CustomerSearchIcon.js +22 -0
- package/dist/src/components/atoms/icons/DuplicateIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/DuplicateIcon.js +6 -0
- package/dist/src/components/atoms/icons/EmptyCartIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/EmptyCartIcon.js +13 -0
- package/dist/src/components/atoms/icons/ErroredIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/ErroredIcon.js +6 -0
- package/dist/src/components/atoms/icons/ExternalLinkIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/ExternalLinkIcon.js +11 -0
- package/dist/src/components/atoms/icons/FailedIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/FailedIcon.js +6 -0
- package/dist/src/components/atoms/icons/ForgotPasswordIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/ForgotPasswordIcon.js +17 -0
- package/dist/src/components/atoms/icons/GenericCard.d.ts +2 -0
- package/dist/src/components/atoms/icons/GenericCard.js +6 -0
- package/dist/src/components/atoms/icons/GenericCardLarge.d.ts +2 -0
- package/dist/src/components/atoms/icons/GenericCardLarge.js +8 -0
- package/dist/src/components/atoms/icons/GoToEmailIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/GoToEmailIcon.js +16 -0
- package/dist/src/components/atoms/icons/IconAdd.d.ts +2 -0
- package/dist/src/components/atoms/icons/IconAdd.js +14 -0
- package/dist/src/components/atoms/icons/IconQuitLarge.d.ts +4 -0
- package/dist/src/components/atoms/icons/IconQuitLarge.js +19 -0
- package/dist/src/components/atoms/icons/Icons.theme.d.ts +33 -0
- package/dist/src/components/atoms/icons/Icons.theme.js +27 -0
- package/dist/src/components/atoms/icons/NoCustomerResultsIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/NoCustomerResultsIcon.js +15 -0
- package/dist/src/components/atoms/icons/NoPaymentResultsIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/NoPaymentResultsIcon.js +16 -0
- package/dist/src/components/atoms/icons/NotFoundIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/NotFoundIcon.js +56 -0
- package/dist/src/components/atoms/icons/PaymentIcon.d.ts +8 -0
- package/dist/src/components/atoms/icons/PaymentIcon.js +30 -0
- package/dist/src/components/atoms/icons/PaymentMethodAddIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/PaymentMethodAddIcon.js +28 -0
- package/dist/src/components/atoms/icons/PaymentMethodIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/PaymentMethodIcon.js +15 -0
- package/dist/src/components/atoms/icons/PaymentSearchIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/PaymentSearchIcon.js +23 -0
- package/dist/src/components/atoms/icons/PaymentsIconSmall.d.ts +5 -0
- package/dist/src/components/atoms/icons/PaymentsIconSmall.js +20 -0
- package/dist/src/components/atoms/icons/PendingIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/PendingIcon.js +6 -0
- package/dist/src/components/atoms/icons/PeriscopeFailedIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/PeriscopeFailedIcon.js +56 -0
- package/dist/src/components/atoms/icons/ProfileIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/ProfileIcon.js +16 -0
- package/dist/src/components/atoms/icons/ProfileIconSmall.d.ts +5 -0
- package/dist/src/components/atoms/icons/ProfileIconSmall.js +12 -0
- package/dist/src/components/atoms/icons/PropertiesAddIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/PropertiesAddIcon.js +31 -0
- package/dist/src/components/atoms/icons/PropertiesIconSmall.d.ts +5 -0
- package/dist/src/components/atoms/icons/PropertiesIconSmall.js +10 -0
- package/dist/src/components/atoms/icons/RefundIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/RefundIcon.js +6 -0
- package/dist/src/components/atoms/icons/RejectedIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/RejectedIcon.js +6 -0
- package/dist/src/components/atoms/icons/RejectedVelocityIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/RejectedVelocityIcon.js +6 -0
- package/dist/src/components/atoms/icons/ResetPasswordIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/ResetPasswordIcon.js +16 -0
- package/dist/src/components/atoms/icons/RoutingNumberImage.d.ts +2 -0
- package/dist/src/components/atoms/icons/RoutingNumberImage.js +20 -0
- package/dist/src/components/atoms/icons/SearchIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/SearchIcon.js +10 -0
- package/dist/src/components/atoms/icons/SettingsIconSmall.d.ts +5 -0
- package/dist/src/components/atoms/icons/SettingsIconSmall.js +20 -0
- package/dist/src/components/atoms/icons/ShoppingCartIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/ShoppingCartIcon.js +11 -0
- package/dist/src/components/atoms/icons/StatusUnknownIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/StatusUnknownIcon.js +6 -0
- package/dist/src/components/atoms/icons/SuccessfulIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/SuccessfulIcon.js +6 -0
- package/dist/src/components/atoms/icons/TimeoutImage.d.ts +2 -0
- package/dist/src/components/atoms/icons/TimeoutImage.js +38 -0
- package/dist/src/components/atoms/icons/TrashIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/TrashIcon.js +15 -0
- package/dist/src/components/atoms/icons/VerifiedEmailIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/VerifiedEmailIcon.js +19 -0
- package/dist/src/components/atoms/icons/VoidedIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/VoidedIcon.js +6 -0
- package/dist/src/components/atoms/icons/WalletIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/WalletIcon.js +16 -0
- package/dist/src/components/atoms/icons/WarningIconXS.d.ts +2 -0
- package/dist/src/components/atoms/icons/WarningIconXS.js +13 -0
- package/dist/src/components/atoms/icons/icons.stories.d.ts +42 -0
- package/dist/src/components/atoms/icons/icons.stories.js +44 -0
- package/dist/src/components/atoms/icons/index.d.ts +59 -0
- package/dist/src/components/atoms/icons/index.js +59 -0
- package/dist/src/components/atoms/index.d.ts +45 -0
- package/dist/src/components/atoms/index.js +45 -0
- package/dist/src/components/atoms/jumbo/Jumbo.d.ts +4 -0
- package/dist/src/components/atoms/jumbo/Jumbo.js +25 -0
- package/dist/src/components/atoms/jumbo/index.d.ts +2 -0
- package/dist/src/components/atoms/jumbo/index.js +2 -0
- package/dist/src/components/atoms/labeled-amount/LabeledAmount.d.ts +5 -0
- package/dist/src/components/atoms/labeled-amount/LabeledAmount.js +16 -0
- package/dist/src/components/atoms/labeled-amount/LabeledAmount.stories.d.ts +7 -0
- package/dist/src/components/atoms/labeled-amount/LabeledAmount.stories.js +20 -0
- package/dist/src/components/atoms/labeled-amount/LabeledAmount.theme.d.ts +12 -0
- package/dist/src/components/atoms/labeled-amount/LabeledAmount.theme.js +10 -0
- package/dist/src/components/atoms/labeled-amount/index.d.ts +2 -0
- package/dist/src/components/atoms/labeled-amount/index.js +2 -0
- package/dist/src/components/atoms/layouts/Box.d.ts +3 -0
- package/dist/src/components/atoms/layouts/Box.js +37 -0
- package/dist/src/components/atoms/layouts/Box.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/Box.styled.js +107 -0
- package/dist/src/components/atoms/layouts/Center.d.ts +8 -0
- package/dist/src/components/atoms/layouts/Center.js +35 -0
- package/dist/src/components/atoms/layouts/Center.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/Center.styled.js +21 -0
- package/dist/src/components/atoms/layouts/Cluster.d.ts +16 -0
- package/dist/src/components/atoms/layouts/Cluster.js +39 -0
- package/dist/src/components/atoms/layouts/Cluster.styled.d.ts +2 -0
- package/dist/src/components/atoms/layouts/Cluster.styled.js +71 -0
- package/dist/src/components/atoms/layouts/Cover.d.ts +11 -0
- package/dist/src/components/atoms/layouts/Cover.js +52 -0
- package/dist/src/components/atoms/layouts/Cover.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/Cover.styled.js +30 -0
- package/dist/src/components/atoms/layouts/Frame.d.ts +7 -0
- package/dist/src/components/atoms/layouts/Frame.js +42 -0
- package/dist/src/components/atoms/layouts/Frame.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/Frame.styled.js +10 -0
- package/dist/src/components/atoms/layouts/Grid.d.ts +8 -0
- package/dist/src/components/atoms/layouts/Grid.js +38 -0
- package/dist/src/components/atoms/layouts/Grid.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/Grid.styled.js +24 -0
- package/dist/src/components/atoms/layouts/Imposter.d.ts +13 -0
- package/dist/src/components/atoms/layouts/Imposter.js +49 -0
- package/dist/src/components/atoms/layouts/Imposter.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/Imposter.styled.js +30 -0
- package/dist/src/components/atoms/layouts/Motion.d.ts +7 -0
- package/dist/src/components/atoms/layouts/Motion.js +64 -0
- package/dist/src/components/atoms/layouts/Motion.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/Motion.styled.js +71 -0
- package/dist/src/components/atoms/layouts/Reel.d.ts +13 -0
- package/dist/src/components/atoms/layouts/Reel.js +36 -0
- package/dist/src/components/atoms/layouts/Reel.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/Reel.styled.js +30 -0
- package/dist/src/components/atoms/layouts/Sidebar.d.ts +11 -0
- package/dist/src/components/atoms/layouts/Sidebar.js +43 -0
- package/dist/src/components/atoms/layouts/Sidebar.styled.d.ts +2 -0
- package/dist/src/components/atoms/layouts/Sidebar.styled.js +59 -0
- package/dist/src/components/atoms/layouts/Stack.d.ts +10 -0
- package/dist/src/components/atoms/layouts/Stack.js +39 -0
- package/dist/src/components/atoms/layouts/Stack.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/Stack.styled.js +26 -0
- package/dist/src/components/atoms/layouts/Switcher.d.ts +14 -0
- package/dist/src/components/atoms/layouts/Switcher.js +62 -0
- package/dist/src/components/atoms/layouts/Switcher.styled.d.ts +2 -0
- package/dist/src/components/atoms/layouts/Switcher.styled.js +42 -0
- package/dist/src/components/atoms/layouts/examples/FixedSizeContainer.d.ts +9 -0
- package/dist/src/components/atoms/layouts/examples/FixedSizeContainer.js +12 -0
- package/dist/src/components/atoms/layouts/examples/FixedSizeContainer.styled.d.ts +2 -0
- package/dist/src/components/atoms/layouts/examples/FixedSizeContainer.styled.js +21 -0
- package/dist/src/components/atoms/layouts/examples/LayoutContentBlock.d.ts +11 -0
- package/dist/src/components/atoms/layouts/examples/LayoutContentBlock.js +9 -0
- package/dist/src/components/atoms/layouts/examples/LayoutContentBlock.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/examples/LayoutContentBlock.styled.js +25 -0
- package/dist/src/components/atoms/layouts/examples/ResizingContainer.d.ts +9 -0
- package/dist/src/components/atoms/layouts/examples/ResizingContainer.js +26 -0
- package/dist/src/components/atoms/layouts/examples/ResizingContainer.styled.d.ts +2 -0
- package/dist/src/components/atoms/layouts/examples/ResizingContainer.styled.js +23 -0
- package/dist/src/components/atoms/layouts/examples/box-example/BoxExample.stories.d.ts +7 -0
- package/dist/src/components/atoms/layouts/examples/box-example/BoxExample.stories.js +19 -0
- package/dist/src/components/atoms/layouts/examples/center-example/CenterExample.stories.d.ts +7 -0
- package/dist/src/components/atoms/layouts/examples/center-example/CenterExample.stories.js +13 -0
- package/dist/src/components/atoms/layouts/examples/cluster-example/ClusterExample.d.ts +6 -0
- package/dist/src/components/atoms/layouts/examples/cluster-example/ClusterExample.js +7 -0
- package/dist/src/components/atoms/layouts/examples/cluster-example/ClusterExample.stories.d.ts +21 -0
- package/dist/src/components/atoms/layouts/examples/cluster-example/ClusterExample.stories.js +43 -0
- package/dist/src/components/atoms/layouts/examples/cover-example/CoverExample.stories.d.ts +15 -0
- package/dist/src/components/atoms/layouts/examples/cover-example/CoverExample.stories.js +18 -0
- package/dist/src/components/atoms/layouts/examples/frame-example/FrameExample.stories.d.ts +7 -0
- package/dist/src/components/atoms/layouts/examples/frame-example/FrameExample.stories.js +12 -0
- package/dist/src/components/atoms/layouts/examples/grid-example/GridExample.d.ts +7 -0
- package/dist/src/components/atoms/layouts/examples/grid-example/GridExample.js +32 -0
- package/dist/src/components/atoms/layouts/examples/grid-example/GridExample.stories.d.ts +11 -0
- package/dist/src/components/atoms/layouts/examples/grid-example/GridExample.stories.js +26 -0
- package/dist/src/components/atoms/layouts/examples/imposter-example/ImposterExample.stories.d.ts +7 -0
- package/dist/src/components/atoms/layouts/examples/imposter-example/ImposterExample.stories.js +14 -0
- package/dist/src/components/atoms/layouts/examples/motion-example/MotionExample.stories.d.ts +7 -0
- package/dist/src/components/atoms/layouts/examples/motion-example/MotionExample.stories.js +41 -0
- package/dist/src/components/atoms/layouts/examples/reel-example/ReelExample.stories.d.ts +7 -0
- package/dist/src/components/atoms/layouts/examples/reel-example/ReelExample.stories.js +21 -0
- package/dist/src/components/atoms/layouts/examples/sidebar-example/SidebarExample.d.ts +7 -0
- package/dist/src/components/atoms/layouts/examples/sidebar-example/SidebarExample.js +7 -0
- package/dist/src/components/atoms/layouts/examples/sidebar-example/SidebarExample.stories.d.ts +11 -0
- package/dist/src/components/atoms/layouts/examples/sidebar-example/SidebarExample.stories.js +41 -0
- package/dist/src/components/atoms/layouts/examples/stack-example/StackExample.d.ts +7 -0
- package/dist/src/components/atoms/layouts/examples/stack-example/StackExample.js +26 -0
- package/dist/src/components/atoms/layouts/examples/stack-example/StackExample.stories.d.ts +21 -0
- package/dist/src/components/atoms/layouts/examples/stack-example/StackExample.stories.js +26 -0
- package/dist/src/components/atoms/layouts/examples/switcher-example/SwitcherExample.d.ts +8 -0
- package/dist/src/components/atoms/layouts/examples/switcher-example/SwitcherExample.js +26 -0
- package/dist/src/components/atoms/layouts/examples/switcher-example/SwitcherExample.stories.d.ts +16 -0
- package/dist/src/components/atoms/layouts/examples/switcher-example/SwitcherExample.stories.js +30 -0
- package/dist/src/components/atoms/layouts/index.d.ts +13 -0
- package/dist/src/components/atoms/layouts/index.js +13 -0
- package/dist/src/components/atoms/line-item/LineItem.d.ts +5 -0
- package/dist/src/components/atoms/line-item/LineItem.js +14 -0
- package/dist/src/components/atoms/line-item/LineItem.stories.d.ts +7 -0
- package/dist/src/components/atoms/line-item/LineItem.stories.js +10 -0
- package/dist/src/components/atoms/line-item/LineItem.theme.d.ts +16 -0
- package/dist/src/components/atoms/line-item/LineItem.theme.js +6 -0
- package/dist/src/components/atoms/line-item/index.d.ts +2 -0
- package/dist/src/components/atoms/line-item/index.js +2 -0
- package/dist/src/components/atoms/link/ExternalLink.d.ts +14 -0
- package/dist/src/components/atoms/link/ExternalLink.js +14 -0
- package/dist/src/components/atoms/link/ExternalLink.styled.d.ts +1 -0
- package/dist/src/components/atoms/link/ExternalLink.styled.js +64 -0
- package/dist/src/components/atoms/link/InternalLink.d.ts +15 -0
- package/dist/src/components/atoms/link/InternalLink.js +13 -0
- package/dist/src/components/atoms/link/InternalLink.styled.d.ts +1 -0
- package/dist/src/components/atoms/link/InternalLink.styled.js +68 -0
- package/dist/src/components/atoms/link/Link.stories.d.ts +8 -0
- package/dist/src/components/atoms/link/Link.stories.js +26 -0
- package/dist/src/components/atoms/link/Link.theme.d.ts +14 -0
- package/dist/src/components/atoms/link/Link.theme.js +13 -0
- package/dist/src/components/atoms/link/index.d.ts +3 -0
- package/dist/src/components/atoms/link/index.js +3 -0
- package/dist/src/components/atoms/loading/Loading.d.ts +2 -0
- package/dist/src/components/atoms/loading/Loading.js +9 -0
- package/dist/src/components/atoms/loading/index.d.ts +2 -0
- package/dist/src/components/atoms/loading/index.js +2 -0
- package/dist/src/components/atoms/nav-footer/NavFooter.d.ts +13 -0
- package/dist/src/components/atoms/nav-footer/NavFooter.js +38 -0
- package/dist/src/components/atoms/nav-footer/NavFooter.stories.d.ts +7 -0
- package/dist/src/components/atoms/nav-footer/NavFooter.stories.js +13 -0
- package/dist/src/components/atoms/nav-footer/index.d.ts +2 -0
- package/dist/src/components/atoms/nav-footer/index.js +2 -0
- package/dist/src/components/atoms/nav-header/NavHeader.d.ts +10 -0
- package/dist/src/components/atoms/nav-header/NavHeader.js +37 -0
- package/dist/src/components/atoms/nav-header/NavHeader.stories.d.ts +7 -0
- package/dist/src/components/atoms/nav-header/NavHeader.stories.js +13 -0
- package/dist/src/components/atoms/nav-header/index.d.ts +2 -0
- package/dist/src/components/atoms/nav-header/index.js +2 -0
- package/dist/src/components/atoms/nav-tabs/NavTab.d.ts +5 -0
- package/dist/src/components/atoms/nav-tabs/NavTab.js +20 -0
- package/dist/src/components/atoms/nav-tabs/NavTab.theme.d.ts +9 -0
- package/dist/src/components/atoms/nav-tabs/NavTab.theme.js +9 -0
- package/dist/src/components/atoms/nav-tabs/NavTabs.d.ts +4 -0
- package/dist/src/components/atoms/nav-tabs/NavTabs.js +27 -0
- package/dist/src/components/atoms/nav-tabs/TabConfig.d.ts +4 -0
- package/dist/src/components/atoms/nav-tabs/TabConfig.js +1 -0
- package/dist/src/components/atoms/nav-tabs/index.d.ts +1 -0
- package/dist/src/components/atoms/nav-tabs/index.js +2 -0
- package/dist/src/components/atoms/paragraph/Paragraph.d.ts +5 -0
- package/dist/src/components/atoms/paragraph/Paragraph.js +40 -0
- package/dist/src/components/atoms/paragraph/Paragraph.stories.d.ts +7 -0
- package/dist/src/components/atoms/paragraph/Paragraph.stories.js +17 -0
- package/dist/src/components/atoms/paragraph/Paragraph.styled.d.ts +1 -0
- package/dist/src/components/atoms/paragraph/Paragraph.styled.js +25 -0
- package/dist/src/components/atoms/paragraph/Paragraph.theme.d.ts +27 -0
- package/dist/src/components/atoms/paragraph/Paragraph.theme.js +21 -0
- package/dist/src/components/atoms/paragraph/index.d.ts +2 -0
- package/dist/src/components/atoms/paragraph/index.js +2 -0
- package/dist/src/components/atoms/password-requirements/PasswordRequirements.d.ts +5 -0
- package/dist/src/components/atoms/password-requirements/PasswordRequirements.js +59 -0
- package/dist/src/components/atoms/password-requirements/PasswordRequirements.stories.d.ts +7 -0
- package/dist/src/components/atoms/password-requirements/PasswordRequirements.stories.js +46 -0
- package/dist/src/components/atoms/password-requirements/index.d.ts +2 -0
- package/dist/src/components/atoms/password-requirements/index.js +2 -0
- package/dist/src/components/atoms/placeholder/Placeholder.d.ts +5 -0
- package/dist/src/components/atoms/placeholder/Placeholder.js +33 -0
- package/dist/src/components/atoms/placeholder/Placeholder.stories.d.ts +7 -0
- package/dist/src/components/atoms/placeholder/Placeholder.stories.js +23 -0
- package/dist/src/components/atoms/placeholder/Placeholder.theme.d.ts +16 -0
- package/dist/src/components/atoms/placeholder/Placeholder.theme.js +7 -0
- package/dist/src/components/atoms/placeholder/index.d.ts +2 -0
- package/dist/src/components/atoms/placeholder/index.js +2 -0
- package/dist/src/components/atoms/processing-fee/ProcessingFee.d.ts +5 -0
- package/dist/src/components/atoms/processing-fee/ProcessingFee.js +15 -0
- package/dist/src/components/atoms/processing-fee/ProcessingFee.stories.d.ts +7 -0
- package/dist/src/components/atoms/processing-fee/ProcessingFee.stories.js +17 -0
- package/dist/src/components/atoms/processing-fee/ProcessingFee.theme.d.ts +8 -0
- package/dist/src/components/atoms/processing-fee/ProcessingFee.theme.js +5 -0
- package/dist/src/components/atoms/processing-fee/index.d.ts +2 -0
- package/dist/src/components/atoms/processing-fee/index.js +2 -0
- package/dist/src/components/atoms/radio-button/RadioButton.d.ts +5 -0
- package/dist/src/components/atoms/radio-button/RadioButton.js +68 -0
- package/dist/src/components/atoms/radio-button/RadioButton.stories.d.ts +7 -0
- package/dist/src/components/atoms/radio-button/RadioButton.stories.js +16 -0
- package/dist/src/components/atoms/radio-button/RadioButton.theme.d.ts +7 -0
- package/dist/src/components/atoms/radio-button/RadioButton.theme.js +7 -0
- package/dist/src/components/atoms/radio-button/index.d.ts +2 -0
- package/dist/src/components/atoms/radio-button/index.js +2 -0
- package/dist/src/components/atoms/searchable-select/SearchableSelect.d.ts +5 -0
- package/dist/src/components/atoms/searchable-select/SearchableSelect.js +37 -0
- package/dist/src/components/atoms/searchable-select/SearchableSelect.theme.d.ts +8 -0
- package/dist/src/components/atoms/searchable-select/SearchableSelect.theme.js +6 -0
- package/dist/src/components/atoms/searchable-select/index.d.ts +2 -0
- package/dist/src/components/atoms/searchable-select/index.js +2 -0
- package/dist/src/components/atoms/solid-divider/SolidDivider.d.ts +5 -0
- package/dist/src/components/atoms/solid-divider/SolidDivider.js +9 -0
- package/dist/src/components/atoms/solid-divider/SolidDivider.stories.d.ts +7 -0
- package/dist/src/components/atoms/solid-divider/SolidDivider.stories.js +9 -0
- package/dist/src/components/atoms/solid-divider/SolidDivider.theme.d.ts +13 -0
- package/dist/src/components/atoms/solid-divider/SolidDivider.theme.js +7 -0
- package/dist/src/components/atoms/solid-divider/index.d.ts +2 -0
- package/dist/src/components/atoms/solid-divider/index.js +2 -0
- package/dist/src/components/atoms/spinner/Spinner.d.ts +6 -0
- package/dist/src/components/atoms/spinner/Spinner.js +27 -0
- package/dist/src/components/atoms/spinner/Spinner.stories.d.ts +7 -0
- package/dist/src/components/atoms/spinner/Spinner.stories.js +12 -0
- package/dist/src/components/atoms/spinner/Spinner.theme.d.ts +5 -0
- package/dist/src/components/atoms/spinner/Spinner.theme.js +4 -0
- package/dist/src/components/atoms/spinner/index.d.ts +2 -0
- package/dist/src/components/atoms/spinner/index.js +2 -0
- package/dist/src/components/atoms/state-province-dropdown/StateProvinceDropdown.d.ts +10 -0
- package/dist/src/components/atoms/state-province-dropdown/StateProvinceDropdown.js +19 -0
- package/dist/src/components/atoms/state-province-dropdown/StateProvinceDropdown.stories.d.ts +7 -0
- package/dist/src/components/atoms/state-province-dropdown/StateProvinceDropdown.stories.js +30 -0
- package/dist/src/components/atoms/state-province-dropdown/index.d.ts +2 -0
- package/dist/src/components/atoms/state-province-dropdown/index.js +2 -0
- package/dist/src/components/atoms/state-province-dropdown/options.d.ts +11 -0
- package/dist/src/components/atoms/state-province-dropdown/options.js +3837 -0
- package/dist/src/components/atoms/tab/Tab.d.ts +6 -0
- package/dist/src/components/atoms/tab/Tab.js +17 -0
- package/dist/src/components/atoms/tab/Tab.stories.d.ts +7 -0
- package/dist/src/components/atoms/tab/Tab.stories.js +9 -0
- package/dist/src/components/atoms/tab/Tab.theme.d.ts +27 -0
- package/dist/src/components/atoms/tab/Tab.theme.js +23 -0
- package/dist/src/components/atoms/tab/index.d.ts +2 -0
- package/dist/src/components/atoms/tab/index.js +2 -0
- package/dist/src/components/atoms/text/Text.d.ts +5 -0
- package/dist/src/components/atoms/text/Text.js +34 -0
- package/dist/src/components/atoms/text/Text.stories.d.ts +7 -0
- package/dist/src/components/atoms/text/Text.stories.js +17 -0
- package/dist/src/components/atoms/text/Text.styled.d.ts +1 -0
- package/dist/src/components/atoms/text/Text.styled.js +32 -0
- package/dist/src/components/atoms/text/Text.theme.d.ts +27 -0
- package/dist/src/components/atoms/text/Text.theme.js +24 -0
- package/dist/src/components/atoms/text/index.d.ts +2 -0
- package/dist/src/components/atoms/text/index.js +2 -0
- package/dist/src/components/atoms/title/Title.d.ts +5 -0
- package/dist/src/components/atoms/title/Title.js +60 -0
- package/dist/src/components/atoms/title/Title.styled.d.ts +1 -0
- package/dist/src/components/atoms/title/Title.styled.js +28 -0
- package/dist/src/components/atoms/title/Title.theme.d.ts +26 -0
- package/dist/src/components/atoms/title/Title.theme.js +22 -0
- package/dist/src/components/atoms/title/index.d.ts +2 -0
- package/dist/src/components/atoms/title/index.js +2 -0
- package/dist/src/components/atoms/toggle-switch/ToggleSwitch.d.ts +5 -0
- package/dist/src/components/atoms/toggle-switch/ToggleSwitch.js +126 -0
- package/dist/src/components/atoms/toggle-switch/ToggleSwitch.stories.d.ts +7 -0
- package/dist/src/components/atoms/toggle-switch/ToggleSwitch.stories.js +15 -0
- package/dist/src/components/atoms/toggle-switch/ToggleSwitch.theme.d.ts +15 -0
- package/dist/src/components/atoms/toggle-switch/ToggleSwitch.theme.js +16 -0
- package/dist/src/components/atoms/toggle-switch/index.d.ts +2 -0
- package/dist/src/components/atoms/toggle-switch/index.js +2 -0
- package/dist/src/components/atoms/typeahead-input/TypeaheadIinput.stories.d.ts +7 -0
- package/dist/src/components/atoms/typeahead-input/TypeaheadIinput.stories.js +9 -0
- package/dist/src/components/atoms/typeahead-input/TypeaheadInput.d.ts +8 -0
- package/dist/src/components/atoms/typeahead-input/TypeaheadInput.js +22 -0
- package/dist/src/components/atoms/typeahead-input/TypeaheadInput.theme.d.ts +11 -0
- package/dist/src/components/atoms/typeahead-input/TypeaheadInput.theme.js +11 -0
- package/dist/src/components/atoms/typeahead-input/index.d.ts +2 -0
- package/dist/src/components/atoms/typeahead-input/index.js +2 -0
- package/dist/src/components/atoms/welcome-card/Card.d.ts +5 -0
- package/dist/src/components/atoms/welcome-card/Card.js +52 -0
- package/dist/src/components/atoms/welcome-card/Card.theme.d.ts +7 -0
- package/dist/src/components/atoms/welcome-card/Card.theme.js +7 -0
- package/dist/src/components/atoms/welcome-card/index.d.ts +8 -0
- package/dist/src/components/atoms/welcome-card/index.js +20 -0
- package/dist/src/components/index.d.ts +4 -0
- package/dist/src/components/index.js +4 -0
- package/dist/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.d.ts +5 -0
- package/dist/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.js +22 -0
- package/dist/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.theme.d.ts +28 -0
- package/dist/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.theme.js +17 -0
- package/dist/src/components/molecules/account-and-routing-modal/index.d.ts +2 -0
- package/dist/src/components/molecules/account-and-routing-modal/index.js +2 -0
- package/dist/src/components/molecules/address-form/AddressForm.d.ts +12 -0
- package/dist/src/components/molecules/address-form/AddressForm.js +52 -0
- package/dist/src/components/molecules/address-form/AddressForm.state.d.ts +3 -0
- package/dist/src/components/molecules/address-form/AddressForm.state.js +33 -0
- package/dist/src/components/molecules/address-form/AddressForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/address-form/AddressForm.stories.js +15 -0
- package/dist/src/components/molecules/address-form/index.d.ts +2 -0
- package/dist/src/components/molecules/address-form/index.js +6 -0
- package/dist/src/components/molecules/change-password-form/ChangePasswordForm.d.ts +13 -0
- package/dist/src/components/molecules/change-password-form/ChangePasswordForm.js +55 -0
- package/dist/src/components/molecules/change-password-form/ChangePasswordForm.state.d.ts +3 -0
- package/dist/src/components/molecules/change-password-form/ChangePasswordForm.state.js +21 -0
- package/dist/src/components/molecules/change-password-form/ChangePasswordForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/change-password-form/ChangePasswordForm.stories.js +14 -0
- package/dist/src/components/molecules/change-password-form/index.d.ts +2 -0
- package/dist/src/components/molecules/change-password-form/index.js +6 -0
- package/dist/src/components/molecules/collapsible-section/CollapsibleSection.d.ts +5 -0
- package/dist/src/components/molecules/collapsible-section/CollapsibleSection.js +60 -0
- package/dist/src/components/molecules/collapsible-section/CollapsibleSection.stories.d.ts +7 -0
- package/dist/src/components/molecules/collapsible-section/CollapsibleSection.stories.js +30 -0
- package/dist/src/components/molecules/collapsible-section/CollapsibleSection.theme.d.ts +9 -0
- package/dist/src/components/molecules/collapsible-section/CollapsibleSection.theme.js +8 -0
- package/dist/src/components/molecules/collapsible-section/index.d.ts +2 -0
- package/dist/src/components/molecules/collapsible-section/index.js +2 -0
- package/dist/src/components/molecules/edit-name-form/EdidNameForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/edit-name-form/EdidNameForm.stories.js +16 -0
- package/dist/src/components/molecules/edit-name-form/EditNameForm.d.ts +8 -0
- package/dist/src/components/molecules/edit-name-form/EditNameForm.js +22 -0
- package/dist/src/components/molecules/edit-name-form/EditNameForm.state.d.ts +3 -0
- package/dist/src/components/molecules/edit-name-form/EditNameForm.state.js +11 -0
- package/dist/src/components/molecules/edit-name-form/index.d.ts +2 -0
- package/dist/src/components/molecules/edit-name-form/index.js +6 -0
- package/dist/src/components/molecules/editable-list/EditableList.d.ts +23 -0
- package/dist/src/components/molecules/editable-list/EditableList.js +49 -0
- package/dist/src/components/molecules/editable-list/EditableList.styled.d.ts +2 -0
- package/dist/src/components/molecules/editable-list/EditableList.styled.js +15 -0
- package/dist/src/components/molecules/editable-list/index.d.ts +2 -0
- package/dist/src/components/molecules/editable-list/index.js +2 -0
- package/dist/src/components/molecules/editable-table/EditableTable.d.ts +7 -0
- package/dist/src/components/molecules/editable-table/EditableTable.js +16 -0
- package/dist/src/components/molecules/editable-table/EditableTable.styled.d.ts +9 -0
- package/dist/src/components/molecules/editable-table/EditableTable.styled.js +61 -0
- package/dist/src/components/molecules/editable-table/TableListItem.d.ts +9 -0
- package/dist/src/components/molecules/editable-table/TableListItem.js +21 -0
- package/dist/src/components/molecules/editable-table/index.d.ts +3 -0
- package/dist/src/components/molecules/editable-table/index.js +3 -0
- package/dist/src/components/molecules/email-form/EmailForm.d.ts +13 -0
- package/dist/src/components/molecules/email-form/EmailForm.js +23 -0
- package/dist/src/components/molecules/email-form/EmailForm.state.d.ts +3 -0
- package/dist/src/components/molecules/email-form/EmailForm.state.js +8 -0
- package/dist/src/components/molecules/email-form/EmailForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/email-form/EmailForm.stories.js +16 -0
- package/dist/src/components/molecules/email-form/index.d.ts +2 -0
- package/dist/src/components/molecules/email-form/index.js +6 -0
- package/dist/src/components/molecules/forgot-password-form/ForgotPasswordForm.d.ts +8 -0
- package/dist/src/components/molecules/forgot-password-form/ForgotPasswordForm.js +17 -0
- package/dist/src/components/molecules/forgot-password-form/ForgotPasswordForm.state.d.ts +3 -0
- package/dist/src/components/molecules/forgot-password-form/ForgotPasswordForm.state.js +8 -0
- package/dist/src/components/molecules/forgot-password-form/ForgotPasswordForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/forgot-password-form/ForgotPasswordForm.stories.js +16 -0
- package/dist/src/components/molecules/forgot-password-form/index.d.ts +2 -0
- package/dist/src/components/molecules/forgot-password-form/index.js +6 -0
- package/dist/src/components/molecules/highlight-tab-row/HighlightTabRow.d.ts +6 -0
- package/dist/src/components/molecules/highlight-tab-row/HighlightTabRow.js +29 -0
- package/dist/src/components/molecules/highlight-tab-row/HighlightTabRow.stories.d.ts +7 -0
- package/dist/src/components/molecules/highlight-tab-row/HighlightTabRow.stories.js +17 -0
- package/dist/src/components/molecules/highlight-tab-row/HighlightTabRow.theme.d.ts +7 -0
- package/dist/src/components/molecules/highlight-tab-row/HighlightTabRow.theme.js +6 -0
- package/dist/src/components/molecules/highlight-tab-row/index.d.ts +2 -0
- package/dist/src/components/molecules/highlight-tab-row/index.js +2 -0
- package/dist/src/components/molecules/index.d.ts +36 -0
- package/dist/src/components/molecules/index.js +36 -0
- package/dist/src/components/molecules/internal-user-info-form/InternalUserInfoForm.d.ts +25 -0
- package/dist/src/components/molecules/internal-user-info-form/InternalUserInfoForm.js +108 -0
- package/dist/src/components/molecules/internal-user-info-form/InternalUserInfoForm.state.d.ts +3 -0
- package/dist/src/components/molecules/internal-user-info-form/InternalUserInfoForm.state.js +23 -0
- package/dist/src/components/molecules/internal-user-info-form/index.d.ts +2 -0
- package/dist/src/components/molecules/internal-user-info-form/index.js +6 -0
- package/dist/src/components/molecules/login-form/LoginForm.d.ts +8 -0
- package/dist/src/components/molecules/login-form/LoginForm.js +22 -0
- package/dist/src/components/molecules/login-form/LoginForm.state.d.ts +3 -0
- package/dist/src/components/molecules/login-form/LoginForm.state.js +11 -0
- package/dist/src/components/molecules/login-form/LoginForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/login-form/LoginForm.stories.js +16 -0
- package/dist/src/components/molecules/login-form/index.d.ts +2 -0
- package/dist/src/components/molecules/login-form/index.js +6 -0
- package/dist/src/components/molecules/modal/Modal.d.ts +27 -0
- package/dist/src/components/molecules/modal/Modal.js +51 -0
- package/dist/src/components/molecules/modal/Modal.stories.d.ts +15 -0
- package/dist/src/components/molecules/modal/Modal.stories.js +28 -0
- package/dist/src/components/molecules/modal/index.d.ts +2 -0
- package/dist/src/components/molecules/modal/index.js +2 -0
- package/dist/src/components/molecules/module/Module.d.ts +6 -0
- package/dist/src/components/molecules/module/Module.js +31 -0
- package/dist/src/components/molecules/module/Module.stories.d.ts +7 -0
- package/dist/src/components/molecules/module/Module.stories.js +18 -0
- package/dist/src/components/molecules/module/Module.theme.d.ts +87 -0
- package/dist/src/components/molecules/module/Module.theme.js +43 -0
- package/dist/src/components/molecules/module/index.d.ts +2 -0
- package/dist/src/components/molecules/module/index.js +2 -0
- package/dist/src/components/molecules/nav-menu/NavMenu.theme.d.ts +15 -0
- package/dist/src/components/molecules/nav-menu/NavMenu.theme.js +12 -0
- package/dist/src/components/molecules/nav-menu/NavMenuDesktop.d.ts +5 -0
- package/dist/src/components/molecules/nav-menu/NavMenuDesktop.js +11 -0
- package/dist/src/components/molecules/nav-menu/NavMenuMobile.d.ts +5 -0
- package/dist/src/components/molecules/nav-menu/NavMenuMobile.js +49 -0
- package/dist/src/components/molecules/nav-menu/index.d.ts +3 -0
- package/dist/src/components/molecules/nav-menu/index.js +3 -0
- package/dist/src/components/molecules/obligation/Obligation.d.ts +23 -0
- package/dist/src/components/molecules/obligation/Obligation.js +44 -0
- package/dist/src/components/molecules/obligation/icons/AccountBillIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/AccountBillIcon.js +20 -0
- package/dist/src/components/molecules/obligation/icons/AccountConstructionIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/AccountConstructionIcon.js +21 -0
- package/dist/src/components/molecules/obligation/icons/AccountDentalIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/AccountDentalIcon.js +21 -0
- package/dist/src/components/molecules/obligation/icons/AccountElectricIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/AccountElectricIcon.js +21 -0
- package/dist/src/components/molecules/obligation/icons/AccountGarbageIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/AccountGarbageIcon.js +21 -0
- package/dist/src/components/molecules/obligation/icons/AccountGasIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/AccountGasIcon.js +21 -0
- package/dist/src/components/molecules/obligation/icons/AccountGenericIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/AccountGenericIcon.js +20 -0
- package/dist/src/components/molecules/obligation/icons/AccountMedicalIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/AccountMedicalIcon.js +21 -0
- package/dist/src/components/molecules/obligation/icons/AccountWaterIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/AccountWaterIcon.js +21 -0
- package/dist/src/components/molecules/obligation/icons/PropertyApartmentIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/PropertyApartmentIcon.js +22 -0
- package/dist/src/components/molecules/obligation/icons/PropertyBusinessIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/PropertyBusinessIcon.js +20 -0
- package/dist/src/components/molecules/obligation/icons/PropertyCarIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/PropertyCarIcon.js +22 -0
- package/dist/src/components/molecules/obligation/icons/PropertyCommercialVehicleIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/PropertyCommercialVehicleIcon.js +23 -0
- package/dist/src/components/molecules/obligation/icons/PropertyGarageIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/PropertyGarageIcon.js +22 -0
- package/dist/src/components/molecules/obligation/icons/PropertyLandIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/PropertyLandIcon.js +22 -0
- package/dist/src/components/molecules/obligation/icons/PropertyMotorcycleIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/PropertyMotorcycleIcon.js +22 -0
- package/dist/src/components/molecules/obligation/icons/PropertyPersonalIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/PropertyPersonalIcon.js +20 -0
- package/dist/src/components/molecules/obligation/icons/PropertyStorefrontIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/PropertyStorefrontIcon.js +23 -0
- package/dist/src/components/molecules/obligation/icons/index.d.ts +38 -0
- package/dist/src/components/molecules/obligation/icons/index.js +57 -0
- package/dist/src/components/molecules/obligation/index.d.ts +2 -0
- package/dist/src/components/molecules/obligation/index.js +2 -0
- package/dist/src/components/molecules/obligation/modules/AmountModule.d.ts +12 -0
- package/dist/src/components/molecules/obligation/modules/AmountModule.js +17 -0
- package/dist/src/components/molecules/obligation/modules/AmountModule.stories.d.ts +7 -0
- package/dist/src/components/molecules/obligation/modules/AmountModule.stories.js +12 -0
- package/dist/src/components/molecules/obligation/modules/AutopayModalModule.d.ts +4 -0
- package/dist/src/components/molecules/obligation/modules/AutopayModalModule.js +76 -0
- package/dist/src/components/molecules/obligation/modules/AutopayModalModule.theme.d.ts +15 -0
- package/dist/src/components/molecules/obligation/modules/AutopayModalModule.theme.js +15 -0
- package/dist/src/components/molecules/obligation/modules/IconModule.d.ts +8 -0
- package/dist/src/components/molecules/obligation/modules/IconModule.js +20 -0
- package/dist/src/components/molecules/obligation/modules/InactiveControlsModule.d.ts +16 -0
- package/dist/src/components/molecules/obligation/modules/InactiveControlsModule.js +18 -0
- package/dist/src/components/molecules/obligation/modules/InactiveTitleModule.d.ts +6 -0
- package/dist/src/components/molecules/obligation/modules/InactiveTitleModule.js +18 -0
- package/dist/src/components/molecules/obligation/modules/PaymentDetailsActions.d.ts +18 -0
- package/dist/src/components/molecules/obligation/modules/PaymentDetailsActions.js +44 -0
- package/dist/src/components/molecules/obligation/modules/RemoveAccountModalModule.d.ts +8 -0
- package/dist/src/components/molecules/obligation/modules/RemoveAccountModalModule.js +39 -0
- package/dist/src/components/molecules/obligation/modules/TitleModule.d.ts +7 -0
- package/dist/src/components/molecules/obligation/modules/TitleModule.js +13 -0
- package/dist/src/components/molecules/obligation/modules/index.d.ts +8 -0
- package/dist/src/components/molecules/obligation/modules/index.js +8 -0
- package/dist/src/components/molecules/pagination/Pagination.d.ts +14 -0
- package/dist/src/components/molecules/pagination/Pagination.js +56 -0
- package/dist/src/components/molecules/pagination/index.d.ts +2 -0
- package/dist/src/components/molecules/pagination/index.js +2 -0
- package/dist/src/components/molecules/partial-amount-form/PartialAmountForm.d.ts +11 -0
- package/dist/src/components/molecules/partial-amount-form/PartialAmountForm.js +27 -0
- package/dist/src/components/molecules/partial-amount-form/PartialAmountForm.state.d.ts +5 -0
- package/dist/src/components/molecules/partial-amount-form/PartialAmountForm.state.js +49 -0
- package/dist/src/components/molecules/partial-amount-form/index.d.ts +3 -0
- package/dist/src/components/molecules/partial-amount-form/index.js +3 -0
- package/dist/src/components/molecules/payment-button-bar/PaymentButtonBar.d.ts +15 -0
- package/dist/src/components/molecules/payment-button-bar/PaymentButtonBar.js +24 -0
- package/dist/src/components/molecules/payment-button-bar/PaymentButtonBar.stories.d.ts +7 -0
- package/dist/src/components/molecules/payment-button-bar/PaymentButtonBar.stories.js +10 -0
- package/dist/src/components/molecules/payment-button-bar/index.d.ts +2 -0
- package/dist/src/components/molecules/payment-button-bar/index.js +2 -0
- package/dist/src/components/molecules/payment-details/PaymentDetails.d.ts +5 -0
- package/dist/src/components/molecules/payment-details/PaymentDetails.js +143 -0
- package/dist/src/components/molecules/payment-details/PaymentDetails.stories.d.ts +11 -0
- package/dist/src/components/molecules/payment-details/PaymentDetails.stories.js +126 -0
- package/dist/src/components/molecules/payment-details/PaymentDetails.theme.d.ts +30 -0
- package/dist/src/components/molecules/payment-details/PaymentDetails.theme.js +10 -0
- package/dist/src/components/molecules/payment-details/index.d.ts +1 -0
- package/dist/src/components/molecules/payment-details/index.js +1 -0
- package/dist/src/components/molecules/payment-form-ach/PaymentFormACH.d.ts +16 -0
- package/dist/src/components/molecules/payment-form-ach/PaymentFormACH.js +52 -0
- package/dist/src/components/molecules/payment-form-ach/PaymentFormACH.state.d.ts +3 -0
- package/dist/src/components/molecules/payment-form-ach/PaymentFormACH.state.js +28 -0
- package/dist/src/components/molecules/payment-form-ach/PaymentFormACH.stories.d.ts +7 -0
- package/dist/src/components/molecules/payment-form-ach/PaymentFormACH.stories.js +16 -0
- package/dist/src/components/molecules/payment-form-ach/index.d.ts +2 -0
- package/dist/src/components/molecules/payment-form-ach/index.js +6 -0
- package/dist/src/components/molecules/payment-form-card/PaymentFormCard.d.ts +4 -0
- package/dist/src/components/molecules/payment-form-card/PaymentFormCard.js +74 -0
- package/dist/src/components/molecules/payment-form-card/PaymentFormCard.state.d.ts +3 -0
- package/dist/src/components/molecules/payment-form-card/PaymentFormCard.state.js +41 -0
- package/dist/src/components/molecules/payment-form-card/PaymentFormCard.stories.d.ts +7 -0
- package/dist/src/components/molecules/payment-form-card/PaymentFormCard.stories.js +16 -0
- package/dist/src/components/molecules/payment-form-card/index.d.ts +2 -0
- package/dist/src/components/molecules/payment-form-card/index.js +6 -0
- package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashBoardIframe.stories.d.ts +7 -0
- package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashBoardIframe.stories.js +10 -0
- package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashboardIframe.d.ts +11 -0
- package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashboardIframe.js +70 -0
- package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashboardIframe.styled.d.ts +1 -0
- package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashboardIframe.styled.js +8 -0
- package/dist/src/components/molecules/periscope-dashboard-iframe/index.d.ts +2 -0
- package/dist/src/components/molecules/periscope-dashboard-iframe/index.js +2 -0
- package/dist/src/components/molecules/phone-form/PhoneForm.d.ts +12 -0
- package/dist/src/components/molecules/phone-form/PhoneForm.js +23 -0
- package/dist/src/components/molecules/phone-form/PhoneForm.state.d.ts +3 -0
- package/dist/src/components/molecules/phone-form/PhoneForm.state.js +9 -0
- package/dist/src/components/molecules/phone-form/PhoneForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/phone-form/PhoneForm.stories.js +16 -0
- package/dist/src/components/molecules/phone-form/index.d.ts +2 -0
- package/dist/src/components/molecules/phone-form/index.js +6 -0
- package/dist/src/components/molecules/radio-section/RadioSection.d.ts +5 -0
- package/dist/src/components/molecules/radio-section/RadioSection.js +126 -0
- package/dist/src/components/molecules/radio-section/RadioSection.stories.d.ts +7 -0
- package/dist/src/components/molecules/radio-section/RadioSection.stories.js +18 -0
- package/dist/src/components/molecules/radio-section/RadioSection.theme.d.ts +13 -0
- package/dist/src/components/molecules/radio-section/RadioSection.theme.js +13 -0
- package/dist/src/components/molecules/radio-section/index.d.ts +2 -0
- package/dist/src/components/molecules/radio-section/index.js +2 -0
- package/dist/src/components/molecules/registration-form/RegistrationForm.d.ts +9 -0
- package/dist/src/components/molecules/registration-form/RegistrationForm.js +43 -0
- package/dist/src/components/molecules/registration-form/RegistrationForm.state.d.ts +3 -0
- package/dist/src/components/molecules/registration-form/RegistrationForm.state.js +27 -0
- package/dist/src/components/molecules/registration-form/RegistrationForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/registration-form/RegistrationForm.stories.js +16 -0
- package/dist/src/components/molecules/registration-form/index.d.ts +2 -0
- package/dist/src/components/molecules/registration-form/index.js +6 -0
- package/dist/src/components/molecules/reset-confirmation-form/ResetConfirmationForm.d.ts +4 -0
- package/dist/src/components/molecules/reset-confirmation-form/ResetConfirmationForm.js +27 -0
- package/dist/src/components/molecules/reset-confirmation-form/ResetConfirmationForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/reset-confirmation-form/ResetConfirmationForm.stories.js +9 -0
- package/dist/src/components/molecules/reset-confirmation-form/index.d.ts +2 -0
- package/dist/src/components/molecules/reset-confirmation-form/index.js +2 -0
- package/dist/src/components/molecules/reset-password-form/ResetPasswordForm.d.ts +9 -0
- package/dist/src/components/molecules/reset-password-form/ResetPasswordForm.js +30 -0
- package/dist/src/components/molecules/reset-password-form/ResetPasswordForm.state.d.ts +3 -0
- package/dist/src/components/molecules/reset-password-form/ResetPasswordForm.state.js +18 -0
- package/dist/src/components/molecules/reset-password-form/ResetPasswordForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/reset-password-form/ResetPasswordForm.stories.js +16 -0
- package/dist/src/components/molecules/reset-password-form/index.d.ts +2 -0
- package/dist/src/components/molecules/reset-password-form/index.js +6 -0
- package/dist/src/components/molecules/reset-password-success/ResetPasswordSuccess.d.ts +4 -0
- package/dist/src/components/molecules/reset-password-success/ResetPasswordSuccess.js +27 -0
- package/dist/src/components/molecules/reset-password-success/ResetPasswordSuccess.stories.d.ts +7 -0
- package/dist/src/components/molecules/reset-password-success/ResetPasswordSuccess.stories.js +9 -0
- package/dist/src/components/molecules/reset-password-success/index.d.ts +2 -0
- package/dist/src/components/molecules/reset-password-success/index.js +2 -0
- package/dist/src/components/molecules/tab-sidebar/TabSidebar.d.ts +5 -0
- package/dist/src/components/molecules/tab-sidebar/TabSidebar.js +28 -0
- package/dist/src/components/molecules/tab-sidebar/TabSidebar.stories.d.ts +7 -0
- package/dist/src/components/molecules/tab-sidebar/TabSidebar.stories.js +52 -0
- package/dist/src/components/molecules/tab-sidebar/TabSidebar.theme.d.ts +9 -0
- package/dist/src/components/molecules/tab-sidebar/TabSidebar.theme.js +8 -0
- package/dist/src/components/molecules/tab-sidebar/index.d.ts +2 -0
- package/dist/src/components/molecules/tab-sidebar/index.js +2 -0
- package/dist/src/components/molecules/tabs/Tabs.d.ts +5 -0
- package/dist/src/components/molecules/tabs/Tabs.js +33 -0
- package/dist/src/components/molecules/tabs/Tabs.stories.d.ts +7 -0
- package/dist/src/components/molecules/tabs/Tabs.stories.js +186 -0
- package/dist/src/components/molecules/tabs/Tabs.theme.d.ts +9 -0
- package/dist/src/components/molecules/tabs/Tabs.theme.js +8 -0
- package/dist/src/components/molecules/tabs/index.d.ts +2 -0
- package/dist/src/components/molecules/tabs/index.js +2 -0
- package/dist/src/components/molecules/terms-and-conditions/TermsAndConditions.d.ts +8 -0
- package/dist/src/components/molecules/terms-and-conditions/TermsAndConditions.js +17 -0
- package/dist/src/components/molecules/terms-and-conditions/TermsAndConditions.stories.d.ts +7 -0
- package/dist/src/components/molecules/terms-and-conditions/TermsAndConditions.stories.js +12 -0
- package/dist/src/components/molecules/terms-and-conditions/index.d.ts +2 -0
- package/dist/src/components/molecules/terms-and-conditions/index.js +2 -0
- package/dist/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.d.ts +5 -0
- package/dist/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.js +16 -0
- package/dist/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.stories.d.ts +7 -0
- package/dist/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.stories.js +19 -0
- package/dist/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.theme.d.ts +50 -0
- package/dist/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.theme.js +24 -0
- package/dist/src/components/molecules/terms-and-conditions-modal/index.d.ts +2 -0
- package/dist/src/components/molecules/terms-and-conditions-modal/index.js +2 -0
- package/dist/src/components/molecules/timeout/Timeout.d.ts +4 -0
- package/dist/src/components/molecules/timeout/Timeout.js +26 -0
- package/dist/src/components/molecules/timeout/index.d.ts +2 -0
- package/dist/src/components/molecules/timeout/index.js +2 -0
- package/dist/src/components/molecules/welcome-module/WelcomeModule.d.ts +6 -0
- package/dist/src/components/molecules/welcome-module/WelcomeModule.js +27 -0
- package/dist/src/components/molecules/welcome-module/WelcomeModule.theme.d.ts +13 -0
- package/dist/src/components/molecules/welcome-module/WelcomeModule.theme.js +13 -0
- package/dist/src/components/molecules/welcome-module/index.d.ts +2 -0
- package/dist/src/components/molecules/welcome-module/index.js +2 -0
- package/dist/src/components/molecules/workflow-tile/WorkflowTile.d.ts +7 -0
- package/dist/src/components/molecules/workflow-tile/WorkflowTile.js +19 -0
- package/dist/src/components/molecules/workflow-tile/WorkflowTile.stories.d.ts +7 -0
- package/dist/src/components/molecules/workflow-tile/WorkflowTile.stories.js +11 -0
- package/dist/src/components/molecules/workflow-tile/index.d.ts +2 -0
- package/dist/src/components/molecules/workflow-tile/index.js +2 -0
- package/dist/src/components/templates/center-single/CenterSingle.d.ts +4 -0
- package/dist/src/components/templates/center-single/CenterSingle.js +20 -0
- package/dist/src/components/templates/center-single/index.d.ts +2 -0
- package/dist/src/components/templates/center-single/index.js +2 -0
- package/dist/src/components/templates/center-stack/CenterStack.d.ts +4 -0
- package/dist/src/components/templates/center-stack/CenterStack.js +22 -0
- package/dist/src/components/templates/center-stack/index.d.ts +2 -0
- package/dist/src/components/templates/center-stack/index.js +2 -0
- package/dist/src/components/templates/default-page-template/DefaultPageTemplate.d.ts +4 -0
- package/dist/src/components/templates/default-page-template/DefaultPageTemplate.js +20 -0
- package/dist/src/components/templates/default-page-template/index.d.ts +2 -0
- package/dist/src/components/templates/default-page-template/index.js +2 -0
- package/dist/src/components/templates/index.d.ts +5 -0
- package/dist/src/components/templates/index.js +5 -0
- package/dist/src/components/templates/sidebar-single-content/SidebarSingleContent.d.ts +4 -0
- package/dist/src/components/templates/sidebar-single-content/SidebarSingleContent.js +25 -0
- package/dist/src/components/templates/sidebar-single-content/index.d.ts +2 -0
- package/dist/src/components/templates/sidebar-single-content/index.js +2 -0
- package/dist/src/components/templates/sidebar-stack-content/SidebarStackContent.d.ts +4 -0
- package/dist/src/components/templates/sidebar-stack-content/SidebarStackContent.js +25 -0
- package/dist/src/components/templates/sidebar-stack-content/index.d.ts +2 -0
- package/dist/src/components/templates/sidebar-stack-content/index.js +2 -0
- package/dist/src/components/templates/templates.theme.d.ts +5 -0
- package/dist/src/components/templates/templates.theme.js +4 -0
- package/dist/src/components/withWindowSize.d.ts +4 -0
- package/dist/src/components/withWindowSize.js +70 -0
- package/dist/src/constants/colors.d.ts +97 -0
- package/dist/src/constants/colors.js +113 -0
- package/dist/src/constants/index.d.ts +3 -0
- package/dist/src/constants/index.js +3 -0
- package/dist/src/constants/regex_constants.d.ts +1 -0
- package/dist/src/constants/regex_constants.js +1 -0
- package/dist/src/constants/style_constants.d.ts +8 -0
- package/dist/src/constants/style_constants.js +10 -0
- package/dist/src/deprecated/colors.d.ts +81 -0
- package/dist/src/deprecated/colors.js +97 -0
- package/dist/src/deprecated/components/radio-button/index.d.ts +2 -0
- package/dist/src/deprecated/components/radio-button/index.js +2 -0
- package/dist/src/deprecated/components/radio-button/radio-button.d.ts +5 -0
- package/dist/src/deprecated/components/radio-button/radio-button.js +29 -0
- package/dist/src/deprecated/icons/AlertErrorIcon.d.ts +1 -0
- package/dist/src/deprecated/icons/AlertErrorIcon.js +10 -0
- package/dist/src/deprecated/icons/AlertInfoIcon.d.ts +1 -0
- package/dist/src/deprecated/icons/AlertInfoIcon.js +10 -0
- package/dist/src/deprecated/icons/AlertSuccessIcon.d.ts +1 -0
- package/dist/src/deprecated/icons/AlertSuccessIcon.js +10 -0
- package/dist/src/deprecated/icons/AlertWarningIcon.d.ts +1 -0
- package/dist/src/deprecated/icons/AlertWarningIcon.js +6 -0
- package/dist/src/deprecated/icons/BankIcon.d.ts +2 -0
- package/dist/src/deprecated/icons/BankIcon.js +19 -0
- package/dist/src/deprecated/icons/GenericCard.d.ts +2 -0
- package/dist/src/deprecated/icons/GenericCard.js +9 -0
- package/dist/src/deprecated/icons/IconCheck.d.ts +5 -0
- package/dist/src/deprecated/icons/IconCheck.js +10 -0
- package/dist/src/deprecated/icons/IconCheckEmail.d.ts +4 -0
- package/dist/src/deprecated/icons/IconCheckEmail.js +14 -0
- package/dist/src/deprecated/icons/IconChevron.d.ts +3 -0
- package/dist/src/deprecated/icons/IconChevron.js +14 -0
- package/dist/src/deprecated/icons/IconEmailVerified.d.ts +4 -0
- package/dist/src/deprecated/icons/IconEmailVerified.js +22 -0
- package/dist/src/deprecated/icons/IconEye.d.ts +3 -0
- package/dist/src/deprecated/icons/IconEye.js +15 -0
- package/dist/src/deprecated/icons/IconEyeSlash.d.ts +3 -0
- package/dist/src/deprecated/icons/IconEyeSlash.js +19 -0
- package/dist/src/deprecated/icons/IconInvalid.d.ts +7 -0
- package/dist/src/deprecated/icons/IconInvalid.js +14 -0
- package/dist/src/deprecated/icons/IconNeutral.d.ts +6 -0
- package/dist/src/deprecated/icons/IconNeutral.js +10 -0
- package/dist/src/deprecated/icons/IconQuit.d.ts +5 -0
- package/dist/src/deprecated/icons/IconQuit.js +14 -0
- package/dist/src/deprecated/icons/IconValid.d.ts +7 -0
- package/dist/src/deprecated/icons/IconValid.js +15 -0
- package/dist/src/deprecated/icons/IconWarn.d.ts +3 -0
- package/dist/src/deprecated/icons/IconWarn.js +13 -0
- package/dist/src/deprecated/icons/index.d.ts +22 -0
- package/dist/src/deprecated/icons/index.js +22 -0
- package/dist/src/deprecated/index.d.ts +1 -0
- package/dist/src/deprecated/index.js +1 -0
- package/dist/src/deprecated/spinner/Spinner.d.ts +7 -0
- package/dist/src/deprecated/spinner/Spinner.js +46 -0
- package/dist/src/deprecated/spinner/index.d.ts +1 -0
- package/dist/src/deprecated/spinner/index.js +1 -0
- package/dist/src/deprecated/utility/__tests__/safeConcat.spec.d.ts +1 -0
- package/dist/src/deprecated/utility/__tests__/safeConcat.spec.js +47 -0
- package/dist/src/deprecated/utility/__tests__/validateKeyType.spec.d.ts +1 -0
- package/dist/src/deprecated/utility/__tests__/validateKeyType.spec.js +100 -0
- package/dist/src/deprecated/utility/index.d.ts +2 -0
- package/dist/src/deprecated/utility/index.js +2 -0
- package/dist/src/deprecated/utility/safeConcat.d.ts +1 -0
- package/dist/src/deprecated/utility/safeConcat.js +8 -0
- package/dist/src/deprecated/utility/validateKeyType.d.ts +1 -0
- package/dist/src/deprecated/utility/validateKeyType.js +13 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/index.js +4 -0
- package/dist/src/util/focusFirstInvalidInputHook.d.ts +2 -0
- package/dist/src/util/focusFirstInvalidInputHook.js +17 -0
- package/dist/src/util/formats.d.ts +9 -0
- package/dist/src/util/formats.js +70 -0
- package/dist/src/util/general.d.ts +13 -0
- package/dist/src/util/general.js +101 -0
- package/dist/src/util/index.d.ts +5 -0
- package/dist/src/util/index.js +5 -0
- package/dist/src/util/inputValidationUtils.d.ts +43 -0
- package/dist/src/util/inputValidationUtils.js +92 -0
- package/dist/src/util/themeUtils.d.ts +5 -0
- package/dist/src/util/themeUtils.js +129 -0
- package/package.json +1 -1
- package/src/components/atoms/card/Card.js +24 -1
- package/src/components/atoms/card/index.d.ts +1 -0
- package/src/components/atoms/icons/{ExternalLinkicon.js → ExternalLinkIcon.js} +0 -0
- package/src/components/atoms/icons/GuidedCheckoutImage.js +39 -0
- package/src/components/atoms/icons/ProfileImage.js +51 -0
- package/src/components/atoms/icons/StandardCheckoutImage.js +371 -0
- package/src/components/atoms/icons/index.js +7 -1
- package/src/components/atoms/placeholder/Placeholder.js +6 -20
- package/src/.DS_Store +0 -0
- package/src/components/atoms/.DS_Store +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { useEffect } from "react";
|
|
2
|
+
var useFocusInvalidInput = function (hasErrors, resetHasErrors) {
|
|
3
|
+
if (resetHasErrors === void 0) { resetHasErrors = function () { }; }
|
|
4
|
+
// Only move focus when "hasErrors" is true
|
|
5
|
+
// "hasErrors" is managed by container page of form
|
|
6
|
+
// typically set to "true" on attempted form submission, if errors exist
|
|
7
|
+
// Reset errors, if provided, resets the error state tracking in order to properly re-run
|
|
8
|
+
useEffect(function () {
|
|
9
|
+
var _a;
|
|
10
|
+
if (hasErrors) {
|
|
11
|
+
var inputsWithErrors = document.querySelectorAll("input[aria-invalid=true]");
|
|
12
|
+
(_a = inputsWithErrors === null || inputsWithErrors === void 0 ? void 0 : inputsWithErrors[0]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
13
|
+
}
|
|
14
|
+
return function () { return resetHasErrors(false); };
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
export default useFocusInvalidInput;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export const formatDelimiter: "_";
|
|
2
|
+
export const phoneFormats: string[];
|
|
3
|
+
export const moneyFormats: string[];
|
|
4
|
+
export const expirationDateFormats: string[];
|
|
5
|
+
export const zipFormat: any;
|
|
6
|
+
export const creditCardFormat: any;
|
|
7
|
+
export const expirationDateFormat: any;
|
|
8
|
+
export const phoneFormat: any;
|
|
9
|
+
export const moneyFormat: any;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { createFormat } from "formatted-input";
|
|
2
|
+
export var formatDelimiter = "_";
|
|
3
|
+
export var phoneFormats = [
|
|
4
|
+
"",
|
|
5
|
+
"_",
|
|
6
|
+
"__",
|
|
7
|
+
"(___) ",
|
|
8
|
+
"(___) _",
|
|
9
|
+
"(___) __",
|
|
10
|
+
"(___) ___-",
|
|
11
|
+
"(___) ___-_",
|
|
12
|
+
"(___) ___-__",
|
|
13
|
+
"(___) ___-___",
|
|
14
|
+
"(___) ___-____"
|
|
15
|
+
];
|
|
16
|
+
var zipFormats = [
|
|
17
|
+
"",
|
|
18
|
+
"_",
|
|
19
|
+
"__",
|
|
20
|
+
"___",
|
|
21
|
+
"____",
|
|
22
|
+
"_____",
|
|
23
|
+
"______",
|
|
24
|
+
"_____-__",
|
|
25
|
+
"_____-___",
|
|
26
|
+
"_____-____"
|
|
27
|
+
];
|
|
28
|
+
var creditCardFormats = [
|
|
29
|
+
"",
|
|
30
|
+
"_",
|
|
31
|
+
"__",
|
|
32
|
+
"___",
|
|
33
|
+
"____",
|
|
34
|
+
"____ _",
|
|
35
|
+
"____ __",
|
|
36
|
+
"____ ___",
|
|
37
|
+
"____ ____",
|
|
38
|
+
"____ ____ _",
|
|
39
|
+
"____ ____ __",
|
|
40
|
+
"____ ____ ___",
|
|
41
|
+
"____ ____ ____",
|
|
42
|
+
"____ ____ ____ _",
|
|
43
|
+
"____ ____ ____ __",
|
|
44
|
+
"____ ____ ____ ___",
|
|
45
|
+
"____ ____ ____ ____"
|
|
46
|
+
];
|
|
47
|
+
export var moneyFormats = [
|
|
48
|
+
"",
|
|
49
|
+
"$0.0_",
|
|
50
|
+
"$0.__",
|
|
51
|
+
"$_.__",
|
|
52
|
+
"$__.__",
|
|
53
|
+
"$___.__",
|
|
54
|
+
"$_,___.__",
|
|
55
|
+
"$__,___.__",
|
|
56
|
+
"$___,___.__",
|
|
57
|
+
"$_,___,___.__",
|
|
58
|
+
"$__,___,___.__",
|
|
59
|
+
"$___,___,___.__",
|
|
60
|
+
"$_,___,___,___.__",
|
|
61
|
+
"$__,___,___,___.__",
|
|
62
|
+
"$___,___,___,___.__",
|
|
63
|
+
"$_,___,___,___,___.__"
|
|
64
|
+
];
|
|
65
|
+
export var expirationDateFormats = ["", "_", "__/", "__/_", "__/__"];
|
|
66
|
+
export var zipFormat = createFormat(zipFormats, formatDelimiter);
|
|
67
|
+
export var creditCardFormat = createFormat(creditCardFormats, formatDelimiter);
|
|
68
|
+
export var expirationDateFormat = createFormat(expirationDateFormats, formatDelimiter);
|
|
69
|
+
export var phoneFormat = createFormat(phoneFormats, formatDelimiter);
|
|
70
|
+
export var moneyFormat = createFormat(moneyFormats, formatDelimiter);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export function noop(): void;
|
|
2
|
+
export function displayCurrency(cents: any): any;
|
|
3
|
+
export function convertCentsToMoneyInt(n: any): string;
|
|
4
|
+
export function formatPercent(decimal: any): string;
|
|
5
|
+
export function createIdFromString(text: any, postscript: any, unique?: boolean): string;
|
|
6
|
+
export function safeChildren(children: any, replacement?: any[]): any;
|
|
7
|
+
export function generateClickHandler(form: any, handleErrors: any, submitForm: any): (e: any) => any;
|
|
8
|
+
export function checkCardBrand(number: any): "DISCOVER" | "MASTERCARD" | "VISA" | "AMEX" | "UNKNOWN";
|
|
9
|
+
export function displayCardBrand(number: any): "Discover" | "Mastercard" | "Visa" | "American Express" | "Unknown Card";
|
|
10
|
+
export function checkDeniedCards(name: any): RegExp | "";
|
|
11
|
+
export const screenReaderOnlyStyle: "\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n";
|
|
12
|
+
export const inputPlaceholderTextStyle: string;
|
|
13
|
+
export const inputDisabledStyle: "\n color: #6e727e;\n background-color: #f7f7f7;\n pointer-events: none;\n";
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import React, { Fragment } from "react";
|
|
2
|
+
import numeral from "numeral";
|
|
3
|
+
import { CHARADE_GREY } from "../constants/colors";
|
|
4
|
+
export var noop = function () { };
|
|
5
|
+
var formatMoneyString = function (s) { return numeral(s).format("$0,0.00"); };
|
|
6
|
+
var convertCentsToMoneyDecimal = function (n) { return (n / 100).toFixed(2); };
|
|
7
|
+
export var displayCurrency = function (cents) {
|
|
8
|
+
return formatMoneyString(convertCentsToMoneyDecimal(cents));
|
|
9
|
+
};
|
|
10
|
+
export var convertCentsToMoneyInt = function (n) { return (n / 100).toFixed(0); };
|
|
11
|
+
export var formatPercent = function (decimal) { return Number.parseFloat(decimal).toFixed(2); };
|
|
12
|
+
var createUniqueId = function () {
|
|
13
|
+
return "_" +
|
|
14
|
+
Math.random()
|
|
15
|
+
.toString(36)
|
|
16
|
+
.substr(2, 9);
|
|
17
|
+
};
|
|
18
|
+
export var createIdFromString = function (text, postscript, unique) {
|
|
19
|
+
if (unique === void 0) { unique = false; }
|
|
20
|
+
if (text === undefined) {
|
|
21
|
+
return createUniqueId();
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
// "first name", undefined, false -> "first-name"
|
|
25
|
+
// "email address", "error message", false -> "email-address-error-message"
|
|
26
|
+
// "shopping cart", "order item", true -> "shopping-cart-order-item_2ahtlz608"
|
|
27
|
+
return "".concat(text === null || text === void 0 ? void 0 : text.replace(/\s+/g, "-")).concat(postscript ? "-".concat(postscript === null || postscript === void 0 ? void 0 : postscript.replace(/\s+/g, "-")) : "").concat(unique ? createUniqueId() : "");
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
export var safeChildren = function (children, replacement) {
|
|
31
|
+
if (replacement === void 0) { replacement = []; }
|
|
32
|
+
var unsafeValues = [false, undefined, NaN, null];
|
|
33
|
+
if (children && children instanceof Array) {
|
|
34
|
+
return children.map(function (child) {
|
|
35
|
+
return unsafeValues.includes(child) ? (React.createElement(Fragment, { key: createUniqueId() }, replacement)) : (child);
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
return unsafeValues.includes(children) ? replacement : children;
|
|
39
|
+
};
|
|
40
|
+
export var generateClickHandler = function (form, handleErrors, submitForm) { return function (e) {
|
|
41
|
+
e.preventDefault();
|
|
42
|
+
var formHasError = Object.values(form.fields).reduce(function (acc, curr) { return acc || curr.hasErrors; }, false);
|
|
43
|
+
return formHasError ? handleErrors() : submitForm();
|
|
44
|
+
}; };
|
|
45
|
+
export var checkCardBrand = function (number) {
|
|
46
|
+
if (/^6011/.test(number)) {
|
|
47
|
+
return "DISCOVER";
|
|
48
|
+
}
|
|
49
|
+
else if (/^5[1-5]/.test(number)) {
|
|
50
|
+
return "MASTERCARD";
|
|
51
|
+
}
|
|
52
|
+
else if (/^4/.test(number)) {
|
|
53
|
+
return "VISA";
|
|
54
|
+
}
|
|
55
|
+
else if (/^3[4,7]/.test(number)) {
|
|
56
|
+
return "AMEX";
|
|
57
|
+
}
|
|
58
|
+
else
|
|
59
|
+
return "UNKNOWN";
|
|
60
|
+
};
|
|
61
|
+
export var displayCardBrand = function (number) {
|
|
62
|
+
if (/^6011/.test(number)) {
|
|
63
|
+
return "Discover";
|
|
64
|
+
}
|
|
65
|
+
else if (/^5[1-5]/.test(number)) {
|
|
66
|
+
return "Mastercard";
|
|
67
|
+
}
|
|
68
|
+
else if (/^4/.test(number)) {
|
|
69
|
+
return "Visa";
|
|
70
|
+
}
|
|
71
|
+
else if (/^3[4,7]/.test(number)) {
|
|
72
|
+
return "American Express";
|
|
73
|
+
}
|
|
74
|
+
else
|
|
75
|
+
return "Unknown Card";
|
|
76
|
+
};
|
|
77
|
+
export var checkDeniedCards = function (name) {
|
|
78
|
+
switch (name) {
|
|
79
|
+
case "DISCOVER":
|
|
80
|
+
return /^(?!6011)/;
|
|
81
|
+
case "MASTERCARD":
|
|
82
|
+
return /^(?!5[1-5])/;
|
|
83
|
+
case "VISA":
|
|
84
|
+
return /^(?!4)/;
|
|
85
|
+
case "AMEX":
|
|
86
|
+
return /^(?!3[4,7])/;
|
|
87
|
+
default:
|
|
88
|
+
return "";
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
/*
|
|
92
|
+
An optional style for layout atoms that positions the atom completely off screen
|
|
93
|
+
This will *not* be visible or accessible to sighted users
|
|
94
|
+
Use to contain text content or a11y interactive content (skip links when not visible)
|
|
95
|
+
that is only for users of assistive technologies (screen readers)
|
|
96
|
+
|
|
97
|
+
Currently implemented on the Box atom via the srOnly prop
|
|
98
|
+
*/
|
|
99
|
+
export var screenReaderOnlyStyle = "\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n";
|
|
100
|
+
export var inputPlaceholderTextStyle = "\n ::-webkit-input-placeholder {\n color: ".concat(CHARADE_GREY, ";\n }\n ::-moz-placeholder {\n color: ").concat(CHARADE_GREY, ";\n }\n ::-ms-placeholder {\n color: ").concat(CHARADE_GREY, ";\n }\n ::placeholder {\n color: ").concat(CHARADE_GREY, ";\n }\n");
|
|
101
|
+
export var inputDisabledStyle = "\n color: #6e727e;\n background-color: #f7f7f7;\n pointer-events: none;\n";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export const MIN_LENGTH_ERROR: "error/HAS_LENGTH";
|
|
2
|
+
export const MAX_LENGTH_ERROR: "max_length_error";
|
|
3
|
+
export const EXACT_LENGTH_ERROR: "exact_length_error";
|
|
4
|
+
export const MULTIPLE_LENGTHS_ERROR: "multiple_lengths_error";
|
|
5
|
+
export const EMAIL_ERROR: "email_error";
|
|
6
|
+
export const HAS_NUMBER_ERROR: "error/HAS_NUMBER";
|
|
7
|
+
export const HAS_UPPERCASE_LETTER_ERROR: "error/HAS_UPPERCASE_LETTER";
|
|
8
|
+
export const HAS_LOWERCASE_LETTER_ERROR: "error/HAS_LOWERCASE_LETTER";
|
|
9
|
+
export const HAS_SPECIAL_CHARACTER_ERROR: "error/HAS_SPECIAL_CHARACTER";
|
|
10
|
+
export const ONLY_NUMBERS_ERROR: "only_numbers_error";
|
|
11
|
+
export const ONLY_LETTERS_ERROR: "only_letters_error";
|
|
12
|
+
export const REQUIRED_FIELD_ERROR: "required_field_error";
|
|
13
|
+
export const NUM_GREATER_THAN_ERROR: "num_greater_than_error";
|
|
14
|
+
export const NUM_LESS_THAN_ERROR: "num_less_than_error";
|
|
15
|
+
export const MATCHES_FIELD_ERROR: "matches_field_error";
|
|
16
|
+
export const VALID_SELECT_OPTION_ERROR: "valid_select_option_error";
|
|
17
|
+
export const DEFAULT_ERROR_MESSAGES: {
|
|
18
|
+
"error/HAS_LENGTH": (inputState: any) => any;
|
|
19
|
+
max_length_error: (inputState: any) => any;
|
|
20
|
+
exact_length_error: (inputState: any) => any;
|
|
21
|
+
multiple_lengths_error: (inputState: any) => any;
|
|
22
|
+
email_error: (inputState: any) => any;
|
|
23
|
+
"error/HAS_NUMBER": (inputState: any) => any;
|
|
24
|
+
"error/HAS_UPPERCASE_LETTER": (inputState: any) => any;
|
|
25
|
+
"error/HAS_LOWERCASE_LETTER": (inputState: any) => any;
|
|
26
|
+
"error/HAS_SPECIAL_CHARACTER": (inputState: any) => any;
|
|
27
|
+
only_numbers_error: (inputState: any) => any;
|
|
28
|
+
only_letters_error: (inputState: any) => any;
|
|
29
|
+
required_field_error: (inputState: any) => any;
|
|
30
|
+
num_greater_than_error: (inputState: any) => any;
|
|
31
|
+
num_less_than_error: (inputState: any) => any;
|
|
32
|
+
matches_field_error: (inputState: any) => any;
|
|
33
|
+
valid_select_option_error: (inputState: any) => any;
|
|
34
|
+
};
|
|
35
|
+
export const INPUT_STATE_NEUTRAL: "NEUTRAL";
|
|
36
|
+
export const INPUT_STATE_INVALID: "INVALID";
|
|
37
|
+
export const INPUT_STATE_VALID: "VALID";
|
|
38
|
+
export function getInputState({ dirty, hasErrors, errors, rawValue }: {
|
|
39
|
+
dirty: any;
|
|
40
|
+
hasErrors: any;
|
|
41
|
+
errors: any;
|
|
42
|
+
rawValue: any;
|
|
43
|
+
}, errorsToCheck?: any[]): "NEUTRAL" | "INVALID" | "VALID";
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
var _a;
|
|
6
|
+
import * as R from "ramda";
|
|
7
|
+
// Constants to reprsent input error types
|
|
8
|
+
export var MIN_LENGTH_ERROR = "error/HAS_LENGTH";
|
|
9
|
+
export var MAX_LENGTH_ERROR = "max_length_error";
|
|
10
|
+
export var EXACT_LENGTH_ERROR = "exact_length_error";
|
|
11
|
+
export var MULTIPLE_LENGTHS_ERROR = "multiple_lengths_error";
|
|
12
|
+
export var EMAIL_ERROR = "email_error";
|
|
13
|
+
export var HAS_NUMBER_ERROR = "error/HAS_NUMBER";
|
|
14
|
+
export var HAS_UPPERCASE_LETTER_ERROR = "error/HAS_UPPERCASE_LETTER";
|
|
15
|
+
export var HAS_LOWERCASE_LETTER_ERROR = "error/HAS_LOWERCASE_LETTER";
|
|
16
|
+
export var HAS_SPECIAL_CHARACTER_ERROR = "error/HAS_SPECIAL_CHARACTER";
|
|
17
|
+
export var ONLY_NUMBERS_ERROR = "only_numbers_error";
|
|
18
|
+
export var ONLY_LETTERS_ERROR = "only_letters_error";
|
|
19
|
+
export var REQUIRED_FIELD_ERROR = "required_field_error";
|
|
20
|
+
export var NUM_GREATER_THAN_ERROR = "num_greater_than_error";
|
|
21
|
+
export var NUM_LESS_THAN_ERROR = "num_less_than_error";
|
|
22
|
+
export var MATCHES_FIELD_ERROR = "matches_field_error";
|
|
23
|
+
export var VALID_SELECT_OPTION_ERROR = "valid_select_option_error";
|
|
24
|
+
// Array<String>, Array<String> -> Object -> String
|
|
25
|
+
var genErrorMessage = function (strings) {
|
|
26
|
+
var argKeys = [];
|
|
27
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
28
|
+
argKeys[_i - 1] = arguments[_i];
|
|
29
|
+
}
|
|
30
|
+
return function (inputState) {
|
|
31
|
+
return strings.reduce(function (accum, current, index) {
|
|
32
|
+
return "".concat(accum).concat(current).concat(argKeys[index] ? R.pathOr("", [argKeys[index]], inputState) : "");
|
|
33
|
+
}, []);
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
/*
|
|
37
|
+
What's going on here? This looks weird, you may ask...
|
|
38
|
+
DEFAULT_ERROR_MESSAGES is a map between the error constants (which are returned by validators)
|
|
39
|
+
and some tagged template literals.
|
|
40
|
+
In this case, the template tag function is curried and returns a function which accepts an args object
|
|
41
|
+
I'm calling that object inputState, but it could really be anything.
|
|
42
|
+
When the error message string fucntion is called with that arg, it's reduced to produce a custom error message
|
|
43
|
+
with interpolation.
|
|
44
|
+
*/
|
|
45
|
+
export var DEFAULT_ERROR_MESSAGES = (_a = {},
|
|
46
|
+
_a[MIN_LENGTH_ERROR] = genErrorMessage(templateObject_1 || (templateObject_1 = __makeTemplateObject(["", " is too short"], ["", " is too short"])), "fieldLabel"),
|
|
47
|
+
_a[MAX_LENGTH_ERROR] = genErrorMessage(templateObject_2 || (templateObject_2 = __makeTemplateObject(["", " is too long"], ["", " is too long"])), "fieldLabel"),
|
|
48
|
+
_a[EXACT_LENGTH_ERROR] = genErrorMessage(templateObject_3 || (templateObject_3 = __makeTemplateObject(["", " is not the right length"], ["", " is not the right length"])), "fieldLabel"),
|
|
49
|
+
_a[MULTIPLE_LENGTHS_ERROR] = genErrorMessage(templateObject_4 || (templateObject_4 = __makeTemplateObject(["", " is not a valid length"], ["", " is not a valid length"])), "fieldLabel"),
|
|
50
|
+
_a[EMAIL_ERROR] = genErrorMessage(templateObject_5 || (templateObject_5 = __makeTemplateObject(["", " is not a valid email address"], ["", " is not a valid email address"])), "fieldLabel"),
|
|
51
|
+
_a[HAS_NUMBER_ERROR] = genErrorMessage(templateObject_6 || (templateObject_6 = __makeTemplateObject(["", " needs a number"], ["", " needs a number"])), "fieldLabel"),
|
|
52
|
+
_a[HAS_UPPERCASE_LETTER_ERROR] = genErrorMessage(templateObject_7 || (templateObject_7 = __makeTemplateObject(["", " needs an uppercase letter"], ["", " needs an uppercase letter"])), "fieldLabel"),
|
|
53
|
+
_a[HAS_LOWERCASE_LETTER_ERROR] = genErrorMessage(templateObject_8 || (templateObject_8 = __makeTemplateObject(["", " needs a lowercase letter"], ["", " needs a lowercase letter"])), "fieldLabel"),
|
|
54
|
+
_a[HAS_SPECIAL_CHARACTER_ERROR] = genErrorMessage(templateObject_9 || (templateObject_9 = __makeTemplateObject(["", " needs a special character"], ["", " needs a special character"])), "fieldLabel"),
|
|
55
|
+
_a[ONLY_NUMBERS_ERROR] = genErrorMessage(templateObject_10 || (templateObject_10 = __makeTemplateObject(["", " must be only numbers"], ["", " must be only numbers"])), "fieldLabel"),
|
|
56
|
+
_a[ONLY_LETTERS_ERROR] = genErrorMessage(templateObject_11 || (templateObject_11 = __makeTemplateObject(["", " must be only letters"], ["", " must be only letters"])), "fieldLabel"),
|
|
57
|
+
_a[REQUIRED_FIELD_ERROR] = genErrorMessage(templateObject_12 || (templateObject_12 = __makeTemplateObject(["", " is required"], ["", " is required"])), "fieldLabel"),
|
|
58
|
+
_a[NUM_GREATER_THAN_ERROR] = genErrorMessage(templateObject_13 || (templateObject_13 = __makeTemplateObject(["", " is too high"], ["", " is too high"])), "fieldLabel"),
|
|
59
|
+
_a[NUM_LESS_THAN_ERROR] = genErrorMessage(templateObject_14 || (templateObject_14 = __makeTemplateObject(["", " is too low"], ["", " is too low"])), "fieldLabel"),
|
|
60
|
+
_a[MATCHES_FIELD_ERROR] = genErrorMessage(templateObject_15 || (templateObject_15 = __makeTemplateObject(["", " must match ", ""], ["", " must match ", ""])), "fieldLabel", "matchField"),
|
|
61
|
+
_a[VALID_SELECT_OPTION_ERROR] = genErrorMessage(templateObject_16 || (templateObject_16 = __makeTemplateObject(["", " is not a valid option"], ["", " is not a valid option"])), "fieldLabel"),
|
|
62
|
+
_a);
|
|
63
|
+
// Constants to represent an input's state
|
|
64
|
+
// Neutral - has not been validated
|
|
65
|
+
// Invalid - has been validated and has an error
|
|
66
|
+
// Valid - has been validated and has no error
|
|
67
|
+
export var INPUT_STATE_NEUTRAL = "NEUTRAL";
|
|
68
|
+
export var INPUT_STATE_INVALID = "INVALID";
|
|
69
|
+
export var INPUT_STATE_VALID = "VALID";
|
|
70
|
+
// Function to check the state of an input
|
|
71
|
+
// This function is intended to be used with inputs that have multiple validators
|
|
72
|
+
// Takes an input's state value, destructures for the input's error and showError booleans, list of errors
|
|
73
|
+
// Also takes a list of the specific error constants to look for
|
|
74
|
+
// If the input's showError property is false, the input has not been validated, and input state is NEUTRAL
|
|
75
|
+
// If the input has an error, and showError is true, check if the errors we care about are in the input's error list
|
|
76
|
+
// If yes, input state is INVALID
|
|
77
|
+
// If input has no error and showError is true, or the errors we're looking for aren't present in the list
|
|
78
|
+
// then input state is VALID
|
|
79
|
+
// { error: Boolean, showError: Boolean, errorsList: Array<String> }, Array<String> -> String
|
|
80
|
+
export var getInputState = function (_a, errorsToCheck) {
|
|
81
|
+
var dirty = _a.dirty, hasErrors = _a.hasErrors, errors = _a.errors, rawValue = _a.rawValue;
|
|
82
|
+
if (errorsToCheck === void 0) { errorsToCheck = []; }
|
|
83
|
+
if (!dirty) {
|
|
84
|
+
return INPUT_STATE_NEUTRAL;
|
|
85
|
+
}
|
|
86
|
+
else if ((dirty && rawValue === "") ||
|
|
87
|
+
(hasErrors && errorsToCheck.some(function (error) { return errors.includes(error); }))) {
|
|
88
|
+
return INPUT_STATE_INVALID;
|
|
89
|
+
}
|
|
90
|
+
return INPUT_STATE_VALID;
|
|
91
|
+
};
|
|
92
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function createThemeValues(themeContext: any, fallbackValues: any, componentName: any, variant: any): {};
|
|
2
|
+
export function themeComponent(component: any, componentThemeId: any, fallbackValues: any, defaultVariant: any): ({ variant, ...props }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
variant?: any;
|
|
5
|
+
}) => any;
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import theme from "styled-theming";
|
|
24
|
+
import { useContext } from "react";
|
|
25
|
+
import { ThemeContext } from "styled-components";
|
|
26
|
+
/*
|
|
27
|
+
themeContext: { name: "default", values: {JSON_THEME_VALUES_HERE} }
|
|
28
|
+
|
|
29
|
+
fallbackValues: {
|
|
30
|
+
padding: {
|
|
31
|
+
primary: "2rem 1rem",
|
|
32
|
+
secondary: "1rem 0.5rem"
|
|
33
|
+
},
|
|
34
|
+
fontWeight: "600"
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
componentName: "Button"
|
|
38
|
+
|
|
39
|
+
Iterates over a component's fallback values, checks to see if any of those values
|
|
40
|
+
are present in the theme values available in the app's theme context.
|
|
41
|
+
If they are, those values override the fallback value.
|
|
42
|
+
|
|
43
|
+
We use the resuting values as an argument to the styled-theming lib functions
|
|
44
|
+
to create new functions that can be called with theme props to produce values.
|
|
45
|
+
Typically, those functions are passed back to components and used in styled-component files.
|
|
46
|
+
We do things a bit differently...
|
|
47
|
+
|
|
48
|
+
Before returning, we call the styled-theming functions with relevant theme props (name, variant...)
|
|
49
|
+
The styled-theming API then returns the value
|
|
50
|
+
Ultimately, an object of property values ({ color: "red", fontWeight: "600" })
|
|
51
|
+
is returned to the component, which can be passed
|
|
52
|
+
to whatever layout atoms / other atoms the component is using to build itself
|
|
53
|
+
|
|
54
|
+
Why do things this way? It's powerful. Right now we're always using "default" as our theme name
|
|
55
|
+
And only expecting one set of theme value in our context (one theme per client)
|
|
56
|
+
|
|
57
|
+
However, this function can easily be modified to allow for multiple themes per client and
|
|
58
|
+
allow for toggling those themes on the fly via state values
|
|
59
|
+
|
|
60
|
+
Future use cases for the above:
|
|
61
|
+
-Different themes per agency/sub-division of client
|
|
62
|
+
-Extra themes designed for accessibility (high contrast / color blindness)
|
|
63
|
+
-Superfluous extra themes (dark mode)
|
|
64
|
+
-Toggling between many client themes / proposed client themes in a live demo
|
|
65
|
+
|
|
66
|
+
The above functionality is not available right now, but it is trivial to enable it with this approach.
|
|
67
|
+
*/
|
|
68
|
+
export var createThemeValues = function (themeContext, fallbackValues, componentName, variant) {
|
|
69
|
+
var themeValues = themeContext.values;
|
|
70
|
+
var themeProps = { theme: __assign({ name: "default" }, themeContext), variant: variant };
|
|
71
|
+
var mergedValues = Object.entries(fallbackValues).reduce(function (acc, _a) {
|
|
72
|
+
var _b, _c;
|
|
73
|
+
var _d, _e;
|
|
74
|
+
var propName = _a[0], propValue = _a[1];
|
|
75
|
+
if (typeof propValue === "object") {
|
|
76
|
+
var mergedPropValues = Object.entries(propValue).reduce(function (innerAcc, _a) {
|
|
77
|
+
var _b;
|
|
78
|
+
var _c, _d, _e;
|
|
79
|
+
var variantName = _a[0], defaultVariantValue = _a[1];
|
|
80
|
+
var variantValue = (_e = (_d = (_c = themeValues === null || themeValues === void 0 ? void 0 : themeValues[componentName]) === null || _c === void 0 ? void 0 : _c[propName]) === null || _d === void 0 ? void 0 : _d[variantName]) !== null && _e !== void 0 ? _e : defaultVariantValue;
|
|
81
|
+
return __assign(__assign({}, innerAcc), (_b = {}, _b[variantName] = {
|
|
82
|
+
default: variantValue
|
|
83
|
+
}, _b));
|
|
84
|
+
}, {});
|
|
85
|
+
// Always using "default" as our theme name right now
|
|
86
|
+
// In the future if we want to toggle themes on the fly, change this
|
|
87
|
+
return __assign(__assign({}, acc), (_b = {}, _b[propName] = mergedPropValues, _b));
|
|
88
|
+
}
|
|
89
|
+
var mergedSinglePropValue = (_e = (_d = themeValues === null || themeValues === void 0 ? void 0 : themeValues[componentName]) === null || _d === void 0 ? void 0 : _d[propName]) !== null && _e !== void 0 ? _e : propValue;
|
|
90
|
+
return __assign(__assign({}, acc), (_c = {}, _c[propName] = { default: mergedSinglePropValue }, _c));
|
|
91
|
+
}, {});
|
|
92
|
+
var createdTheme = Object.entries(mergedValues).reduce(function (acc, _a) {
|
|
93
|
+
var _b, _c;
|
|
94
|
+
var propName = _a[0], propValue = _a[1];
|
|
95
|
+
if (propValue[variant]) {
|
|
96
|
+
return __assign(__assign({}, acc), (_b = {}, _b[propName] = theme.variants("name", "variant", propValue)(themeProps), _b));
|
|
97
|
+
}
|
|
98
|
+
return __assign(__assign({}, acc), (_c = {}, _c[propName] = theme("name", propValue)(themeProps), _c));
|
|
99
|
+
}, {});
|
|
100
|
+
return createdTheme;
|
|
101
|
+
};
|
|
102
|
+
export var themeComponent = function (component, componentThemeId, fallbackValues, defaultVariant) { return function (_a) {
|
|
103
|
+
var _b;
|
|
104
|
+
var _c = _a.variant, variant = _c === void 0 ? defaultVariant : _c, props = __rest(_a, ["variant"]);
|
|
105
|
+
var themeContext = useContext(ThemeContext);
|
|
106
|
+
var metadata = (_b = themeContext === null || themeContext === void 0 ? void 0 : themeContext.metadata) !== null && _b !== void 0 ? _b : {};
|
|
107
|
+
var themeValues = themeContext
|
|
108
|
+
? createThemeValues(themeContext, fallbackValues, componentThemeId, variant)
|
|
109
|
+
: fallbackValues;
|
|
110
|
+
return component(__assign(__assign({}, props), { themeValues: themeValues, variant: variant, metadata: metadata }));
|
|
111
|
+
}; };
|
|
112
|
+
/*
|
|
113
|
+
Keeping this around for now in case we need it later...
|
|
114
|
+
|
|
115
|
+
export const generateImgSrc = (
|
|
116
|
+
configAssetsEndpoint,
|
|
117
|
+
clientSlug,
|
|
118
|
+
agency = ""
|
|
119
|
+
) => filename => {
|
|
120
|
+
if (configAssetsEndpoint === "http://localhost:8080/assets") {
|
|
121
|
+
return agency !== ""
|
|
122
|
+
? `${configAssetsEndpoint}/${clientSlug}/${agency}/${filename}`
|
|
123
|
+
: `${configAssetsEndpoint}/${clientSlug}/${filename}`;
|
|
124
|
+
}
|
|
125
|
+
return agency !== ""
|
|
126
|
+
? `${configAssetsEndpoint}/${agency}/${filename}`
|
|
127
|
+
: `${configAssetsEndpoint}/${filename}`;
|
|
128
|
+
};
|
|
129
|
+
*/
|
package/package.json
CHANGED
|
@@ -6,12 +6,16 @@ import withWindowSize from "../../withWindowSize";
|
|
|
6
6
|
import { fallbackValues } from "./Card.theme";
|
|
7
7
|
|
|
8
8
|
import BoxWithShadow from "../box-with-shadow";
|
|
9
|
+
import Center from "../layouts/Center";
|
|
9
10
|
import Cover from "../layouts/Cover";
|
|
10
11
|
import Stack from "../layouts/Stack";
|
|
11
12
|
|
|
12
13
|
import CardImage from "./CardImage.styled";
|
|
13
14
|
import CardText from "./CardText";
|
|
14
15
|
import CardHeader from "./CardHeader";
|
|
16
|
+
import ProfileImage from "../icons/ProfileImage";
|
|
17
|
+
import GuidedCheckoutImage from "../icons/GuidedCheckoutImage";
|
|
18
|
+
import StandardCheckoutImage from "../icons/StandardCheckoutImage";
|
|
15
19
|
|
|
16
20
|
const Card = ({
|
|
17
21
|
borderRadius = "4px",
|
|
@@ -20,6 +24,7 @@ const Card = ({
|
|
|
20
24
|
headerText,
|
|
21
25
|
headerVariant = "small",
|
|
22
26
|
imgSrc,
|
|
27
|
+
imgName,
|
|
23
28
|
imgHeight = "150px",
|
|
24
29
|
imgObjectFit = "none",
|
|
25
30
|
imgAltText,
|
|
@@ -31,10 +36,17 @@ const Card = ({
|
|
|
31
36
|
width = "276px",
|
|
32
37
|
children
|
|
33
38
|
}) => {
|
|
39
|
+
const imageComponents = {
|
|
40
|
+
ProfileImage: ProfileImage,
|
|
41
|
+
GuidedCheckoutImage: GuidedCheckoutImage,
|
|
42
|
+
StandardCheckoutImage: StandardCheckoutImage
|
|
43
|
+
};
|
|
44
|
+
const ImageComponent = imageComponents[imgName];
|
|
45
|
+
const hasImage = ImageComponent || imgSrc;
|
|
34
46
|
const numberOfChildren =
|
|
35
47
|
(Array.isArray(children) ? children.length : 1) +
|
|
36
48
|
(text ? 1 : 0) +
|
|
37
|
-
(
|
|
49
|
+
(hasImage ? 1 : 0) +
|
|
38
50
|
(headerText ? 1 : 0);
|
|
39
51
|
|
|
40
52
|
return (
|
|
@@ -60,6 +72,17 @@ const Card = ({
|
|
|
60
72
|
as={headerAs}
|
|
61
73
|
></CardHeader>
|
|
62
74
|
)}
|
|
75
|
+
{ImageComponent && !imgSrc && (
|
|
76
|
+
<Cover
|
|
77
|
+
singleChild
|
|
78
|
+
minHeight={imgHeight}
|
|
79
|
+
style={{ background: themeValues.imageBackgroundColor }}
|
|
80
|
+
>
|
|
81
|
+
<Center intrinsic>
|
|
82
|
+
<ImageComponent alt={imgAltText} />
|
|
83
|
+
</Center>
|
|
84
|
+
</Cover>
|
|
85
|
+
)}
|
|
63
86
|
{imgSrc && (
|
|
64
87
|
<CardImage
|
|
65
88
|
height={imgHeight}
|
|
File without changes
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
const GuidedCheckoutImage = () => {
|
|
4
|
+
return (
|
|
5
|
+
<svg
|
|
6
|
+
width="186"
|
|
7
|
+
height="96"
|
|
8
|
+
viewBox="0 0 186 96"
|
|
9
|
+
fill="none"
|
|
10
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
+
>
|
|
12
|
+
<rect
|
|
13
|
+
x="48.6582"
|
|
14
|
+
y="12.7822"
|
|
15
|
+
width="86.9263"
|
|
16
|
+
height="65.0716"
|
|
17
|
+
rx="5"
|
|
18
|
+
fill="white"
|
|
19
|
+
/>
|
|
20
|
+
<path
|
|
21
|
+
opacity="0.3"
|
|
22
|
+
fillRule="evenodd"
|
|
23
|
+
clipRule="evenodd"
|
|
24
|
+
d="M157.658 6.96909C158.29 5.32214 159.882 4.15137 161.751 4.15137C163.788 4.15137 165.496 5.54154 165.991 7.42414C166.168 7.38839 166.352 7.36921 166.54 7.36921C168.076 7.36921 169.32 8.61442 169.32 10.1505C169.32 11.6866 168.076 12.9319 166.54 12.9319H154.54C153.004 12.9319 151.759 11.6866 151.759 10.1505C151.759 8.61442 153.004 7.36921 154.54 7.36921C154.946 7.36921 155.331 7.4586 155.679 7.61526C156.022 7.17907 156.554 6.89791 157.151 6.89791C157.327 6.89791 157.496 6.92359 157.658 6.96909ZM29.9007 45.3418C30.0511 43.7052 31.414 42.4238 33.0737 42.4238C34.5347 42.4238 35.765 43.4168 36.1417 44.7708C36.5175 44.4868 36.9822 44.3165 37.4875 44.3165C38.7303 44.3165 39.738 45.3343 39.738 46.5896C39.738 47.8451 38.7303 48.8629 37.4875 48.8629H28.783C27.721 48.8629 26.86 47.9932 26.86 46.9206C26.86 45.8478 27.721 44.9781 28.783 44.9781C29.2002 44.9781 29.5853 45.1138 29.9007 45.3418ZM27.3073 7.16256C25.3138 7.16256 23.6159 8.41138 22.9411 10.1681C22.7693 10.1196 22.5883 10.0922 22.4008 10.0922C21.7628 10.0922 21.1962 10.3921 20.8302 10.8574C20.459 10.6903 20.0486 10.5949 19.6151 10.5949C17.9772 10.5949 16.6494 11.9231 16.6494 13.5617C16.6494 15.2002 17.9772 16.5284 19.6151 16.5284H32.4158C34.0534 16.5284 35.3811 15.2002 35.3811 13.5617C35.3811 11.9231 34.0534 10.5949 32.4158 10.5949C32.2148 10.5949 32.019 10.6154 31.8294 10.6535C31.3019 8.64541 29.4803 7.16256 27.3073 7.16256ZM112.12 87.6601C112.12 85.2362 103.187 83.2712 92.1679 83.2712C81.149 83.2712 72.2157 85.2362 72.2157 87.6601C72.2157 90.084 81.149 92.049 92.1679 92.049C103.187 92.049 112.12 90.084 112.12 87.6601ZM171.486 29.0796C171.486 27.8253 170.469 26.8086 169.215 26.8086H145.438C145.347 26.8086 145.256 26.8141 145.165 26.8251C143.92 26.9761 143.033 28.1079 143.184 29.353L145.146 45.5311C145.284 46.6712 146.252 47.5287 147.401 47.5287H167.252C168.401 47.5287 169.369 46.6712 169.507 45.5311L171.469 29.353C171.48 29.2623 171.486 29.171 171.486 29.0796ZM133.401 12.7851L133.282 12.7822H51.0491C49.7687 12.7822 48.7236 13.7791 48.6615 15.0321L48.6585 15.1503V20.3601H135.672V15.1503C135.672 13.882 134.666 12.8467 133.401 12.7851Z"
|
|
25
|
+
fill="#3B5BDB"
|
|
26
|
+
/>
|
|
27
|
+
<path
|
|
28
|
+
d="M89.5104 77.7962C90.2778 77.7962 90.9044 78.3932 90.9429 79.1439L90.9447 79.217V87.6425C90.9447 88.4027 90.3421 89.0235 89.5842 89.0615L89.5104 89.0634H84.0843C83.2921 89.0634 82.6499 88.4272 82.6499 87.6425C82.6499 86.8824 83.2526 86.2616 84.0104 86.2236L84.0843 86.2217L88.0759 86.2216L88.0761 79.217C88.0761 78.4568 88.6788 77.8361 89.4366 77.798L89.5104 77.7962ZM94.825 77.5318C95.5924 77.5318 96.219 78.1288 96.2574 78.8795L96.2593 78.9527L96.2589 86.2216L100.251 86.2218C101.019 86.2218 101.645 86.8188 101.684 87.5695L101.685 87.6427C101.685 88.4028 101.083 89.0236 100.325 89.0616L100.251 89.0635H94.825C94.0576 89.0635 93.431 88.4665 93.3926 87.7158L93.3907 87.6427V78.9527C93.3907 78.1679 94.0328 77.5318 94.825 77.5318ZM48.3193 58.0547C47.1765 59.0379 45.5982 60.3956 43.5845 62.1279L59.6704 65.8774C60.4641 64.8028 61.7449 64.1047 63.1907 64.1047C64.0309 64.1047 64.7119 64.7794 64.7119 65.6116C64.7119 66.4186 64.0715 67.0775 63.2666 67.1167L63.1907 67.1185C62.4628 67.1185 61.8703 67.7076 61.8703 68.4369C61.8703 69.1422 62.4239 69.7162 63.1184 69.7537L63.1907 69.7556H65.6733C66.5134 69.7556 67.1945 70.4303 67.1945 71.2625C67.1945 72.0696 66.5541 72.7284 65.7492 72.7676L65.6733 72.7695H63.1907C60.8966 72.7695 59.0179 71.0118 58.8414 68.7808L40.2249 64.4414C39.4805 64.2679 38.9937 63.5802 39.0573 62.8472C39.021 62.4108 39.1765 61.9645 39.5143 61.6406L39.5759 61.5847L48.0414 54.3022C48.6758 53.7565 48.8917 57.5624 48.3193 58.0547ZM163.601 50.3541C164.441 50.3541 165.123 51.0288 165.123 51.861C165.123 52.6681 164.482 53.3269 163.677 53.3661L163.601 53.3679L158.396 53.3677L146.317 66.1842C145.798 66.7342 144.954 66.8185 144.337 66.3933L144.272 66.3458C140.542 63.4754 137.745 61.3226 135.88 59.8874C135.492 59.5886 135.856 56.1092 136.515 56.5623L136.582 56.6113L145.041 63.1214L154.234 53.3677L151.051 53.3679C150.211 53.3679 149.53 52.6933 149.53 51.861C149.53 51.054 150.17 50.3951 150.975 50.356L151.051 50.3541H163.601ZM170.063 26.8086C170.903 26.8086 171.584 27.4833 171.584 28.3155C171.584 28.3756 171.58 28.4356 171.573 28.4953L169.425 46.2015C169.334 46.9588 168.685 47.5287 167.915 47.5287H146.737C145.967 47.5287 145.319 46.9588 145.227 46.2015L143.079 28.4953C142.979 27.669 143.574 26.9186 144.408 26.8194C144.468 26.8122 144.529 26.8086 144.59 26.8086H170.063ZM147.196 43.4878L147.412 45.2683L148.993 45.2683L147.196 43.4878ZM153.523 42.2217L150.447 45.2683H156.598L153.523 42.2217ZM161.129 42.2217L158.054 45.2683H164.204L161.129 42.2217ZM167.456 43.489L165.66 45.2683L167.24 45.2683L167.456 43.489ZM164.932 38.4548L161.667 41.6892L164.932 44.9236L167.603 42.2774L167.73 41.2271L164.932 38.4548ZM153.523 34.6878L150.258 37.9222L153.523 41.1567L155.676 39.0242C155.824 38.8771 156.065 38.8771 156.214 39.0242C156.351 39.16 156.361 39.3737 156.245 39.5215L156.214 39.557L154.061 41.6892L157.326 44.9236L160.591 41.6892L153.523 34.6878ZM149.72 38.4548L146.921 41.2276L147.048 42.2768L149.72 44.9236L152.985 41.6892L149.72 38.4548ZM157.326 30.9202L154.061 34.1547L161.129 41.1567L164.395 37.9222L161.117 34.6753L160.098 35.6903C159.95 35.8378 159.709 35.8383 159.56 35.6916C159.411 35.5448 159.411 35.3063 159.559 35.1588L160.579 34.1427L157.326 30.9202ZM149.72 30.9202L146.105 34.5004L146.806 40.2755L149.182 37.9216L148.136 36.8855L148.104 36.85C147.988 36.7022 147.999 36.4885 148.136 36.3527C148.27 36.2203 148.478 36.207 148.627 36.313L148.674 36.3527L149.72 37.3891L152.985 34.1547L149.72 30.9202ZM164.911 30.8986L161.653 34.141L164.932 37.3891L165.793 36.5365C165.942 36.3894 166.182 36.3894 166.331 36.5365C166.468 36.6723 166.479 36.886 166.363 37.0338L166.331 37.0693L165.47 37.9216L167.846 40.2749L168.546 34.4998L164.911 30.8986ZM155.838 29.0688H151.209L151.399 29.2573L150.258 30.3871L153.523 33.6215L156.788 30.3871L155.648 29.2573L155.838 29.0688ZM163.444 29.0688H158.814L159.005 29.2573L157.864 30.3871L161.116 33.6085L164.373 30.3661L163.254 29.2573L163.444 29.0688ZM148.231 29.0688L145.447 29.069L145.99 33.5494L149.182 30.3877L148.041 29.2573L148.231 29.0688ZM169.205 29.069L166.593 29.0692C166.593 29.1652 166.556 29.2612 166.483 29.3347L165.447 30.365L168.661 33.5489L169.205 29.069ZM150.513 29.0688H148.927L149.72 29.8545L150.513 29.0688ZM158.119 29.0688H156.533L157.326 29.8545L158.119 29.0688ZM165.676 29.0688H164.139L164.91 29.8318L165.676 29.0688Z"
|
|
29
|
+
fill="#3B5BDB"
|
|
30
|
+
/>
|
|
31
|
+
<path
|
|
32
|
+
d="M132.372 11.7393C134.772 11.7393 136.73 13.6217 136.789 15.9719L136.791 16.0824L136.79 72.3274L143.659 72.2195C144.319 72.2092 144.863 72.7308 144.873 73.3847C144.884 74.016 144.393 74.5397 143.765 74.5844L143.697 74.5873L136.79 74.6954L136.791 74.8305C136.791 77.195 134.87 79.1138 132.484 79.1723L132.372 79.1736H51.8381C49.4378 79.1736 47.4805 77.2912 47.4208 74.941L47.4194 74.8305L47.4194 74.5938L35.0075 74.7057C34.3474 74.7117 33.8074 74.1864 33.8014 73.5325C33.7956 72.9011 34.2898 72.3807 34.918 72.3402L34.9858 72.3377L47.4194 72.2257L47.4194 66.1561L49.7013 66.5329V74.8305C49.7013 75.9509 50.6103 76.8686 51.754 76.9117L51.8381 76.9133H132.372C133.526 76.9133 134.463 76.0221 134.507 74.9121L134.509 74.8305L134.508 21.1882H49.7008L49.7013 63.5861L47.4194 63.2093V16.0824C47.4194 13.7179 49.3398 11.7991 51.7259 11.7406L51.8381 11.7393H132.372ZM160.689 72.2195C161.349 72.2118 161.89 72.7357 161.898 73.3896C161.905 74.021 161.413 74.5427 160.784 74.5848L160.717 74.5874L150.482 74.7057C149.822 74.7133 149.281 74.1894 149.273 73.5355C149.265 72.9042 149.758 72.3825 150.386 72.3404L150.454 72.3378L160.689 72.2195ZM28.2594 72.2197C28.9194 72.2047 29.4666 72.7225 29.4818 73.3763C29.4964 74.0075 29.0096 74.5347 28.382 74.5838L28.3142 74.5872L23.1075 74.7055C22.4475 74.7205 21.9002 74.2026 21.8851 73.5489C21.8705 72.9177 22.3573 72.3905 22.9849 72.3414L23.0527 72.338L28.2594 72.2197ZM99.0101 51.6069C99.5383 51.6069 99.9664 52.031 99.9664 52.5542C99.9664 54.3368 98.5343 55.7877 96.7477 55.8399L96.6481 55.8414H87.5851C85.7524 55.8414 84.2667 54.3698 84.2667 52.5542C84.2667 52.031 84.6949 51.6069 85.223 51.6069C85.73 51.6069 86.1449 51.9978 86.1772 52.4919L86.1793 52.5542C86.1793 53.2986 86.7686 53.9064 87.5104 53.9449L87.5851 53.9468H96.6481C97.3995 53.9468 98.0131 53.363 98.0519 52.6282L98.0538 52.5542C98.0538 52.031 98.482 51.6069 99.0101 51.6069ZM83.2558 36.9091C84.8477 36.9091 86.2424 37.9324 86.7856 39.4308C86.964 39.9232 86.7058 40.4657 86.2087 40.6425C85.7316 40.8123 85.2078 40.5833 85.0087 40.1291L84.9856 40.0711C84.709 39.3083 84.0213 38.8037 83.2558 38.8037C82.4903 38.8037 81.8026 39.3083 81.5265 40.0709C81.3481 40.5633 80.8006 40.8193 80.3034 40.6426C79.8063 40.466 79.5479 39.9236 79.7263 39.4311C80.2689 37.9326 81.6637 36.9091 83.2558 36.9091ZM101.489 36.9146C103.23 36.9146 104.785 37.9008 105.409 39.3896C105.611 39.87 105.381 40.4212 104.896 40.6207C104.431 40.812 103.901 40.6109 103.68 40.1711L103.653 40.1123C103.329 39.3398 102.475 38.7982 101.489 38.7982C100.536 38.7982 99.7074 39.3032 99.3597 40.0333L99.3244 40.1123C99.1229 40.5927 98.5665 40.8203 98.0816 40.6207C97.5967 40.4212 97.3669 39.87 97.5684 39.3896C98.1928 37.9009 99.748 36.9146 101.489 36.9146ZM158.093 21.1575C158.72 21.1575 159.228 21.6658 159.228 22.293L159.228 26.8082L171.596 26.8084C172.537 26.8084 173.3 27.571 173.3 28.5116V28.8724C173.3 29.8131 172.537 30.5757 171.596 30.5757H143.058C142.117 30.5757 141.354 29.8131 141.354 28.8724V28.5116C141.354 27.571 142.117 26.8084 143.058 26.8084L155.425 26.8082L155.425 22.293C155.425 21.6658 155.934 21.1575 156.561 21.1575H158.093ZM132.372 13.9996H51.8381C50.6833 13.9996 49.7468 14.8907 49.7029 16.0008L49.7013 16.0824L49.7008 19.7677H134.508L134.509 16.0824C134.509 14.9621 133.6 14.0443 132.456 14.0012L132.372 13.9996ZM55.8307 15.6237L55.9131 15.6272C56.3734 15.6662 56.7412 16.0285 56.7829 16.4846L56.7868 16.5712L56.7833 16.6529C56.7439 17.109 56.3775 17.4728 55.9179 17.514L55.8307 17.5179L55.7482 17.5144C55.2586 17.473 54.8743 17.0666 54.8743 16.5712C54.8743 16.0475 55.3025 15.6237 55.8307 15.6237ZM52.4837 15.6237L52.5661 15.6272C53.0266 15.6662 53.3942 16.0285 53.4358 16.4846L53.4398 16.5712L53.4362 16.6529C53.3969 17.109 53.0308 17.4728 52.5709 17.514L52.4837 17.5179L52.4012 17.5144C51.9119 17.473 51.5276 17.0666 51.5276 16.5712C51.5276 16.0475 51.9558 15.6237 52.4837 15.6237ZM59.1774 15.6237L59.2598 15.6272C59.72 15.6662 60.0878 16.0285 60.1295 16.4846L60.1335 16.5712L60.13 16.6529C60.0905 17.109 59.7242 17.4728 59.2646 17.514L59.1774 17.5179L59.0949 17.5144C58.6053 17.473 58.2213 17.0666 58.2213 16.5712C58.2213 16.0475 58.6491 15.6237 59.1774 15.6237Z"
|
|
33
|
+
fill="#3B414D"
|
|
34
|
+
/>
|
|
35
|
+
</svg>
|
|
36
|
+
);
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export default GuidedCheckoutImage;
|