@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 +5 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -9
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.js +1 -5
- package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.theme.js +13 -5
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":
|
|
41121
|
-
footer:
|
|
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: "
|
|
41181
|
+
extraStyles: "display: inline-block; width: fit-content;"
|
|
41186
41182
|
}, link));
|
|
41187
41183
|
};
|
|
41188
41184
|
|