@thecb/components 5.6.4 → 5.6.5-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/dist/index.cjs.js
CHANGED
|
@@ -41222,7 +41222,8 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
41222
41222
|
acceptText = _ref.acceptText,
|
|
41223
41223
|
terms = _ref.terms,
|
|
41224
41224
|
variant = _ref.variant,
|
|
41225
|
-
themeValues = _ref.themeValues
|
|
41225
|
+
themeValues = _ref.themeValues,
|
|
41226
|
+
linkColorOverride = _ref.linkColorOverride;
|
|
41226
41227
|
return /*#__PURE__*/React__default.createElement(Modal$1, {
|
|
41227
41228
|
modalOpen: isOpen,
|
|
41228
41229
|
hideModal: function hideModal() {
|
|
@@ -41256,7 +41257,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
41256
41257
|
return e.key === "Enter" && toggleOpen(true);
|
|
41257
41258
|
},
|
|
41258
41259
|
tabIndex: "0",
|
|
41259
|
-
color: themeValues.linkColor,
|
|
41260
|
+
color: linkColorOverride || themeValues.linkColor,
|
|
41260
41261
|
weight: themeValues.fontWeight,
|
|
41261
41262
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
41262
41263
|
extraStyles: "display: inline-block; width: fit-content;"
|