@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.esm.js CHANGED
@@ -6567,10 +6567,10 @@ function (_ref2) {
6567
6567
  var minHeight = _ref6.minHeight;
6568
6568
  return minHeight ? "margin-top: 0; margin-bottom: 0;" : "";
6569
6569
  }, function (_ref7) {
6570
- var sidebarOnRight = _ref7.sidebarOnRight,
6570
+ var $sidebarOnRight = _ref7.$sidebarOnRight,
6571
6571
  contentMinWidth = _ref7.contentMinWidth,
6572
6572
  childGap = _ref7.childGap;
6573
- 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 }");
6573
+ 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 }");
6574
6574
  }, function (_ref8) {
6575
6575
  var fullHeight = _ref8.fullHeight;
6576
6576
  return fullHeight ? "min-height: 100%;" : "";
@@ -6610,7 +6610,7 @@ var Sidebar = function Sidebar(_ref) {
6610
6610
  }, rest), /*#__PURE__*/React.createElement(SidebarInnerWrapper, {
6611
6611
  childGap: childGap,
6612
6612
  width: width,
6613
- sidebarOnRight: sidebarOnRight,
6613
+ $sidebarOnRight: sidebarOnRight,
6614
6614
  contentMinWidth: contentMinWidth,
6615
6615
  fullHeight: fullHeight,
6616
6616
  minHeight: minHeight
@@ -40148,7 +40148,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
40148
40148
  role: "form",
40149
40149
  "aria-label": "ACH Payment"
40150
40150
  }, /*#__PURE__*/React.createElement(FormInputColumn, null, /*#__PURE__*/React.createElement(FormInput$1, {
40151
- labelTextWhenNoError: "Name on bank account",
40151
+ labelTextWhenNoError: "Name on checking account",
40152
40152
  errorMessages: nameErrors,
40153
40153
  field: fields.name,
40154
40154
  fieldActions: actions.fields.name,
@@ -40240,7 +40240,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
40240
40240
  hidden: hideDefaultPayment
40241
40241
  }), showWalletCheckbox && /*#__PURE__*/React.createElement(Checkbox$1, {
40242
40242
  name: "bank checkbox",
40243
- title: "Save bank account to wallet",
40243
+ title: "Save checking account to wallet",
40244
40244
  checked: walletCheckboxMarked,
40245
40245
  onChange: saveToWallet
40246
40246
  })));
@@ -41214,7 +41214,8 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
41214
41214
  acceptText = _ref.acceptText,
41215
41215
  terms = _ref.terms,
41216
41216
  variant = _ref.variant,
41217
- themeValues = _ref.themeValues;
41217
+ themeValues = _ref.themeValues,
41218
+ linkColorOverride = _ref.linkColorOverride;
41218
41219
  return /*#__PURE__*/React.createElement(Modal$1, {
41219
41220
  modalOpen: isOpen,
41220
41221
  hideModal: function hideModal() {
@@ -41248,7 +41249,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
41248
41249
  return e.key === "Enter" && toggleOpen(true);
41249
41250
  },
41250
41251
  tabIndex: "0",
41251
- color: themeValues.linkColor,
41252
+ color: linkColorOverride || themeValues.linkColor,
41252
41253
  weight: themeValues.fontWeight,
41253
41254
  hoverStyles: themeValues.modalLinkHoverFocus,
41254
41255
  extraStyles: "display: inline-block; width: fit-content;"