@clarify-labs/renderer 0.6.7 → 0.7.1

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 (76) hide show
  1. package/output/{OpenApiOperation-CxQQyEHK.cjs → OpenApiOperation-C4xZu4i0.cjs} +154 -79
  2. package/output/OpenApiOperation-C4xZu4i0.cjs.map +1 -0
  3. package/output/{OpenApiOperation-CI_PeMSy.js → OpenApiOperation-LIL7bqxW.js} +129 -60
  4. package/output/OpenApiOperation-LIL7bqxW.js.map +1 -0
  5. package/output/{shell-D4tS8Jts.cjs → PageActions-1RDCHcUY.cjs} +597 -160
  6. package/output/PageActions-1RDCHcUY.cjs.map +1 -0
  7. package/output/{shell-DvTfFx6M.js → PageActions-yoDRjkq8.js} +531 -148
  8. package/output/PageActions-yoDRjkq8.js.map +1 -0
  9. package/output/{ThemeRoot-DErmHskn.js → ThemeRoot-CLa0yvRQ.js} +302 -106
  10. package/output/ThemeRoot-CLa0yvRQ.js.map +1 -0
  11. package/output/{ThemeRoot-BhP5M3Hd.cjs → ThemeRoot-DYS-lcK-.cjs} +349 -129
  12. package/output/ThemeRoot-DYS-lcK-.cjs.map +1 -0
  13. package/output/app/AppShell.d.ts +5 -2
  14. package/output/app/PageActions.d.ts +12 -0
  15. package/output/app/PageBanner.d.ts +7 -0
  16. package/output/app/PageFooter.d.ts +5 -1
  17. package/output/app/SectionProvider.d.ts +1 -0
  18. package/output/client.cjs +14 -4
  19. package/output/client.d.ts +4 -1
  20. package/output/client.js +4 -3
  21. package/output/components/LocalizedLink.d.ts +6 -0
  22. package/output/components/WebFrame.d.ts +11 -0
  23. package/output/components/index.d.ts +4 -0
  24. package/output/context.d.ts +1 -1
  25. package/output/core/context.d.ts +5 -5
  26. package/output/core/index.d.ts +1 -1
  27. package/output/core/types.d.ts +74 -59
  28. package/output/index.cjs +57 -28
  29. package/output/index.cjs.map +1 -1
  30. package/output/index.d.ts +9 -7
  31. package/output/index.js +37 -12
  32. package/output/index.js.map +1 -1
  33. package/output/mdx/components.d.ts +2 -0
  34. package/output/mdx/primitives.d.ts +3 -2
  35. package/output/preview.cjs +66 -28
  36. package/output/preview.cjs.map +1 -1
  37. package/output/preview.js +63 -25
  38. package/output/preview.js.map +1 -1
  39. package/output/{render-C_NHO3rz.cjs → render-CRTqZzyY.cjs} +10 -8
  40. package/output/render-CRTqZzyY.cjs.map +1 -0
  41. package/output/{render-HeCAMIGm.js → render-D0ls3d2j.js} +8 -6
  42. package/output/render-D0ls3d2j.js.map +1 -0
  43. package/output/renderer.css +575 -280
  44. package/output/server.cjs +10 -8
  45. package/output/server.cjs.map +1 -1
  46. package/output/server.js +7 -5
  47. package/output/server.js.map +1 -1
  48. package/output/shell/ContentActions.d.ts +0 -1
  49. package/output/shell/Header.d.ts +3 -2
  50. package/output/shell/Search.d.ts +4 -0
  51. package/output/shell/SiteLogo.d.ts +2 -2
  52. package/output/shell/mobile.d.ts +2 -2
  53. package/output/shell/search/Highlight.d.ts +11 -0
  54. package/output/shell/search/SearchDialog.d.ts +13 -0
  55. package/output/shell/search/SearchInput.d.ts +8 -0
  56. package/output/shell/search/SearchResult.d.ts +10 -0
  57. package/output/shell/search/items.d.ts +3 -0
  58. package/output/shell/search/pagefind.d.ts +5 -0
  59. package/output/shell/search/types.d.ts +37 -0
  60. package/output/shell/search/useSearchProps.d.ts +10 -0
  61. package/output/theme/ThemeEditor.d.ts +53 -17
  62. package/output/theme/ThemeProvider.d.ts +2 -1
  63. package/output/theme/ThemeRoot.d.ts +2 -2
  64. package/output/theme/cookies.d.ts +11 -0
  65. package/output/theme/randomTheme.d.ts +2 -2
  66. package/output/theme/variables.d.ts +58 -18
  67. package/output/utils/href.d.ts +3 -3
  68. package/package.json +1 -1
  69. package/output/OpenApiOperation-CI_PeMSy.js.map +0 -1
  70. package/output/OpenApiOperation-CxQQyEHK.cjs.map +0 -1
  71. package/output/ThemeRoot-BhP5M3Hd.cjs.map +0 -1
  72. package/output/ThemeRoot-DErmHskn.js.map +0 -1
  73. package/output/render-C_NHO3rz.cjs.map +0 -1
  74. package/output/render-HeCAMIGm.js.map +0 -1
  75. package/output/shell-D4tS8Jts.cjs.map +0 -1
  76. package/output/shell-DvTfFx6M.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require("./chunk-DakpK96I.cjs");
2
- const require_shell = require("./shell-D4tS8Jts.cjs");
2
+ const require_PageActions = require("./PageActions-1RDCHcUY.cjs");
3
3
  const require_remark = require("./remark-Dv3owbSH.cjs");
