@clarify-labs/renderer 0.11.5 → 0.11.6
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.
- package/output/{ClarifyShell-BwqLbTI-.js → ClarifyShell-CKvXZj0f.js} +71 -20
- package/output/ClarifyShell-CKvXZj0f.js.map +1 -0
- package/output/{ClarifyShell-BbD82nrc.cjs → ClarifyShell-CukbPOAd.cjs} +71 -20
- package/output/ClarifyShell-CukbPOAd.cjs.map +1 -0
- package/output/{MermaidViewer-CO1rhB6A.cjs → MermaidViewer-FOg263MO.cjs} +5 -6
- package/output/MermaidViewer-FOg263MO.cjs.map +1 -0
- package/output/{MermaidViewer-D1wiX_T9.js → MermaidViewer-_tpH0JNn.js} +5 -6
- package/output/MermaidViewer-_tpH0JNn.js.map +1 -0
- package/output/{OpenApiOperation-CbdKZMO1.js → OpenApiOperation-Dv9u2GEJ.js} +5 -5
- package/output/OpenApiOperation-Dv9u2GEJ.js.map +1 -0
- package/output/{OpenApiOperation-C77uiDjW.cjs → OpenApiOperation-c-I6Nw9j.cjs} +22 -4
- package/output/OpenApiOperation-c-I6Nw9j.cjs.map +1 -0
- package/output/app/BuiltWithClarify.d.ts +5 -1
- package/output/client.cjs +2 -2
- package/output/client.js +2 -2
- package/output/index.cjs +87 -3
- package/output/index.cjs.map +1 -1
- package/output/index.d.ts +3 -3
- package/output/index.js +86 -5
- package/output/index.js.map +1 -1
- package/output/mdx/components.d.ts +2 -1
- package/output/openapi/components/EndpointMethodBadge.d.ts +1 -0
- package/output/openapi/components/OpenApiLink.d.ts +9 -0
- package/output/openapi/index.d.ts +1 -0
- package/output/preview.cjs +1 -1
- package/output/preview.js +1 -1
- package/output/{render-PDmRKKJm.js → render-B41PHjt8.js} +2 -2
- package/output/{render-PDmRKKJm.js.map → render-B41PHjt8.js.map} +1 -1
- package/output/{render-BhVJVa1q.cjs → render-BxiVlY6q.cjs} +2 -2
- package/output/{render-BhVJVa1q.cjs.map → render-BxiVlY6q.cjs.map} +1 -1
- package/output/renderer.css +34 -0
- package/output/server.cjs +1 -1
- package/output/server.js +1 -1
- package/package.json +1 -1
- package/output/ClarifyShell-BbD82nrc.cjs.map +0 -1
- package/output/ClarifyShell-BwqLbTI-.js.map +0 -1
- package/output/MermaidViewer-CO1rhB6A.cjs.map +0 -1
- package/output/MermaidViewer-D1wiX_T9.js.map +0 -1
- package/output/OpenApiOperation-C77uiDjW.cjs.map +0 -1
- 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-
|
|
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-
|
|
5807
|
+
//# sourceMappingURL=OpenApiOperation-c-I6Nw9j.cjs.map
|