@thecb/components 10.2.1-beta.4 → 10.2.1-beta.6
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 +9 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +9 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/form-layouts/FormInput.js +1 -1
- package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.js +2 -1
- package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.theme.js +10 -2
package/dist/index.esm.js
CHANGED
|
@@ -26590,7 +26590,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26590
26590
|
color: themeValues.linkColor,
|
|
26591
26591
|
weight: themeValues.fontWeight,
|
|
26592
26592
|
hoverStyles: themeValues.hoverFocusStyles,
|
|
26593
|
-
extraStyles: "cursor: pointer; &:focus { outline-offset: -2px; }",
|
|
26593
|
+
extraStyles: "text-decoration: underline; cursor: pointer; &:focus { outline-offset: -2px; }",
|
|
26594
26594
|
onClick: function onClick() {
|
|
26595
26595
|
return setShowPassword(!showPassword);
|
|
26596
26596
|
},
|
|
@@ -48063,6 +48063,10 @@ var modalLinkHoverFocus$2 = {
|
|
|
48063
48063
|
"default": standardInteractionStyles,
|
|
48064
48064
|
footer: standardInteractionStyles
|
|
48065
48065
|
};
|
|
48066
|
+
var modalLinkTextDecoration = {
|
|
48067
|
+
"default": LINK_TEXT_DECORATION,
|
|
48068
|
+
footer: "none"
|
|
48069
|
+
};
|
|
48066
48070
|
var fallbackValues$P = {
|
|
48067
48071
|
backgroundColor: backgroundColor$d,
|
|
48068
48072
|
linkColor: linkColor$6,
|
|
@@ -48070,7 +48074,8 @@ var fallbackValues$P = {
|
|
|
48070
48074
|
fontSize: fontSize$b,
|
|
48071
48075
|
lineHeight: lineHeight$5,
|
|
48072
48076
|
fontWeight: fontWeight$8,
|
|
48073
|
-
modalLinkHoverFocus: modalLinkHoverFocus$2
|
|
48077
|
+
modalLinkHoverFocus: modalLinkHoverFocus$2,
|
|
48078
|
+
modalLinkTextDecoration: modalLinkTextDecoration
|
|
48074
48079
|
};
|
|
48075
48080
|
|
|
48076
48081
|
var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
@@ -48127,7 +48132,8 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
48127
48132
|
color: themeValues.linkColor,
|
|
48128
48133
|
weight: themeValues.fontWeight,
|
|
48129
48134
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
48130
|
-
|
|
48135
|
+
textDecoration: themeValues.modalLinkTextDecoration,
|
|
48136
|
+
extraStyles: "display: inline-block; width: fit-content; cursor: pointer",
|
|
48131
48137
|
role: "button" // This should always be a "button" since it opens a modal
|
|
48132
48138
|
,
|
|
48133
48139
|
className: "modal-trigger"
|