4
4
  let clsx = require("clsx");
5
5
  clsx = require_chunk.__toESM(clsx, 1);
@@ -14,6 +14,23 @@ let react_markdown = require("react-markdown");
14
14
  react_markdown = require_chunk.__toESM(react_markdown, 1);
15
15
  let github_slugger = require("github-slugger");
16
16
  let _scalar_snippetz = require("@scalar/snippetz");
17
+ //#region source/components/LocalizedLink.tsx
18
+ function useLocalizedHref(href) {
19
+ return require_PageActions.localizeHref(href, require_PageActions.useConfig(), require_PageActions.useLocale());
20
+ }
21
+ function LocalizedLink(arg0) {
22
+ const { href, ...props } = arg0;
23
+ const localizedHref = useLocalizedHref(href);
24
+ if (!require_PageActions.isExternalHref(localizedHref) && !localizedHref.startsWith("#")) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_router_dom.Link, {
25
+ to: localizedHref,
26
+ ...props
27
+ });
28
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
29
+ href: localizedHref,
30
+ ...props
31
+ });
32
+ }
33
+ //#endregion
17
34
  //#region source/components/Button.tsx
18
35
  var buttonVariantStyles = {
19
36
  primary: "rounded-full bg-(--clarify-theme-tokens-colors-foreground) px-3 py-1 text-(--clarify-theme-tokens-colors-background) hover:opacity-80 dark:bg-(--clarify-theme-tokens-colors-primary)/10 dark:text-(--clarify-theme-tokens-colors-primary) dark:ring-1 dark:ring-inset dark:ring-(--clarify-theme-tokens-colors-primary)/20 dark:hover:opacity-80",
@@ -24,11 +41,17 @@ var buttonVariantStyles = {
24
41
  };
25
42
  function Button(arg0) {
26
43
  const { variant = "primary", className, children, arrow, ...props } = arg0;
27
- const classes = (0, clsx.default)("clarify-button inline-flex justify-center gap-0.5 overflow-hidden text-sm font-medium transition", buttonVariantStyles[variant], className);
28
- const arrowIcon = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ArrowRight, { className: (0, clsx.default)("mt-0.5 h-5 w-5", variant === "text" && "relative top-px", arrow === "left" && "-ml-1 rotate-180", arrow === "right" && "-mr-1") });
44
+ const classes = (0, clsx.default)("clarify-button not-prose inline-flex w-fit max-w-full items-center justify-center gap-1 overflow-hidden align-middle text-sm leading-6 font-medium whitespace-nowrap no-underline transition", buttonVariantStyles[variant], className);
45
+ const arrowIcon = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ArrowRight, {
46
+ "aria-hidden": "true",
47
+ className: (0, clsx.default)("h-4 w-4 shrink-0", variant === "text" && "relative top-px", arrow === "left" && "-ml-0.5 rotate-180", arrow === "right" && "-mr-0.5")
48
+ });
29
49
  const inner = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
30
50
  arrow === "left" ? arrowIcon : null,
31
- children,
51
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
52
+ className: "truncate",
53
+ children
54
+ }),
32
55
  arrow === "right" ? arrowIcon : null
33
56
  ] });
34
57
  if (typeof props.href === "undefined") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
@@ -36,7 +59,7 @@ function Button(arg0) {
36
59
  ...props,
37
60
  children: inner
38
61
  });
