@thecb/components 5.8.2-beta.7 → 5.9.0-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.2-beta.7",
3
+ "version": "5.9.0-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",
@@ -35,11 +35,12 @@ export const BoxWrapper = styled(
35
35
  position: relative;
36
36
  box-sizing: border-box;
37
37
  padding: ${({ padding }) => padding};
38
- border: ${({ border }) => border};
38
+ border: ${({ border, borderSize, borderColor }) =>
39
+ border ? border : `${borderSize} solid ${borderColor}`};
39
40
  box-shadow: ${({ boxShadow }) => boxShadow};
40
41
  background-color: ${({ background }) => background};
41
42
  min-height: ${({ minHeight }) => (minHeight ? minHeight : "auto")};
42
- width: ${({ width }) => width}
43
+ ${({ width }) => width && `width: ${width};`}
43
44
  min-width: ${({ minWidth }) => (minWidth ? minWidth : "auto")};
44
45
  max-width: ${({ maxWidth }) => (maxWidth ? maxWidth : "auto")};
45
46
  color: ${({ color }) => color};
@@ -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={autopayEnabled ? `8px` : "0"} nowrap>
28
+ <Cluster childGap={autoPayEnabled ? `8px` : "0"} nowrap>
29
29
  {autoPayEnabled && (
30
30
  <Box padding="0" extraStyles={`flex-grow: 1;`}>
31
31
  <AutopayModalModule
@@ -4,7 +4,8 @@ import {
4
4
  BRIGHT_GREY,
5
5
  GHOST_GREY,
6
6
  ATHENS_GREY,
7
- TRANSPARENT
7
+ TRANSPARENT,
8
+ COOL_GREY_05
8
9
  } from "../../../constants/colors";
9
10
  import Text from "../../atoms/text";
10
11
  import { InternalLink } from "../../atoms/link";
@@ -18,7 +19,7 @@ import { fallbackValues } from "./TabSidebar.theme";
18
19
  const TabSidebar = ({ links, isMobile, themeValues }) => (
19
20
  <Box
20
21
  padding="0"
21
- background={ATHENS_GREY}
22
+ background={COOL_GREY_05}
22
23
  minHeight="100%"
23
24
  role="region"
24
25
  aria-label="Profile tabs"