zudoku 0.7.2-dev.13 → 0.7.2-dev.14

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 (70) hide show
  1. package/lib/AuthenticationPlugin-BMjOjKqE.js +54 -0
  2. package/lib/{AuthenticationPlugin-Bx9FK124.js.map → AuthenticationPlugin-BMjOjKqE.js.map} +1 -1
  3. package/lib/CategoryHeading-BE8e6QdS.js +9 -0
  4. package/lib/{CategoryHeading-XnFqN2lJ.js.map → CategoryHeading-BE8e6QdS.js.map} +1 -1
  5. package/lib/DeveloperHint-Bl9gIdNI.js +12 -0
  6. package/lib/{DeveloperHint-FBb2uXJe.js.map → DeveloperHint-Bl9gIdNI.js.map} +1 -1
  7. package/lib/ErrorPage-CPR1XVKW.js +12 -0
  8. package/lib/{ErrorPage-knunPbKI.js.map → ErrorPage-CPR1XVKW.js.map} +1 -1
  9. package/lib/Input-BBlyeDuG.js +2192 -0
  10. package/lib/{Input-BEDZAKw0.js.map → Input-BBlyeDuG.js.map} +1 -1
  11. package/lib/{Markdown-B4aR03g6.js → Markdown-CCNihH_N.js} +2641 -2650
  12. package/lib/{Markdown-B4aR03g6.js.map → Markdown-CCNihH_N.js.map} +1 -1
  13. package/lib/MdxPage-BavkYqzi.js +140 -0
  14. package/lib/{MdxPage-BZyQsH8Z.js.map → MdxPage-BavkYqzi.js.map} +1 -1
  15. package/lib/OperationList-C6Ps2keZ.js +460 -0
  16. package/lib/{OperationList-2NeWEM0u.js.map → OperationList-C6Ps2keZ.js.map} +1 -1
  17. package/lib/Route-xRJ9mJgH.js +13 -0
  18. package/lib/{Route-BZPewmrN.js.map → Route-xRJ9mJgH.js.map} +1 -1
  19. package/lib/{SidebarBadge-COz0hgfa.js → SidebarBadge-2JcxswKF.js} +41 -41
  20. package/lib/{SidebarBadge-COz0hgfa.js.map → SidebarBadge-2JcxswKF.js.map} +1 -1
  21. package/lib/SlotletProvider-CuB3Ts8r.js +213 -0
  22. package/lib/{SlotletProvider-DJMaOUDs.js.map → SlotletProvider-CuB3Ts8r.js.map} +1 -1
  23. package/lib/Spinner-BlxzaFFF.js +6 -0
  24. package/lib/Spinner-BlxzaFFF.js.map +1 -0
  25. package/lib/{ZudokuContext-cr-pTRY1.js → ZudokuContext-JoyeA9dT.js} +65 -66
  26. package/lib/{ZudokuContext-cr-pTRY1.js.map → ZudokuContext-JoyeA9dT.js.map} +1 -1
  27. package/lib/{index-Dv2KZuEw.js → index-BF4cn28H.js} +1804 -1991
  28. package/lib/{index-Dv2KZuEw.js.map → index-BF4cn28H.js.map} +1 -1
  29. package/lib/{index-Zezcv0xb.js → index-BLvMkqjO.js} +5 -5
  30. package/lib/{index-Zezcv0xb.js.map → index-BLvMkqjO.js.map} +1 -1
  31. package/lib/{index-1EDgIO6b.js → index-G1-TGLO1.js} +4 -4
  32. package/lib/{index-1EDgIO6b.js.map → index-G1-TGLO1.js.map} +1 -1
  33. package/lib/jsx-runtime-lNnQYwFN.js +2403 -0
  34. package/lib/jsx-runtime-lNnQYwFN.js.map +1 -0
  35. package/lib/{utils-ByIc_KIM.js → utils-B8R4grFM.js} +97 -98
  36. package/lib/{utils-ByIc_KIM.js.map → utils-B8R4grFM.js.map} +1 -1
  37. package/lib/zudoku.auth-auth0.js +16 -21
  38. package/lib/zudoku.auth-auth0.js.map +1 -1
  39. package/lib/zudoku.auth-clerk.js +32 -37
  40. package/lib/zudoku.auth-clerk.js.map +1 -1
  41. package/lib/zudoku.auth-openid.js +485 -505
  42. package/lib/zudoku.auth-openid.js.map +1 -1
  43. package/lib/zudoku.components.js +1531 -1659
  44. package/lib/zudoku.components.js.map +1 -1
  45. package/lib/zudoku.plugin-api-keys.js +150 -214
  46. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  47. package/lib/zudoku.plugin-custom-page.js +5 -6
  48. package/lib/zudoku.plugin-custom-page.js.map +1 -1
  49. package/lib/zudoku.plugin-markdown.js +12 -13
  50. package/lib/zudoku.plugin-markdown.js.map +1 -1
  51. package/lib/zudoku.plugin-openapi.js +7 -8
  52. package/lib/zudoku.plugin-openapi.js.map +1 -1
  53. package/lib/zudoku.plugin-search-inkeep.js +20 -21
  54. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  55. package/package.json +1 -1
  56. package/lib/AuthenticationPlugin-Bx9FK124.js +0 -55
  57. package/lib/CategoryHeading-XnFqN2lJ.js +0 -10
  58. package/lib/DeveloperHint-FBb2uXJe.js +0 -16
  59. package/lib/ErrorPage-knunPbKI.js +0 -18
  60. package/lib/Input-BEDZAKw0.js +0 -2198
  61. package/lib/MdxPage-BZyQsH8Z.js +0 -172
  62. package/lib/OperationList-2NeWEM0u.js +0 -560
  63. package/lib/Route-BZPewmrN.js +0 -14
  64. package/lib/SlotletProvider-DJMaOUDs.js +0 -238
  65. package/lib/Spinner-3cQDBVGr.js +0 -7
  66. package/lib/Spinner-3cQDBVGr.js.map +0 -1
  67. package/lib/index-BG0g4WW0.js +0 -1771
  68. package/lib/index-BG0g4WW0.js.map +0 -1
  69. package/lib/jsx-runtime-B6kdoens.js +0 -635
  70. package/lib/jsx-runtime-B6kdoens.js.map +0 -1
