@clarify-labs/renderer 0.11.4 → 0.11.5

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 (56) hide show
  1. package/output/{ClarifyShell-Cvb7Nk3A.cjs → ClarifyShell-BbD82nrc.cjs} +50 -22
  2. package/output/ClarifyShell-BbD82nrc.cjs.map +1 -0
  3. package/output/{ClarifyShell-gzlibEm8.js → ClarifyShell-BwqLbTI-.js} +50 -22
  4. package/output/ClarifyShell-BwqLbTI-.js.map +1 -0
  5. package/output/{MermaidViewer-CPuTNujY.cjs → MermaidViewer-CO1rhB6A.cjs} +2 -2
  6. package/output/{MermaidViewer-CPuTNujY.cjs.map → MermaidViewer-CO1rhB6A.cjs.map} +1 -1
  7. package/output/{MermaidViewer-EVuBmrzA.js → MermaidViewer-D1wiX_T9.js} +2 -2
  8. package/output/{MermaidViewer-EVuBmrzA.js.map → MermaidViewer-D1wiX_T9.js.map} +1 -1
  9. package/output/{OpenApiOperation-QqYCuqve.cjs → OpenApiOperation-C77uiDjW.cjs} +62 -58
  10. package/output/OpenApiOperation-C77uiDjW.cjs.map +1 -0
  11. package/output/{OpenApiOperation-Ddax6Pen.js → OpenApiOperation-CbdKZMO1.js} +61 -57
  12. package/output/OpenApiOperation-CbdKZMO1.js.map +1 -0
  13. package/output/{PageActions-BBRz0tJ4.js → PageActions-DviEypf6.js} +41 -43
  14. package/output/PageActions-DviEypf6.js.map +1 -0
  15. package/output/{PageActions-ypH6U0Vc.cjs → PageActions-ob2OJusG.cjs} +41 -43
  16. package/output/PageActions-ob2OJusG.cjs.map +1 -0
  17. package/output/{SearchDialog-Df6jknma.js → SearchDialog-89JAjQMh.js} +3 -3
  18. package/output/{SearchDialog-Df6jknma.js.map → SearchDialog-89JAjQMh.js.map} +1 -1
  19. package/output/{SearchDialog-DCGBhNnW.cjs → SearchDialog-CTiUIKeo.cjs} +3 -3
  20. package/output/{SearchDialog-DCGBhNnW.cjs.map → SearchDialog-CTiUIKeo.cjs.map} +1 -1
  21. package/output/app/AppShell.d.ts +1 -0
  22. package/output/app/ContentDiagnostic.d.ts +1 -1
  23. package/output/client.cjs +3 -3
  24. package/output/client.js +3 -3
  25. package/output/{i18n-LXAq0RIC.js → i18n-Cff810G_.js} +3 -3
  26. package/output/i18n-Cff810G_.js.map +1 -0
  27. package/output/{i18n-Ds-f-qlT.cjs → i18n-Cjfk1N7i.cjs} +3 -3
  28. package/output/i18n-Cjfk1N7i.cjs.map +1 -0
  29. package/output/index.cjs +20 -20
  30. package/output/index.cjs.map +1 -1
  31. package/output/index.js +20 -20
  32. package/output/index.js.map +1 -1
  33. package/output/openapi/components/OpenApiRequest.d.ts +1 -0
  34. package/output/openapi/components/useOpenApiRequestState.d.ts +1 -1
  35. package/output/openapi/entry.d.ts +4 -3
  36. package/output/openapi/lib/utils.d.ts +1 -0
  37. package/output/preview.cjs +4 -4
  38. package/output/preview.cjs.map +1 -1
  39. package/output/preview.js +4 -4
  40. package/output/preview.js.map +1 -1
  41. package/output/{render-BQkaRYoY.cjs → render-BhVJVa1q.cjs} +2 -2
  42. package/output/{render-BQkaRYoY.cjs.map → render-BhVJVa1q.cjs.map} +1 -1
  43. package/output/{render-C2rZuVLy.js → render-PDmRKKJm.js} +2 -2
  44. package/output/{render-C2rZuVLy.js.map → render-PDmRKKJm.js.map} +1 -1
  45. package/output/renderer.css +4 -16
  46. package/output/server.cjs +2 -2
  47. package/output/server.js +2 -2
  48. package/package.json +1 -1
  49. package/output/ClarifyShell-Cvb7Nk3A.cjs.map +0 -1
  50. package/output/ClarifyShell-gzlibEm8.js.map +0 -1
  51. package/output/OpenApiOperation-Ddax6Pen.js.map +0 -1
  52. package/output/OpenApiOperation-QqYCuqve.cjs.map +0 -1
  53. package/output/PageActions-BBRz0tJ4.js.map +0 -1
  54. package/output/PageActions-ypH6U0Vc.cjs.map +0 -1
  55. package/output/i18n-Ds-f-qlT.cjs.map +0 -1
  56. package/output/i18n-LXAq0RIC.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { a as useConfig, s as useLocale, t as useBuiltInText } from "./i18n-LXAq0RIC.js";
