@thecb/components 12.1.0-beta.6 → 12.1.0-beta.7

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
@@ -48102,7 +48102,9 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
48102
48102
  linkVariant = _ref$linkVariant === void 0 ? "p" : _ref$linkVariant,
48103
48103
  themeValues = _ref.themeValues,
48104
48104
  _ref$initialFocusSele = _ref.initialFocusSelector,
48105
- initialFocusSelector = _ref$initialFocusSele === void 0 ? "" : _ref$initialFocusSele;
48105
+ initialFocusSelector = _ref$initialFocusSele === void 0 ? "" : _ref$initialFocusSele,
48106
+ _ref$linkExtraStyles = _ref.linkExtraStyles,
48107
+ linkExtraStyles = _ref$linkExtraStyles === void 0 ? "" : _ref$linkExtraStyles;
48106
48108
  return /*#__PURE__*/React__default.createElement(Modal$3, {
48107
48109
  modalOpen: isOpen,
48108
48110
  hideModal: function hideModal() {
@@ -48143,7 +48145,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
48143
48145
  weight: themeValues.fontWeight,
48144
48146
  hoverStyles: themeValues.modalLinkHoverFocus,
48145
48147
  textDecoration: themeValues.modalLinkTextDecoration,
48146
- extraStyles: "display: inline-block; width: fit-content; cursor: pointer; min-height: 24px; line-height: 24px;",
48148
+ extraStyles: "display: inline-block; width: fit-content; cursor: pointer; min-height: 24px; line-height: 24px; ".concat(linkExtraStyles),
48147
48149
  role: "button" // This should always be a "button" since it opens a modal
48148
48150
  ,
48149
48151
  className: "modal-trigger"
@@ -48464,7 +48466,8 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
48464
48466
  terms: termsContent,
48465
48467
  isOpen: showTermsModal,
48466
48468
  toggleOpen: toggleTermsModal,
48467
- initialFocusSelector: ".modal-close-button"
48469
+ initialFocusSelector: ".modal-close-button",
48470
+ linkExtraStyles: "display: inline-block;"
48468
48471
  }))),
48469
48472
  checked: walletCheckboxMarked,
48470
48473
  onChange: saveToWallet
@@ -48669,7 +48672,8 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48669
48672
  terms: termsContent,
48670
48673
  isOpen: showTermsModal,
48671
48674
  toggleOpen: toggleTermsModal,
48672
- initialFocusSelector: ".modal-close-button"
48675
+ initialFocusSelector: ".modal-close-button",
48676
+ linkExtraStyles: "display: inline-block;"
48673
48677
  }))),
48674
48678
  checked: walletCheckboxMarked,
48675
48679
  onChange: saveToWallet