zudoku 0.3.0-dev.23 → 0.3.0-dev.24
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/lib/authentication/Callback.js +1 -1
- package/dist/lib/authentication/Callback.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +1 -1
- package/dist/lib/components/DevPortal.d.ts +1 -1
- package/dist/lib/components/DevPortal.js +2 -2
- package/dist/lib/components/DevPortal.js.map +1 -1
- package/dist/lib/components/Layout.js +1 -1
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/index.d.ts +10 -5
- package/dist/lib/components/index.js +8 -5
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/plugins/markdown/MdxPage.js +2 -2
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/markdown/Toc.js +1 -1
- package/dist/lib/plugins/markdown/Toc.js.map +1 -1
- package/dist/lib/plugins/markdown/generateRoutes.d.ts +1 -1
- package/dist/lib/plugins/markdown/generateRoutes.js +1 -1
- package/dist/lib/plugins/markdown/generateRoutes.js.map +1 -1
- package/dist/lib/plugins/openapi/Route.js +1 -1
- package/dist/lib/plugins/openapi/Route.js.map +1 -1
- package/dist/lib/plugins/openapi/SimpleSelect.js +1 -1
- package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -1
- package/dist/lib/plugins/openapi/index.js +1 -1
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PathParams.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/createUrl.d.ts +1 -1
- package/dist/lib/ui/Callout.js +1 -1
- package/dist/lib/ui/Callout.js.map +1 -1
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/lib/{AnchorLink-DIUlXlf0.js → AnchorLink-BzDjVML_.js} +183 -183
- package/lib/{DevPortalProvider-gzyAGqHT.js → DevPortalProvider-DssVwuLz.js} +2 -2
- package/lib/{Markdown-BjA7peYW.js → Markdown-BX9FqDM4.js} +3 -3
- package/lib/{MdxComponents-W-fE1ISO.js → MdxComponents-DiOAVA3z.js} +2 -2
- package/lib/{MdxPage-DQ7lZBzE.js → MdxPage-C9wmWulr.js} +21 -21
- package/lib/{OperationList-DuIBqFNA.js → OperationList-CmWB9QNy.js} +9 -9
- package/lib/{Route-B98Y2MdH.js → Route-QN8KKlcN.js} +2 -2
- package/lib/{Select-DczD5e29.js → Select-BK8C7kpB.js} +4 -4
- package/lib/{Spinner-CSoij67T.js → Spinner-CQiMiphN.js} +3 -3
- package/lib/{hook-CBXxHulF.js → hook-Rc146Fwy.js} +1 -1
- package/lib/{index-Cg6lXS1z.js → index-B5n-zpzS.js} +3 -3
- package/lib/{index-ClDDiRmC.js → index-B7upi2sn.js} +11 -11
- package/lib/{index-CKvOcM7w.js → index-Bf5lvKIp.js} +169 -169
- package/lib/{index-C7O9D7f6.js → index-DbU_G5RQ.js} +2 -2
- package/lib/{router-DibNxKUP.js → jsx-runtime-D7DwziLW.js} +2843 -2843
- package/lib/{util-CaVongBq.js → util-DnDPBx_j.js} +1 -1
- package/lib/zudoku.auth-openid.js +2 -2
- package/lib/zudoku.components.js +107 -109
- package/lib/zudoku.plugin-api-keys.js +6 -6
- package/lib/zudoku.plugin-markdown.js +5 -5
- package/lib/zudoku.plugin-openapi.js +2 -2
- package/lib/zudoku.plugin-redirect.js +2 -2
- package/package.json +1 -1
- package/src/lib/authentication/Callback.tsx +1 -1
- package/src/lib/authentication/providers/openid.tsx +1 -1
- package/src/lib/components/DevPortal.tsx +2 -2
- package/src/lib/components/Layout.tsx +1 -1
- package/src/lib/components/index.ts +8 -5
- package/src/lib/plugins/markdown/MdxPage.tsx +2 -2
- package/src/lib/plugins/markdown/Toc.tsx +1 -1
- package/src/lib/plugins/markdown/generateRoutes.tsx +1 -1
- package/src/lib/plugins/openapi/Route.tsx +1 -1
- package/src/lib/plugins/openapi/SimpleSelect.tsx +1 -1
- package/src/lib/plugins/openapi/index.tsx +1 -1
- package/src/lib/plugins/openapi/playground/PathParams.tsx +1 -1
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +1 -1
- package/src/lib/plugins/openapi/playground/createUrl.ts +1 -1
- package/src/lib/ui/Callout.tsx +2 -2
- package/src/lib/util/MdxComponents.tsx +0 -1
- package/dist/lib/components/Link.d.ts +0 -1
- package/dist/lib/components/Link.js +0 -2
- package/dist/lib/components/Link.js.map +0 -1
- package/dist/lib/core/helmet.d.ts +0 -4
- package/dist/lib/core/helmet.js +0 -5
- package/dist/lib/core/helmet.js.map +0 -1
- package/dist/lib/core/icons.d.ts +0 -1
- package/dist/lib/core/icons.js +0 -2
- package/dist/lib/core/icons.js.map +0 -1
- package/dist/lib/core/router.d.ts +0 -1
- package/dist/lib/core/router.js +0 -2
- package/dist/lib/core/router.js.map +0 -1
- package/src/lib/components/Link.tsx +0 -1
- package/src/lib/core/helmet.ts +0 -5
- package/src/lib/core/icons.tsx +0 -1
- package/src/lib/core/router.tsx +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import logger from "loglevel";
|
|
2
2
|
import * as oauth from "oauth4webapi";
|
|
3
|
+
import type { RouteObject } from "react-router-dom";
|
|
3
4
|
import { OpenIDAuthenticationConfig } from "../../../config/config.js";
|
|
4
|
-
import { RouteObject } from "../../core/router.js";
|
|
5
5
|
import {
|
|
6
6
|
AuthenticationProvider,
|
|
7
7
|
AuthenticationProviderInitializer,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { MDXProvider } from "@mdx-js/react";
|
|
2
2
|
import { QueryClientProvider } from "@tanstack/react-query";
|
|
3
3
|
import { Fragment, memo, Suspense, useEffect, useMemo } from "react";
|
|
4
|
+
import { Helmet, HelmetProvider } from "react-helmet-async";
|
|
4
5
|
import {
|
|
5
6
|
DevPortalContext,
|
|
6
7
|
queryClient,
|
|
7
8
|
ZudokuContextOptions,
|
|
8
9
|
} from "../core/DevPortalContext.js";
|
|
9
|
-
import { Helmet, HelmetProvider } from "../core/helmet.js";
|
|
10
10
|
import { hasHead } from "../core/plugins.js";
|
|
11
11
|
import { MdxComponents } from "../util/MdxComponents.js";
|
|
12
12
|
import {
|
|
@@ -18,7 +18,7 @@ import { ThemeProvider } from "./context/ThemeContext.js";
|
|
|
18
18
|
import { ViewportAnchorProvider } from "./context/ViewportAnchorContext.js";
|
|
19
19
|
import { Router } from "./Router.js";
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
const DevPortalSystemPaths = {
|
|
22
22
|
Settings: "/settings",
|
|
23
23
|
} as const;
|
|
24
24
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Suspense, useEffect, useRef, type ReactNode } from "react";
|
|
2
|
+
import { Helmet } from "react-helmet-async";
|
|
2
3
|
import { Outlet, useLocation } from "react-router-dom";
|
|
3
|
-
import { Helmet } from "../core/helmet.js";
|
|
4
4
|
import { useScrollToAnchor } from "../util/useScrollToAnchor.js";
|
|
5
5
|
import { useScrollToTop } from "../util/useScrollToTop.js";
|
|
6
6
|
import { useDevPortal } from "./context/DevPortalProvider.js";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useMDXComponents as useMDXComponentsImport } from "@mdx-js/react";
|
|
2
|
+
import { Link as LinkImport } from "react-router-dom";
|
|
3
|
+
import { Callout as CalloutImport } from "../ui/Callout.js";
|
|
4
|
+
import { DevPortal as DevPortalImport } from "./DevPortal.js";
|
|
2
5
|
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
6
|
+
export const useMDXComponents = /*@__PURE__*/ useMDXComponentsImport;
|
|
7
|
+
export const Callout = /*@__PURE__*/ CalloutImport;
|
|
8
|
+
export const DevPortal = /*@__PURE__*/ DevPortalImport;
|
|
9
|
+
export const Link = /*@__PURE__*/ LinkImport;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useMDXComponents } from "@mdx-js/react";
|
|
2
2
|
import { useMemo, type PropsWithChildren, type ReactNode } from "react";
|
|
3
|
+
import { Helmet } from "react-helmet-async";
|
|
4
|
+
import { Link, useLocation } from "react-router-dom";
|
|
3
5
|
import { CategoryHeading } from "../../components/CategoryHeading.js";
|
|
4
6
|
import { Heading } from "../../components/Heading.js";
|
|
5
7
|
import { ProseClasses } from "../../components/Markdown.js";
|
|
6
8
|
import { useTopNavigationItem } from "../../components/context/DevPortalProvider.js";
|
|
7
9
|
import { isPathItem } from "../../components/navigation/util.js";
|
|
8
|
-
import { Helmet } from "../../core/helmet.js";
|
|
9
|
-
import { Link, useLocation } from "../../core/router.js";
|
|
10
10
|
import type { MdxComponentsType } from "../../util/MdxComponents.js";
|
|
11
11
|
import { cn } from "../../util/cn.js";
|
|
12
12
|
import slugify from "../../util/slugify.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { TocEntry } from "@stefanprobst/rehype-extract-toc";
|
|
2
|
+
import { ListTreeIcon } from "lucide-react";
|
|
2
3
|
import {
|
|
3
4
|
useEffect,
|
|
4
5
|
useRef,
|
|
@@ -8,7 +9,6 @@ import {
|
|
|
8
9
|
} from "react";
|
|
9
10
|
import { AnchorLink } from "../../components/AnchorLink.js";
|
|
10
11
|
import { useViewportAnchor } from "../../components/context/ViewportAnchorContext.js";
|
|
11
|
-
import { ListTreeIcon } from "../../core/icons.js";
|
|
12
12
|
import { cn } from "../../util/cn.js";
|
|
13
13
|
|
|
14
14
|
const DATA_ANCHOR_ATTR = "data-active";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Navigate, type RouteObject } from "react-router-dom";
|
|
1
2
|
import { useTopNavigationItem } from "../../components/context/DevPortalProvider.js";
|
|
2
3
|
import { isPathItem } from "../../components/navigation/util.js";
|
|
3
|
-
import { Navigate, type RouteObject } from "../../core/router.js";
|
|
4
4
|
import { traverseNavigation } from "../../util/traverseNavigation.js";
|
|
5
5
|
|
|
6
6
|
import {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { matchPath, type RouteObject } from "react-router-dom";
|
|
1
2
|
import {
|
|
2
3
|
type DevPortalPlugin,
|
|
3
4
|
type PluginNavigationCategory,
|
|
4
5
|
} from "../../core/plugins.js";
|
|
5
|
-
import { matchPath, type RouteObject } from "../../core/router.js";
|
|
6
6
|
import { MethodBadge } from "./MethodBadge.js";
|
|
7
7
|
import { graphql } from "./graphql/index.js";
|
|
8
8
|
import {
|
|
@@ -3,7 +3,7 @@ import { Control, useFieldArray, UseFormRegister } from "react-hook-form";
|
|
|
3
3
|
import { cn } from "../../../util/cn.js";
|
|
4
4
|
import { DATA_ATTR, usePastellizedColor } from "../ColorizedParam.js";
|
|
5
5
|
import { InlineInput } from "./InlineInput.js";
|
|
6
|
-
import { PlaygroundForm } from "./Playground.js";
|
|
6
|
+
import type { PlaygroundForm } from "./Playground.js";
|
|
7
7
|
|
|
8
8
|
type ParameterValueProps = {
|
|
9
9
|
part: string;
|
package/src/lib/ui/Callout.tsx
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { ReactNode } from "react";
|
|
2
1
|
import {
|
|
3
2
|
AlertTriangleIcon,
|
|
4
3
|
InfoIcon,
|
|
5
4
|
LightbulbIcon,
|
|
6
5
|
ShieldAlertIcon,
|
|
7
|
-
} from "
|
|
6
|
+
} from "lucide-react";
|
|
7
|
+
import type { ReactNode } from "react";
|
|
8
8
|
import { cn } from "../util/cn.js";
|
|
9
9
|
|
|
10
10
|
const stylesMap = {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Link } from "../core/router.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Link.js","sourceRoot":"","sources":["../../../src/lib/components/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC"}
|
package/dist/lib/core/helmet.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helmet.js","sourceRoot":"","sources":["../../../src/lib/core/helmet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAE7C,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACpC,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAC5C,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC"}
|
package/dist/lib/core/icons.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "lucide-react";
|
package/dist/lib/core/icons.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"icons.js","sourceRoot":"","sources":["../../../src/lib/core/icons.tsx"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "react-router-dom";
|
package/dist/lib/core/router.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"router.js","sourceRoot":"","sources":["../../../src/lib/core/router.tsx"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Link } from "../core/router.js";
|
package/src/lib/core/helmet.ts
DELETED
package/src/lib/core/icons.tsx
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "lucide-react";
|
package/src/lib/core/router.tsx
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "react-router-dom";
|