From 9c822a514c1d23d7ee3937d39dccf1116904d56d Mon Sep 17 00:00:00 2001 From: Aleksei Date: Fri, 1 Mar 2024 16:18:46 +0300 Subject: [PATCH 1/2] Added missed exports for sections (#181) In react-components/ory/index.ts added missed exports from ./sections folder --- src/react-components/ory/index.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/react-components/ory/index.ts b/src/react-components/ory/index.ts index 0f142f38a..33f2246a3 100644 --- a/src/react-components/ory/index.ts +++ b/src/react-components/ory/index.ts @@ -9,21 +9,24 @@ export * from "./helpers/node-script" export * from "./helpers/types" export * from "./helpers/user-auth-form" export * from "./helpers/utils" +export * from "./sections/auth-code-section" export * from "./sections/link-section" +export * from "./sections/logged-info" export * from "./sections/login-section" export * from "./sections/lookup-secret-settings-section" +export * from "./sections/lookup-secrets-section" export * from "./sections/oidc-section" export * from "./sections/oidc-settings-section" +export * from "./sections/passkey-settings-section" export * from "./sections/password-settings-section" export * from "./sections/passwordless-section" export * from "./sections/profile-section" export * from "./sections/registration-section" export * from "./sections/totp-settings-section" export * from "./sections/webauthn-settings-section" -export * from "./sections/passkey-settings-section" export * from "./user-auth-card" -export * from "./user-error-card" -export * from "./user-settings-card" export * from "./user-consent-card" +export * from "./user-error-card" export * from "./user-logout-card" +export * from "./user-settings-card" export * from "./user-settings-screen" From 5e4a32ad0504397f7c1427d9daaea1774eb21f1b Mon Sep 17 00:00:00 2001 From: hackerman <3372410+aeneasr@users.noreply.github.com> Date: Fri, 1 Mar 2024 15:21:59 +0100 Subject: [PATCH 2/2] feat: properly style unlink button as well (#182) --- src/react-components/ory/helpers/node.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/react-components/ory/helpers/node.tsx b/src/react-components/ory/helpers/node.tsx index c46d2db1d..57a65b786 100644 --- a/src/react-components/ory/helpers/node.tsx +++ b/src/react-components/ory/helpers/node.tsx @@ -269,7 +269,9 @@ export const Node = ({ const nodeType = attrs.type const isSocial = - (attrs.name === "provider" || attrs.name === "link") && + (attrs.name === "provider" || + attrs.name === "link" || + attrs.name === "unlink") && node.group === "oidc" const submit: ButtonSubmit = {