39
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
62
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LocalizedLink, {
40
63
  className: classes,
41
64
  ...props,
42
65
  children: inner
@@ -92,7 +115,7 @@ var defaultTitleKeys = {
92
115
  };
93
116
  function Callout(arg0) {
94
117
  const { children, type = "info", title, icon = true, className, ...props } = arg0;
95
- const t = require_shell.useBuiltInText();
118
+ const t = require_PageActions.useBuiltInText();
96
119
  const style = calloutStyles[type];
97
120
  const Icon = style.Icon;
98
121
  const resolvedTitle = title === void 0 ? t(defaultTitleKeys[type]) : title;
@@ -119,9 +142,9 @@ function Callout(arg0) {
119
142
  function CardIcon(arg0) {
120
143
  const { name } = arg0;
121
144
  if (!name) return null;
122
- const iconName = require_shell.resolveLucideIconName(name);
145
+ const iconName = require_PageActions.resolveLucideIconName(name);
123
146
  if (!iconName) return null;
124
- const Icon = require_shell.lucideIconRegistry[iconName];
147
+ const Icon = require_PageActions.lucideIconRegistry[iconName];
125
148
  if (!Icon) return null;
126
149
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
127
150
  className: "flex size-9 flex-none items-center justify-center rounded-(--clarify-theme-tokens-radius-lg) bg-(--clarify-ui-accent-background) text-(--clarify-ui-accent-text) ring-1 ring-(--clarify-ui-accent-border)",
@@ -167,13 +190,7 @@ function Card(arg0) {
167
190
  className: classes,
168
191
  children: content
169
192
  });
170
- if (href.startsWith("/") && !href.startsWith("//")) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_router_dom.Link, {
171
- to: href,
172
- className: classes,
173
- ...props,
174
- children: content
175
- });
176
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
193
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LocalizedLink, {
177
194
  href,
178
195
  className: classes,
179
196
  ...props,
@@ -212,7 +229,7 @@ function getNodeText(node) {
212
229
  }
213
230
  function CopyButton(arg0) {
214
231
  const { code } = arg0;
215
- const t = require_shell.useBuiltInText();
232
+ const t = require_PageActions.useBuiltInText();
216
233
  const [copyCount, setCopyCount] = (0, react.useState)(0);
217
234
  const copied = copyCount > 0;
218
235
  (0, react.useEffect)(() => {
@@ -221,38 +238,30 @@ function CopyButton(arg0) {
221
238
  return () => window.clearTimeout(timeout);
222
239
  }, [copyCount]);
223
240
  if (!code) return null;
224
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
241
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
225
242
  type: "button",
226
- className: (0, clsx.default)("clarify-code-copy group/button absolute top-3.5 right-4 overflow-hidden rounded-full py-1 pr-3 pl-2 text-2xs font-medium opacity-0 backdrop-blur-sm transition group-hover:opacity-100 focus:opacity-100", copied ? "clarify-code-copy-copied" : "bg-white/5 hover:bg-white/7.5 dark:bg-white/2.5 dark:hover:bg-white/5"),
243
+ className: (0, clsx.default)("clarify-code-copy group/button absolute top-3.5 right-4 inline-flex items-center gap-1 overflow-hidden rounded-full border border-(--clarify-code-border) py-1 pr-3 pl-2 text-2xs font-medium whitespace-nowrap opacity-100 shadow-sm backdrop-blur-sm transition sm:opacity-0 sm:group-hover:opacity-100 focus:opacity-100", copied ? "clarify-code-copy-copied text-(--clarify-code-text)" : "bg-(--clarify-code-control-background) text-(--clarify-code-text) hover:bg-(--clarify-code-control-background-hover)"),
227
244
  onClick: () => {
228
- require_shell.copyTextToClipboard(code).then((ok) => {
245
+ require_PageActions.copyTextToClipboard(code).then((ok) => {
229
246
  if (ok) setCopyCount((count) => count + 1);
230
247
  });
231
248
  },
232
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
233
- "aria-hidden": copied,
234
- className: (0, clsx.default)("pointer-events-none flex items-center gap-0.5 text-zinc-400 transition duration-300", copied && "-translate-y-1.5 opacity-0"),
235
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Clipboard, { className: "h-5 w-5 stroke-zinc-500 transition-colors group-hover/button:stroke-zinc-400" }), t("actions.copy")]
236
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
237
- "aria-hidden": !copied,
238
- className: (0, clsx.default)("pointer-events-none absolute inset-0 flex items-center justify-center text-(--clarify-theme-tokens-colors-primary) transition duration-300", !copied && "translate-y-1.5 opacity-0"),
239
- children: t("actions.copied")
240
- })]
249
+ children: copied ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Check, { className: "h-3.5 w-3.5 stroke-(--clarify-theme-tokens-colors-primary)" }), t("actions.copied")] }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Clipboard, { className: "h-3.5 w-3.5 stroke-(--clarify-code-muted) transition-colors group-hover/button:stroke-(--clarify-code-text)" }), t("actions.copy")] })
241
250
  });
242
251
  }
243
252
  function CodePanelHeader(arg0) {
244
253
  const { tag, label } = arg0;
245
254
  if (!tag && !label) return null;
246
255
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
247
- className: "clarify-code-panel-header flex h-9 items-center gap-2 border-y border-t-transparent border-b-white/7.5 bg-zinc-900 px-4 dark:border-b-white/5 dark:bg-white/1",
256
+ className: "clarify-code-panel-header flex h-9 items-center gap-2 border-y border-(--clarify-code-border) border-t-transparent bg-(--clarify-code-background) px-4",
248
257
  children: [
249
258
  tag ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
250
259
  className: "clarify-code-panel-tag font-semibold text-(--clarify-theme-tokens-colors-primary)",
251
260
  children: tag
252
261
  }) : null,
253
- tag && label ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: "h-0.5 w-0.5 rounded-full bg-zinc-500" }) : null,
262
+ tag && label ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: "h-0.5 w-0.5 rounded-full bg-(--clarify-code-faint)" }) : null,
254
263
  label ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
255
- className: "text-xs text-zinc-400",
264
+ className: "truncate text-xs text-(--clarify-code-muted)",
256
265
  children: label
257
266
  }) : null
258
267
  ]
@@ -270,14 +279,14 @@ function CodePanel(arg0) {
270
279
  }
271
280
  const copyText = code ?? getNodeText(children);
272
281
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
273
- className: "clarify-code-panel group dark:bg-white/2.5",
282
+ className: "clarify-code-panel group bg-(--clarify-code-background)",
274
283
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(CodePanelHeader, {
275
284
  tag,
276
285
  label
277
286
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
278
287
  className: "relative",
279
288
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("pre", {
280
- className: "clarify-code-pre overflow-x-auto p-4 text-xs text-white",
289
+ className: "clarify-code-pre overflow-x-auto p-4 text-xs text-(--clarify-code-text)",
281
290
  children
282
291
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CopyButton, { code: copyText })]
283
292
  })]
@@ -285,18 +294,18 @@ function CodePanel(arg0) {
285
294
  }
