@ory/elements-react 1.0.0-next.27 → 1.0.0-next.29
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 +21 -0
- package/dist/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +4 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -8
- package/dist/index.mjs.map +1 -1
- package/dist/theme/default/index.css +0 -8
- package/dist/theme/default/index.css.map +1 -1
- package/dist/theme/default/index.js +71 -62
- package/dist/theme/default/index.js.map +1 -1
- package/dist/theme/default/index.mjs +70 -61
- package/dist/theme/default/index.mjs.map +1 -1
- package/dist/theme/default/tailwind/defaults.d.mts +737 -0
- package/dist/theme/default/tailwind/defaults.d.ts +737 -0
- package/package.json +1 -1
|
@@ -943,7 +943,7 @@ function DefaultMessage({ message }) {
|
|
|
943
943
|
);
|
|
944
944
|
}
|
|
945
945
|
|
|
946
|
-
// src/theme/default/components/card/auth-
|
|
946
|
+
// src/theme/default/components/card/auth-method-list-item.tsx
|
|
947
947
|
var import_react_intl5 = require("react-intl");
|
|
948
948
|
|
|
949
949
|
// src/theme/default/assets/icons/code.svg
|
|
@@ -987,13 +987,14 @@ function isGroupImmediateSubmit(group) {
|
|
|
987
987
|
return group === "code";
|
|
988
988
|
}
|
|
989
989
|
|
|
990
|
-
// src/theme/default/components/card/auth-
|
|
990
|
+
// src/theme/default/components/card/auth-method-list-item.tsx
|
|
991
991
|
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
992
992
|
var iconsMap = {
|
|
993
993
|
code: code_default,
|
|
994
994
|
passkey: passkey_default,
|
|
995
995
|
password: password_default,
|
|
996
|
-
webauthn: webauthn_default
|
|
996
|
+
webauthn: webauthn_default,
|
|
997
|
+
...provider_logos_default
|
|
997
998
|
};
|
|
998
999
|
function DefaultAuthMethodListItem({
|
|
999
1000
|
onClick,
|
|
@@ -1001,29 +1002,24 @@ function DefaultAuthMethodListItem({
|
|
|
1001
1002
|
}) {
|
|
1002
1003
|
const intl = (0, import_react_intl5.useIntl)();
|
|
1003
1004
|
const Icon = iconsMap[group] || null;
|
|
1004
|
-
return /* @__PURE__ */ (0, import_jsx_runtime31.
|
|
1005
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
1005
1006
|
"button",
|
|
1006
1007
|
{
|
|
1007
|
-
className: "flex cursor-pointer gap-3
|
|
1008
|
+
className: "flex cursor-pointer gap-3 text-left items-start w-full rounded-buttons p-2 hover:bg-interface-background-default-primary-hover",
|
|
1008
1009
|
onClick,
|
|
1009
1010
|
type: isGroupImmediateSubmit(group) ? "submit" : "button",
|
|
1010
1011
|
"data-testid": `ory/form/auth-picker/${group}`,
|
|
1011
|
-
"aria-label": `Authenticate with ${group}`,
|
|
1012
1012
|
children: [
|
|
1013
|
-
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "mt-1", children: Icon && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1014
|
-
Icon,
|
|
1015
|
-
{
|
|
1016
|
-
size: 16,
|
|
1017
|
-
className: "text-interface-foreground-brand-primary"
|
|
1018
|
-
}
|
|
1019
|
-
) }),
|
|
1013
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "mt-1", children: Icon && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Icon, { size: 16, className: "text-interface-foreground-brand-primary" }) }),
|
|
1020
1014
|
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("span", { className: "flex-1 leading-normal inline-flex flex-col", children: [
|
|
1021
1015
|
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "text-interface-foreground-default-primary", children: intl.formatMessage({ id: `two-step.${group}.title` }) }),
|
|
1022
|
-
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "text-interface-foreground-default-secondary", children: intl.formatMessage({
|
|
1016
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "text-interface-foreground-default-secondary", children: intl.formatMessage({
|
|
1017
|
+
id: `two-step.${group}.description`
|
|
1018
|
+
}) })
|
|
1023
1019
|
] })
|
|
1024
1020
|
]
|
|
1025
1021
|
}
|
|
1026
|
-
)
|
|
1022
|
+
);
|
|
1027
1023
|
}
|
|
1028
1024
|
|
|
1029
1025
|
// src/theme/default/components/form/button.tsx
|
|
@@ -1854,6 +1850,10 @@ var DefaultPageHeader = (_props) => {
|
|
|
1854
1850
|
] }) }) });
|
|
1855
1851
|
};
|
|
1856
1852
|
|
|
1853
|
+
// src/theme/default/components/settings/settings-oidc.tsx
|
|
1854
|
+
var import_react7 = require("react");
|
|
1855
|
+
var import_react_hook_form8 = require("react-hook-form");
|
|
1856
|
+
|
|
1857
1857
|
// src/theme/default/assets/icons/trash.svg
|
|
1858
1858
|
var React25 = __toESM(require("react"));
|
|
1859
1859
|
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
@@ -1864,8 +1864,6 @@ var SvgTrash = (props) => {
|
|
|
1864
1864
|
var trash_default = SvgTrash;
|
|
1865
1865
|
|
|
1866
1866
|
// src/theme/default/components/settings/settings-oidc.tsx
|
|
1867
|
-
var import_react_hook_form8 = require("react-hook-form");
|
|
1868
|
-
var import_react7 = require("react");
|
|
1869
1867
|
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
1870
1868
|
function DefaultSettingsOidc({
|
|
1871
1869
|
linkButtons,
|
|
@@ -1906,8 +1904,10 @@ function UnlinkRow({ button }) {
|
|
|
1906
1904
|
const provider = (_b = extractProvider((_a = button.meta.label) == null ? void 0 : _a.context)) != null ? _b : "";
|
|
1907
1905
|
const Logo = attrs.value in provider_logos_default ? provider_logos_default[attrs.value] : provider_logos_default.generic;
|
|
1908
1906
|
const localOnClick = () => {
|
|
1909
|
-
setClicked(true);
|
|
1910
1907
|
button.onClick();
|
|
1908
|
+
setTimeout(() => {
|
|
1909
|
+
setClicked(true);
|
|
1910
|
+
}, 100);
|
|
1911
1911
|
};
|
|
1912
1912
|
(0, import_react7.useEffect)(() => {
|
|
1913
1913
|
if (!isSubmitting) {
|
|
@@ -2360,9 +2360,17 @@ function DefaultSettingsWebauthn({
|
|
|
2360
2360
|
] });
|
|
2361
2361
|
}
|
|
2362
2362
|
|
|
2363
|
+
// src/theme/default/components/card/auth-method-list-container.tsx
|
|
2364
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
2365
|
+
function DefaultAuthMethodListContainer({
|
|
2366
|
+
children
|
|
2367
|
+
}) {
|
|
2368
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "grid grid-cols-1 gap-2", children });
|
|
2369
|
+
}
|
|
2370
|
+
|
|
2363
2371
|
// src/theme/default/components/default-components.tsx
|
|
2364
2372
|
function getOryComponents(overrides) {
|
|
2365
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa;
|
|
2373
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha;
|
|
2366
2374
|
return {
|
|
2367
2375
|
Card: {
|
|
2368
2376
|
Root: (_b = (_a = overrides == null ? void 0 : overrides.Card) == null ? void 0 : _a.Root) != null ? _b : DefaultCard,
|
|
@@ -2371,55 +2379,56 @@ function getOryComponents(overrides) {
|
|
|
2371
2379
|
Content: (_h = (_g = overrides == null ? void 0 : overrides.Card) == null ? void 0 : _g.Content) != null ? _h : DefaultCardContent,
|
|
2372
2380
|
Logo: (_j = (_i = overrides == null ? void 0 : overrides.Card) == null ? void 0 : _i.Logo) != null ? _j : DefaultCardLogo,
|
|
2373
2381
|
Divider: (_l = (_k = overrides == null ? void 0 : overrides.Card) == null ? void 0 : _k.Divider) != null ? _l : DefaultHorizontalDivider,
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2382
|
+
AuthMethodListContainer: (_n = (_m = overrides == null ? void 0 : overrides.Card) == null ? void 0 : _m.AuthMethodListContainer) != null ? _n : DefaultAuthMethodListContainer,
|
|
2383
|
+
AuthMethodListItem: (_p = (_o = overrides == null ? void 0 : overrides.Card) == null ? void 0 : _o.AuthMethodListItem) != null ? _p : DefaultAuthMethodListItem,
|
|
2384
|
+
SettingsSection: (_r = (_q = overrides == null ? void 0 : overrides.Card) == null ? void 0 : _q.SettingsSection) != null ? _r : DefaultFormSection,
|
|
2385
|
+
SettingsSectionContent: (_t = (_s = overrides == null ? void 0 : overrides.Card) == null ? void 0 : _s.SettingsSectionContent) != null ? _t : DefaultFormSectionContent,
|
|
2386
|
+
SettingsSectionFooter: (_v = (_u = overrides == null ? void 0 : overrides.Card) == null ? void 0 : _u.SettingsSectionFooter) != null ? _v : DefaultFormSectionFooter
|
|
2378
2387
|
},
|
|
2379
2388
|
Node: {
|
|
2380
|
-
Button: (
|
|
2381
|
-
OidcButton: (
|
|
2382
|
-
Input: (
|
|
2383
|
-
CodeInput: (
|
|
2384
|
-
Image: (
|
|
2385
|
-
Label: (
|
|
2386
|
-
Checkbox: (
|
|
2387
|
-
Text: (
|
|
2388
|
-
Anchor: (
|
|
2389
|
+
Button: (_x = (_w = overrides == null ? void 0 : overrides.Node) == null ? void 0 : _w.Button) != null ? _x : DefaultButton,
|
|
2390
|
+
OidcButton: (_z = (_y = overrides == null ? void 0 : overrides.Node) == null ? void 0 : _y.OidcButton) != null ? _z : DefaultButtonSocial,
|
|
2391
|
+
Input: (_B = (_A = overrides == null ? void 0 : overrides.Node) == null ? void 0 : _A.Input) != null ? _B : DefaultInput,
|
|
2392
|
+
CodeInput: (_D = (_C = overrides == null ? void 0 : overrides.Node) == null ? void 0 : _C.CodeInput) != null ? _D : DefaultPinCodeInput,
|
|
2393
|
+
Image: (_F = (_E = overrides == null ? void 0 : overrides.Node) == null ? void 0 : _E.Image) != null ? _F : DefaultImage,
|
|
2394
|
+
Label: (_H = (_G = overrides == null ? void 0 : overrides.Node) == null ? void 0 : _G.Label) != null ? _H : DefaultLabel,
|
|
2395
|
+
Checkbox: (_J = (_I = overrides == null ? void 0 : overrides.Node) == null ? void 0 : _I.Checkbox) != null ? _J : DefaultCheckbox,
|
|
2396
|
+
Text: (_L = (_K = overrides == null ? void 0 : overrides.Node) == null ? void 0 : _K.Text) != null ? _L : DefaultText,
|
|
2397
|
+
Anchor: (_N = (_M = overrides == null ? void 0 : overrides.Node) == null ? void 0 : _M.Anchor) != null ? _N : DefaultLinkButton
|
|
2389
2398
|
},
|
|
2390
2399
|
Form: {
|
|
2391
|
-
Root: (
|
|
2392
|
-
Group: (
|
|
2393
|
-
OidcRoot: (
|
|
2394
|
-
RecoveryCodesSettings: (
|
|
2395
|
-
TotpSettings: (
|
|
2396
|
-
OidcSettings: (
|
|
2397
|
-
WebauthnSettings: (
|
|
2398
|
-
PasskeySettings: (
|
|
2400
|
+
Root: (_P = (_O = overrides == null ? void 0 : overrides.Form) == null ? void 0 : _O.Root) != null ? _P : DefaultFormContainer,
|
|
2401
|
+
Group: (_R = (_Q = overrides == null ? void 0 : overrides.Form) == null ? void 0 : _Q.Group) != null ? _R : DefaultGroupContainer,
|
|
2402
|
+
OidcRoot: (_T = (_S = overrides == null ? void 0 : overrides.Form) == null ? void 0 : _S.OidcRoot) != null ? _T : DefaultSocialButtonContainer,
|
|
2403
|
+
RecoveryCodesSettings: (_V = (_U = overrides == null ? void 0 : overrides.Form) == null ? void 0 : _U.RecoveryCodesSettings) != null ? _V : DefaultSettingsRecoveryCodes,
|
|
2404
|
+
TotpSettings: (_X = (_W = overrides == null ? void 0 : overrides.Form) == null ? void 0 : _W.TotpSettings) != null ? _X : DefaultSettingsTotp,
|
|
2405
|
+
OidcSettings: (_Z = (_Y = overrides == null ? void 0 : overrides.Form) == null ? void 0 : _Y.OidcSettings) != null ? _Z : DefaultSettingsOidc,
|
|
2406
|
+
WebauthnSettings: (_$ = (__ = overrides == null ? void 0 : overrides.Form) == null ? void 0 : __.WebauthnSettings) != null ? _$ : DefaultSettingsWebauthn,
|
|
2407
|
+
PasskeySettings: (_ba = (_aa = overrides == null ? void 0 : overrides.Form) == null ? void 0 : _aa.PasskeySettings) != null ? _ba : DefaultSettingsPasskey
|
|
2399
2408
|
},
|
|
2400
2409
|
Message: {
|
|
2401
|
-
Root: (
|
|
2402
|
-
Content: (
|
|
2410
|
+
Root: (_da = (_ca = overrides == null ? void 0 : overrides.Message) == null ? void 0 : _ca.Root) != null ? _da : DefaultMessageContainer,
|
|
2411
|
+
Content: (_fa = (_ea = overrides == null ? void 0 : overrides.Message) == null ? void 0 : _ea.Content) != null ? _fa : DefaultMessage
|
|
2403
2412
|
},
|
|
2404
2413
|
Page: {
|
|
2405
|
-
Header: (
|
|
2414
|
+
Header: (_ha = (_ga = overrides == null ? void 0 : overrides.Page) == null ? void 0 : _ga.Header) != null ? _ha : DefaultPageHeader
|
|
2406
2415
|
}
|
|
2407
2416
|
};
|
|
2408
2417
|
}
|
|
2409
2418
|
|
|
2410
2419
|
// src/theme/default/flows/error.tsx
|
|
2411
|
-
var
|
|
2420
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
2412
2421
|
function Error2({
|
|
2413
2422
|
error,
|
|
2414
2423
|
children
|
|
2415
2424
|
}) {
|
|
2416
|
-
return /* @__PURE__ */ (0,
|
|
2425
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { "data-testid": "ory/screen/error/raw", children: JSON.stringify(error) || children });
|
|
2417
2426
|
}
|
|
2418
2427
|
|
|
2419
2428
|
// src/theme/default/flows/login.tsx
|
|
2420
2429
|
var import_client_fetch12 = require("@ory/client-fetch");
|
|
2421
2430
|
var import_elements_react19 = require("@ory/elements-react");
|
|
2422
|
-
var
|
|
2431
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
2423
2432
|
function Login({
|
|
2424
2433
|
flow,
|
|
2425
2434
|
config,
|
|
@@ -2427,14 +2436,14 @@ function Login({
|
|
|
2427
2436
|
components: flowOverrideComponents
|
|
2428
2437
|
}) {
|
|
2429
2438
|
const components = getOryComponents(flowOverrideComponents);
|
|
2430
|
-
return /* @__PURE__ */ (0,
|
|
2439
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
2431
2440
|
import_elements_react19.OryProvider,
|
|
2432
2441
|
{
|
|
2433
2442
|
config,
|
|
2434
2443
|
flow,
|
|
2435
2444
|
flowType: import_client_fetch12.FlowType.Login,
|
|
2436
2445
|
components,
|
|
2437
|
-
children: children != null ? children : /* @__PURE__ */ (0,
|
|
2446
|
+
children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_elements_react19.OryTwoStepCard, {})
|
|
2438
2447
|
}
|
|
2439
2448
|
);
|
|
2440
2449
|
}
|
|
@@ -2442,7 +2451,7 @@ function Login({
|
|
|
2442
2451
|
// src/theme/default/flows/recovery.tsx
|
|
2443
2452
|
var import_client_fetch13 = require("@ory/client-fetch");
|
|
2444
2453
|
var import_elements_react20 = require("@ory/elements-react");
|
|
2445
|
-
var
|
|
2454
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
2446
2455
|
function Recovery({
|
|
2447
2456
|
flow,
|
|
2448
2457
|
config,
|
|
@@ -2450,14 +2459,14 @@ function Recovery({
|
|
|
2450
2459
|
components: flowOverrideComponents
|
|
2451
2460
|
}) {
|
|
2452
2461
|
const components = getOryComponents(flowOverrideComponents);
|
|
2453
|
-
return /* @__PURE__ */ (0,
|
|
2462
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2454
2463
|
import_elements_react20.OryProvider,
|
|
2455
2464
|
{
|
|
2456
2465
|
config,
|
|
2457
2466
|
flow,
|
|
2458
2467
|
flowType: import_client_fetch13.FlowType.Recovery,
|
|
2459
2468
|
components,
|
|
2460
|
-
children: children != null ? children : /* @__PURE__ */ (0,
|
|
2469
|
+
children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_elements_react20.OryTwoStepCard, {})
|
|
2461
2470
|
}
|
|
2462
2471
|
);
|
|
2463
2472
|
}
|
|
@@ -2465,7 +2474,7 @@ function Recovery({
|
|
|
2465
2474
|
// src/theme/default/flows/registration.tsx
|
|
2466
2475
|
var import_client_fetch14 = require("@ory/client-fetch");
|
|
2467
2476
|
var import_elements_react21 = require("@ory/elements-react");
|
|
2468
|
-
var
|
|
2477
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
2469
2478
|
function Registration({
|
|
2470
2479
|
flow,
|
|
2471
2480
|
children,
|
|
@@ -2473,14 +2482,14 @@ function Registration({
|
|
|
2473
2482
|
config
|
|
2474
2483
|
}) {
|
|
2475
2484
|
const components = getOryComponents(flowOverrideComponents);
|
|
2476
|
-
return /* @__PURE__ */ (0,
|
|
2485
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
2477
2486
|
import_elements_react21.OryProvider,
|
|
2478
2487
|
{
|
|
2479
2488
|
config,
|
|
2480
2489
|
flow,
|
|
2481
2490
|
flowType: import_client_fetch14.FlowType.Registration,
|
|
2482
2491
|
components,
|
|
2483
|
-
children: children != null ? children : /* @__PURE__ */ (0,
|
|
2492
|
+
children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_elements_react21.OryTwoStepCard, {})
|
|
2484
2493
|
}
|
|
2485
2494
|
);
|
|
2486
2495
|
}
|
|
@@ -2488,7 +2497,7 @@ function Registration({
|
|
|
2488
2497
|
// src/theme/default/flows/settings.tsx
|
|
2489
2498
|
var import_client_fetch15 = require("@ory/client-fetch");
|
|
2490
2499
|
var import_elements_react22 = require("@ory/elements-react");
|
|
2491
|
-
var
|
|
2500
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
2492
2501
|
function Settings({
|
|
2493
2502
|
flow,
|
|
2494
2503
|
config,
|
|
@@ -2496,16 +2505,16 @@ function Settings({
|
|
|
2496
2505
|
components: flowOverrideComponents
|
|
2497
2506
|
}) {
|
|
2498
2507
|
const components = getOryComponents(flowOverrideComponents);
|
|
2499
|
-
return /* @__PURE__ */ (0,
|
|
2508
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
2500
2509
|
import_elements_react22.OryProvider,
|
|
2501
2510
|
{
|
|
2502
2511
|
config,
|
|
2503
2512
|
flow,
|
|
2504
2513
|
flowType: import_client_fetch15.FlowType.Settings,
|
|
2505
2514
|
components,
|
|
2506
|
-
children: children != null ? children : /* @__PURE__ */ (0,
|
|
2507
|
-
/* @__PURE__ */ (0,
|
|
2508
|
-
/* @__PURE__ */ (0,
|
|
2515
|
+
children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_jsx_runtime68.Fragment, { children: [
|
|
2516
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_elements_react22.HeadlessPageHeader, {}),
|
|
2517
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_elements_react22.OrySettingsCard, {})
|
|
2509
2518
|
] })
|
|
2510
2519
|
}
|
|
2511
2520
|
);
|
|
@@ -2514,7 +2523,7 @@ function Settings({
|
|
|
2514
2523
|
// src/theme/default/flows/verification.tsx
|
|
2515
2524
|
var import_client_fetch16 = require("@ory/client-fetch");
|
|
2516
2525
|
var import_elements_react23 = require("@ory/elements-react");
|
|
2517
|
-
var
|
|
2526
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
2518
2527
|
function Verification({
|
|
2519
2528
|
flow,
|
|
2520
2529
|
config,
|
|
@@ -2522,14 +2531,14 @@ function Verification({
|
|
|
2522
2531
|
components: flowOverrideComponents
|
|
2523
2532
|
}) {
|
|
2524
2533
|
const components = getOryComponents(flowOverrideComponents);
|
|
2525
|
-
return /* @__PURE__ */ (0,
|
|
2534
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
2526
2535
|
import_elements_react23.OryProvider,
|
|
2527
2536
|
{
|
|
2528
2537
|
config,
|
|
2529
2538
|
flow,
|
|
2530
2539
|
flowType: import_client_fetch16.FlowType.Verification,
|
|
2531
2540
|
components,
|
|
2532
|
-
children: children != null ? children : /* @__PURE__ */ (0,
|
|
2541
|
+
children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_elements_react23.OryTwoStepCard, {})
|
|
2533
2542
|
}
|
|
2534
2543
|
);
|
|
2535
2544
|
}
|