@thecb/components 12.0.3-beta.0 → 12.0.3

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": "12.0.3-beta.0",
3
+ "version": "12.0.3",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -111,7 +111,7 @@ const LinkCard = ({
111
111
  return (
112
112
  <InternalLink
113
113
  key={`link-card-${locatorSlug}`}
114
- to={disabled ? "" : href}
114
+ to={disabled ? undefined : href}
115
115
  isUnderlined={false}
116
116
  hoverUnderline={false}
117
117
  tabIndex={disabled ? "-1" : "0"}
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  CORNFLOWER_BLUE,
3
3
  LINK_WATER,
4
- MANATEE_GREY,
4
+ MOON_RAKER,
5
5
  ROYAL_BLUE_VIVID,
6
+ MANATEE_GREY,
6
7
  GHOST_GREY,
7
8
  TRANSPARENT,
8
9
  BRIGHT_GREY
@@ -13,7 +14,7 @@ const disabledBorderColor = GHOST_GREY;
13
14
  const disabledColor = MANATEE_GREY;
14
15
  const activeBackgroundColor = CORNFLOWER_BLUE;
15
16
  const backgroundColor = LINK_WATER;
16
- const borderColor = MANATEE_GREY;
17
+ const borderColor = MOON_RAKER;
17
18
  const color = ROYAL_BLUE_VIVID;
18
19
  const textColor = BRIGHT_GREY;
19
20
 
@@ -57,7 +57,7 @@ const NavMenuMobile = ({
57
57
  width="100%"
58
58
  maxWidth="400px"
59
59
  padding="1rem 0.5rem"
60
- extraStyles={`position: relative; max-width: 400px; height: calc(100vh - 72px);`}
60
+ extraStyles={`position: relative; max-width: 400px; height: calc(100vh - 72px); overflow-y: auto;`}
61
61
  background={themeValues.backgroundColor}
62
62
  >
63
63
  {menuContent}