@thecb/components 5.6.1 → 5.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +9 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +9 -7
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/index.js +1 -1
- package/src/components/atoms/layouts/Sidebar.js +1 -1
- package/src/components/atoms/layouts/Sidebar.styled.js +2 -2
- package/src/components/atoms/{card → welcome-card}/Card.js +4 -1
- package/src/components/atoms/{card → welcome-card}/Card.theme.js +0 -0
- package/src/components/atoms/{card → welcome-card}/index.js +0 -0
- package/src/components/molecules/payment-form-ach/PaymentFormACH.js +2 -2
- package/src/components/molecules/workflow-tile/WorkflowTile.js +1 -0
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ export { default as BoxWithShadow } from "./box-with-shadow";
|
|
|
5
5
|
export { default as Breadcrumb } from "./breadcrumb";
|
|
6
6
|
export { default as ButtonWithAction } from "./button-with-action";
|
|
7
7
|
export { default as ButtonWithLink } from "./button-with-link";
|
|
8
|
-
export { default as cardRegistry } from "./card";
|
|
8
|
+
export { default as cardRegistry } from "./welcome-card";
|
|
9
9
|
export { default as Checkbox } from "./checkbox";
|
|
10
10
|
export { default as CheckboxList } from "./checkbox-list";
|
|
11
11
|
export { default as CountryDropdown } from "./country-dropdown";
|
|
@@ -26,8 +26,8 @@ export const SidebarInnerWrapper = styled(
|
|
|
26
26
|
${({ minHeight }) => (minHeight ? `margin-top: 0; margin-bottom: 0;` : ``)}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
${({ sidebarOnRight, contentMinWidth, childGap }) =>
|
|
30
|
-
sidebarOnRight
|
|
29
|
+
${({ $sidebarOnRight, contentMinWidth, childGap }) =>
|
|
30
|
+
$sidebarOnRight
|
|
31
31
|
? `> :first-child {
|
|
32
32
|
flex-basis: 0;
|
|
33
33
|
flex-grow: 999;
|
|
@@ -105,7 +105,10 @@ const Card = ({
|
|
|
105
105
|
</Box>
|
|
106
106
|
</Cover>
|
|
107
107
|
</Box>
|
|
108
|
-
<Box
|
|
108
|
+
<Box
|
|
109
|
+
padding="0.5rem 1rem 1rem"
|
|
110
|
+
extraStyles={`display: flex; justify-content: center;`}
|
|
111
|
+
>
|
|
109
112
|
<ButtonWithAction
|
|
110
113
|
variant="smallPrimary"
|
|
111
114
|
text={buttonText}
|
|
File without changes
|
|
File without changes
|
|
@@ -64,7 +64,7 @@ const PaymentFormACH = ({
|
|
|
64
64
|
<FormContainer variant={variant} role="form" aria-label="ACH Payment">
|
|
65
65
|
<FormInputColumn>
|
|
66
66
|
<FormInput
|
|
67
|
-
labelTextWhenNoError="Name on
|
|
67
|
+
labelTextWhenNoError="Name on checking account"
|
|
68
68
|
errorMessages={nameErrors}
|
|
69
69
|
field={fields.name}
|
|
70
70
|
fieldActions={actions.fields.name}
|
|
@@ -155,7 +155,7 @@ const PaymentFormACH = ({
|
|
|
155
155
|
{showWalletCheckbox && (
|
|
156
156
|
<Checkbox
|
|
157
157
|
name="bank checkbox"
|
|
158
|
-
title="Save
|
|
158
|
+
title="Save checking account to wallet"
|
|
159
159
|
checked={walletCheckboxMarked}
|
|
160
160
|
onChange={saveToWallet}
|
|
161
161
|
/>
|