zudoku 0.47.0 → 0.47.2

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.
Files changed (140) hide show
  1. package/dist/app/ZuploBuildConfig.d.ts +21 -21
  2. package/dist/app/ZuploBuildConfig.js +7 -7
  3. package/dist/app/ZuploBuildConfig.js.map +1 -1
  4. package/dist/app/entry.client.d.ts +0 -2
  5. package/dist/app/entry.client.js +0 -2
  6. package/dist/app/entry.client.js.map +1 -1
  7. package/dist/app/entry.server.d.ts +0 -2
  8. package/dist/app/entry.server.js +0 -2
  9. package/dist/app/entry.server.js.map +1 -1
  10. package/dist/app/env.d.ts +7 -7
  11. package/dist/app/env.js +8 -0
  12. package/dist/app/env.js.map +1 -1
  13. package/dist/app/main.d.ts +1 -0
  14. package/dist/app/main.js +3 -2
  15. package/dist/app/main.js.map +1 -1
  16. package/dist/config/validators/validate.d.ts +319 -76
  17. package/dist/config/validators/validate.js +33 -11
  18. package/dist/config/validators/validate.js.map +1 -1
  19. package/dist/lib/auth/issuer.js +4 -1
  20. package/dist/lib/auth/issuer.js.map +1 -1
  21. package/dist/lib/auth/issuer.test.js +14 -1
  22. package/dist/lib/auth/issuer.test.js.map +1 -1
  23. package/dist/lib/authentication/components/CallbackHandler.js +1 -1
  24. package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
  25. package/dist/lib/components/Framed.d.ts +7 -0
  26. package/dist/lib/components/Framed.js +26 -0
  27. package/dist/lib/components/Framed.js.map +1 -0
  28. package/dist/lib/components/MobileTopNavigation.js +2 -1
  29. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  30. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +4 -4
  31. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  32. package/dist/lib/plugins/api-keys/index.js +1 -3
  33. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  34. package/dist/lib/plugins/openapi/schema/SchemaView.js +1 -1
  35. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  36. package/dist/lib/ui/CodeBlock.js +1 -1
  37. package/dist/lib/ui/CodeBlock.js.map +1 -1
  38. package/dist/lib/util/MdxComponents.d.ts +6 -0
  39. package/dist/lib/util/MdxComponents.js +4 -2
  40. package/dist/lib/util/MdxComponents.js.map +1 -1
  41. package/dist/vite/css/plugin.js +11 -0
  42. package/dist/vite/css/plugin.js.map +1 -1
  43. package/dist/vite/plugin-mdx.js +4 -2
  44. package/dist/vite/plugin-mdx.js.map +1 -1
  45. package/dist/vite/plugin-theme.d.ts +8 -0
  46. package/dist/vite/plugin-theme.js +223 -0
  47. package/dist/vite/plugin-theme.js.map +1 -0
  48. package/dist/vite/plugin-theme.test.d.ts +1 -0
  49. package/dist/vite/plugin-theme.test.js +270 -0
  50. package/dist/vite/plugin-theme.test.js.map +1 -0
  51. package/dist/vite/plugin.js +2 -4
  52. package/dist/vite/plugin.js.map +1 -1
  53. package/dist/vite/shadcn-registry.d.ts +45 -0
  54. package/dist/vite/shadcn-registry.js +29 -0
  55. package/dist/vite/shadcn-registry.js.map +1 -0
  56. package/lib/Drawer-BzkOKwgC.js.map +1 -1
  57. package/lib/{Markdown-BUE2ViaD.js → Markdown-C5j8kKSX.js} +444 -404
  58. package/lib/Markdown-C5j8kKSX.js.map +1 -0
  59. package/lib/{MdxPage-By4UkRkI.js → MdxPage-CKTMf1cR.js} +4 -4
  60. package/lib/{MdxPage-By4UkRkI.js.map → MdxPage-CKTMf1cR.js.map} +1 -1
  61. package/lib/{OasProvider-C6_Kx5O7.js → OasProvider-_GzmsbMg.js} +2 -2
  62. package/lib/{OasProvider-C6_Kx5O7.js.map → OasProvider-_GzmsbMg.js.map} +1 -1
  63. package/lib/{OperationList-BISd29LY.js → OperationList-BJAKaG5p.js} +6 -6
  64. package/lib/{OperationList-BISd29LY.js.map → OperationList-BJAKaG5p.js.map} +1 -1
  65. package/lib/{RouteGuard-CgmsSw7T.js → RouteGuard-B7GVW4oL.js} +2 -2
  66. package/lib/{RouteGuard-CgmsSw7T.js.map → RouteGuard-B7GVW4oL.js.map} +1 -1
  67. package/lib/{SchemaList-BqnRo5ov.js → SchemaList-Dgc0A8x5.js} +6 -6
  68. package/lib/{SchemaList-BqnRo5ov.js.map → SchemaList-Dgc0A8x5.js.map} +1 -1
  69. package/lib/{SchemaView-CtYJpxQI.js → SchemaView-DVx-jFN4.js} +13 -13
  70. package/lib/{SchemaView-CtYJpxQI.js.map → SchemaView-DVx-jFN4.js.map} +1 -1
  71. package/lib/{SignUp-CrjeBbqN.js → SignUp-CRIKdWt9.js} +2 -2
  72. package/lib/{SignUp-CrjeBbqN.js.map → SignUp-CRIKdWt9.js.map} +1 -1
  73. package/lib/{Slot-DANV2b7_.js → Slot-ITby_hMb.js} +4 -4
  74. package/lib/{Slot-DANV2b7_.js.map → Slot-ITby_hMb.js.map} +1 -1
  75. package/lib/{SyntaxHighlight-DtvR7RLF.js → SyntaxHighlight-CqKHkyEy.js} +2 -2
  76. package/lib/{SyntaxHighlight-DtvR7RLF.js.map → SyntaxHighlight-CqKHkyEy.js.map} +1 -1
  77. package/lib/{Toc-ClJBmdtI.js → Toc-Csq3UNtW.js} +2 -2
  78. package/lib/{Toc-ClJBmdtI.js.map → Toc-Csq3UNtW.js.map} +1 -1
  79. package/lib/{circular-pOdgLzpG.js → circular-BP4OrHFK.js} +2 -2
  80. package/lib/{circular-pOdgLzpG.js.map → circular-BP4OrHFK.js.map} +1 -1
  81. package/lib/clerk-yAKDC3Qz.js.map +1 -1
  82. package/lib/{createServer-qAtUf99r.js → createServer-zu4cDiPe.js} +5 -5
  83. package/lib/{createServer-qAtUf99r.js.map → createServer-zu4cDiPe.js.map} +1 -1
  84. package/lib/{errors-Bpodza84.js → errors-CPPSp5F4.js} +10 -10
  85. package/lib/{errors-Bpodza84.js.map → errors-CPPSp5F4.js.map} +1 -1
  86. package/lib/{hook-wIlTGE-2.js → hook-7wZANGJP.js} +2 -5
  87. package/lib/{hook-wIlTGE-2.js.map → hook-7wZANGJP.js.map} +1 -1
  88. package/lib/index-CrcNWbel.js.map +1 -1
  89. package/lib/{index-zddirpDj.js → index-DmNq2fbN.js} +226 -221
  90. package/lib/index-DmNq2fbN.js.map +1 -0
  91. package/lib/index-QzXzw_ra.js.map +1 -1
  92. package/lib/{index-RFzRn4fM.js → index-jWXxqkni.js} +9 -9
  93. package/lib/{index-RFzRn4fM.js.map → index-jWXxqkni.js.map} +1 -1
  94. package/lib/{mutation-C-kdA_1r.js → mutation-C1XCQTQL.js} +2 -2
  95. package/lib/{mutation-C-kdA_1r.js.map → mutation-C1XCQTQL.js.map} +1 -1
  96. package/lib/ui/CodeBlock.js +7 -7
  97. package/lib/ui/CodeBlock.js.map +1 -1
  98. package/lib/ui/SyntaxHighlight.js +2 -2
  99. package/lib/{useMutation-3Ph3x6En.js → useMutation-BKvPttRn.js} +3 -3
  100. package/lib/{useMutation-3Ph3x6En.js.map → useMutation-BKvPttRn.js.map} +1 -1
  101. package/lib/zudoku.auth-auth0.js +1 -1
  102. package/lib/zudoku.auth-azureb2c.js +2 -2
  103. package/lib/zudoku.auth-clerk.js +2 -2
  104. package/lib/zudoku.auth-openid.js +2 -2
  105. package/lib/zudoku.components.js +28 -27
  106. package/lib/zudoku.components.js.map +1 -1
  107. package/lib/zudoku.hooks.js +2 -2
  108. package/lib/zudoku.plugin-api-catalog.js +2 -2
  109. package/lib/zudoku.plugin-api-keys.js +68 -62
  110. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  111. package/lib/zudoku.plugin-custom-pages.js +1 -1
  112. package/lib/zudoku.plugin-markdown.js +1 -1
  113. package/lib/zudoku.plugin-openapi.js +2 -2
  114. package/lib/zudoku.plugin-search-pagefind.js +2 -2
  115. package/package.json +8 -8
  116. package/src/app/ZuploBuildConfig.ts +7 -7
  117. package/src/app/defaultTheme.css +68 -49
  118. package/src/app/entry.client.tsx +0 -2
  119. package/src/app/entry.server.tsx +0 -2
  120. package/src/app/env.ts +8 -0
  121. package/src/app/main.css +1 -52
  122. package/src/app/main.tsx +3 -2
  123. package/src/lib/auth/issuer.test.ts +17 -1
  124. package/src/lib/auth/issuer.ts +4 -1
  125. package/src/lib/authentication/components/CallbackHandler.tsx +1 -1
  126. package/src/lib/components/Framed.tsx +51 -0
  127. package/src/lib/components/MobileTopNavigation.tsx +4 -0
  128. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +11 -8
  129. package/src/lib/plugins/api-keys/index.tsx +1 -3
  130. package/src/lib/plugins/openapi/schema/SchemaView.tsx +1 -1
  131. package/src/lib/ui/CodeBlock.tsx +1 -1
  132. package/src/lib/util/MdxComponents.tsx +13 -2
  133. package/dist/vite/plugin-configure-tailwind.d.ts +0 -2
  134. package/dist/vite/plugin-configure-tailwind.js +0 -38
  135. package/dist/vite/plugin-configure-tailwind.js.map +0 -1
  136. package/dist/vite/plugin-theme-css.d.ts +0 -5
  137. package/dist/vite/plugin-theme-css.js +0 -77
  138. package/dist/vite/plugin-theme-css.js.map +0 -1
  139. package/lib/Markdown-BUE2ViaD.js.map +0 -1
  140. package/lib/index-zddirpDj.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index-QzXzw_ra.js","sources":["../../../node_modules/.pnpm/@mdx-js+react@3.1.0_@types+react@19.1.1_react@19.1.0/node_modules/@mdx-js/react/lib/index.js"],"sourcesContent":["/**\n * @import {MDXComponents} from 'mdx/types.js'\n * @import {Component, ReactElement, ReactNode} from 'react'\n */\n\n/**\n * @callback MergeComponents\n * Custom merge function.\n * @param {Readonly<MDXComponents>} currentComponents\n * Current components from the context.\n * @returns {MDXComponents}\n * Additional components.\n *\n * @typedef Props\n * Configuration for `MDXProvider`.\n * @property {ReactNode | null | undefined} [children]\n * Children (optional).\n * @property {Readonly<MDXComponents> | MergeComponents | null | undefined} [components]\n * Additional components to use or a function that creates them (optional).\n * @property {boolean | null | undefined} [disableParentContext=false]\n * Turn off outer component context (default: `false`).\n */\n\nimport React from 'react'\n\n/** @type {Readonly<MDXComponents>} */\nconst emptyComponents = {}\n\nconst MDXContext = React.createContext(emptyComponents)\n\n/**\n * Get current components from the MDX Context.\n *\n * @param {Readonly<MDXComponents> | MergeComponents | null | undefined} [components]\n * Additional components to use or a function that creates them (optional).\n * @returns {MDXComponents}\n * Current components.\n */\nexport function useMDXComponents(components) {\n const contextComponents = React.useContext(MDXContext)\n\n // Memoize to avoid unnecessary top-level context changes\n return React.useMemo(\n function () {\n // Custom merge via a function prop\n if (typeof components === 'function') {\n return components(contextComponents)\n }\n\n return {...contextComponents, ...components}\n },\n [contextComponents, components]\n )\n}\n\n/**\n * Provider for MDX context.\n *\n * @param {Readonly<Props>} properties\n * Properties.\n * @returns {ReactElement}\n * Element.\n * @satisfies {Component}\n */\nexport function MDXProvider(properties) {\n /** @type {Readonly<MDXComponents>} */\n let allComponents\n\n if (properties.disableParentContext) {\n allComponents =\n typeof properties.components === 'function'\n ? properties.components(emptyComponents)\n : properties.components || emptyComponents\n } else {\n allComponents = useMDXComponents(properties.components)\n }\n\n return React.createElement(\n MDXContext.Provider,\n {value: allComponents},\n properties.children\n )\n}\n"],"names":["emptyComponents","MDXContext","React","useMDXComponents","components","contextComponents","MDXProvider","properties","allComponents"],"mappings":";AA0BA,MAAMA,IAAkB,CAAA,GAElBC,IAAaC,EAAM,cAAcF,CAAe;AAU/C,SAASG,EAAiBC,GAAY;AAC3C,QAAMC,IAAoBH,EAAM,WAAWD,CAAU;AAGrD,SAAOC,EAAM;AAAA,IACX,WAAY;AAEV,aAAI,OAAOE,KAAe,aACjBA,EAAWC,CAAiB,IAG9B,EAAC,GAAGA,GAAmB,GAAGD,EAAU;AAAA,IAC5C;AAAA,IACD,CAACC,GAAmBD,CAAU;AAAA,EAClC;AACA;AAWO,SAASE,EAAYC,GAAY;AAEtC,MAAIC;AAEJ,SAAID,EAAW,uBACbC,IACE,OAAOD,EAAW,cAAe,aAC7BA,EAAW,WAAWP,CAAe,IACrCO,EAAW,cAAcP,IAE/BQ,IAAgBL,EAAiBI,EAAW,UAAU,GAGjDL,EAAM;AAAA,IACXD,EAAW;AAAA,IACX,EAAC,OAAOO,EAAa;AAAA,IACrBD,EAAW;AAAA,EACf;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index-QzXzw_ra.js","sources":["../../../node_modules/.pnpm/@mdx-js+react@3.1.0_@types+react@19.1.8_react@19.1.0/node_modules/@mdx-js/react/lib/index.js"],"sourcesContent":["/**\n * @import {MDXComponents} from 'mdx/types.js'\n * @import {Component, ReactElement, ReactNode} from 'react'\n */\n\n/**\n * @callback MergeComponents\n * Custom merge function.\n * @param {Readonly<MDXComponents>} currentComponents\n * Current components from the context.\n * @returns {MDXComponents}\n * Additional components.\n *\n * @typedef Props\n * Configuration for `MDXProvider`.\n * @property {ReactNode | null | undefined} [children]\n * Children (optional).\n * @property {Readonly<MDXComponents> | MergeComponents | null | undefined} [components]\n * Additional components to use or a function that creates them (optional).\n * @property {boolean | null | undefined} [disableParentContext=false]\n * Turn off outer component context (default: `false`).\n */\n\nimport React from 'react'\n\n/** @type {Readonly<MDXComponents>} */\nconst emptyComponents = {}\n\nconst MDXContext = React.createContext(emptyComponents)\n\n/**\n * Get current components from the MDX Context.\n *\n * @param {Readonly<MDXComponents> | MergeComponents | null | undefined} [components]\n * Additional components to use or a function that creates them (optional).\n * @returns {MDXComponents}\n * Current components.\n */\nexport function useMDXComponents(components) {\n const contextComponents = React.useContext(MDXContext)\n\n // Memoize to avoid unnecessary top-level context changes\n return React.useMemo(\n function () {\n // Custom merge via a function prop\n if (typeof components === 'function') {\n return components(contextComponents)\n }\n\n return {...contextComponents, ...components}\n },\n [contextComponents, components]\n )\n}\n\n/**\n * Provider for MDX context.\n *\n * @param {Readonly<Props>} properties\n * Properties.\n * @returns {ReactElement}\n * Element.\n * @satisfies {Component}\n */\nexport function MDXProvider(properties) {\n /** @type {Readonly<MDXComponents>} */\n let allComponents\n\n if (properties.disableParentContext) {\n allComponents =\n typeof properties.components === 'function'\n ? properties.components(emptyComponents)\n : properties.components || emptyComponents\n } else {\n allComponents = useMDXComponents(properties.components)\n }\n\n return React.createElement(\n MDXContext.Provider,\n {value: allComponents},\n properties.children\n )\n}\n"],"names":["emptyComponents","MDXContext","React","useMDXComponents","components","contextComponents","MDXProvider","properties","allComponents"],"mappings":";AA0BA,MAAMA,IAAkB,CAAA,GAElBC,IAAaC,EAAM,cAAcF,CAAe;AAU/C,SAASG,EAAiBC,GAAY;AAC3C,QAAMC,IAAoBH,EAAM,WAAWD,CAAU;AAGrD,SAAOC,EAAM;AAAA,IACX,WAAY;AAEV,aAAI,OAAOE,KAAe,aACjBA,EAAWC,CAAiB,IAG9B,EAAC,GAAGA,GAAmB,GAAGD,EAAU;AAAA,IAC5C;AAAA,IACD,CAACC,GAAmBD,CAAU;AAAA,EAClC;AACA;AAWO,SAASE,EAAYC,GAAY;AAEtC,MAAIC;AAEJ,SAAID,EAAW,uBACbC,IACE,OAAOD,EAAW,cAAe,aAC7BA,EAAW,WAAWP,CAAe,IACrCO,EAAW,cAAcP,IAE/BQ,IAAgBL,EAAiBI,EAAW,UAAU,GAGjDL,EAAM;AAAA,IACXD,EAAW;AAAA,IACX,EAAC,OAAOO,EAAa;AAAA,IACrBD,EAAW;AAAA,EACf;AACA;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import { j as n } from "./jsx-runtime-C5mzlN2N.js";
2
2
  import { ChevronDown as xt, ChevronUp as pn, Check as gt, ChevronRightIcon as Q, CheckIcon as hn, DotIcon as fn, ChevronDownIcon as xn, XIcon as gn, Circle as yn, DownloadIcon as vn, LogInIcon as bn, CirclePlayIcon as jn } from "lucide-react";
3
3
  import { r as Nn, c as wn, u as Cn, N as Sn, h as Tn, m as Ke } from "./chunk-DQRVZFIR-BblmKnHy.js";
4
- import { L as Ce, M as Se, O as yt, l as An, P as On, j as P, d as Rn, i as $n } from "./hook-wIlTGE-2.js";
4
+ import { L as Ce, M as Se, O as yt, l as An, P as On, j as P, d as Rn, i as $n } from "./hook-7wZANGJP.js";
5
5
  import { Button as J } from "./ui/Button.js";
6
6
  import { Z as Ln } from "./invariant-DAFpPywt.js";
7
7
  import * as N from "react";
@@ -9,7 +9,7 @@ import { createContext as vt, use as Pn, Fragment as D, useRef as W, useEffect a
9
9
  import { VisuallyHidden as Bn } from "@radix-ui/react-visually-hidden";
10
10
  import { D as Te, a as Ae, c as Oe, d as bt, f as jt, e as Fn } from "./Dialog-BxpuVLh9.js";
11
11
  import { u as Vn } from "./react-nprogress.esm-C2MPXjiJ.js";
12
- import { u as qn } from "./useMutation-3Ph3x6En.js";
12
+ import { u as qn } from "./useMutation-BKvPttRn.js";
13
13
  import { u as Re, a as $e, C as B, b as zn, F as _n } from "./index.esm-Cp4wkyud.js";
14
14
  import { B as F } from "./Button-BE9IVkWV.js";
15
15
  import * as C from "@radix-ui/react-select";
@@ -34,7 +34,7 @@ import { Card as wt, CardHeader as ns, CardTitle as ss, CardContent as rs } from
34
34
  import { Tabs as as, TabsList as os, TabsTrigger as et, TabsContent as tt } from "./ui/Tabs.js";
35
35
  import { Collapsible as nt, CollapsibleTrigger as st, CollapsibleContent as rt } from "./ui/Collapsible.js";
36
36
  import * as Pe from "@radix-ui/react-collapsible";
37
- import { S as is } from "./SyntaxHighlight-DtvR7RLF.js";
37
+ import { S as is } from "./SyntaxHighlight-CqKHkyEy.js";
38
38
  let pe;
39
39
  const ls = (e) => {
40
40
  if (e.errors?.[0])
@@ -46,7 +46,7 @@ class cs {
46
46
  constructor(t) {
47
47
  this.config = t;
48
48
  }
49
- #e = async () => (pe || (pe = import("./createServer-qAtUf99r.js").then(
49
+ #e = async () => (pe || (pe = import("./createServer-zu4cDiPe.js").then(
50
50
  (t) => t.createServer(this.config)
51
51
  )), pe);
52
52
  #t = async (t) => this.config.server ? fetch(this.config.server, t) : (await this.#e()).fetch("http://localhost/graphql", t);
@@ -2947,7 +2947,7 @@ const Pr = {
2947
2947
  }, ft = (e) => ({
2948
2948
  path: e.routePath,
2949
2949
  async lazy() {
2950
- const { OasProvider: t } = await import("./OasProvider-C6_Kx5O7.js");
2950
+ const { OasProvider: t } = await import("./OasProvider-_GzmsbMg.js");
2951
2951
  return {
2952
2952
  element: /* @__PURE__ */ n.jsx(
2953
2953
  t,
@@ -2968,7 +2968,7 @@ const Pr = {
2968
2968
  }) => ({
2969
2969
  path: e,
2970
2970
  async lazy() {
2971
- const { OperationList: a } = await import("./OperationList-BISd29LY.js");
2971
+ const { OperationList: a } = await import("./OperationList-BJAKaG5p.js");
2972
2972
  return { element: /* @__PURE__ */ n.jsx(a, { tag: t, untagged: s }) };
2973
2973
  }
2974
2974
  }), Gr = ({
@@ -2990,7 +2990,7 @@ const Pr = {
2990
2990
  }, Hr = ({ path: e }) => ({
2991
2991
  path: e,
2992
2992
  async lazy() {
2993
- const { OperationList: t } = await import("./OperationList-BISd29LY.js");
2993
+ const { OperationList: t } = await import("./OperationList-BJAKaG5p.js");
2994
2994
  return {
2995
2995
  element: /* @__PURE__ */ n.jsx(
2996
2996
  Gr,
@@ -3011,7 +3011,7 @@ const Pr = {
3011
3011
  {
3012
3012
  path: P(e, "~schemas"),
3013
3013
  lazy: async () => {
3014
- const { SchemaList: t } = await import("./SchemaList-BqnRo5ov.js");
3014
+ const { SchemaList: t } = await import("./SchemaList-Dgc0A8x5.js");
3015
3015
  return { element: /* @__PURE__ */ n.jsx(t, {}) };
3016
3016
  }
3017
3017
  }
@@ -3223,4 +3223,4 @@ export {
3223
3223
  he as y,
3224
3224
  us as z
3225
3225
  };
3226
- //# sourceMappingURL=index-RFzRn4fM.js.map
3226
+ //# sourceMappingURL=index-jWXxqkni.js.map