tf-checkout-react 1.3.27 → 1.3.28
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/components/ticketsContainer/PromoCodeSection.d.ts +2 -1
- package/dist/components/ticketsContainer/index.d.ts +2 -1
- package/dist/tf-checkout-react.cjs.development.js +12 -9
- package/dist/tf-checkout-react.cjs.development.js.map +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
- package/dist/tf-checkout-react.esm.js +12 -9
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/billing-info-container/index.tsx +2 -2
- package/src/components/loginModal/index.tsx +2 -2
- package/src/components/signupModal/index.tsx +1 -1
- package/src/components/ticketsContainer/PromoCodeSection.tsx +4 -2
- package/src/components/ticketsContainer/index.tsx +3 -0
|
@@ -2304,7 +2304,7 @@ var LoginModal = function LoginModal(_ref) {
|
|
|
2304
2304
|
onSubmit: props.handleSubmit
|
|
2305
2305
|
}, React.createElement("div", {
|
|
2306
2306
|
className: "modal-title"
|
|
2307
|
-
}, "
|
|
2307
|
+
}, "Log in"), React.createElement("div", {
|
|
2308
2308
|
className: 'login-logo-container'
|
|
2309
2309
|
}, React.createElement("img", {
|
|
2310
2310
|
className: "login-logo-tff",
|
|
@@ -2352,7 +2352,7 @@ var LoginModal = function LoginModal(_ref) {
|
|
|
2352
2352
|
className: "login-action-button"
|
|
2353
2353
|
}, React.createElement("button", {
|
|
2354
2354
|
type: "submit"
|
|
2355
|
-
}, "
|
|
2355
|
+
}, "Log in")), showForgotPasswordButton && React.createElement("div", {
|
|
2356
2356
|
className: "forgot-password"
|
|
2357
2357
|
}, React.createElement("span", {
|
|
2358
2358
|
"aria-hidden": "true",
|
|
@@ -2539,7 +2539,7 @@ var SignupModal = function SignupModal(_ref) {
|
|
|
2539
2539
|
className: "login"
|
|
2540
2540
|
}, React.createElement("span", {
|
|
2541
2541
|
onClick: onLogin
|
|
2542
|
-
}, "
|
|
2542
|
+
}, "Log in")), showPoweredByImage ? React.createElement(PoweredBy, null) : null);
|
|
2543
2543
|
}))));
|
|
2544
2544
|
};
|
|
2545
2545
|
|
|
@@ -3658,7 +3658,7 @@ var BillingInfoContainer = /*#__PURE__*/React.memo(function (_ref4) {
|
|
|
3658
3658
|
className: "account-actions-block"
|
|
3659
3659
|
}, React.createElement("div", {
|
|
3660
3660
|
className: "action-item"
|
|
3661
|
-
}, React.createElement("div", null, accountInfoTitle), React.createElement("div", null, "
|
|
3661
|
+
}, React.createElement("div", null, accountInfoTitle), React.createElement("div", null, "Log in & skip ahead:")), React.createElement("div", {
|
|
3662
3662
|
className: "action-item login-block"
|
|
3663
3663
|
}, React.createElement("button", {
|
|
3664
3664
|
className: "login-register-button",
|
|
@@ -3671,7 +3671,7 @@ var BillingInfoContainer = /*#__PURE__*/React.memo(function (_ref4) {
|
|
|
3671
3671
|
setShowModalLogin(true);
|
|
3672
3672
|
}
|
|
3673
3673
|
}
|
|
3674
|
-
}, "
|
|
3674
|
+
}, "Log in"), !hideLogo && React.createElement("div", {
|
|
3675
3675
|
className: "logo-image-container"
|
|
3676
3676
|
}, React.createElement("img", {
|
|
3677
3677
|
src: theme === 'dark' ? 'https://www.ticketfairy.com/resources/images/logo-ttf.svg' : 'https://www.ticketfairy.com/resources/images/logo-ttf-black.svg',
|
|
@@ -5273,7 +5273,8 @@ var PromoCodeSection = function PromoCodeSection(_ref) {
|
|
|
5273
5273
|
updateTickets = _ref.updateTickets,
|
|
5274
5274
|
setCodeIsApplied = _ref.setCodeIsApplied,
|
|
5275
5275
|
codeIsInvalid = _ref.codeIsInvalid,
|
|
5276
|
-
setCodeIsInvalid = _ref.setCodeIsInvalid
|
|
5276
|
+
setCodeIsInvalid = _ref.setCodeIsInvalid,
|
|
5277
|
+
promoText = _ref.promoText;
|
|
5277
5278
|
var isPromoCodeHasValue = !!code.trim();
|
|
5278
5279
|
|
|
5279
5280
|
var renderInputField = function renderInputField() {
|
|
@@ -5329,7 +5330,7 @@ var PromoCodeSection = function PromoCodeSection(_ref) {
|
|
|
5329
5330
|
setShowPromoInput(true);
|
|
5330
5331
|
setCodeIsInvalid(false);
|
|
5331
5332
|
}
|
|
5332
|
-
},
|
|
5333
|
+
}, promoText != null ? promoText : 'Got a promo code? Click here'), showPromoInput && renderInputField());
|
|
5333
5334
|
};
|
|
5334
5335
|
|
|
5335
5336
|
var ReferralLogic = function ReferralLogic(props) {
|
|
@@ -5572,7 +5573,8 @@ var TicketsContainer = function TicketsContainer(_ref) {
|
|
|
5572
5573
|
handleNotInvitedModalClose = _ref$handleNotInvited === void 0 ? _identity : _ref$handleNotInvited,
|
|
5573
5574
|
_ref$handleInvalidLin = _ref.handleInvalidLinkModalClose,
|
|
5574
5575
|
handleInvalidLinkModalClose = _ref$handleInvalidLin === void 0 ? _identity : _ref$handleInvalidLin,
|
|
5575
|
-
ordersPath = _ref.ordersPath
|
|
5576
|
+
ordersPath = _ref.ordersPath,
|
|
5577
|
+
promoText = _ref.promoText;
|
|
5576
5578
|
|
|
5577
5579
|
var _useState = useState({}),
|
|
5578
5580
|
selectedTickets = _useState[0],
|
|
@@ -6128,7 +6130,8 @@ var TicketsContainer = function TicketsContainer(_ref) {
|
|
|
6128
6130
|
setCode: setCode,
|
|
6129
6131
|
updateTickets: updateTickets,
|
|
6130
6132
|
codeIsInvalid: codeIsInvalid,
|
|
6131
|
-
setCodeIsInvalid: setCodeIsInvalid
|
|
6133
|
+
setCodeIsInvalid: setCodeIsInvalid,
|
|
6134
|
+
promoText: promoText
|
|
6132
6135
|
}) : null, wrappedActionsSectionComponent, canShowGetTicketBtn() && React.createElement(Button$1, {
|
|
6133
6136
|
"aria-hidden": true,
|
|
6134
6137
|
className: "book-button \n " + (bookButtonIsDisabled ? 'disabled' : '') + " \n " + (isButtonScrollable ? 'is-scrollable' : '') + "\n " + (!isLoggedIn ? 'on-bottom' : '') + "\n ",
|