zudoku 0.3.0-dev.60 → 0.3.0-dev.61
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/config/config.d.ts +6 -0
- package/dist/config/validators/validate.d.ts +30 -0
- package/dist/config/validators/validate.js +6 -0
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/lib/authentication/AuthenticationPlugin.d.ts +2 -5
- package/dist/lib/authentication/AuthenticationPlugin.js +12 -12
- package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
- package/dist/lib/authentication/authentication.d.ts +3 -5
- package/dist/lib/authentication/components/SignIn.d.ts +1 -0
- package/dist/lib/authentication/components/{Logout.js → SignIn.js} +3 -3
- package/dist/lib/authentication/components/{Logout.js.map → SignIn.js.map} +1 -1
- package/dist/lib/authentication/components/SignOut.d.ts +1 -0
- package/dist/lib/authentication/components/SignOut.js +10 -0
- package/dist/lib/authentication/components/SignOut.js.map +1 -0
- package/dist/lib/authentication/components/SignUp.d.ts +1 -0
- package/dist/lib/authentication/components/{Login.js → SignUp.js} +3 -3
- package/dist/lib/authentication/components/SignUp.js.map +1 -0
- package/dist/lib/authentication/hook.js +2 -2
- package/dist/lib/authentication/hook.js.map +1 -1
- package/dist/lib/authentication/providers/auth0.js +2 -2
- package/dist/lib/authentication/providers/auth0.js.map +1 -1
- package/dist/lib/authentication/providers/clerk.js +17 -6
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +10 -5
- package/dist/lib/authentication/providers/openid.js +24 -6
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- package/dist/lib/components/Header.js +1 -1
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/core/DevPortalContext.js.map +1 -1
- package/lib/AuthenticationPlugin-RvXALgvS.js +52 -0
- package/lib/AuthenticationPlugin-RvXALgvS.js.map +1 -0
- package/lib/{hook-Q_gAL2NZ.js → hook-BY1NP0kj.js} +9 -9
- package/lib/{hook-Q_gAL2NZ.js.map → hook-BY1NP0kj.js.map} +1 -1
- package/lib/zudoku.auth-auth0.js +9 -7
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-clerk.js +48 -35
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +472 -456
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.components.js +2 -2
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +1 -1
- package/package.json +1 -1
- package/src/lib/authentication/AuthenticationPlugin.tsx +12 -10
- package/src/lib/authentication/authentication.ts +3 -5
- package/src/lib/authentication/components/{Login.tsx → SignIn.tsx} +2 -2
- package/src/lib/authentication/components/SignOut.tsx +11 -0
- package/src/lib/authentication/components/{Logout.tsx → SignUp.tsx} +2 -2
- package/src/lib/authentication/hook.ts +2 -2
- package/src/lib/authentication/providers/auth0.tsx +4 -2
- package/src/lib/authentication/providers/clerk.tsx +22 -7
- package/src/lib/authentication/providers/openid.tsx +33 -5
- package/src/lib/components/Header.tsx +1 -1
- package/src/lib/core/DevPortalContext.ts +2 -0
- package/dist/lib/authentication/components/Login.d.ts +0 -1
- package/dist/lib/authentication/components/Login.js.map +0 -1
- package/dist/lib/authentication/components/Logout.d.ts +0 -1
- package/dist/lib/authentication/routes.d.ts +0 -5
- package/dist/lib/authentication/routes.js +0 -12
- package/dist/lib/authentication/routes.js.map +0 -1
- package/lib/AuthenticationPlugin-CG6Bw32B.js +0 -46
- package/lib/AuthenticationPlugin-CG6Bw32B.js.map +0 -1
- package/src/lib/authentication/routes.tsx +0 -10
package/lib/zudoku.components.js
CHANGED
|
@@ -15,7 +15,7 @@ var Me = (t, e, n, r) => ({
|
|
|
15
15
|
});
|
|
16
16
|
import { H as Ct, a as $e, M as sr, A as ir, u as cr } from "./AnchorLink-Bj1hwDuD.js";
|
|
17
17
|
import { c as pe, d as ur, R as lr, a as P, C as dr, N as ke, b as hr, u as pr, L as Be, M as fr, T as mr, V as gr, e as Qe, f as vr, g as xr } from "./Markdown-BjRJKl_E.js";
|
|
18
|
-
import { E as Pt, u as yr, R as wr } from "./hook-
|
|
18
|
+
import { E as Pt, u as yr, R as wr } from "./hook-BY1NP0kj.js";
|
|
19
19
|
import { j as o, d as Mr, u as br, a as se, O as Cr } from "./jsx-runtime-BIr0WBt_.js";
|
|
20
20
|
import { M as Pr, c as Rr, a as Rt, b as _t, A as _r, u as fe, h as Er, d as y, e as Sr, F as Nr, D as jr, C as Dr, P as ie, f as Ue, g as Ir, i as Et, R as Ar, S as Or, j as Tr, k as kr, l as St, m as Fr, n as Re, o as Nt, B as Fe } from "./Combination-lAFQBd6U.js";
|
|
21
21
|
import * as c from "react";
|
|
@@ -1869,7 +1869,7 @@ const is = () => {
|
|
|
1869
1869
|
/* @__PURE__ */ o.jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
|
|
1870
1870
|
/* @__PURE__ */ o.jsx("div", { className: "w-full max-w-prose" }),
|
|
1871
1871
|
/* @__PURE__ */ o.jsxs("div", { className: "items-center justify-self-end text-sm hidden lg:flex gap-2", children: [
|
|
1872
|
-
s && !r ? /* @__PURE__ */ o.jsx(Fe, { variant: "ghost", asChild: !0, children: /* @__PURE__ */ o.jsx(Be, { to: "/
|
|
1872
|
+
s && !r ? /* @__PURE__ */ o.jsx(Fe, { variant: "ghost", asChild: !0, children: /* @__PURE__ */ o.jsx(Be, { to: "/signin", children: "Login" }) }) : /* @__PURE__ */ o.jsxs(ts, { children: [
|
|
1873
1873
|
/* @__PURE__ */ o.jsx(ns, { asChild: !0, children: /* @__PURE__ */ o.jsx(Fe, { variant: "ghost", children: a != null && a.email ? `${a.email}` : "My Account" }) }),
|
|
1874
1874
|
/* @__PURE__ */ o.jsxs(Gn, { className: "w-56", children: [
|
|
1875
1875
|
/* @__PURE__ */ o.jsx(qn, { children: "My Account" }),
|