@@ -1,238 +0,0 @@
1
- import { j as a } from "./jsx-runtime-B6kdoens.js";
2
- import { UnlinkIcon as ce } from "lucide-react";
3
- import { c as ue, L as fe, d as le } from "./index-BG0g4WW0.js";
4
- import { C as me } from "./CategoryHeading-XnFqN2lJ.js";
5
- import { D as de } from "./DeveloperHint-FBb2uXJe.js";
6
- import { P as pe, H as Ee } from "./Markdown-B4aR03g6.js";
7
- import { b as ve } from "./router-D2p7Olpn.js";
8
- import j, { useContext as ye } from "react";
9
- const Se = () => {
10
- const n = ue();
11
- return /* @__PURE__ */ a.jsxs("div", { className: pe + " h-full pt-[--padding-content-top]", children: [
12
- /* @__PURE__ */ a.jsx(me, { children: "404" }),
13
- /* @__PURE__ */ a.jsxs(Ee, { level: 1, className: "flex gap-3.5 items-center", children: [
14
- "Page not found",
15
- /* @__PURE__ */ a.jsx(ce, { size: 24 })
16
- ] }),
17
- /* @__PURE__ */ a.jsxs(de, { children: [
18
- "Start by adding a file at",
19
- " ",
20
- /* @__PURE__ */ a.jsxs("code", { children: [
21
- "{PROJECT_ROOT}",
22
- "/",
23
- n["*"],
24
- ".mdx"
25
- ] }),
26
- " ",
27
- "and add some content to make this error go away."
28
- ] }),
29
- /* @__PURE__ */ a.jsx("p", { children: "It seems that the page you are looking for does not exist or may have been moved. Please check the URL for any typos or use the navigation menu to find the correct page." }),
30
- /* @__PURE__ */ a.jsx(fe, { to: "/", children: "Go back home" })
31
- ] });
32
- };
33
- function xe({ error: n }) {
34
- const i = (n == null ? void 0 : n.message) ?? "Something went wrong", s = n == null ? void 0 : n.stack;
35
- return /* @__PURE__ */ a.jsx("div", { className: "flex h-screen max-h-screen min-h-full items-center justify-center bg-primary-background px-4 py-16 lg:px-8", children: /* @__PURE__ */ a.jsxs("div", { className: "mx-auto max-w-[85%] sm:max-w-[50%]", children: [
36
- /* @__PURE__ */ a.jsx("h1", { className: "text-4xl font-bold tracking-tight text-h1-text sm:text-5xl", children: "Something went wrong" }),
37
- /* @__PURE__ */ a.jsx("p", { className: "mt-5 text-h1-text", children: i }),
38
- s ? /* @__PURE__ */ a.jsx("pre", { className: "mt-5 max-h-[400px] w-full overflow-scroll rounded-md border border-input-border bg-input-background p-3 text-property-name-text text-red-700", children: s }) : null
39
- ] }) });
40
- }
41
- function we() {
42
- const n = le();
43
- return ve(n) && n.status === 404 ? /* @__PURE__ */ a.jsx(Se, {}) : /* @__PURE__ */ a.jsx(xe, { error: n });
44
- }
45
- var h = { exports: {} }, t = {};
46
- /**
47
- * @license React
48
- * react-is.production.min.js
49
- *
50
- * Copyright (c) Facebook, Inc. and its affiliates.
51
- *
52
- * This source code is licensed under the MIT license found in the
53
- * LICENSE file in the root directory of this source tree.
54
- */
55
- var A;
56
- function be() {
57
- if (A) return t;
58
- A = 1;
59
- var n = Symbol.for("react.element"), i = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), d = Symbol.for("react.context"), _ = Symbol.for("react.server_context"), p = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), b;
60
- b = Symbol.for("react.module.reference");
61
- function c(e) {
62
- if (typeof e == "object" && e !== null) {
63
- var x = e.$$typeof;
64
- switch (x) {
65
- case n:
66
- switch (e = e.type, e) {
67
- case s:
68
- case l:
69
- case f:
70
- case E:
71
- case v:
72
- return e;
73
- default:
74
- switch (e = e && e.$$typeof, e) {
75
- case _:
76
- case d:
77
- case p:
78
- case S:
79
- case y:
80
- case m:
81
- return e;
82
- default:
83
- return x;
84
- }
85
- }
86
- case i:
87
- return x;
88
- }
89
- }
90
- }
91
- return t.ContextConsumer = d, t.ContextProvider = m, t.Element = n, t.ForwardRef = p, t.Fragment = s, t.Lazy = S, t.Memo = y, t.Portal = i, t.Profiler = l, t.StrictMode = f, t.Suspense = E, t.SuspenseList = v, t.isAsyncMode = function() {
92
- return !1;
93
- }, t.isConcurrentMode = function() {
94
- return !1;
95
- }, t.isContextConsumer = function(e) {
96
- return c(e) === d;
97
- }, t.isContextProvider = function(e) {
98
- return c(e) === m;
99
- }, t.isElement = function(e) {
100
- return typeof e == "object" && e !== null && e.$$typeof === n;
101
- }, t.isForwardRef = function(e) {
102
- return c(e) === p;
103
- }, t.isFragment = function(e) {
104
- return c(e) === s;
105
- }, t.isLazy = function(e) {
106
- return c(e) === S;
107
- }, t.isMemo = function(e) {
108
- return c(e) === y;
109
- }, t.isPortal = function(e) {
110
- return c(e) === i;
111
- }, t.isProfiler = function(e) {
112
- return c(e) === l;
113
- }, t.isStrictMode = function(e) {
114
- return c(e) === f;
115
- }, t.isSuspense = function(e) {
116
- return c(e) === E;
117
- }, t.isSuspenseList = function(e) {
118
- return c(e) === v;
119
- }, t.isValidElementType = function(e) {
120
- return typeof e == "string" || typeof e == "function" || e === s || e === l || e === f || e === E || e === v || e === C || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === y || e.$$typeof === m || e.$$typeof === d || e.$$typeof === p || e.$$typeof === b || e.getModuleId !== void 0);
121
- }, t.typeOf = c, t;
122
- }
123
- var o = {};
124
- /**
125
- * @license React
126
- * react-is.development.js
127
- *
128
- * Copyright (c) Facebook, Inc. and its affiliates.
129
- *
130
- * This source code is licensed under the MIT license found in the
131
- * LICENSE file in the root directory of this source tree.
132
- */
133
- var w;
134
- function Re() {
135
- return w || (w = 1, process.env.NODE_ENV !== "production" && function() {
136
- var n = Symbol.for("react.element"), i = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), d = Symbol.for("react.context"), _ = Symbol.for("react.server_context"), p = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), b = !1, c = !1, e = !1, x = !1, I = !1, P;
137
- P = Symbol.for("react.module.reference");
138
- function F(r) {
139
- return !!(typeof r == "string" || typeof r == "function" || r === s || r === l || I || r === f || r === E || r === v || x || r === C || b || c || e || typeof r == "object" && r !== null && (r.$$typeof === S || r.$$typeof === y || r.$$typeof === m || r.$$typeof === d || r.$$typeof === p || // This needs to include all possible module reference object
140
- // types supported by any Flight configuration anywhere since
141
- // we don't know which Flight build this will end up being used
142
- // with.
143
- r.$$typeof === P || r.getModuleId !== void 0));
144
- }
145
- function u(r) {
146
- if (typeof r == "object" && r !== null) {
147
- var T = r.$$typeof;
148
- switch (T) {
149
- case n:
150
- var R = r.type;
151
- switch (R) {
152
- case s:
153
- case l:
154
- case f:
155
- case E:
156
- case v:
157
- return R;
158
- default:
159
- var $ = R && R.$$typeof;
160
- switch ($) {
161
- case _:
162
- case d:
163
- case p:
164
- case S:
165
- case y:
166
- case m:
167
- return $;
168
- default:
169
- return T;
170
- }
171
- }
172
- case i:
173
- return T;
174
- }
175
- }
176
- }
177
- var N = d, O = m, Y = n, k = p, D = s, z = S, V = y, q = i, H = l, U = f, W = E, G = v, g = !1, M = !1;
178
- function X(r) {
179
- return g || (g = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
180
- }
181
- function J(r) {
182
- return M || (M = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
183
- }
184
- function Z(r) {
185
- return u(r) === d;
186
- }
187
- function B(r) {
188
- return u(r) === m;
189
- }
190
- function K(r) {
191
- return typeof r == "object" && r !== null && r.$$typeof === n;
192
- }
193
- function Q(r) {
194
- return u(r) === p;
195
- }
196
- function ee(r) {
197
- return u(r) === s;
198
- }
199
- function re(r) {
200
- return u(r) === S;
201
- }
202
- function te(r) {
203
- return u(r) === y;
204
- }
205
- function oe(r) {
206
- return u(r) === i;
207
- }
208
- function ne(r) {
209
- return u(r) === l;
210
- }
211
- function se(r) {
212
- return u(r) === f;
213
- }
214
- function ae(r) {
215
- return u(r) === E;
216
- }
217
- function ie(r) {
218
- return u(r) === v;
219
- }
220
- o.ContextConsumer = N, o.ContextProvider = O, o.Element = Y, o.ForwardRef = k, o.Fragment = D, o.Lazy = z, o.Memo = V, o.Portal = q, o.Profiler = H, o.StrictMode = U, o.Suspense = W, o.SuspenseList = G, o.isAsyncMode = X, o.isConcurrentMode = J, o.isContextConsumer = Z, o.isContextProvider = B, o.isElement = K, o.isForwardRef = Q, o.isFragment = ee, o.isLazy = re, o.isMemo = te, o.isPortal = oe, o.isProfiler = ne, o.isStrictMode = se, o.isSuspense = ae, o.isSuspenseList = ie, o.isValidElementType = F, o.typeOf = u;
221
- }()), o;
222
- }
223
- process.env.NODE_ENV === "production" ? h.exports = be() : h.exports = Re();
224
- var _e = h.exports;
225
- const L = j.createContext({}), je = ({
226
- slotlets: n,
227
- children: i
228
- }) => /* @__PURE__ */ a.jsx(L.Provider, { value: n, children: i }), Le = ({ name: n }) => {
229
- const i = ye(L), s = i == null ? void 0 : i[n];
230
- return _e.isValidElementType(s) ? j.createElement(s) : s;
231
- };
232
- export {
233
- xe as E,
234
- we as R,
235
- Le as S,
236
- je as a
237
- };
238
- //# sourceMappingURL=SlotletProvider-DJMaOUDs.js.map
@@ -1,7 +0,0 @@
1
- import { j as s } from "./jsx-runtime-B6kdoens.js";
2
- import { LoaderCircle as o } from "lucide-react";
3
- const i = ({ size: r = 16 }) => /* @__PURE__ */ s.jsx(o, { size: r, className: "animate-spin" });
4
- export {
5
- i as S
6
- };
7
- //# sourceMappingURL=Spinner-3cQDBVGr.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Spinner-3cQDBVGr.js","sources":["../src/lib/components/Spinner.tsx"],"sourcesContent":["import { LoaderCircle } from \"lucide-react\";\n\nexport const Spinner = ({ size = 16 }: { size?: number }) => (\n <LoaderCircle size={size} className=\"animate-spin\" />\n);\n"],"names":["Spinner","size","jsx","LoaderCircle"],"mappings":";;AAEa,MAAAA,IAAU,CAAC,EAAE,MAAAC,IAAO,SAC9BC,gBAAAA,MAAAC,GAAA,EAAa,MAAAF,GAAY,WAAU,eAAe,CAAA;"}