@tripian/react 9.0.46 → 9.0.48
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/index.js +3 -3
- package/index.js.map +1 -1
- package/min.css +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -55943,11 +55943,11 @@ var SocialLogin_scss_1 = __importDefault(__webpack_require__(740));
|
|
|
55943
55943
|
var SocialLogin = function (_a) {
|
|
55944
55944
|
var configs = _a.configs, customQuery = _a.customQuery, t = _a.t;
|
|
55945
55945
|
return (react_1.default.createElement("div", { className: SocialLogin_scss_1.default.socialLoginButtons },
|
|
55946
|
-
configs.identityProviders.includes('Google') && (react_1.default.createElement("a", { className: SocialLogin_scss_1.default.socialLoginButton, href: "https://".concat(configs.domain, ".auth.").concat(configs.region, ".amazoncognito.com/oauth2/authorize?identity_provider=Google&redirect_uri=").concat(configs.baseDomain, "/cognito-redirect&response_type=CODE&client_id=").concat(configs.clientId
|
|
55946
|
+
configs.identityProviders.includes('Google') && (react_1.default.createElement("a", { className: SocialLogin_scss_1.default.socialLoginButton, href: "https://".concat(configs.domain, ".auth.").concat(configs.region, ".amazoncognito.com/oauth2/authorize?identity_provider=Google&redirect_uri=").concat(configs.baseDomain, "/cognito-redirect&response_type=CODE&client_id=").concat(configs.clientId).concat(customQuery ? "&state=".concat(customQuery) : '') },
|
|
55947
55947
|
react_1.default.createElement("div", { className: SocialLogin_scss_1.default.socialLoginLogo },
|
|
55948
55948
|
react_1.default.createElement(Google_1.default, null)),
|
|
55949
55949
|
react_1.default.createElement("span", { className: SocialLogin_scss_1.default.socialLoginText }, t('auth.login.google')))),
|
|
55950
|
-
configs.identityProviders.includes('SignInWithApple') && (react_1.default.createElement("a", { className: SocialLogin_scss_1.default.socialLoginButton, href: "https://".concat(configs.domain, ".auth.").concat(configs.region, ".amazoncognito.com/oauth2/authorize?identity_provider=SignInWithApple&redirect_uri=").concat(configs.baseDomain, "/cognito-redirect&response_type=CODE&client_id=").concat(configs.clientId
|
|
55950
|
+
configs.identityProviders.includes('SignInWithApple') && (react_1.default.createElement("a", { className: SocialLogin_scss_1.default.socialLoginButton, href: "https://".concat(configs.domain, ".auth.").concat(configs.region, ".amazoncognito.com/oauth2/authorize?identity_provider=SignInWithApple&redirect_uri=").concat(configs.baseDomain, "/cognito-redirect&response_type=CODE&client_id=").concat(configs.clientId).concat(customQuery ? "&state=".concat(customQuery) : '') },
|
|
55951
55951
|
react_1.default.createElement("div", { className: SocialLogin_scss_1.default.socialLoginLogo },
|
|
55952
55952
|
react_1.default.createElement(Apple_1.default, null)),
|
|
55953
55953
|
react_1.default.createElement("span", { className: SocialLogin_scss_1.default.socialLoginText }, t('auth.login.apple'))))));
|
|
@@ -83203,7 +83203,7 @@ var VoucherOfferCardItemMobile = function (_a) {
|
|
|
83203
83203
|
}, 0);
|
|
83204
83204
|
}
|
|
83205
83205
|
};
|
|
83206
|
-
var claimButton = (0, react_1.useMemo)(function () { return (react_1.default.createElement(CustomPopover_1.default, { ref: ref, show: show, positions: ['
|
|
83206
|
+
var claimButton = (0, react_1.useMemo)(function () { return (react_1.default.createElement(CustomPopover_1.default, { ref: ref, show: show, positions: ['top', 'left', 'right'], content: react_1.default.createElement(OfferAvailableDaySelect_1.default, { timeframe: offer.timeframe, selectedDay: function (day) {
|
|
83207
83207
|
optClicked(true, offer.id, day);
|
|
83208
83208
|
forceRepaint();
|
|
83209
83209
|
}, close: function () { return setShow(false); } }), backdropClick: function (e) {
|