2
- import { C as isExternalHref, E as copyTextToClipboard, c as lucideIconRegistry, h as useTheme, l as resolveLucideIconName, o as useSectionStore, s as remToPx, t as PageActions, w as localizeHref } from "./PageActions-BBRz0tJ4.js";
1
+ import { a as useConfig, s as useLocale, t as useBuiltInText } from "./i18n-Cff810G_.js";
2
+ import { C as isExternalHref, E as copyTextToClipboard, c as lucideIconRegistry, h as useTheme, l as resolveLucideIconName, o as useSectionStore, s as remToPx, t as PageActions, w as localizeHref } from "./PageActions-DviEypf6.js";
3
3
  import { t as markdownRemarkPlugins } from "./remark-C9iRQM0R.js";
4
4
  import clsx from "clsx";
5
5
  import { Children, Suspense, cloneElement, createContext, createElement, forwardRef, isValidElement, lazy, useContext, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
@@ -253,7 +253,7 @@ function Card(arg0) {
253
253
  }
254
254
  //#endregion
255
255
  //#region source/components/Mermaid.tsx
256
- var MermaidViewer = lazy(() => import("./MermaidViewer-EVuBmrzA.js"));
256
+ var MermaidViewer = lazy(() => import("./MermaidViewer-D1wiX_T9.js"));
257
257
  var mermaidModulePromise;
258
258
  async function loadMermaid() {
259
259
  mermaidModulePromise = mermaidModulePromise ?? import("mermaid").then((module) => module.default);
@@ -496,10 +496,14 @@ function CodeGroupHeader(arg0) {
496
496
  }
497
497
  function CodeGroupPanels(arg0) {
498
498
  const { children, ...props } = arg0;
499
- if (Children.count(children) > 1) return /* @__PURE__ */ jsx(TabPanels, { children: Children.map(children, (child) => /* @__PURE__ */ jsx(TabPanel, { children: /* @__PURE__ */ jsx(CodePanel, {
500
- ...props,
501
- children: child
502
- }) })) });
499
+ if (Children.count(children) > 1) return /* @__PURE__ */ jsx(TabPanels, { children: Children.map(children, (child) => /* @__PURE__ */ jsx(TabPanel, {
500
+ static: true,
501
+ className: "hidden data-selected:block",
502
+ children: /* @__PURE__ */ jsx(CodePanel, {
503
+ ...props,
504
+ children: child
505
+ })
506
+ })) });
503
507
  return /* @__PURE__ */ jsx(CodePanel, {
504
508
  ...props,
505
509
  children
@@ -1052,7 +1056,8 @@ function Tabs(arg0) {
1052
1056
  }), /* @__PURE__ */ jsx(TabPanels, {
1053
1057
  className: panelsClassName ?? "mt-5",
1054
1058
  children: resolvedItems.map((item) => /* @__PURE__ */ jsx(TabPanel, {
1055
- className: "focus:outline-none focus-visible:ring-2 focus-visible:ring-(--clarify-theme-tokens-colors-primary)",
1059
+ static: true,
1060
+ className: ({ selected }) => clsx("focus:outline-none focus-visible:ring-2 focus-visible:ring-(--clarify-theme-tokens-colors-primary)", !selected && "hidden"),
1056
1061
  children: item.panel
1057
1062
  }, item.id))
1058
1063
  })]
@@ -1744,9 +1749,6 @@ function normalizeOpenApiOperationSectionId(operation, method, path, source) {
1744
1749
  if (typeof sectionId !== "string" || !sectionId) operation[CLARIFY_OPENAPI_SECTION_ID_EXTENSION] = createOpenApiOperationSectionId(operation, method, path, source);
1745
1750
  return operation;
1746
1751
  }
1747
- function isOpenAPIHttpMethod(method) {
1748
- return OPENAPI_HTTP_METHODS.includes(method.toLowerCase());
1749
- }
1750
1752
  function isRecord(value) {
1751
1753
  return typeof value === "object" && value !== null && !Array.isArray(value);
1752
1754
  }
@@ -1782,19 +1784,9 @@ function listOperationsFromPathItems(items, source, spec) {
1782
1784
  }
1783
1785
  return operations;
1784
1786
  }
1785
- function getOpenApiOperationEntry(spec, path, method, source) {
1786
- if (!isOpenAPIHttpMethod(method)) return void 0;
1787
- const normalizedMethod = method.toLowerCase();
1788
- const sources = source ? [source] : ["path", "webhook"];
1789
- for (const currentSource of sources) {
1790
- const operation = (currentSource === "webhook" ? getWebhookItem(spec, path) : getPathItem(spec, path))?.[normalizedMethod];
1791
- if (isRecord(operation)) return {
1792
- path,
1793
- method: normalizedMethod,
1794
- operation: normalizeOpenApiOperationSectionId(operation, normalizedMethod, path, currentSource),
1795
- source: currentSource
1796
- };
1797
- }
1787
+ function getOpenApiOperationEntryById(spec, operationId) {
1788
+ const matches = listOpenApiOperations(spec).filter(({ operation }) => operation.operationId === operationId);
1789
+ return matches.length === 1 ? matches[0] : void 0;
1798
1790
  }
1799
1791
  function listOpenApiOperations(spec) {
1800
1792
  const paths = spec.paths ?? {};
@@ -3075,7 +3067,7 @@ function getRootSchemaNode(spec, schema, defaultExpanded) {
3075
3067
  function EnumValueNode(arg0) {
3076
3068
  const { node } = arg0;
3077
3069
  return /* @__PURE__ */ jsx("li", {
3078
- className: "clarify-schema-node m-0 p-0",
3070
+ className: clsx("clarify-schema-node m-0 p-0", node.visible === false && "hidden"),
3079
3071
  children: /* @__PURE__ */ jsx("div", {
3080
3072
  className: "flex min-w-0 items-start rounded-(--clarify-theme-tokens-radius-md) px-2 py-2 text-left",
3081
3073
  children: /* @__PURE__ */ jsxs("div", {
@@ -3140,7 +3132,7 @@ function SchemaNode(arg0) {
3140
3132
  children: expanded ? /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4" })
3141
3133
  }) : null] });
3142
3134
  return /* @__PURE__ */ jsxs("li", {
3143
- className: "clarify-schema-node m-0 p-0",
3135
+ className: clsx("clarify-schema-node m-0 p-0", node.visible === false && "hidden"),
3144
3136
  children: [hasChildren ? /* @__PURE__ */ jsx("button", {
3145
3137
  type: "button",
3146
3138
  "aria-label": expanded ? t("openapi.collapse") : t("openapi.expand"),
@@ -3151,10 +3143,13 @@ function SchemaNode(arg0) {
3151
3143
  }) : /* @__PURE__ */ jsx("div", {
3152
3144
  className: rowClassName,
3153
3145
  children: content
3154
- }), hasChildren && expanded ? /* @__PURE__ */ jsx(SchemaTree, {
3155
- nodes: node.children,
3156
- depth: depth + 1,
3157
- forceExpanded
3146
+ }), hasChildren ? /* @__PURE__ */ jsx("div", {
3147
+ className: clsx(!expanded && "hidden"),
3148
+ children: /* @__PURE__ */ jsx(SchemaTree, {
3149
+ nodes: node.children,
3150
+ depth: depth + 1,
3151
+ forceExpanded
3152
+ })
3158
3153
  }) : null]
3159
3154
  });
3160
3155
  }
@@ -3172,18 +3167,24 @@ function SchemaTree(arg0) {
3172
3167
  }, node.key))
3173
3168
  });
3174
3169
  }
3175
- function filterSchemaNodes(nodes, query) {
3176
- if (!query.trim()) return nodes;
3177
- return nodes.flatMap((node) => {
3178
- const children = filterSchemaNodes(node.children, query);
3179
- return fuzzyMatch(getSchemaSearchText(node.name, {
3170
+ function markSchemaNodesVisibility(nodes, query) {
3171
+ if (!query) return nodes.map((node) => ({
3172
+ ...node,
3173
+ visible: true,
3174
+ children: markSchemaNodesVisibility(node.children, query)
3175
+ }));
3176
+ return nodes.map((node) => {
3177
+ const children = markSchemaNodesVisibility(node.children, query);
3178
+ const searchableText = getSchemaSearchText(node.name, {
3180
3179
  type: node.type,
3181
3180
  description: node.description,
3182
3181
  pattern: node.details
3183
- }), query) || children.length > 0 ? [{
3182
+ });
3183
+ return {
3184
3184
  ...node,
3185
+ visible: fuzzyMatch(searchableText, query) || children.some((child) => child.visible),
3185
3186
  children
3186
- }] : [];
3187
+ };
3187
3188
  });
3188
3189
  }
3189
3190
  function SchemaProperties(arg0) {
@@ -3191,20 +3192,22 @@ function SchemaProperties(arg0) {
3191
3192
  const t = useBuiltInText();
3192
3193
  const root = getRootSchemaNode(spec, schema, defaultExpanded);
3193
3194
  if (!root || root.children.length === 0) return null;
3194
- const filteredNodes = filterSchemaNodes(root.children, query);
3195
- const hasQuery = Boolean(query.trim());
3195
+ const normalizedQuery = query.trim();
3196
+ const nodes = markSchemaNodesVisibility(root.children, normalizedQuery);
3197
+ const hasQuery = Boolean(normalizedQuery);
3198
+ const hasVisibleNodes = nodes.some((node) => node.visible);
3196
3199
  const resolvedEmptyText = emptyText ?? t("openapi.noBodyProperties");
3197
- return /* @__PURE__ */ jsx(OpenApiDocumentSection, {
3200
+ return /* @__PURE__ */ jsxs(OpenApiDocumentSection, {
3198
3201
  title,
3199
3202
  level: 4,
3200
3203
  bodyClassName: "clarify-schema-properties not-prose",
3201
- children: filteredNodes.length > 0 ? /* @__PURE__ */ jsx(SchemaTree, {
3202
- nodes: filteredNodes,
3204
+ children: [/* @__PURE__ */ jsx(SchemaTree, {
3205
+ nodes,
3203
3206
  forceExpanded: hasQuery
3204
- }) : /* @__PURE__ */ jsx("p", {
3205
- className: "m-0 py-2 text-sm/5 text-(--clarify-ui-text-soft)",
3207
+ }), /* @__PURE__ */ jsx("p", {
3208
+ className: clsx("m-0 py-2 text-sm/5 text-(--clarify-ui-text-soft)", hasVisibleNodes && "hidden"),
3206
3209
  children: resolvedEmptyText
3207
- })
3210
+ })]
3208
3211
  });
3209
3212
  }
3210
3213
  function ParameterList(arg0) {
@@ -4756,7 +4759,7 @@ function requestBodyForExample(spec, content, exampleKey) {
4756
4759
  const example = getExampleEntries(content, spec).find((entry) => !entry.generated && entry.key === exampleKey);
4757
4760
  return example ? stringifyExample(example.value) : initialRequestBody(spec, content);
4758
4761
  }
4759
- function useOpenApiRequestTarget(spec, path, operation, operationSource) {
4762
+ function useOpenApiRequestTarget(spec, path, operation, operationSource, requestExample = "") {
4760
4763
  const servers = getServers(spec, operation, path, operationSource);
4761
4764
  const [selectedServerKey, setSelectedServerKey] = useState(getServerKey(servers[0], 0));
4762
4765
  const selectedServer = servers.find((server, index) => getServerKey(server, index) === selectedServerKey) ?? servers[0];
@@ -4771,7 +4774,7 @@ function useOpenApiRequestTarget(spec, path, operation, operationSource) {
4771
4774
  const requestContents = getMediaTypeEntries(getRequestBody$1(spec, operation)?.content, spec);
4772
4775
  const [mediaType, setMediaType] = useState(requestContents[0]?.mediaType ?? "");
4773
4776
  const selectedContent = requestContents.find((entry) => entry.mediaType === mediaType) ?? requestContents[0];
4774
- const [body, setBody] = useState(initialRequestBody(spec, selectedContent?.value));
4777
+ const [body, setBody] = useState(requestBodyForExample(spec, selectedContent?.value, requestExample));
4775
4778
  const [bodyFiles, setBodyFiles] = useState({});
4776
4779
  function selectServer(value) {
4777
4780
  const nextServer = servers.find((server, index) => getServerKey(server, index) === value) ?? servers[0];
@@ -4933,12 +4936,12 @@ function parameterGroupLabel(location, t) {
4933
4936
  return t("openapi.queryParameters");
4934
4937
  }
4935
4938
  function OpenApiRequestWorkbench(arg0) {
4936
- const { spec, path, method, operation, operationSource = "path", compact = false, onClose } = arg0;
4939
+ const { spec, path, method, operation, operationSource = "path", requestExample, compact = false, onClose } = arg0;
4937
4940
  const t = useBuiltInText();
4938
4941
  const parameters = getOperationParameters(spec, path, operation, operationSource);
4939
- const { servers, selectedServer, selectedServerKey, serverVariables, setServerVariables, serverVariableEntries, selectServer, authOptions, selectedAuthName, setSelectedAuthName, selectedAuth, credentialScope, credentials, setCredential, clearCredential, requestContents, mediaType, selectedContent, body, setBody, bodyFiles, setBodyFile, applyBodyExample, selectMediaType } = useOpenApiRequestTarget(spec, path, operation, operationSource);
4942
+ const { servers, selectedServer, selectedServerKey, serverVariables, setServerVariables, serverVariableEntries, selectServer, authOptions, selectedAuthName, setSelectedAuthName, selectedAuth, credentialScope, credentials, setCredential, clearCredential, requestContents, mediaType, selectedContent, body, setBody, bodyFiles, setBodyFile, applyBodyExample, selectMediaType } = useOpenApiRequestTarget(spec, path, operation, operationSource, requestExample);
4940
4943
  const requestExamples = getRequestExampleEntries(parameters, selectedContent?.value);
4941
- const [selectedRequestExampleKey, setSelectedRequestExampleKey] = useState(requestExamples[0]?.key ?? "");
4944
+ const [selectedRequestExampleKey, setSelectedRequestExampleKey] = useState(requestExample ?? requestExamples[0]?.key ?? "");
4942
4945
  const currentRequestExampleKey = requestExamples.some((example) => example.key === selectedRequestExampleKey) ? selectedRequestExampleKey : requestExamples[0]?.key ?? "";
4943
4946
  const parameterState = useOpenApiParameterState(spec, parameters, (parameter) => initialParameterValue(spec, parameter), currentRequestExampleKey);
4944
4947
  const { parameterValues, parameterEnabled, parameterIssues, setParameterGroupValues, setParameterIncluded, updateParameterValue, applyParameterExample } = parameterState;
@@ -4953,6 +4956,7 @@ function OpenApiRequestWorkbench(arg0) {
4953
4956
  })).filter((group) => group.parameters.length > 0);
4954
4957
  const pathParameters = parameters.filter((parameter) => parameter.in === "path");
4955
4958
  const hasRequestConfiguration = authOptions.length > 0 || serverVariableEntries.length > 0 || parameters.length > 0 || requestContents.length > 0;
4959
+ const showResponse = compact || Boolean(exchange || error);
4956
4960
  function applyRequestExample(exampleKey) {
4957
4961
  setSelectedRequestExampleKey(exampleKey);
4958
4962
  applyParameterExample(exampleKey);
@@ -5164,9 +5168,9 @@ function OpenApiRequestWorkbench(arg0) {
5164
5168
  });
5165
5169
  }
5166
5170
  return /* @__PURE__ */ jsxs("div", {
5167
- className: clsx("clarify-api-request flex min-h-0 min-w-0 flex-col not-prose bg-(--clarify-theme-tokens-colors-surface) [--clarify-theme-tokens-radius-lg:6px] [--clarify-theme-tokens-radius-md:4px] [--clarify-theme-tokens-radius-sm:2px] [--clarify-theme-tokens-radius-xl:8px] [--clarify-ui-accent-background:color-mix(in_srgb,var(--clarify-theme-tokens-colors-foreground)_10%,transparent)] [--clarify-ui-accent-border:color-mix(in_srgb,var(--clarify-theme-tokens-colors-foreground)_22%,transparent)] [--clarify-ui-accent-text:var(--clarify-theme-tokens-colors-foreground)] [--clarify-ui-active-background:color-mix(in_srgb,var(--clarify-theme-tokens-colors-foreground)_12%,transparent)] [--clarify-ui-subtle-background:color-mix(in_srgb,var(--clarify-theme-tokens-colors-foreground)_5%,transparent)]", compact ? "h-full" : "my-6"),
5171
+ className: clsx("clarify-openapi-request flex min-h-0 min-w-0 flex-col not-prose bg-(--clarify-theme-tokens-colors-surface) [--clarify-ui-accent-background:color-mix(in_srgb,var(--clarify-theme-tokens-colors-foreground)_10%,transparent)] [--clarify-ui-accent-border:color-mix(in_srgb,var(--clarify-theme-tokens-colors-foreground)_22%,transparent)] [--clarify-ui-accent-text:var(--clarify-theme-tokens-colors-foreground)] [--clarify-ui-active-background:color-mix(in_srgb,var(--clarify-theme-tokens-colors-foreground)_12%,transparent)] [--clarify-ui-subtle-background:color-mix(in_srgb,var(--clarify-theme-tokens-colors-foreground)_5%,transparent)]", compact ? "h-full" : "my-6 overflow-hidden rounded-(--clarify-theme-tokens-radius-lg) border border-(--clarify-theme-tokens-colors-border)"),
5168
5172
  children: [renderHeader(), /* @__PURE__ */ jsxs("div", {
5169
- className: "grid min-h-0 flex-1 gap-0 px-0 lg:grid-cols-[minmax(0,1.12fr)_minmax(22rem,0.88fr)]",
5173
+ className: clsx("grid min-h-0 flex-1 gap-0 px-0", showResponse && "lg:grid-cols-[minmax(0,1.12fr)_minmax(22rem,0.88fr)]"),
5170
5174
  children: [/* @__PURE__ */ jsxs("div", {
5171
5175
  className: "flex min-h-0 min-w-0 flex-col overflow-y-auto",
5172
5176
  children: [
@@ -5203,13 +5207,13 @@ function OpenApiRequestWorkbench(arg0) {
5203
5207
  })
5204
5208
  }) : null
5205
5209
  ]
5206
- }), /* @__PURE__ */ jsx("div", {
5210
+ }), showResponse ? /* @__PURE__ */ jsx("div", {
5207
5211
  className: "h-full min-h-0 min-w-0 overflow-hidden border-t border-(--clarify-theme-tokens-colors-border) lg:border-t-0 lg:border-l",
5208
5212
  children: /* @__PURE__ */ jsx(OpenApiResponseViewer, {
5209
5213
  exchange,
5210
5214
  error
5211
5215
  })
5212
- })]
5216
+ }) : null]
5213
5217
  })]
5214
5218
  });
5215
5219
  }
@@ -5223,7 +5227,7 @@ function OpenApiRequestDialog(arg0) {
5223
5227
  children: [/* @__PURE__ */ jsx(DialogBackdrop, { className: "fixed inset-0 bg-(--clarify-ui-overlay-background) backdrop-blur-sm" }), /* @__PURE__ */ jsx("div", {
5224
5228
  className: "fixed inset-0 grid place-items-center overflow-y-auto p-3 sm:p-6",
5225
5229
  children: /* @__PURE__ */ jsxs(DialogPanel, {
5226
- className: "relative flex h-[min(46rem,calc(100dvh-1.5rem))] w-full max-w-7xl flex-col overflow-hidden rounded-lg border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-background) shadow-2xl sm:h-[min(46rem,calc(100dvh-3rem))]",
5230
+ className: "relative flex h-[min(46rem,calc(100dvh-1.5rem))] w-full max-w-7xl flex-col overflow-hidden rounded-(--clarify-theme-tokens-radius-lg) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-background) shadow-2xl sm:h-[min(46rem,calc(100dvh-3rem))]",
5227
5231
  children: [/* @__PURE__ */ jsx(DialogTitle, {
5228
5232
  className: "sr-only",
5229
5233
  children: t("openapi.tryRequest")
@@ -5567,6 +5571,6 @@ function OpenApiOperation(arg0) {
5567
5571
  });
5568
5572
  }
5569
5573
  //#endregion
5570
- export { Code as A, GridPattern as C, Tag as D, Heading as E, CardGroup as F, Callout as I, Button as L, Pre as M, Mermaid as N, Feedback as O, Card as P, Prose as S, Logo as T, WebFrame as _, ResponseExamplesPanel as a, Step as b, getAuthOptions as c, getOpenApiOperationEntry as d, listOpenApiOperations as f, primitives_exports as g, Markdown as h, RequestExamplesPanel as i, CodeGroup as j, Collapse as k, getServerKey as l, getRequestBody$1 as m, OpenApiOperation as n, authPlaceholder as o, getMediaTypeEntries as p, OpenApiRequestWorkbench as r, defaultServerVariables as s, EndpointIdentity as t, getServers as u, TabItem as v, HeroPattern as w, Steps as x, Tabs as y };
5574
+ export { Code as A, GridPattern as C, Tag as D, Heading as E, CardGroup as F, Callout as I, Button as L, Pre as M, Mermaid as N, Feedback as O, Card as P, Prose as S, Logo as T, WebFrame as _, ResponseExamplesPanel as a, Step as b, getAuthOptions as c, getOpenApiOperationEntryById as d, listOpenApiOperations as f, primitives_exports as g, Markdown as h, RequestExamplesPanel as i, CodeGroup as j, Collapse as k, getServerKey as l, getRequestBody$1 as m, OpenApiOperation as n, authPlaceholder as o, getMediaTypeEntries as p, OpenApiRequestWorkbench as r, defaultServerVariables as s, EndpointIdentity as t, getServers as u, TabItem as v, HeroPattern as w, Steps as x, Tabs as y };
5571
5575
 
5572
- //# sourceMappingURL=OpenApiOperation-Ddax6Pen.js.map
5576
+ //# sourceMappingURL=OpenApiOperation-CbdKZMO1.js.map