@thecb/components 5.2.3 → 5.3.4

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
@@ -41116,13 +41116,10 @@ var fontWeight$8 = {
41116
41116
  "default": FONT_WEIGHT_REGULAR,
41117
41117
  footer: FONT_WEIGHT_SEMIBOLD
41118
41118
  };
41119
+ var standardInteractionStyles = "\n &:hover {\n outline: none; \n text-decoration: underline;\n }\n &:focus {\n outline: 3px solid #3181E3;\n outline-offset: 2px;\n }\n";
41119
41120
  var modalLinkHoverFocus$2 = {
41120
- "default": "outline: none; text-decoration: underline;",
41121
- footer: "outline: none; text-decoration: underline;"
41122
- };
41123
- var accessibilityColor = {
41124
- "default": "#3181E3",
41125
- footer: "#3181E3"
41121
+ "default": standardInteractionStyles,
41122
+ footer: standardInteractionStyles
41126
41123
  };
41127
41124
  var fallbackValues$F = {
41128
41125
  backgroundColor: backgroundColor$9,
@@ -41131,8 +41128,7 @@ var fallbackValues$F = {
41131
41128
  fontSize: fontSize$c,
41132
41129
  lineHeight: lineHeight$6,
41133
41130
  fontWeight: fontWeight$8,
41134
- modalLinkHoverFocus: modalLinkHoverFocus$2,
41135
- accessibilityColor: accessibilityColor
41131
+ modalLinkHoverFocus: modalLinkHoverFocus$2
41136
41132
  };
41137
41133
 
41138
41134
  var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
@@ -41182,7 +41178,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
41182
41178
  color: themeValues.linkColor,
41183
41179
  weight: themeValues.fontWeight,
41184
41180
  hoverStyles: themeValues.modalLinkHoverFocus,
41185
- extraStyles: "cursor: pointer; \n &:focus { \n outline: 3px solid ".concat(themeValues.accessibilityColor, "; \n outline-offset: 2px; \n }")
41181
+ extraStyles: "display: inline-block; width: fit-content;"
41186
41182
  }, link));
41187
41183
  };
41188
41184