286
295
  function CodeGroupHeader(arg0) {
287
296
  const { title, children, selectedIndex } = arg0;
288
- const t = require_shell.useBuiltInText();
297
+ const t = require_PageActions.useBuiltInText();
289
298
  const hasTabs = react.Children.count(children) > 1;
290
299
  if (!title && !hasTabs) return null;
291
300
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
292
- className: "clarify-code-group-header flex min-h-(--clarify-code-header-min-height) flex-wrap items-start gap-x-4 border-b border-zinc-700 bg-zinc-800 px-4 dark:border-zinc-800 dark:bg-transparent",
301
+ className: "clarify-code-group-header flex min-h-(--clarify-code-header-min-height) flex-wrap items-start gap-x-4 border-b border-(--clarify-code-border) bg-(--clarify-code-header-background) px-4",
293
302
  children: [title ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
294
- className: "mr-auto pt-3 text-xs font-semibold text-white",
303
+ className: "mr-auto pt-3 text-xs font-semibold text-(--clarify-code-text)",
295
304
  children: title
296
305
  }) : null, hasTabs ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_headlessui_react.TabList, {
297
306
  className: "clarify-code-tabs -mb-px flex gap-4 text-xs font-medium",
298
307
  children: react.Children.map(children, (child, childIndex) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_headlessui_react.Tab, {
299
- className: (0, clsx.default)("clarify-code-tab border-b py-3 transition data-selected:not-data-focus:outline-hidden", childIndex === selectedIndex ? "border-(--clarify-theme-tokens-colors-primary) text-(--clarify-theme-tokens-colors-primary)" : "border-transparent text-zinc-400 hover:text-zinc-300"),
308
+ className: (0, clsx.default)("clarify-code-tab border-b py-3 transition data-selected:not-data-focus:outline-hidden", childIndex === selectedIndex ? "border-(--clarify-theme-tokens-colors-primary) text-(--clarify-theme-tokens-colors-primary)" : "border-transparent text-(--clarify-code-muted) hover:text-(--clarify-code-text)"),
300
309
  children: getPanelTitle({
301
310
  ...(0, react.isValidElement)(child) ? child.props : {},
302
311
  fallbackTitle: t("actions.code")
@@ -364,13 +373,13 @@ function useTabGroupProps(availableLanguages) {
364
373
  var CodeGroupContext = (0, react.createContext)(false);
365
374
  function CodeGroup(arg0) {
366
375
  const { children, title, ...props } = arg0;
367
- const t = require_shell.useBuiltInText();
376
+ const t = require_PageActions.useBuiltInText();
368
377
  const tabGroupProps = useTabGroupProps(react.Children.map(children, (child) => getPanelTitle({
369
378
  ...(0, react.isValidElement)(child) ? child.props : {},
370
379
  fallbackTitle: t("actions.code")
371
380
  })) ?? []);
372
381
  const hasTabs = react.Children.count(children) > 1;
373
- const containerClassName = "clarify-code-group my-6 overflow-hidden rounded-2xl bg-zinc-900 shadow-md dark:ring-1 dark:ring-white/10";
382
+ const containerClassName = "clarify-code-group my-6 overflow-hidden rounded-2xl bg-(--clarify-code-background) shadow-md ring-1 ring-(--clarify-code-border)";
374
383
  const header = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CodeGroupHeader, {
375
384
  title,
376
385
  selectedIndex: tabGroupProps.selectedIndex,
@@ -431,7 +440,7 @@ function Collapse(arg0) {
431
440
  setMaxHeight(open ? `${contentRef.current.scrollHeight}px` : "0px");
432
441
  }, [open, children]);
433
442
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
434
- className: (0, clsx.default)("clarify-collapse my-6 overflow-hidden rounded-(--clarify-theme-tokens-radius-xl) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface) shadow-sm", className),
443
+ className: (0, clsx.default)("clarify-collapse my-6 overflow-hidden rounded-(--clarify-theme-tokens-radius-xl) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface)", className),
435
444
  ...props,
436
445
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
437
446
  type: "button",
@@ -469,7 +478,7 @@ function FeedbackButton(props) {
469
478
  }
470
479
  var FeedbackForm = (0, react.forwardRef)(function FeedbackForm(arg0, ref) {
471
480
  const { onSubmit, className, ...props } = arg0;
472
- const t = require_shell.useBuiltInText();
481
+ const t = require_PageActions.useBuiltInText();
473
482
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("form", {
474
483
  ...props,
475
484
  ref,
@@ -496,7 +505,7 @@ var FeedbackForm = (0, react.forwardRef)(function FeedbackForm(arg0, ref) {
496
505
  });
497
506
  var FeedbackThanks = (0, react.forwardRef)(function FeedbackThanks(arg0, ref) {
498
507
  const { className, ...props } = arg0;
499
- const t = require_shell.useBuiltInText();
508
+ const t = require_PageActions.useBuiltInText();
500
509
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
501
510
  ...props,
502
511
  ref,
@@ -604,9 +613,9 @@ function Heading(arg0) {
604
613
  const resolvedLevel = level ?? 2;
605
614
  const Component = `h${resolvedLevel}`;
606
615
  const ref = (0, react.useRef)(null);
607
- const registerHeading = require_shell.useSectionStore((state) => state.registerHeading);
616
+ const registerHeading = require_PageActions.useSectionStore((state) => state.registerHeading);
608
617
  const inView = (0, framer_motion.useInView)(ref, {
609
- margin: `${require_shell.remToPx(-3.5)}px 0px 0px 0px`,
618
+ margin: `${require_PageActions.remToPx(-3.5)}px 0px 0px 0px`,
610
619
  amount: "all"
611
620
  });
612
621
  (0, react.useEffect)(() => {
@@ -734,6 +743,57 @@ function Prose(arg0) {
734
743
  });
735
744
  }
736
745
  //#endregion
746
+ //#region source/components/WebFrame.tsx
747
+ function WebFrame(arg0) {
748
+ const { src, title = "Embedded content", children, showWindow = true, className, iframeClassName, height = 420, style, ...props } = arg0;
749
+ const frame = src ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("iframe", {
750
+ src,
751
+ title,
752
+ loading: "lazy",
753
+ className: (0, clsx.default)("block w-full flex-1 border-0 bg-white", iframeClassName),
754
+ style: {
755
+ height,
756
+ ...style
757
+ },
758
+ ...props
759
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
760
+ className: (0, clsx.default)("min-h-0 flex-1 overflow-auto bg-white text-zinc-950", iframeClassName),
761
+ style: {
762
+ height,
763
+ ...style
764
+ },
765
+ children
766
+ });
767
+ if (!showWindow) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
768
+ className: (0, clsx.default)("clarify-web-frame not-prose my-10 overflow-hidden rounded-(--clarify-theme-tokens-radius-xl) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface) shadow-(--clarify-ui-accent-glow)", className),
769
+ children: frame
770
+ });
771
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
772
+ className: (0, clsx.default)("clarify-web-frame not-prose my-10 overflow-hidden rounded-(--clarify-theme-tokens-radius-xl) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface) shadow-(--clarify-ui-accent-glow)", className),
773
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
774
+ className: "flex h-10 items-center gap-2 border-b border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-code-background) px-4",
775
+ children: [
776
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
777
+ className: "size-3 rounded-full bg-red-400",
778
+ "aria-hidden": "true"
779
+ }),
780
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
781
+ className: "size-3 rounded-full bg-yellow-400",
782
+ "aria-hidden": "true"
783
+ }),
784
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
785
+ className: "size-3 rounded-full bg-green-400",
786
+ "aria-hidden": "true"
787
+ }),
788
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
789
+ className: "sr-only",
790
+ children: title
791
+ })
792
+ ]
793
+ }), frame]
794
+ });
795
+ }
796
+ //#endregion
737
797
  //#region source/mdx/primitives.tsx
