@thecb/components 7.5.1 → 7.5.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 +230 -339
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +228 -339
- 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/{src → dist/src}/components/atoms/radio-button/index.js +0 -1
- 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/{src → dist/src}/components/molecules/internal-user-info-form/index.js +1 -6
- 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/icons/{ExternalLinkicon.js → ExternalLinkIcon.js} +0 -0
- package/src/components/atoms/icons/FindIconSmall.js +49 -0
- package/src/components/atoms/icons/index.js +3 -1
- package/src/components/atoms/index.js +2 -1
- package/src/components/atoms/link/ExternalLink.d.ts +1 -1
- package/src/components/atoms/link/ExternalLink.js +48 -42
- package/src/components/atoms/link/ExternalLink.styled.js +4 -2
- package/src/components/atoms/link/InternalLink.d.ts +1 -1
- package/src/components/atoms/link/InternalLink.js +48 -42
- package/src/components/atoms/link/InternalLink.styled.js +6 -3
- package/src/components/atoms/radio-button-with-label/RadioButtonWithLabel.js +92 -0
- package/src/components/atoms/radio-button-with-label/index.js +3 -0
- package/src/components/molecules/index.js +1 -1
- package/src/components/molecules/radio-group/RadioGroup.js +62 -0
- package/src/components/molecules/radio-group/RadioGroup.stories.js +44 -0
- package/src/components/molecules/radio-group/index.js +3 -0
- package/src/components/molecules/radio-section/RadioSection.js +1 -1
- package/src/components/molecules/radio-section/RadioSection.stories.js +1 -1
- package/src/components/{atoms → molecules/radio-section}/radio-button/RadioButton.js +2 -2
- package/src/components/{atoms → molecules/radio-section}/radio-button/RadioButton.theme.js +1 -1
- package/src/components/molecules/workflow-tile/WorkflowTile.js +13 -5
- package/src/.DS_Store +0 -0
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/atoms/radio-button/RadioButton.stories.js +0 -34
- package/src/components/molecules/internal-user-info-form/InternalUserInfoForm.js +0 -266
- package/src/components/molecules/internal-user-info-form/InternalUserInfoForm.state.js +0 -26
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import React, { Fragment } from "react";
|
|
2
|
+
import { fallbackValues } from "./CollapsibleSection.theme";
|
|
3
|
+
import { AnimatePresence } from "framer-motion";
|
|
4
|
+
import { themeComponent } from "../../../util/themeUtils";
|
|
5
|
+
import Title from "../../atoms/title";
|
|
6
|
+
import { FONT_WEIGHT_SEMIBOLD } from "../../../constants/style_constants";
|
|
7
|
+
import { Box, Cluster, Stack, Motion } from "../../atoms/layouts";
|
|
8
|
+
import { ChevronIcon } from "../../atoms/icons";
|
|
9
|
+
import { noop } from "../../../util/general";
|
|
10
|
+
var CollapsibleSection = function (_a) {
|
|
11
|
+
var _b;
|
|
12
|
+
var isOpen = _a.isOpen, toggleSection = _a.toggleSection, themeValues = _a.themeValues, isMobile = _a.isMobile, supportsTouch = _a.supportsTouch, title = _a.title, customPadding = _a.customPadding, _c = _a.initiallyOpen, initiallyOpen = _c === void 0 ? true : _c, _d = _a.openHeight, openHeight = _d === void 0 ? "auto" : _d, children = _a.children, _e = _a.customTitle, customTitle = _e === void 0 ? false : _e, _f = _a.stackTitle, stackTitle = _f === void 0 ? false : _f, stackTitleContent = _a.stackTitleContent, _g = _a.sectionGap, sectionGap = _g === void 0 ? "0.5rem" : _g, _h = _a.name, name = _h === void 0 ? "" : _h, _j = _a.index, index = _j === void 0 ? 1 : _j;
|
|
13
|
+
var handleKeyDown = function (e) {
|
|
14
|
+
if (e.keyCode === 13) {
|
|
15
|
+
toggleSection();
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
var numChildren = typeof children === "Array" ? children.length : 1;
|
|
19
|
+
var label = name !== "" ? name : !customTitle ? title : "collapsible section";
|
|
20
|
+
var id = "".concat((_b = label === null || label === void 0 ? void 0 : label.replaceAll(" ", "-")) === null || _b === void 0 ? void 0 : _b.toLowerCase(), "-").concat(index);
|
|
21
|
+
var wrapper = {
|
|
22
|
+
open: {
|
|
23
|
+
height: openHeight,
|
|
24
|
+
transition: {
|
|
25
|
+
duration: 0.3,
|
|
26
|
+
ease: [0.04, 0.62, 0.23, 0.98],
|
|
27
|
+
staggerChildren: 0.15
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
closed: {
|
|
31
|
+
height: 0,
|
|
32
|
+
transition: {
|
|
33
|
+
duration: 0.3,
|
|
34
|
+
ease: [0.04, 0.62, 0.23, 0.98],
|
|
35
|
+
staggerChildren: 0.15,
|
|
36
|
+
staggerDirection: -1,
|
|
37
|
+
delay: numChildren * 0.35
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
var icon = {
|
|
42
|
+
open: {
|
|
43
|
+
rotate: "90deg"
|
|
44
|
+
},
|
|
45
|
+
closed: {
|
|
46
|
+
rotate: "0deg"
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
return (React.createElement(Motion, { padding: "0", hoverStyles: "outline: none;", animate: isOpen ? "open" : "closed", positionTransition: true },
|
|
50
|
+
stackTitle && React.createElement(Fragment, null, stackTitleContent),
|
|
51
|
+
React.createElement(Stack, { childGap: isOpen && !isMobile ? sectionGap : "0rem" },
|
|
52
|
+
React.createElement(Box, { padding: "0", role: "heading", "aria-label": label, "aria-level": 3 },
|
|
53
|
+
React.createElement(Box, { padding: customPadding ? customPadding : "0", background: themeValues.headingBackgroundColor, onClick: isMobile && supportsTouch ? noop : toggleSection, onTouchEnd: isMobile && supportsTouch ? toggleSection : noop, key: "header", hoverStyles: "cursor: pointer;", tabIndex: "0", onKeyDown: handleKeyDown, extraStyles: "z-index: 25;", role: "button", "aria-expanded": isOpen.toString(), "aria-controls": id, id: "".concat(id, "-button") },
|
|
54
|
+
React.createElement(Cluster, { justify: "space-between", align: "center" },
|
|
55
|
+
customTitle ? (React.createElement(Box, { width: "calc(100% - 36px)", padding: "0px" }, title)) : (React.createElement(Title, { weight: FONT_WEIGHT_SEMIBOLD, color: themeValues.titleColor, as: "h6", variant: "small" }, title)),
|
|
56
|
+
React.createElement(Motion, { variants: icon, extraStyles: "display: flex; align-items: center;" },
|
|
57
|
+
React.createElement(ChevronIcon, null))))),
|
|
58
|
+
React.createElement(AnimatePresence, { initial: false }, isOpen && (React.createElement(Motion, { padding: "0", background: themeValues.bodyBackgroundColor, key: "content", positionTransition: true, initial: initiallyOpen ? "open" : "closed", exit: "closed", variants: wrapper, extraStyles: "transform-origin: 100% 0; overflow-y: hidden;", id: "".concat(id, "-content"), role: "region", "aria-labelledby": "".concat(id, "-button") }, children))))));
|
|
59
|
+
};
|
|
60
|
+
export default themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React, { useState } from "react";
|
|
2
|
+
import { text, boolean } from "@storybook/addon-knobs";
|
|
3
|
+
import CollapsibleSection from "./CollapsibleSection";
|
|
4
|
+
import DisplayCard from "../../atoms/display-card";
|
|
5
|
+
import { Stack, Motion } from "../../atoms/layouts";
|
|
6
|
+
import page from "../../../../.storybook/page";
|
|
7
|
+
var content = {
|
|
8
|
+
open: {
|
|
9
|
+
x: "0",
|
|
10
|
+
opacity: 1
|
|
11
|
+
},
|
|
12
|
+
closed: {
|
|
13
|
+
x: "-7.5%",
|
|
14
|
+
opacity: 0
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
export var collapsibleSection = function () {
|
|
18
|
+
var _a = useState(false), open = _a[0], setOpen = _a[1];
|
|
19
|
+
return (React.createElement(CollapsibleSection, { title: text("title", "Collapsible Section Storybook", "props"), toggleSection: function () { return setOpen(!open); }, initiallyOpen: boolean("initiallyOpen", false, "props"), isOpen: open, key: "security-section" },
|
|
20
|
+
React.createElement(Stack, { childGap: "16px" },
|
|
21
|
+
React.createElement(Motion, { padding: "0", variants: content, transition: { duration: 0.3 }, positionTransition: true, extraStyles: "transform-origin: 100% 0;" },
|
|
22
|
+
React.createElement(DisplayCard, { title: "Password", item: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022", buttonText: "Change Password", link: true, url: "" })),
|
|
23
|
+
React.createElement(Motion, { padding: "0", variants: content, transition: { duration: 0.3 }, positionTransition: true, extraStyles: "transform-origin: 100% 0;" },
|
|
24
|
+
React.createElement(DisplayCard, { title: "Name", item: "Hello Citybase", buttonText: "Edit Name", link: true, url: "" })))));
|
|
25
|
+
};
|
|
26
|
+
var story = page({
|
|
27
|
+
title: "Components|Molecules/CollapsibleSection",
|
|
28
|
+
Component: CollapsibleSection
|
|
29
|
+
});
|
|
30
|
+
export default story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export namespace fallbackValues {
|
|
2
|
+
export { titleColor };
|
|
3
|
+
export { headingBackgroundColor };
|
|
4
|
+
export { bodyBackgroundColor };
|
|
5
|
+
}
|
|
6
|
+
declare const titleColor: "#292A33";
|
|
7
|
+
declare const headingBackgroundColor: "transparent";
|
|
8
|
+
declare const bodyBackgroundColor: "transparent";
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var titleColor = "#292A33";
|
|
2
|
+
var headingBackgroundColor = "transparent";
|
|
3
|
+
var bodyBackgroundColor = "transparent";
|
|
4
|
+
export var fallbackValues = {
|
|
5
|
+
titleColor: titleColor,
|
|
6
|
+
headingBackgroundColor: headingBackgroundColor,
|
|
7
|
+
bodyBackgroundColor: bodyBackgroundColor
|
|
8
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { connect } from "react-redux";
|
|
3
|
+
import { boolean } from "@storybook/addon-knobs";
|
|
4
|
+
import EditNameForm from "./EditNameForm";
|
|
5
|
+
import page from "../../../../.storybook/page";
|
|
6
|
+
import * as EditNameFormState from "./EditNameForm.state";
|
|
7
|
+
var story = page({
|
|
8
|
+
title: "Components|Molecules/EditNameForm",
|
|
9
|
+
Component: EditNameForm,
|
|
10
|
+
reducer: EditNameFormState.reducer,
|
|
11
|
+
mapStateToProps: EditNameFormState.mapStateToProps,
|
|
12
|
+
mapDispatchToProps: EditNameFormState.mapDispatchToProps
|
|
13
|
+
});
|
|
14
|
+
export default story;
|
|
15
|
+
var ConnectedForm = connect(EditNameFormState.mapStateToProps, EditNameFormState.mapDispatchToProps)(EditNameForm);
|
|
16
|
+
export var editNameForm = function () { return (React.createElement(ConnectedForm, { showErrors: boolean("showErrors", false, "props") })); };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { useEffect } from "react";
|
|
2
|
+
import { required } from "redux-freeform";
|
|
3
|
+
import { FormInput, FormContainer, FormInputColumn } from "../../atoms/form-layouts";
|
|
4
|
+
import { noop } from "../../../util/general";
|
|
5
|
+
var EditNameForm = function (_a) {
|
|
6
|
+
var _b, _c;
|
|
7
|
+
var fields = _a.fields, actions = _a.actions, clearOnDismount = _a.clearOnDismount, showErrors = _a.showErrors, _d = _a.handleSubmit, handleSubmit = _d === void 0 ? noop : _d;
|
|
8
|
+
if (clearOnDismount) {
|
|
9
|
+
useEffect(function () { return function () { return actions.form.clear(); }; }, []);
|
|
10
|
+
}
|
|
11
|
+
var firstNameErrorMessages = (_b = {},
|
|
12
|
+
_b[required.error] = "First name is required",
|
|
13
|
+
_b);
|
|
14
|
+
var lastNameErrorMessages = (_c = {},
|
|
15
|
+
_c[required.error] = "Last name is required",
|
|
16
|
+
_c);
|
|
17
|
+
return (React.createElement(FormContainer, { role: "form", "aria-label": "Edit name" },
|
|
18
|
+
React.createElement(FormInputColumn, null,
|
|
19
|
+
React.createElement(FormInput, { labelTextWhenNoError: "First Name", errorMessages: firstNameErrorMessages, field: fields.firstName, fieldActions: actions.fields.firstName, showErrors: showErrors, onKeyDown: function (e) { return e.key === "Enter" && handleSubmit(e); }, autocomplete: "given-name" }),
|
|
20
|
+
React.createElement(FormInput, { labelTextWhenNoError: "Last Name", errorMessages: lastNameErrorMessages, field: fields.lastName, fieldActions: actions.fields.lastName, showErrors: showErrors, onKeyDown: function (e) { return e.key === "Enter" && handleSubmit(e); }, autocomplete: "family-name" }))));
|
|
21
|
+
};
|
|
22
|
+
export default EditNameForm;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
var _a;
|
|
2
|
+
import { createFormState, required } from "redux-freeform";
|
|
3
|
+
var formConfig = {
|
|
4
|
+
firstName: {
|
|
5
|
+
validators: [required()]
|
|
6
|
+
},
|
|
7
|
+
lastName: {
|
|
8
|
+
validators: [required()]
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export var reducer = (_a = createFormState(formConfig), _a.reducer), mapStateToProps = _a.mapStateToProps, mapDispatchToProps = _a.mapDispatchToProps;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import EditNameForm from "./EditNameForm";
|
|
2
|
+
import { reducer, mapStateToProps, mapDispatchToProps } from "./EditNameForm.state";
|
|
3
|
+
EditNameForm.reducer = reducer;
|
|
4
|
+
EditNameForm.mapStateToProps = mapStateToProps;
|
|
5
|
+
EditNameForm.mapDispatchToProps = mapDispatchToProps;
|
|
6
|
+
export default EditNameForm;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export default EditableList;
|
|
2
|
+
declare function EditableList({ title, titleWeight, canAdd, addItem, removeItem, editItem, itemName, renderItem, items, canEdit, canRemove, listItemSize, maxItems, useModal, modal, modalProps, autoPayMethods, as, qaPrefix, ariaLabel }: {
|
|
3
|
+
title?: string | undefined;
|
|
4
|
+
titleWeight?: string | undefined;
|
|
5
|
+
canAdd?: boolean | undefined;
|
|
6
|
+
addItem: any;
|
|
7
|
+
removeItem: any;
|
|
8
|
+
editItem: any;
|
|
9
|
+
itemName: any;
|
|
10
|
+
renderItem: any;
|
|
11
|
+
items: any;
|
|
12
|
+
canEdit?: boolean | undefined;
|
|
13
|
+
canRemove?: boolean | undefined;
|
|
14
|
+
listItemSize?: string | undefined;
|
|
15
|
+
maxItems: any;
|
|
16
|
+
useModal?: boolean | undefined;
|
|
17
|
+
modal: any;
|
|
18
|
+
modalProps: any;
|
|
19
|
+
autoPayMethods: any;
|
|
20
|
+
as?: string | undefined;
|
|
21
|
+
qaPrefix: any;
|
|
22
|
+
ariaLabel: any;
|
|
23
|
+
}): JSX.Element;
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
import React, { useState } from "react";
|
|
13
|
+
import { EditableListItem, EditableListItemControls } from "./EditableList.styled";
|
|
14
|
+
import { Box, Stack } from "../../atoms/layouts";
|
|
15
|
+
import Placeholder from "../../atoms/placeholder";
|
|
16
|
+
import ButtonWithAction from "../../atoms/button-with-action";
|
|
17
|
+
import Text from "../../atoms/text";
|
|
18
|
+
import Title from "../../atoms/title";
|
|
19
|
+
import { STORM_GREY, BOSTON_BLUE, CHARADE_GREY } from "../../../constants/colors";
|
|
20
|
+
var ACTIVE = "ACTIVE";
|
|
21
|
+
var EXPIRED = "EXPIRED";
|
|
22
|
+
var EditableList = function (_a) {
|
|
23
|
+
var _b = _a.title, title = _b === void 0 ? "" : _b, _c = _a.titleWeight, titleWeight = _c === void 0 ? "400" : _c, _d = _a.canAdd, canAdd = _d === void 0 ? true : _d, addItem = _a.addItem, removeItem = _a.removeItem, editItem = _a.editItem, itemName = _a.itemName, renderItem = _a.renderItem, items = _a.items, _e = _a.canEdit, canEdit = _e === void 0 ? true : _e, _f = _a.canRemove, canRemove = _f === void 0 ? true : _f, _g = _a.listItemSize, listItemSize = _g === void 0 ? "small" : _g, maxItems = _a.maxItems, _h = _a.useModal, useModal = _h === void 0 ? false : _h, Modal = _a.modal, modalProps = _a.modalProps, autoPayMethods = _a.autoPayMethods, _j = _a.as, as = _j === void 0 ? "p" : _j, qaPrefix = _a.qaPrefix, ariaLabel = _a.ariaLabel;
|
|
24
|
+
var addText = "Add a".concat(itemName[0].match(/[aieouAIEOU]/) ? "n" : "", " ").concat(itemName);
|
|
25
|
+
return (React.createElement(Box, { padding: "0rem 0rem 1.5rem 0rem", as: "section", "aria-labelledby": "li" },
|
|
26
|
+
React.createElement(Stack, { childGap: "0rem" },
|
|
27
|
+
title !== "" && (React.createElement(Box, { padding: "0rem 0rem 0.5rem 0rem" },
|
|
28
|
+
React.createElement(Title, { as: as, weight: titleWeight, color: CHARADE_GREY, extraStyles: "letter-spacing: 0.29px; font-size: 1.125rem;" }, title))),
|
|
29
|
+
React.createElement(Box, { padding: "0", borderRadius: "4px", extraStyles: "box-shadow: 0px 2px 14px 0px rgb(246, 246, 249),\n 0px 3px 8px 0px rgb(202, 206, 216);" }, items.map(function (item) {
|
|
30
|
+
var _a;
|
|
31
|
+
var _b = useState(false), modalOpen = _b[0], toggleModal = _b[1];
|
|
32
|
+
var expiredItem = (_a = item === null || item === void 0 ? void 0 : item.expirationStatus) !== null && _a !== void 0 ? _a : ACTIVE;
|
|
33
|
+
return (React.createElement(EditableListItem, { listItemSize: !!item.id &&
|
|
34
|
+
(autoPayMethods === null || autoPayMethods === void 0 ? void 0 : autoPayMethods.some(function (methodID) { return methodID === item.id; }))
|
|
35
|
+
? "big"
|
|
36
|
+
: listItemSize, key: item.id || item, disabled: expiredItem === EXPIRED },
|
|
37
|
+
React.createElement(Text, { variant: "p", color: CHARADE_GREY }, renderItem(item)),
|
|
38
|
+
React.createElement(EditableListItemControls, null,
|
|
39
|
+
item.isPrimary && (React.createElement(Text, { variant: "p", color: STORM_GREY, extraStyles: "font-style: italic;", key: "Default ".concat(itemName) },
|
|
40
|
+
"Default ",
|
|
41
|
+
itemName)),
|
|
42
|
+
canRemove && (React.createElement(Box, { padding: "0 0.5rem", border: "2px solid transparent", extraStyles: ":not(:first-child) { border-left: 2px solid ".concat(BOSTON_BLUE, ";}"), dataQa: qaPrefix + " Remove", key: "Remove ".concat(item.id) }, useModal ? (React.createElement(Modal, __assign({ item: __assign({}, item) }, modalProps, { modalOpen: modalOpen, toggleModal: toggleModal }))) : (React.createElement(ButtonWithAction, { variant: "smallGhost", text: "Remove", action: function () { return removeItem(item.id); }, extraStyles: "min-width: 0;", "aria-label": "Remove ".concat(ariaLabel || itemName) })))),
|
|
43
|
+
canEdit && (React.createElement(Box, { padding: "0 0.5rem", border: "2px solid transparent", extraStyles: ":not(:first-child) { border-left: 2px solid ".concat(BOSTON_BLUE, ";}"), dataQa: qaPrefix + " Edit", key: "Edit ".concat(item.id) },
|
|
44
|
+
React.createElement(ButtonWithAction, { variant: "smallGhost", text: "Edit", action: function () { return editItem(item.id); }, extraStyles: "min-width: 0;", "aria-label": "Edit ".concat(ariaLabel || itemName) }))))));
|
|
45
|
+
})),
|
|
46
|
+
canAdd && (!maxItems || items.length < maxItems) && (React.createElement(Box, { padding: items.length === 0 ? "0" : "1rem 0 0" },
|
|
47
|
+
React.createElement(Placeholder, { text: addText, action: addItem, dataQa: "Add " + qaPrefix, "aria-label": addText }))))));
|
|
48
|
+
};
|
|
49
|
+
export default EditableList;
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
import styled from "styled-components";
|
|
6
|
+
import { WHITE, GHOST_GREY } from "../../../constants/colors";
|
|
7
|
+
export var EditableListItem = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-sizing: border-box;\n background: ", ";\n border-color: ", ";\n height: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1.5rem;\n :not(:last-child),\n :not(:first-child) {\n box-shadow: inset 0px -1px 0px 0px rgb(202, 206, 216);\n }\n :first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n }\n :last-child {\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n box-shadow: none;\n }\n"], ["\n box-sizing: border-box;\n background: ", ";\n border-color: ", ";\n height: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1.5rem;\n :not(:last-child),\n :not(:first-child) {\n box-shadow: inset 0px -1px 0px 0px rgb(202, 206, 216);\n }\n :first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n }\n :last-child {\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n box-shadow: none;\n }\n"])), function (_a) {
|
|
8
|
+
var disabled = _a.disabled;
|
|
9
|
+
return disabled ? "rgba(246, 246, 249, 0.7)" : WHITE;
|
|
10
|
+
}, GHOST_GREY, function (_a) {
|
|
11
|
+
var listItemSize = _a.listItemSize;
|
|
12
|
+
return (listItemSize === "big" ? "120px" : "72px");
|
|
13
|
+
});
|
|
14
|
+
export var EditableListItemControls = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n"], ["\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n"])));
|
|
15
|
+
var templateObject_1, templateObject_2;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React, { Fragment } from "react";
|
|
2
|
+
import { EditableTableContainer, TableWrapper } from "./EditableTable.styled";
|
|
3
|
+
import { Box } from "../../atoms/layouts";
|
|
4
|
+
import Paragraph from "../../atoms/paragraph";
|
|
5
|
+
import { GHOST_GREY } from "../../../constants/colors";
|
|
6
|
+
import { FONT_WEIGHT_SEMIBOLD } from "../../../constants/style_constants";
|
|
7
|
+
import { safeChildren } from "../../../util/general";
|
|
8
|
+
var EditableTable = function (_a) {
|
|
9
|
+
var title = _a.title, renderItem = _a.renderItem, items = _a.items, isMobile = _a.isMobile;
|
|
10
|
+
var titleChild = title && (React.createElement(Box, { padding: "0 0 0.5rem 0.5rem", borderSize: "1px", borderColor: GHOST_GREY, borderWidthOverride: "0 0 1px 0" },
|
|
11
|
+
React.createElement(Paragraph, { variant: "pL", weight: FONT_WEIGHT_SEMIBOLD }, title)));
|
|
12
|
+
return (React.createElement(EditableTableContainer, { isMobile: isMobile },
|
|
13
|
+
safeChildren(titleChild, React.createElement(Fragment, null)),
|
|
14
|
+
React.createElement(TableWrapper, null, renderItem(items))));
|
|
15
|
+
};
|
|
16
|
+
export default EditableTable;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export const EditableTableContainer: any;
|
|
2
|
+
export const EditableTableListItem: any;
|
|
3
|
+
export const EditableListItemControls: any;
|
|
4
|
+
export const EditableListAction: any;
|
|
5
|
+
export const ItemWrapper: any;
|
|
6
|
+
export const ActionWrapper: any;
|
|
7
|
+
export const TableItemKey: any;
|
|
8
|
+
export const TableItemValue: any;
|
|
9
|
+
export const TableWrapper: any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
import styled from "styled-components";
|
|
6
|
+
import { BRIGHT_GREY, STORM_GREY, GHOST_GREY, MATISSE_BLUE } from "../../../constants/colors";
|
|
7
|
+
export var EditableTableContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: ", ";\n flex-direction: column;\n flex: 1;\n"], ["\n display: ", ";\n flex-direction: column;\n flex: 1;\n"])), function (_a) {
|
|
8
|
+
var hide = _a.hide;
|
|
9
|
+
return (hide ? "none" : "flex");
|
|
10
|
+
});
|
|
11
|
+
export var EditableTableListItem = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n width: 100%;\n display: flex;\n ", ";\n align-items: ", ";\n flex-direction: ", ";\n flex: 1;\n ", ";\n"], ["\n width: 100%;\n display: flex;\n ", ";\n align-items: ", ";\n flex-direction: ", ";\n flex: 1;\n ", ";\n"])), function (_a) {
|
|
12
|
+
var isMobile = _a.isMobile;
|
|
13
|
+
return isMobile && "justify-content: center";
|
|
14
|
+
}, function (_a) {
|
|
15
|
+
var isMobile = _a.isMobile;
|
|
16
|
+
return (isMobile ? "flex-start" : "center");
|
|
17
|
+
}, function (_a) {
|
|
18
|
+
var isMobile = _a.isMobile;
|
|
19
|
+
return (isMobile ? "column" : "row");
|
|
20
|
+
}, function (_a) {
|
|
21
|
+
var isMobile = _a.isMobile;
|
|
22
|
+
return isMobile ? "padding: 1rem 0.5rem" : "padding: 0 0.5rem";
|
|
23
|
+
});
|
|
24
|
+
export var EditableListItemControls = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n"], ["\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n"])));
|
|
25
|
+
export var EditableListAction = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n color: ", ";\n align-items: center;\n font-size: 1rem;\n padding-right: 1rem;\n cursor: pointer;\n display: ", ";\n"], ["\n color: ", ";\n align-items: center;\n font-size: 1rem;\n padding-right: 1rem;\n cursor: pointer;\n display: ", ";\n"])), MATISSE_BLUE, function (_a) {
|
|
26
|
+
var hide = _a.hide;
|
|
27
|
+
return (hide ? "none" : "flex");
|
|
28
|
+
});
|
|
29
|
+
export var ItemWrapper = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n flex: 1;\n width: 100%;\n border-bottom: 1px solid ", ";\n"], ["\n display: flex;\n flex-direction: row;\n flex: 1;\n width: 100%;\n border-bottom: 1px solid ", ";\n"])), GHOST_GREY);
|
|
30
|
+
export var ActionWrapper = styled.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n display: flex;\n align-self: center;\n justify-content: flex-end;\n ", ";\n flex: 1;\n"], ["\n display: flex;\n align-self: center;\n justify-content: flex-end;\n ", ";\n flex: 1;\n"])), function (_a) {
|
|
31
|
+
var isMobile = _a.isMobile;
|
|
32
|
+
return isMobile && "display: none";
|
|
33
|
+
});
|
|
34
|
+
export var TableItemKey = styled.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n display: flex;\n ", ";\n ", ";\n ", ";\n font-size: ", ";\n color: ", ";\n"], ["\n display: flex;\n ", ";\n ", ";\n ", ";\n font-size: ", ";\n color: ", ";\n"])), function (_a) {
|
|
35
|
+
var isMobile = _a.isMobile;
|
|
36
|
+
return !isMobile && "flex: 1";
|
|
37
|
+
}, function (_a) {
|
|
38
|
+
var isMobile = _a.isMobile;
|
|
39
|
+
return isMobile && "align-items: center";
|
|
40
|
+
}, function (_a) {
|
|
41
|
+
var isMobile = _a.isMobile;
|
|
42
|
+
return !isMobile && "padding: 1.25rem 0";
|
|
43
|
+
}, function (_a) {
|
|
44
|
+
var isMobile = _a.isMobile;
|
|
45
|
+
return (isMobile ? "1rem" : "1.125rem");
|
|
46
|
+
}, STORM_GREY);
|
|
47
|
+
export var TableItemValue = styled.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: flex;\n ", ";\n ", ";\n ", ";\n font-size: ", ";\n color: ", ";\n"], ["\n display: flex;\n ", ";\n ", ";\n ", ";\n font-size: ", ";\n color: ", ";\n"])), function (_a) {
|
|
48
|
+
var isMobile = _a.isMobile;
|
|
49
|
+
return !isMobile && "flex: 1";
|
|
50
|
+
}, function (_a) {
|
|
51
|
+
var isMobile = _a.isMobile;
|
|
52
|
+
return !isMobile && "padding: 1.25rem 0";
|
|
53
|
+
}, function (_a) {
|
|
54
|
+
var isMobile = _a.isMobile;
|
|
55
|
+
return isMobile && "align-items: center";
|
|
56
|
+
}, function (_a) {
|
|
57
|
+
var isMobile = _a.isMobile;
|
|
58
|
+
return (isMobile ? "1.125rem" : "1.0625rem");
|
|
59
|
+
}, BRIGHT_GREY);
|
|
60
|
+
export var TableWrapper = styled.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n flex: 1;\n width: 100%;\n"], ["\n display: flex;\n flex-direction: row;\n flex: 1;\n width: 100%;\n"])));
|
|
61
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default TableListItem;
|
|
2
|
+
declare function TableListItem({ title, value, canEdit, canRemove, isMobile, borderTopItem }: {
|
|
3
|
+
title: any;
|
|
4
|
+
value: any;
|
|
5
|
+
canEdit?: boolean | undefined;
|
|
6
|
+
canRemove?: boolean | undefined;
|
|
7
|
+
isMobile: any;
|
|
8
|
+
borderTopItem: any;
|
|
9
|
+
}): JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { Fragment } from "react";
|
|
2
|
+
import { EditableTableListItem, EditableListAction, ItemWrapper, ActionWrapper, TableItemKey, TableItemValue } from "./EditableTable.styled";
|
|
3
|
+
import { Box } from "../../atoms/layouts";
|
|
4
|
+
import Text from "../../atoms/text";
|
|
5
|
+
import { CHARADE_GREY, GHOST_GREY } from "../../../constants/colors";
|
|
6
|
+
var TableListItem = function (_a) {
|
|
7
|
+
var title = _a.title, value = _a.value, _b = _a.canEdit, canEdit = _b === void 0 ? false : _b, _c = _a.canRemove, canRemove = _c === void 0 ? false : _c, isMobile = _a.isMobile, borderTopItem = _a.borderTopItem;
|
|
8
|
+
return (React.createElement(Box, { padding: "0px", extraStyles: "&:last-child {\n > * {\n border-bottom: none;\n }\n }\n ".concat(isMobile &&
|
|
9
|
+
borderTopItem &&
|
|
10
|
+
"&:first-child {\n > * {\n border-top: 1px solid ".concat(GHOST_GREY, ";\n }\n }"), "\n ") },
|
|
11
|
+
React.createElement(ItemWrapper, null,
|
|
12
|
+
React.createElement(EditableTableListItem, { isMobile: isMobile },
|
|
13
|
+
React.createElement(TableItemKey, { isMobile: isMobile },
|
|
14
|
+
React.createElement(Text, { variant: "pS", color: CHARADE_GREY }, title)),
|
|
15
|
+
React.createElement(TableItemValue, { isMobile: isMobile },
|
|
16
|
+
React.createElement(Text, { variant: "p", color: CHARADE_GREY }, value)),
|
|
17
|
+
canRemove || canEdit ? (React.createElement(ActionWrapper, { isMobile: isMobile },
|
|
18
|
+
React.createElement(EditableListAction, { hide: !canRemove, onClick: function () { return console.log("Remove Item Coming Soon..."); } }, "Remove"),
|
|
19
|
+
React.createElement(EditableListAction, { hide: !canEdit, onClick: function () { return console.log("Edit Item Coming Soon..."); } }, "Edit"))) : (React.createElement(Fragment, null))))));
|
|
20
|
+
};
|
|
21
|
+
export default TableListItem;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default EmailForm;
|
|
2
|
+
declare function EmailForm({ variant, clearOnDismount, fields, actions, showErrors, guestCheckout, handleSubmit, showWalletCheckbox, saveToWallet, walletCheckboxMarked }: {
|
|
3
|
+
variant?: string | undefined;
|
|
4
|
+
clearOnDismount: any;
|
|
5
|
+
fields: any;
|
|
6
|
+
actions: any;
|
|
7
|
+
showErrors: any;
|
|
8
|
+
guestCheckout: any;
|
|
9
|
+
handleSubmit?: (() => void) | undefined;
|
|
10
|
+
showWalletCheckbox: any;
|
|
11
|
+
saveToWallet: any;
|
|
12
|
+
walletCheckboxMarked: any;
|
|
13
|
+
}): JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { useEffect } from "react";
|
|
2
|
+
import { required, isProbablyEmail } from "redux-freeform";
|
|
3
|
+
import { FormInput, FormContainer, FormInputColumn } from "../../atoms/form-layouts";
|
|
4
|
+
import Checkbox from "../../atoms/checkbox";
|
|
5
|
+
import Paragraph from "../../atoms/paragraph";
|
|
6
|
+
import { noop } from "../../../util/general";
|
|
7
|
+
var EmailForm = function (_a) {
|
|
8
|
+
var _b;
|
|
9
|
+
var _c = _a.variant, variant = _c === void 0 ? "default" : _c, clearOnDismount = _a.clearOnDismount, fields = _a.fields, actions = _a.actions, showErrors = _a.showErrors, guestCheckout = _a.guestCheckout, _d = _a.handleSubmit, handleSubmit = _d === void 0 ? noop : _d, showWalletCheckbox = _a.showWalletCheckbox, saveToWallet = _a.saveToWallet, walletCheckboxMarked = _a.walletCheckboxMarked;
|
|
10
|
+
if (clearOnDismount) {
|
|
11
|
+
useEffect(function () { return function () { return actions.form.clear(); }; }, []);
|
|
12
|
+
}
|
|
13
|
+
var emailFieldErrorMessages = (_b = {},
|
|
14
|
+
_b[required.error] = "Email address is required",
|
|
15
|
+
_b[isProbablyEmail.error] = "Invalid email address",
|
|
16
|
+
_b);
|
|
17
|
+
return (React.createElement(FormContainer, { variant: variant, role: "form", "aria-label": "Email address" },
|
|
18
|
+
guestCheckout && (React.createElement(Paragraph, { margin: "0 0 1.125rem 0" }, "If desired, you can create a wallet later for faster checkout")),
|
|
19
|
+
React.createElement(FormInputColumn, null,
|
|
20
|
+
React.createElement(FormInput, { labelTextWhenNoError: "Email address", errorMessages: emailFieldErrorMessages, type: "email", field: fields.email, fieldActions: actions.fields.email, showErrors: showErrors, onKeyDown: function (e) { return e.key === "Enter" && handleSubmit(e); }, isEmail: true, autocomplete: "email" }),
|
|
21
|
+
showWalletCheckbox && (React.createElement(Checkbox, { name: "email checkbox", title: "Save email address to wallet", checked: walletCheckboxMarked, onChange: saveToWallet })))));
|
|
22
|
+
};
|
|
23
|
+
export default EmailForm;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var _a;
|
|
2
|
+
import { createFormState, required, isProbablyEmail } from "redux-freeform";
|
|
3
|
+
var formConfig = {
|
|
4
|
+
email: {
|
|
5
|
+
validators: [required(), isProbablyEmail()]
|
|
6
|
+
}
|
|
7
|
+
};
|
|
8
|
+
export var reducer = (_a = createFormState(formConfig), _a.reducer), mapStateToProps = _a.mapStateToProps, mapDispatchToProps = _a.mapDispatchToProps;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { connect } from "react-redux";
|
|
3
|
+
import { boolean } from "@storybook/addon-knobs";
|
|
4
|
+
import EmailForm from "./EmailForm";
|
|
5
|
+
import page from "../../../../.storybook/page";
|
|
6
|
+
import * as EmailFormState from "./EmailForm.state";
|
|
7
|
+
var story = page({
|
|
8
|
+
title: "Components|Molecules/EmailForm",
|
|
9
|
+
Component: EmailForm,
|
|
10
|
+
reducer: EmailFormState.reducer,
|
|
11
|
+
mapStateToProps: EmailFormState.mapStateToProps,
|
|
12
|
+
mapDispatchToProps: EmailFormState.mapDispatchToProps
|
|
13
|
+
});
|
|
14
|
+
export default story;
|
|
15
|
+
var ConnectedForm = connect(EmailFormState.mapStateToProps, EmailFormState.mapDispatchToProps)(EmailForm);
|
|
16
|
+
export var emailForm = function () { return (React.createElement(ConnectedForm, { showErrors: boolean("showErrors", false, "props"), showWalletCheckbox: boolean("showWalletCheckbox", false, "props") })); };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import EmailForm from "./EmailForm";
|
|
2
|
+
import { reducer, mapStateToProps, mapDispatchToProps } from "./EmailForm.state";
|
|
3
|
+
EmailForm.reducer = reducer;
|
|
4
|
+
EmailForm.mapStateToProps = mapStateToProps;
|
|
5
|
+
EmailForm.mapDispatchToProps = mapDispatchToProps;
|
|
6
|
+
export default EmailForm;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default ForgotPasswordForm;
|
|
2
|
+
declare function ForgotPasswordForm({ fields, actions, clearOnDismount, showErrors, handleSubmit }: {
|
|
3
|
+
fields: any;
|
|
4
|
+
actions: any;
|
|
5
|
+
clearOnDismount: any;
|
|
6
|
+
showErrors: any;
|
|
7
|
+
handleSubmit?: (() => void) | undefined;
|
|
8
|
+
}): JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React, { useEffect } from "react";
|
|
2
|
+
import { required, isProbablyEmail } from "redux-freeform";
|
|
3
|
+
import { FormInput } from "../../atoms/form-layouts";
|
|
4
|
+
import { noop } from "../../../util/general";
|
|
5
|
+
var ForgotPasswordForm = function (_a) {
|
|
6
|
+
var _b;
|
|
7
|
+
var fields = _a.fields, actions = _a.actions, clearOnDismount = _a.clearOnDismount, showErrors = _a.showErrors, _c = _a.handleSubmit, handleSubmit = _c === void 0 ? noop : _c;
|
|
8
|
+
if (clearOnDismount) {
|
|
9
|
+
useEffect(function () { return function () { return actions.form.clear(); }; }, []);
|
|
10
|
+
}
|
|
11
|
+
var EmailErrorMessages = (_b = {},
|
|
12
|
+
_b[required.error] = "Email address is required",
|
|
13
|
+
_b[isProbablyEmail.error] = "Email address is not valid",
|
|
14
|
+
_b);
|
|
15
|
+
return (React.createElement(FormInput, { labelTextWhenNoError: "Email address", errorMessages: EmailErrorMessages, field: fields.email, fieldActions: actions.fields.email, showErrors: showErrors, onKeyDown: function (e) { return e.key === "Enter" && handleSubmit(e); }, isEmail: true, autocomplete: "email" }));
|
|
16
|
+
};
|
|
17
|
+
export default ForgotPasswordForm;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var _a;
|
|
2
|
+
import { createFormState, required, isProbablyEmail } from "redux-freeform";
|
|
3
|
+
var formConfig = {
|
|
4
|
+
email: {
|
|
5
|
+
validators: [required(), isProbablyEmail()]
|
|
6
|
+
}
|
|
7
|
+
};
|
|
8
|
+
export var reducer = (_a = createFormState(formConfig), _a.reducer), mapStateToProps = _a.mapStateToProps, mapDispatchToProps = _a.mapDispatchToProps;
|