@thecb/components 7.5.2 → 7.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +384 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.esm.js +384 -13
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/icons/RevenueManagementImage.d.ts +1 -0
- package/src/components/atoms/icons/RevenueManagementImage.js +449 -0
- package/src/components/atoms/icons/index.d.ts +1 -0
- package/src/components/atoms/icons/index.js +2 -0
- package/dist/.storybook/page.d.ts +0 -13
- package/dist/.storybook/page.js +0 -41
- package/dist/.storybook/themes/apc.theme.d.ts +0 -79
- package/dist/.storybook/themes/apc.theme.js +0 -1
- package/dist/.storybook/themes/index.d.ts +0 -2
- package/dist/.storybook/themes/index.js +0 -2
- package/dist/.storybook/themes/sf.theme.d.ts +0 -231
- package/dist/.storybook/themes/sf.theme.js +0 -1
- package/dist/button-with-action/ButtonWithActionProps.js +0 -0
- package/dist/button-with-link/ButtonWithLinkProps.js +0 -1
- package/dist/nav-tabs/TabConfig.js +0 -0
- package/dist/src/components/atoms/add-obligation/AddObligation.d.ts +0 -5
- package/dist/src/components/atoms/add-obligation/AddObligation.js +0 -21
- package/dist/src/components/atoms/add-obligation/AddObligation.stories.d.ts +0 -7
- package/dist/src/components/atoms/add-obligation/AddObligation.stories.js +0 -10
- package/dist/src/components/atoms/add-obligation/AddObligation.theme.d.ts +0 -9
- package/dist/src/components/atoms/add-obligation/AddObligation.theme.js +0 -8
- package/dist/src/components/atoms/add-obligation/index.d.ts +0 -2
- package/dist/src/components/atoms/add-obligation/index.js +0 -2
- package/dist/src/components/atoms/alert/Alert.d.ts +0 -5
- package/dist/src/components/atoms/alert/Alert.js +0 -26
- package/dist/src/components/atoms/alert/Alert.stories.d.ts +0 -7
- package/dist/src/components/atoms/alert/Alert.stories.js +0 -19
- package/dist/src/components/atoms/alert/Alert.theme.d.ts +0 -65
- package/dist/src/components/atoms/alert/Alert.theme.js +0 -45
- package/dist/src/components/atoms/alert/index.d.ts +0 -2
- package/dist/src/components/atoms/alert/index.js +0 -2
- package/dist/src/components/atoms/amount-callout/AmountCallout.d.ts +0 -5
- package/dist/src/components/atoms/amount-callout/AmountCallout.js +0 -12
- package/dist/src/components/atoms/amount-callout/AmountCallout.stories.d.ts +0 -7
- package/dist/src/components/atoms/amount-callout/AmountCallout.stories.js +0 -18
- package/dist/src/components/atoms/amount-callout/AmountCallout.theme.d.ts +0 -5
- package/dist/src/components/atoms/amount-callout/AmountCallout.theme.js +0 -4
- package/dist/src/components/atoms/amount-callout/index.d.ts +0 -2
- package/dist/src/components/atoms/amount-callout/index.js +0 -2
- package/dist/src/components/atoms/box-with-shadow/BoxWithShadow.d.ts +0 -5
- package/dist/src/components/atoms/box-with-shadow/BoxWithShadow.js +0 -43
- package/dist/src/components/atoms/box-with-shadow/BoxWithShadow.theme.d.ts +0 -5
- package/dist/src/components/atoms/box-with-shadow/BoxWithShadow.theme.js +0 -5
- package/dist/src/components/atoms/box-with-shadow/index.d.ts +0 -2
- package/dist/src/components/atoms/box-with-shadow/index.js +0 -2
- package/dist/src/components/atoms/breadcrumb/Breadcrumb.d.ts +0 -4
- package/dist/src/components/atoms/breadcrumb/Breadcrumb.js +0 -22
- package/dist/src/components/atoms/breadcrumb/Breadcrumb.stories.d.ts +0 -7
- package/dist/src/components/atoms/breadcrumb/Breadcrumb.stories.js +0 -37
- package/dist/src/components/atoms/breadcrumb/Breadcrumb.theme.d.ts +0 -19
- package/dist/src/components/atoms/breadcrumb/Breadcrumb.theme.js +0 -24
- package/dist/src/components/atoms/breadcrumb/index.d.ts +0 -2
- package/dist/src/components/atoms/breadcrumb/index.js +0 -2
- package/dist/src/components/atoms/button-with-action/ButtonWithAction.d.ts +0 -15
- package/dist/src/components/atoms/button-with-action/ButtonWithAction.js +0 -86
- package/dist/src/components/atoms/button-with-action/ButtonWithAction.stories.d.ts +0 -7
- package/dist/src/components/atoms/button-with-action/ButtonWithAction.stories.js +0 -24
- package/dist/src/components/atoms/button-with-action/ButtonWithAction.theme.d.ts +0 -342
- package/dist/src/components/atoms/button-with-action/ButtonWithAction.theme.js +0 -202
- package/dist/src/components/atoms/button-with-action/ButtonWithActionProps.d.ts +0 -14
- package/dist/src/components/atoms/button-with-action/ButtonWithActionProps.js +0 -1
- package/dist/src/components/atoms/button-with-action/index.d.ts +0 -2
- package/dist/src/components/atoms/button-with-action/index.js +0 -2
- package/dist/src/components/atoms/button-with-link/ButtonWithLink.d.ts +0 -11
- package/dist/src/components/atoms/button-with-link/ButtonWithLink.js +0 -41
- package/dist/src/components/atoms/button-with-link/ButtonWithLink.stories.d.ts +0 -7
- package/dist/src/components/atoms/button-with-link/ButtonWithLink.stories.js +0 -21
- package/dist/src/components/atoms/button-with-link/ButtonWithLinkProps.d.ts +0 -10
- package/dist/src/components/atoms/button-with-link/ButtonWithLinkProps.js +0 -2
- package/dist/src/components/atoms/button-with-link/index.d.ts +0 -2
- package/dist/src/components/atoms/button-with-link/index.js +0 -2
- package/dist/src/components/atoms/card/Card.d.ts +0 -5
- package/dist/src/components/atoms/card/Card.js +0 -18
- package/dist/src/components/atoms/card/Card.theme.d.ts +0 -5
- package/dist/src/components/atoms/card/Card.theme.js +0 -5
- package/dist/src/components/atoms/card/index.d.ts +0 -2
- package/dist/src/components/atoms/card/index.js +0 -2
- package/dist/src/components/atoms/checkbox/Checkbox.d.ts +0 -5
- package/dist/src/components/atoms/checkbox/Checkbox.js +0 -52
- package/dist/src/components/atoms/checkbox/Checkbox.stories.d.ts +0 -7
- package/dist/src/components/atoms/checkbox/Checkbox.stories.js +0 -16
- package/dist/src/components/atoms/checkbox/Checkbox.theme.d.ts +0 -68
- package/dist/src/components/atoms/checkbox/Checkbox.theme.js +0 -39
- package/dist/src/components/atoms/checkbox/index.d.ts +0 -2
- package/dist/src/components/atoms/checkbox/index.js +0 -2
- package/dist/src/components/atoms/checkbox-list/CheckboxList.d.ts +0 -6
- package/dist/src/components/atoms/checkbox-list/CheckboxList.js +0 -40
- package/dist/src/components/atoms/checkbox-list/CheckboxList.stories.d.ts +0 -7
- package/dist/src/components/atoms/checkbox-list/CheckboxList.stories.js +0 -41
- package/dist/src/components/atoms/checkbox-list/CheckboxList.theme.d.ts +0 -44
- package/dist/src/components/atoms/checkbox-list/CheckboxList.theme.js +0 -33
- package/dist/src/components/atoms/checkbox-list/index.d.ts +0 -2
- package/dist/src/components/atoms/checkbox-list/index.js +0 -2
- package/dist/src/components/atoms/country-dropdown/CountryDropdown.d.ts +0 -9
- package/dist/src/components/atoms/country-dropdown/CountryDropdown.js +0 -8
- package/dist/src/components/atoms/country-dropdown/CountryDropdown.stories.d.ts +0 -7
- package/dist/src/components/atoms/country-dropdown/CountryDropdown.stories.js +0 -31
- package/dist/src/components/atoms/country-dropdown/index.d.ts +0 -1
- package/dist/src/components/atoms/country-dropdown/index.js +0 -1
- package/dist/src/components/atoms/country-dropdown/options.d.ts +0 -4
- package/dist/src/components/atoms/country-dropdown/options.js +0 -249
- package/dist/src/components/atoms/detail/Detail.d.ts +0 -5
- package/dist/src/components/atoms/detail/Detail.js +0 -63
- package/dist/src/components/atoms/detail/Detail.styled.d.ts +0 -1
- package/dist/src/components/atoms/detail/Detail.styled.js +0 -28
- package/dist/src/components/atoms/detail/Detail.theme.d.ts +0 -36
- package/dist/src/components/atoms/detail/Detail.theme.js +0 -28
- package/dist/src/components/atoms/detail/index.d.ts +0 -2
- package/dist/src/components/atoms/detail/index.js +0 -2
- package/dist/src/components/atoms/display-box/DisplayBox.d.ts +0 -5
- package/dist/src/components/atoms/display-box/DisplayBox.js +0 -11
- package/dist/src/components/atoms/display-box/DisplayBox.stories.d.ts +0 -7
- package/dist/src/components/atoms/display-box/DisplayBox.stories.js +0 -12
- package/dist/src/components/atoms/display-box/DisplayBox.theme.d.ts +0 -7
- package/dist/src/components/atoms/display-box/DisplayBox.theme.js +0 -7
- package/dist/src/components/atoms/display-box/index.d.ts +0 -2
- package/dist/src/components/atoms/display-box/index.js +0 -2
- package/dist/src/components/atoms/display-card/DisplayCard.d.ts +0 -9
- package/dist/src/components/atoms/display-card/DisplayCard.js +0 -22
- package/dist/src/components/atoms/display-card/DisplayCard.stories.d.ts +0 -7
- package/dist/src/components/atoms/display-card/DisplayCard.stories.js +0 -10
- package/dist/src/components/atoms/display-card/index.d.ts +0 -2
- package/dist/src/components/atoms/display-card/index.js +0 -2
- package/dist/src/components/atoms/dropdown/Dropdown.d.ts +0 -5
- package/dist/src/components/atoms/dropdown/Dropdown.js +0 -258
- package/dist/src/components/atoms/dropdown/Dropdown.stories.d.ts +0 -7
- package/dist/src/components/atoms/dropdown/Dropdown.stories.js +0 -30
- package/dist/src/components/atoms/dropdown/Dropdown.theme.d.ts +0 -7
- package/dist/src/components/atoms/dropdown/Dropdown.theme.js +0 -7
- package/dist/src/components/atoms/dropdown/DropdownIcon.d.ts +0 -2
- package/dist/src/components/atoms/dropdown/DropdownIcon.js +0 -7
- package/dist/src/components/atoms/dropdown/index.d.ts +0 -2
- package/dist/src/components/atoms/dropdown/index.js +0 -2
- package/dist/src/components/atoms/form-layouts/FormContainer.d.ts +0 -5
- package/dist/src/components/atoms/form-layouts/FormContainer.js +0 -34
- package/dist/src/components/atoms/form-layouts/FormFooterPanel.d.ts +0 -5
- package/dist/src/components/atoms/form-layouts/FormFooterPanel.js +0 -15
- package/dist/src/components/atoms/form-layouts/FormInput.d.ts +0 -5
- package/dist/src/components/atoms/form-layouts/FormInput.js +0 -116
- package/dist/src/components/atoms/form-layouts/FormInputColumn.d.ts +0 -7
- package/dist/src/components/atoms/form-layouts/FormInputColumn.js +0 -29
- package/dist/src/components/atoms/form-layouts/FormInputRow.d.ts +0 -9
- package/dist/src/components/atoms/form-layouts/FormInputRow.js +0 -30
- package/dist/src/components/atoms/form-layouts/FormLayouts.stories.d.ts +0 -7
- package/dist/src/components/atoms/form-layouts/FormLayouts.stories.js +0 -38
- package/dist/src/components/atoms/form-layouts/FormLayouts.theme.d.ts +0 -86
- package/dist/src/components/atoms/form-layouts/FormLayouts.theme.js +0 -44
- package/dist/src/components/atoms/form-layouts/index.d.ts +0 -6
- package/dist/src/components/atoms/form-layouts/index.js +0 -6
- package/dist/src/components/atoms/form-select/FormSelect.d.ts +0 -5
- package/dist/src/components/atoms/form-select/FormSelect.js +0 -36
- package/dist/src/components/atoms/form-select/FormSelect.stories.d.ts +0 -7
- package/dist/src/components/atoms/form-select/FormSelect.stories.js +0 -36
- package/dist/src/components/atoms/form-select/FormSelect.styled.d.ts +0 -3
- package/dist/src/components/atoms/form-select/FormSelect.styled.js +0 -22
- package/dist/src/components/atoms/form-select/FormSelect.theme.d.ts +0 -81
- package/dist/src/components/atoms/form-select/FormSelect.theme.js +0 -40
- package/dist/src/components/atoms/form-select/index.d.ts +0 -2
- package/dist/src/components/atoms/form-select/index.js +0 -2
- package/dist/src/components/atoms/formatted-address/FormattedAddress.d.ts +0 -5
- package/dist/src/components/atoms/formatted-address/FormattedAddress.js +0 -22
- package/dist/src/components/atoms/formatted-address/FormattedAddress.stories.d.ts +0 -7
- package/dist/src/components/atoms/formatted-address/FormattedAddress.stories.js +0 -18
- package/dist/src/components/atoms/formatted-address/FormattedAddress.theme.d.ts +0 -23
- package/dist/src/components/atoms/formatted-address/FormattedAddress.theme.js +0 -9
- package/dist/src/components/atoms/formatted-address/index.d.ts +0 -2
- package/dist/src/components/atoms/formatted-address/index.js +0 -2
- package/dist/src/components/atoms/formatted-credit-card/FormattedCreditCard.d.ts +0 -7
- package/dist/src/components/atoms/formatted-credit-card/FormattedCreditCard.js +0 -47
- package/dist/src/components/atoms/formatted-credit-card/FormattedCreditCard.theme.d.ts +0 -7
- package/dist/src/components/atoms/formatted-credit-card/FormattedCreditCard.theme.js +0 -7
- package/dist/src/components/atoms/formatted-credit-card/index.d.ts +0 -2
- package/dist/src/components/atoms/formatted-credit-card/index.js +0 -2
- package/dist/src/components/atoms/hamburger-button/HamburgerButton.d.ts +0 -8
- package/dist/src/components/atoms/hamburger-button/HamburgerButton.js +0 -27
- package/dist/src/components/atoms/hamburger-button/HamburgerButton.stories.d.ts +0 -7
- package/dist/src/components/atoms/hamburger-button/HamburgerButton.stories.js +0 -11
- package/dist/src/components/atoms/hamburger-button/index.d.ts +0 -2
- package/dist/src/components/atoms/hamburger-button/index.js +0 -2
- package/dist/src/components/atoms/heading/Heading.d.ts +0 -5
- package/dist/src/components/atoms/heading/Heading.js +0 -40
- package/dist/src/components/atoms/heading/Heading.stories.d.ts +0 -7
- package/dist/src/components/atoms/heading/Heading.stories.js +0 -10
- package/dist/src/components/atoms/heading/Heading.styled.d.ts +0 -1
- package/dist/src/components/atoms/heading/Heading.styled.js +0 -28
- package/dist/src/components/atoms/heading/Heading.theme.d.ts +0 -17
- package/dist/src/components/atoms/heading/Heading.theme.js +0 -16
- package/dist/src/components/atoms/heading/index.d.ts +0 -2
- package/dist/src/components/atoms/heading/index.js +0 -2
- package/dist/src/components/atoms/icons/AccountNumberImage.d.ts +0 -2
- package/dist/src/components/atoms/icons/AccountNumberImage.js +0 -20
- package/dist/src/components/atoms/icons/AccountsAddIcon.d.ts +0 -5
- package/dist/src/components/atoms/icons/AccountsAddIcon.js +0 -16
- package/dist/src/components/atoms/icons/AccountsIcon.d.ts +0 -5
- package/dist/src/components/atoms/icons/AccountsIcon.js +0 -15
- package/dist/src/components/atoms/icons/AccountsIconSmall.d.ts +0 -5
- package/dist/src/components/atoms/icons/AccountsIconSmall.js +0 -20
- package/dist/src/components/atoms/icons/AchReturnIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/AchReturnIcon.js +0 -6
- package/dist/src/components/atoms/icons/AllocatedIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/AllocatedIcon.js +0 -6
- package/dist/src/components/atoms/icons/AutopayOnIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/AutopayOnIcon.js +0 -6
- package/dist/src/components/atoms/icons/BankIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/BankIcon.js +0 -7
- package/dist/src/components/atoms/icons/CalendarIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/CalendarIcon.js +0 -6
- package/dist/src/components/atoms/icons/CarrotIcon.d.ts +0 -5
- package/dist/src/components/atoms/icons/CarrotIcon.js +0 -20
- package/dist/src/components/atoms/icons/CashIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/CashIcon.js +0 -7
- package/dist/src/components/atoms/icons/ChargebackIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/ChargebackIcon.js +0 -6
- package/dist/src/components/atoms/icons/ChargebackReversalIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/ChargebackReversalIcon.js +0 -6
- package/dist/src/components/atoms/icons/CheckIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/CheckIcon.js +0 -12
- package/dist/src/components/atoms/icons/CheckmarkIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/CheckmarkIcon.js +0 -12
- package/dist/src/components/atoms/icons/ChevronIcon.d.ts +0 -5
- package/dist/src/components/atoms/icons/ChevronIcon.js +0 -16
- package/dist/src/components/atoms/icons/CustomerSearchIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/CustomerSearchIcon.js +0 -22
- package/dist/src/components/atoms/icons/DuplicateIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/DuplicateIcon.js +0 -6
- package/dist/src/components/atoms/icons/EmptyCartIcon.d.ts +0 -5
- package/dist/src/components/atoms/icons/EmptyCartIcon.js +0 -13
- package/dist/src/components/atoms/icons/ErroredIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/ErroredIcon.js +0 -6
- package/dist/src/components/atoms/icons/ExternalLinkIcon.d.ts +0 -5
- package/dist/src/components/atoms/icons/ExternalLinkIcon.js +0 -11
- package/dist/src/components/atoms/icons/FailedIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/FailedIcon.js +0 -6
- package/dist/src/components/atoms/icons/ForgotPasswordIcon.d.ts +0 -5
- package/dist/src/components/atoms/icons/ForgotPasswordIcon.js +0 -17
- package/dist/src/components/atoms/icons/GenericCard.d.ts +0 -2
- package/dist/src/components/atoms/icons/GenericCard.js +0 -6
- package/dist/src/components/atoms/icons/GenericCardLarge.d.ts +0 -2
- package/dist/src/components/atoms/icons/GenericCardLarge.js +0 -8
- package/dist/src/components/atoms/icons/GoToEmailIcon.d.ts +0 -5
- package/dist/src/components/atoms/icons/GoToEmailIcon.js +0 -16
- package/dist/src/components/atoms/icons/IconAdd.d.ts +0 -2
- package/dist/src/components/atoms/icons/IconAdd.js +0 -14
- package/dist/src/components/atoms/icons/IconQuitLarge.d.ts +0 -4
- package/dist/src/components/atoms/icons/IconQuitLarge.js +0 -19
- package/dist/src/components/atoms/icons/Icons.theme.d.ts +0 -33
- package/dist/src/components/atoms/icons/Icons.theme.js +0 -27
- package/dist/src/components/atoms/icons/NoCustomerResultsIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/NoCustomerResultsIcon.js +0 -15
- package/dist/src/components/atoms/icons/NoPaymentResultsIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/NoPaymentResultsIcon.js +0 -16
- package/dist/src/components/atoms/icons/NotFoundIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/NotFoundIcon.js +0 -56
- package/dist/src/components/atoms/icons/PaymentIcon.d.ts +0 -8
- package/dist/src/components/atoms/icons/PaymentIcon.js +0 -30
- package/dist/src/components/atoms/icons/PaymentMethodAddIcon.d.ts +0 -5
- package/dist/src/components/atoms/icons/PaymentMethodAddIcon.js +0 -28
- package/dist/src/components/atoms/icons/PaymentMethodIcon.d.ts +0 -5
- package/dist/src/components/atoms/icons/PaymentMethodIcon.js +0 -15
- package/dist/src/components/atoms/icons/PaymentSearchIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/PaymentSearchIcon.js +0 -23
- package/dist/src/components/atoms/icons/PaymentsIconSmall.d.ts +0 -5
- package/dist/src/components/atoms/icons/PaymentsIconSmall.js +0 -20
- package/dist/src/components/atoms/icons/PendingIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/PendingIcon.js +0 -6
- package/dist/src/components/atoms/icons/PeriscopeFailedIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/PeriscopeFailedIcon.js +0 -56
- package/dist/src/components/atoms/icons/ProfileIcon.d.ts +0 -5
- package/dist/src/components/atoms/icons/ProfileIcon.js +0 -16
- package/dist/src/components/atoms/icons/ProfileIconSmall.d.ts +0 -5
- package/dist/src/components/atoms/icons/ProfileIconSmall.js +0 -12
- package/dist/src/components/atoms/icons/PropertiesAddIcon.d.ts +0 -5
- package/dist/src/components/atoms/icons/PropertiesAddIcon.js +0 -31
- package/dist/src/components/atoms/icons/PropertiesIconSmall.d.ts +0 -5
- package/dist/src/components/atoms/icons/PropertiesIconSmall.js +0 -10
- package/dist/src/components/atoms/icons/RefundIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/RefundIcon.js +0 -6
- package/dist/src/components/atoms/icons/RejectedIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/RejectedIcon.js +0 -6
- package/dist/src/components/atoms/icons/RejectedVelocityIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/RejectedVelocityIcon.js +0 -6
- package/dist/src/components/atoms/icons/ResetPasswordIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/ResetPasswordIcon.js +0 -16
- package/dist/src/components/atoms/icons/RoutingNumberImage.d.ts +0 -2
- package/dist/src/components/atoms/icons/RoutingNumberImage.js +0 -20
- package/dist/src/components/atoms/icons/SearchIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/SearchIcon.js +0 -10
- package/dist/src/components/atoms/icons/SettingsIconSmall.d.ts +0 -5
- package/dist/src/components/atoms/icons/SettingsIconSmall.js +0 -20
- package/dist/src/components/atoms/icons/ShoppingCartIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/ShoppingCartIcon.js +0 -11
- package/dist/src/components/atoms/icons/StatusUnknownIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/StatusUnknownIcon.js +0 -6
- package/dist/src/components/atoms/icons/SuccessfulIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/SuccessfulIcon.js +0 -6
- package/dist/src/components/atoms/icons/TimeoutImage.d.ts +0 -2
- package/dist/src/components/atoms/icons/TimeoutImage.js +0 -38
- package/dist/src/components/atoms/icons/TrashIcon.d.ts +0 -5
- package/dist/src/components/atoms/icons/TrashIcon.js +0 -15
- package/dist/src/components/atoms/icons/VerifiedEmailIcon.d.ts +0 -5
- package/dist/src/components/atoms/icons/VerifiedEmailIcon.js +0 -19
- package/dist/src/components/atoms/icons/VoidedIcon.d.ts +0 -2
- package/dist/src/components/atoms/icons/VoidedIcon.js +0 -6
- package/dist/src/components/atoms/icons/WalletIcon.d.ts +0 -5
- package/dist/src/components/atoms/icons/WalletIcon.js +0 -16
- package/dist/src/components/atoms/icons/WarningIconXS.d.ts +0 -2
- package/dist/src/components/atoms/icons/WarningIconXS.js +0 -13
- package/dist/src/components/atoms/icons/icons.stories.d.ts +0 -42
- package/dist/src/components/atoms/icons/icons.stories.js +0 -44
- package/dist/src/components/atoms/icons/index.d.ts +0 -59
- package/dist/src/components/atoms/icons/index.js +0 -59
- package/dist/src/components/atoms/index.d.ts +0 -45
- package/dist/src/components/atoms/index.js +0 -45
- package/dist/src/components/atoms/jumbo/Jumbo.d.ts +0 -4
- package/dist/src/components/atoms/jumbo/Jumbo.js +0 -25
- package/dist/src/components/atoms/jumbo/index.d.ts +0 -2
- package/dist/src/components/atoms/jumbo/index.js +0 -2
- package/dist/src/components/atoms/labeled-amount/LabeledAmount.d.ts +0 -5
- package/dist/src/components/atoms/labeled-amount/LabeledAmount.js +0 -16
- package/dist/src/components/atoms/labeled-amount/LabeledAmount.stories.d.ts +0 -7
- package/dist/src/components/atoms/labeled-amount/LabeledAmount.stories.js +0 -20
- package/dist/src/components/atoms/labeled-amount/LabeledAmount.theme.d.ts +0 -12
- package/dist/src/components/atoms/labeled-amount/LabeledAmount.theme.js +0 -10
- package/dist/src/components/atoms/labeled-amount/index.d.ts +0 -2
- package/dist/src/components/atoms/labeled-amount/index.js +0 -2
- package/dist/src/components/atoms/layouts/Box.d.ts +0 -3
- package/dist/src/components/atoms/layouts/Box.js +0 -37
- package/dist/src/components/atoms/layouts/Box.styled.d.ts +0 -1
- package/dist/src/components/atoms/layouts/Box.styled.js +0 -107
- package/dist/src/components/atoms/layouts/Center.d.ts +0 -8
- package/dist/src/components/atoms/layouts/Center.js +0 -35
- package/dist/src/components/atoms/layouts/Center.styled.d.ts +0 -1
- package/dist/src/components/atoms/layouts/Center.styled.js +0 -21
- package/dist/src/components/atoms/layouts/Cluster.d.ts +0 -16
- package/dist/src/components/atoms/layouts/Cluster.js +0 -39
- package/dist/src/components/atoms/layouts/Cluster.styled.d.ts +0 -2
- package/dist/src/components/atoms/layouts/Cluster.styled.js +0 -71
- package/dist/src/components/atoms/layouts/Cover.d.ts +0 -11
- package/dist/src/components/atoms/layouts/Cover.js +0 -52
- package/dist/src/components/atoms/layouts/Cover.styled.d.ts +0 -1
- package/dist/src/components/atoms/layouts/Cover.styled.js +0 -30
- package/dist/src/components/atoms/layouts/Frame.d.ts +0 -7
- package/dist/src/components/atoms/layouts/Frame.js +0 -42
- package/dist/src/components/atoms/layouts/Frame.styled.d.ts +0 -1
- package/dist/src/components/atoms/layouts/Frame.styled.js +0 -10
- package/dist/src/components/atoms/layouts/Grid.d.ts +0 -8
- package/dist/src/components/atoms/layouts/Grid.js +0 -38
- package/dist/src/components/atoms/layouts/Grid.styled.d.ts +0 -1
- package/dist/src/components/atoms/layouts/Grid.styled.js +0 -24
- package/dist/src/components/atoms/layouts/Imposter.d.ts +0 -13
- package/dist/src/components/atoms/layouts/Imposter.js +0 -49
- package/dist/src/components/atoms/layouts/Imposter.styled.d.ts +0 -1
- package/dist/src/components/atoms/layouts/Imposter.styled.js +0 -30
- package/dist/src/components/atoms/layouts/Motion.d.ts +0 -7
- package/dist/src/components/atoms/layouts/Motion.js +0 -64
- package/dist/src/components/atoms/layouts/Motion.styled.d.ts +0 -1
- package/dist/src/components/atoms/layouts/Motion.styled.js +0 -71
- package/dist/src/components/atoms/layouts/Reel.d.ts +0 -13
- package/dist/src/components/atoms/layouts/Reel.js +0 -36
- package/dist/src/components/atoms/layouts/Reel.styled.d.ts +0 -1
- package/dist/src/components/atoms/layouts/Reel.styled.js +0 -30
- package/dist/src/components/atoms/layouts/Sidebar.d.ts +0 -11
- package/dist/src/components/atoms/layouts/Sidebar.js +0 -43
- package/dist/src/components/atoms/layouts/Sidebar.styled.d.ts +0 -2
- package/dist/src/components/atoms/layouts/Sidebar.styled.js +0 -59
- package/dist/src/components/atoms/layouts/Stack.d.ts +0 -10
- package/dist/src/components/atoms/layouts/Stack.js +0 -39
- package/dist/src/components/atoms/layouts/Stack.styled.d.ts +0 -1
- package/dist/src/components/atoms/layouts/Stack.styled.js +0 -26
- package/dist/src/components/atoms/layouts/Switcher.d.ts +0 -14
- package/dist/src/components/atoms/layouts/Switcher.js +0 -62
- package/dist/src/components/atoms/layouts/Switcher.styled.d.ts +0 -2
- package/dist/src/components/atoms/layouts/Switcher.styled.js +0 -42
- package/dist/src/components/atoms/layouts/examples/FixedSizeContainer.d.ts +0 -9
- package/dist/src/components/atoms/layouts/examples/FixedSizeContainer.js +0 -12
- package/dist/src/components/atoms/layouts/examples/FixedSizeContainer.styled.d.ts +0 -2
- package/dist/src/components/atoms/layouts/examples/FixedSizeContainer.styled.js +0 -21
- package/dist/src/components/atoms/layouts/examples/LayoutContentBlock.d.ts +0 -11
- package/dist/src/components/atoms/layouts/examples/LayoutContentBlock.js +0 -9
- package/dist/src/components/atoms/layouts/examples/LayoutContentBlock.styled.d.ts +0 -1
- package/dist/src/components/atoms/layouts/examples/LayoutContentBlock.styled.js +0 -25
- package/dist/src/components/atoms/layouts/examples/ResizingContainer.d.ts +0 -9
- package/dist/src/components/atoms/layouts/examples/ResizingContainer.js +0 -26
- package/dist/src/components/atoms/layouts/examples/ResizingContainer.styled.d.ts +0 -2
- package/dist/src/components/atoms/layouts/examples/ResizingContainer.styled.js +0 -23
- package/dist/src/components/atoms/layouts/examples/box-example/BoxExample.stories.d.ts +0 -7
- package/dist/src/components/atoms/layouts/examples/box-example/BoxExample.stories.js +0 -19
- package/dist/src/components/atoms/layouts/examples/center-example/CenterExample.stories.d.ts +0 -7
- package/dist/src/components/atoms/layouts/examples/center-example/CenterExample.stories.js +0 -13
- package/dist/src/components/atoms/layouts/examples/cluster-example/ClusterExample.d.ts +0 -6
- package/dist/src/components/atoms/layouts/examples/cluster-example/ClusterExample.js +0 -7
- package/dist/src/components/atoms/layouts/examples/cluster-example/ClusterExample.stories.d.ts +0 -21
- package/dist/src/components/atoms/layouts/examples/cluster-example/ClusterExample.stories.js +0 -43
- package/dist/src/components/atoms/layouts/examples/cover-example/CoverExample.stories.d.ts +0 -15
- package/dist/src/components/atoms/layouts/examples/cover-example/CoverExample.stories.js +0 -18
- package/dist/src/components/atoms/layouts/examples/frame-example/FrameExample.stories.d.ts +0 -7
- package/dist/src/components/atoms/layouts/examples/frame-example/FrameExample.stories.js +0 -12
- package/dist/src/components/atoms/layouts/examples/grid-example/GridExample.d.ts +0 -7
- package/dist/src/components/atoms/layouts/examples/grid-example/GridExample.js +0 -32
- package/dist/src/components/atoms/layouts/examples/grid-example/GridExample.stories.d.ts +0 -11
- package/dist/src/components/atoms/layouts/examples/grid-example/GridExample.stories.js +0 -26
- package/dist/src/components/atoms/layouts/examples/imposter-example/ImposterExample.stories.d.ts +0 -7
- package/dist/src/components/atoms/layouts/examples/imposter-example/ImposterExample.stories.js +0 -14
- package/dist/src/components/atoms/layouts/examples/motion-example/MotionExample.stories.d.ts +0 -7
- package/dist/src/components/atoms/layouts/examples/motion-example/MotionExample.stories.js +0 -41
- package/dist/src/components/atoms/layouts/examples/reel-example/ReelExample.stories.d.ts +0 -7
- package/dist/src/components/atoms/layouts/examples/reel-example/ReelExample.stories.js +0 -21
- package/dist/src/components/atoms/layouts/examples/sidebar-example/SidebarExample.d.ts +0 -7
- package/dist/src/components/atoms/layouts/examples/sidebar-example/SidebarExample.js +0 -7
- package/dist/src/components/atoms/layouts/examples/sidebar-example/SidebarExample.stories.d.ts +0 -11
- package/dist/src/components/atoms/layouts/examples/sidebar-example/SidebarExample.stories.js +0 -41
- package/dist/src/components/atoms/layouts/examples/stack-example/StackExample.d.ts +0 -7
- package/dist/src/components/atoms/layouts/examples/stack-example/StackExample.js +0 -26
- package/dist/src/components/atoms/layouts/examples/stack-example/StackExample.stories.d.ts +0 -21
- package/dist/src/components/atoms/layouts/examples/stack-example/StackExample.stories.js +0 -26
- package/dist/src/components/atoms/layouts/examples/switcher-example/SwitcherExample.d.ts +0 -8
- package/dist/src/components/atoms/layouts/examples/switcher-example/SwitcherExample.js +0 -26
- package/dist/src/components/atoms/layouts/examples/switcher-example/SwitcherExample.stories.d.ts +0 -16
- package/dist/src/components/atoms/layouts/examples/switcher-example/SwitcherExample.stories.js +0 -30
- package/dist/src/components/atoms/layouts/index.d.ts +0 -13
- package/dist/src/components/atoms/layouts/index.js +0 -13
- package/dist/src/components/atoms/line-item/LineItem.d.ts +0 -5
- package/dist/src/components/atoms/line-item/LineItem.js +0 -14
- package/dist/src/components/atoms/line-item/LineItem.stories.d.ts +0 -7
- package/dist/src/components/atoms/line-item/LineItem.stories.js +0 -10
- package/dist/src/components/atoms/line-item/LineItem.theme.d.ts +0 -16
- package/dist/src/components/atoms/line-item/LineItem.theme.js +0 -6
- package/dist/src/components/atoms/line-item/index.d.ts +0 -2
- package/dist/src/components/atoms/line-item/index.js +0 -2
- package/dist/src/components/atoms/link/ExternalLink.d.ts +0 -14
- package/dist/src/components/atoms/link/ExternalLink.js +0 -14
- package/dist/src/components/atoms/link/ExternalLink.styled.d.ts +0 -1
- package/dist/src/components/atoms/link/ExternalLink.styled.js +0 -64
- package/dist/src/components/atoms/link/InternalLink.d.ts +0 -15
- package/dist/src/components/atoms/link/InternalLink.js +0 -13
- package/dist/src/components/atoms/link/InternalLink.styled.d.ts +0 -1
- package/dist/src/components/atoms/link/InternalLink.styled.js +0 -68
- package/dist/src/components/atoms/link/Link.stories.d.ts +0 -8
- package/dist/src/components/atoms/link/Link.stories.js +0 -26
- package/dist/src/components/atoms/link/Link.theme.d.ts +0 -14
- package/dist/src/components/atoms/link/Link.theme.js +0 -13
- package/dist/src/components/atoms/link/index.d.ts +0 -3
- package/dist/src/components/atoms/link/index.js +0 -3
- package/dist/src/components/atoms/loading/Loading.d.ts +0 -2
- package/dist/src/components/atoms/loading/Loading.js +0 -9
- package/dist/src/components/atoms/loading/index.d.ts +0 -2
- package/dist/src/components/atoms/loading/index.js +0 -2
- package/dist/src/components/atoms/nav-footer/NavFooter.d.ts +0 -13
- package/dist/src/components/atoms/nav-footer/NavFooter.js +0 -38
- package/dist/src/components/atoms/nav-footer/NavFooter.stories.d.ts +0 -7
- package/dist/src/components/atoms/nav-footer/NavFooter.stories.js +0 -13
- package/dist/src/components/atoms/nav-footer/index.d.ts +0 -2
- package/dist/src/components/atoms/nav-footer/index.js +0 -2
- package/dist/src/components/atoms/nav-header/NavHeader.d.ts +0 -10
- package/dist/src/components/atoms/nav-header/NavHeader.js +0 -37
- package/dist/src/components/atoms/nav-header/NavHeader.stories.d.ts +0 -7
- package/dist/src/components/atoms/nav-header/NavHeader.stories.js +0 -13
- package/dist/src/components/atoms/nav-header/index.d.ts +0 -2
- package/dist/src/components/atoms/nav-header/index.js +0 -2
- package/dist/src/components/atoms/nav-tabs/NavTab.d.ts +0 -5
- package/dist/src/components/atoms/nav-tabs/NavTab.js +0 -20
- package/dist/src/components/atoms/nav-tabs/NavTab.theme.d.ts +0 -9
- package/dist/src/components/atoms/nav-tabs/NavTab.theme.js +0 -9
- package/dist/src/components/atoms/nav-tabs/NavTabs.d.ts +0 -4
- package/dist/src/components/atoms/nav-tabs/NavTabs.js +0 -27
- package/dist/src/components/atoms/nav-tabs/TabConfig.d.ts +0 -4
- package/dist/src/components/atoms/nav-tabs/TabConfig.js +0 -1
- package/dist/src/components/atoms/nav-tabs/index.d.ts +0 -1
- package/dist/src/components/atoms/nav-tabs/index.js +0 -2
- package/dist/src/components/atoms/paragraph/Paragraph.d.ts +0 -5
- package/dist/src/components/atoms/paragraph/Paragraph.js +0 -40
- package/dist/src/components/atoms/paragraph/Paragraph.stories.d.ts +0 -7
- package/dist/src/components/atoms/paragraph/Paragraph.stories.js +0 -17
- package/dist/src/components/atoms/paragraph/Paragraph.styled.d.ts +0 -1
- package/dist/src/components/atoms/paragraph/Paragraph.styled.js +0 -25
- package/dist/src/components/atoms/paragraph/Paragraph.theme.d.ts +0 -27
- package/dist/src/components/atoms/paragraph/Paragraph.theme.js +0 -21
- package/dist/src/components/atoms/paragraph/index.d.ts +0 -2
- package/dist/src/components/atoms/paragraph/index.js +0 -2
- package/dist/src/components/atoms/password-requirements/PasswordRequirements.d.ts +0 -5
- package/dist/src/components/atoms/password-requirements/PasswordRequirements.js +0 -59
- package/dist/src/components/atoms/password-requirements/PasswordRequirements.stories.d.ts +0 -7
- package/dist/src/components/atoms/password-requirements/PasswordRequirements.stories.js +0 -46
- package/dist/src/components/atoms/password-requirements/index.d.ts +0 -2
- package/dist/src/components/atoms/password-requirements/index.js +0 -2
- package/dist/src/components/atoms/placeholder/Placeholder.d.ts +0 -5
- package/dist/src/components/atoms/placeholder/Placeholder.js +0 -33
- package/dist/src/components/atoms/placeholder/Placeholder.stories.d.ts +0 -7
- package/dist/src/components/atoms/placeholder/Placeholder.stories.js +0 -23
- package/dist/src/components/atoms/placeholder/Placeholder.theme.d.ts +0 -16
- package/dist/src/components/atoms/placeholder/Placeholder.theme.js +0 -7
- package/dist/src/components/atoms/placeholder/index.d.ts +0 -2
- package/dist/src/components/atoms/placeholder/index.js +0 -2
- package/dist/src/components/atoms/processing-fee/ProcessingFee.d.ts +0 -5
- package/dist/src/components/atoms/processing-fee/ProcessingFee.js +0 -15
- package/dist/src/components/atoms/processing-fee/ProcessingFee.stories.d.ts +0 -7
- package/dist/src/components/atoms/processing-fee/ProcessingFee.stories.js +0 -17
- package/dist/src/components/atoms/processing-fee/ProcessingFee.theme.d.ts +0 -8
- package/dist/src/components/atoms/processing-fee/ProcessingFee.theme.js +0 -5
- package/dist/src/components/atoms/processing-fee/index.d.ts +0 -2
- package/dist/src/components/atoms/processing-fee/index.js +0 -2
- package/dist/src/components/atoms/radio-button/RadioButton.d.ts +0 -5
- package/dist/src/components/atoms/radio-button/RadioButton.js +0 -68
- package/dist/src/components/atoms/radio-button/RadioButton.stories.d.ts +0 -7
- package/dist/src/components/atoms/radio-button/RadioButton.stories.js +0 -16
- package/dist/src/components/atoms/radio-button/RadioButton.theme.d.ts +0 -7
- package/dist/src/components/atoms/radio-button/RadioButton.theme.js +0 -7
- package/dist/src/components/atoms/radio-button/index.d.ts +0 -2
- package/dist/src/components/atoms/radio-button/index.js +0 -2
- package/dist/src/components/atoms/searchable-select/SearchableSelect.d.ts +0 -5
- package/dist/src/components/atoms/searchable-select/SearchableSelect.js +0 -37
- package/dist/src/components/atoms/searchable-select/SearchableSelect.theme.d.ts +0 -8
- package/dist/src/components/atoms/searchable-select/SearchableSelect.theme.js +0 -6
- package/dist/src/components/atoms/searchable-select/index.d.ts +0 -2
- package/dist/src/components/atoms/searchable-select/index.js +0 -2
- package/dist/src/components/atoms/solid-divider/SolidDivider.d.ts +0 -5
- package/dist/src/components/atoms/solid-divider/SolidDivider.js +0 -9
- package/dist/src/components/atoms/solid-divider/SolidDivider.stories.d.ts +0 -7
- package/dist/src/components/atoms/solid-divider/SolidDivider.stories.js +0 -9
- package/dist/src/components/atoms/solid-divider/SolidDivider.theme.d.ts +0 -13
- package/dist/src/components/atoms/solid-divider/SolidDivider.theme.js +0 -7
- package/dist/src/components/atoms/solid-divider/index.d.ts +0 -2
- package/dist/src/components/atoms/solid-divider/index.js +0 -2
- package/dist/src/components/atoms/spinner/Spinner.d.ts +0 -6
- package/dist/src/components/atoms/spinner/Spinner.js +0 -27
- package/dist/src/components/atoms/spinner/Spinner.stories.d.ts +0 -7
- package/dist/src/components/atoms/spinner/Spinner.stories.js +0 -12
- package/dist/src/components/atoms/spinner/Spinner.theme.d.ts +0 -5
- package/dist/src/components/atoms/spinner/Spinner.theme.js +0 -4
- package/dist/src/components/atoms/spinner/index.d.ts +0 -2
- package/dist/src/components/atoms/spinner/index.js +0 -2
- package/dist/src/components/atoms/state-province-dropdown/StateProvinceDropdown.d.ts +0 -10
- package/dist/src/components/atoms/state-province-dropdown/StateProvinceDropdown.js +0 -19
- package/dist/src/components/atoms/state-province-dropdown/StateProvinceDropdown.stories.d.ts +0 -7
- package/dist/src/components/atoms/state-province-dropdown/StateProvinceDropdown.stories.js +0 -30
- package/dist/src/components/atoms/state-province-dropdown/index.d.ts +0 -2
- package/dist/src/components/atoms/state-province-dropdown/index.js +0 -2
- package/dist/src/components/atoms/state-province-dropdown/options.d.ts +0 -11
- package/dist/src/components/atoms/state-province-dropdown/options.js +0 -3837
- package/dist/src/components/atoms/tab/Tab.d.ts +0 -6
- package/dist/src/components/atoms/tab/Tab.js +0 -17
- package/dist/src/components/atoms/tab/Tab.stories.d.ts +0 -7
- package/dist/src/components/atoms/tab/Tab.stories.js +0 -9
- package/dist/src/components/atoms/tab/Tab.theme.d.ts +0 -27
- package/dist/src/components/atoms/tab/Tab.theme.js +0 -23
- package/dist/src/components/atoms/tab/index.d.ts +0 -2
- package/dist/src/components/atoms/tab/index.js +0 -2
- package/dist/src/components/atoms/text/Text.d.ts +0 -5
- package/dist/src/components/atoms/text/Text.js +0 -34
- package/dist/src/components/atoms/text/Text.stories.d.ts +0 -7
- package/dist/src/components/atoms/text/Text.stories.js +0 -17
- package/dist/src/components/atoms/text/Text.styled.d.ts +0 -1
- package/dist/src/components/atoms/text/Text.styled.js +0 -32
- package/dist/src/components/atoms/text/Text.theme.d.ts +0 -27
- package/dist/src/components/atoms/text/Text.theme.js +0 -24
- package/dist/src/components/atoms/text/index.d.ts +0 -2
- package/dist/src/components/atoms/text/index.js +0 -2
- package/dist/src/components/atoms/title/Title.d.ts +0 -5
- package/dist/src/components/atoms/title/Title.js +0 -60
- package/dist/src/components/atoms/title/Title.styled.d.ts +0 -1
- package/dist/src/components/atoms/title/Title.styled.js +0 -28
- package/dist/src/components/atoms/title/Title.theme.d.ts +0 -26
- package/dist/src/components/atoms/title/Title.theme.js +0 -22
- package/dist/src/components/atoms/title/index.d.ts +0 -2
- package/dist/src/components/atoms/title/index.js +0 -2
- package/dist/src/components/atoms/toggle-switch/ToggleSwitch.d.ts +0 -5
- package/dist/src/components/atoms/toggle-switch/ToggleSwitch.js +0 -126
- package/dist/src/components/atoms/toggle-switch/ToggleSwitch.stories.d.ts +0 -7
- package/dist/src/components/atoms/toggle-switch/ToggleSwitch.stories.js +0 -15
- package/dist/src/components/atoms/toggle-switch/ToggleSwitch.theme.d.ts +0 -15
- package/dist/src/components/atoms/toggle-switch/ToggleSwitch.theme.js +0 -16
- package/dist/src/components/atoms/toggle-switch/index.d.ts +0 -2
- package/dist/src/components/atoms/toggle-switch/index.js +0 -2
- package/dist/src/components/atoms/typeahead-input/TypeaheadIinput.stories.d.ts +0 -7
- package/dist/src/components/atoms/typeahead-input/TypeaheadIinput.stories.js +0 -9
- package/dist/src/components/atoms/typeahead-input/TypeaheadInput.d.ts +0 -8
- package/dist/src/components/atoms/typeahead-input/TypeaheadInput.js +0 -22
- package/dist/src/components/atoms/typeahead-input/TypeaheadInput.theme.d.ts +0 -11
- package/dist/src/components/atoms/typeahead-input/TypeaheadInput.theme.js +0 -11
- package/dist/src/components/atoms/typeahead-input/index.d.ts +0 -2
- package/dist/src/components/atoms/typeahead-input/index.js +0 -2
- package/dist/src/components/atoms/welcome-card/Card.d.ts +0 -5
- package/dist/src/components/atoms/welcome-card/Card.js +0 -52
- package/dist/src/components/atoms/welcome-card/Card.theme.d.ts +0 -7
- package/dist/src/components/atoms/welcome-card/Card.theme.js +0 -7
- package/dist/src/components/atoms/welcome-card/index.d.ts +0 -8
- package/dist/src/components/atoms/welcome-card/index.js +0 -20
- package/dist/src/components/index.d.ts +0 -4
- package/dist/src/components/index.js +0 -4
- package/dist/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.d.ts +0 -5
- package/dist/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.js +0 -22
- package/dist/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.theme.d.ts +0 -28
- package/dist/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.theme.js +0 -17
- package/dist/src/components/molecules/account-and-routing-modal/index.d.ts +0 -2
- package/dist/src/components/molecules/account-and-routing-modal/index.js +0 -2
- package/dist/src/components/molecules/address-form/AddressForm.d.ts +0 -12
- package/dist/src/components/molecules/address-form/AddressForm.js +0 -52
- package/dist/src/components/molecules/address-form/AddressForm.state.d.ts +0 -3
- package/dist/src/components/molecules/address-form/AddressForm.state.js +0 -33
- package/dist/src/components/molecules/address-form/AddressForm.stories.d.ts +0 -7
- package/dist/src/components/molecules/address-form/AddressForm.stories.js +0 -15
- package/dist/src/components/molecules/address-form/index.d.ts +0 -2
- package/dist/src/components/molecules/address-form/index.js +0 -6
- package/dist/src/components/molecules/change-password-form/ChangePasswordForm.d.ts +0 -13
- package/dist/src/components/molecules/change-password-form/ChangePasswordForm.js +0 -55
- package/dist/src/components/molecules/change-password-form/ChangePasswordForm.state.d.ts +0 -3
- package/dist/src/components/molecules/change-password-form/ChangePasswordForm.state.js +0 -21
- package/dist/src/components/molecules/change-password-form/ChangePasswordForm.stories.d.ts +0 -7
- package/dist/src/components/molecules/change-password-form/ChangePasswordForm.stories.js +0 -14
- package/dist/src/components/molecules/change-password-form/index.d.ts +0 -2
- package/dist/src/components/molecules/change-password-form/index.js +0 -6
- package/dist/src/components/molecules/collapsible-section/CollapsibleSection.d.ts +0 -5
- package/dist/src/components/molecules/collapsible-section/CollapsibleSection.js +0 -60
- package/dist/src/components/molecules/collapsible-section/CollapsibleSection.stories.d.ts +0 -7
- package/dist/src/components/molecules/collapsible-section/CollapsibleSection.stories.js +0 -30
- package/dist/src/components/molecules/collapsible-section/CollapsibleSection.theme.d.ts +0 -9
- package/dist/src/components/molecules/collapsible-section/CollapsibleSection.theme.js +0 -8
- package/dist/src/components/molecules/collapsible-section/index.d.ts +0 -2
- package/dist/src/components/molecules/collapsible-section/index.js +0 -2
- package/dist/src/components/molecules/edit-name-form/EdidNameForm.stories.d.ts +0 -7
- package/dist/src/components/molecules/edit-name-form/EdidNameForm.stories.js +0 -16
- package/dist/src/components/molecules/edit-name-form/EditNameForm.d.ts +0 -8
- package/dist/src/components/molecules/edit-name-form/EditNameForm.js +0 -22
- package/dist/src/components/molecules/edit-name-form/EditNameForm.state.d.ts +0 -3
- package/dist/src/components/molecules/edit-name-form/EditNameForm.state.js +0 -11
- package/dist/src/components/molecules/edit-name-form/index.d.ts +0 -2
- package/dist/src/components/molecules/edit-name-form/index.js +0 -6
- package/dist/src/components/molecules/editable-list/EditableList.d.ts +0 -23
- package/dist/src/components/molecules/editable-list/EditableList.js +0 -49
- package/dist/src/components/molecules/editable-list/EditableList.styled.d.ts +0 -2
- package/dist/src/components/molecules/editable-list/EditableList.styled.js +0 -15
- package/dist/src/components/molecules/editable-list/index.d.ts +0 -2
- package/dist/src/components/molecules/editable-list/index.js +0 -2
- package/dist/src/components/molecules/editable-table/EditableTable.d.ts +0 -7
- package/dist/src/components/molecules/editable-table/EditableTable.js +0 -16
- package/dist/src/components/molecules/editable-table/EditableTable.styled.d.ts +0 -9
- package/dist/src/components/molecules/editable-table/EditableTable.styled.js +0 -61
- package/dist/src/components/molecules/editable-table/TableListItem.d.ts +0 -9
- package/dist/src/components/molecules/editable-table/TableListItem.js +0 -21
- package/dist/src/components/molecules/editable-table/index.d.ts +0 -3
- package/dist/src/components/molecules/editable-table/index.js +0 -3
- package/dist/src/components/molecules/email-form/EmailForm.d.ts +0 -13
- package/dist/src/components/molecules/email-form/EmailForm.js +0 -23
- package/dist/src/components/molecules/email-form/EmailForm.state.d.ts +0 -3
- package/dist/src/components/molecules/email-form/EmailForm.state.js +0 -8
- package/dist/src/components/molecules/email-form/EmailForm.stories.d.ts +0 -7
- package/dist/src/components/molecules/email-form/EmailForm.stories.js +0 -16
- package/dist/src/components/molecules/email-form/index.d.ts +0 -2
- package/dist/src/components/molecules/email-form/index.js +0 -6
- package/dist/src/components/molecules/forgot-password-form/ForgotPasswordForm.d.ts +0 -8
- package/dist/src/components/molecules/forgot-password-form/ForgotPasswordForm.js +0 -17
- package/dist/src/components/molecules/forgot-password-form/ForgotPasswordForm.state.d.ts +0 -3
- package/dist/src/components/molecules/forgot-password-form/ForgotPasswordForm.state.js +0 -8
- package/dist/src/components/molecules/forgot-password-form/ForgotPasswordForm.stories.d.ts +0 -7
- package/dist/src/components/molecules/forgot-password-form/ForgotPasswordForm.stories.js +0 -16
- package/dist/src/components/molecules/forgot-password-form/index.d.ts +0 -2
- package/dist/src/components/molecules/forgot-password-form/index.js +0 -6
- package/dist/src/components/molecules/highlight-tab-row/HighlightTabRow.d.ts +0 -6
- package/dist/src/components/molecules/highlight-tab-row/HighlightTabRow.js +0 -29
- package/dist/src/components/molecules/highlight-tab-row/HighlightTabRow.stories.d.ts +0 -7
- package/dist/src/components/molecules/highlight-tab-row/HighlightTabRow.stories.js +0 -17
- package/dist/src/components/molecules/highlight-tab-row/HighlightTabRow.theme.d.ts +0 -7
- package/dist/src/components/molecules/highlight-tab-row/HighlightTabRow.theme.js +0 -6
- package/dist/src/components/molecules/highlight-tab-row/index.d.ts +0 -2
- package/dist/src/components/molecules/highlight-tab-row/index.js +0 -2
- package/dist/src/components/molecules/index.d.ts +0 -36
- package/dist/src/components/molecules/index.js +0 -36
- package/dist/src/components/molecules/internal-user-info-form/InternalUserInfoForm.d.ts +0 -25
- package/dist/src/components/molecules/internal-user-info-form/InternalUserInfoForm.js +0 -108
- package/dist/src/components/molecules/internal-user-info-form/InternalUserInfoForm.state.d.ts +0 -3
- package/dist/src/components/molecules/internal-user-info-form/InternalUserInfoForm.state.js +0 -23
- package/dist/src/components/molecules/internal-user-info-form/index.d.ts +0 -2
- package/dist/src/components/molecules/internal-user-info-form/index.js +0 -6
- package/dist/src/components/molecules/login-form/LoginForm.d.ts +0 -8
- package/dist/src/components/molecules/login-form/LoginForm.js +0 -22
- package/dist/src/components/molecules/login-form/LoginForm.state.d.ts +0 -3
- package/dist/src/components/molecules/login-form/LoginForm.state.js +0 -11
- package/dist/src/components/molecules/login-form/LoginForm.stories.d.ts +0 -7
- package/dist/src/components/molecules/login-form/LoginForm.stories.js +0 -16
- package/dist/src/components/molecules/login-form/index.d.ts +0 -2
- package/dist/src/components/molecules/login-form/index.js +0 -6
- package/dist/src/components/molecules/modal/Modal.d.ts +0 -27
- package/dist/src/components/molecules/modal/Modal.js +0 -51
- package/dist/src/components/molecules/modal/Modal.stories.d.ts +0 -15
- package/dist/src/components/molecules/modal/Modal.stories.js +0 -28
- package/dist/src/components/molecules/modal/index.d.ts +0 -2
- package/dist/src/components/molecules/modal/index.js +0 -2
- package/dist/src/components/molecules/module/Module.d.ts +0 -6
- package/dist/src/components/molecules/module/Module.js +0 -31
- package/dist/src/components/molecules/module/Module.stories.d.ts +0 -7
- package/dist/src/components/molecules/module/Module.stories.js +0 -18
- package/dist/src/components/molecules/module/Module.theme.d.ts +0 -87
- package/dist/src/components/molecules/module/Module.theme.js +0 -43
- package/dist/src/components/molecules/module/index.d.ts +0 -2
- package/dist/src/components/molecules/module/index.js +0 -2
- package/dist/src/components/molecules/nav-menu/NavMenu.theme.d.ts +0 -15
- package/dist/src/components/molecules/nav-menu/NavMenu.theme.js +0 -12
- package/dist/src/components/molecules/nav-menu/NavMenuDesktop.d.ts +0 -5
- package/dist/src/components/molecules/nav-menu/NavMenuDesktop.js +0 -11
- package/dist/src/components/molecules/nav-menu/NavMenuMobile.d.ts +0 -5
- package/dist/src/components/molecules/nav-menu/NavMenuMobile.js +0 -49
- package/dist/src/components/molecules/nav-menu/index.d.ts +0 -3
- package/dist/src/components/molecules/nav-menu/index.js +0 -3
- package/dist/src/components/molecules/obligation/Obligation.d.ts +0 -23
- package/dist/src/components/molecules/obligation/Obligation.js +0 -44
- package/dist/src/components/molecules/obligation/icons/AccountBillIcon.d.ts +0 -2
- package/dist/src/components/molecules/obligation/icons/AccountBillIcon.js +0 -20
- package/dist/src/components/molecules/obligation/icons/AccountConstructionIcon.d.ts +0 -2
- package/dist/src/components/molecules/obligation/icons/AccountConstructionIcon.js +0 -21
- package/dist/src/components/molecules/obligation/icons/AccountDentalIcon.d.ts +0 -2
- package/dist/src/components/molecules/obligation/icons/AccountDentalIcon.js +0 -21
- package/dist/src/components/molecules/obligation/icons/AccountElectricIcon.d.ts +0 -2
- package/dist/src/components/molecules/obligation/icons/AccountElectricIcon.js +0 -21
- package/dist/src/components/molecules/obligation/icons/AccountGarbageIcon.d.ts +0 -2
- package/dist/src/components/molecules/obligation/icons/AccountGarbageIcon.js +0 -21
- package/dist/src/components/molecules/obligation/icons/AccountGasIcon.d.ts +0 -2
- package/dist/src/components/molecules/obligation/icons/AccountGasIcon.js +0 -21
- package/dist/src/components/molecules/obligation/icons/AccountGenericIcon.d.ts +0 -2
- package/dist/src/components/molecules/obligation/icons/AccountGenericIcon.js +0 -20
- package/dist/src/components/molecules/obligation/icons/AccountMedicalIcon.d.ts +0 -2
- package/dist/src/components/molecules/obligation/icons/AccountMedicalIcon.js +0 -21
- package/dist/src/components/molecules/obligation/icons/AccountWaterIcon.d.ts +0 -2
- package/dist/src/components/molecules/obligation/icons/AccountWaterIcon.js +0 -21
- package/dist/src/components/molecules/obligation/icons/PropertyApartmentIcon.d.ts +0 -2
- package/dist/src/components/molecules/obligation/icons/PropertyApartmentIcon.js +0 -22
- package/dist/src/components/molecules/obligation/icons/PropertyBusinessIcon.d.ts +0 -2
- package/dist/src/components/molecules/obligation/icons/PropertyBusinessIcon.js +0 -20
- package/dist/src/components/molecules/obligation/icons/PropertyCarIcon.d.ts +0 -2
- package/dist/src/components/molecules/obligation/icons/PropertyCarIcon.js +0 -22
- package/dist/src/components/molecules/obligation/icons/PropertyCommercialVehicleIcon.d.ts +0 -2
- package/dist/src/components/molecules/obligation/icons/PropertyCommercialVehicleIcon.js +0 -23
- package/dist/src/components/molecules/obligation/icons/PropertyGarageIcon.d.ts +0 -2
- package/dist/src/components/molecules/obligation/icons/PropertyGarageIcon.js +0 -22
- package/dist/src/components/molecules/obligation/icons/PropertyLandIcon.d.ts +0 -2
- package/dist/src/components/molecules/obligation/icons/PropertyLandIcon.js +0 -22
- package/dist/src/components/molecules/obligation/icons/PropertyMotorcycleIcon.d.ts +0 -2
- package/dist/src/components/molecules/obligation/icons/PropertyMotorcycleIcon.js +0 -22
- package/dist/src/components/molecules/obligation/icons/PropertyPersonalIcon.d.ts +0 -2
- package/dist/src/components/molecules/obligation/icons/PropertyPersonalIcon.js +0 -20
- package/dist/src/components/molecules/obligation/icons/PropertyStorefrontIcon.d.ts +0 -2
- package/dist/src/components/molecules/obligation/icons/PropertyStorefrontIcon.js +0 -23
- package/dist/src/components/molecules/obligation/icons/index.d.ts +0 -38
- package/dist/src/components/molecules/obligation/icons/index.js +0 -57
- package/dist/src/components/molecules/obligation/index.d.ts +0 -2
- package/dist/src/components/molecules/obligation/index.js +0 -2
- package/dist/src/components/molecules/obligation/modules/AmountModule.d.ts +0 -12
- package/dist/src/components/molecules/obligation/modules/AmountModule.js +0 -17
- package/dist/src/components/molecules/obligation/modules/AmountModule.stories.d.ts +0 -7
- package/dist/src/components/molecules/obligation/modules/AmountModule.stories.js +0 -12
- package/dist/src/components/molecules/obligation/modules/AutopayModalModule.d.ts +0 -4
- package/dist/src/components/molecules/obligation/modules/AutopayModalModule.js +0 -76
- package/dist/src/components/molecules/obligation/modules/AutopayModalModule.theme.d.ts +0 -15
- package/dist/src/components/molecules/obligation/modules/AutopayModalModule.theme.js +0 -15
- package/dist/src/components/molecules/obligation/modules/IconModule.d.ts +0 -8
- package/dist/src/components/molecules/obligation/modules/IconModule.js +0 -20
- package/dist/src/components/molecules/obligation/modules/InactiveControlsModule.d.ts +0 -16
- package/dist/src/components/molecules/obligation/modules/InactiveControlsModule.js +0 -18
- package/dist/src/components/molecules/obligation/modules/InactiveTitleModule.d.ts +0 -6
- package/dist/src/components/molecules/obligation/modules/InactiveTitleModule.js +0 -18
- package/dist/src/components/molecules/obligation/modules/PaymentDetailsActions.d.ts +0 -18
- package/dist/src/components/molecules/obligation/modules/PaymentDetailsActions.js +0 -44
- package/dist/src/components/molecules/obligation/modules/RemoveAccountModalModule.d.ts +0 -8
- package/dist/src/components/molecules/obligation/modules/RemoveAccountModalModule.js +0 -39
- package/dist/src/components/molecules/obligation/modules/TitleModule.d.ts +0 -7
- package/dist/src/components/molecules/obligation/modules/TitleModule.js +0 -13
- package/dist/src/components/molecules/obligation/modules/index.d.ts +0 -8
- package/dist/src/components/molecules/obligation/modules/index.js +0 -8
- package/dist/src/components/molecules/pagination/Pagination.d.ts +0 -14
- package/dist/src/components/molecules/pagination/Pagination.js +0 -56
- package/dist/src/components/molecules/pagination/index.d.ts +0 -2
- package/dist/src/components/molecules/pagination/index.js +0 -2
- package/dist/src/components/molecules/partial-amount-form/PartialAmountForm.d.ts +0 -11
- package/dist/src/components/molecules/partial-amount-form/PartialAmountForm.js +0 -27
- package/dist/src/components/molecules/partial-amount-form/PartialAmountForm.state.d.ts +0 -5
- package/dist/src/components/molecules/partial-amount-form/PartialAmountForm.state.js +0 -49
- package/dist/src/components/molecules/partial-amount-form/index.d.ts +0 -3
- package/dist/src/components/molecules/partial-amount-form/index.js +0 -3
- package/dist/src/components/molecules/payment-button-bar/PaymentButtonBar.d.ts +0 -15
- package/dist/src/components/molecules/payment-button-bar/PaymentButtonBar.js +0 -24
- package/dist/src/components/molecules/payment-button-bar/PaymentButtonBar.stories.d.ts +0 -7
- package/dist/src/components/molecules/payment-button-bar/PaymentButtonBar.stories.js +0 -10
- package/dist/src/components/molecules/payment-button-bar/index.d.ts +0 -2
- package/dist/src/components/molecules/payment-button-bar/index.js +0 -2
- package/dist/src/components/molecules/payment-details/PaymentDetails.d.ts +0 -5
- package/dist/src/components/molecules/payment-details/PaymentDetails.js +0 -143
- package/dist/src/components/molecules/payment-details/PaymentDetails.stories.d.ts +0 -11
- package/dist/src/components/molecules/payment-details/PaymentDetails.stories.js +0 -126
- package/dist/src/components/molecules/payment-details/PaymentDetails.theme.d.ts +0 -30
- package/dist/src/components/molecules/payment-details/PaymentDetails.theme.js +0 -10
- package/dist/src/components/molecules/payment-details/index.d.ts +0 -1
- package/dist/src/components/molecules/payment-details/index.js +0 -1
- package/dist/src/components/molecules/payment-form-ach/PaymentFormACH.d.ts +0 -16
- package/dist/src/components/molecules/payment-form-ach/PaymentFormACH.js +0 -52
- package/dist/src/components/molecules/payment-form-ach/PaymentFormACH.state.d.ts +0 -3
- package/dist/src/components/molecules/payment-form-ach/PaymentFormACH.state.js +0 -28
- package/dist/src/components/molecules/payment-form-ach/PaymentFormACH.stories.d.ts +0 -7
- package/dist/src/components/molecules/payment-form-ach/PaymentFormACH.stories.js +0 -16
- package/dist/src/components/molecules/payment-form-ach/index.d.ts +0 -2
- package/dist/src/components/molecules/payment-form-ach/index.js +0 -6
- package/dist/src/components/molecules/payment-form-card/PaymentFormCard.d.ts +0 -4
- package/dist/src/components/molecules/payment-form-card/PaymentFormCard.js +0 -74
- package/dist/src/components/molecules/payment-form-card/PaymentFormCard.state.d.ts +0 -3
- package/dist/src/components/molecules/payment-form-card/PaymentFormCard.state.js +0 -41
- package/dist/src/components/molecules/payment-form-card/PaymentFormCard.stories.d.ts +0 -7
- package/dist/src/components/molecules/payment-form-card/PaymentFormCard.stories.js +0 -16
- package/dist/src/components/molecules/payment-form-card/index.d.ts +0 -2
- package/dist/src/components/molecules/payment-form-card/index.js +0 -6
- package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashBoardIframe.stories.d.ts +0 -7
- package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashBoardIframe.stories.js +0 -10
- package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashboardIframe.d.ts +0 -11
- package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashboardIframe.js +0 -70
- package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashboardIframe.styled.d.ts +0 -1
- package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashboardIframe.styled.js +0 -8
- package/dist/src/components/molecules/periscope-dashboard-iframe/index.d.ts +0 -2
- package/dist/src/components/molecules/periscope-dashboard-iframe/index.js +0 -2
- package/dist/src/components/molecules/phone-form/PhoneForm.d.ts +0 -12
- package/dist/src/components/molecules/phone-form/PhoneForm.js +0 -23
- package/dist/src/components/molecules/phone-form/PhoneForm.state.d.ts +0 -3
- package/dist/src/components/molecules/phone-form/PhoneForm.state.js +0 -9
- package/dist/src/components/molecules/phone-form/PhoneForm.stories.d.ts +0 -7
- package/dist/src/components/molecules/phone-form/PhoneForm.stories.js +0 -16
- package/dist/src/components/molecules/phone-form/index.d.ts +0 -2
- package/dist/src/components/molecules/phone-form/index.js +0 -6
- package/dist/src/components/molecules/radio-section/RadioSection.d.ts +0 -5
- package/dist/src/components/molecules/radio-section/RadioSection.js +0 -126
- package/dist/src/components/molecules/radio-section/RadioSection.stories.d.ts +0 -7
- package/dist/src/components/molecules/radio-section/RadioSection.stories.js +0 -18
- package/dist/src/components/molecules/radio-section/RadioSection.theme.d.ts +0 -13
- package/dist/src/components/molecules/radio-section/RadioSection.theme.js +0 -13
- package/dist/src/components/molecules/radio-section/index.d.ts +0 -2
- package/dist/src/components/molecules/radio-section/index.js +0 -2
- package/dist/src/components/molecules/registration-form/RegistrationForm.d.ts +0 -9
- package/dist/src/components/molecules/registration-form/RegistrationForm.js +0 -43
- package/dist/src/components/molecules/registration-form/RegistrationForm.state.d.ts +0 -3
- package/dist/src/components/molecules/registration-form/RegistrationForm.state.js +0 -27
- package/dist/src/components/molecules/registration-form/RegistrationForm.stories.d.ts +0 -7
- package/dist/src/components/molecules/registration-form/RegistrationForm.stories.js +0 -16
- package/dist/src/components/molecules/registration-form/index.d.ts +0 -2
- package/dist/src/components/molecules/registration-form/index.js +0 -6
- package/dist/src/components/molecules/reset-confirmation-form/ResetConfirmationForm.d.ts +0 -4
- package/dist/src/components/molecules/reset-confirmation-form/ResetConfirmationForm.js +0 -27
- package/dist/src/components/molecules/reset-confirmation-form/ResetConfirmationForm.stories.d.ts +0 -7
- package/dist/src/components/molecules/reset-confirmation-form/ResetConfirmationForm.stories.js +0 -9
- package/dist/src/components/molecules/reset-confirmation-form/index.d.ts +0 -2
- package/dist/src/components/molecules/reset-confirmation-form/index.js +0 -2
- package/dist/src/components/molecules/reset-password-form/ResetPasswordForm.d.ts +0 -9
- package/dist/src/components/molecules/reset-password-form/ResetPasswordForm.js +0 -30
- package/dist/src/components/molecules/reset-password-form/ResetPasswordForm.state.d.ts +0 -3
- package/dist/src/components/molecules/reset-password-form/ResetPasswordForm.state.js +0 -18
- package/dist/src/components/molecules/reset-password-form/ResetPasswordForm.stories.d.ts +0 -7
- package/dist/src/components/molecules/reset-password-form/ResetPasswordForm.stories.js +0 -16
- package/dist/src/components/molecules/reset-password-form/index.d.ts +0 -2
- package/dist/src/components/molecules/reset-password-form/index.js +0 -6
- package/dist/src/components/molecules/reset-password-success/ResetPasswordSuccess.d.ts +0 -4
- package/dist/src/components/molecules/reset-password-success/ResetPasswordSuccess.js +0 -27
- package/dist/src/components/molecules/reset-password-success/ResetPasswordSuccess.stories.d.ts +0 -7
- package/dist/src/components/molecules/reset-password-success/ResetPasswordSuccess.stories.js +0 -9
- package/dist/src/components/molecules/reset-password-success/index.d.ts +0 -2
- package/dist/src/components/molecules/reset-password-success/index.js +0 -2
- package/dist/src/components/molecules/tab-sidebar/TabSidebar.d.ts +0 -5
- package/dist/src/components/molecules/tab-sidebar/TabSidebar.js +0 -28
- package/dist/src/components/molecules/tab-sidebar/TabSidebar.stories.d.ts +0 -7
- package/dist/src/components/molecules/tab-sidebar/TabSidebar.stories.js +0 -52
- package/dist/src/components/molecules/tab-sidebar/TabSidebar.theme.d.ts +0 -9
- package/dist/src/components/molecules/tab-sidebar/TabSidebar.theme.js +0 -8
- package/dist/src/components/molecules/tab-sidebar/index.d.ts +0 -2
- package/dist/src/components/molecules/tab-sidebar/index.js +0 -2
- package/dist/src/components/molecules/tabs/Tabs.d.ts +0 -5
- package/dist/src/components/molecules/tabs/Tabs.js +0 -33
- package/dist/src/components/molecules/tabs/Tabs.stories.d.ts +0 -7
- package/dist/src/components/molecules/tabs/Tabs.stories.js +0 -186
- package/dist/src/components/molecules/tabs/Tabs.theme.d.ts +0 -9
- package/dist/src/components/molecules/tabs/Tabs.theme.js +0 -8
- package/dist/src/components/molecules/tabs/index.d.ts +0 -2
- package/dist/src/components/molecules/tabs/index.js +0 -2
- package/dist/src/components/molecules/terms-and-conditions/TermsAndConditions.d.ts +0 -8
- package/dist/src/components/molecules/terms-and-conditions/TermsAndConditions.js +0 -17
- package/dist/src/components/molecules/terms-and-conditions/TermsAndConditions.stories.d.ts +0 -7
- package/dist/src/components/molecules/terms-and-conditions/TermsAndConditions.stories.js +0 -12
- package/dist/src/components/molecules/terms-and-conditions/index.d.ts +0 -2
- package/dist/src/components/molecules/terms-and-conditions/index.js +0 -2
- package/dist/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.d.ts +0 -5
- package/dist/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.js +0 -16
- package/dist/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.stories.d.ts +0 -7
- package/dist/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.stories.js +0 -19
- package/dist/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.theme.d.ts +0 -50
- package/dist/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.theme.js +0 -24
- package/dist/src/components/molecules/terms-and-conditions-modal/index.d.ts +0 -2
- package/dist/src/components/molecules/terms-and-conditions-modal/index.js +0 -2
- package/dist/src/components/molecules/timeout/Timeout.d.ts +0 -4
- package/dist/src/components/molecules/timeout/Timeout.js +0 -26
- package/dist/src/components/molecules/timeout/index.d.ts +0 -2
- package/dist/src/components/molecules/timeout/index.js +0 -2
- package/dist/src/components/molecules/welcome-module/WelcomeModule.d.ts +0 -6
- package/dist/src/components/molecules/welcome-module/WelcomeModule.js +0 -27
- package/dist/src/components/molecules/welcome-module/WelcomeModule.theme.d.ts +0 -13
- package/dist/src/components/molecules/welcome-module/WelcomeModule.theme.js +0 -13
- package/dist/src/components/molecules/welcome-module/index.d.ts +0 -2
- package/dist/src/components/molecules/welcome-module/index.js +0 -2
- package/dist/src/components/molecules/workflow-tile/WorkflowTile.d.ts +0 -7
- package/dist/src/components/molecules/workflow-tile/WorkflowTile.js +0 -19
- package/dist/src/components/molecules/workflow-tile/WorkflowTile.stories.d.ts +0 -7
- package/dist/src/components/molecules/workflow-tile/WorkflowTile.stories.js +0 -11
- package/dist/src/components/molecules/workflow-tile/index.d.ts +0 -2
- package/dist/src/components/molecules/workflow-tile/index.js +0 -2
- package/dist/src/components/templates/center-single/CenterSingle.d.ts +0 -4
- package/dist/src/components/templates/center-single/CenterSingle.js +0 -20
- package/dist/src/components/templates/center-single/index.d.ts +0 -2
- package/dist/src/components/templates/center-single/index.js +0 -2
- package/dist/src/components/templates/center-stack/CenterStack.d.ts +0 -4
- package/dist/src/components/templates/center-stack/CenterStack.js +0 -22
- package/dist/src/components/templates/center-stack/index.d.ts +0 -2
- package/dist/src/components/templates/center-stack/index.js +0 -2
- package/dist/src/components/templates/default-page-template/DefaultPageTemplate.d.ts +0 -4
- package/dist/src/components/templates/default-page-template/DefaultPageTemplate.js +0 -20
- package/dist/src/components/templates/default-page-template/index.d.ts +0 -2
- package/dist/src/components/templates/default-page-template/index.js +0 -2
- package/dist/src/components/templates/index.d.ts +0 -5
- package/dist/src/components/templates/index.js +0 -5
- package/dist/src/components/templates/sidebar-single-content/SidebarSingleContent.d.ts +0 -4
- package/dist/src/components/templates/sidebar-single-content/SidebarSingleContent.js +0 -25
- package/dist/src/components/templates/sidebar-single-content/index.d.ts +0 -2
- package/dist/src/components/templates/sidebar-single-content/index.js +0 -2
- package/dist/src/components/templates/sidebar-stack-content/SidebarStackContent.d.ts +0 -4
- package/dist/src/components/templates/sidebar-stack-content/SidebarStackContent.js +0 -25
- package/dist/src/components/templates/sidebar-stack-content/index.d.ts +0 -2
- package/dist/src/components/templates/sidebar-stack-content/index.js +0 -2
- package/dist/src/components/templates/templates.theme.d.ts +0 -5
- package/dist/src/components/templates/templates.theme.js +0 -4
- package/dist/src/components/withWindowSize.d.ts +0 -4
- package/dist/src/components/withWindowSize.js +0 -70
- package/dist/src/constants/colors.d.ts +0 -97
- package/dist/src/constants/colors.js +0 -113
- package/dist/src/constants/index.d.ts +0 -3
- package/dist/src/constants/index.js +0 -3
- package/dist/src/constants/regex_constants.d.ts +0 -1
- package/dist/src/constants/regex_constants.js +0 -1
- package/dist/src/constants/style_constants.d.ts +0 -8
- package/dist/src/constants/style_constants.js +0 -10
- package/dist/src/deprecated/colors.d.ts +0 -81
- package/dist/src/deprecated/colors.js +0 -97
- package/dist/src/deprecated/components/radio-button/index.d.ts +0 -2
- package/dist/src/deprecated/components/radio-button/index.js +0 -2
- package/dist/src/deprecated/components/radio-button/radio-button.d.ts +0 -5
- package/dist/src/deprecated/components/radio-button/radio-button.js +0 -29
- package/dist/src/deprecated/icons/AlertErrorIcon.d.ts +0 -1
- package/dist/src/deprecated/icons/AlertErrorIcon.js +0 -10
- package/dist/src/deprecated/icons/AlertInfoIcon.d.ts +0 -1
- package/dist/src/deprecated/icons/AlertInfoIcon.js +0 -10
- package/dist/src/deprecated/icons/AlertSuccessIcon.d.ts +0 -1
- package/dist/src/deprecated/icons/AlertSuccessIcon.js +0 -10
- package/dist/src/deprecated/icons/AlertWarningIcon.d.ts +0 -1
- package/dist/src/deprecated/icons/AlertWarningIcon.js +0 -6
- package/dist/src/deprecated/icons/BankIcon.d.ts +0 -2
- package/dist/src/deprecated/icons/BankIcon.js +0 -19
- package/dist/src/deprecated/icons/GenericCard.d.ts +0 -2
- package/dist/src/deprecated/icons/GenericCard.js +0 -9
- package/dist/src/deprecated/icons/IconCheck.d.ts +0 -5
- package/dist/src/deprecated/icons/IconCheck.js +0 -10
- package/dist/src/deprecated/icons/IconCheckEmail.d.ts +0 -4
- package/dist/src/deprecated/icons/IconCheckEmail.js +0 -14
- package/dist/src/deprecated/icons/IconChevron.d.ts +0 -3
- package/dist/src/deprecated/icons/IconChevron.js +0 -14
- package/dist/src/deprecated/icons/IconEmailVerified.d.ts +0 -4
- package/dist/src/deprecated/icons/IconEmailVerified.js +0 -22
- package/dist/src/deprecated/icons/IconEye.d.ts +0 -3
- package/dist/src/deprecated/icons/IconEye.js +0 -15
- package/dist/src/deprecated/icons/IconEyeSlash.d.ts +0 -3
- package/dist/src/deprecated/icons/IconEyeSlash.js +0 -19
- package/dist/src/deprecated/icons/IconInvalid.d.ts +0 -7
- package/dist/src/deprecated/icons/IconInvalid.js +0 -14
- package/dist/src/deprecated/icons/IconNeutral.d.ts +0 -6
- package/dist/src/deprecated/icons/IconNeutral.js +0 -10
- package/dist/src/deprecated/icons/IconQuit.d.ts +0 -5
- package/dist/src/deprecated/icons/IconQuit.js +0 -14
- package/dist/src/deprecated/icons/IconValid.d.ts +0 -7
- package/dist/src/deprecated/icons/IconValid.js +0 -15
- package/dist/src/deprecated/icons/IconWarn.d.ts +0 -3
- package/dist/src/deprecated/icons/IconWarn.js +0 -13
- package/dist/src/deprecated/icons/index.d.ts +0 -22
- package/dist/src/deprecated/icons/index.js +0 -22
- package/dist/src/deprecated/index.d.ts +0 -1
- package/dist/src/deprecated/index.js +0 -1
- package/dist/src/deprecated/spinner/Spinner.d.ts +0 -7
- package/dist/src/deprecated/spinner/Spinner.js +0 -46
- package/dist/src/deprecated/spinner/index.d.ts +0 -1
- package/dist/src/deprecated/spinner/index.js +0 -1
- package/dist/src/deprecated/utility/__tests__/safeConcat.spec.d.ts +0 -1
- package/dist/src/deprecated/utility/__tests__/safeConcat.spec.js +0 -47
- package/dist/src/deprecated/utility/__tests__/validateKeyType.spec.d.ts +0 -1
- package/dist/src/deprecated/utility/__tests__/validateKeyType.spec.js +0 -100
- package/dist/src/deprecated/utility/index.d.ts +0 -2
- package/dist/src/deprecated/utility/index.js +0 -2
- package/dist/src/deprecated/utility/safeConcat.d.ts +0 -1
- package/dist/src/deprecated/utility/safeConcat.js +0 -8
- package/dist/src/deprecated/utility/validateKeyType.d.ts +0 -1
- package/dist/src/deprecated/utility/validateKeyType.js +0 -13
- package/dist/src/index.d.ts +0 -4
- package/dist/src/index.js +0 -4
- package/dist/src/util/focusFirstInvalidInputHook.d.ts +0 -2
- package/dist/src/util/focusFirstInvalidInputHook.js +0 -17
- package/dist/src/util/formats.d.ts +0 -9
- package/dist/src/util/formats.js +0 -70
- package/dist/src/util/general.d.ts +0 -13
- package/dist/src/util/general.js +0 -101
- package/dist/src/util/index.d.ts +0 -5
- package/dist/src/util/index.js +0 -5
- package/dist/src/util/inputValidationUtils.d.ts +0 -43
- package/dist/src/util/inputValidationUtils.js +0 -92
- package/dist/src/util/themeUtils.d.ts +0 -5
- package/dist/src/util/themeUtils.js +0 -129
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
var _a;
|
|
2
|
-
import { createFormState, required, onlyIntegers, hasLength, matchesRegex, validateWhen, dateAfterToday, isValidMonth, onlyExpirationDate } from "redux-freeform";
|
|
3
|
-
//TODO: Will make zip code able to have more than 5 digits once we add in the FormattedInput because it will have issues with format of 60606-1111.
|
|
4
|
-
var formConfig = {
|
|
5
|
-
country: {
|
|
6
|
-
defaultValue: "US",
|
|
7
|
-
validators: [required()]
|
|
8
|
-
},
|
|
9
|
-
nameOnCard: {
|
|
10
|
-
validators: [required()]
|
|
11
|
-
},
|
|
12
|
-
creditCardNumber: {
|
|
13
|
-
validators: [required(), hasLength(15, 16)],
|
|
14
|
-
constraints: [onlyIntegers(), hasLength(0, 16)]
|
|
15
|
-
},
|
|
16
|
-
expirationDate: {
|
|
17
|
-
validators: [
|
|
18
|
-
required(),
|
|
19
|
-
hasLength(4, 4),
|
|
20
|
-
isValidMonth(0),
|
|
21
|
-
dateAfterToday("MMYY", "month", true)
|
|
22
|
-
],
|
|
23
|
-
constraints: [onlyExpirationDate(), hasLength(0, 4)]
|
|
24
|
-
},
|
|
25
|
-
cvv: {
|
|
26
|
-
validators: [required(), hasLength(3, 4)],
|
|
27
|
-
constraints: [onlyIntegers(), hasLength(0, 4)]
|
|
28
|
-
},
|
|
29
|
-
zipCode: {
|
|
30
|
-
validators: [
|
|
31
|
-
required(),
|
|
32
|
-
validateWhen(validateWhen(hasLength(5, 5), hasLength(0, 5)), matchesRegex("US"), "country"),
|
|
33
|
-
validateWhen(validateWhen(hasLength(9, 9), hasLength(6, 9)), matchesRegex("US"), "country")
|
|
34
|
-
],
|
|
35
|
-
constraints: [
|
|
36
|
-
validateWhen(onlyIntegers(), matchesRegex("US"), "country"),
|
|
37
|
-
validateWhen(hasLength(0, 9), matchesRegex("US"), "country")
|
|
38
|
-
]
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
export var reducer = (_a = createFormState(formConfig), _a.reducer), mapStateToProps = _a.mapStateToProps, mapDispatchToProps = _a.mapDispatchToProps;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { connect } from "react-redux";
|
|
3
|
-
import { boolean } from "@storybook/addon-knobs";
|
|
4
|
-
import PaymentFormCard from "./PaymentFormCard";
|
|
5
|
-
import page from "../../../../.storybook/page";
|
|
6
|
-
import * as PaymentFormCardState from "./PaymentFormCard.state";
|
|
7
|
-
var story = page({
|
|
8
|
-
title: "Components|Molecules/PaymentFormCard",
|
|
9
|
-
Component: PaymentFormCard,
|
|
10
|
-
reducer: PaymentFormCardState.reducer,
|
|
11
|
-
mapStateToProps: PaymentFormCardState.mapStateToProps,
|
|
12
|
-
mapDispatchToProps: PaymentFormCardState.mapDispatchToProps
|
|
13
|
-
});
|
|
14
|
-
export default story;
|
|
15
|
-
var ConnectedForm = connect(PaymentFormCardState.mapStateToProps, PaymentFormCardState.mapDispatchToProps)(PaymentFormCard);
|
|
16
|
-
export var paymentFormCard = function () { return (React.createElement(ConnectedForm, { showErrors: boolean("showErrors", false, "props") })); };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import PaymentFormCard from "./PaymentFormCard";
|
|
2
|
-
import { reducer, mapStateToProps, mapDispatchToProps } from "./PaymentFormCard.state";
|
|
3
|
-
PaymentFormCard.reducer = reducer;
|
|
4
|
-
PaymentFormCard.mapStateToProps = mapStateToProps;
|
|
5
|
-
PaymentFormCard.mapDispatchToProps = mapDispatchToProps;
|
|
6
|
-
export default PaymentFormCard;
|
package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashBoardIframe.stories.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import PeriscopeDashboardIframe from "./PeriscopeDashboardIframe";
|
|
3
|
-
import page from "../../../../.storybook/page";
|
|
4
|
-
import { boolean } from "@storybook/addon-knobs";
|
|
5
|
-
export var periscopeDashboardIframe = function () { return (React.createElement(PeriscopeDashboardIframe, { url: "www.example.com", requestDashboardUrl: function () { }, periscopeDataPending: boolean("dataPending", true), periscopeDataSuccess: boolean("dataSuccess", false), periscopeDataFailure: boolean("dataFailure", false), periscopeDataRequestSuccess: boolean("requestSuccess", false), periscopeDataRequestFailure: boolean("requestFailure", false) })); };
|
|
6
|
-
var story = page({
|
|
7
|
-
title: "Components|Molecules/PeriscopeDashboardIframe",
|
|
8
|
-
Component: PeriscopeDashboardIframe
|
|
9
|
-
});
|
|
10
|
-
export default story;
|
package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashboardIframe.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export default PeriscopeDashboardIframe;
|
|
2
|
-
declare function PeriscopeDashboardIframe({ url, requestDashboardUrl, periscopeDataPending, periscopeDataSuccess, periscopeDataFailure, periscopeDataRequestSuccess, periscopeDataRequestFailure, timerMS }: {
|
|
3
|
-
url: any;
|
|
4
|
-
requestDashboardUrl: any;
|
|
5
|
-
periscopeDataPending: any;
|
|
6
|
-
periscopeDataSuccess: any;
|
|
7
|
-
periscopeDataFailure: any;
|
|
8
|
-
periscopeDataRequestSuccess: any;
|
|
9
|
-
periscopeDataRequestFailure: any;
|
|
10
|
-
timerMS?: number | undefined;
|
|
11
|
-
}): JSX.Element;
|
package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashboardIframe.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import React, { useLayoutEffect, useState, useEffect, Fragment } from "react";
|
|
2
|
-
import { BoxWithShadow, Center, Box, PeriscopeFailedIcon, Heading, Paragraph, Cover, Spinner } from "../../atoms";
|
|
3
|
-
import { DashboardIframe } from "./PeriscopeDashboardIframe.styled";
|
|
4
|
-
/**
|
|
5
|
-
* Component: PeriscopeDashboardIframe
|
|
6
|
-
*
|
|
7
|
-
* Used for rendering Citybase's periscope reporting dashboards in iframes.
|
|
8
|
-
* Receives action props to trigger a request on mount for the iframe's url.
|
|
9
|
-
* Receives a string prop if/when we receive the url result.
|
|
10
|
-
* And receives action props to emit errors from failed iframe loading.
|
|
11
|
-
*
|
|
12
|
-
* The logic and api client methods to handle requests/response,
|
|
13
|
-
* store the url, etc. should be provided from the app consuming this library.
|
|
14
|
-
*
|
|
15
|
-
* If the url request is pending, render a spinner.
|
|
16
|
-
* If the url request failed, render a UI error state.
|
|
17
|
-
**/
|
|
18
|
-
var DASHBOARD_SIZE_MESSAGE_TYPE = "dashboard_resize";
|
|
19
|
-
var PERISCOPE_ORIGIN = "https://app.periscopedata.com";
|
|
20
|
-
var isValidMessage = function (message) {
|
|
21
|
-
return message.isTrusted &&
|
|
22
|
-
message.origin === PERISCOPE_ORIGIN &&
|
|
23
|
-
message.data &&
|
|
24
|
-
message.data.event_type === DASHBOARD_SIZE_MESSAGE_TYPE;
|
|
25
|
-
};
|
|
26
|
-
var PeriscopeDashboardIframe = function (_a) {
|
|
27
|
-
var url = _a.url, requestDashboardUrl = _a.requestDashboardUrl, periscopeDataPending = _a.periscopeDataPending, periscopeDataSuccess = _a.periscopeDataSuccess, periscopeDataFailure = _a.periscopeDataFailure, periscopeDataRequestSuccess = _a.periscopeDataRequestSuccess, periscopeDataRequestFailure = _a.periscopeDataRequestFailure, _b = _a.timerMS, timerMS = _b === void 0 ? 20000 : _b;
|
|
28
|
-
var _c = useState(0), height = _c[0], setHeight = _c[1];
|
|
29
|
-
var time = { timer: null };
|
|
30
|
-
useEffect(function () {
|
|
31
|
-
time.timer = setTimeout(function () {
|
|
32
|
-
if (!periscopeDataSuccess) {
|
|
33
|
-
periscopeDataRequestFailure();
|
|
34
|
-
}
|
|
35
|
-
}, timerMS);
|
|
36
|
-
return function () { return clearTimeout(time.timer); };
|
|
37
|
-
}, [periscopeDataSuccess]);
|
|
38
|
-
var Dashboard = function (height) { return function (url) { return (React.createElement(DashboardIframe, { src: url, width: "100%", height: height, "data-qa": "DashboardIframe", onLoad: function () {
|
|
39
|
-
var iframe = document.querySelector("iframe");
|
|
40
|
-
iframe.style.display = "initial";
|
|
41
|
-
} })); }; };
|
|
42
|
-
var validatePeriscope = function (message) {
|
|
43
|
-
if (isValidMessage(message)) {
|
|
44
|
-
setHeight(message.data.dashboard_height + 100);
|
|
45
|
-
if (!periscopeDataSuccess) {
|
|
46
|
-
clearTimeout(time.timer);
|
|
47
|
-
periscopeDataRequestSuccess();
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
useLayoutEffect(function () {
|
|
52
|
-
window.addEventListener("message", validatePeriscope);
|
|
53
|
-
requestDashboardUrl();
|
|
54
|
-
return function () { return window.removeEventListener("message", validatePeriscope); };
|
|
55
|
-
}, [requestDashboardUrl]);
|
|
56
|
-
return (React.createElement(Fragment, null,
|
|
57
|
-
React.createElement(BoxWithShadow, { padding: "0", minWidth: "100%", minHeight: "592px", variant: "baseStandard", background: "#fff", borderRadius: "4px", extraStyles: "display: flex; justify-content: center; align-items: center; flex-direction: column;" },
|
|
58
|
-
periscopeDataPending && !periscopeDataSuccess && (React.createElement(Cover, { minHeight: "100%", singleChild: true },
|
|
59
|
-
React.createElement(Center, { intrinsic: true },
|
|
60
|
-
React.createElement(Spinner, { size: "100" })))),
|
|
61
|
-
periscopeDataFailure && !periscopeDataSuccess && (React.createElement(Box, { padding: "64px" },
|
|
62
|
-
React.createElement(Center, { intrinsic: true },
|
|
63
|
-
React.createElement(Box, { padding: "0 0 2rem" },
|
|
64
|
-
React.createElement(PeriscopeFailedIcon, null)),
|
|
65
|
-
React.createElement(Heading, { variant: "h3", weight: "700" }, "Something Went Wrong"),
|
|
66
|
-
React.createElement(Paragraph, { variant: "p", extraStyles: "text-align: center;" }, "There was an issue trying to load the dashboard."),
|
|
67
|
-
React.createElement(Paragraph, { variant: "p", extraStyles: "text-align: center;" }, "Your organization may not have a dashboard configured.")))),
|
|
68
|
-
!periscopeDataFailure && url && Dashboard(height)(url))));
|
|
69
|
-
};
|
|
70
|
-
export default PeriscopeDashboardIframe;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const DashboardIframe: any;
|
package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashboardIframe.styled.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
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 { ALTO_GREY } from "../../../constants/colors";
|
|
7
|
-
export var DashboardIframe = styled.iframe(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border: none;\n box-shadow: 0 0 5px 0 ", ";\n display: none;\n"], ["\n border: none;\n box-shadow: 0 0 5px 0 ", ";\n display: none;\n"])), ALTO_GREY);
|
|
8
|
-
var templateObject_1;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export default PhoneForm;
|
|
2
|
-
declare function PhoneForm({ variant, fields, actions, clearOnDismount, showErrors, handleSubmit, showWalletCheckbox, saveToWallet, walletCheckboxMarked }: {
|
|
3
|
-
variant?: string | undefined;
|
|
4
|
-
fields: any;
|
|
5
|
-
actions: any;
|
|
6
|
-
clearOnDismount: any;
|
|
7
|
-
showErrors: any;
|
|
8
|
-
handleSubmit?: (() => void) | undefined;
|
|
9
|
-
showWalletCheckbox: any;
|
|
10
|
-
saveToWallet: any;
|
|
11
|
-
walletCheckboxMarked: any;
|
|
12
|
-
}): JSX.Element;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React, { useEffect } from "react";
|
|
2
|
-
import { required, hasLength } from "redux-freeform";
|
|
3
|
-
import { createFormat } from "formatted-input";
|
|
4
|
-
import { FormInput, FormContainer, FormInputColumn } from "../../atoms/form-layouts";
|
|
5
|
-
import Checkbox from "../../atoms/checkbox";
|
|
6
|
-
import { noop } from "../../../util/general";
|
|
7
|
-
import { phoneFormats, formatDelimiter } from "../../../util/formats";
|
|
8
|
-
var PhoneForm = function (_a) {
|
|
9
|
-
var _b;
|
|
10
|
-
var _c = _a.variant, variant = _c === void 0 ? "default" : _c, fields = _a.fields, actions = _a.actions, clearOnDismount = _a.clearOnDismount, showErrors = _a.showErrors, _d = _a.handleSubmit, handleSubmit = _d === void 0 ? noop : _d, showWalletCheckbox = _a.showWalletCheckbox, saveToWallet = _a.saveToWallet, walletCheckboxMarked = _a.walletCheckboxMarked;
|
|
11
|
-
if (clearOnDismount) {
|
|
12
|
-
useEffect(function () { return function () { return actions.form.clear(); }; }, []);
|
|
13
|
-
}
|
|
14
|
-
var phoneErrorMessage = (_b = {},
|
|
15
|
-
_b[required.error] = "Phone number is required",
|
|
16
|
-
_b[hasLength.error] = "Phone number must be 10 digits",
|
|
17
|
-
_b);
|
|
18
|
-
return (React.createElement(FormContainer, { variant: variant, role: "form", "aria-label": "Phone number" },
|
|
19
|
-
React.createElement(FormInputColumn, null,
|
|
20
|
-
React.createElement(FormInput, { labelTextWhenNoError: "Phone number", errorMessages: phoneErrorMessage, field: fields.phone, fieldActions: actions.fields.phone, showErrors: showErrors, formatter: createFormat(phoneFormats, formatDelimiter), onKeyUp: function (e) { return e.key === "Enter" && handleSubmit(e); }, isNum: true, autocomplete: "tel" }),
|
|
21
|
-
showWalletCheckbox && (React.createElement(Checkbox, { name: "phone checkbox", title: "Save phone number to wallet", checked: walletCheckboxMarked, onChange: saveToWallet })))));
|
|
22
|
-
};
|
|
23
|
-
export default PhoneForm;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
var _a;
|
|
2
|
-
import { createFormState, required, onlyIntegers, hasLength } from "redux-freeform";
|
|
3
|
-
var formConfig = {
|
|
4
|
-
phone: {
|
|
5
|
-
validators: [required(), hasLength(10, 10)],
|
|
6
|
-
constraints: [onlyIntegers(), hasLength(0, 10)]
|
|
7
|
-
}
|
|
8
|
-
};
|
|
9
|
-
export var reducer = (_a = createFormState(formConfig), _a.reducer), mapStateToProps = _a.mapStateToProps, mapDispatchToProps = _a.mapDispatchToProps;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { connect } from "react-redux";
|
|
3
|
-
import { boolean } from "@storybook/addon-knobs";
|
|
4
|
-
import PhoneForm from "./PhoneForm";
|
|
5
|
-
import page from "../../../../.storybook/page";
|
|
6
|
-
import * as PhoneFormState from "./PhoneForm.state";
|
|
7
|
-
var story = page({
|
|
8
|
-
title: "Components|Molecules/PhoneForm",
|
|
9
|
-
Component: PhoneForm,
|
|
10
|
-
reducer: PhoneFormState.reducer,
|
|
11
|
-
mapStateToProps: PhoneFormState.mapStateToProps,
|
|
12
|
-
mapDispatchToProps: PhoneFormState.mapDispatchToProps
|
|
13
|
-
});
|
|
14
|
-
export default story;
|
|
15
|
-
var ConnectedForm = connect(PhoneFormState.mapStateToProps, PhoneFormState.mapDispatchToProps)(PhoneForm);
|
|
16
|
-
export var phoneForm = function () { return (React.createElement(ConnectedForm, { showErrors: boolean("showErrors", false, "props") })); };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import PhoneForm from "./PhoneForm";
|
|
2
|
-
import { reducer, mapStateToProps, mapDispatchToProps } from "./PhoneForm.state";
|
|
3
|
-
PhoneForm.reducer = reducer;
|
|
4
|
-
PhoneForm.mapStateToProps = mapStateToProps;
|
|
5
|
-
PhoneForm.mapDispatchToProps = mapDispatchToProps;
|
|
6
|
-
export default PhoneForm;
|
|
@@ -1,126 +0,0 @@
|
|
|
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 React, { Fragment, useState } from "react";
|
|
6
|
-
import styled from "styled-components";
|
|
7
|
-
import { themeComponent } from "../../../util/themeUtils";
|
|
8
|
-
import { fallbackValues } from "./RadioSection.theme";
|
|
9
|
-
import { AnimatePresence } from "framer-motion";
|
|
10
|
-
import RadioButton from "../../atoms/radio-button";
|
|
11
|
-
import { Box, Cluster, Stack, Motion } from "../../atoms/layouts";
|
|
12
|
-
import { noop } from "../../../util/general";
|
|
13
|
-
import Text from "../../atoms/text";
|
|
14
|
-
import { CHARADE_GREY, ASH_GREY, FIRE_YELLOW } from "../../../constants/colors";
|
|
15
|
-
/*
|
|
16
|
-
Takes an array of section objects, each object should look like:
|
|
17
|
-
{
|
|
18
|
-
title: <React Component(s)>,
|
|
19
|
-
id: <String> "identifier of section",
|
|
20
|
-
disabled: boolean, (displays section and grayed out radio but disables interaction)
|
|
21
|
-
hideRadioButton: boolean, (keeps section displayed but hides radio and disables open/close function),
|
|
22
|
-
hidden: boolean, (hides section entirely)
|
|
23
|
-
dataQa: string,
|
|
24
|
-
content: <React Component(s)> e.g.: <Box><Stack>cool content stuff</Stack></Box> (any collection of components will work)
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
Also takes an "openSection" which should equal the id of the section that should be open
|
|
28
|
-
And a toggleOpenSection. RadioSection will call this function with the id of the section
|
|
29
|
-
that it is in. It is up to the user to store the open section value in state up from the component
|
|
30
|
-
using a useState() hook, or reducer.
|
|
31
|
-
|
|
32
|
-
The section itself comes with some motion to open/close. To add more motion to the content,
|
|
33
|
-
wrap your content with a Motion layout primitive and provide appropriate props.
|
|
34
|
-
|
|
35
|
-
*/
|
|
36
|
-
var ACTIVE = "ACTIVE";
|
|
37
|
-
var EXPIRING_SOON = "EXPIRING_SOON";
|
|
38
|
-
var EXPIRED = "EXPIRED";
|
|
39
|
-
var RadioSection = function (_a) {
|
|
40
|
-
var themeValues = _a.themeValues, isMobile = _a.isMobile, supportsTouch = _a.supportsTouch, _b = _a.sections, sections = _b === void 0 ? [] : _b, _c = _a.openSection, openSection = _c === void 0 ? "" : _c, toggleOpenSection = _a.toggleOpenSection, _d = _a.staggeredAnimation, staggeredAnimation = _d === void 0 ? false : _d, _e = _a.initiallyOpen, initiallyOpen = _e === void 0 ? true : _e, _f = _a.openHeight, openHeight = _f === void 0 ? "auto" : _f;
|
|
41
|
-
var handleKeyDown = function (id, e) {
|
|
42
|
-
if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13) {
|
|
43
|
-
toggleOpenSection(id);
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
var renderCardStatus = function (item) {
|
|
47
|
-
var expirationStatus = item.expirationStatus, expireDate = item.expireDate;
|
|
48
|
-
switch (expirationStatus) {
|
|
49
|
-
case ACTIVE:
|
|
50
|
-
return (React.createElement(Text, { variant: "pXS", color: ASH_GREY, extraStyles: "text-align: right;" },
|
|
51
|
-
"Exp Date ",
|
|
52
|
-
expireDate));
|
|
53
|
-
case EXPIRING_SOON:
|
|
54
|
-
return (React.createElement(Text, { variant: "pXS", color: FIRE_YELLOW, extraStyles: "text-align: right;" },
|
|
55
|
-
"Expiring Soon ",
|
|
56
|
-
expireDate));
|
|
57
|
-
case EXPIRED:
|
|
58
|
-
return (React.createElement(Text, { variant: "pXS", color: ASH_GREY, extraStyles: "text-align: right;" }, "Expired"));
|
|
59
|
-
default:
|
|
60
|
-
null;
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
var wrapper = {
|
|
64
|
-
open: {
|
|
65
|
-
height: openHeight,
|
|
66
|
-
opacity: 1,
|
|
67
|
-
transition: {
|
|
68
|
-
duration: 0.3,
|
|
69
|
-
ease: [0.04, 0.62, 0.23, 0.98],
|
|
70
|
-
staggerChildren: staggeredAnimation ? 0.15 : 0
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
closed: {
|
|
74
|
-
height: 0,
|
|
75
|
-
opacity: 0,
|
|
76
|
-
transition: {
|
|
77
|
-
duration: 0.3,
|
|
78
|
-
ease: [0.04, 0.62, 0.23, 0.98],
|
|
79
|
-
staggerChildren: staggeredAnimation ? 0.15 : 0,
|
|
80
|
-
staggerDirection: -1
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
var borderStyles = "\n border-width: 0 0 1px 0;\n border-color: ".concat(themeValues.borderColor, ";\n border-style: solid;\n border-radius: 0px;\n transform-origin: 100% 0;\n\n &:last-child {\n border-width: 0;\n }\n ");
|
|
85
|
-
var RightIcon = styled.img(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: ", ";\n width: ", ";\n ", "\n transition: opacity 0.3s ease;\n "], ["\n height: ", ";\n width: ", ";\n ", "\n transition: opacity 0.3s ease;\n "])), function (_a) {
|
|
86
|
-
var isMobile = _a.isMobile;
|
|
87
|
-
return (isMobile ? "14px" : "18px");
|
|
88
|
-
}, function (_a) {
|
|
89
|
-
var isMobile = _a.isMobile;
|
|
90
|
-
return (isMobile ? "22px" : "28px");
|
|
91
|
-
}, function (_a) {
|
|
92
|
-
var fade = _a.fade;
|
|
93
|
-
return fade && "opacity: 0.4;";
|
|
94
|
-
});
|
|
95
|
-
var _g = useState(null), focused = _g[0], setFocused = _g[1];
|
|
96
|
-
return (React.createElement(Box, { padding: "1px", border: "1px solid ".concat(themeValues.borderColor), borderRadius: "4px" },
|
|
97
|
-
React.createElement(Stack, { childGap: "0" }, sections
|
|
98
|
-
.filter(function (section) { return !section.hidden; })
|
|
99
|
-
.map(function (section) { return (React.createElement(Motion, { tabIndex: section.hideRadioButton || section.disabled ? "-1" : "0", onKeyDown: function (e) { return handleKeyDown(section.id, e); }, onFocus: function () { return setFocused(section.id); }, onBlur: function () { return setFocused(null); }, hoverStyles: themeValues.focusStyles, animate: openSection === section.id ? "open" : "closed", initial: initiallyOpen ? "open" : "closed", key: "item-".concat(section.id), extraStyles: borderStyles },
|
|
100
|
-
React.createElement(Stack, { childGap: "0" },
|
|
101
|
-
React.createElement(Box, { padding: section.hideRadioButton
|
|
102
|
-
? "1.5rem"
|
|
103
|
-
: "1.25rem 1.5rem 1.25rem 1.25rem", background: section.disabled
|
|
104
|
-
? themeValues.headingDisabledColor
|
|
105
|
-
: themeValues.headingBackgroundColor, onClick: (isMobile && supportsTouch) || section.disabled
|
|
106
|
-
? noop
|
|
107
|
-
: function () { return toggleOpenSection(section.id); }, onTouchEnd: (isMobile && supportsTouch) || !section.disabled
|
|
108
|
-
? function () { return toggleOpenSection(section.id); }
|
|
109
|
-
: noop, key: "header-".concat(section.id), borderSize: "0px", borderColor: themeValues.borderColor, borderWidthOverride: openSection === section.id && !!section.content
|
|
110
|
-
? "0px 0px 1px 0px"
|
|
111
|
-
: "", extraStyles: !section.disabled ? "cursor: pointer;" : "", dataQa: section.dataQa ? section.dataQa : section.id },
|
|
112
|
-
React.createElement(Cluster, { justify: "space-between", align: "center", childGap: "0.5rem", nowrap: true },
|
|
113
|
-
React.createElement(Cluster, { justify: "flex-start", align: "center", nowrap: true },
|
|
114
|
-
!section.hideRadioButton && (React.createElement(Box, { padding: "0" },
|
|
115
|
-
React.createElement(RadioButton, { name: section.id, radioOn: openSection === section.id, radioFocused: focused === section.id, toggleRadio: section.disabled
|
|
116
|
-
? noop
|
|
117
|
-
: function () { return toggleOpenSection(section.id); }, tabIndex: "-1" }))),
|
|
118
|
-
section.titleIcon && (React.createElement(Cluster, { align: "center" }, section.titleIcon)),
|
|
119
|
-
React.createElement(Box, { padding: section.titleIcon ? "0 0 0 8px" : "0" },
|
|
120
|
-
React.createElement(Text, { variant: "p", color: CHARADE_GREY }, section.title))),
|
|
121
|
-
section.rightIcons && (React.createElement(Cluster, { childGap: "0.5rem" }, section.rightIcons.map(function (icon) { return (React.createElement(RightIcon, { src: icon.img, key: icon.img, fade: !icon.enabled, isMobile: isMobile, alt: icon.altText })); }))),
|
|
122
|
-
section.shouldDisplayCardExpiration && (React.createElement(Fragment, null, renderCardStatus(section))))),
|
|
123
|
-
React.createElement(AnimatePresence, { initial: false }, openSection === section.id && (React.createElement(Motion, { key: "content-".concat(section.id), padding: "0", background: themeValues.bodyBackgroundColor, layoutTransition: true, initial: "closed", animate: "open", exit: "closed", variants: wrapper, extraStyles: "transform-origin: 100% 0;" }, section.content)))))); }))));
|
|
124
|
-
};
|
|
125
|
-
export default themeComponent(RadioSection, "RadioSection", fallbackValues);
|
|
126
|
-
var templateObject_1;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React, { useState } from "react";
|
|
2
|
-
import { boolean } from "@storybook/addon-knobs";
|
|
3
|
-
import RadioSection from "./RadioSection";
|
|
4
|
-
import page from "../../../../.storybook/page";
|
|
5
|
-
var story = page({
|
|
6
|
-
title: "Components|Atoms/RadioSection",
|
|
7
|
-
Component: RadioSection
|
|
8
|
-
});
|
|
9
|
-
export default story;
|
|
10
|
-
var sections = [
|
|
11
|
-
{ id: "foo", title: "Foo", content: React.createElement("div", null, "Content 0") },
|
|
12
|
-
{ id: "bar", title: "Bar", content: React.createElement("div", null, "Content 1") },
|
|
13
|
-
{ id: "baz", title: "Baz", content: React.createElement("div", null, "Content 2") }
|
|
14
|
-
];
|
|
15
|
-
export var radioSection = function () {
|
|
16
|
-
var _a = useState(""), openSection = _a[0], setOpenSection = _a[1];
|
|
17
|
-
return (React.createElement(RadioSection, { isMobile: boolean("isMobile", false, "props"), supportsTouch: boolean("isMobile", false, "props"), toggleOpenSection: setOpenSection, openSection: openSection, staggeredAnimation: boolean("staggeredAnimation", false, "props"), sections: sections }));
|
|
18
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export namespace fallbackValues {
|
|
2
|
-
export { headingBackgroundColor };
|
|
3
|
-
export { headingDisabledColor };
|
|
4
|
-
export { bodyBackgroundColor };
|
|
5
|
-
export { borderColor };
|
|
6
|
-
export { focusStyles };
|
|
7
|
-
}
|
|
8
|
-
declare const headingBackgroundColor: string;
|
|
9
|
-
declare const headingDisabledColor: string;
|
|
10
|
-
declare const bodyBackgroundColor: "#eeeeee";
|
|
11
|
-
declare const borderColor: string;
|
|
12
|
-
declare const focusStyles: "outline: none;";
|
|
13
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { WHITE, GREY_CHATEAU, ATHENS_GREY } from "../../../constants/colors";
|
|
2
|
-
var headingBackgroundColor = "".concat(WHITE);
|
|
3
|
-
var headingDisabledColor = "".concat(ATHENS_GREY);
|
|
4
|
-
var bodyBackgroundColor = "#eeeeee";
|
|
5
|
-
var borderColor = "".concat(GREY_CHATEAU);
|
|
6
|
-
var focusStyles = "outline: none;";
|
|
7
|
-
export var fallbackValues = {
|
|
8
|
-
headingBackgroundColor: headingBackgroundColor,
|
|
9
|
-
headingDisabledColor: headingDisabledColor,
|
|
10
|
-
bodyBackgroundColor: bodyBackgroundColor,
|
|
11
|
-
borderColor: borderColor,
|
|
12
|
-
focusStyles: focusStyles
|
|
13
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export default RegistrationForm;
|
|
2
|
-
declare function RegistrationForm({ clearOnDismount, fields, actions, handleSubmit, showErrors, isMobile }: {
|
|
3
|
-
clearOnDismount: any;
|
|
4
|
-
fields: any;
|
|
5
|
-
actions: any;
|
|
6
|
-
handleSubmit?: (() => void) | undefined;
|
|
7
|
-
showErrors: any;
|
|
8
|
-
isMobile: any;
|
|
9
|
-
}): JSX.Element;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import React, { useEffect } from "react";
|
|
2
|
-
import { required, hasLength, matchesField, hasNumber, hasLowercaseLetter, hasUppercaseLetter, hasSpecialCharacter, isProbablyEmail } from "redux-freeform";
|
|
3
|
-
import PasswordRequirements from "../../atoms/password-requirements";
|
|
4
|
-
import { Box } from "../../atoms/layouts";
|
|
5
|
-
import { FormInput, FormInputColumn } from "../../atoms/form-layouts";
|
|
6
|
-
import { noop } from "../../../util/general";
|
|
7
|
-
var RegistrationForm = function (_a) {
|
|
8
|
-
var _b, _c, _d, _e, _f;
|
|
9
|
-
var clearOnDismount = _a.clearOnDismount, fields = _a.fields, actions = _a.actions, _g = _a.handleSubmit, handleSubmit = _g === void 0 ? noop : _g, showErrors = _a.showErrors, isMobile = _a.isMobile;
|
|
10
|
-
if (clearOnDismount) {
|
|
11
|
-
useEffect(function () { return function () { return actions.form.clear(); }; }, []);
|
|
12
|
-
}
|
|
13
|
-
var firstNameErrorMessages = (_b = {},
|
|
14
|
-
_b[required.error] = "First name is required",
|
|
15
|
-
_b);
|
|
16
|
-
var lastNameErrorMessages = (_c = {},
|
|
17
|
-
_c[required.error] = "Last name is required",
|
|
18
|
-
_c);
|
|
19
|
-
var emailErrorMessages = (_d = {},
|
|
20
|
-
_d[required.error] = "Email is required",
|
|
21
|
-
_d[isProbablyEmail.error] = "Invalid email address",
|
|
22
|
-
_d);
|
|
23
|
-
var passwordErrorMessages = (_e = {},
|
|
24
|
-
_e[required.error] = "Password is required",
|
|
25
|
-
_e[hasLength.error] = "Password must have at least 8 characters",
|
|
26
|
-
_e[hasNumber.error] = "Password must contain at least one number",
|
|
27
|
-
_e[hasLowercaseLetter.error] = "Password must contain at least one lowercase letter",
|
|
28
|
-
_e[hasUppercaseLetter.error] = "Password must contain at least one uppercase letter",
|
|
29
|
-
_e[hasSpecialCharacter.error] = "Password must contain at least one special character (!@#$%^&*.?)",
|
|
30
|
-
_e);
|
|
31
|
-
var confirmPasswordErrorMessages = (_f = {},
|
|
32
|
-
_f[matchesField.error] = "Confirm password must match password",
|
|
33
|
-
_f);
|
|
34
|
-
return (React.createElement(FormInputColumn, { role: "form", "aria-label": "Registration" },
|
|
35
|
-
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" }),
|
|
36
|
-
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" }),
|
|
37
|
-
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); }, type: "email", isEmail: true, autocomplete: "email" }),
|
|
38
|
-
React.createElement(FormInput, { labelTextWhenNoError: "Password", errorMessages: passwordErrorMessages, field: fields.password, fieldActions: actions.fields.password, showErrors: showErrors, onKeyDown: function (e) { return e.key === "Enter" && handleSubmit(e); }, type: "password", autocomplete: "new-password" }),
|
|
39
|
-
React.createElement(FormInput, { labelTextWhenNoError: "Confirm password", errorMessages: confirmPasswordErrorMessages, field: fields.confirmPassword, fieldActions: actions.fields.confirmPassword, showErrors: showErrors, onKeyDown: function (e) { return e.key === "Enter" && handleSubmit(e); }, type: "password", autocomplete: "new-password" }),
|
|
40
|
-
React.createElement(Box, { padding: isMobile ? "0" : "0.5rem 0 0" },
|
|
41
|
-
React.createElement(PasswordRequirements, { password: fields.password, isMobile: isMobile }))));
|
|
42
|
-
};
|
|
43
|
-
export default RegistrationForm;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
var _a;
|
|
2
|
-
import { createFormState, required, matchesField, hasLength, hasNumber, hasLowercaseLetter, hasUppercaseLetter, hasSpecialCharacter, isProbablyEmail } from "redux-freeform";
|
|
3
|
-
var formConfig = {
|
|
4
|
-
firstName: {
|
|
5
|
-
validators: [required()]
|
|
6
|
-
},
|
|
7
|
-
lastName: {
|
|
8
|
-
validators: [required()]
|
|
9
|
-
},
|
|
10
|
-
email: {
|
|
11
|
-
validators: [required(), isProbablyEmail()]
|
|
12
|
-
},
|
|
13
|
-
password: {
|
|
14
|
-
validators: [
|
|
15
|
-
required(),
|
|
16
|
-
hasLength(8, 100),
|
|
17
|
-
hasNumber(),
|
|
18
|
-
hasLowercaseLetter(),
|
|
19
|
-
hasUppercaseLetter(),
|
|
20
|
-
hasSpecialCharacter()
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
confirmPassword: {
|
|
24
|
-
validators: [required(), matchesField("password")]
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
export var reducer = (_a = createFormState(formConfig), _a.reducer), mapStateToProps = _a.mapStateToProps, mapDispatchToProps = _a.mapDispatchToProps;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { connect } from "react-redux";
|
|
3
|
-
import { boolean } from "@storybook/addon-knobs";
|
|
4
|
-
import RegistrationForm from "./RegistrationForm";
|
|
5
|
-
import page from "../../../../.storybook/page";
|
|
6
|
-
import * as RegistrationFormState from "./RegistrationForm.state";
|
|
7
|
-
var story = page({
|
|
8
|
-
title: "Components|Molecules/RegistrationForm",
|
|
9
|
-
Component: RegistrationForm,
|
|
10
|
-
reducer: RegistrationFormState.reducer,
|
|
11
|
-
mapStateToProps: RegistrationFormState.mapStateToProps,
|
|
12
|
-
mapDispatchToProps: RegistrationFormState.mapDispatchToProps
|
|
13
|
-
});
|
|
14
|
-
export default story;
|
|
15
|
-
var ConnectedForm = connect(RegistrationFormState.mapStateToProps, RegistrationFormState.mapDispatchToProps)(RegistrationForm);
|
|
16
|
-
export var registrationForm = function () { return (React.createElement(ConnectedForm, { showErrors: boolean("showErrors", false, "props") })); };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import RegistrationForm from "./RegistrationForm";
|
|
2
|
-
import { reducer, mapStateToProps, mapDispatchToProps } from "./RegistrationForm.state";
|
|
3
|
-
RegistrationForm.reducer = reducer;
|
|
4
|
-
RegistrationForm.mapStateToProps = mapStateToProps;
|
|
5
|
-
RegistrationForm.mapDispatchToProps = mapDispatchToProps;
|
|
6
|
-
export default RegistrationForm;
|