@thecb/components 5.6.2 → 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.cjs.js +8 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +8 -7
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/layouts/Sidebar.js +1 -1
- package/src/components/atoms/layouts/Sidebar.styled.js +2 -2
- package/src/components/molecules/payment-form-ach/PaymentFormACH.js +2 -2
- package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.js +3 -2
package/dist/index.cjs.js
CHANGED
|
@@ -6575,10 +6575,10 @@ function (_ref2) {
|
|
|
6575
6575
|
var minHeight = _ref6.minHeight;
|
|
6576
6576
|
return minHeight ? "margin-top: 0; margin-bottom: 0;" : "";
|
|
6577
6577
|
}, function (_ref7) {
|
|
6578
|
-
var sidebarOnRight = _ref7
|
|
6578
|
+
var $sidebarOnRight = _ref7.$sidebarOnRight,
|
|
6579
6579
|
contentMinWidth = _ref7.contentMinWidth,
|
|
6580
6580
|
childGap = _ref7.childGap;
|
|
6581
|
-
return sidebarOnRight ? "> :first-child {\n flex-basis: 0;\n flex-grow: 999;\n min-width: calc(".concat(contentMinWidth, " - ").concat(childGap, ");\n }\n ") : "> :last-child {\n flex-basis: 0;\n flex-grow: 999;\n min-width: calc(".concat(contentMinWidth, " - ").concat(childGap, ");\n }");
|
|
6581
|
+
return $sidebarOnRight ? "> :first-child {\n flex-basis: 0;\n flex-grow: 999;\n min-width: calc(".concat(contentMinWidth, " - ").concat(childGap, ");\n }\n ") : "> :last-child {\n flex-basis: 0;\n flex-grow: 999;\n min-width: calc(".concat(contentMinWidth, " - ").concat(childGap, ");\n }");
|
|
6582
6582
|
}, function (_ref8) {
|
|
6583
6583
|
var fullHeight = _ref8.fullHeight;
|
|
6584
6584
|
return fullHeight ? "min-height: 100%;" : "";
|
|
@@ -6618,7 +6618,7 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
6618
6618
|
}, rest), /*#__PURE__*/React__default.createElement(SidebarInnerWrapper, {
|
|
6619
6619
|
childGap: childGap,
|
|
6620
6620
|
width: width,
|
|
6621
|
-
sidebarOnRight: sidebarOnRight,
|
|
6621
|
+
$sidebarOnRight: sidebarOnRight,
|
|
6622
6622
|
contentMinWidth: contentMinWidth,
|
|
6623
6623
|
fullHeight: fullHeight,
|
|
6624
6624
|
minHeight: minHeight
|
|
@@ -40156,7 +40156,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
40156
40156
|
role: "form",
|
|
40157
40157
|
"aria-label": "ACH Payment"
|
|
40158
40158
|
}, /*#__PURE__*/React__default.createElement(FormInputColumn, null, /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
40159
|
-
labelTextWhenNoError: "Name on
|
|
40159
|
+
labelTextWhenNoError: "Name on checking account",
|
|
40160
40160
|
errorMessages: nameErrors,
|
|
40161
40161
|
field: fields.name,
|
|
40162
40162
|
fieldActions: actions.fields.name,
|
|
@@ -40248,7 +40248,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
40248
40248
|
hidden: hideDefaultPayment
|
|
40249
40249
|
}), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
40250
40250
|
name: "bank checkbox",
|
|
40251
|
-
title: "Save
|
|
40251
|
+
title: "Save checking account to wallet",
|
|
40252
40252
|
checked: walletCheckboxMarked,
|
|
40253
40253
|
onChange: saveToWallet
|
|
40254
40254
|
})));
|
|
@@ -41222,7 +41222,8 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
41222
41222
|
acceptText = _ref.acceptText,
|
|
41223
41223
|
terms = _ref.terms,
|
|
41224
41224
|
variant = _ref.variant,
|
|
41225
|
-
themeValues = _ref.themeValues
|
|
41225
|
+
themeValues = _ref.themeValues,
|
|
41226
|
+
linkColorOverride = _ref.linkColorOverride;
|
|
41226
41227
|
return /*#__PURE__*/React__default.createElement(Modal$1, {
|
|
41227
41228
|
modalOpen: isOpen,
|
|
41228
41229
|
hideModal: function hideModal() {
|
|
@@ -41256,7 +41257,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
41256
41257
|
return e.key === "Enter" && toggleOpen(true);
|
|
41257
41258
|
},
|
|
41258
41259
|
tabIndex: "0",
|
|
41259
|
-
color: themeValues.linkColor,
|
|
41260
|
+
color: linkColorOverride || themeValues.linkColor,
|
|
41260
41261
|
weight: themeValues.fontWeight,
|
|
41261
41262
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
41262
41263
|
extraStyles: "display: inline-block; width: fit-content;"
|