738
798
  var primitives_exports = /* @__PURE__ */ require_chunk.__exportAll({
739
799
  Button: () => Button,
@@ -746,8 +806,10 @@ var primitives_exports = /* @__PURE__ */ require_chunk.__exportAll({
746
806
  Properties: () => Properties,
747
807
  Property: () => Property,
748
808
  Row: () => Row,
809
+ WebFrame: () => WebFrame,
749
810
  a: () => a,
750
811
  code: () => code,
812
+ h1: () => h1,
751
813
  h2: () => h2,
752
814
  h3: () => h3,
753
815
  pre: () => pre,
@@ -756,7 +818,7 @@ var primitives_exports = /* @__PURE__ */ require_chunk.__exportAll({
756
818
  function wrapper(arg0) {
757
819
  const { children } = arg0;
758
820
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("article", {
759
- className: "clarify-mdx-page flex h-full flex-col pt-16 pb-10",
821
+ className: "clarify-mdx-page flex h-full flex-col pt-14 pb-10",
760
822
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Prose, {
761
823
  className: "flex-auto",
762
824
  children
@@ -765,15 +827,22 @@ function wrapper(arg0) {
765
827
  }
766
828
  function a(arg0) {
767
829
  const { href = "", ...props } = arg0;
768
- if (href.startsWith("/") && !href.startsWith("//")) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_router_dom.Link, {
769
- to: href,
770
- ...props
771
- });
772
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
830
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LocalizedLink, {
773
831
  href,
774
832
  ...props
775
833
  });
776
834
  }
835
+ function h1(arg0) {
836
+ const { children, className, ...props } = arg0;
837
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
838
+ className: "clarify-page-title-row flex flex-col gap-4 pb-4 sm:flex-row sm:items-start sm:justify-between",
839
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h1", {
840
+ className: (0, clsx.default)("clarify-page-title min-w-0 flex-1", className),
841
+ ...props,
842
+ children
843
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_PageActions.PageTitleActions, {})]
844
+ });
845
+ }
777
846
  var code = Code;
778
847
  var pre = Pre;
779
848
  function h2(props) {
@@ -1478,26 +1547,26 @@ function SelectControl(arg0) {
1478
1547
  className: wrapperClassName,
1479
1548
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_headlessui_react.ListboxButton, {
1480
1549
  "aria-label": label,
1481
- className: `clarify-api-select-button flex ${buttonSizeClassName} items-center justify-between gap-2 rounded-lg bg-black/30 px-2 py-1 text-xs font-medium whitespace-nowrap text-zinc-100 outline-hidden transition hover:bg-black/50 focus:ring-2 focus:ring-emerald-400/25 data-open:bg-white/10 data-open:ring-2 data-open:ring-emerald-400/25`,
1550
+ className: `clarify-api-select-button flex ${buttonSizeClassName} items-center justify-between gap-2 rounded-lg bg-(--clarify-code-control-background) px-2 py-1 text-xs font-medium whitespace-nowrap text-(--clarify-code-text) outline-hidden transition hover:bg-(--clarify-code-control-background-hover) focus:ring-2 focus:ring-(--clarify-ui-accent-border) data-open:bg-(--clarify-code-control-background-hover) data-open:ring-2 data-open:ring-(--clarify-ui-accent-border)`,
1482
1551
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
1483
1552
  className: "flex min-w-0 items-center gap-1.5 overflow-hidden",
1484
1553
  children: [icon ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
1485
- className: "shrink-0 text-zinc-500",
1554
+ className: "shrink-0 text-(--clarify-code-faint)",
1486
1555
  children: icon
1487
1556
  }) : null, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
1488
1557
  className: "truncate",
1489
1558
  children: selectedOption?.label ?? value
1490
1559
  })]
1491
1560
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronsUpDownIcon, {
1492
- className: "h-3.5 w-3.5 shrink-0 text-zinc-500",
1561
+ className: "h-3.5 w-3.5 shrink-0 text-(--clarify-code-faint)",
1493
1562
  "aria-hidden": "true"
1494
1563
  })]
1495
1564
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_headlessui_react.ListboxOptions, {
1496
1565
  anchor: "bottom end",
1497
- className: "clarify-api-select-options z-30 mt-1 max-h-64 w-max min-w-(--button-width) max-w-(--clarify-popover-max-width) overflow-auto rounded-xl bg-zinc-900 p-1 text-xs shadow-lg shadow-black/20 ring-1 ring-white/10 [--anchor-gap:--spacing(1)] focus:outline-none",
1566
+ className: "clarify-api-select-options z-30 mt-1 max-h-64 w-max min-w-(--button-width) max-w-(--clarify-popover-max-width) overflow-auto rounded-xl bg-(--clarify-code-surface) p-1 text-xs shadow-lg shadow-black/20 ring-1 ring-(--clarify-code-border) [--anchor-gap:--spacing(1)] focus:outline-none",
1498
1567
  children: normalizedOptions.map((option) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_headlessui_react.ListboxOption, {
1499
1568
  value: option.value,
1500
- className: "clarify-api-select-option group flex cursor-default items-center justify-between gap-3 rounded-lg px-2.5 py-2 text-xs whitespace-nowrap text-zinc-300 select-none data-focus:bg-white/10 data-focus:text-white data-selected:text-emerald-300",
1569
+ className: "clarify-api-select-option group flex cursor-default items-center justify-between gap-3 rounded-lg px-2.5 py-2 text-xs whitespace-nowrap text-(--clarify-code-muted) select-none data-focus:bg-(--clarify-code-control-background-hover) data-focus:text-(--clarify-code-text) data-selected:text-(--clarify-theme-tokens-colors-primary)",
1501
1570
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: option.label }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.CheckIcon, {
1502
1571
  className: "h-3.5 w-3.5 shrink-0 opacity-0 group-data-selected:opacity-100",
1503
1572
  "aria-hidden": "true"
@@ -1572,23 +1641,23 @@ function authLabel(name, scheme) {
1572
1641
  }
1573
1642
  function CopyCodeButton(arg0) {
1574
1643
  const { code } = arg0;
1575
- const t = require_shell.useBuiltInText();
1644
+ const t = require_PageActions.useBuiltInText();
1576
1645
  const [copied, setCopied] = (0, react.useState)(false);
1577
1646
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
1578
1647
  type: "button",
1579
1648
  onClick: () => {
1580
- require_shell.copyTextToClipboard(code).then((ok) => {
1649
+ require_PageActions.copyTextToClipboard(code).then((ok) => {
1581
1650
  if (!ok) return;
1582
1651
  setCopied(true);
1583
1652
  window.setTimeout(() => setCopied(false), 1e3);
1584
1653
  });
1585
1654
  },
1586
- className: "flex items-center gap-1.5 rounded-full bg-black/ px-2.5 py-1.5 text-2xs font-medium text-zinc-400 transition hover:bg-black/50 hover:text-zinc-200 focus:bg-black/50 focus:text-zinc-200",
1655
+ className: "flex items-center gap-1.5 rounded-full bg-(--clarify-code-control-background) px-2.5 py-1.5 text-2xs font-medium text-(--clarify-code-muted) transition hover:bg-(--clarify-code-control-background-hover) hover:text-(--clarify-code-text) focus:bg-(--clarify-code-control-background-hover) focus:text-(--clarify-code-text)",
1587
1656
  children: [copied ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.CheckIcon, {
1588
- className: "h-3.5 w-3.5 text-emerald-300",
1657
+ className: "h-3.5 w-3.5 text-(--clarify-theme-tokens-colors-primary)",
1589
1658
  "aria-hidden": "true"
1590
1659
  }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ClipboardIcon, {
1591
- className: "h-3.5 w-3.5 text-zinc-500",
1660
+ className: "h-3.5 w-3.5 text-(--clarify-code-faint)",
1592
1661
  "aria-hidden": "true"
1593
1662
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: copied ? t("actions.copied") : t("actions.copy") })]
1594
1663
  });
@@ -1608,7 +1677,7 @@ function ExampleMetaValue(arg0) {
1608
1677
  }
1609
1678
  function CodeToolbar(arg0) {
1610
1679
  const { code, languageOptions, selectedLanguageKey, onSelectLanguage, clientOptions, selectedClientKey, onSelectClient } = arg0;
1611
- const t = require_shell.useBuiltInText();
1680
+ const t = require_PageActions.useBuiltInText();
1612
1681
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1613
1682
  className: "absolute top-3.5 right-4 left-4 z-10 flex items-center justify-between gap-3",
1614
1683
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
@@ -1637,17 +1706,17 @@ function CodeToolbar(arg0) {
1637
1706
  }
1638
1707
  function ApiExampleCodeGroup(arg0) {
1639
1708
  const { title, tag, tagOptions, onSelectTag, label, labelOptions, onSelectLabel, comfortableMeta = false, code, language, mediaTypes, selectedMediaType, onSelectMediaType, examples, selectedExampleKey, onSelectExample, languageOptions, selectedLanguageKey, onSelectLanguage, clientOptions, selectedClientKey, onSelectClient } = arg0;
1640
- const t = require_shell.useBuiltInText();
1641
- const metaClassName = comfortableMeta ? "flex min-h-11 min-w-0 items-center gap-2 border-y border-t-transparent border-b-white/7.5 bg-zinc-900 px-4 py-2 dark:border-b-white/5 dark:bg-white/1" : "flex h-9 min-w-0 items-center gap-2 border-y border-t-transparent border-b-white/7.5 bg-zinc-900 px-4 dark:border-b-white/5 dark:bg-white/1";
1709
+ const t = require_PageActions.useBuiltInText();
1710
+ const metaClassName = comfortableMeta ? "flex min-h-11 min-w-0 items-center gap-2 border-y border-(--clarify-code-border) border-t-transparent bg-(--clarify-code-background) px-4 py-2" : "flex h-9 min-w-0 items-center gap-2 border-y border-(--clarify-code-border) border-t-transparent bg-(--clarify-code-background) px-4";
1642
1711
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1643
- className: "clarify-api-example my-6 overflow-hidden rounded-2xl bg-zinc-900 shadow-md dark:ring-1 dark:ring-white/10",
1712
+ className: "clarify-api-example my-6 overflow-hidden rounded-2xl bg-(--clarify-code-background) shadow-md ring-1 ring-(--clarify-code-border)",
1644
1713
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1645
1714
  className: "not-prose",
1646
1715
  children: [
1647
1716
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1648
- className: "clarify-api-example-header flex min-h-(--clarify-code-header-min-height) items-center gap-3 border-b border-zinc-700 bg-zinc-800 px-4 py-2 dark:border-zinc-800 dark:bg-transparent",
1717
+ className: "clarify-api-example-header flex min-h-(--clarify-code-header-min-height) items-center gap-3 border-b border-(--clarify-code-border) bg-(--clarify-code-header-background) px-4 py-2",
1649
1718
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
1650
- className: "mr-auto min-w-16 truncate py-1 text-xs font-semibold text-white",
1719
+ className: "mr-auto min-w-16 truncate py-1 text-xs font-semibold text-(--clarify-code-text)",
1651
1720
  children: title
1652
1721
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1653
1722
  className: "ml-auto flex min-w-0 items-center gap-2 whitespace-nowrap",
@@ -1679,18 +1748,18 @@ function ApiExampleCodeGroup(arg0) {
1679
1748
  onChange: onSelectTag,
1680
1749
  className: "clarify-api-example-status font-semibold text-emerald-400"
1681
1750
  }) : null,
1682
- tag && label ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: "h-0.5 w-0.5 shrink-0 rounded-full bg-zinc-500" }) : null,
1751
+ tag && label ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: "h-0.5 w-0.5 shrink-0 rounded-full bg-(--clarify-code-faint)" }) : null,
1683
1752
  label ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ExampleMetaValue, {
1684
1753
  label: t("openapi.mediaType"),
1685
1754
  value: label,
1686
1755
  options: labelOptions,
1687
1756
  onChange: onSelectLabel,
1688
- className: "min-w-0 truncate text-xs text-zinc-400"
1757
+ className: "min-w-0 truncate text-xs text-(--clarify-code-muted)"
1689
1758
  }) : null
1690
1759
  ]
