@stytch/react 20.0.0-next.2 → 20.0.0-next.3
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/CHANGELOG.md +6 -0
- package/dist/cjs/StytchSSRProxy-Bz6LNYdq.js.map +1 -1
- package/dist/cjs/adminPortal/index.cjs +1 -1
- package/dist/cjs/b2b/index.cjs +14 -13
- package/dist/cjs/b2b/index.cjs.map +1 -1
- package/dist/cjs/compat.cjs +2 -0
- package/dist/cjs/compat.cjs.map +1 -1
- package/dist/cjs/{index-Ni_dyEsz.js → index-BIjXBvf_.js} +2 -2
- package/dist/cjs/index-BIjXBvf_.js.map +1 -0
- package/dist/cjs/index.cjs +508 -518
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/{shadcn-B8TEzQMT.js → shadcn-Z4AvHriT.js} +247 -233
- package/dist/cjs/shadcn-Z4AvHriT.js.map +1 -0
- package/dist/cjs-dev/StytchSSRProxy-d553KgcY.js +438 -0
- package/dist/cjs-dev/StytchSSRProxy-d553KgcY.js.map +1 -0
- package/dist/cjs-dev/adminPortal/index.cjs +54 -53
- package/dist/cjs-dev/adminPortal/index.cjs.map +1 -1
- package/dist/cjs-dev/b2b/index.cjs +80 -68
- package/dist/cjs-dev/b2b/index.cjs.map +1 -1
- package/dist/cjs-dev/b2b/index.headless.cjs +89 -88
- package/dist/cjs-dev/b2b/index.headless.cjs.map +1 -1
- package/dist/cjs-dev/compat.cjs +15 -14
- package/dist/cjs-dev/compat.cjs.map +1 -1
- package/dist/cjs-dev/{StytchSSRProxy-CxXsyme4.js → dev-DaCGDI6V.js} +60 -426
- package/dist/cjs-dev/dev-DaCGDI6V.js.map +1 -0
- package/dist/cjs-dev/{idpHelpers-BVMUYvt1.js → idpHelpers-DOYYSxsX.js} +45 -102
- package/dist/cjs-dev/idpHelpers-DOYYSxsX.js.map +1 -0
- package/dist/cjs-dev/{index-DdK3Jt4u.js → index-rquGmIlv.js} +4 -4
- package/dist/cjs-dev/index-rquGmIlv.js.map +1 -0
- package/dist/cjs-dev/index.cjs +738 -727
- package/dist/cjs-dev/index.cjs.map +1 -1
- package/dist/cjs-dev/index.headless.cjs +70 -69
- package/dist/cjs-dev/index.headless.cjs.map +1 -1
- package/dist/cjs-dev/{passwordManagerDisableAutofillProps-D70WyvIu.js → passwordManagerDisableAutofillProps-CgiK2M_U.js} +2 -2
- package/dist/cjs-dev/{passwordManagerDisableAutofillProps-D70WyvIu.js.map → passwordManagerDisableAutofillProps-CgiK2M_U.js.map} +1 -1
- package/dist/cjs-dev/{shadcn-C9ClUju1.js → shadcn-DnNfms7-.js} +257 -242
- package/dist/cjs-dev/shadcn-DnNfms7-.js.map +1 -0
- package/dist/esm/b2b/StytchB2BContext.mjs +5 -5
- package/dist/esm/b2b/StytchB2BContext.mjs.map +1 -1
- package/dist/esm/packages/core/src/public/b2b/ui.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/b2b/App.mjs +2 -2
- package/dist/esm/packages/web/src/ui/b2b/App.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/b2b/components/Icons.mjs +3 -1
- package/dist/esm/packages/web/src/ui/b2b/components/Icons.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/b2c/AppContainer.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2c/AppContainer.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/b2c/IDPContainer.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2c/IDPContainer.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/b2c/PasskeyRegistrationContainer.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2c/PasskeyRegistrationContainer.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/b2c/ResetPasswordContainer.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2c/ResetPasswordContainer.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/b2c/screens/Crypto/SetupNewWallet.mjs +12 -11
- package/dist/esm/packages/web/src/ui/b2c/screens/Crypto/SetupNewWallet.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/b2c/screens/Crypto/WalletButtons.mjs +12 -14
- package/dist/esm/packages/web/src/ui/b2c/screens/Crypto/WalletButtons.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/compat/styleToTheme.mjs +2 -0
- package/dist/esm/packages/web/src/ui/compat/styleToTheme.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/components/PresentationConfig.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/components/atoms/Typography.module.css.mjs +2 -2
- package/dist/esm/packages/web/src/ui/react/b2b/B2BIdentityProvider.mjs +1 -1
- package/dist/esm/packages/web/src/ui/react/b2b/B2BIdentityProvider.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/react/b2b/Stytch.mjs +1 -1
- package/dist/esm/packages/web/src/ui/react/b2b/Stytch.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/react/b2b/StytchB2BContext.mjs +1 -1
- package/dist/esm/packages/web/src/ui/react/b2b/StytchB2BContext.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/react/b2c/IdentityProvider.mjs +1 -1
- package/dist/esm/packages/web/src/ui/react/b2c/IdentityProvider.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/react/b2c/StytchContext.mjs +1 -1
- package/dist/esm/packages/web/src/ui/react/b2c/StytchContext.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/react/b2c/StytchLogin.mjs +1 -1
- package/dist/esm/packages/web/src/ui/react/b2c/StytchLogin.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/react/b2c/StytchPasskeyRegistration.mjs +1 -1
- package/dist/esm/packages/web/src/ui/react/b2c/StytchPasskeyRegistration.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/react/b2c/StytchPasswordReset.mjs +1 -1
- package/dist/esm/packages/web/src/ui/react/b2c/StytchPasswordReset.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/react/utils/errors.mjs.map +1 -1
- package/dist/esm/packages/web/src/utils/crypto.mjs +15 -14
- package/dist/esm/packages/web/src/utils/crypto.mjs.map +1 -1
- package/dist/esm/packages/web/src/utils/oauthProviderType.mjs +1 -1
- package/dist/esm/packages/web/src/utils/oauthProviderType.mjs.map +1 -1
- package/dist/esm-dev/b2b/StytchB2BContext.mjs +5 -5
- package/dist/esm-dev/b2b/StytchB2BContext.mjs.map +1 -1
- package/dist/esm-dev/packages/core/src/public/b2b/ui.mjs.map +1 -1
- package/dist/esm-dev/packages/core/src/utils/dev.mjs +7 -1
- package/dist/esm-dev/packages/core/src/utils/dev.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2b/App.mjs +14 -2
- package/dist/esm-dev/packages/web/src/ui/b2b/App.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2b/components/Icons.mjs +3 -1
- package/dist/esm-dev/packages/web/src/ui/b2b/components/Icons.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/AppContainer.mjs +8 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/AppContainer.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/IDPContainer.mjs +8 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/IDPContainer.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/PasskeyRegistrationContainer.mjs +8 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/PasskeyRegistrationContainer.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/ResetPasswordContainer.mjs +8 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/ResetPasswordContainer.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Crypto/SetupNewWallet.mjs +12 -11
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Crypto/SetupNewWallet.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Crypto/WalletButtons.mjs +12 -14
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Crypto/WalletButtons.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/compat/styleToTheme.mjs +15 -14
- package/dist/esm-dev/packages/web/src/ui/compat/styleToTheme.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/PresentationConfig.mjs +3 -2
- package/dist/esm-dev/packages/web/src/ui/components/PresentationConfig.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/atoms/Typography.module.css.mjs +2 -2
- package/dist/esm-dev/packages/web/src/ui/react/b2b/B2BIdentityProvider.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/b2b/B2BIdentityProvider.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/b2b/Stytch.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/b2b/Stytch.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/b2b/StytchB2BContext.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/b2b/StytchB2BContext.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/b2c/IdentityProvider.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/b2c/IdentityProvider.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/b2c/StytchContext.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/b2c/StytchContext.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/b2c/StytchLogin.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/b2c/StytchLogin.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/b2c/StytchPasskeyRegistration.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/b2c/StytchPasskeyRegistration.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/b2c/StytchPasswordReset.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/b2c/StytchPasswordReset.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/utils/errors.mjs +8 -4
- package/dist/esm-dev/packages/web/src/ui/react/utils/errors.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/utils/crypto.mjs +15 -14
- package/dist/esm-dev/packages/web/src/utils/crypto.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/utils/oauthProviderType.mjs +1 -1
- package/dist/esm-dev/packages/web/src/utils/oauthProviderType.mjs.map +1 -1
- package/dist/types/{PresentationConfig-Bqzf8zr3.d.ts → PresentationConfig-CcNEXkjS.d.ts} +5 -1
- package/dist/types/{StytchB2BClient-CsY7ZNKh.d.ts → StytchB2BClient-D16e_lp1.d.ts} +2 -2
- package/dist/types/{StytchClient-DZRM_fM4.d.ts → StytchClient-BwQdJzdj.d.ts} +2 -2
- package/dist/types/adminPortal/index.d.ts +5 -5
- package/dist/types/b2b/index.d.ts +27 -19
- package/dist/types/b2b/index.headless.d.ts +5 -5
- package/dist/types/compat.d.ts +2 -2
- package/dist/types/{createAuthUrlHandler-BZoD2LDF.d.ts → createAuthUrlHandler-R1kNNQD_.d.ts} +2 -2
- package/dist/types/{idpHelpers-CD5sSDzA.d.ts → idpHelpers-BQP76WgZ.d.ts} +1 -1
- package/dist/types/index.d.ts +36 -16
- package/dist/types/index.headless.d.ts +5 -5
- package/dist/types/{shadcn-4-5byj93.d.ts → shadcn-B04UXoBD.d.ts} +9 -6
- package/dist/types/{ui-DXrQ-gA8.d.ts → ui-B7IvSGQf.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/cjs/index-Ni_dyEsz.js.map +0 -1
- package/dist/cjs/shadcn-B8TEzQMT.js.map +0 -1
- package/dist/cjs-dev/StytchSSRProxy-CxXsyme4.js.map +0 -1
- package/dist/cjs-dev/idpHelpers-BVMUYvt1.js.map +0 -1
- package/dist/cjs-dev/index-DdK3Jt4u.js.map +0 -1
- package/dist/cjs-dev/shadcn-C9ClUju1.js.map +0 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var passwordManagerDisableAutofillProps = require('./passwordManagerDisableAutofillProps-
|
|
4
|
+
var passwordManagerDisableAutofillProps = require('./passwordManagerDisableAutofillProps-CgiK2M_U.js');
|
|
5
|
+
var dev = require('./dev-DaCGDI6V.js');
|
|
5
6
|
var logger = require('./logger-CvOATP4R.js');
|
|
6
|
-
var idpHelpers = require('./idpHelpers-
|
|
7
|
-
var StytchSSRProxy = require('./StytchSSRProxy-
|
|
7
|
+
var idpHelpers = require('./idpHelpers-DOYYSxsX.js');
|
|
8
|
+
var StytchSSRProxy = require('./StytchSSRProxy-d553KgcY.js');
|
|
8
9
|
|
|
9
10
|
function _interopNamespace(e) {
|
|
10
11
|
if (e && e.__esModule) return e;
|
|
@@ -305,13 +306,13 @@ const defaultOptions = {
|
|
|
305
306
|
};
|
|
306
307
|
function usePresentationWithDefault(maybeConfig, displayWatermark, products, productsName) {
|
|
307
308
|
const { theme, options } = maybeConfig ?? {};
|
|
308
|
-
{
|
|
309
|
+
dev.RUN_IN_DEV(()=>{
|
|
309
310
|
const stringProducts = products.filter((p)=>typeof p === 'string');
|
|
310
311
|
if (stringProducts.length > 0) {
|
|
311
312
|
logger.logger.error(`Please add an import for ${productsName} and update config.products to\n` + 'products: [' + products.map((p)=>`${productsName}.${typeof p === 'string' ? p : p.id}`).join(', ') + ']');
|
|
312
313
|
throw new Error("'config.products' should not include strings anymore");
|
|
313
314
|
}
|
|
314
|
-
}
|
|
315
|
+
});
|
|
315
316
|
// Switch theme automatically depending on color scheme
|
|
316
317
|
const isDynamic = isDynamicTheme(theme);
|
|
317
318
|
const darkMode = useMediaQuery(isDynamic ? '(prefers-color-scheme: dark)' : undefined);
|
|
@@ -733,9 +734,9 @@ const Logo = ({ orgLogo, appLogo })=>{
|
|
|
733
734
|
}));
|
|
734
735
|
};
|
|
735
736
|
|
|
736
|
-
var css$i = ".
|
|
737
|
+
var css$i = ".Typography_module_typography__74817c74{font-family:var(--st-font-family)}.Typography_module_header__74817c74{color:var(--st-foreground);font-family:var(--st-header-font);font-size:var(--st-text-2xl);font-weight:var(--st-font-weight-semibold);line-height:var(--st-line-height-2xl)}.Typography_module_body__74817c74{color:var(--st-foreground);font-size:var(--st-text-base)}.Typography_module_body__74817c74,.Typography_module_helper__74817c74{font-weight:var(--st-font-weight-normal);line-height:var(--st-line-height-base)}.Typography_module_helper__74817c74{color:var(--st-muted-foreground);font-size:var(--st-text-xs)}.Typography_module_start__74817c74{text-align:start}.Typography_module_center__74817c74{text-align:center}.Typography_module_end__74817c74{text-align:end}.Typography_module_foreground__74817c74{color:var(--st-foreground)}.Typography_module_muted__74817c74{color:var(--st-muted-foreground)}.Typography_module_destructive__74817c74{color:var(--st-destructive)}.Typography_module_warning__74817c74{color:var(--st-warning)}.Typography_module_success__74817c74{color:var(--st-success)}.Typography_module_regular__74817c74{font-weight:var(--st-font-weight-normal)}.Typography_module_medium__74817c74{font-weight:var(--st-font-weight-medium)}.Typography_module_semibold__74817c74{font-weight:var(--st-font-weight-semibold)}.Typography_module_bold__74817c74{font-weight:var(--st-font-weight-bold)}.Typography_module_defaultFont__74817c74{font-family:var(--st-font-family)}.Typography_module_monoFont__74817c74{font-family:var(--st-font-family-mono)}";
|
|
737
738
|
collectCss(css$i);
|
|
738
|
-
var modules_1d7499fc = {"typography":"
|
|
739
|
+
var modules_1d7499fc = {"typography":"Typography_module_typography__74817c74","header":"Typography_module_header__74817c74","body":"Typography_module_body__74817c74","helper":"Typography_module_helper__74817c74","start":"Typography_module_start__74817c74","center":"Typography_module_center__74817c74","end":"Typography_module_end__74817c74","foreground":"Typography_module_foreground__74817c74","muted":"Typography_module_muted__74817c74","destructive":"Typography_module_destructive__74817c74","warning":"Typography_module_warning__74817c74","success":"Typography_module_success__74817c74","regular":"Typography_module_regular__74817c74","medium":"Typography_module_medium__74817c74","semibold":"Typography_module_semibold__74817c74","bold":"Typography_module_bold__74817c74","defaultFont":"Typography_module_defaultFont__74817c74","monoFont":"Typography_module_monoFont__74817c74"};
|
|
739
740
|
|
|
740
741
|
const Typography = /*#__PURE__*/ React.forwardRef(({ variant = 'body', as = 'div', weight, font, color, align, className, ...props }, ref)=>{
|
|
741
742
|
// Without this cast, TS thinks Element might not even be an HTML element and so does not have className
|
|
@@ -1277,216 +1278,6 @@ const errorMessages = {
|
|
|
1277
1278
|
return error.error_message;
|
|
1278
1279
|
};
|
|
1279
1280
|
|
|
1280
|
-
var css$b = ".logo_module_darkInvert__4ffe6ba9{filter:invert(var(--st-dark-mode,0))}";
|
|
1281
|
-
collectCss(css$b);
|
|
1282
|
-
var modules_73af8a26 = {"darkInvert":"logo_module_darkInvert__4ffe6ba9"};
|
|
1283
|
-
|
|
1284
|
-
const GithubIcon$2 = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
|
|
1285
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1286
|
-
width: 20,
|
|
1287
|
-
height: 20,
|
|
1288
|
-
fill: "none",
|
|
1289
|
-
...props
|
|
1290
|
-
}, /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1291
|
-
fill: "#24292F",
|
|
1292
|
-
fillRule: "evenodd",
|
|
1293
|
-
d: "M9.97 1A9.1 9.1 0 0 0 1 10.23a9.2 9.2 0 0 0 6.14 8.75c.44.1.6-.2.6-.44l-.01-1.71c-2.5.55-3.02-1.1-3.02-1.1-.4-1.07-1-1.35-1-1.35-.8-.56.07-.56.07-.56.9.06 1.38.95 1.38.95.8 1.4 2.1 1 2.61.76.08-.6.32-1 .57-1.24-2-.21-4.09-1-4.09-4.55 0-1 .36-1.83.92-2.48-.08-.22-.4-1.17.1-2.44 0 0 .75-.24 2.46.95a8.5 8.5 0 0 1 4.49 0c1.7-1.2 2.46-.95 2.46-.95.5 1.27.18 2.22.1 2.44.57.65.91 1.47.91 2.48 0 3.54-2.1 4.32-4.1 4.55.33.3.61.84.61 1.71l-.01 2.54c0 .24.16.53.6.44a9.2 9.2 0 0 0 6.14-8.75A9.1 9.1 0 0 0 9.97 1",
|
|
1294
|
-
clipRule: "evenodd",
|
|
1295
|
-
className: modules_73af8a26.darkInvert
|
|
1296
|
-
}));
|
|
1297
|
-
|
|
1298
|
-
const GmailIcon$2 = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
|
|
1299
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1300
|
-
width: 20,
|
|
1301
|
-
height: 20,
|
|
1302
|
-
fill: "none",
|
|
1303
|
-
...props
|
|
1304
|
-
}, /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1305
|
-
fill: "#C5221F",
|
|
1306
|
-
d: "M1 5.1v1.63l1.88 1.82L5.09 9.8l.41-2.76-.4-2.56-1.15-.86A1.84 1.84 0 0 0 1 5.09"
|
|
1307
|
-
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1308
|
-
fill: "#FBBC04",
|
|
1309
|
-
d: "m14.9 4.48-.4 2.6.4 2.72 2.02-1L19 6.73V5.09a1.84 1.84 0 0 0-2.95-1.47z"
|
|
1310
|
-
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1311
|
-
fill: "#4285F4",
|
|
1312
|
-
d: "M2.23 16.75h2.86V9.8L1 6.73v8.8c0 .67.55 1.22 1.23 1.22"
|
|
1313
|
-
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1314
|
-
fill: "#34A853",
|
|
1315
|
-
d: "M14.9 16.75h2.87c.68 0 1.23-.55 1.23-1.23v-8.8L14.9 9.8z"
|
|
1316
|
-
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1317
|
-
fill: "#EA4335",
|
|
1318
|
-
d: "M10 8.16 5.1 4.48V9.8l4.9 3.68 4.9-3.68V4.48z"
|
|
1319
|
-
}));
|
|
1320
|
-
|
|
1321
|
-
const GoogleIcon$2 = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
|
|
1322
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1323
|
-
width: 20,
|
|
1324
|
-
height: 20,
|
|
1325
|
-
fill: "none",
|
|
1326
|
-
...props
|
|
1327
|
-
}, /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1328
|
-
fill: "#4285F4",
|
|
1329
|
-
d: "M18.82 10.2q0-.95-.16-1.84h-8.48v3.49h4.84a4.2 4.2 0 0 1-1.8 2.7v2.27h2.92a8.8 8.8 0 0 0 2.68-6.62"
|
|
1330
|
-
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1331
|
-
fill: "#34A853",
|
|
1332
|
-
d: "M10.18 19c2.43 0 4.47-.8 5.96-2.18l-2.92-2.26c-.8.54-1.83.86-3.04.86a5.4 5.4 0 0 1-5.04-3.7h-3v2.32A9 9 0 0 0 10.19 19"
|
|
1333
|
-
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1334
|
-
fill: "#FBBC05",
|
|
1335
|
-
d: "M5.14 11.71a5.4 5.4 0 0 1 0-3.42V5.97h-3a8.9 8.9 0 0 0 0 8.06l2.34-1.81z"
|
|
1336
|
-
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1337
|
-
fill: "#EA4335",
|
|
1338
|
-
d: "M10.18 4.58q2.01 0 3.44 1.35l2.58-2.58A8.98 8.98 0 0 0 2.14 5.97l3 2.32a5.4 5.4 0 0 1 5.04-3.7"
|
|
1339
|
-
}));
|
|
1340
|
-
|
|
1341
|
-
const MicrosoftIcon$2 = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
|
|
1342
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1343
|
-
width: 20,
|
|
1344
|
-
height: 20,
|
|
1345
|
-
fill: "none",
|
|
1346
|
-
...props
|
|
1347
|
-
}, /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1348
|
-
fill: "#F35325",
|
|
1349
|
-
d: "M1 1h8.57v8.57H1z"
|
|
1350
|
-
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1351
|
-
fill: "#81BC06",
|
|
1352
|
-
d: "M10.43 1H19v8.57h-8.57z"
|
|
1353
|
-
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1354
|
-
fill: "#05A6F0",
|
|
1355
|
-
d: "M1 10.43h8.57V19H1z"
|
|
1356
|
-
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1357
|
-
fill: "#FFBA08",
|
|
1358
|
-
d: "M10.43 10.43H19V19h-8.57z"
|
|
1359
|
-
}));
|
|
1360
|
-
|
|
1361
|
-
const OutlookIcon$2 = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
|
|
1362
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1363
|
-
width: 20,
|
|
1364
|
-
height: 20,
|
|
1365
|
-
fill: "none",
|
|
1366
|
-
...props
|
|
1367
|
-
}, /*#__PURE__*/ React__namespace.createElement("g", {
|
|
1368
|
-
clipPath: "url(#a)"
|
|
1369
|
-
}, /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1370
|
-
fill: "#158FDA",
|
|
1371
|
-
d: "M6.58 17.2h10.25c1.2 0 2.17-.97 2.17-2.17V7.7c0-.64-.32-1.22-.87-1.54L12.77 3.1c-.72-.4-1.6-.4-2.3 0L4.39 6.6V15c0 1.21.98 2.2 2.2 2.2"
|
|
1372
|
-
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1373
|
-
fill: "url(#b)",
|
|
1374
|
-
d: "M8.61 15.82c.06-.66.48-1.24 1.09-1.5 0 0 5.55-3.11 8.3-4.73.85-.5 1-1.5 1-1.5V15a2.2 2.2 0 0 1-2.2 2.2h-6.65c-.8 0-1.46-.6-1.54-1.4"
|
|
1375
|
-
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1376
|
-
fill: "#01459B",
|
|
1377
|
-
d: "m17.83 5.96-9.55 5.27 1.9 1.16c.71.42 1.74.66 2.46.25l5.08-2.85A2.3 2.3 0 0 0 19 7.69c0-1.1-.76-1.47-1.17-1.73"
|
|
1378
|
-
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1379
|
-
fill: "#26AEE9",
|
|
1380
|
-
d: "M11.67 2.81q-.63 0-1.21.32L2.4 7.68l3.06 1.85 9.37-5.28-1.95-1.11q-.57-.33-1.2-.33"
|
|
1381
|
-
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1382
|
-
fill: "#0078D3",
|
|
1383
|
-
d: "M14.83 4.25 5.46 9.53l3.06 1.86 9.56-5.27-.25-.16z"
|
|
1384
|
-
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1385
|
-
fill: "url(#c)",
|
|
1386
|
-
d: "M1.88 5.42h7.5a.74.74 0 0 1 .75.74l-.03 7.32a.76.76 0 0 1-.76.76H1.9a.8.8 0 0 1-.78-.78l.03-7.33a.7.7 0 0 1 .72-.71"
|
|
1387
|
-
}), /*#__PURE__*/ React__namespace.createElement("g", {
|
|
1388
|
-
filter: "url(#d)"
|
|
1389
|
-
}, /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1390
|
-
fill: "url(#e)",
|
|
1391
|
-
d: "M1.88 5.42h7.5a.74.74 0 0 1 .75.74l-.03 7.32a.76.76 0 0 1-.76.76H1.9a.8.8 0 0 1-.78-.78l.03-7.33a.7.7 0 0 1 .72-.71"
|
|
1392
|
-
})), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1393
|
-
fill: "#fff",
|
|
1394
|
-
d: "M3.46 8.58q.28-.6.84-.94.64-.36 1.36-.36.69-.02 1.27.3.56.3.85.87.32.6.32 1.3.02.7-.28 1.36a2.2 2.2 0 0 1-1.1 1.06q-.52.21-1.05.21-.7.03-1.3-.3-.57-.3-.86-.87-.32-.6-.32-1.28-.02-.7.27-1.35m.95 2.15q.16.37.5.6t.75.21q.45 0 .8-.24.33-.24.47-.62.15-.41.13-.85 0-.44-.15-.85a1.4 1.4 0 0 0-.47-.63 1.3 1.3 0 0 0-.8-.23 1.3 1.3 0 0 0-1.25.86c-.22.57-.2 1.2.02 1.75"
|
|
1395
|
-
})), /*#__PURE__*/ React__namespace.createElement("defs", null, /*#__PURE__*/ React__namespace.createElement("linearGradient", {
|
|
1396
|
-
id: "b",
|
|
1397
|
-
x1: 12.02,
|
|
1398
|
-
x2: 19,
|
|
1399
|
-
y1: 15.58,
|
|
1400
|
-
y2: 12.64,
|
|
1401
|
-
gradientUnits: "userSpaceOnUse"
|
|
1402
|
-
}, /*#__PURE__*/ React__namespace.createElement("stop", {
|
|
1403
|
-
stopColor: "#4DE2FB"
|
|
1404
|
-
}), /*#__PURE__*/ React__namespace.createElement("stop", {
|
|
1405
|
-
offset: 1,
|
|
1406
|
-
stopColor: "#28AEE8"
|
|
1407
|
-
})), /*#__PURE__*/ React__namespace.createElement("linearGradient", {
|
|
1408
|
-
id: "c",
|
|
1409
|
-
x1: 5.63,
|
|
1410
|
-
x2: 5.62,
|
|
1411
|
-
y1: 5.42,
|
|
1412
|
-
y2: 14.24,
|
|
1413
|
-
gradientUnits: "userSpaceOnUse"
|
|
1414
|
-
}, /*#__PURE__*/ React__namespace.createElement("stop", {
|
|
1415
|
-
stopColor: "#1582D8"
|
|
1416
|
-
}), /*#__PURE__*/ React__namespace.createElement("stop", {
|
|
1417
|
-
offset: 1,
|
|
1418
|
-
stopColor: "#0A64CC"
|
|
1419
|
-
})), /*#__PURE__*/ React__namespace.createElement("linearGradient", {
|
|
1420
|
-
id: "e",
|
|
1421
|
-
x1: 5.63,
|
|
1422
|
-
x2: 5.62,
|
|
1423
|
-
y1: 5.42,
|
|
1424
|
-
y2: 14.24,
|
|
1425
|
-
gradientUnits: "userSpaceOnUse"
|
|
1426
|
-
}, /*#__PURE__*/ React__namespace.createElement("stop", {
|
|
1427
|
-
stopColor: "#1582D8"
|
|
1428
|
-
}), /*#__PURE__*/ React__namespace.createElement("stop", {
|
|
1429
|
-
offset: 1,
|
|
1430
|
-
stopColor: "#0A64CC"
|
|
1431
|
-
})), /*#__PURE__*/ React__namespace.createElement("clipPath", {
|
|
1432
|
-
id: "a"
|
|
1433
|
-
}, /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1434
|
-
fill: "#fff",
|
|
1435
|
-
d: "M0 0h20v20H0z"
|
|
1436
|
-
})), /*#__PURE__*/ React__namespace.createElement("filter", {
|
|
1437
|
-
id: "d",
|
|
1438
|
-
width: 53.58,
|
|
1439
|
-
height: 53.4,
|
|
1440
|
-
x: -15.16,
|
|
1441
|
-
y: -10.87,
|
|
1442
|
-
colorInterpolationFilters: "sRGB",
|
|
1443
|
-
filterUnits: "userSpaceOnUse"
|
|
1444
|
-
}, /*#__PURE__*/ React__namespace.createElement("feFlood", {
|
|
1445
|
-
floodOpacity: 0,
|
|
1446
|
-
result: "BackgroundImageFix"
|
|
1447
|
-
}), /*#__PURE__*/ React__namespace.createElement("feColorMatrix", {
|
|
1448
|
-
in: "SourceAlpha",
|
|
1449
|
-
result: "hardAlpha",
|
|
1450
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
1451
|
-
}), /*#__PURE__*/ React__namespace.createElement("feOffset", {
|
|
1452
|
-
dx: 6,
|
|
1453
|
-
dy: 6
|
|
1454
|
-
}), /*#__PURE__*/ React__namespace.createElement("feGaussianBlur", {
|
|
1455
|
-
stdDeviation: 11.14
|
|
1456
|
-
}), /*#__PURE__*/ React__namespace.createElement("feComposite", {
|
|
1457
|
-
in2: "hardAlpha",
|
|
1458
|
-
operator: "out"
|
|
1459
|
-
}), /*#__PURE__*/ React__namespace.createElement("feColorMatrix", {
|
|
1460
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.38 0"
|
|
1461
|
-
}), /*#__PURE__*/ React__namespace.createElement("feBlend", {
|
|
1462
|
-
in2: "BackgroundImageFix",
|
|
1463
|
-
result: "effect1_dropShadow_893_1954"
|
|
1464
|
-
}), /*#__PURE__*/ React__namespace.createElement("feBlend", {
|
|
1465
|
-
in: "SourceGraphic",
|
|
1466
|
-
in2: "effect1_dropShadow_893_1954",
|
|
1467
|
-
result: "shape"
|
|
1468
|
-
}))));
|
|
1469
|
-
|
|
1470
|
-
const SlackIcon$2 = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
|
|
1471
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1472
|
-
width: 20,
|
|
1473
|
-
height: 20,
|
|
1474
|
-
fill: "none",
|
|
1475
|
-
...props
|
|
1476
|
-
}, /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1477
|
-
fill: "#E01E5A",
|
|
1478
|
-
d: "M4.8 12.38a1.89 1.89 0 1 1-1.9-1.9h1.9zm.94 0a1.89 1.89 0 1 1 3.78 0v4.73a1.89 1.89 0 1 1-3.78 0z"
|
|
1479
|
-
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1480
|
-
fill: "#36C5F0",
|
|
1481
|
-
d: "M7.63 4.78A1.89 1.89 0 1 1 9.52 2.9v1.9zm0 .96a1.89 1.89 0 1 1 0 3.79H2.89a1.89 1.89 0 1 1 0-3.79z"
|
|
1482
|
-
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1483
|
-
fill: "#2EB67D",
|
|
1484
|
-
d: "M15.2 7.64a1.89 1.89 0 1 1 1.9 1.89h-1.9zm-.94 0a1.89 1.89 0 1 1-3.78 0V2.89a1.89 1.89 0 1 1 3.78 0z"
|
|
1485
|
-
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
1486
|
-
fill: "#ECB22E",
|
|
1487
|
-
d: "M12.37 15.22a1.89 1.89 0 1 1-1.89 1.89v-1.9zm0-.95a1.89 1.89 0 1 1 0-3.78h4.74a1.89 1.89 0 1 1 0 3.78z"
|
|
1488
|
-
}));
|
|
1489
|
-
|
|
1490
1281
|
/**
|
|
1491
1282
|
* Codifies simple button layout patterns
|
|
1492
1283
|
* - For a single set of buttons, use children
|
|
@@ -1503,8 +1294,8 @@ const SlackIcon$2 = (props)=>/*#__PURE__*/ React__namespace.createElement("svg",
|
|
|
1503
1294
|
/*#__PURE__*/ React__namespace.default.createElement(ButtonColumn, null, props.top), /*#__PURE__*/ React__namespace.default.createElement(Divider, null), /*#__PURE__*/ React__namespace.default.createElement(ButtonColumn, null, props.bottom));
|
|
1504
1295
|
};
|
|
1505
1296
|
|
|
1506
|
-
var css$
|
|
1507
|
-
collectCss(css$
|
|
1297
|
+
var css$b = ".VerticalTransition_module_container__9366f503{display:grid;overflow:clip;width:fit-content}.VerticalTransition_module_primary__9366f503,.VerticalTransition_module_secondary__9366f503{grid-area:1/1/2/2;transition:translate var(--st-transition-duration) ease-in-out}.VerticalTransition_module_secondary__9366f503{translate:0 100%}.VerticalTransition_module_container__9366f503.VerticalTransition_module_triggered__9366f503 .VerticalTransition_module_primary__9366f503,.VerticalTransition_module_hoverTrigger__9366f503:is(:hover,:focus) .VerticalTransition_module_canTriggerByHover__9366f503 .VerticalTransition_module_primary__9366f503{translate:0 -100%}.VerticalTransition_module_container__9366f503.VerticalTransition_module_triggered__9366f503 .VerticalTransition_module_secondary__9366f503,.VerticalTransition_module_hoverTrigger__9366f503:is(:hover,:focus) .VerticalTransition_module_canTriggerByHover__9366f503 .VerticalTransition_module_secondary__9366f503{translate:0 0}";
|
|
1298
|
+
collectCss(css$b);
|
|
1508
1299
|
var modules_654ad754 = {"container":"VerticalTransition_module_container__9366f503","primary":"VerticalTransition_module_primary__9366f503","secondary":"VerticalTransition_module_secondary__9366f503","hoverTrigger":"VerticalTransition_module_hoverTrigger__9366f503","canTriggerByHover":"VerticalTransition_module_canTriggerByHover__9366f503","triggered":"VerticalTransition_module_triggered__9366f503"};
|
|
1509
1300
|
|
|
1510
1301
|
/**
|
|
@@ -1834,8 +1625,8 @@ const ErrorMessages = ({ error })=>{
|
|
|
1834
1625
|
}
|
|
1835
1626
|
};
|
|
1836
1627
|
|
|
1837
|
-
var css$
|
|
1838
|
-
collectCss(css$
|
|
1628
|
+
var css$a = ".Badge_module_badge__c44e2b28{background-color:var(--st-background);border:1px solid var(--st-border);border-radius:var(--st-rounded-base);cursor:default;padding:var(--st-spacing-0_5) var(--st-spacing);width:fit-content}";
|
|
1629
|
+
collectCss(css$a);
|
|
1839
1630
|
var modules_35eb8564 = {"badge":"Badge_module_badge__c44e2b28"};
|
|
1840
1631
|
|
|
1841
1632
|
const Badge = ({ className, children })=>/*#__PURE__*/ React__namespace.default.createElement("div", {
|
|
@@ -1844,8 +1635,8 @@ const Badge = ({ className, children })=>/*#__PURE__*/ React__namespace.default.
|
|
|
1844
1635
|
variant: "helper"
|
|
1845
1636
|
}, children));
|
|
1846
1637
|
|
|
1847
|
-
var css$
|
|
1848
|
-
collectCss(css$
|
|
1638
|
+
var css$9 = ".LastUsed_module_container__4e54ed99{position:relative}.LastUsed_module_badge__4e54ed99{position:absolute;right:var(--st-spacing-3);top:0;translate:0 -60%}[dir=rtl] .LastUsed_module_badge__4e54ed99{left:var(--st-spacing-3);right:auto}.LastUsed_module_badge__4e54ed99:dir(rtl){left:var(--st-spacing-3);right:auto}";
|
|
1639
|
+
collectCss(css$9);
|
|
1849
1640
|
var modules_9331f432 = {"container":"LastUsed_module_container__4e54ed99","badge":"LastUsed_module_badge__4e54ed99"};
|
|
1850
1641
|
|
|
1851
1642
|
const LastUsed = ({ children })=>{
|
|
@@ -1895,8 +1686,8 @@ var Bt=Object.defineProperty,At=Object.defineProperties;var kt=Object.getOwnProp
|
|
|
1895
1686
|
}
|
|
1896
1687
|
}`;
|
|
1897
1688
|
|
|
1898
|
-
var css$
|
|
1899
|
-
collectCss(css$
|
|
1689
|
+
var css$8 = ".OtpInput_module_inputContainer__1e43b599{width:calc(var(--st-spacing)*64)}.-st-mobile .OtpInput_module_inputContainer__1e43b599{width:calc(var(--st-spacing)*70)}.OtpInput_module_slotsContainer__1e43b599{display:flex;gap:var(--st-spacing-2);justify-content:start;width:fit-content}.OtpInput_module_otpSlot__1e43b599{align-items:center;display:flex;height:calc(var(--st-spacing)*9);justify-content:center;width:calc(var(--st-spacing)*9)}.-st-mobile .OtpInput_module_otpSlot__1e43b599{height:calc(var(--st-spacing)*10);width:calc(var(--st-spacing)*10)}.OtpInput_module_disabled__1e43b599 .OtpInput_module_otpSlot__1e43b599{color:var(--st-muted-foreground)}.OtpInput_module_caret__1e43b599{animation:OtpInput_module_caretBlink__1e43b599 1.5s step-start infinite;border-right:1px solid var(--st-foreground);display:inline-block;height:calc(var(--st-text-sm)*1.25);width:0}.OtpInput_module_safari__1e43b599 .OtpInput_module_caret__1e43b599{animation:OtpInput_module_caretBlink__1e43b599 1s ease-in-out infinite;border-right-width:2px}@keyframes OtpInput_module_caretBlink__1e43b599{0%,to{opacity:0}50%{opacity:1}}";
|
|
1690
|
+
collectCss(css$8);
|
|
1900
1691
|
var modules_6ff17004 = {"inputContainer":"OtpInput_module_inputContainer__1e43b599","slotsContainer":"OtpInput_module_slotsContainer__1e43b599","otpSlot":"OtpInput_module_otpSlot__1e43b599 inputBase_module_inputBase__06c14ae4","disabled":"OtpInput_module_disabled__1e43b599","active":"OtpInput_module_active__1e43b599 inputBase_module_forceFocusRing__06c14ae4","caret":"OtpInput_module_caret__1e43b599","safari":"OtpInput_module_safari__1e43b599"};
|
|
1901
1692
|
|
|
1902
1693
|
const OTP_LENGTH = 6;
|
|
@@ -1940,8 +1731,8 @@ const OtpInput = ({ defaultOtp, onSubmit, disabled, ...additionalProps })=>{
|
|
|
1940
1731
|
});
|
|
1941
1732
|
};
|
|
1942
1733
|
|
|
1943
|
-
var css$
|
|
1944
|
-
collectCss(css$
|
|
1734
|
+
var css$7 = ".LoadingBar_module_container__3a991498{background-color:var(--st-muted);border-radius:var(--st-rounded-full);height:var(--st-spacing);overflow:clip}.LoadingBar_module_progress__3a991498{animation:LoadingBar_module_loading__3a991498 10s cubic-bezier(.22,1,.36,1);background-color:var(--st-primary);height:100%;width:100%}@keyframes LoadingBar_module_loading__3a991498{0%{transform:translateX(-100%)}to{transform:translateX(-1%)}}";
|
|
1735
|
+
collectCss(css$7);
|
|
1945
1736
|
var modules_2f9e3bf6 = {"container":"LoadingBar_module_container__3a991498","progress":"LoadingBar_module_progress__3a991498"};
|
|
1946
1737
|
|
|
1947
1738
|
/**
|
|
@@ -1953,8 +1744,8 @@ var modules_2f9e3bf6 = {"container":"LoadingBar_module_container__3a991498","pro
|
|
|
1953
1744
|
className: modules_2f9e3bf6.progress
|
|
1954
1745
|
}));
|
|
1955
1746
|
|
|
1956
|
-
var css$
|
|
1957
|
-
collectCss(css$
|
|
1747
|
+
var css$6 = ".AnimatedContainer_module_container__fb438508{display:grid;grid-template-rows:0fr;transition:grid-template-rows var(--st-transition-duration) ease-out}.AnimatedContainer_module_open__fb438508{grid-template-rows:1fr}.AnimatedContainer_module_inner__fb438508{min-height:0;overflow:clip}";
|
|
1748
|
+
collectCss(css$6);
|
|
1958
1749
|
var modules_d098bf60 = {"container":"AnimatedContainer_module_container__fb438508","open":"AnimatedContainer_module_open__fb438508","inner":"AnimatedContainer_module_inner__fb438508"};
|
|
1959
1750
|
|
|
1960
1751
|
const AnimatedContainer = ({ isOpen, children })=>/*#__PURE__*/ React__namespace.default.createElement("div", {
|
|
@@ -1967,8 +1758,8 @@ const AnimatedContainer = ({ isOpen, children })=>/*#__PURE__*/ React__namespace
|
|
|
1967
1758
|
"aria-hidden": !isOpen
|
|
1968
1759
|
}, children));
|
|
1969
1760
|
|
|
1970
|
-
var css$
|
|
1971
|
-
collectCss(css$
|
|
1761
|
+
var css$5 = ".OTPEntry_module_progressInner__6b10f31d{padding-top:var(--st-spacing-2)}";
|
|
1762
|
+
collectCss(css$5);
|
|
1972
1763
|
var modules_929e05ad = {"progressInner":"OTPEntry_module_progressInner__6b10f31d"};
|
|
1973
1764
|
|
|
1974
1765
|
const OTPEntry = ({ header, helperContent, instruction, isSubmitting, onSubmit, errorMessage })=>{
|
|
@@ -2126,8 +1917,8 @@ const PasswordInput = ({ password, setPassword, type, ...additionalProps })=>{
|
|
|
2126
1917
|
});
|
|
2127
1918
|
};
|
|
2128
1919
|
|
|
2129
|
-
var css$
|
|
2130
|
-
collectCss(css$
|
|
1920
|
+
var css$4 = ".PasswordStrengthCheck_module_container__75d2aaf0{border-radius:var(--st-rounded-full);display:flex;gap:var(--st-spacing-0_5);height:0;overflow:clip;transition:height var(--st-transition-duration)}.PasswordStrengthCheck_module_container__75d2aaf0:is(.PasswordStrengthCheck_module_weak__75d2aaf0,.PasswordStrengthCheck_module_strong__75d2aaf0){height:var(--st-spacing)}.PasswordStrengthCheck_module_block__75d2aaf0{background:var(--st-muted);flex:1 1 auto;height:var(--st-spacing)}.PasswordStrengthCheck_module_weak__75d2aaf0 .PasswordStrengthCheck_module_block__75d2aaf0.PasswordStrengthCheck_module_filled__75d2aaf0{background:var(--st-destructive)}.PasswordStrengthCheck_module_strong__75d2aaf0 .PasswordStrengthCheck_module_block__75d2aaf0.PasswordStrengthCheck_module_filled__75d2aaf0{background:var(--st-success)}";
|
|
1921
|
+
collectCss(css$4);
|
|
2131
1922
|
var modules_8479f250 = {"container":"PasswordStrengthCheck_module_container__75d2aaf0","weak":"PasswordStrengthCheck_module_weak__75d2aaf0","strong":"PasswordStrengthCheck_module_strong__75d2aaf0","block":"PasswordStrengthCheck_module_block__75d2aaf0","filled":"PasswordStrengthCheck_module_filled__75d2aaf0"};
|
|
2132
1923
|
|
|
2133
1924
|
const PasswordStrengthCheck = ({ score })=>{
|
|
@@ -2154,8 +1945,8 @@ const PasswordStrengthCheck = ({ score })=>{
|
|
|
2154
1945
|
}))));
|
|
2155
1946
|
};
|
|
2156
1947
|
|
|
2157
|
-
var css$
|
|
2158
|
-
collectCss(css$
|
|
1948
|
+
var css$3 = ".PasswordError_module_item__c070e7fb{margin-left:var(--st-spacing-6);text-indent:calc(var(--st-spacing-6)*-1)}.PasswordError_module_item__c070e7fb svg{display:inline-block;height:var(--st-spacing-4);margin-right:var(--st-spacing-2);vertical-align:middle;width:var(--st-spacing-4)}.PasswordError_module_bullet__c070e7fb{display:inline-block;margin-right:var(--st-spacing-2);text-align:center;text-indent:0;width:var(--st-spacing-4)}.PasswordError_module_bullet__c070e7fb:before{content:\"•\"}";
|
|
1949
|
+
collectCss(css$3);
|
|
2159
1950
|
var modules_c0befac8 = {"item":"PasswordError_module_item__c070e7fb","bullet":"PasswordError_module_bullet__c070e7fb"};
|
|
2160
1951
|
|
|
2161
1952
|
// This list of warnings and suggestions should be exhaustive, and is pulled from https://github.com/stytchauth/zxcvbn/blob/main/feedback/feedback.go
|
|
@@ -2412,8 +2203,8 @@ function getNewPasswordProps(bootstrap, passwordPolicy) {
|
|
|
2412
2203
|
};
|
|
2413
2204
|
}
|
|
2414
2205
|
|
|
2415
|
-
var css$
|
|
2416
|
-
collectCss(css$
|
|
2206
|
+
var css$2 = ".Loading_module_loadingScreen__1c53715a{display:flex;justify-content:center}";
|
|
2207
|
+
collectCss(css$2);
|
|
2417
2208
|
var modules_47ae913e = {"loadingScreen":"Loading_module_loadingScreen__1c53715a"};
|
|
2418
2209
|
|
|
2419
2210
|
const LoggingInScreen = ()=>{
|
|
@@ -2432,6 +2223,229 @@ const LoadingScreen = ()=>/*#__PURE__*/ React__namespace.createElement("div", {
|
|
|
2432
2223
|
size: 32
|
|
2433
2224
|
}));
|
|
2434
2225
|
|
|
2226
|
+
var css$1 = ".logo_module_darkInvert__4ffe6ba9{filter:invert(var(--st-dark-mode,0))}";
|
|
2227
|
+
collectCss(css$1);
|
|
2228
|
+
var modules_73af8a26 = {"darkInvert":"logo_module_darkInvert__4ffe6ba9"};
|
|
2229
|
+
|
|
2230
|
+
const GithubIcon$2 = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
|
|
2231
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2232
|
+
width: 20,
|
|
2233
|
+
height: 20,
|
|
2234
|
+
fill: "none",
|
|
2235
|
+
...props
|
|
2236
|
+
}, /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2237
|
+
fill: "#24292F",
|
|
2238
|
+
fillRule: "evenodd",
|
|
2239
|
+
d: "M9.97 1A9.1 9.1 0 0 0 1 10.23a9.2 9.2 0 0 0 6.14 8.75c.44.1.6-.2.6-.44l-.01-1.71c-2.5.55-3.02-1.1-3.02-1.1-.4-1.07-1-1.35-1-1.35-.8-.56.07-.56.07-.56.9.06 1.38.95 1.38.95.8 1.4 2.1 1 2.61.76.08-.6.32-1 .57-1.24-2-.21-4.09-1-4.09-4.55 0-1 .36-1.83.92-2.48-.08-.22-.4-1.17.1-2.44 0 0 .75-.24 2.46.95a8.5 8.5 0 0 1 4.49 0c1.7-1.2 2.46-.95 2.46-.95.5 1.27.18 2.22.1 2.44.57.65.91 1.47.91 2.48 0 3.54-2.1 4.32-4.1 4.55.33.3.61.84.61 1.71l-.01 2.54c0 .24.16.53.6.44a9.2 9.2 0 0 0 6.14-8.75A9.1 9.1 0 0 0 9.97 1",
|
|
2240
|
+
clipRule: "evenodd",
|
|
2241
|
+
className: modules_73af8a26.darkInvert
|
|
2242
|
+
}));
|
|
2243
|
+
|
|
2244
|
+
const GmailIcon$2 = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
|
|
2245
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2246
|
+
width: 20,
|
|
2247
|
+
height: 20,
|
|
2248
|
+
fill: "none",
|
|
2249
|
+
...props
|
|
2250
|
+
}, /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2251
|
+
fill: "#C5221F",
|
|
2252
|
+
d: "M1 5.1v1.63l1.88 1.82L5.09 9.8l.41-2.76-.4-2.56-1.15-.86A1.84 1.84 0 0 0 1 5.09"
|
|
2253
|
+
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2254
|
+
fill: "#FBBC04",
|
|
2255
|
+
d: "m14.9 4.48-.4 2.6.4 2.72 2.02-1L19 6.73V5.09a1.84 1.84 0 0 0-2.95-1.47z"
|
|
2256
|
+
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2257
|
+
fill: "#4285F4",
|
|
2258
|
+
d: "M2.23 16.75h2.86V9.8L1 6.73v8.8c0 .67.55 1.22 1.23 1.22"
|
|
2259
|
+
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2260
|
+
fill: "#34A853",
|
|
2261
|
+
d: "M14.9 16.75h2.87c.68 0 1.23-.55 1.23-1.23v-8.8L14.9 9.8z"
|
|
2262
|
+
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2263
|
+
fill: "#EA4335",
|
|
2264
|
+
d: "M10 8.16 5.1 4.48V9.8l4.9 3.68 4.9-3.68V4.48z"
|
|
2265
|
+
}));
|
|
2266
|
+
|
|
2267
|
+
const GoogleIcon$2 = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
|
|
2268
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2269
|
+
width: 20,
|
|
2270
|
+
height: 20,
|
|
2271
|
+
fill: "none",
|
|
2272
|
+
...props
|
|
2273
|
+
}, /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2274
|
+
fill: "#4285F4",
|
|
2275
|
+
d: "M18.82 10.2q0-.95-.16-1.84h-8.48v3.49h4.84a4.2 4.2 0 0 1-1.8 2.7v2.27h2.92a8.8 8.8 0 0 0 2.68-6.62"
|
|
2276
|
+
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2277
|
+
fill: "#34A853",
|
|
2278
|
+
d: "M10.18 19c2.43 0 4.47-.8 5.96-2.18l-2.92-2.26c-.8.54-1.83.86-3.04.86a5.4 5.4 0 0 1-5.04-3.7h-3v2.32A9 9 0 0 0 10.19 19"
|
|
2279
|
+
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2280
|
+
fill: "#FBBC05",
|
|
2281
|
+
d: "M5.14 11.71a5.4 5.4 0 0 1 0-3.42V5.97h-3a8.9 8.9 0 0 0 0 8.06l2.34-1.81z"
|
|
2282
|
+
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2283
|
+
fill: "#EA4335",
|
|
2284
|
+
d: "M10.18 4.58q2.01 0 3.44 1.35l2.58-2.58A8.98 8.98 0 0 0 2.14 5.97l3 2.32a5.4 5.4 0 0 1 5.04-3.7"
|
|
2285
|
+
}));
|
|
2286
|
+
|
|
2287
|
+
const MicrosoftIcon$2 = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
|
|
2288
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2289
|
+
width: 20,
|
|
2290
|
+
height: 20,
|
|
2291
|
+
fill: "none",
|
|
2292
|
+
...props
|
|
2293
|
+
}, /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2294
|
+
fill: "#F35325",
|
|
2295
|
+
d: "M1 1h8.57v8.57H1z"
|
|
2296
|
+
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2297
|
+
fill: "#81BC06",
|
|
2298
|
+
d: "M10.43 1H19v8.57h-8.57z"
|
|
2299
|
+
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2300
|
+
fill: "#05A6F0",
|
|
2301
|
+
d: "M1 10.43h8.57V19H1z"
|
|
2302
|
+
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2303
|
+
fill: "#FFBA08",
|
|
2304
|
+
d: "M10.43 10.43H19V19h-8.57z"
|
|
2305
|
+
}));
|
|
2306
|
+
|
|
2307
|
+
const OutlookIcon$2 = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
|
|
2308
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2309
|
+
width: 20,
|
|
2310
|
+
height: 20,
|
|
2311
|
+
fill: "none",
|
|
2312
|
+
...props
|
|
2313
|
+
}, /*#__PURE__*/ React__namespace.createElement("g", {
|
|
2314
|
+
clipPath: "url(#a)"
|
|
2315
|
+
}, /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2316
|
+
fill: "#158FDA",
|
|
2317
|
+
d: "M6.58 17.2h10.25c1.2 0 2.17-.97 2.17-2.17V7.7c0-.64-.32-1.22-.87-1.54L12.77 3.1c-.72-.4-1.6-.4-2.3 0L4.39 6.6V15c0 1.21.98 2.2 2.2 2.2"
|
|
2318
|
+
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2319
|
+
fill: "url(#b)",
|
|
2320
|
+
d: "M8.61 15.82c.06-.66.48-1.24 1.09-1.5 0 0 5.55-3.11 8.3-4.73.85-.5 1-1.5 1-1.5V15a2.2 2.2 0 0 1-2.2 2.2h-6.65c-.8 0-1.46-.6-1.54-1.4"
|
|
2321
|
+
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2322
|
+
fill: "#01459B",
|
|
2323
|
+
d: "m17.83 5.96-9.55 5.27 1.9 1.16c.71.42 1.74.66 2.46.25l5.08-2.85A2.3 2.3 0 0 0 19 7.69c0-1.1-.76-1.47-1.17-1.73"
|
|
2324
|
+
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2325
|
+
fill: "#26AEE9",
|
|
2326
|
+
d: "M11.67 2.81q-.63 0-1.21.32L2.4 7.68l3.06 1.85 9.37-5.28-1.95-1.11q-.57-.33-1.2-.33"
|
|
2327
|
+
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2328
|
+
fill: "#0078D3",
|
|
2329
|
+
d: "M14.83 4.25 5.46 9.53l3.06 1.86 9.56-5.27-.25-.16z"
|
|
2330
|
+
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2331
|
+
fill: "url(#c)",
|
|
2332
|
+
d: "M1.88 5.42h7.5a.74.74 0 0 1 .75.74l-.03 7.32a.76.76 0 0 1-.76.76H1.9a.8.8 0 0 1-.78-.78l.03-7.33a.7.7 0 0 1 .72-.71"
|
|
2333
|
+
}), /*#__PURE__*/ React__namespace.createElement("g", {
|
|
2334
|
+
filter: "url(#d)"
|
|
2335
|
+
}, /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2336
|
+
fill: "url(#e)",
|
|
2337
|
+
d: "M1.88 5.42h7.5a.74.74 0 0 1 .75.74l-.03 7.32a.76.76 0 0 1-.76.76H1.9a.8.8 0 0 1-.78-.78l.03-7.33a.7.7 0 0 1 .72-.71"
|
|
2338
|
+
})), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2339
|
+
fill: "#fff",
|
|
2340
|
+
d: "M3.46 8.58q.28-.6.84-.94.64-.36 1.36-.36.69-.02 1.27.3.56.3.85.87.32.6.32 1.3.02.7-.28 1.36a2.2 2.2 0 0 1-1.1 1.06q-.52.21-1.05.21-.7.03-1.3-.3-.57-.3-.86-.87-.32-.6-.32-1.28-.02-.7.27-1.35m.95 2.15q.16.37.5.6t.75.21q.45 0 .8-.24.33-.24.47-.62.15-.41.13-.85 0-.44-.15-.85a1.4 1.4 0 0 0-.47-.63 1.3 1.3 0 0 0-.8-.23 1.3 1.3 0 0 0-1.25.86c-.22.57-.2 1.2.02 1.75"
|
|
2341
|
+
})), /*#__PURE__*/ React__namespace.createElement("defs", null, /*#__PURE__*/ React__namespace.createElement("linearGradient", {
|
|
2342
|
+
id: "b",
|
|
2343
|
+
x1: 12.02,
|
|
2344
|
+
x2: 19,
|
|
2345
|
+
y1: 15.58,
|
|
2346
|
+
y2: 12.64,
|
|
2347
|
+
gradientUnits: "userSpaceOnUse"
|
|
2348
|
+
}, /*#__PURE__*/ React__namespace.createElement("stop", {
|
|
2349
|
+
stopColor: "#4DE2FB"
|
|
2350
|
+
}), /*#__PURE__*/ React__namespace.createElement("stop", {
|
|
2351
|
+
offset: 1,
|
|
2352
|
+
stopColor: "#28AEE8"
|
|
2353
|
+
})), /*#__PURE__*/ React__namespace.createElement("linearGradient", {
|
|
2354
|
+
id: "c",
|
|
2355
|
+
x1: 5.63,
|
|
2356
|
+
x2: 5.62,
|
|
2357
|
+
y1: 5.42,
|
|
2358
|
+
y2: 14.24,
|
|
2359
|
+
gradientUnits: "userSpaceOnUse"
|
|
2360
|
+
}, /*#__PURE__*/ React__namespace.createElement("stop", {
|
|
2361
|
+
stopColor: "#1582D8"
|
|
2362
|
+
}), /*#__PURE__*/ React__namespace.createElement("stop", {
|
|
2363
|
+
offset: 1,
|
|
2364
|
+
stopColor: "#0A64CC"
|
|
2365
|
+
})), /*#__PURE__*/ React__namespace.createElement("linearGradient", {
|
|
2366
|
+
id: "e",
|
|
2367
|
+
x1: 5.63,
|
|
2368
|
+
x2: 5.62,
|
|
2369
|
+
y1: 5.42,
|
|
2370
|
+
y2: 14.24,
|
|
2371
|
+
gradientUnits: "userSpaceOnUse"
|
|
2372
|
+
}, /*#__PURE__*/ React__namespace.createElement("stop", {
|
|
2373
|
+
stopColor: "#1582D8"
|
|
2374
|
+
}), /*#__PURE__*/ React__namespace.createElement("stop", {
|
|
2375
|
+
offset: 1,
|
|
2376
|
+
stopColor: "#0A64CC"
|
|
2377
|
+
})), /*#__PURE__*/ React__namespace.createElement("clipPath", {
|
|
2378
|
+
id: "a"
|
|
2379
|
+
}, /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2380
|
+
fill: "#fff",
|
|
2381
|
+
d: "M0 0h20v20H0z"
|
|
2382
|
+
})), /*#__PURE__*/ React__namespace.createElement("filter", {
|
|
2383
|
+
id: "d",
|
|
2384
|
+
width: 53.58,
|
|
2385
|
+
height: 53.4,
|
|
2386
|
+
x: -15.16,
|
|
2387
|
+
y: -10.87,
|
|
2388
|
+
colorInterpolationFilters: "sRGB",
|
|
2389
|
+
filterUnits: "userSpaceOnUse"
|
|
2390
|
+
}, /*#__PURE__*/ React__namespace.createElement("feFlood", {
|
|
2391
|
+
floodOpacity: 0,
|
|
2392
|
+
result: "BackgroundImageFix"
|
|
2393
|
+
}), /*#__PURE__*/ React__namespace.createElement("feColorMatrix", {
|
|
2394
|
+
in: "SourceAlpha",
|
|
2395
|
+
result: "hardAlpha",
|
|
2396
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
2397
|
+
}), /*#__PURE__*/ React__namespace.createElement("feOffset", {
|
|
2398
|
+
dx: 6,
|
|
2399
|
+
dy: 6
|
|
2400
|
+
}), /*#__PURE__*/ React__namespace.createElement("feGaussianBlur", {
|
|
2401
|
+
stdDeviation: 11.14
|
|
2402
|
+
}), /*#__PURE__*/ React__namespace.createElement("feComposite", {
|
|
2403
|
+
in2: "hardAlpha",
|
|
2404
|
+
operator: "out"
|
|
2405
|
+
}), /*#__PURE__*/ React__namespace.createElement("feColorMatrix", {
|
|
2406
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.38 0"
|
|
2407
|
+
}), /*#__PURE__*/ React__namespace.createElement("feBlend", {
|
|
2408
|
+
in2: "BackgroundImageFix",
|
|
2409
|
+
result: "effect1_dropShadow_893_1954"
|
|
2410
|
+
}), /*#__PURE__*/ React__namespace.createElement("feBlend", {
|
|
2411
|
+
in: "SourceGraphic",
|
|
2412
|
+
in2: "effect1_dropShadow_893_1954",
|
|
2413
|
+
result: "shape"
|
|
2414
|
+
}))));
|
|
2415
|
+
|
|
2416
|
+
const SlackIcon$2 = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
|
|
2417
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2418
|
+
width: 20,
|
|
2419
|
+
height: 20,
|
|
2420
|
+
fill: "none",
|
|
2421
|
+
...props
|
|
2422
|
+
}, /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2423
|
+
fill: "#E01E5A",
|
|
2424
|
+
d: "M4.8 12.38a1.89 1.89 0 1 1-1.9-1.9h1.9zm.94 0a1.89 1.89 0 1 1 3.78 0v4.73a1.89 1.89 0 1 1-3.78 0z"
|
|
2425
|
+
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2426
|
+
fill: "#36C5F0",
|
|
2427
|
+
d: "M7.63 4.78A1.89 1.89 0 1 1 9.52 2.9v1.9zm0 .96a1.89 1.89 0 1 1 0 3.79H2.89a1.89 1.89 0 1 1 0-3.79z"
|
|
2428
|
+
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2429
|
+
fill: "#2EB67D",
|
|
2430
|
+
d: "M15.2 7.64a1.89 1.89 0 1 1 1.9 1.89h-1.9zm-.94 0a1.89 1.89 0 1 1-3.78 0V2.89a1.89 1.89 0 1 1 3.78 0z"
|
|
2431
|
+
}), /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2432
|
+
fill: "#ECB22E",
|
|
2433
|
+
d: "M12.37 15.22a1.89 1.89 0 1 1-1.89 1.89v-1.9zm0-.95a1.89 1.89 0 1 1 0-3.78h4.74a1.89 1.89 0 1 1 0 3.78z"
|
|
2434
|
+
}));
|
|
2435
|
+
|
|
2436
|
+
const YahooIcon$2 = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
|
|
2437
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2438
|
+
width: 20,
|
|
2439
|
+
height: 20,
|
|
2440
|
+
fill: "none",
|
|
2441
|
+
...props
|
|
2442
|
+
}, /*#__PURE__*/ React__namespace.createElement("path", {
|
|
2443
|
+
fill: "#5F01D2",
|
|
2444
|
+
fillRule: "evenodd",
|
|
2445
|
+
d: "M1 5.74 4.92 15l-1.4 3.33h3.44l5.23-12.6H8.76l-2.13 5.4-2.1-5.4zm9.47 7.24c0 1.16.9 2.1 2.1 2.1 1.25 0 2.19-.98 2.19-2.17 0-1.18-.9-2.11-2.11-2.11-1.25 0-2.18 1-2.18 2.18m4.68-11.31L11.7 9.99h3.85L19 1.67z",
|
|
2446
|
+
clipRule: "evenodd"
|
|
2447
|
+
}));
|
|
2448
|
+
|
|
2435
2449
|
const ConsentManifestGeneratorContext = /*#__PURE__*/ React.createContext(undefined);
|
|
2436
2450
|
const TrustedAuthTokenParamsContext = /*#__PURE__*/ React.createContext(undefined);
|
|
2437
2451
|
const IDPContextProvider = ({ children, consentManifestGenerator, authTokenParams })=>{
|
|
@@ -3336,7 +3350,7 @@ const useIDPState = ({ initialError, initialParams, oauthAuthorizeStart, oauthAu
|
|
|
3336
3350
|
const [state, dispatch] = React.useReducer(idpStateReducer, initialState$1(initialError, initialParams));
|
|
3337
3351
|
React.useEffect(()=>{
|
|
3338
3352
|
if (!initialError) return;
|
|
3339
|
-
onError(new
|
|
3353
|
+
onError(new dev.IDPOAuthFlowMissingParamError(initialError));
|
|
3340
3354
|
}, [
|
|
3341
3355
|
initialError,
|
|
3342
3356
|
onError
|
|
@@ -3396,7 +3410,7 @@ const useIDPState = ({ initialError, initialParams, oauthAuthorizeStart, oauthAu
|
|
|
3396
3410
|
try {
|
|
3397
3411
|
startResponse = await oauthAuthorizeStart(initialParams);
|
|
3398
3412
|
} catch (e) {
|
|
3399
|
-
const err =
|
|
3413
|
+
const err = dev.StytchAPIError.from(e);
|
|
3400
3414
|
const message = err.error_message;
|
|
3401
3415
|
dispatch({
|
|
3402
3416
|
type: 'PREFLIGHT_ERROR',
|
|
@@ -3621,7 +3635,7 @@ const useLogoutState = ({ initialError, initialParams, oauthLogoutStart, revokeS
|
|
|
3621
3635
|
const [state, dispatch] = React.useReducer(logoutStateReducer, initialState(initialError));
|
|
3622
3636
|
React.useEffect(()=>{
|
|
3623
3637
|
if (!initialError) return;
|
|
3624
|
-
onError(new
|
|
3638
|
+
onError(new dev.IDPOAuthFlowMissingParamError(initialError));
|
|
3625
3639
|
}, [
|
|
3626
3640
|
initialError,
|
|
3627
3641
|
onError
|
|
@@ -3646,7 +3660,7 @@ const useLogoutState = ({ initialError, initialParams, oauthLogoutStart, revokeS
|
|
|
3646
3660
|
try {
|
|
3647
3661
|
startResponse = await oauthLogoutStart(initialParams);
|
|
3648
3662
|
} catch (e) {
|
|
3649
|
-
const err =
|
|
3663
|
+
const err = dev.StytchAPIError.from(e);
|
|
3650
3664
|
const message = err.error_message;
|
|
3651
3665
|
dispatch({
|
|
3652
3666
|
type: 'PREFLIGHT_ERROR',
|
|
@@ -4526,6 +4540,7 @@ exports.SlackIcon = SlackIcon$2;
|
|
|
4526
4540
|
exports.TextColumn = TextColumn;
|
|
4527
4541
|
exports.Typography = Typography;
|
|
4528
4542
|
exports.VerticalTransition = VerticalTransition;
|
|
4543
|
+
exports.YahooIcon = YahooIcon$2;
|
|
4529
4544
|
exports.arrayUtils = arrayUtils;
|
|
4530
4545
|
exports.buttonClassNames = buttonClassNames;
|
|
4531
4546
|
exports.canGoBack = canGoBack;
|
|
@@ -4564,4 +4579,4 @@ exports.usePresentationWithDefault = usePresentationWithDefault;
|
|
|
4564
4579
|
exports.useStytch = useStytch;
|
|
4565
4580
|
exports.useTimedBoolean = useTimedBoolean;
|
|
4566
4581
|
exports.useTrustedAuthTokenParams = useTrustedAuthTokenParams;
|
|
4567
|
-
//# sourceMappingURL=shadcn-
|
|
4582
|
+
//# sourceMappingURL=shadcn-DnNfms7-.js.map
|