@thecb/components 7.5.1 → 7.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.storybook/page.d.ts +13 -0
- package/dist/.storybook/page.js +41 -0
- package/dist/.storybook/themes/apc.theme.d.ts +79 -0
- package/dist/.storybook/themes/apc.theme.js +1 -0
- package/dist/.storybook/themes/index.d.ts +2 -0
- package/dist/.storybook/themes/index.js +2 -0
- package/dist/.storybook/themes/sf.theme.d.ts +231 -0
- package/dist/.storybook/themes/sf.theme.js +1 -0
- package/dist/button-with-action/ButtonWithActionProps.js +0 -0
- package/dist/button-with-link/ButtonWithLinkProps.js +1 -0
- package/dist/index.cjs.js +230 -339
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +228 -339
- package/dist/index.esm.js.map +1 -1
- package/dist/nav-tabs/TabConfig.js +0 -0
- package/dist/src/components/atoms/add-obligation/AddObligation.d.ts +5 -0
- package/dist/src/components/atoms/add-obligation/AddObligation.js +21 -0
- package/dist/src/components/atoms/add-obligation/AddObligation.stories.d.ts +7 -0
- package/dist/src/components/atoms/add-obligation/AddObligation.stories.js +10 -0
- package/dist/src/components/atoms/add-obligation/AddObligation.theme.d.ts +9 -0
- package/dist/src/components/atoms/add-obligation/AddObligation.theme.js +8 -0
- package/dist/src/components/atoms/add-obligation/index.d.ts +2 -0
- package/dist/src/components/atoms/add-obligation/index.js +2 -0
- package/dist/src/components/atoms/alert/Alert.d.ts +5 -0
- package/dist/src/components/atoms/alert/Alert.js +26 -0
- package/dist/src/components/atoms/alert/Alert.stories.d.ts +7 -0
- package/dist/src/components/atoms/alert/Alert.stories.js +19 -0
- package/dist/src/components/atoms/alert/Alert.theme.d.ts +65 -0
- package/dist/src/components/atoms/alert/Alert.theme.js +45 -0
- package/dist/src/components/atoms/alert/index.d.ts +2 -0
- package/dist/src/components/atoms/alert/index.js +2 -0
- package/dist/src/components/atoms/amount-callout/AmountCallout.d.ts +5 -0
- package/dist/src/components/atoms/amount-callout/AmountCallout.js +12 -0
- package/dist/src/components/atoms/amount-callout/AmountCallout.stories.d.ts +7 -0
- package/dist/src/components/atoms/amount-callout/AmountCallout.stories.js +18 -0
- package/dist/src/components/atoms/amount-callout/AmountCallout.theme.d.ts +5 -0
- package/dist/src/components/atoms/amount-callout/AmountCallout.theme.js +4 -0
- package/dist/src/components/atoms/amount-callout/index.d.ts +2 -0
- package/dist/src/components/atoms/amount-callout/index.js +2 -0
- package/dist/src/components/atoms/box-with-shadow/BoxWithShadow.d.ts +5 -0
- package/dist/src/components/atoms/box-with-shadow/BoxWithShadow.js +43 -0
- package/dist/src/components/atoms/box-with-shadow/BoxWithShadow.theme.d.ts +5 -0
- package/dist/src/components/atoms/box-with-shadow/BoxWithShadow.theme.js +5 -0
- package/dist/src/components/atoms/box-with-shadow/index.d.ts +2 -0
- package/dist/src/components/atoms/box-with-shadow/index.js +2 -0
- package/dist/src/components/atoms/breadcrumb/Breadcrumb.d.ts +4 -0
- package/dist/src/components/atoms/breadcrumb/Breadcrumb.js +22 -0
- package/dist/src/components/atoms/breadcrumb/Breadcrumb.stories.d.ts +7 -0
- package/dist/src/components/atoms/breadcrumb/Breadcrumb.stories.js +37 -0
- package/dist/src/components/atoms/breadcrumb/Breadcrumb.theme.d.ts +19 -0
- package/dist/src/components/atoms/breadcrumb/Breadcrumb.theme.js +24 -0
- package/dist/src/components/atoms/breadcrumb/index.d.ts +2 -0
- package/dist/src/components/atoms/breadcrumb/index.js +2 -0
- package/dist/src/components/atoms/button-with-action/ButtonWithAction.d.ts +15 -0
- package/dist/src/components/atoms/button-with-action/ButtonWithAction.js +86 -0
- package/dist/src/components/atoms/button-with-action/ButtonWithAction.stories.d.ts +7 -0
- package/dist/src/components/atoms/button-with-action/ButtonWithAction.stories.js +24 -0
- package/dist/src/components/atoms/button-with-action/ButtonWithAction.theme.d.ts +342 -0
- package/dist/src/components/atoms/button-with-action/ButtonWithAction.theme.js +202 -0
- package/dist/src/components/atoms/button-with-action/ButtonWithActionProps.d.ts +14 -0
- package/dist/src/components/atoms/button-with-action/ButtonWithActionProps.js +1 -0
- package/dist/src/components/atoms/button-with-action/index.d.ts +2 -0
- package/dist/src/components/atoms/button-with-action/index.js +2 -0
- package/dist/src/components/atoms/button-with-link/ButtonWithLink.d.ts +11 -0
- package/dist/src/components/atoms/button-with-link/ButtonWithLink.js +41 -0
- package/dist/src/components/atoms/button-with-link/ButtonWithLink.stories.d.ts +7 -0
- package/dist/src/components/atoms/button-with-link/ButtonWithLink.stories.js +21 -0
- package/dist/src/components/atoms/button-with-link/ButtonWithLinkProps.d.ts +10 -0
- package/dist/src/components/atoms/button-with-link/ButtonWithLinkProps.js +2 -0
- package/dist/src/components/atoms/button-with-link/index.d.ts +2 -0
- package/dist/src/components/atoms/button-with-link/index.js +2 -0
- package/dist/src/components/atoms/card/Card.d.ts +5 -0
- package/dist/src/components/atoms/card/Card.js +18 -0
- package/dist/src/components/atoms/card/Card.theme.d.ts +5 -0
- package/dist/src/components/atoms/card/Card.theme.js +5 -0
- package/dist/src/components/atoms/card/index.d.ts +2 -0
- package/dist/src/components/atoms/card/index.js +2 -0
- package/dist/src/components/atoms/checkbox/Checkbox.d.ts +5 -0
- package/dist/src/components/atoms/checkbox/Checkbox.js +52 -0
- package/dist/src/components/atoms/checkbox/Checkbox.stories.d.ts +7 -0
- package/dist/src/components/atoms/checkbox/Checkbox.stories.js +16 -0
- package/dist/src/components/atoms/checkbox/Checkbox.theme.d.ts +68 -0
- package/dist/src/components/atoms/checkbox/Checkbox.theme.js +39 -0
- package/dist/src/components/atoms/checkbox/index.d.ts +2 -0
- package/dist/src/components/atoms/checkbox/index.js +2 -0
- package/dist/src/components/atoms/checkbox-list/CheckboxList.d.ts +6 -0
- package/dist/src/components/atoms/checkbox-list/CheckboxList.js +40 -0
- package/dist/src/components/atoms/checkbox-list/CheckboxList.stories.d.ts +7 -0
- package/dist/src/components/atoms/checkbox-list/CheckboxList.stories.js +41 -0
- package/dist/src/components/atoms/checkbox-list/CheckboxList.theme.d.ts +44 -0
- package/dist/src/components/atoms/checkbox-list/CheckboxList.theme.js +33 -0
- package/dist/src/components/atoms/checkbox-list/index.d.ts +2 -0
- package/dist/src/components/atoms/checkbox-list/index.js +2 -0
- package/dist/src/components/atoms/country-dropdown/CountryDropdown.d.ts +9 -0
- package/dist/src/components/atoms/country-dropdown/CountryDropdown.js +8 -0
- package/dist/src/components/atoms/country-dropdown/CountryDropdown.stories.d.ts +7 -0
- package/dist/src/components/atoms/country-dropdown/CountryDropdown.stories.js +31 -0
- package/dist/src/components/atoms/country-dropdown/index.d.ts +1 -0
- package/dist/src/components/atoms/country-dropdown/index.js +1 -0
- package/dist/src/components/atoms/country-dropdown/options.d.ts +4 -0
- package/dist/src/components/atoms/country-dropdown/options.js +249 -0
- package/dist/src/components/atoms/detail/Detail.d.ts +5 -0
- package/dist/src/components/atoms/detail/Detail.js +63 -0
- package/dist/src/components/atoms/detail/Detail.styled.d.ts +1 -0
- package/dist/src/components/atoms/detail/Detail.styled.js +28 -0
- package/dist/src/components/atoms/detail/Detail.theme.d.ts +36 -0
- package/dist/src/components/atoms/detail/Detail.theme.js +28 -0
- package/dist/src/components/atoms/detail/index.d.ts +2 -0
- package/dist/src/components/atoms/detail/index.js +2 -0
- package/dist/src/components/atoms/display-box/DisplayBox.d.ts +5 -0
- package/dist/src/components/atoms/display-box/DisplayBox.js +11 -0
- package/dist/src/components/atoms/display-box/DisplayBox.stories.d.ts +7 -0
- package/dist/src/components/atoms/display-box/DisplayBox.stories.js +12 -0
- package/dist/src/components/atoms/display-box/DisplayBox.theme.d.ts +7 -0
- package/dist/src/components/atoms/display-box/DisplayBox.theme.js +7 -0
- package/dist/src/components/atoms/display-box/index.d.ts +2 -0
- package/dist/src/components/atoms/display-box/index.js +2 -0
- package/dist/src/components/atoms/display-card/DisplayCard.d.ts +9 -0
- package/dist/src/components/atoms/display-card/DisplayCard.js +22 -0
- package/dist/src/components/atoms/display-card/DisplayCard.stories.d.ts +7 -0
- package/dist/src/components/atoms/display-card/DisplayCard.stories.js +10 -0
- package/dist/src/components/atoms/display-card/index.d.ts +2 -0
- package/dist/src/components/atoms/display-card/index.js +2 -0
- package/dist/src/components/atoms/dropdown/Dropdown.d.ts +5 -0
- package/dist/src/components/atoms/dropdown/Dropdown.js +258 -0
- package/dist/src/components/atoms/dropdown/Dropdown.stories.d.ts +7 -0
- package/dist/src/components/atoms/dropdown/Dropdown.stories.js +30 -0
- package/dist/src/components/atoms/dropdown/Dropdown.theme.d.ts +7 -0
- package/dist/src/components/atoms/dropdown/Dropdown.theme.js +7 -0
- package/dist/src/components/atoms/dropdown/DropdownIcon.d.ts +2 -0
- package/dist/src/components/atoms/dropdown/DropdownIcon.js +7 -0
- package/dist/src/components/atoms/dropdown/index.d.ts +2 -0
- package/dist/src/components/atoms/dropdown/index.js +2 -0
- package/dist/src/components/atoms/form-layouts/FormContainer.d.ts +5 -0
- package/dist/src/components/atoms/form-layouts/FormContainer.js +34 -0
- package/dist/src/components/atoms/form-layouts/FormFooterPanel.d.ts +5 -0
- package/dist/src/components/atoms/form-layouts/FormFooterPanel.js +15 -0
- package/dist/src/components/atoms/form-layouts/FormInput.d.ts +5 -0
- package/dist/src/components/atoms/form-layouts/FormInput.js +116 -0
- package/dist/src/components/atoms/form-layouts/FormInputColumn.d.ts +7 -0
- package/dist/src/components/atoms/form-layouts/FormInputColumn.js +29 -0
- package/dist/src/components/atoms/form-layouts/FormInputRow.d.ts +9 -0
- package/dist/src/components/atoms/form-layouts/FormInputRow.js +30 -0
- package/dist/src/components/atoms/form-layouts/FormLayouts.stories.d.ts +7 -0
- package/dist/src/components/atoms/form-layouts/FormLayouts.stories.js +38 -0
- package/dist/src/components/atoms/form-layouts/FormLayouts.theme.d.ts +86 -0
- package/dist/src/components/atoms/form-layouts/FormLayouts.theme.js +44 -0
- package/dist/src/components/atoms/form-layouts/index.d.ts +6 -0
- package/dist/src/components/atoms/form-layouts/index.js +6 -0
- package/dist/src/components/atoms/form-select/FormSelect.d.ts +5 -0
- package/dist/src/components/atoms/form-select/FormSelect.js +36 -0
- package/dist/src/components/atoms/form-select/FormSelect.stories.d.ts +7 -0
- package/dist/src/components/atoms/form-select/FormSelect.stories.js +36 -0
- package/dist/src/components/atoms/form-select/FormSelect.styled.d.ts +3 -0
- package/dist/src/components/atoms/form-select/FormSelect.styled.js +22 -0
- package/dist/src/components/atoms/form-select/FormSelect.theme.d.ts +81 -0
- package/dist/src/components/atoms/form-select/FormSelect.theme.js +40 -0
- package/dist/src/components/atoms/form-select/index.d.ts +2 -0
- package/dist/src/components/atoms/form-select/index.js +2 -0
- package/dist/src/components/atoms/formatted-address/FormattedAddress.d.ts +5 -0
- package/dist/src/components/atoms/formatted-address/FormattedAddress.js +22 -0
- package/dist/src/components/atoms/formatted-address/FormattedAddress.stories.d.ts +7 -0
- package/dist/src/components/atoms/formatted-address/FormattedAddress.stories.js +18 -0
- package/dist/src/components/atoms/formatted-address/FormattedAddress.theme.d.ts +23 -0
- package/dist/src/components/atoms/formatted-address/FormattedAddress.theme.js +9 -0
- package/dist/src/components/atoms/formatted-address/index.d.ts +2 -0
- package/dist/src/components/atoms/formatted-address/index.js +2 -0
- package/dist/src/components/atoms/formatted-credit-card/FormattedCreditCard.d.ts +7 -0
- package/dist/src/components/atoms/formatted-credit-card/FormattedCreditCard.js +47 -0
- package/dist/src/components/atoms/formatted-credit-card/FormattedCreditCard.theme.d.ts +7 -0
- package/dist/src/components/atoms/formatted-credit-card/FormattedCreditCard.theme.js +7 -0
- package/dist/src/components/atoms/formatted-credit-card/index.d.ts +2 -0
- package/dist/src/components/atoms/formatted-credit-card/index.js +2 -0
- package/dist/src/components/atoms/hamburger-button/HamburgerButton.d.ts +8 -0
- package/dist/src/components/atoms/hamburger-button/HamburgerButton.js +27 -0
- package/dist/src/components/atoms/hamburger-button/HamburgerButton.stories.d.ts +7 -0
- package/dist/src/components/atoms/hamburger-button/HamburgerButton.stories.js +11 -0
- package/dist/src/components/atoms/hamburger-button/index.d.ts +2 -0
- package/dist/src/components/atoms/hamburger-button/index.js +2 -0
- package/dist/src/components/atoms/heading/Heading.d.ts +5 -0
- package/dist/src/components/atoms/heading/Heading.js +40 -0
- package/dist/src/components/atoms/heading/Heading.stories.d.ts +7 -0
- package/dist/src/components/atoms/heading/Heading.stories.js +10 -0
- package/dist/src/components/atoms/heading/Heading.styled.d.ts +1 -0
- package/dist/src/components/atoms/heading/Heading.styled.js +28 -0
- package/dist/src/components/atoms/heading/Heading.theme.d.ts +17 -0
- package/dist/src/components/atoms/heading/Heading.theme.js +16 -0
- package/dist/src/components/atoms/heading/index.d.ts +2 -0
- package/dist/src/components/atoms/heading/index.js +2 -0
- package/dist/src/components/atoms/icons/AccountNumberImage.d.ts +2 -0
- package/dist/src/components/atoms/icons/AccountNumberImage.js +20 -0
- package/dist/src/components/atoms/icons/AccountsAddIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/AccountsAddIcon.js +16 -0
- package/dist/src/components/atoms/icons/AccountsIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/AccountsIcon.js +15 -0
- package/dist/src/components/atoms/icons/AccountsIconSmall.d.ts +5 -0
- package/dist/src/components/atoms/icons/AccountsIconSmall.js +20 -0
- package/dist/src/components/atoms/icons/AchReturnIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/AchReturnIcon.js +6 -0
- package/dist/src/components/atoms/icons/AllocatedIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/AllocatedIcon.js +6 -0
- package/dist/src/components/atoms/icons/AutopayOnIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/AutopayOnIcon.js +6 -0
- package/dist/src/components/atoms/icons/BankIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/BankIcon.js +7 -0
- package/dist/src/components/atoms/icons/CalendarIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/CalendarIcon.js +6 -0
- package/dist/src/components/atoms/icons/CarrotIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/CarrotIcon.js +20 -0
- package/dist/src/components/atoms/icons/CashIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/CashIcon.js +7 -0
- package/dist/src/components/atoms/icons/ChargebackIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/ChargebackIcon.js +6 -0
- package/dist/src/components/atoms/icons/ChargebackReversalIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/ChargebackReversalIcon.js +6 -0
- package/dist/src/components/atoms/icons/CheckIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/CheckIcon.js +12 -0
- package/dist/src/components/atoms/icons/CheckmarkIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/CheckmarkIcon.js +12 -0
- package/dist/src/components/atoms/icons/ChevronIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/ChevronIcon.js +16 -0
- package/dist/src/components/atoms/icons/CustomerSearchIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/CustomerSearchIcon.js +22 -0
- package/dist/src/components/atoms/icons/DuplicateIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/DuplicateIcon.js +6 -0
- package/dist/src/components/atoms/icons/EmptyCartIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/EmptyCartIcon.js +13 -0
- package/dist/src/components/atoms/icons/ErroredIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/ErroredIcon.js +6 -0
- package/dist/src/components/atoms/icons/ExternalLinkIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/ExternalLinkIcon.js +11 -0
- package/dist/src/components/atoms/icons/FailedIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/FailedIcon.js +6 -0
- package/dist/src/components/atoms/icons/ForgotPasswordIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/ForgotPasswordIcon.js +17 -0
- package/dist/src/components/atoms/icons/GenericCard.d.ts +2 -0
- package/dist/src/components/atoms/icons/GenericCard.js +6 -0
- package/dist/src/components/atoms/icons/GenericCardLarge.d.ts +2 -0
- package/dist/src/components/atoms/icons/GenericCardLarge.js +8 -0
- package/dist/src/components/atoms/icons/GoToEmailIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/GoToEmailIcon.js +16 -0
- package/dist/src/components/atoms/icons/IconAdd.d.ts +2 -0
- package/dist/src/components/atoms/icons/IconAdd.js +14 -0
- package/dist/src/components/atoms/icons/IconQuitLarge.d.ts +4 -0
- package/dist/src/components/atoms/icons/IconQuitLarge.js +19 -0
- package/dist/src/components/atoms/icons/Icons.theme.d.ts +33 -0
- package/dist/src/components/atoms/icons/Icons.theme.js +27 -0
- package/dist/src/components/atoms/icons/NoCustomerResultsIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/NoCustomerResultsIcon.js +15 -0
- package/dist/src/components/atoms/icons/NoPaymentResultsIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/NoPaymentResultsIcon.js +16 -0
- package/dist/src/components/atoms/icons/NotFoundIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/NotFoundIcon.js +56 -0
- package/dist/src/components/atoms/icons/PaymentIcon.d.ts +8 -0
- package/dist/src/components/atoms/icons/PaymentIcon.js +30 -0
- package/dist/src/components/atoms/icons/PaymentMethodAddIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/PaymentMethodAddIcon.js +28 -0
- package/dist/src/components/atoms/icons/PaymentMethodIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/PaymentMethodIcon.js +15 -0
- package/dist/src/components/atoms/icons/PaymentSearchIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/PaymentSearchIcon.js +23 -0
- package/dist/src/components/atoms/icons/PaymentsIconSmall.d.ts +5 -0
- package/dist/src/components/atoms/icons/PaymentsIconSmall.js +20 -0
- package/dist/src/components/atoms/icons/PendingIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/PendingIcon.js +6 -0
- package/dist/src/components/atoms/icons/PeriscopeFailedIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/PeriscopeFailedIcon.js +56 -0
- package/dist/src/components/atoms/icons/ProfileIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/ProfileIcon.js +16 -0
- package/dist/src/components/atoms/icons/ProfileIconSmall.d.ts +5 -0
- package/dist/src/components/atoms/icons/ProfileIconSmall.js +12 -0
- package/dist/src/components/atoms/icons/PropertiesAddIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/PropertiesAddIcon.js +31 -0
- package/dist/src/components/atoms/icons/PropertiesIconSmall.d.ts +5 -0
- package/dist/src/components/atoms/icons/PropertiesIconSmall.js +10 -0
- package/dist/src/components/atoms/icons/RefundIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/RefundIcon.js +6 -0
- package/dist/src/components/atoms/icons/RejectedIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/RejectedIcon.js +6 -0
- package/dist/src/components/atoms/icons/RejectedVelocityIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/RejectedVelocityIcon.js +6 -0
- package/dist/src/components/atoms/icons/ResetPasswordIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/ResetPasswordIcon.js +16 -0
- package/dist/src/components/atoms/icons/RoutingNumberImage.d.ts +2 -0
- package/dist/src/components/atoms/icons/RoutingNumberImage.js +20 -0
- package/dist/src/components/atoms/icons/SearchIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/SearchIcon.js +10 -0
- package/dist/src/components/atoms/icons/SettingsIconSmall.d.ts +5 -0
- package/dist/src/components/atoms/icons/SettingsIconSmall.js +20 -0
- package/dist/src/components/atoms/icons/ShoppingCartIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/ShoppingCartIcon.js +11 -0
- package/dist/src/components/atoms/icons/StatusUnknownIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/StatusUnknownIcon.js +6 -0
- package/dist/src/components/atoms/icons/SuccessfulIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/SuccessfulIcon.js +6 -0
- package/dist/src/components/atoms/icons/TimeoutImage.d.ts +2 -0
- package/dist/src/components/atoms/icons/TimeoutImage.js +38 -0
- package/dist/src/components/atoms/icons/TrashIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/TrashIcon.js +15 -0
- package/dist/src/components/atoms/icons/VerifiedEmailIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/VerifiedEmailIcon.js +19 -0
- package/dist/src/components/atoms/icons/VoidedIcon.d.ts +2 -0
- package/dist/src/components/atoms/icons/VoidedIcon.js +6 -0
- package/dist/src/components/atoms/icons/WalletIcon.d.ts +5 -0
- package/dist/src/components/atoms/icons/WalletIcon.js +16 -0
- package/dist/src/components/atoms/icons/WarningIconXS.d.ts +2 -0
- package/dist/src/components/atoms/icons/WarningIconXS.js +13 -0
- package/dist/src/components/atoms/icons/icons.stories.d.ts +42 -0
- package/dist/src/components/atoms/icons/icons.stories.js +44 -0
- package/dist/src/components/atoms/icons/index.d.ts +59 -0
- package/dist/src/components/atoms/icons/index.js +59 -0
- package/dist/src/components/atoms/index.d.ts +45 -0
- package/dist/src/components/atoms/index.js +45 -0
- package/dist/src/components/atoms/jumbo/Jumbo.d.ts +4 -0
- package/dist/src/components/atoms/jumbo/Jumbo.js +25 -0
- package/dist/src/components/atoms/jumbo/index.d.ts +2 -0
- package/dist/src/components/atoms/jumbo/index.js +2 -0
- package/dist/src/components/atoms/labeled-amount/LabeledAmount.d.ts +5 -0
- package/dist/src/components/atoms/labeled-amount/LabeledAmount.js +16 -0
- package/dist/src/components/atoms/labeled-amount/LabeledAmount.stories.d.ts +7 -0
- package/dist/src/components/atoms/labeled-amount/LabeledAmount.stories.js +20 -0
- package/dist/src/components/atoms/labeled-amount/LabeledAmount.theme.d.ts +12 -0
- package/dist/src/components/atoms/labeled-amount/LabeledAmount.theme.js +10 -0
- package/dist/src/components/atoms/labeled-amount/index.d.ts +2 -0
- package/dist/src/components/atoms/labeled-amount/index.js +2 -0
- package/dist/src/components/atoms/layouts/Box.d.ts +3 -0
- package/dist/src/components/atoms/layouts/Box.js +37 -0
- package/dist/src/components/atoms/layouts/Box.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/Box.styled.js +107 -0
- package/dist/src/components/atoms/layouts/Center.d.ts +8 -0
- package/dist/src/components/atoms/layouts/Center.js +35 -0
- package/dist/src/components/atoms/layouts/Center.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/Center.styled.js +21 -0
- package/dist/src/components/atoms/layouts/Cluster.d.ts +16 -0
- package/dist/src/components/atoms/layouts/Cluster.js +39 -0
- package/dist/src/components/atoms/layouts/Cluster.styled.d.ts +2 -0
- package/dist/src/components/atoms/layouts/Cluster.styled.js +71 -0
- package/dist/src/components/atoms/layouts/Cover.d.ts +11 -0
- package/dist/src/components/atoms/layouts/Cover.js +52 -0
- package/dist/src/components/atoms/layouts/Cover.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/Cover.styled.js +30 -0
- package/dist/src/components/atoms/layouts/Frame.d.ts +7 -0
- package/dist/src/components/atoms/layouts/Frame.js +42 -0
- package/dist/src/components/atoms/layouts/Frame.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/Frame.styled.js +10 -0
- package/dist/src/components/atoms/layouts/Grid.d.ts +8 -0
- package/dist/src/components/atoms/layouts/Grid.js +38 -0
- package/dist/src/components/atoms/layouts/Grid.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/Grid.styled.js +24 -0
- package/dist/src/components/atoms/layouts/Imposter.d.ts +13 -0
- package/dist/src/components/atoms/layouts/Imposter.js +49 -0
- package/dist/src/components/atoms/layouts/Imposter.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/Imposter.styled.js +30 -0
- package/dist/src/components/atoms/layouts/Motion.d.ts +7 -0
- package/dist/src/components/atoms/layouts/Motion.js +64 -0
- package/dist/src/components/atoms/layouts/Motion.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/Motion.styled.js +71 -0
- package/dist/src/components/atoms/layouts/Reel.d.ts +13 -0
- package/dist/src/components/atoms/layouts/Reel.js +36 -0
- package/dist/src/components/atoms/layouts/Reel.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/Reel.styled.js +30 -0
- package/dist/src/components/atoms/layouts/Sidebar.d.ts +11 -0
- package/dist/src/components/atoms/layouts/Sidebar.js +43 -0
- package/dist/src/components/atoms/layouts/Sidebar.styled.d.ts +2 -0
- package/dist/src/components/atoms/layouts/Sidebar.styled.js +59 -0
- package/dist/src/components/atoms/layouts/Stack.d.ts +10 -0
- package/dist/src/components/atoms/layouts/Stack.js +39 -0
- package/dist/src/components/atoms/layouts/Stack.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/Stack.styled.js +26 -0
- package/dist/src/components/atoms/layouts/Switcher.d.ts +14 -0
- package/dist/src/components/atoms/layouts/Switcher.js +62 -0
- package/dist/src/components/atoms/layouts/Switcher.styled.d.ts +2 -0
- package/dist/src/components/atoms/layouts/Switcher.styled.js +42 -0
- package/dist/src/components/atoms/layouts/examples/FixedSizeContainer.d.ts +9 -0
- package/dist/src/components/atoms/layouts/examples/FixedSizeContainer.js +12 -0
- package/dist/src/components/atoms/layouts/examples/FixedSizeContainer.styled.d.ts +2 -0
- package/dist/src/components/atoms/layouts/examples/FixedSizeContainer.styled.js +21 -0
- package/dist/src/components/atoms/layouts/examples/LayoutContentBlock.d.ts +11 -0
- package/dist/src/components/atoms/layouts/examples/LayoutContentBlock.js +9 -0
- package/dist/src/components/atoms/layouts/examples/LayoutContentBlock.styled.d.ts +1 -0
- package/dist/src/components/atoms/layouts/examples/LayoutContentBlock.styled.js +25 -0
- package/dist/src/components/atoms/layouts/examples/ResizingContainer.d.ts +9 -0
- package/dist/src/components/atoms/layouts/examples/ResizingContainer.js +26 -0
- package/dist/src/components/atoms/layouts/examples/ResizingContainer.styled.d.ts +2 -0
- package/dist/src/components/atoms/layouts/examples/ResizingContainer.styled.js +23 -0
- package/dist/src/components/atoms/layouts/examples/box-example/BoxExample.stories.d.ts +7 -0
- package/dist/src/components/atoms/layouts/examples/box-example/BoxExample.stories.js +19 -0
- package/dist/src/components/atoms/layouts/examples/center-example/CenterExample.stories.d.ts +7 -0
- package/dist/src/components/atoms/layouts/examples/center-example/CenterExample.stories.js +13 -0
- package/dist/src/components/atoms/layouts/examples/cluster-example/ClusterExample.d.ts +6 -0
- package/dist/src/components/atoms/layouts/examples/cluster-example/ClusterExample.js +7 -0
- package/dist/src/components/atoms/layouts/examples/cluster-example/ClusterExample.stories.d.ts +21 -0
- package/dist/src/components/atoms/layouts/examples/cluster-example/ClusterExample.stories.js +43 -0
- package/dist/src/components/atoms/layouts/examples/cover-example/CoverExample.stories.d.ts +15 -0
- package/dist/src/components/atoms/layouts/examples/cover-example/CoverExample.stories.js +18 -0
- package/dist/src/components/atoms/layouts/examples/frame-example/FrameExample.stories.d.ts +7 -0
- package/dist/src/components/atoms/layouts/examples/frame-example/FrameExample.stories.js +12 -0
- package/dist/src/components/atoms/layouts/examples/grid-example/GridExample.d.ts +7 -0
- package/dist/src/components/atoms/layouts/examples/grid-example/GridExample.js +32 -0
- package/dist/src/components/atoms/layouts/examples/grid-example/GridExample.stories.d.ts +11 -0
- package/dist/src/components/atoms/layouts/examples/grid-example/GridExample.stories.js +26 -0
- package/dist/src/components/atoms/layouts/examples/imposter-example/ImposterExample.stories.d.ts +7 -0
- package/dist/src/components/atoms/layouts/examples/imposter-example/ImposterExample.stories.js +14 -0
- package/dist/src/components/atoms/layouts/examples/motion-example/MotionExample.stories.d.ts +7 -0
- package/dist/src/components/atoms/layouts/examples/motion-example/MotionExample.stories.js +41 -0
- package/dist/src/components/atoms/layouts/examples/reel-example/ReelExample.stories.d.ts +7 -0
- package/dist/src/components/atoms/layouts/examples/reel-example/ReelExample.stories.js +21 -0
- package/dist/src/components/atoms/layouts/examples/sidebar-example/SidebarExample.d.ts +7 -0
- package/dist/src/components/atoms/layouts/examples/sidebar-example/SidebarExample.js +7 -0
- package/dist/src/components/atoms/layouts/examples/sidebar-example/SidebarExample.stories.d.ts +11 -0
- package/dist/src/components/atoms/layouts/examples/sidebar-example/SidebarExample.stories.js +41 -0
- package/dist/src/components/atoms/layouts/examples/stack-example/StackExample.d.ts +7 -0
- package/dist/src/components/atoms/layouts/examples/stack-example/StackExample.js +26 -0
- package/dist/src/components/atoms/layouts/examples/stack-example/StackExample.stories.d.ts +21 -0
- package/dist/src/components/atoms/layouts/examples/stack-example/StackExample.stories.js +26 -0
- package/dist/src/components/atoms/layouts/examples/switcher-example/SwitcherExample.d.ts +8 -0
- package/dist/src/components/atoms/layouts/examples/switcher-example/SwitcherExample.js +26 -0
- package/dist/src/components/atoms/layouts/examples/switcher-example/SwitcherExample.stories.d.ts +16 -0
- package/dist/src/components/atoms/layouts/examples/switcher-example/SwitcherExample.stories.js +30 -0
- package/dist/src/components/atoms/layouts/index.d.ts +13 -0
- package/dist/src/components/atoms/layouts/index.js +13 -0
- package/dist/src/components/atoms/line-item/LineItem.d.ts +5 -0
- package/dist/src/components/atoms/line-item/LineItem.js +14 -0
- package/dist/src/components/atoms/line-item/LineItem.stories.d.ts +7 -0
- package/dist/src/components/atoms/line-item/LineItem.stories.js +10 -0
- package/dist/src/components/atoms/line-item/LineItem.theme.d.ts +16 -0
- package/dist/src/components/atoms/line-item/LineItem.theme.js +6 -0
- package/dist/src/components/atoms/line-item/index.d.ts +2 -0
- package/dist/src/components/atoms/line-item/index.js +2 -0
- package/dist/src/components/atoms/link/ExternalLink.d.ts +14 -0
- package/dist/src/components/atoms/link/ExternalLink.js +14 -0
- package/dist/src/components/atoms/link/ExternalLink.styled.d.ts +1 -0
- package/dist/src/components/atoms/link/ExternalLink.styled.js +64 -0
- package/dist/src/components/atoms/link/InternalLink.d.ts +15 -0
- package/dist/src/components/atoms/link/InternalLink.js +13 -0
- package/dist/src/components/atoms/link/InternalLink.styled.d.ts +1 -0
- package/dist/src/components/atoms/link/InternalLink.styled.js +68 -0
- package/dist/src/components/atoms/link/Link.stories.d.ts +8 -0
- package/dist/src/components/atoms/link/Link.stories.js +26 -0
- package/dist/src/components/atoms/link/Link.theme.d.ts +14 -0
- package/dist/src/components/atoms/link/Link.theme.js +13 -0
- package/dist/src/components/atoms/link/index.d.ts +3 -0
- package/dist/src/components/atoms/link/index.js +3 -0
- package/dist/src/components/atoms/loading/Loading.d.ts +2 -0
- package/dist/src/components/atoms/loading/Loading.js +9 -0
- package/dist/src/components/atoms/loading/index.d.ts +2 -0
- package/dist/src/components/atoms/loading/index.js +2 -0
- package/dist/src/components/atoms/nav-footer/NavFooter.d.ts +13 -0
- package/dist/src/components/atoms/nav-footer/NavFooter.js +38 -0
- package/dist/src/components/atoms/nav-footer/NavFooter.stories.d.ts +7 -0
- package/dist/src/components/atoms/nav-footer/NavFooter.stories.js +13 -0
- package/dist/src/components/atoms/nav-footer/index.d.ts +2 -0
- package/dist/src/components/atoms/nav-footer/index.js +2 -0
- package/dist/src/components/atoms/nav-header/NavHeader.d.ts +10 -0
- package/dist/src/components/atoms/nav-header/NavHeader.js +37 -0
- package/dist/src/components/atoms/nav-header/NavHeader.stories.d.ts +7 -0
- package/dist/src/components/atoms/nav-header/NavHeader.stories.js +13 -0
- package/dist/src/components/atoms/nav-header/index.d.ts +2 -0
- package/dist/src/components/atoms/nav-header/index.js +2 -0
- package/dist/src/components/atoms/nav-tabs/NavTab.d.ts +5 -0
- package/dist/src/components/atoms/nav-tabs/NavTab.js +20 -0
- package/dist/src/components/atoms/nav-tabs/NavTab.theme.d.ts +9 -0
- package/dist/src/components/atoms/nav-tabs/NavTab.theme.js +9 -0
- package/dist/src/components/atoms/nav-tabs/NavTabs.d.ts +4 -0
- package/dist/src/components/atoms/nav-tabs/NavTabs.js +27 -0
- package/dist/src/components/atoms/nav-tabs/TabConfig.d.ts +4 -0
- package/dist/src/components/atoms/nav-tabs/TabConfig.js +1 -0
- package/dist/src/components/atoms/nav-tabs/index.d.ts +1 -0
- package/dist/src/components/atoms/nav-tabs/index.js +2 -0
- package/dist/src/components/atoms/paragraph/Paragraph.d.ts +5 -0
- package/dist/src/components/atoms/paragraph/Paragraph.js +40 -0
- package/dist/src/components/atoms/paragraph/Paragraph.stories.d.ts +7 -0
- package/dist/src/components/atoms/paragraph/Paragraph.stories.js +17 -0
- package/dist/src/components/atoms/paragraph/Paragraph.styled.d.ts +1 -0
- package/dist/src/components/atoms/paragraph/Paragraph.styled.js +25 -0
- package/dist/src/components/atoms/paragraph/Paragraph.theme.d.ts +27 -0
- package/dist/src/components/atoms/paragraph/Paragraph.theme.js +21 -0
- package/dist/src/components/atoms/paragraph/index.d.ts +2 -0
- package/dist/src/components/atoms/paragraph/index.js +2 -0
- package/dist/src/components/atoms/password-requirements/PasswordRequirements.d.ts +5 -0
- package/dist/src/components/atoms/password-requirements/PasswordRequirements.js +59 -0
- package/dist/src/components/atoms/password-requirements/PasswordRequirements.stories.d.ts +7 -0
- package/dist/src/components/atoms/password-requirements/PasswordRequirements.stories.js +46 -0
- package/dist/src/components/atoms/password-requirements/index.d.ts +2 -0
- package/dist/src/components/atoms/password-requirements/index.js +2 -0
- package/dist/src/components/atoms/placeholder/Placeholder.d.ts +5 -0
- package/dist/src/components/atoms/placeholder/Placeholder.js +33 -0
- package/dist/src/components/atoms/placeholder/Placeholder.stories.d.ts +7 -0
- package/dist/src/components/atoms/placeholder/Placeholder.stories.js +23 -0
- package/dist/src/components/atoms/placeholder/Placeholder.theme.d.ts +16 -0
- package/dist/src/components/atoms/placeholder/Placeholder.theme.js +7 -0
- package/dist/src/components/atoms/placeholder/index.d.ts +2 -0
- package/dist/src/components/atoms/placeholder/index.js +2 -0
- package/dist/src/components/atoms/processing-fee/ProcessingFee.d.ts +5 -0
- package/dist/src/components/atoms/processing-fee/ProcessingFee.js +15 -0
- package/dist/src/components/atoms/processing-fee/ProcessingFee.stories.d.ts +7 -0
- package/dist/src/components/atoms/processing-fee/ProcessingFee.stories.js +17 -0
- package/dist/src/components/atoms/processing-fee/ProcessingFee.theme.d.ts +8 -0
- package/dist/src/components/atoms/processing-fee/ProcessingFee.theme.js +5 -0
- package/dist/src/components/atoms/processing-fee/index.d.ts +2 -0
- package/dist/src/components/atoms/processing-fee/index.js +2 -0
- package/dist/src/components/atoms/radio-button/RadioButton.d.ts +5 -0
- package/dist/src/components/atoms/radio-button/RadioButton.js +68 -0
- package/dist/src/components/atoms/radio-button/RadioButton.stories.d.ts +7 -0
- package/dist/src/components/atoms/radio-button/RadioButton.stories.js +16 -0
- package/dist/src/components/atoms/radio-button/RadioButton.theme.d.ts +7 -0
- package/dist/src/components/atoms/radio-button/RadioButton.theme.js +7 -0
- package/dist/src/components/atoms/radio-button/index.d.ts +2 -0
- package/{src → dist/src}/components/atoms/radio-button/index.js +0 -1
- package/dist/src/components/atoms/searchable-select/SearchableSelect.d.ts +5 -0
- package/dist/src/components/atoms/searchable-select/SearchableSelect.js +37 -0
- package/dist/src/components/atoms/searchable-select/SearchableSelect.theme.d.ts +8 -0
- package/dist/src/components/atoms/searchable-select/SearchableSelect.theme.js +6 -0
- package/dist/src/components/atoms/searchable-select/index.d.ts +2 -0
- package/dist/src/components/atoms/searchable-select/index.js +2 -0
- package/dist/src/components/atoms/solid-divider/SolidDivider.d.ts +5 -0
- package/dist/src/components/atoms/solid-divider/SolidDivider.js +9 -0
- package/dist/src/components/atoms/solid-divider/SolidDivider.stories.d.ts +7 -0
- package/dist/src/components/atoms/solid-divider/SolidDivider.stories.js +9 -0
- package/dist/src/components/atoms/solid-divider/SolidDivider.theme.d.ts +13 -0
- package/dist/src/components/atoms/solid-divider/SolidDivider.theme.js +7 -0
- package/dist/src/components/atoms/solid-divider/index.d.ts +2 -0
- package/dist/src/components/atoms/solid-divider/index.js +2 -0
- package/dist/src/components/atoms/spinner/Spinner.d.ts +6 -0
- package/dist/src/components/atoms/spinner/Spinner.js +27 -0
- package/dist/src/components/atoms/spinner/Spinner.stories.d.ts +7 -0
- package/dist/src/components/atoms/spinner/Spinner.stories.js +12 -0
- package/dist/src/components/atoms/spinner/Spinner.theme.d.ts +5 -0
- package/dist/src/components/atoms/spinner/Spinner.theme.js +4 -0
- package/dist/src/components/atoms/spinner/index.d.ts +2 -0
- package/dist/src/components/atoms/spinner/index.js +2 -0
- package/dist/src/components/atoms/state-province-dropdown/StateProvinceDropdown.d.ts +10 -0
- package/dist/src/components/atoms/state-province-dropdown/StateProvinceDropdown.js +19 -0
- package/dist/src/components/atoms/state-province-dropdown/StateProvinceDropdown.stories.d.ts +7 -0
- package/dist/src/components/atoms/state-province-dropdown/StateProvinceDropdown.stories.js +30 -0
- package/dist/src/components/atoms/state-province-dropdown/index.d.ts +2 -0
- package/dist/src/components/atoms/state-province-dropdown/index.js +2 -0
- package/dist/src/components/atoms/state-province-dropdown/options.d.ts +11 -0
- package/dist/src/components/atoms/state-province-dropdown/options.js +3837 -0
- package/dist/src/components/atoms/tab/Tab.d.ts +6 -0
- package/dist/src/components/atoms/tab/Tab.js +17 -0
- package/dist/src/components/atoms/tab/Tab.stories.d.ts +7 -0
- package/dist/src/components/atoms/tab/Tab.stories.js +9 -0
- package/dist/src/components/atoms/tab/Tab.theme.d.ts +27 -0
- package/dist/src/components/atoms/tab/Tab.theme.js +23 -0
- package/dist/src/components/atoms/tab/index.d.ts +2 -0
- package/dist/src/components/atoms/tab/index.js +2 -0
- package/dist/src/components/atoms/text/Text.d.ts +5 -0
- package/dist/src/components/atoms/text/Text.js +34 -0
- package/dist/src/components/atoms/text/Text.stories.d.ts +7 -0
- package/dist/src/components/atoms/text/Text.stories.js +17 -0
- package/dist/src/components/atoms/text/Text.styled.d.ts +1 -0
- package/dist/src/components/atoms/text/Text.styled.js +32 -0
- package/dist/src/components/atoms/text/Text.theme.d.ts +27 -0
- package/dist/src/components/atoms/text/Text.theme.js +24 -0
- package/dist/src/components/atoms/text/index.d.ts +2 -0
- package/dist/src/components/atoms/text/index.js +2 -0
- package/dist/src/components/atoms/title/Title.d.ts +5 -0
- package/dist/src/components/atoms/title/Title.js +60 -0
- package/dist/src/components/atoms/title/Title.styled.d.ts +1 -0
- package/dist/src/components/atoms/title/Title.styled.js +28 -0
- package/dist/src/components/atoms/title/Title.theme.d.ts +26 -0
- package/dist/src/components/atoms/title/Title.theme.js +22 -0
- package/dist/src/components/atoms/title/index.d.ts +2 -0
- package/dist/src/components/atoms/title/index.js +2 -0
- package/dist/src/components/atoms/toggle-switch/ToggleSwitch.d.ts +5 -0
- package/dist/src/components/atoms/toggle-switch/ToggleSwitch.js +126 -0
- package/dist/src/components/atoms/toggle-switch/ToggleSwitch.stories.d.ts +7 -0
- package/dist/src/components/atoms/toggle-switch/ToggleSwitch.stories.js +15 -0
- package/dist/src/components/atoms/toggle-switch/ToggleSwitch.theme.d.ts +15 -0
- package/dist/src/components/atoms/toggle-switch/ToggleSwitch.theme.js +16 -0
- package/dist/src/components/atoms/toggle-switch/index.d.ts +2 -0
- package/dist/src/components/atoms/toggle-switch/index.js +2 -0
- package/dist/src/components/atoms/typeahead-input/TypeaheadIinput.stories.d.ts +7 -0
- package/dist/src/components/atoms/typeahead-input/TypeaheadIinput.stories.js +9 -0
- package/dist/src/components/atoms/typeahead-input/TypeaheadInput.d.ts +8 -0
- package/dist/src/components/atoms/typeahead-input/TypeaheadInput.js +22 -0
- package/dist/src/components/atoms/typeahead-input/TypeaheadInput.theme.d.ts +11 -0
- package/dist/src/components/atoms/typeahead-input/TypeaheadInput.theme.js +11 -0
- package/dist/src/components/atoms/typeahead-input/index.d.ts +2 -0
- package/dist/src/components/atoms/typeahead-input/index.js +2 -0
- package/dist/src/components/atoms/welcome-card/Card.d.ts +5 -0
- package/dist/src/components/atoms/welcome-card/Card.js +52 -0
- package/dist/src/components/atoms/welcome-card/Card.theme.d.ts +7 -0
- package/dist/src/components/atoms/welcome-card/Card.theme.js +7 -0
- package/dist/src/components/atoms/welcome-card/index.d.ts +8 -0
- package/dist/src/components/atoms/welcome-card/index.js +20 -0
- package/dist/src/components/index.d.ts +4 -0
- package/dist/src/components/index.js +4 -0
- package/dist/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.d.ts +5 -0
- package/dist/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.js +22 -0
- package/dist/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.theme.d.ts +28 -0
- package/dist/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.theme.js +17 -0
- package/dist/src/components/molecules/account-and-routing-modal/index.d.ts +2 -0
- package/dist/src/components/molecules/account-and-routing-modal/index.js +2 -0
- package/dist/src/components/molecules/address-form/AddressForm.d.ts +12 -0
- package/dist/src/components/molecules/address-form/AddressForm.js +52 -0
- package/dist/src/components/molecules/address-form/AddressForm.state.d.ts +3 -0
- package/dist/src/components/molecules/address-form/AddressForm.state.js +33 -0
- package/dist/src/components/molecules/address-form/AddressForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/address-form/AddressForm.stories.js +15 -0
- package/dist/src/components/molecules/address-form/index.d.ts +2 -0
- package/dist/src/components/molecules/address-form/index.js +6 -0
- package/dist/src/components/molecules/change-password-form/ChangePasswordForm.d.ts +13 -0
- package/dist/src/components/molecules/change-password-form/ChangePasswordForm.js +55 -0
- package/dist/src/components/molecules/change-password-form/ChangePasswordForm.state.d.ts +3 -0
- package/dist/src/components/molecules/change-password-form/ChangePasswordForm.state.js +21 -0
- package/dist/src/components/molecules/change-password-form/ChangePasswordForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/change-password-form/ChangePasswordForm.stories.js +14 -0
- package/dist/src/components/molecules/change-password-form/index.d.ts +2 -0
- package/dist/src/components/molecules/change-password-form/index.js +6 -0
- package/dist/src/components/molecules/collapsible-section/CollapsibleSection.d.ts +5 -0
- package/dist/src/components/molecules/collapsible-section/CollapsibleSection.js +60 -0
- package/dist/src/components/molecules/collapsible-section/CollapsibleSection.stories.d.ts +7 -0
- package/dist/src/components/molecules/collapsible-section/CollapsibleSection.stories.js +30 -0
- package/dist/src/components/molecules/collapsible-section/CollapsibleSection.theme.d.ts +9 -0
- package/dist/src/components/molecules/collapsible-section/CollapsibleSection.theme.js +8 -0
- package/dist/src/components/molecules/collapsible-section/index.d.ts +2 -0
- package/dist/src/components/molecules/collapsible-section/index.js +2 -0
- package/dist/src/components/molecules/edit-name-form/EdidNameForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/edit-name-form/EdidNameForm.stories.js +16 -0
- package/dist/src/components/molecules/edit-name-form/EditNameForm.d.ts +8 -0
- package/dist/src/components/molecules/edit-name-form/EditNameForm.js +22 -0
- package/dist/src/components/molecules/edit-name-form/EditNameForm.state.d.ts +3 -0
- package/dist/src/components/molecules/edit-name-form/EditNameForm.state.js +11 -0
- package/dist/src/components/molecules/edit-name-form/index.d.ts +2 -0
- package/dist/src/components/molecules/edit-name-form/index.js +6 -0
- package/dist/src/components/molecules/editable-list/EditableList.d.ts +23 -0
- package/dist/src/components/molecules/editable-list/EditableList.js +49 -0
- package/dist/src/components/molecules/editable-list/EditableList.styled.d.ts +2 -0
- package/dist/src/components/molecules/editable-list/EditableList.styled.js +15 -0
- package/dist/src/components/molecules/editable-list/index.d.ts +2 -0
- package/dist/src/components/molecules/editable-list/index.js +2 -0
- package/dist/src/components/molecules/editable-table/EditableTable.d.ts +7 -0
- package/dist/src/components/molecules/editable-table/EditableTable.js +16 -0
- package/dist/src/components/molecules/editable-table/EditableTable.styled.d.ts +9 -0
- package/dist/src/components/molecules/editable-table/EditableTable.styled.js +61 -0
- package/dist/src/components/molecules/editable-table/TableListItem.d.ts +9 -0
- package/dist/src/components/molecules/editable-table/TableListItem.js +21 -0
- package/dist/src/components/molecules/editable-table/index.d.ts +3 -0
- package/dist/src/components/molecules/editable-table/index.js +3 -0
- package/dist/src/components/molecules/email-form/EmailForm.d.ts +13 -0
- package/dist/src/components/molecules/email-form/EmailForm.js +23 -0
- package/dist/src/components/molecules/email-form/EmailForm.state.d.ts +3 -0
- package/dist/src/components/molecules/email-form/EmailForm.state.js +8 -0
- package/dist/src/components/molecules/email-form/EmailForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/email-form/EmailForm.stories.js +16 -0
- package/dist/src/components/molecules/email-form/index.d.ts +2 -0
- package/dist/src/components/molecules/email-form/index.js +6 -0
- package/dist/src/components/molecules/forgot-password-form/ForgotPasswordForm.d.ts +8 -0
- package/dist/src/components/molecules/forgot-password-form/ForgotPasswordForm.js +17 -0
- package/dist/src/components/molecules/forgot-password-form/ForgotPasswordForm.state.d.ts +3 -0
- package/dist/src/components/molecules/forgot-password-form/ForgotPasswordForm.state.js +8 -0
- package/dist/src/components/molecules/forgot-password-form/ForgotPasswordForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/forgot-password-form/ForgotPasswordForm.stories.js +16 -0
- package/dist/src/components/molecules/forgot-password-form/index.d.ts +2 -0
- package/dist/src/components/molecules/forgot-password-form/index.js +6 -0
- package/dist/src/components/molecules/highlight-tab-row/HighlightTabRow.d.ts +6 -0
- package/dist/src/components/molecules/highlight-tab-row/HighlightTabRow.js +29 -0
- package/dist/src/components/molecules/highlight-tab-row/HighlightTabRow.stories.d.ts +7 -0
- package/dist/src/components/molecules/highlight-tab-row/HighlightTabRow.stories.js +17 -0
- package/dist/src/components/molecules/highlight-tab-row/HighlightTabRow.theme.d.ts +7 -0
- package/dist/src/components/molecules/highlight-tab-row/HighlightTabRow.theme.js +6 -0
- package/dist/src/components/molecules/highlight-tab-row/index.d.ts +2 -0
- package/dist/src/components/molecules/highlight-tab-row/index.js +2 -0
- package/dist/src/components/molecules/index.d.ts +36 -0
- package/dist/src/components/molecules/index.js +36 -0
- package/dist/src/components/molecules/internal-user-info-form/InternalUserInfoForm.d.ts +25 -0
- package/dist/src/components/molecules/internal-user-info-form/InternalUserInfoForm.js +108 -0
- package/dist/src/components/molecules/internal-user-info-form/InternalUserInfoForm.state.d.ts +3 -0
- package/dist/src/components/molecules/internal-user-info-form/InternalUserInfoForm.state.js +23 -0
- package/dist/src/components/molecules/internal-user-info-form/index.d.ts +2 -0
- package/{src → dist/src}/components/molecules/internal-user-info-form/index.js +1 -6
- package/dist/src/components/molecules/login-form/LoginForm.d.ts +8 -0
- package/dist/src/components/molecules/login-form/LoginForm.js +22 -0
- package/dist/src/components/molecules/login-form/LoginForm.state.d.ts +3 -0
- package/dist/src/components/molecules/login-form/LoginForm.state.js +11 -0
- package/dist/src/components/molecules/login-form/LoginForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/login-form/LoginForm.stories.js +16 -0
- package/dist/src/components/molecules/login-form/index.d.ts +2 -0
- package/dist/src/components/molecules/login-form/index.js +6 -0
- package/dist/src/components/molecules/modal/Modal.d.ts +27 -0
- package/dist/src/components/molecules/modal/Modal.js +51 -0
- package/dist/src/components/molecules/modal/Modal.stories.d.ts +15 -0
- package/dist/src/components/molecules/modal/Modal.stories.js +28 -0
- package/dist/src/components/molecules/modal/index.d.ts +2 -0
- package/dist/src/components/molecules/modal/index.js +2 -0
- package/dist/src/components/molecules/module/Module.d.ts +6 -0
- package/dist/src/components/molecules/module/Module.js +31 -0
- package/dist/src/components/molecules/module/Module.stories.d.ts +7 -0
- package/dist/src/components/molecules/module/Module.stories.js +18 -0
- package/dist/src/components/molecules/module/Module.theme.d.ts +87 -0
- package/dist/src/components/molecules/module/Module.theme.js +43 -0
- package/dist/src/components/molecules/module/index.d.ts +2 -0
- package/dist/src/components/molecules/module/index.js +2 -0
- package/dist/src/components/molecules/nav-menu/NavMenu.theme.d.ts +15 -0
- package/dist/src/components/molecules/nav-menu/NavMenu.theme.js +12 -0
- package/dist/src/components/molecules/nav-menu/NavMenuDesktop.d.ts +5 -0
- package/dist/src/components/molecules/nav-menu/NavMenuDesktop.js +11 -0
- package/dist/src/components/molecules/nav-menu/NavMenuMobile.d.ts +5 -0
- package/dist/src/components/molecules/nav-menu/NavMenuMobile.js +49 -0
- package/dist/src/components/molecules/nav-menu/index.d.ts +3 -0
- package/dist/src/components/molecules/nav-menu/index.js +3 -0
- package/dist/src/components/molecules/obligation/Obligation.d.ts +23 -0
- package/dist/src/components/molecules/obligation/Obligation.js +44 -0
- package/dist/src/components/molecules/obligation/icons/AccountBillIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/AccountBillIcon.js +20 -0
- package/dist/src/components/molecules/obligation/icons/AccountConstructionIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/AccountConstructionIcon.js +21 -0
- package/dist/src/components/molecules/obligation/icons/AccountDentalIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/AccountDentalIcon.js +21 -0
- package/dist/src/components/molecules/obligation/icons/AccountElectricIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/AccountElectricIcon.js +21 -0
- package/dist/src/components/molecules/obligation/icons/AccountGarbageIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/AccountGarbageIcon.js +21 -0
- package/dist/src/components/molecules/obligation/icons/AccountGasIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/AccountGasIcon.js +21 -0
- package/dist/src/components/molecules/obligation/icons/AccountGenericIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/AccountGenericIcon.js +20 -0
- package/dist/src/components/molecules/obligation/icons/AccountMedicalIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/AccountMedicalIcon.js +21 -0
- package/dist/src/components/molecules/obligation/icons/AccountWaterIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/AccountWaterIcon.js +21 -0
- package/dist/src/components/molecules/obligation/icons/PropertyApartmentIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/PropertyApartmentIcon.js +22 -0
- package/dist/src/components/molecules/obligation/icons/PropertyBusinessIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/PropertyBusinessIcon.js +20 -0
- package/dist/src/components/molecules/obligation/icons/PropertyCarIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/PropertyCarIcon.js +22 -0
- package/dist/src/components/molecules/obligation/icons/PropertyCommercialVehicleIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/PropertyCommercialVehicleIcon.js +23 -0
- package/dist/src/components/molecules/obligation/icons/PropertyGarageIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/PropertyGarageIcon.js +22 -0
- package/dist/src/components/molecules/obligation/icons/PropertyLandIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/PropertyLandIcon.js +22 -0
- package/dist/src/components/molecules/obligation/icons/PropertyMotorcycleIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/PropertyMotorcycleIcon.js +22 -0
- package/dist/src/components/molecules/obligation/icons/PropertyPersonalIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/PropertyPersonalIcon.js +20 -0
- package/dist/src/components/molecules/obligation/icons/PropertyStorefrontIcon.d.ts +2 -0
- package/dist/src/components/molecules/obligation/icons/PropertyStorefrontIcon.js +23 -0
- package/dist/src/components/molecules/obligation/icons/index.d.ts +38 -0
- package/dist/src/components/molecules/obligation/icons/index.js +57 -0
- package/dist/src/components/molecules/obligation/index.d.ts +2 -0
- package/dist/src/components/molecules/obligation/index.js +2 -0
- package/dist/src/components/molecules/obligation/modules/AmountModule.d.ts +12 -0
- package/dist/src/components/molecules/obligation/modules/AmountModule.js +17 -0
- package/dist/src/components/molecules/obligation/modules/AmountModule.stories.d.ts +7 -0
- package/dist/src/components/molecules/obligation/modules/AmountModule.stories.js +12 -0
- package/dist/src/components/molecules/obligation/modules/AutopayModalModule.d.ts +4 -0
- package/dist/src/components/molecules/obligation/modules/AutopayModalModule.js +76 -0
- package/dist/src/components/molecules/obligation/modules/AutopayModalModule.theme.d.ts +15 -0
- package/dist/src/components/molecules/obligation/modules/AutopayModalModule.theme.js +15 -0
- package/dist/src/components/molecules/obligation/modules/IconModule.d.ts +8 -0
- package/dist/src/components/molecules/obligation/modules/IconModule.js +20 -0
- package/dist/src/components/molecules/obligation/modules/InactiveControlsModule.d.ts +16 -0
- package/dist/src/components/molecules/obligation/modules/InactiveControlsModule.js +18 -0
- package/dist/src/components/molecules/obligation/modules/InactiveTitleModule.d.ts +6 -0
- package/dist/src/components/molecules/obligation/modules/InactiveTitleModule.js +18 -0
- package/dist/src/components/molecules/obligation/modules/PaymentDetailsActions.d.ts +18 -0
- package/dist/src/components/molecules/obligation/modules/PaymentDetailsActions.js +44 -0
- package/dist/src/components/molecules/obligation/modules/RemoveAccountModalModule.d.ts +8 -0
- package/dist/src/components/molecules/obligation/modules/RemoveAccountModalModule.js +39 -0
- package/dist/src/components/molecules/obligation/modules/TitleModule.d.ts +7 -0
- package/dist/src/components/molecules/obligation/modules/TitleModule.js +13 -0
- package/dist/src/components/molecules/obligation/modules/index.d.ts +8 -0
- package/dist/src/components/molecules/obligation/modules/index.js +8 -0
- package/dist/src/components/molecules/pagination/Pagination.d.ts +14 -0
- package/dist/src/components/molecules/pagination/Pagination.js +56 -0
- package/dist/src/components/molecules/pagination/index.d.ts +2 -0
- package/dist/src/components/molecules/pagination/index.js +2 -0
- package/dist/src/components/molecules/partial-amount-form/PartialAmountForm.d.ts +11 -0
- package/dist/src/components/molecules/partial-amount-form/PartialAmountForm.js +27 -0
- package/dist/src/components/molecules/partial-amount-form/PartialAmountForm.state.d.ts +5 -0
- package/dist/src/components/molecules/partial-amount-form/PartialAmountForm.state.js +49 -0
- package/dist/src/components/molecules/partial-amount-form/index.d.ts +3 -0
- package/dist/src/components/molecules/partial-amount-form/index.js +3 -0
- package/dist/src/components/molecules/payment-button-bar/PaymentButtonBar.d.ts +15 -0
- package/dist/src/components/molecules/payment-button-bar/PaymentButtonBar.js +24 -0
- package/dist/src/components/molecules/payment-button-bar/PaymentButtonBar.stories.d.ts +7 -0
- package/dist/src/components/molecules/payment-button-bar/PaymentButtonBar.stories.js +10 -0
- package/dist/src/components/molecules/payment-button-bar/index.d.ts +2 -0
- package/dist/src/components/molecules/payment-button-bar/index.js +2 -0
- package/dist/src/components/molecules/payment-details/PaymentDetails.d.ts +5 -0
- package/dist/src/components/molecules/payment-details/PaymentDetails.js +143 -0
- package/dist/src/components/molecules/payment-details/PaymentDetails.stories.d.ts +11 -0
- package/dist/src/components/molecules/payment-details/PaymentDetails.stories.js +126 -0
- package/dist/src/components/molecules/payment-details/PaymentDetails.theme.d.ts +30 -0
- package/dist/src/components/molecules/payment-details/PaymentDetails.theme.js +10 -0
- package/dist/src/components/molecules/payment-details/index.d.ts +1 -0
- package/dist/src/components/molecules/payment-details/index.js +1 -0
- package/dist/src/components/molecules/payment-form-ach/PaymentFormACH.d.ts +16 -0
- package/dist/src/components/molecules/payment-form-ach/PaymentFormACH.js +52 -0
- package/dist/src/components/molecules/payment-form-ach/PaymentFormACH.state.d.ts +3 -0
- package/dist/src/components/molecules/payment-form-ach/PaymentFormACH.state.js +28 -0
- package/dist/src/components/molecules/payment-form-ach/PaymentFormACH.stories.d.ts +7 -0
- package/dist/src/components/molecules/payment-form-ach/PaymentFormACH.stories.js +16 -0
- package/dist/src/components/molecules/payment-form-ach/index.d.ts +2 -0
- package/dist/src/components/molecules/payment-form-ach/index.js +6 -0
- package/dist/src/components/molecules/payment-form-card/PaymentFormCard.d.ts +4 -0
- package/dist/src/components/molecules/payment-form-card/PaymentFormCard.js +74 -0
- package/dist/src/components/molecules/payment-form-card/PaymentFormCard.state.d.ts +3 -0
- package/dist/src/components/molecules/payment-form-card/PaymentFormCard.state.js +41 -0
- package/dist/src/components/molecules/payment-form-card/PaymentFormCard.stories.d.ts +7 -0
- package/dist/src/components/molecules/payment-form-card/PaymentFormCard.stories.js +16 -0
- package/dist/src/components/molecules/payment-form-card/index.d.ts +2 -0
- package/dist/src/components/molecules/payment-form-card/index.js +6 -0
- package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashBoardIframe.stories.d.ts +7 -0
- package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashBoardIframe.stories.js +10 -0
- package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashboardIframe.d.ts +11 -0
- package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashboardIframe.js +70 -0
- package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashboardIframe.styled.d.ts +1 -0
- package/dist/src/components/molecules/periscope-dashboard-iframe/PeriscopeDashboardIframe.styled.js +8 -0
- package/dist/src/components/molecules/periscope-dashboard-iframe/index.d.ts +2 -0
- package/dist/src/components/molecules/periscope-dashboard-iframe/index.js +2 -0
- package/dist/src/components/molecules/phone-form/PhoneForm.d.ts +12 -0
- package/dist/src/components/molecules/phone-form/PhoneForm.js +23 -0
- package/dist/src/components/molecules/phone-form/PhoneForm.state.d.ts +3 -0
- package/dist/src/components/molecules/phone-form/PhoneForm.state.js +9 -0
- package/dist/src/components/molecules/phone-form/PhoneForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/phone-form/PhoneForm.stories.js +16 -0
- package/dist/src/components/molecules/phone-form/index.d.ts +2 -0
- package/dist/src/components/molecules/phone-form/index.js +6 -0
- package/dist/src/components/molecules/radio-section/RadioSection.d.ts +5 -0
- package/dist/src/components/molecules/radio-section/RadioSection.js +126 -0
- package/dist/src/components/molecules/radio-section/RadioSection.stories.d.ts +7 -0
- package/dist/src/components/molecules/radio-section/RadioSection.stories.js +18 -0
- package/dist/src/components/molecules/radio-section/RadioSection.theme.d.ts +13 -0
- package/dist/src/components/molecules/radio-section/RadioSection.theme.js +13 -0
- package/dist/src/components/molecules/radio-section/index.d.ts +2 -0
- package/dist/src/components/molecules/radio-section/index.js +2 -0
- package/dist/src/components/molecules/registration-form/RegistrationForm.d.ts +9 -0
- package/dist/src/components/molecules/registration-form/RegistrationForm.js +43 -0
- package/dist/src/components/molecules/registration-form/RegistrationForm.state.d.ts +3 -0
- package/dist/src/components/molecules/registration-form/RegistrationForm.state.js +27 -0
- package/dist/src/components/molecules/registration-form/RegistrationForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/registration-form/RegistrationForm.stories.js +16 -0
- package/dist/src/components/molecules/registration-form/index.d.ts +2 -0
- package/dist/src/components/molecules/registration-form/index.js +6 -0
- package/dist/src/components/molecules/reset-confirmation-form/ResetConfirmationForm.d.ts +4 -0
- package/dist/src/components/molecules/reset-confirmation-form/ResetConfirmationForm.js +27 -0
- package/dist/src/components/molecules/reset-confirmation-form/ResetConfirmationForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/reset-confirmation-form/ResetConfirmationForm.stories.js +9 -0
- package/dist/src/components/molecules/reset-confirmation-form/index.d.ts +2 -0
- package/dist/src/components/molecules/reset-confirmation-form/index.js +2 -0
- package/dist/src/components/molecules/reset-password-form/ResetPasswordForm.d.ts +9 -0
- package/dist/src/components/molecules/reset-password-form/ResetPasswordForm.js +30 -0
- package/dist/src/components/molecules/reset-password-form/ResetPasswordForm.state.d.ts +3 -0
- package/dist/src/components/molecules/reset-password-form/ResetPasswordForm.state.js +18 -0
- package/dist/src/components/molecules/reset-password-form/ResetPasswordForm.stories.d.ts +7 -0
- package/dist/src/components/molecules/reset-password-form/ResetPasswordForm.stories.js +16 -0
- package/dist/src/components/molecules/reset-password-form/index.d.ts +2 -0
- package/dist/src/components/molecules/reset-password-form/index.js +6 -0
- package/dist/src/components/molecules/reset-password-success/ResetPasswordSuccess.d.ts +4 -0
- package/dist/src/components/molecules/reset-password-success/ResetPasswordSuccess.js +27 -0
- package/dist/src/components/molecules/reset-password-success/ResetPasswordSuccess.stories.d.ts +7 -0
- package/dist/src/components/molecules/reset-password-success/ResetPasswordSuccess.stories.js +9 -0
- package/dist/src/components/molecules/reset-password-success/index.d.ts +2 -0
- package/dist/src/components/molecules/reset-password-success/index.js +2 -0
- package/dist/src/components/molecules/tab-sidebar/TabSidebar.d.ts +5 -0
- package/dist/src/components/molecules/tab-sidebar/TabSidebar.js +28 -0
- package/dist/src/components/molecules/tab-sidebar/TabSidebar.stories.d.ts +7 -0
- package/dist/src/components/molecules/tab-sidebar/TabSidebar.stories.js +52 -0
- package/dist/src/components/molecules/tab-sidebar/TabSidebar.theme.d.ts +9 -0
- package/dist/src/components/molecules/tab-sidebar/TabSidebar.theme.js +8 -0
- package/dist/src/components/molecules/tab-sidebar/index.d.ts +2 -0
- package/dist/src/components/molecules/tab-sidebar/index.js +2 -0
- package/dist/src/components/molecules/tabs/Tabs.d.ts +5 -0
- package/dist/src/components/molecules/tabs/Tabs.js +33 -0
- package/dist/src/components/molecules/tabs/Tabs.stories.d.ts +7 -0
- package/dist/src/components/molecules/tabs/Tabs.stories.js +186 -0
- package/dist/src/components/molecules/tabs/Tabs.theme.d.ts +9 -0
- package/dist/src/components/molecules/tabs/Tabs.theme.js +8 -0
- package/dist/src/components/molecules/tabs/index.d.ts +2 -0
- package/dist/src/components/molecules/tabs/index.js +2 -0
- package/dist/src/components/molecules/terms-and-conditions/TermsAndConditions.d.ts +8 -0
- package/dist/src/components/molecules/terms-and-conditions/TermsAndConditions.js +17 -0
- package/dist/src/components/molecules/terms-and-conditions/TermsAndConditions.stories.d.ts +7 -0
- package/dist/src/components/molecules/terms-and-conditions/TermsAndConditions.stories.js +12 -0
- package/dist/src/components/molecules/terms-and-conditions/index.d.ts +2 -0
- package/dist/src/components/molecules/terms-and-conditions/index.js +2 -0
- package/dist/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.d.ts +5 -0
- package/dist/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.js +16 -0
- package/dist/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.stories.d.ts +7 -0
- package/dist/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.stories.js +19 -0
- package/dist/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.theme.d.ts +50 -0
- package/dist/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.theme.js +24 -0
- package/dist/src/components/molecules/terms-and-conditions-modal/index.d.ts +2 -0
- package/dist/src/components/molecules/terms-and-conditions-modal/index.js +2 -0
- package/dist/src/components/molecules/timeout/Timeout.d.ts +4 -0
- package/dist/src/components/molecules/timeout/Timeout.js +26 -0
- package/dist/src/components/molecules/timeout/index.d.ts +2 -0
- package/dist/src/components/molecules/timeout/index.js +2 -0
- package/dist/src/components/molecules/welcome-module/WelcomeModule.d.ts +6 -0
- package/dist/src/components/molecules/welcome-module/WelcomeModule.js +27 -0
- package/dist/src/components/molecules/welcome-module/WelcomeModule.theme.d.ts +13 -0
- package/dist/src/components/molecules/welcome-module/WelcomeModule.theme.js +13 -0
- package/dist/src/components/molecules/welcome-module/index.d.ts +2 -0
- package/dist/src/components/molecules/welcome-module/index.js +2 -0
- package/dist/src/components/molecules/workflow-tile/WorkflowTile.d.ts +7 -0
- package/dist/src/components/molecules/workflow-tile/WorkflowTile.js +19 -0
- package/dist/src/components/molecules/workflow-tile/WorkflowTile.stories.d.ts +7 -0
- package/dist/src/components/molecules/workflow-tile/WorkflowTile.stories.js +11 -0
- package/dist/src/components/molecules/workflow-tile/index.d.ts +2 -0
- package/dist/src/components/molecules/workflow-tile/index.js +2 -0
- package/dist/src/components/templates/center-single/CenterSingle.d.ts +4 -0
- package/dist/src/components/templates/center-single/CenterSingle.js +20 -0
- package/dist/src/components/templates/center-single/index.d.ts +2 -0
- package/dist/src/components/templates/center-single/index.js +2 -0
- package/dist/src/components/templates/center-stack/CenterStack.d.ts +4 -0
- package/dist/src/components/templates/center-stack/CenterStack.js +22 -0
- package/dist/src/components/templates/center-stack/index.d.ts +2 -0
- package/dist/src/components/templates/center-stack/index.js +2 -0
- package/dist/src/components/templates/default-page-template/DefaultPageTemplate.d.ts +4 -0
- package/dist/src/components/templates/default-page-template/DefaultPageTemplate.js +20 -0
- package/dist/src/components/templates/default-page-template/index.d.ts +2 -0
- package/dist/src/components/templates/default-page-template/index.js +2 -0
- package/dist/src/components/templates/index.d.ts +5 -0
- package/dist/src/components/templates/index.js +5 -0
- package/dist/src/components/templates/sidebar-single-content/SidebarSingleContent.d.ts +4 -0
- package/dist/src/components/templates/sidebar-single-content/SidebarSingleContent.js +25 -0
- package/dist/src/components/templates/sidebar-single-content/index.d.ts +2 -0
- package/dist/src/components/templates/sidebar-single-content/index.js +2 -0
- package/dist/src/components/templates/sidebar-stack-content/SidebarStackContent.d.ts +4 -0
- package/dist/src/components/templates/sidebar-stack-content/SidebarStackContent.js +25 -0
- package/dist/src/components/templates/sidebar-stack-content/index.d.ts +2 -0
- package/dist/src/components/templates/sidebar-stack-content/index.js +2 -0
- package/dist/src/components/templates/templates.theme.d.ts +5 -0
- package/dist/src/components/templates/templates.theme.js +4 -0
- package/dist/src/components/withWindowSize.d.ts +4 -0
- package/dist/src/components/withWindowSize.js +70 -0
- package/dist/src/constants/colors.d.ts +97 -0
- package/dist/src/constants/colors.js +113 -0
- package/dist/src/constants/index.d.ts +3 -0
- package/dist/src/constants/index.js +3 -0
- package/dist/src/constants/regex_constants.d.ts +1 -0
- package/dist/src/constants/regex_constants.js +1 -0
- package/dist/src/constants/style_constants.d.ts +8 -0
- package/dist/src/constants/style_constants.js +10 -0
- package/dist/src/deprecated/colors.d.ts +81 -0
- package/dist/src/deprecated/colors.js +97 -0
- package/dist/src/deprecated/components/radio-button/index.d.ts +2 -0
- package/dist/src/deprecated/components/radio-button/index.js +2 -0
- package/dist/src/deprecated/components/radio-button/radio-button.d.ts +5 -0
- package/dist/src/deprecated/components/radio-button/radio-button.js +29 -0
- package/dist/src/deprecated/icons/AlertErrorIcon.d.ts +1 -0
- package/dist/src/deprecated/icons/AlertErrorIcon.js +10 -0
- package/dist/src/deprecated/icons/AlertInfoIcon.d.ts +1 -0
- package/dist/src/deprecated/icons/AlertInfoIcon.js +10 -0
- package/dist/src/deprecated/icons/AlertSuccessIcon.d.ts +1 -0
- package/dist/src/deprecated/icons/AlertSuccessIcon.js +10 -0
- package/dist/src/deprecated/icons/AlertWarningIcon.d.ts +1 -0
- package/dist/src/deprecated/icons/AlertWarningIcon.js +6 -0
- package/dist/src/deprecated/icons/BankIcon.d.ts +2 -0
- package/dist/src/deprecated/icons/BankIcon.js +19 -0
- package/dist/src/deprecated/icons/GenericCard.d.ts +2 -0
- package/dist/src/deprecated/icons/GenericCard.js +9 -0
- package/dist/src/deprecated/icons/IconCheck.d.ts +5 -0
- package/dist/src/deprecated/icons/IconCheck.js +10 -0
- package/dist/src/deprecated/icons/IconCheckEmail.d.ts +4 -0
- package/dist/src/deprecated/icons/IconCheckEmail.js +14 -0
- package/dist/src/deprecated/icons/IconChevron.d.ts +3 -0
- package/dist/src/deprecated/icons/IconChevron.js +14 -0
- package/dist/src/deprecated/icons/IconEmailVerified.d.ts +4 -0
- package/dist/src/deprecated/icons/IconEmailVerified.js +22 -0
- package/dist/src/deprecated/icons/IconEye.d.ts +3 -0
- package/dist/src/deprecated/icons/IconEye.js +15 -0
- package/dist/src/deprecated/icons/IconEyeSlash.d.ts +3 -0
- package/dist/src/deprecated/icons/IconEyeSlash.js +19 -0
- package/dist/src/deprecated/icons/IconInvalid.d.ts +7 -0
- package/dist/src/deprecated/icons/IconInvalid.js +14 -0
- package/dist/src/deprecated/icons/IconNeutral.d.ts +6 -0
- package/dist/src/deprecated/icons/IconNeutral.js +10 -0
- package/dist/src/deprecated/icons/IconQuit.d.ts +5 -0
- package/dist/src/deprecated/icons/IconQuit.js +14 -0
- package/dist/src/deprecated/icons/IconValid.d.ts +7 -0
- package/dist/src/deprecated/icons/IconValid.js +15 -0
- package/dist/src/deprecated/icons/IconWarn.d.ts +3 -0
- package/dist/src/deprecated/icons/IconWarn.js +13 -0
- package/dist/src/deprecated/icons/index.d.ts +22 -0
- package/dist/src/deprecated/icons/index.js +22 -0
- package/dist/src/deprecated/index.d.ts +1 -0
- package/dist/src/deprecated/index.js +1 -0
- package/dist/src/deprecated/spinner/Spinner.d.ts +7 -0
- package/dist/src/deprecated/spinner/Spinner.js +46 -0
- package/dist/src/deprecated/spinner/index.d.ts +1 -0
- package/dist/src/deprecated/spinner/index.js +1 -0
- package/dist/src/deprecated/utility/__tests__/safeConcat.spec.d.ts +1 -0
- package/dist/src/deprecated/utility/__tests__/safeConcat.spec.js +47 -0
- package/dist/src/deprecated/utility/__tests__/validateKeyType.spec.d.ts +1 -0
- package/dist/src/deprecated/utility/__tests__/validateKeyType.spec.js +100 -0
- package/dist/src/deprecated/utility/index.d.ts +2 -0
- package/dist/src/deprecated/utility/index.js +2 -0
- package/dist/src/deprecated/utility/safeConcat.d.ts +1 -0
- package/dist/src/deprecated/utility/safeConcat.js +8 -0
- package/dist/src/deprecated/utility/validateKeyType.d.ts +1 -0
- package/dist/src/deprecated/utility/validateKeyType.js +13 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/index.js +4 -0
- package/dist/src/util/focusFirstInvalidInputHook.d.ts +2 -0
- package/dist/src/util/focusFirstInvalidInputHook.js +17 -0
- package/dist/src/util/formats.d.ts +9 -0
- package/dist/src/util/formats.js +70 -0
- package/dist/src/util/general.d.ts +13 -0
- package/dist/src/util/general.js +101 -0
- package/dist/src/util/index.d.ts +5 -0
- package/dist/src/util/index.js +5 -0
- package/dist/src/util/inputValidationUtils.d.ts +43 -0
- package/dist/src/util/inputValidationUtils.js +92 -0
- package/dist/src/util/themeUtils.d.ts +5 -0
- package/dist/src/util/themeUtils.js +129 -0
- package/package.json +1 -1
- package/src/components/atoms/icons/{ExternalLinkicon.js → ExternalLinkIcon.js} +0 -0
- package/src/components/atoms/icons/FindIconSmall.js +49 -0
- package/src/components/atoms/icons/index.js +3 -1
- package/src/components/atoms/index.js +2 -1
- package/src/components/atoms/link/ExternalLink.d.ts +1 -1
- package/src/components/atoms/link/ExternalLink.js +48 -42
- package/src/components/atoms/link/ExternalLink.styled.js +4 -2
- package/src/components/atoms/link/InternalLink.d.ts +1 -1
- package/src/components/atoms/link/InternalLink.js +48 -42
- package/src/components/atoms/link/InternalLink.styled.js +6 -3
- package/src/components/atoms/radio-button-with-label/RadioButtonWithLabel.js +92 -0
- package/src/components/atoms/radio-button-with-label/index.js +3 -0
- package/src/components/molecules/index.js +1 -1
- package/src/components/molecules/radio-group/RadioGroup.js +62 -0
- package/src/components/molecules/radio-group/RadioGroup.stories.js +44 -0
- package/src/components/molecules/radio-group/index.js +3 -0
- package/src/components/molecules/radio-section/RadioSection.js +1 -1
- package/src/components/molecules/radio-section/RadioSection.stories.js +1 -1
- package/src/components/{atoms → molecules/radio-section}/radio-button/RadioButton.js +2 -2
- package/src/components/{atoms → molecules/radio-section}/radio-button/RadioButton.theme.js +1 -1
- package/src/components/molecules/workflow-tile/WorkflowTile.js +13 -5
- package/src/.DS_Store +0 -0
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/atoms/radio-button/RadioButton.stories.js +0 -34
- package/src/components/molecules/internal-user-info-form/InternalUserInfoForm.js +0 -266
- package/src/components/molecules/internal-user-info-form/InternalUserInfoForm.state.js +0 -26
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { connect } from "react-redux";
|
|
3
|
+
import { boolean } from "@storybook/addon-knobs";
|
|
4
|
+
import ForgotPasswordForm from "./ForgotPasswordForm";
|
|
5
|
+
import page from "../../../../.storybook/page";
|
|
6
|
+
import * as ForgotPasswordFormState from "./ForgotPasswordForm.state";
|
|
7
|
+
var story = page({
|
|
8
|
+
title: "Components|Molecules/ForgotPasswordForm",
|
|
9
|
+
Component: ForgotPasswordForm,
|
|
10
|
+
reducer: ForgotPasswordFormState.reducer,
|
|
11
|
+
mapStateToProps: ForgotPasswordFormState.mapStateToProps,
|
|
12
|
+
mapDispatchToProps: ForgotPasswordFormState.mapDispatchToProps
|
|
13
|
+
});
|
|
14
|
+
export default story;
|
|
15
|
+
var ConnectedForm = connect(ForgotPasswordFormState.mapStateToProps, ForgotPasswordFormState.mapDispatchToProps)(ForgotPasswordForm);
|
|
16
|
+
export var forgotPasswordForm = function () { return (React.createElement(ConnectedForm, { showErrors: boolean("showErrors", false, "props") })); };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import ForgotPasswordForm from "./ForgotPasswordForm";
|
|
2
|
+
import { reducer, mapStateToProps, mapDispatchToProps } from "./ForgotPasswordForm.state";
|
|
3
|
+
ForgotPasswordForm.reducer = reducer;
|
|
4
|
+
ForgotPasswordForm.mapStateToProps = mapStateToProps;
|
|
5
|
+
ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps;
|
|
6
|
+
export default ForgotPasswordForm;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React, { memo } from "react";
|
|
2
|
+
import { repeat } from "ramda";
|
|
3
|
+
import { fallbackValues } from "./HighlightTabRow.theme";
|
|
4
|
+
import { themeComponent } from "../../../util/themeUtils";
|
|
5
|
+
import { Reel, Box, Center } from "../../atoms/layouts";
|
|
6
|
+
import Text from "../../atoms/text";
|
|
7
|
+
import { FONT_WEIGHT_SEMIBOLD } from "../../../constants/style_constants";
|
|
8
|
+
// this component needs some fix'n
|
|
9
|
+
var HighlightTabRow = function (_a) {
|
|
10
|
+
var tabs = _a.tabs, highlightIndex = _a.highlightIndex, themeValues = _a.themeValues, isMobile = _a.isMobile, _b = _a.useOrderedList, useOrderedList = _b === void 0 ? true : _b, _c = _a.useUnorderedList, useUnorderedList = _c === void 0 ? false : _c;
|
|
11
|
+
var itemsAfterIndex = tabs.slice(highlightIndex).length - 1;
|
|
12
|
+
var itemsBeforeIndex = tabs.slice(0, highlightIndex).length;
|
|
13
|
+
var boxesBefore = itemsAfterIndex > itemsBeforeIndex && isMobile
|
|
14
|
+
? itemsAfterIndex - itemsBeforeIndex
|
|
15
|
+
: 0;
|
|
16
|
+
var boxesAfter = itemsAfterIndex < itemsBeforeIndex && isMobile
|
|
17
|
+
? itemsBeforeIndex - itemsAfterIndex
|
|
18
|
+
: 0;
|
|
19
|
+
return (React.createElement(Box, { padding: "0", background: themeValues.backgroundColor, margin: "0", boxShadow: "0px 0px 4px 0px rgb(110, 114, 126)", role: "region", "aria-label": "Payment step" },
|
|
20
|
+
React.createElement(Box, { srOnly: true, padding: "0" },
|
|
21
|
+
React.createElement(Text, null, "Current step: ".concat(tabs[highlightIndex]))),
|
|
22
|
+
React.createElement(Center, { maxWidth: "76.5rem" },
|
|
23
|
+
React.createElement(Reel, { padding: "0", childGap: "4.5rem", childWidth: "11rem", justifyContent: "space-evenly", disableScroll: true, useOrderedList: useOrderedList, useUnorderedList: useUnorderedList },
|
|
24
|
+
repeat(React.createElement(Box, null), boxesBefore),
|
|
25
|
+
tabs.map(function (t, i) { return (React.createElement(Box, { key: t, borderSize: "3px", borderColor: highlightIndex == i ? themeValues.textColor : "transparent", borderWidthOverride: "0 0 3px 0", extraStyles: "text-align: center; display: block;", as: "li", "aria-current": highlightIndex == i ? "step" : "" },
|
|
26
|
+
React.createElement(Text, { variant: "p", textAlign: "center", color: themeValues.textColor, weight: FONT_WEIGHT_SEMIBOLD, extraStyles: "display: block; white-space: nowrap;" }, t))); }),
|
|
27
|
+
repeat(React.createElement(Box, null), boxesAfter)))));
|
|
28
|
+
};
|
|
29
|
+
export default memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { text, boolean, object } from "@storybook/addon-knobs";
|
|
3
|
+
import HighlightTabRow from "./HighlightTabRow";
|
|
4
|
+
import page from "../../../../.storybook/page";
|
|
5
|
+
var groupId = "props";
|
|
6
|
+
export var highlightTabRow = function () { return (React.createElement(HighlightTabRow, { tabs: object("tabs", [
|
|
7
|
+
"Payment Amount",
|
|
8
|
+
"Payment Method",
|
|
9
|
+
"Customer Information",
|
|
10
|
+
"Payment Confirmation"
|
|
11
|
+
], groupId), highlightIndex: text("highlightIndex", "0", groupId), isMobile: boolean("isMobile", false, groupId) })); };
|
|
12
|
+
var story = page({
|
|
13
|
+
title: "Components|Molecules/HighlightTabRow",
|
|
14
|
+
Component: HighlightTabRow,
|
|
15
|
+
containerMax: "80rem"
|
|
16
|
+
});
|
|
17
|
+
export default story;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export { default as AddressForm } from "./address-form";
|
|
2
|
+
export { default as ChangePasswordForm } from "./change-password-form";
|
|
3
|
+
export { default as CollapsibleSection } from "./collapsible-section";
|
|
4
|
+
export { default as EditNameForm } from "./edit-name-form";
|
|
5
|
+
export { default as EditableList } from "./editable-list";
|
|
6
|
+
export * from "./editable-table";
|
|
7
|
+
export * from "./nav-menu";
|
|
8
|
+
export * from "./partial-amount-form";
|
|
9
|
+
export { default as EmailForm } from "./email-form";
|
|
10
|
+
export { default as ForgotPasswordForm } from "./forgot-password-form";
|
|
11
|
+
export { default as HighlightTabRow } from "./highlight-tab-row";
|
|
12
|
+
export { iconsMap as ObligationIcons } from "./obligation/icons";
|
|
13
|
+
export { default as InternalUserInfoForm } from "./internal-user-info-form";
|
|
14
|
+
export { default as LoginForm } from "./login-form";
|
|
15
|
+
export { default as Modal } from "./modal";
|
|
16
|
+
export { default as Module } from "./module";
|
|
17
|
+
export { default as Obligation } from "./obligation";
|
|
18
|
+
export { default as Pagination } from "./pagination";
|
|
19
|
+
export { default as PaymentButtonBar } from "./payment-button-bar";
|
|
20
|
+
export { default as PaymentDetails } from "./payment-details";
|
|
21
|
+
export { default as PaymentFormACH } from "./payment-form-ach";
|
|
22
|
+
export { default as PaymentFormCard } from "./payment-form-card";
|
|
23
|
+
export { default as PhoneForm } from "./phone-form";
|
|
24
|
+
export { default as RadioSection } from "./radio-section";
|
|
25
|
+
export { default as RegistrationForm } from "./registration-form";
|
|
26
|
+
export { default as ResetConfirmationForm } from "./reset-confirmation-form";
|
|
27
|
+
export { default as ResetPasswordForm } from "./reset-password-form";
|
|
28
|
+
export { default as ResetPasswordSuccess } from "./reset-password-success";
|
|
29
|
+
export { default as Tabs } from "./tabs";
|
|
30
|
+
export { default as TabSidebar } from "./tab-sidebar";
|
|
31
|
+
export { default as TermsAndConditions } from "./terms-and-conditions";
|
|
32
|
+
export { default as TermsAndConditionsModal } from "./terms-and-conditions-modal";
|
|
33
|
+
export { default as Timeout } from "./timeout";
|
|
34
|
+
export { default as WelcomeModule } from "./welcome-module";
|
|
35
|
+
export { default as WorkflowTile } from "./workflow-tile";
|
|
36
|
+
export { default as PeriscopeDashboardIframe } from "./periscope-dashboard-iframe";
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export { default as AddressForm } from "./address-form";
|
|
2
|
+
export { default as ChangePasswordForm } from "./change-password-form";
|
|
3
|
+
export { default as CollapsibleSection } from "./collapsible-section";
|
|
4
|
+
export { default as EditNameForm } from "./edit-name-form";
|
|
5
|
+
export { default as EditableList } from "./editable-list";
|
|
6
|
+
export * from "./editable-table";
|
|
7
|
+
export { default as EmailForm } from "./email-form";
|
|
8
|
+
export { default as ForgotPasswordForm } from "./forgot-password-form";
|
|
9
|
+
export { default as HighlightTabRow } from "./highlight-tab-row";
|
|
10
|
+
export { iconsMap as ObligationIcons } from "./obligation/icons";
|
|
11
|
+
export { default as InternalUserInfoForm } from "./internal-user-info-form";
|
|
12
|
+
export { default as LoginForm } from "./login-form";
|
|
13
|
+
export { default as Modal } from "./modal";
|
|
14
|
+
export { default as Module } from "./module";
|
|
15
|
+
export * from "./nav-menu";
|
|
16
|
+
export { default as Obligation } from "./obligation";
|
|
17
|
+
export * from "./partial-amount-form";
|
|
18
|
+
export { default as Pagination } from "./pagination";
|
|
19
|
+
export { default as PaymentButtonBar } from "./payment-button-bar";
|
|
20
|
+
export { default as PaymentDetails } from "./payment-details";
|
|
21
|
+
export { default as PaymentFormACH } from "./payment-form-ach";
|
|
22
|
+
export { default as PaymentFormCard } from "./payment-form-card";
|
|
23
|
+
export { default as PhoneForm } from "./phone-form";
|
|
24
|
+
export { default as RadioSection } from "./radio-section";
|
|
25
|
+
export { default as RegistrationForm } from "./registration-form";
|
|
26
|
+
export { default as ResetConfirmationForm } from "./reset-confirmation-form";
|
|
27
|
+
export { default as ResetPasswordForm } from "./reset-password-form";
|
|
28
|
+
export { default as ResetPasswordSuccess } from "./reset-password-success";
|
|
29
|
+
export { default as Tabs } from "./tabs";
|
|
30
|
+
export { default as TabSidebar } from "./tab-sidebar";
|
|
31
|
+
export { default as TermsAndConditions } from "./terms-and-conditions";
|
|
32
|
+
export { default as TermsAndConditionsModal } from "./terms-and-conditions-modal";
|
|
33
|
+
export { default as Timeout } from "./timeout";
|
|
34
|
+
export { default as WelcomeModule } from "./welcome-module";
|
|
35
|
+
export { default as WorkflowTile } from "./workflow-tile";
|
|
36
|
+
export { default as PeriscopeDashboardIframe } from "./periscope-dashboard-iframe";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export default InternalUserInfoForm;
|
|
2
|
+
declare function InternalUserInfoForm({ variant, fields, actions, clearOnDismount, showErrors, handleSubmit, closeForm, allAgencyOptions, selectedAgencies, allSelected, toggleSelectAllAgencies, selectAgency, roleOptions, clientOptions, namesDisabled, emailDisabled, roleDisabled, selectionDisabled, formType, openChangePasswordForm, firstName, lastName }: {
|
|
3
|
+
variant?: string | undefined;
|
|
4
|
+
fields: any;
|
|
5
|
+
actions: any;
|
|
6
|
+
clearOnDismount: any;
|
|
7
|
+
showErrors: any;
|
|
8
|
+
handleSubmit?: (() => void) | undefined;
|
|
9
|
+
closeForm: any;
|
|
10
|
+
allAgencyOptions: any;
|
|
11
|
+
selectedAgencies: any;
|
|
12
|
+
allSelected: any;
|
|
13
|
+
toggleSelectAllAgencies?: (() => void) | undefined;
|
|
14
|
+
selectAgency: any;
|
|
15
|
+
roleOptions: any;
|
|
16
|
+
clientOptions: any;
|
|
17
|
+
namesDisabled: any;
|
|
18
|
+
emailDisabled: any;
|
|
19
|
+
roleDisabled: any;
|
|
20
|
+
selectionDisabled: any;
|
|
21
|
+
formType: any;
|
|
22
|
+
openChangePasswordForm: any;
|
|
23
|
+
firstName: any;
|
|
24
|
+
lastName: any;
|
|
25
|
+
}): JSX.Element;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
var _a;
|
|
2
|
+
import React, { useEffect } from "react";
|
|
3
|
+
import { required, isProbablyEmail } from "redux-freeform";
|
|
4
|
+
import { Stack, Box, Cluster } from "../../atoms/layouts";
|
|
5
|
+
import ButtonWithAction from "../../atoms/button-with-action";
|
|
6
|
+
import Heading from "../../atoms/heading";
|
|
7
|
+
import Text from "../../atoms/text";
|
|
8
|
+
import { noop } from "../../../util/general";
|
|
9
|
+
import { FormInput, FormContainer, FormInputColumn } from "../../atoms/form-layouts";
|
|
10
|
+
import FormSelect from "../../atoms/form-select";
|
|
11
|
+
import SearchableSelect from "../../atoms/searchable-select";
|
|
12
|
+
import { GHOST_GREY } from "../../../constants/colors";
|
|
13
|
+
var RESEARCHER = "RESEARCHER";
|
|
14
|
+
var AGENCY_ADMIN = "AGENCY_ADMIN";
|
|
15
|
+
var CLIENT_ADMIN = "CLIENT_ADMIN";
|
|
16
|
+
var SUPERVISOR = "SUPERVISOR";
|
|
17
|
+
var CB_ADMIN = "CITYBASE_ADMIN";
|
|
18
|
+
var CREATE_CLIENT_ADMIN = "CREATE_CLIENT_ADMIN";
|
|
19
|
+
var PROFILE = "PROFILE";
|
|
20
|
+
var ADD = "ADD";
|
|
21
|
+
var EDIT = "EDIT";
|
|
22
|
+
var roleDescriptions = (_a = {},
|
|
23
|
+
_a[RESEARCHER] = "Researcher",
|
|
24
|
+
_a[AGENCY_ADMIN] = "Agency admin",
|
|
25
|
+
_a[CLIENT_ADMIN] = "Client admin",
|
|
26
|
+
_a[SUPERVISOR] = "Supervisor",
|
|
27
|
+
_a[CB_ADMIN] = "Citybase admin",
|
|
28
|
+
_a);
|
|
29
|
+
var InternalUserInfoForm = function (_a) {
|
|
30
|
+
var _b, _c, _d, _e, _f;
|
|
31
|
+
var _g = _a.variant, variant = _g === void 0 ? "default" : _g, fields = _a.fields, actions = _a.actions, clearOnDismount = _a.clearOnDismount, showErrors = _a.showErrors, _h = _a.handleSubmit, handleSubmit = _h === void 0 ? noop : _h, closeForm = _a.closeForm, allAgencyOptions = _a.allAgencyOptions, selectedAgencies = _a.selectedAgencies, allSelected = _a.allSelected, _j = _a.toggleSelectAllAgencies, toggleSelectAllAgencies = _j === void 0 ? noop : _j, selectAgency = _a.selectAgency, roleOptions = _a.roleOptions, clientOptions = _a.clientOptions, namesDisabled = _a.namesDisabled, emailDisabled = _a.emailDisabled, roleDisabled = _a.roleDisabled, selectionDisabled = _a.selectionDisabled, formType = _a.formType, openChangePasswordForm = _a.openChangePasswordForm, firstName = _a.firstName, lastName = _a.lastName;
|
|
32
|
+
useEffect(function () {
|
|
33
|
+
if (formType === CREATE_CLIENT_ADMIN) {
|
|
34
|
+
actions.fields.client.addValidator(required());
|
|
35
|
+
}
|
|
36
|
+
if (formType !== PROFILE) {
|
|
37
|
+
actions.fields.email.addValidator(required());
|
|
38
|
+
actions.fields.role.addValidator(required());
|
|
39
|
+
}
|
|
40
|
+
}, []);
|
|
41
|
+
if (clearOnDismount) {
|
|
42
|
+
useEffect(function () { return function () { return actions.form.clear(); }; }, []);
|
|
43
|
+
}
|
|
44
|
+
var clientErrorMessages = (_b = {},
|
|
45
|
+
_b[required.error] = "Client is required",
|
|
46
|
+
_b);
|
|
47
|
+
var firstNameErrorMessages = (_c = {},
|
|
48
|
+
_c[required.error] = "First name is required",
|
|
49
|
+
_c);
|
|
50
|
+
var lastNameErrorMessages = (_d = {},
|
|
51
|
+
_d[required.error] = "Last name is required",
|
|
52
|
+
_d);
|
|
53
|
+
var emailErrorMessages = (_e = {},
|
|
54
|
+
_e[isProbablyEmail.error] = "Invalid email address",
|
|
55
|
+
_e);
|
|
56
|
+
var roleErrorMessages = (_f = {},
|
|
57
|
+
_f[required.error] = "Role is required",
|
|
58
|
+
_f);
|
|
59
|
+
return (React.createElement(FormContainer, { variant: variant, role: "form", "aria-label": "user-info-form", extraStyles: "padding: 0;" },
|
|
60
|
+
formType === PROFILE && (React.createElement(Box, { padding: "1.5rem" },
|
|
61
|
+
React.createElement(Cluster, { justify: "flex-start", align: "center" },
|
|
62
|
+
React.createElement(Box, { padding: "1.25rem", borderRadius: "50%", background: "#CACED8" },
|
|
63
|
+
React.createElement(Heading, { variant: "h4", weight: "700" },
|
|
64
|
+
firstName.charAt(0).toUpperCase(),
|
|
65
|
+
lastName.charAt(0).toUpperCase())),
|
|
66
|
+
React.createElement(Text, { variant: "p", weight: "700", extraStyles: "padding-left: 1rem;" },
|
|
67
|
+
firstName,
|
|
68
|
+
" ",
|
|
69
|
+
lastName)))),
|
|
70
|
+
formType === CREATE_CLIENT_ADMIN && (React.createElement(Box, { padding: "1.5rem 1.5rem 0.5rem", borderColor: GHOST_GREY, borderSize: "1px", borderWidthOverride: "0 0 1px 0" },
|
|
71
|
+
React.createElement(FormInputColumn, null,
|
|
72
|
+
React.createElement(Heading, { variant: "h6", weight: "700", margin: "0 0 1rem" }, "Select Client"),
|
|
73
|
+
React.createElement(FormSelect, { labelTextWhenNoError: "Client", errorMessages: clientErrorMessages, options: clientOptions.map(function (client) { return ({
|
|
74
|
+
text: client,
|
|
75
|
+
value: client,
|
|
76
|
+
id: client
|
|
77
|
+
}); }), field: fields.client, fieldActions: actions.fields.client, showErrors: showErrors, onKeyDown: function (e) { return e.key === "Enter" && handleSubmit(e); } })))),
|
|
78
|
+
React.createElement(Box, { padding: formType === PROFILE ? "1.5rem 1.5rem 0" : "1.5rem 1.5rem 0.5rem", borderColor: GHOST_GREY, borderSize: "1px", borderWidthOverride: formType === PROFILE ? "1px 0 0" : "0 0 1px 0" },
|
|
79
|
+
React.createElement(FormInputColumn, null,
|
|
80
|
+
React.createElement(Heading, { variant: "h6", weight: "700", margin: "0 0 1rem" }, "Personal Information"),
|
|
81
|
+
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); }, disabled: namesDisabled, autocomplete: "given-name" }),
|
|
82
|
+
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); }, disabled: namesDisabled, autocomplete: "family-name" }),
|
|
83
|
+
React.createElement(FormInput, { labelTextWhenNoError: "Email", errorMessages: emailErrorMessages, field: fields.email, fieldActions: actions.fields.email, showErrors: showErrors, onKeyDown: function (e) { return e.key === "Enter" && handleSubmit(e); }, disabled: emailDisabled, autocomplete: "email" }),
|
|
84
|
+
formType === PROFILE && (React.createElement(FormInput, { labelTextWhenNoError: "Password", errorMessages: {}, field: { rawValue: "•••••••••••••" }, disabled: true, decorator: React.createElement(Text, { variant: "pS", color: "#15749D", onClick: openChangePasswordForm, extraStyles: "cursor: pointer;" }, "Change Password") })))),
|
|
85
|
+
React.createElement(Box, { padding: "1.5rem" },
|
|
86
|
+
formType !== PROFILE && (React.createElement(Box, { padding: "0 0 0.5rem" },
|
|
87
|
+
React.createElement(FormInputColumn, null,
|
|
88
|
+
React.createElement(Heading, { variant: "h6", weight: "700", margin: "0 0 1rem" }, "User Settings"),
|
|
89
|
+
React.createElement(FormSelect, { labelTextWhenNoError: "User Role", errorMessages: roleErrorMessages, options: roleOptions.map(function (role) { return ({
|
|
90
|
+
text: roleDescriptions[role],
|
|
91
|
+
value: role,
|
|
92
|
+
id: role
|
|
93
|
+
}); }), field: fields.role, fieldActions: actions.fields.role, showErrors: showErrors, onKeyDown: function (e) { return e.key === "Enter" && handleSubmit(e); }, disabled: roleDisabled })))),
|
|
94
|
+
(formType === ADD || formType === EDIT) && (React.createElement(Box, { padding: "0.5rem 0 1.5rem" },
|
|
95
|
+
React.createElement(FormInputColumn, null,
|
|
96
|
+
React.createElement(Text, { variant: "p" }, "Select which agencies the user can view"),
|
|
97
|
+
React.createElement(SearchableSelect, { actions: actions, fields: fields, items: allAgencyOptions, selectedItems: selectedAgencies, allSelected: allSelected, toggleSelectAllItems: toggleSelectAllAgencies, selectItem: selectAgency, disabled: selectionDisabled })))),
|
|
98
|
+
React.createElement(Box, { padding: "0" },
|
|
99
|
+
React.createElement(Stack, { childGap: "1rem", direction: "row", justify: "flex-end" },
|
|
100
|
+
React.createElement(ButtonWithAction, { text: "Cancel", action: function () {
|
|
101
|
+
if (formType !== CREATE_CLIENT_ADMIN) {
|
|
102
|
+
toggleSelectAllAgencies(false);
|
|
103
|
+
}
|
|
104
|
+
closeForm();
|
|
105
|
+
}, variant: "secondary", dataQa: "Cancel", extraStyles: "margin: 0rem; padding: 0.75rem 1.5rem; border-radius: 4px;" }),
|
|
106
|
+
React.createElement(ButtonWithAction, { text: "Save", action: handleSubmit, variant: "primary", dataQa: "Save", extraStyles: "margin: 0rem; padding: 0.75rem 1.5rem; border-radius: 4px;" }))))));
|
|
107
|
+
};
|
|
108
|
+
export default InternalUserInfoForm;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
var _a;
|
|
2
|
+
import { createFormState, required, isProbablyEmail } from "redux-freeform";
|
|
3
|
+
var formConfig = {
|
|
4
|
+
client: {
|
|
5
|
+
validators: []
|
|
6
|
+
},
|
|
7
|
+
firstName: {
|
|
8
|
+
validators: [required()]
|
|
9
|
+
},
|
|
10
|
+
lastName: {
|
|
11
|
+
validators: [required()]
|
|
12
|
+
},
|
|
13
|
+
email: {
|
|
14
|
+
validators: [isProbablyEmail()]
|
|
15
|
+
},
|
|
16
|
+
role: {
|
|
17
|
+
validators: []
|
|
18
|
+
},
|
|
19
|
+
searchTerm: {
|
|
20
|
+
validators: []
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
export var reducer = (_a = createFormState(formConfig), _a.reducer), mapStateToProps = _a.mapStateToProps, mapDispatchToProps = _a.mapDispatchToProps;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import InternalUserInfoForm from "./InternalUserInfoForm";
|
|
2
|
-
import {
|
|
3
|
-
reducer,
|
|
4
|
-
mapStateToProps,
|
|
5
|
-
mapDispatchToProps
|
|
6
|
-
} from "./InternalUserInfoForm.state";
|
|
7
|
-
|
|
2
|
+
import { reducer, mapStateToProps, mapDispatchToProps } from "./InternalUserInfoForm.state";
|
|
8
3
|
InternalUserInfoForm.reducer = reducer;
|
|
9
4
|
InternalUserInfoForm.mapStateToProps = mapStateToProps;
|
|
10
5
|
InternalUserInfoForm.mapDispatchToProps = mapDispatchToProps;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { useEffect } from "react";
|
|
2
|
+
import { required, isProbablyEmail } from "redux-freeform";
|
|
3
|
+
import { FormInput, FormInputColumn } from "../../atoms/form-layouts";
|
|
4
|
+
import { noop } from "../../../util/general";
|
|
5
|
+
var LoginForm = function (_a) {
|
|
6
|
+
var _b, _c;
|
|
7
|
+
var clearOnDismount = _a.clearOnDismount, fields = _a.fields, actions = _a.actions, showErrors = _a.showErrors, _d = _a.handleSubmit, handleSubmit = _d === void 0 ? noop : _d;
|
|
8
|
+
if (clearOnDismount) {
|
|
9
|
+
useEffect(function () { return function () { return actions.form.clear(); }; }, []);
|
|
10
|
+
}
|
|
11
|
+
var emailErrorMessages = (_b = {},
|
|
12
|
+
_b[required.error] = "Email address is required",
|
|
13
|
+
_b[isProbablyEmail.error] = "Invalid email address",
|
|
14
|
+
_b);
|
|
15
|
+
var passwordErrorMessages = (_c = {},
|
|
16
|
+
_c[required.error] = "Password is required",
|
|
17
|
+
_c);
|
|
18
|
+
return (React.createElement(FormInputColumn, { role: "form", "aria-label": "Login" },
|
|
19
|
+
React.createElement(FormInput, { labelTextWhenNoError: "Email address", errorMessages: emailErrorMessages, type: "email", field: fields.email, fieldActions: actions.fields.email, showErrors: showErrors, onKeyDown: function (e) { return e.key === "Enter" && handleSubmit(e); }, isEmail: true, autocomplete: "email" }),
|
|
20
|
+
React.createElement(FormInput, { labelTextWhenNoError: "Password", errorMessages: passwordErrorMessages, type: "password", field: fields.password, fieldActions: actions.fields.password, showErrors: showErrors, onKeyDown: function (e) { return e.key === "Enter" && handleSubmit(e); }, autocomplete: "current-password" })));
|
|
21
|
+
};
|
|
22
|
+
export default LoginForm;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
var _a;
|
|
2
|
+
import { createFormState, required, isProbablyEmail } from "redux-freeform";
|
|
3
|
+
var formConfig = {
|
|
4
|
+
email: {
|
|
5
|
+
validators: [required(), isProbablyEmail()]
|
|
6
|
+
},
|
|
7
|
+
password: {
|
|
8
|
+
validators: [required()]
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export var reducer = (_a = createFormState(formConfig), _a.reducer), mapStateToProps = _a.mapStateToProps, mapDispatchToProps = _a.mapDispatchToProps;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { connect } from "react-redux";
|
|
3
|
+
import { boolean } from "@storybook/addon-knobs";
|
|
4
|
+
import LoginForm from "./LoginForm";
|
|
5
|
+
import page from "../../../../.storybook/page";
|
|
6
|
+
import * as LoginFormState from "./LoginForm.state";
|
|
7
|
+
var story = page({
|
|
8
|
+
title: "Components|Molecules/LoginForm",
|
|
9
|
+
Component: LoginForm,
|
|
10
|
+
reducer: LoginFormState.reducer,
|
|
11
|
+
mapStateToProps: LoginFormState.mapStateToProps,
|
|
12
|
+
mapDispatchToProps: LoginFormState.mapDispatchToProps
|
|
13
|
+
});
|
|
14
|
+
export default story;
|
|
15
|
+
var ConnectedForm = connect(LoginFormState.mapStateToProps, LoginFormState.mapDispatchToProps)(LoginForm);
|
|
16
|
+
export var loginForm = function () { return (React.createElement(ConnectedForm, { showErrors: boolean("showErrors", false, "props") })); };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import LoginForm from "./LoginForm";
|
|
2
|
+
import { reducer, mapStateToProps, mapDispatchToProps } from "./LoginForm.state";
|
|
3
|
+
LoginForm.reducer = reducer;
|
|
4
|
+
LoginForm.mapStateToProps = mapStateToProps;
|
|
5
|
+
LoginForm.mapDispatchToProps = mapDispatchToProps;
|
|
6
|
+
export default LoginForm;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export default Modal;
|
|
2
|
+
declare function Modal({ hideModal, onExit, continueAction, isContinueActionDisabled, cancelAction, modalOpen, modalHeaderText, modalBodyText, cancelButtonText, continueButtonText, closeButtonText, modalHeaderBg, modalBodyBg, useDangerButton, defaultWrapper, onlyCloseButton, noButtons, maxHeight, underlayClickExits, noBorder, customWidth, isLoading, buttonExtraStyles, children }: {
|
|
3
|
+
hideModal: any;
|
|
4
|
+
onExit?: any;
|
|
5
|
+
continueAction: any;
|
|
6
|
+
isContinueActionDisabled?: boolean | undefined;
|
|
7
|
+
cancelAction: any;
|
|
8
|
+
modalOpen: any;
|
|
9
|
+
modalHeaderText: any;
|
|
10
|
+
modalBodyText: any;
|
|
11
|
+
cancelButtonText?: string | undefined;
|
|
12
|
+
continueButtonText?: string | undefined;
|
|
13
|
+
closeButtonText?: string | undefined;
|
|
14
|
+
modalHeaderBg?: string | undefined;
|
|
15
|
+
modalBodyBg?: string | undefined;
|
|
16
|
+
useDangerButton?: boolean | undefined;
|
|
17
|
+
defaultWrapper?: boolean | undefined;
|
|
18
|
+
onlyCloseButton?: boolean | undefined;
|
|
19
|
+
noButtons?: boolean | undefined;
|
|
20
|
+
maxHeight: any;
|
|
21
|
+
underlayClickExits?: boolean | undefined;
|
|
22
|
+
noBorder: any;
|
|
23
|
+
customWidth: any;
|
|
24
|
+
isLoading: any;
|
|
25
|
+
buttonExtraStyles: any;
|
|
26
|
+
children: any;
|
|
27
|
+
}): JSX.Element;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import React, { Fragment, useContext } from "react";
|
|
2
|
+
import { ThemeContext } from "styled-components";
|
|
3
|
+
import AriaModal from "react-aria-modal";
|
|
4
|
+
import { WHITE, ATHENS_GREY, SILVER_GREY } from "../../../constants/colors";
|
|
5
|
+
import { FONT_WEIGHT_SEMIBOLD } from "../../../constants/style_constants";
|
|
6
|
+
import Paragraph from "../../atoms/paragraph";
|
|
7
|
+
import Heading from "../../atoms/heading";
|
|
8
|
+
import ButtonWithAction from "../../atoms/button-with-action";
|
|
9
|
+
import { Box, Stack, Cluster } from "../../atoms/layouts";
|
|
10
|
+
/*
|
|
11
|
+
Default Modal molecule
|
|
12
|
+
Uses react-aria-modal behind the scenes for a11y purposes
|
|
13
|
+
Styling accomplished with our atoms / layout primitives
|
|
14
|
+
|
|
15
|
+
Cancel button will (for now) always use hideModal as its action
|
|
16
|
+
Continue button takes an action, if you want to navigate to
|
|
17
|
+
a different route (as with a link) connect() and use "push" from @thecb/connected-react-router
|
|
18
|
+
*/
|
|
19
|
+
var getApplicationNode = function () { return document.getElementById("root"); };
|
|
20
|
+
var Modal = function (_a) {
|
|
21
|
+
var hideModal = _a.hideModal, _b = _a.onExit, onExit = _b === void 0 ? hideModal : _b, continueAction = _a.continueAction, _c = _a.isContinueActionDisabled, isContinueActionDisabled = _c === void 0 ? false : _c, cancelAction = _a.cancelAction, modalOpen = _a.modalOpen, modalHeaderText = _a.modalHeaderText, modalBodyText = _a.modalBodyText, _d = _a.cancelButtonText, cancelButtonText = _d === void 0 ? "Cancel" : _d, _e = _a.continueButtonText, continueButtonText = _e === void 0 ? "Continue" : _e, _f = _a.closeButtonText, closeButtonText = _f === void 0 ? "Close" : _f, _g = _a.modalHeaderBg, modalHeaderBg = _g === void 0 ? WHITE : _g, _h = _a.modalBodyBg, modalBodyBg = _h === void 0 ? ATHENS_GREY : _h, _j = _a.useDangerButton, useDangerButton = _j === void 0 ? false : _j, _k = _a.defaultWrapper, defaultWrapper = _k === void 0 ? true : _k, _l = _a.onlyCloseButton, onlyCloseButton = _l === void 0 ? false : _l, _m = _a.noButtons, noButtons = _m === void 0 ? false : _m, // for instances where modal is closed automatically
|
|
22
|
+
maxHeight = _a.maxHeight, _o = _a.underlayClickExits, underlayClickExits = _o === void 0 ? true : _o, noBorder = _a.noBorder, customWidth = _a.customWidth, isLoading = _a.isLoading, buttonExtraStyles = _a.buttonExtraStyles, children = _a.children;
|
|
23
|
+
var isMobile = useContext(ThemeContext).isMobile;
|
|
24
|
+
return (React.createElement(Fragment, null,
|
|
25
|
+
modalOpen && (React.createElement(AriaModal, { onExit: onExit, getApplicationNode: getApplicationNode, titleText: modalHeaderText, underlayStyle: {
|
|
26
|
+
display: "flex",
|
|
27
|
+
flexDirection: "column",
|
|
28
|
+
justifyContent: "center",
|
|
29
|
+
alignItems: "center"
|
|
30
|
+
}, dialogStyle: {
|
|
31
|
+
width: customWidth || "615px"
|
|
32
|
+
}, underlayClickExits: underlayClickExits },
|
|
33
|
+
React.createElement(Box, { padding: "0", borderRadius: "2px", boxShadow: "inset 0px -2px 0px 0px rgb(0, 80, 149)" },
|
|
34
|
+
React.createElement(Box, { background: modalHeaderBg, padding: "1.5rem" },
|
|
35
|
+
React.createElement(Cluster, { justify: "flex-start", align: "center" },
|
|
36
|
+
React.createElement(Heading, { variant: "h6", weight: FONT_WEIGHT_SEMIBOLD }, modalHeaderText))),
|
|
37
|
+
React.createElement(Box, { background: modalBodyBg, padding: "1.5rem" },
|
|
38
|
+
React.createElement(Stack, { childGap: "1.5rem" },
|
|
39
|
+
React.createElement(Box, { borderWidthOverride: noBorder && "0 0 2px 0", borderColor: !noBorder && SILVER_GREY, padding: !noBorder && "0 0 1.5rem 0", extraStyles: maxHeight ? "max-height: ".concat(maxHeight, "; overflow: auto;") : "" }, defaultWrapper ? (React.createElement(Paragraph, { variant: "p" }, modalBodyText)) : (React.createElement(Box, { padding: maxHeight ? "0 0 1rem 0" : "0" }, modalBodyText))),
|
|
40
|
+
React.createElement(Box, { padding: "0" },
|
|
41
|
+
React.createElement(Stack, { direction: "row", justify: "flex-end", align: "center", childGap: "0rem" }, !noButtons && (React.createElement(React.Fragment, null, !onlyCloseButton ? (React.createElement(Fragment, null, isMobile ? (React.createElement(Stack, { childGap: "1rem", direction: "row" },
|
|
42
|
+
React.createElement(Box, { width: "100%", padding: "0" },
|
|
43
|
+
React.createElement(ButtonWithAction, { variant: "secondary", action: cancelAction ? cancelAction : hideModal, text: cancelButtonText, dataQa: cancelButtonText, extraStyles: buttonExtraStyles, className: "modal-cancel-button" })),
|
|
44
|
+
React.createElement(Box, { width: "100%", padding: "0" },
|
|
45
|
+
React.createElement(ButtonWithAction, { variant: useDangerButton ? "danger" : "primary", action: continueAction, text: continueButtonText, dataQa: continueButtonText, isLoading: isLoading, disabled: isContinueActionDisabled, extraStyles: buttonExtraStyles, className: "modal-continue-button" })))) : (React.createElement(Stack, { childGap: "1rem", direction: "row", justify: "flex-end" },
|
|
46
|
+
React.createElement(ButtonWithAction, { variant: "secondary", action: cancelAction ? cancelAction : hideModal, text: cancelButtonText, dataQa: cancelButtonText, extraStyles: buttonExtraStyles, className: "modal-cancel-button" }),
|
|
47
|
+
React.createElement(ButtonWithAction, { variant: useDangerButton ? "danger" : "primary", action: continueAction, text: continueButtonText, dataQa: continueButtonText, isLoading: isLoading, disabled: isContinueActionDisabled, extraStyles: buttonExtraStyles, className: "modal-continue-button" }))))) : (React.createElement(Box, { padding: "0.5rem" },
|
|
48
|
+
React.createElement(ButtonWithAction, { action: hideModal, variant: "primary", text: closeButtonText, dataQa: closeButtonText, extraStyles: buttonExtraStyles, className: "modal-close-button" })))))))))))),
|
|
49
|
+
children));
|
|
50
|
+
};
|
|
51
|
+
export default Modal;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export function modal(): JSX.Element;
|
|
2
|
+
export namespace modal {
|
|
3
|
+
const storyName: string;
|
|
4
|
+
}
|
|
5
|
+
export function modalWithoutButtons(): JSX.Element;
|
|
6
|
+
export namespace modalWithoutButtons {
|
|
7
|
+
const storyName_1: string;
|
|
8
|
+
export { storyName_1 as storyName };
|
|
9
|
+
}
|
|
10
|
+
export default story;
|
|
11
|
+
declare const story: {
|
|
12
|
+
title: any;
|
|
13
|
+
component: any;
|
|
14
|
+
decorators: ((storyFn: any) => JSX.Element)[];
|
|
15
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React, { useEffect, useState } from "react";
|
|
2
|
+
import { text, boolean } from "@storybook/addon-knobs";
|
|
3
|
+
import Modal from "./Modal";
|
|
4
|
+
import page from "../../../../.storybook/page";
|
|
5
|
+
import Text from "../../atoms/text";
|
|
6
|
+
import { noop } from "../../../util/general";
|
|
7
|
+
import Spinner from "../../atoms/spinner/Spinner";
|
|
8
|
+
import { Center } from "../../atoms/layouts";
|
|
9
|
+
var groupId = "props";
|
|
10
|
+
export var modal = function () { return (React.createElement(Modal, { ModalLink: function () { return (React.createElement(Text, { onClick: noop, color: "#347BB2", fontSize: "18px", lineHeight: "2rem", extraStyles: "cursor: pointer;" }, "Modal Link")); }, hideModal: noop, continueAction: noop, modalOpen: boolean("modalOpen", true, groupId), modalHeaderText: text("modalHeaderText", "Modal Header Text", groupId), modalBodyText: text("modalBodyText", "Modal Body Text", groupId), cancelButtonText: text("cancelButtonText", "Cancel", groupId), continueButtonText: text("continueButtonText", "Continue", groupId), modalHeaderBg: text("modalHeaderBg", "white", groupId), modalBodyBg: text("modalBodyBg", "#F6F6F9", groupId), useDangerButton: boolean("useDangerButton", false, groupId), defaultWrapper: boolean("defaultWrapper", true, groupId), onlyCloseButton: boolean("onlyCloseButton", false, groupId), maxHeight: text("maxHeight", null, groupId) })); };
|
|
11
|
+
modal.storyName = "Standard Modal";
|
|
12
|
+
export var modalWithoutButtons = function () {
|
|
13
|
+
var _a = useState(true), isModalOpen = _a[0], setIsModalOpen = _a[1];
|
|
14
|
+
useEffect(function () {
|
|
15
|
+
setTimeout(function () {
|
|
16
|
+
// some async action or timer closes the modal instead
|
|
17
|
+
setIsModalOpen(false);
|
|
18
|
+
}, 3000);
|
|
19
|
+
}, []);
|
|
20
|
+
return (React.createElement(Modal, { ModalLink: function () { return (React.createElement(Text, { tabIndex: 0, onClick: noop, color: "#347BB2", fontSize: "18px", lineHeight: "2rem", extraStyles: "cursor: pointer;" }, "Modal Link")); }, hideModal: noop, continueAction: noop, modalOpen: isModalOpen, modalHeaderText: text("modalHeaderText", "Modal Without Buttons", groupId), modalBodyText: React.createElement(Center, { tabIndex: 0 },
|
|
21
|
+
React.createElement(Spinner, { size: "100" })), modalHeaderBg: text("modalHeaderBg", "white", groupId), modalBodyBg: text("modalBodyBg", "#F6F6F9", groupId), defaultWrapper: boolean("defaultWrapper", true, groupId), noButtons: boolean("noButtons", true, groupId), maxHeight: text("maxHeight", null, groupId) }));
|
|
22
|
+
};
|
|
23
|
+
modalWithoutButtons.storyName = "Modal Without Buttons";
|
|
24
|
+
var story = page({
|
|
25
|
+
title: "Components|Molecules/Modal",
|
|
26
|
+
Component: Modal
|
|
27
|
+
});
|
|
28
|
+
export default story;
|