@thecb/components 5.8.1-beta.5 → 5.8.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +10 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +10 -10
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/obligation/Obligation.js +4 -4
- package/src/components/molecules/obligation/modules/AutopayModalModule.js +3 -2
- package/src/components/molecules/obligation/modules/InactiveControlsModule.js +4 -2
package/package.json
CHANGED
|
@@ -51,7 +51,7 @@ const Obligation = ({
|
|
|
51
51
|
aria-label={`${firstObligation?.description ??
|
|
52
52
|
"account"} ${firstObligation?.subDescription ?? obligationAssocID}`}
|
|
53
53
|
>
|
|
54
|
-
<Box background={WHITE}>
|
|
54
|
+
<Box background={WHITE} padding="24px 16px">
|
|
55
55
|
<Stack childGap="14px">
|
|
56
56
|
<Box
|
|
57
57
|
key={`${firstObligation?.id}-top`}
|
|
@@ -148,13 +148,13 @@ const Obligation = ({
|
|
|
148
148
|
as="section"
|
|
149
149
|
aria-label={`${inactiveLookupTitle} ${inactiveLookupInput}: ${inactiveLookupValue}`}
|
|
150
150
|
>
|
|
151
|
-
<Box background={ATHENS_GREY}>
|
|
151
|
+
<Box background={ATHENS_GREY} padding="24px">
|
|
152
152
|
<Stack childGap="14px">
|
|
153
|
-
<Box key={`${obligationAssocID}-top`} padding="0
|
|
153
|
+
<Box key={`${obligationAssocID}-top`} padding="0" minWidth="100%">
|
|
154
154
|
<Cluster
|
|
155
155
|
justify="space-between"
|
|
156
156
|
align="center"
|
|
157
|
-
childGap="
|
|
157
|
+
childGap="40px"
|
|
158
158
|
nowrap
|
|
159
159
|
>
|
|
160
160
|
<Box padding="0">
|
|
@@ -74,7 +74,9 @@ const AutopayModal = ({
|
|
|
74
74
|
toggleModal(true);
|
|
75
75
|
}}
|
|
76
76
|
dataQa="Turn off Autopay"
|
|
77
|
-
extraStyles={
|
|
77
|
+
extraStyles={
|
|
78
|
+
isMobile ? `flex-grow: 1; width: 100%;` : `margin: 0px`
|
|
79
|
+
}
|
|
78
80
|
/>
|
|
79
81
|
);
|
|
80
82
|
}
|
|
@@ -110,7 +112,6 @@ const AutopayModal = ({
|
|
|
110
112
|
variant="pS"
|
|
111
113
|
onClick={() => toggleModal(true)}
|
|
112
114
|
onKeyPress={e => {
|
|
113
|
-
console.log({ e });
|
|
114
115
|
e.key === "Enter" && toggleModal(true);
|
|
115
116
|
}}
|
|
116
117
|
tabIndex="0"
|
|
@@ -25,7 +25,7 @@ const InactiveControlsModule = ({
|
|
|
25
25
|
border={isMobile ? `1px solid ${GHOST_GREY}` : `0px`}
|
|
26
26
|
borderWidthOverride={isMobile ? `1px 0 0 0` : `0px`}
|
|
27
27
|
>
|
|
28
|
-
<Cluster childGap={isMobile ? `8px` : `
|
|
28
|
+
<Cluster childGap={isMobile ? `8px` : `16px`} nowrap>
|
|
29
29
|
{autoPayEnabled && (
|
|
30
30
|
<Box padding="0" extraStyles={`flex-grow: 1;`}>
|
|
31
31
|
<AutopayModalModule
|
|
@@ -50,7 +50,9 @@ const InactiveControlsModule = ({
|
|
|
50
50
|
text="Remove"
|
|
51
51
|
action={handleRemoveAccount}
|
|
52
52
|
dataQa="Remove Account"
|
|
53
|
-
extraStyles={
|
|
53
|
+
extraStyles={
|
|
54
|
+
isMobile ? `flex-grow: 1; width: 100%;` : `margin: 0px;`
|
|
55
|
+
}
|
|
54
56
|
/>
|
|
55
57
|
</Box>
|
|
56
58
|
</Cluster>
|