@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "5.8.1-beta.5",
3
+ "version": "5.8.2-beta.0",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -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 8px" minWidth="100%">
153
+ <Box key={`${obligationAssocID}-top`} padding="0" minWidth="100%">
154
154
  <Cluster
155
155
  justify="space-between"
156
156
  align="center"
157
- childGap="4px"
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={isMobile && `flex-grow: 1; width: 100%;`}
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` : `18px`}>
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={isMobile && `flex-grow: 1; width: 100%;`}
53
+ extraStyles={
54
+ isMobile ? `flex-grow: 1; width: 100%;` : `margin: 0px;`
55
+ }
54
56
  />
55
57
  </Box>
56
58
  </Cluster>