@clarify-labs/renderer 0.11.5 → 0.11.7

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 (40) hide show
  1. package/output/{ClarifyShell-BwqLbTI-.js → ClarifyShell-CKvXZj0f.js} +71 -20
  2. package/output/ClarifyShell-CKvXZj0f.js.map +1 -0
  3. package/output/{ClarifyShell-BbD82nrc.cjs → ClarifyShell-CukbPOAd.cjs} +71 -20
  4. package/output/ClarifyShell-CukbPOAd.cjs.map +1 -0
  5. package/output/{MermaidViewer-CO1rhB6A.cjs → MermaidViewer-FOg263MO.cjs} +5 -6
  6. package/output/MermaidViewer-FOg263MO.cjs.map +1 -0
  7. package/output/{MermaidViewer-D1wiX_T9.js → MermaidViewer-_tpH0JNn.js} +5 -6
  8. package/output/MermaidViewer-_tpH0JNn.js.map +1 -0
  9. package/output/{OpenApiOperation-CbdKZMO1.js → OpenApiOperation-Dv9u2GEJ.js} +5 -5
  10. package/output/OpenApiOperation-Dv9u2GEJ.js.map +1 -0
  11. package/output/{OpenApiOperation-C77uiDjW.cjs → OpenApiOperation-c-I6Nw9j.cjs} +22 -4
  12. package/output/OpenApiOperation-c-I6Nw9j.cjs.map +1 -0
  13. package/output/app/BuiltWithClarify.d.ts +5 -1
  14. package/output/client.cjs +2 -2
  15. package/output/client.js +2 -2
  16. package/output/index.cjs +87 -3
  17. package/output/index.cjs.map +1 -1
  18. package/output/index.d.ts +3 -3
  19. package/output/index.js +86 -5
  20. package/output/index.js.map +1 -1
  21. package/output/mdx/components.d.ts +2 -1
  22. package/output/openapi/components/EndpointMethodBadge.d.ts +1 -0
  23. package/output/openapi/components/OpenApiLink.d.ts +9 -0
  24. package/output/openapi/index.d.ts +1 -0
  25. package/output/preview.cjs +1 -1
  26. package/output/preview.js +1 -1
  27. package/output/{render-PDmRKKJm.js → render-B41PHjt8.js} +2 -2
  28. package/output/{render-PDmRKKJm.js.map → render-B41PHjt8.js.map} +1 -1
  29. package/output/{render-BhVJVa1q.cjs → render-BxiVlY6q.cjs} +2 -2
  30. package/output/{render-BhVJVa1q.cjs.map → render-BxiVlY6q.cjs.map} +1 -1
  31. package/output/renderer.css +34 -0
  32. package/output/server.cjs +1 -1
  33. package/output/server.js +1 -1
  34. package/package.json +1 -1
  35. package/output/ClarifyShell-BbD82nrc.cjs.map +0 -1
  36. package/output/ClarifyShell-BwqLbTI-.js.map +0 -1
  37. package/output/MermaidViewer-CO1rhB6A.cjs.map +0 -1
  38. package/output/MermaidViewer-D1wiX_T9.js.map +0 -1
  39. package/output/OpenApiOperation-C77uiDjW.cjs.map +0 -1
  40. package/output/OpenApiOperation-CbdKZMO1.js.map +0 -1
@@ -245,7 +245,7 @@ function Card(arg0) {
245
245
  }
246
246
  //#endregion
247
247
  //#region source/components/Mermaid.tsx
248
- var MermaidViewer = (0, react.lazy)(() => Promise.resolve().then(() => require("./MermaidViewer-CO1rhB6A.cjs")));
248
+ var MermaidViewer = (0, react.lazy)(() => Promise.resolve().then(() => require("./MermaidViewer-FOg263MO.cjs")));
249
249
  var mermaidModulePromise;
250
250
  async function loadMermaid() {
251
251
  mermaidModulePromise = mermaidModulePromise ?? import("mermaid").then((module) => module.default);
@@ -1796,9 +1796,9 @@ var endpointMethodStyleVars = {
1796
1796
  WEBHOOK: "bg-(--clarify-http-method-webhook-background) text-(--clarify-http-method-webhook-text)"
1797
1797
  };
1798
1798
  function EndpointMethodBadge(arg0) {
1799
- const { method } = arg0;
1799
+ const { method, compact = false } = arg0;
1800
1800
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
1801
- className: (0, clsx.default)("rounded-(--clarify-theme-tokens-radius-md) px-2.5 py-0.5 text-xs/6 font-black tracking-wide", endpointMethodStyleVars[method] ?? "bg-(--clarify-http-method-default-background) text-(--clarify-http-method-default-text)"),
1801
+ className: (0, clsx.default)(compact ? "rounded px-1.5 py-0.5 text-[0.625rem]/4 font-bold" : "rounded-(--clarify-theme-tokens-radius-md) px-2.5 py-0.5 text-xs/6 font-black tracking-wide", endpointMethodStyleVars[method] ?? "bg-(--clarify-http-method-default-background) text-(--clarify-http-method-default-text)"),
1802
1802
  children: method
1803
1803
  });
1804
1804
  }
@@ -5611,6 +5611,12 @@ Object.defineProperty(exports, "EndpointIdentity", {
5611
5611
  return EndpointIdentity;
5612
5612
  }
5613
5613
  });
5614
+ Object.defineProperty(exports, "EndpointMethodBadge", {
5615
+ enumerable: true,
5616
+ get: function() {
5617
+ return EndpointMethodBadge;
5618
+ }
5619
+ });
5614
5620
  Object.defineProperty(exports, "Feedback", {
5615
5621
  enumerable: true,
5616
5622
  get: function() {
@@ -5635,6 +5641,12 @@ Object.defineProperty(exports, "HeroPattern", {
5635
5641
  return HeroPattern;
5636
5642
  }
5637
5643
  });
5644
+ Object.defineProperty(exports, "LocalizedLink", {
5645
+ enumerable: true,
5646
+ get: function() {
5647
+ return LocalizedLink;
5648
+ }
5649
+ });
5638
5650
  Object.defineProperty(exports, "Logo", {
5639
5651
  enumerable: true,
5640
5652
  get: function() {
@@ -5755,6 +5767,12 @@ Object.defineProperty(exports, "getOpenApiOperationEntryById", {
5755
5767
  return getOpenApiOperationEntryById;
5756
5768
  }
5757
5769
  });
5770
+ Object.defineProperty(exports, "getOpenApiOperationSectionId", {
5771
+ enumerable: true,
5772
+ get: function() {
5773
+ return getOpenApiOperationSectionId;
5774
+ }
5775
+ });
5758
5776
  Object.defineProperty(exports, "getRequestBody", {
5759
5777
  enumerable: true,
5760
5778
  get: function() {
@@ -5786,4 +5804,4 @@ Object.defineProperty(exports, "primitives_exports", {
5786
5804
  }
5787
5805
  });
5788
5806
 
5789
- //# sourceMappingURL=OpenApiOperation-C77uiDjW.cjs.map
5807
+ //# sourceMappingURL=OpenApiOperation-c-I6Nw9j.cjs.map