@thecb/components 5.8.1-beta.6 → 5.8.2-beta.1
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 +5 -8
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -8
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/obligation/Obligation.js +3 -3
- package/src/components/molecules/obligation/modules/AutopayModalModule.js +31 -30
package/package.json
CHANGED
|
@@ -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">
|
|
@@ -94,38 +94,39 @@ const AutopayModal = ({
|
|
|
94
94
|
);
|
|
95
95
|
}
|
|
96
96
|
case "link": {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
<Cluster
|
|
107
|
-
justify={isMobile ? "flex-start" : "flex-end"}
|
|
108
|
-
align="center"
|
|
97
|
+
return (
|
|
98
|
+
<Box
|
|
99
|
+
padding="0"
|
|
100
|
+
onClick={() => {
|
|
101
|
+
toggleModal(true);
|
|
102
|
+
}}
|
|
103
|
+
hoverStyles={hoverStyles}
|
|
104
|
+
activeStyles={activeStyles}
|
|
105
|
+
extraStyles={defaultStyles}
|
|
109
106
|
>
|
|
110
|
-
<
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
onClick={() => toggleModal(true)}
|
|
114
|
-
onKeyPress={e => {
|
|
115
|
-
console.log({ e });
|
|
116
|
-
e.key === "Enter" && toggleModal(true);
|
|
117
|
-
}}
|
|
118
|
-
tabIndex="0"
|
|
119
|
-
dataQa={`${planType} On`}
|
|
120
|
-
color={SEA_GREEN}
|
|
121
|
-
weight={themeValues.fontWeight}
|
|
122
|
-
hoverStyles={themeValues.modalLinkHoverFocus}
|
|
123
|
-
extraStyles={`padding-left: 0.25rem;`}
|
|
107
|
+
<Cluster
|
|
108
|
+
justify={isMobile ? "flex-start" : "flex-end"}
|
|
109
|
+
align="center"
|
|
124
110
|
>
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
111
|
+
<AutopayOnIcon />
|
|
112
|
+
<Text
|
|
113
|
+
variant="pS"
|
|
114
|
+
onClick={() => toggleModal(true)}
|
|
115
|
+
onKeyPress={e => {
|
|
116
|
+
e.key === "Enter" && toggleModal(true);
|
|
117
|
+
}}
|
|
118
|
+
tabIndex="0"
|
|
119
|
+
dataQa={`${planType} On`}
|
|
120
|
+
color={SEA_GREEN}
|
|
121
|
+
weight={themeValues.fontWeight}
|
|
122
|
+
hoverStyles={themeValues.modalLinkHoverFocus}
|
|
123
|
+
extraStyles={`padding-left: 0.25rem;`}
|
|
124
|
+
>
|
|
125
|
+
{`${planType} ${nextAutopayDate}`}
|
|
126
|
+
</Text>
|
|
127
|
+
</Cluster>
|
|
128
|
+
</Box>
|
|
129
|
+
);
|
|
129
130
|
}
|
|
130
131
|
}
|
|
131
132
|
};
|