apiuikit 1.8.1 → 1.8.2
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/dist/{CodeSamples-tMMzvAH8.js → CodeSamples-CL8eb-T3.js} +1 -1
- package/dist/{CodeSamples-BQmjSY09.cjs → CodeSamples-Cv-2sVZy.cjs} +1 -1
- package/dist/{LogoExtension-D27JNW7U.cjs → LogoExtension-CPGCplgQ.cjs} +1 -1
- package/dist/{LogoExtension-DVr1eLrt.js → LogoExtension-DU3IhX6X.js} +1 -1
- package/dist/apiuikit.cjs.js +1 -1
- package/dist/apiuikit.es.js +1 -1
- package/dist/{index-Db1EbA-L.cjs → index-AW9A5hmB.cjs} +1 -1
- package/dist/{index-CxGadJ5P.cjs → index-BQPvrcDl.cjs} +66 -66
- package/dist/{index-Cssg9iXM.js → index-BknhLZWz.js} +1 -1
- package/dist/{index-BjY_1Vlo.cjs → index-COqgZ4Yj.cjs} +1 -1
- package/dist/{index-DnN6KAng.js → index-CRgA--GI.js} +1 -1
- package/dist/{index-OE2woH_D.js → index-DQ7J7s-P.js} +1400 -1382
- package/dist/{protoToJsonSchema-BjH2ujBn.cjs → protoToJsonSchema-BMBlvMH-.cjs} +1 -1
- package/dist/{protoToJsonSchema-8tUWzCij.js → protoToJsonSchema-DqNgaYMA.js} +1 -1
- package/dist/{protobufSchemaParser-l_gdtemJ.cjs → protobufSchemaParser-DpLRfSmz.cjs} +1 -1
- package/dist/{protobufSchemaParser-mScuw-9s.js → protobufSchemaParser-iQvfvNCx.js} +2 -2
- package/dist/utils/scrollLock.d.ts +1 -0
- package/dist/utils/useScrollClipAncestor.d.ts +12 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as ar, jsx as qe } from "react/jsx-runtime";
|
|
2
2
|
import { useId as _n, useMemo as ze, useState as gt, useEffect as sr } from "react";
|
|
3
|
-
import { g as Ln, c as rt, a as In, u as Un, b as cr, e as Fn, o as Mn, C as Hn, h as Bn } from "./index-
|
|
3
|
+
import { g as Ln, c as rt, a as In, u as Un, b as cr, e as Fn, o as Mn, C as Hn, h as Bn } from "./index-DQ7J7s-P.js";
|
|
4
4
|
function Zr(t, e = /* @__PURE__ */ new Set()) {
|
|
5
5
|
if (e.has(t)) return t;
|
|
6
6
|
if (t.type === "object" && t.properties && typeof t.properties == "object") {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ge=require("react/jsx-runtime"),ne=require("react"),D=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ge=require("react/jsx-runtime"),ne=require("react"),D=require("./index-BQPvrcDl.cjs");function Dr(t,e=new Set){if(e.has(t))return t;if(t.type==="object"&&t.properties&&typeof t.properties=="object"){e.add(t);try{const r={};for(const[n,s]of Object.entries(t.properties)){const o=/id$/i.test(n)&&s.type==="string"&&!s.format&&!s.examples,a=s.type==="string"&&!s.format&&!s.examples&&!s.enum;r[n]=o?{...s,format:"uuid"}:a?{...s,examples:["string"]}:Dr(s,e)}return{...t,properties:r}}finally{e.delete(t)}}return t}async function An(t){try{const{generate:e}=await Promise.resolve().then(()=>require("./index-d8kJa7YD.cjs"));return await e(Dr(t),{seed:42,useExamplesValue:!0,optionalsProbability:1})}catch{return}}const ir="",ar=`
|
|
2
2
|
`;var E=class{constructor({indent:t,join:e}={}){this.postProcessors=[],this.code=[],this.indentationCharacter=ir,this.lineJoin=ar,this.indentLine=(r,n=0)=>`${this.indentationCharacter.repeat(n)}${r}`,this.unshift=(r,n)=>{const s=this.indentLine(r,n);this.code.unshift(s)},this.push=(r,n)=>{const s=this.indentLine(r,n);this.code.push(s)},this.pushToLast=r=>{this.code||this.push(r);const n=`${this.code[this.code.length-1]}${r}`;this.code[this.code.length-1]=n},this.blank=()=>{this.code.push("")},this.join=()=>{const r=this.code.join(this.lineJoin);return this.postProcessors.reduce((n,s)=>s(n),r)},this.addPostProcessor=r=>{this.postProcessors=[...this.postProcessors,r]},this.indentationCharacter=t||ir,this.lineJoin=e??ar}},Rn=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},qn=function(t){var e=typeof t;return t!==null&&(e==="object"||e==="function")},Yt={};Object.defineProperty(Yt,"__esModule",{value:!0});Yt.default=t=>Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e));const Nn=Rn,_n=qn,Ln=Yt.default;var In=(t,e,r)=>{const n=[];return(function s(o,a,i){a=a||{},a.indent=a.indent||" ",i=i||"";let c;a.inlineCharacterLimit===void 0?c={newLine:`
|
|
3
3
|
`,newLineOrSpace:`
|
|
4
4
|
`,pad:i,indent:i+a.indent}:c={newLine:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",newLineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"};const l=f=>{if(a.inlineCharacterLimit===void 0)return f;const u=f.replace(new RegExp(c.newLine,"g"),"").replace(new RegExp(c.newLineOrSpace,"g")," ").replace(new RegExp(c.pad+"|"+c.indent,"g"),"");return u.length<=a.inlineCharacterLimit?u:f.replace(new RegExp(c.newLine+"|"+c.newLineOrSpace,"g"),`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),t=require("./index-BQPvrcDl.cjs");function n({value:e}){const o=t.resolveLogo(e);return o?r.jsx("img",{src:o.url,alt:o.altText??"logo",style:o.backgroundColor?{backgroundColor:o.backgroundColor}:void 0,className:"max-h-24 max-w-24 object-contain"}):null}exports.default=n;
|
package/dist/apiuikit.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-BQPvrcDl.cjs");exports.AsyncAPI=e.AsyncAPI;exports.AsyncAPIInfo=e.AsyncAPIInfo;exports.AsyncAPIMessages=e.AsyncAPIMessages;exports.AsyncAPIOperations=e.AsyncAPIOperations;exports.AsyncAPIProvider=e.AsyncAPIProvider;exports.AsyncAPIRenderer=e.AsyncAPIRenderer;exports.AsyncAPISchemas=e.AsyncAPISchemas;exports.AsyncAPIServers=e.AsyncAPIServers;exports.ErrorBoundary=e.ErrorBoundary;exports.OpenAPI=e.OpenAPI;exports.OpenAPIEndpoints=e.OpenAPIEndpoints;exports.OpenAPIInfo=e.OpenAPIInfo;exports.OpenAPIProvider=e.OpenAPIProvider;exports.OpenAPIRenderer=e.OpenAPIRenderer;exports.OpenAPISchemas=e.OpenAPISchemas;exports.OpenAPIServers=e.OpenAPIServers;exports.OpenAPIWebhooks=e.OpenAPIWebhooks;exports.PluginSlot=e.PluginSlot;exports.SchemaTab=e.SchemaTabs;exports.SchemaTree=e.SchemaTree;exports.Schemas=e.Schemas;exports.asyncApiOperationToMarkdown=e.asyncApiOperationToMarkdown;exports.asyncApiToMarkdown=e.asyncApiToMarkdown;exports.default=e.AsyncAPI;exports.defaultConfig=e.defaultConfig;exports.documentToLlmsTxt=e.documentToLlmsTxt;exports.documentToMarkdown=e.documentToMarkdown;exports.listDocumentTargets=e.listDocumentTargets;exports.markdownForLlm=e.markdownForLlm;exports.openApiEndpointToMarkdown=e.openApiEndpointToMarkdown;exports.openApiToMarkdown=e.openApiToMarkdown;exports.parseAndRender=e.parseAndRender;exports.parseAndRenderOpenAPI=e.parseAndRender$1;exports.targetSlug=e.targetSlug;exports.useAsyncAPIDocument=e.useAsyncAPIDocument;exports.useAsyncAPIDocumentContext=e.useAsyncAPIDocumentContext;exports.useDocumentContext=e.useDocumentContext;exports.useOpenAPIDocumentContext=e.useOpenAPIDocumentContext;exports.useOperationTabPlugins=e.useOperationTabPlugins;exports.usePluginSlot=e.usePluginSlot;
|
package/dist/apiuikit.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, f as n, j as o, k as A, l as r, m as t, n as P, p, E as c, O as I, q as d, s as u, t as m, v as i, w as y, x as O, y as l, P as T, S, z as g, B as k, D as f, F as w, A as M, G as h, H as x, I as D, J as v, K as R, o as C, L as E, M as b, N as L, Q as B, R as F, T as W, u as j, U as q, V as z, W as G } from "./index-
|
|
1
|
+
import { A as e, f as n, j as o, k as A, l as r, m as t, n as P, p, E as c, O as I, q as d, s as u, t as m, v as i, w as y, x as O, y as l, P as T, S, z as g, B as k, D as f, F as w, A as M, G as h, H as x, I as D, J as v, K as R, o as C, L as E, M as b, N as L, Q as B, R as F, T as W, u as j, U as q, V as z, W as G } from "./index-DQ7J7s-P.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AsyncAPI,
|
|
4
4
|
n as AsyncAPIInfo,
|