@thecb/components 5.6.5-beta.0 → 5.6.5

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.6.5-beta.0",
3
+ "version": "5.6.5",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -85,6 +85,6 @@
85
85
  "ramda": "^0.27.0",
86
86
  "react-aria-modal": "^4.0.0",
87
87
  "react-pose": "^4.0.10",
88
- "redux-freeform": "^5.2.0"
88
+ "redux-freeform": "^5.3.0"
89
89
  }
90
90
  }
@@ -14,8 +14,7 @@ const TermsAndConditionsModal = ({
14
14
  acceptText,
15
15
  terms,
16
16
  variant,
17
- themeValues,
18
- linkColorOverride
17
+ themeValues
19
18
  }) => (
20
19
  <Modal
21
20
  modalOpen={isOpen}
@@ -45,7 +44,7 @@ const TermsAndConditionsModal = ({
45
44
  onClick={() => toggleOpen(true)}
46
45
  onKeyPress={e => e.key === "Enter" && toggleOpen(true)}
47
46
  tabIndex="0"
48
- color={linkColorOverride || themeValues.linkColor}
47
+ color={themeValues.linkColor}
49
48
  weight={themeValues.fontWeight}
50
49
  hoverStyles={themeValues.modalLinkHoverFocus}
51
50
  extraStyles={`display: inline-block; width: fit-content;`}