@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.esm.js
CHANGED
|
@@ -41214,7 +41214,8 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
41214
41214
|
acceptText = _ref.acceptText,
|
|
41215
41215
|
terms = _ref.terms,
|
|
41216
41216
|
variant = _ref.variant,
|
|
41217
|
-
themeValues = _ref.themeValues
|
|
41217
|
+
themeValues = _ref.themeValues,
|
|
41218
|
+
linkColorOverride = _ref.linkColorOverride;
|
|
41218
41219
|
return /*#__PURE__*/React.createElement(Modal$1, {
|
|
41219
41220
|
modalOpen: isOpen,
|
|
41220
41221
|
hideModal: function hideModal() {
|
|
@@ -41248,7 +41249,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
41248
41249
|
return e.key === "Enter" && toggleOpen(true);
|
|
41249
41250
|
},
|
|
41250
41251
|
tabIndex: "0",
|
|
41251
|
-
color: themeValues.linkColor,
|
|
41252
|
+
color: linkColorOverride || themeValues.linkColor,
|
|
41252
41253
|
weight: themeValues.fontWeight,
|
|
41253
41254
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
41254
41255
|
extraStyles: "display: inline-block; width: fit-content;"
|