1691
1760
  }) : null,
1692
1761
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1693
- className: "clarify-api-example-code group relative",
1762
+ className: "clarify-api-example-code group relative bg-(--clarify-code-background)",
1694
1763
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(CodeToolbar, {
1695
1764
  code,
1696
1765
  languageOptions,
@@ -1700,7 +1769,7 @@ function ApiExampleCodeGroup(arg0) {
1700
1769
  selectedClientKey,
1701
1770
  onSelectClient
1702
1771
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("pre", {
1703
- className: `max-h-128 overflow-auto overscroll-contain p-4 text-xs text-white ${languageOptions && languageOptions.length > 1 ? "pt-14" : ""}`,
1772
+ className: `max-h-128 overflow-auto overscroll-contain p-4 text-xs text-(--clarify-code-text) ${languageOptions && languageOptions.length > 1 ? "pt-14" : ""}`,
1704
1773
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("code", {
1705
1774
  className: `language-${language}`,
1706
1775
  children: code
@@ -1713,7 +1782,7 @@ function ApiExampleCodeGroup(arg0) {
1713
1782
  }
1714
1783
  function RequestExamplesPanel(arg0) {
1715
1784
  const { spec, path, method, parameters, requestContents, selectedMediaType, onSelectMediaType, selectedServer, serverVariables, auth } = arg0;
1716
- const t = require_shell.useBuiltInText();
1785
+ const t = require_PageActions.useBuiltInText();
1717
1786
  const selectedContent = requestContents.find((content) => content.mediaType === selectedMediaType) ?? requestContents[0];
1718
1787
  const examples = getExampleEntries(selectedContent?.value);
1719
1788
  const [selectedExampleKey, setSelectedExampleKey] = (0, react.useState)(examples[0]?.key ?? "");
@@ -1770,7 +1839,7 @@ function RequestExamplesPanel(arg0) {
1770
1839
  }
1771
1840
  function ResponseExamplesPanel(arg0) {
1772
1841
  const { operation, spec } = arg0;
1773
- const t = require_shell.useBuiltInText();
1842
+ const t = require_PageActions.useBuiltInText();
1774
1843
  const responses = getResponseEntries(operation, spec).filter(({ response }) => getMediaTypeEntries(response.content, spec).length > 0);
1775
1844
  const [selectedStatus, setSelectedStatus] = (0, react.useState)(responses.find(({ status }) => status.startsWith("2"))?.status ?? responses[0]?.status ?? "");
1776
1845
  const selectedResponse = responses.find(({ status }) => status === selectedStatus) ?? responses[0];
@@ -1963,7 +2032,7 @@ function getRootSchemaNode(spec, schema) {
1963
2032
  }
1964
2033
  function SchemaNode(arg0) {
1965
2034
  const { node, depth = 0 } = arg0;
1966
- const t = require_shell.useBuiltInText();
2035
+ const t = require_PageActions.useBuiltInText();
1967
2036
  const [expanded, setExpanded] = (0, react.useState)(depth < 1);
1968
2037
  const hasChildren = node.children.length > 0;
1969
2038
  const type = [node.type, node.required ? t("openapi.requiredBadge") : void 0].filter(Boolean).join(", ") || void 0;
@@ -2033,7 +2102,7 @@ function SchemaProperties(arg0) {
2033
2102
  }
2034
2103
  function ParameterList(arg0) {
2035
2104
  const { title, parameters } = arg0;
2036
- const t = require_shell.useBuiltInText();
2105
+ const t = require_PageActions.useBuiltInText();
2037
2106
  if (parameters.length === 0) return null;
2038
2107
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", { children: title }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Properties, { children: parameters.map((parameter) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Property, {
2039
2108
  name: parameter.name ?? t("openapi.parameter"),
@@ -2043,7 +2112,7 @@ function ParameterList(arg0) {
2043
2112
  }
2044
2113
  function ResponseList(arg0) {
2045
2114
  const { operation, spec } = arg0;
2046
- const t = require_shell.useBuiltInText();
2115
+ const t = require_PageActions.useBuiltInText();
2047
2116
  const responses = getResponseEntries(operation, spec);
2048
2117
  if (responses.length === 0) return null;
2049
2118
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", { children: t("openapi.responses") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Properties, { children: responses.map(({ status, response }) => {
@@ -2144,7 +2213,7 @@ function ServerUrlValue(arg0) {
2144
2213
  "aria-expanded": open,
2145
2214
  "aria-label": "Server",
2146
2215
  onClick: onToggle,
2147
- className: (0, clsx.default)("flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-(--clarify-ui-subtle-background) text-(--clarify-ui-text-soft) transition hover:bg-(--clarify-ui-hover-background) hover:text-(--clarify-theme-tokens-colors-foreground) sm:w-auto sm:min-w-16 sm:max-w-(--clarify-server-url-max-width) sm:px-1.5", open ? "bg-(--clarify-ui-active-background) text-(--clarify-theme-tokens-colors-foreground)" : null),
2216
+ className: (0, clsx.default)("flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-(--clarify-ui-subtle-background) text-(--clarify-ui-text-foreground) transition hover:bg-(--clarify-ui-hover-background) hover:text-(--clarify-theme-tokens-colors-foreground) sm:w-auto sm:min-w-16 sm:max-w-(--clarify-server-url-max-width) sm:px-1.5", open ? "bg-(--clarify-ui-active-background) text-(--clarify-theme-tokens-colors-foreground)" : null),
2148
2217
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
2149
2218
  className: "sm:hidden",
2150
2219
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ServerIcon, {
@@ -2154,7 +2223,7 @@ function ServerUrlValue(arg0) {
2154
2223
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
2155
2224
  className: "hidden min-w-0 items-center gap-1 overflow-hidden sm:flex",
2156
2225
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
2157
- className: "truncate text-xs",
2226
+ className: "truncate font-semibold text-xs",
2158
2227
  children: url
2159
2228
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronDownIcon, {
2160
2229
  className: "h-3.5 w-3.5 shrink-0 text-zinc-400",
@@ -2334,7 +2403,7 @@ function EndpointIdentity(arg0) {
2334
2403
  }
2335
2404
  function OpenApiOperation(arg0) {
2336
2405
  const { spec, path, method, operation } = arg0;
2337
- const t = require_shell.useBuiltInText();
2406
+ const t = require_PageActions.useBuiltInText();
2338
2407
  const id = (0, github_slugger.slug)(`${method.toLowerCase()} ${path}`);
2339
2408
  const summary = operation.summary ?? `${method} ${path}`;
2340
2409
  const description = operation.description;
@@ -2579,6 +2648,12 @@ Object.defineProperty(exports, "Tag", {
2579
2648
  return Tag;
2580
2649
  }
2581
2650
  });
2651
+ Object.defineProperty(exports, "WebFrame", {
2652
+ enumerable: true,
2653
+ get: function() {
2654
+ return WebFrame;
2655
+ }
2656
+ });
2582
2657
  Object.defineProperty(exports, "authPlaceholder", {
2583
2658
  enumerable: true,
2584
2659
  get: function() {
@@ -2628,4 +2703,4 @@ Object.defineProperty(exports, "primitives_exports", {
2628
2703
  }
2629
2704
  });
2630
2705
 
2631
- //# sourceMappingURL=OpenApiOperation-CxQQyEHK.cjs.map
2706
+ //# sourceMappingURL=OpenApiOperation-C4xZu4i0.cjs.map