@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.esm.js
CHANGED
|
@@ -41108,13 +41108,10 @@ var fontWeight$8 = {
|
|
|
41108
41108
|
"default": FONT_WEIGHT_REGULAR,
|
|
41109
41109
|
footer: FONT_WEIGHT_SEMIBOLD
|
|
41110
41110
|
};
|
|
41111
|
+
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";
|
|
41111
41112
|
var modalLinkHoverFocus$2 = {
|
|
41112
|
-
"default":
|
|
41113
|
-
footer:
|
|
41114
|
-
};
|
|
41115
|
-
var accessibilityColor = {
|
|
41116
|
-
"default": "#3181E3",
|
|
41117
|
-
footer: "#3181E3"
|
|
41113
|
+
"default": standardInteractionStyles,
|
|
41114
|
+
footer: standardInteractionStyles
|
|
41118
41115
|
};
|
|
41119
41116
|
var fallbackValues$F = {
|
|
41120
41117
|
backgroundColor: backgroundColor$9,
|
|
@@ -41123,8 +41120,7 @@ var fallbackValues$F = {
|
|
|
41123
41120
|
fontSize: fontSize$c,
|
|
41124
41121
|
lineHeight: lineHeight$6,
|
|
41125
41122
|
fontWeight: fontWeight$8,
|
|
41126
|
-
modalLinkHoverFocus: modalLinkHoverFocus$2
|
|
41127
|
-
accessibilityColor: accessibilityColor
|
|
41123
|
+
modalLinkHoverFocus: modalLinkHoverFocus$2
|
|
41128
41124
|
};
|
|
41129
41125
|
|
|
41130
41126
|
var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
@@ -41174,7 +41170,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
41174
41170
|
color: themeValues.linkColor,
|
|
41175
41171
|
weight: themeValues.fontWeight,
|
|
41176
41172
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
41177
|
-
extraStyles: "
|
|
41173
|
+
extraStyles: "display: inline-block; width: fit-content;"
|
|
41178
41174
|
}, link));
|
|
41179
41175
|
};
|
|
41180
41176
|
|