@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.cjs.js +8 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +8 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/payment-form-ach/PaymentFormACH.js +1 -0
- package/src/components/molecules/payment-form-card/PaymentFormCard.js +1 -0
- package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.js +3 -2
package/dist/index.cjs.js
CHANGED
|
@@ -48110,7 +48110,9 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
48110
48110
|
linkVariant = _ref$linkVariant === void 0 ? "p" : _ref$linkVariant,
|
|
48111
48111
|
themeValues = _ref.themeValues,
|
|
48112
48112
|
_ref$initialFocusSele = _ref.initialFocusSelector,
|
|
48113
|
-
initialFocusSelector = _ref$initialFocusSele === void 0 ? "" : _ref$initialFocusSele
|
|
48113
|
+
initialFocusSelector = _ref$initialFocusSele === void 0 ? "" : _ref$initialFocusSele,
|
|
48114
|
+
_ref$linkExtraStyles = _ref.linkExtraStyles,
|
|
48115
|
+
linkExtraStyles = _ref$linkExtraStyles === void 0 ? "" : _ref$linkExtraStyles;
|
|
48114
48116
|
return /*#__PURE__*/React__default.createElement(Modal$3, {
|
|
48115
48117
|
modalOpen: isOpen,
|
|
48116
48118
|
hideModal: function hideModal() {
|
|
@@ -48151,7 +48153,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
48151
48153
|
weight: themeValues.fontWeight,
|
|
48152
48154
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
48153
48155
|
textDecoration: themeValues.modalLinkTextDecoration,
|
|
48154
|
-
extraStyles: "display: inline-block; width: fit-content; cursor: pointer; min-height: 24px; line-height: 24px;",
|
|
48156
|
+
extraStyles: "display: inline-block; width: fit-content; cursor: pointer; min-height: 24px; line-height: 24px; ".concat(linkExtraStyles),
|
|
48155
48157
|
role: "button" // This should always be a "button" since it opens a modal
|
|
48156
48158
|
,
|
|
48157
48159
|
className: "modal-trigger"
|
|
@@ -48472,7 +48474,8 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
48472
48474
|
terms: termsContent,
|
|
48473
48475
|
isOpen: showTermsModal,
|
|
48474
48476
|
toggleOpen: toggleTermsModal,
|
|
48475
|
-
initialFocusSelector: ".modal-close-button"
|
|
48477
|
+
initialFocusSelector: ".modal-close-button",
|
|
48478
|
+
linkExtraStyles: "display: inline-block;"
|
|
48476
48479
|
}))),
|
|
48477
48480
|
checked: walletCheckboxMarked,
|
|
48478
48481
|
onChange: saveToWallet
|
|
@@ -48677,7 +48680,8 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
48677
48680
|
terms: termsContent,
|
|
48678
48681
|
isOpen: showTermsModal,
|
|
48679
48682
|
toggleOpen: toggleTermsModal,
|
|
48680
|
-
initialFocusSelector: ".modal-close-button"
|
|
48683
|
+
initialFocusSelector: ".modal-close-button",
|
|
48684
|
+
linkExtraStyles: "display: inline-block;"
|
|
48681
48685
|
}))),
|
|
48682
48686
|
checked: walletCheckboxMarked,
|
|
48683
48687
|
onChange: saveToWallet
|