@techdocs/cli 0.0.0-nightly-20241129023656 → 0.0.0-nightly-20241201024112

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/CHANGELOG.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # @techdocs/cli
2
2
 
3
- ## 0.0.0-nightly-20241129023656
3
+ ## 0.0.0-nightly-20241201024112
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies
8
- - @backstage/backend-defaults@0.0.0-nightly-20241129023656
9
- - @backstage/plugin-techdocs-node@0.0.0-nightly-20241129023656
8
+ - @backstage/backend-defaults@0.0.0-nightly-20241201024112
9
+ - @backstage/plugin-techdocs-node@0.0.0-nightly-20241201024112
10
10
  - @backstage/catalog-model@1.7.1
11
11
  - @backstage/cli-common@0.1.15
12
12
  - @backstage/config@1.3.0
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Backstage is an open source framework for building developer portals"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><title>Techdocs Preview App</title><meta name="backstage-app-mode" content="public"><script defer="defer" src="/static/runtime.7b4e6871.js"></script><script defer="defer" src="/static/module-material-ui.05c1a36a.js"></script><script defer="defer" src="/static/module-lodash.aa647045.js"></script><script defer="defer" src="/static/module-date-fns.c633d602.js"></script><script defer="defer" src="/static/module-mui.f5e57c92.js"></script><script defer="defer" src="/static/module-material-table.84f30b2f.js"></script><script defer="defer" src="/static/module-react-dom.42a304d3.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.b474cfe9.js"></script><script defer="defer" src="/static/module-zod.4f2eeb8c.js"></script><script defer="defer" src="/static/module-i18next.f50c1612.js"></script><script defer="defer" src="/static/module-remix-run.ba6397c2.js"></script><script defer="defer" src="/static/vendor.7b4e6871.js"></script><script defer="defer" src="/static/main.7b4e6871.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Backstage is an open source framework for building developer portals"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><title>Techdocs Preview App</title><meta name="backstage-app-mode" content="public"><script defer="defer" src="/static/runtime.b927bdd3.js"></script><script defer="defer" src="/static/module-material-ui.05c1a36a.js"></script><script defer="defer" src="/static/module-lodash.aa647045.js"></script><script defer="defer" src="/static/module-date-fns.c633d602.js"></script><script defer="defer" src="/static/module-mui.f702282a.js"></script><script defer="defer" src="/static/module-material-table.84f30b2f.js"></script><script defer="defer" src="/static/module-react-dom.42a304d3.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.b474cfe9.js"></script><script defer="defer" src="/static/module-zod.4f2eeb8c.js"></script><script defer="defer" src="/static/module-i18next.f50c1612.js"></script><script defer="defer" src="/static/module-remix-run.ba6397c2.js"></script><script defer="defer" src="/static/vendor.b927bdd3.js"></script><script defer="defer" src="/static/main.b927bdd3.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
@@ -42,7 +42,7 @@
42
42
  color="#5bbad5"
43
43
  />
44
44
  <title><%= config.getString('app.title') %></title>
45
- <meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.7b4e6871.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.05c1a36a.js"></script><script defer src="<%= publicPath %>/static/module-lodash.aa647045.js"></script><script defer src="<%= publicPath %>/static/module-date-fns.c633d602.js"></script><script defer src="<%= publicPath %>/static/module-mui.f5e57c92.js"></script><script defer src="<%= publicPath %>/static/module-material-table.84f30b2f.js"></script><script defer src="<%= publicPath %>/static/module-react-dom.42a304d3.js"></script><script defer src="<%= publicPath %>/static/module-react-beautiful-dnd.b474cfe9.js"></script><script defer src="<%= publicPath %>/static/module-zod.4f2eeb8c.js"></script><script defer src="<%= publicPath %>/static/module-i18next.f50c1612.js"></script><script defer src="<%= publicPath %>/static/module-remix-run.ba6397c2.js"></script><script defer src="<%= publicPath %>/static/vendor.7b4e6871.js"></script><script defer src="<%= publicPath %>/static/main.7b4e6871.js"></script></head>
45
+ <meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.b927bdd3.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.05c1a36a.js"></script><script defer src="<%= publicPath %>/static/module-lodash.aa647045.js"></script><script defer src="<%= publicPath %>/static/module-date-fns.c633d602.js"></script><script defer src="<%= publicPath %>/static/module-mui.f702282a.js"></script><script defer src="<%= publicPath %>/static/module-material-table.84f30b2f.js"></script><script defer src="<%= publicPath %>/static/module-react-dom.42a304d3.js"></script><script defer src="<%= publicPath %>/static/module-react-beautiful-dnd.b474cfe9.js"></script><script defer src="<%= publicPath %>/static/module-zod.4f2eeb8c.js"></script><script defer src="<%= publicPath %>/static/module-i18next.f50c1612.js"></script><script defer src="<%= publicPath %>/static/module-remix-run.ba6397c2.js"></script><script defer src="<%= publicPath %>/static/vendor.b927bdd3.js"></script><script defer src="<%= publicPath %>/static/main.b927bdd3.js"></script></head>
46
46
  <body>
47
47
  <noscript>You need to enable JavaScript to run this app.</noscript>
48
48
  <div id="root"></div>
@@ -550,4 +550,4 @@ ${U.href}
550
550
 
551
551
  Feedback:`),Tt=W?.type==="github"?(0,hs.F)($.href,"blob"):$.href,Nt=Fn()(Tt),Lt=`/${Nt.organization}/${Nt.name}`,Ft=U.cloneNode();switch(W?.type){case"gitlab":Ft.href=`${$.origin}${Lt}/issues/new?issue[title]=${rt}&issue[description]=${At}`;break;case"github":Ft.href=`${$.origin}${Lt}/issues/new?title=${rt}&body=${At}`;break;default:return D}return pn(a.createElement(gs.A),Ft),Ft.style.paddingLeft="5px",Ft.title="Leave feedback for this page",Ft.id="git-feedback-link",U?.insertAdjacentElement("beforebegin",Ft),D};var bn=t(38097);const Sn=(0,x.A)(f=>({button:{color:f.palette.primary.light,textDecoration:"underline"}})),fs=({message:f,handleButtonClick:D,autoHideDuration:U})=>{const $=Sn(),[W,X]=(0,a.useState)(!0),rt=()=>X(!1);return(0,n.jsx)(bn.A,{open:W,anchorOrigin:{vertical:"top",horizontal:"right"},autoHideDuration:U,color:"primary",onClose:rt,message:f,action:(0,n.jsx)(mt.A,{classes:{root:$.button},size:"small",onClick:()=>{rt(),D()},children:"Redirect now"})})},Nn=(f,D)=>{const $=W=>{const X=Bn(window.location.href),rt=new URL(W,X);if(rt.hostname!==window.location.hostname){const Tt=window.location.pathname,Nt=Tt.indexOf(D),Lt=Tt.slice(0,Nt+D.length);return new URL(Lt,X).href}return rt.href};return W=>{for(const X of Array.from(W.querySelectorAll("meta")))if(X.getAttribute("http-equiv")==="refresh"){const rt=X.getAttribute("content")?.split("url=");if(!rt||rt.length<2)return W;const At=rt[1],Tt=$(At);if(window.location.href===Tt)return W;const Nt=document.createElement("div");return pn((0,n.jsx)(fs,{message:"This TechDocs page is no longer maintained. Will automatically redirect to the designated replacement.",handleButtonClick:()=>f(Tt),autoHideDuration:3e3}),Nt),document.body.appendChild(Nt),setTimeout(()=>{f(Tt)},3e3),W}return W}},kn=()=>f=>(setTimeout(()=>{const D=f?.querySelectorAll("li.md-nav__item--active");D.length!==0&&(D.forEach($=>{const W=$?.querySelector("input");W?.checked||W?.click()}),D[D.length-1].scrollIntoView())},200),f);var ms=t(50868),vs=t(10437),ys=t(71677),Es=t(87051),As=t(36338);const xs=(0,Es.A)(f=>({tooltip:{fontSize:"inherit",color:f.palette.text.primary,margin:0,padding:f.spacing(.5),backgroundColor:"transparent",boxShadow:"none"}}))(ys.Ay),Cs=()=>(0,n.jsx)(vs.A,{children:(0,n.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"})}),bs=({text:f})=>{const[D,U]=(0,a.useState)(!1),[,$]=(0,As.A)(),W=(0,a.useCallback)(()=>{$(f),U(!0)},[f,$]),X=(0,a.useCallback)(()=>{U(!1)},[U]);return(0,n.jsx)(xs,{title:"Copied to clipboard",placement:"left",open:D,onClose:X,leaveDelay:1e3,children:(0,n.jsx)(Ut.A,{style:{color:"inherit",position:"absolute"},className:"md-clipboard md-icon",onClick:W,children:(0,n.jsx)(Cs,{})})})},Ss=f=>D=>{const U=D.querySelectorAll("pre > code");for(const $ of U){const W=$.textContent||"",X=document.createElement("div");$?.parentElement?.prepend(X),pn((0,n.jsx)(ms.A,{theme:f,children:(0,n.jsx)(bs,{text:W})}),X)}return D},Os=({baseUrl:f,onClick:D})=>U=>(Array.from(U.getElementsByTagName("a")).forEach($=>{$.addEventListener("click",W=>{const rt=$.getAttribute("href");rt&&rt.startsWith(f)&&!$.hasAttribute("download")&&(W.preventDefault(),D(W,rt))})}),U),Wn=({onLoading:f,onLoaded:D})=>U=>(f(),U.addEventListener(p,function $(){D(),U.removeEventListener(p,$)}),U);function Ts(f,D){const U=new URL(D),$=`${U.origin}${U.pathname.replace(/\/$/,"")}`,W=f.replace($,"").replace(/^\/+/,""),X=new URL(`http://localhost/${W}`);return`${X.pathname}${X.search}${X.hash}`}function Kn(){const f=(0,a.useRef)((0,Mt.Zp)()),U=(0,nt.gf)(V.U).getOptionalString("app.baseUrl");return(0,a.useCallback)(W=>{let X=W;if(U)try{X=Ts(W,U)}catch{}f.current(X)},[U])}const zn="screen and (max-width: 76.1875em)",ws=f=>{const D=Kn(),U=(0,Ve.A)(),$=(0,He.A)(zn),W=Ie(),X=as(),rt=(0,J.s)(),At=(0,nt.gf)(_e.s),Tt=(0,nt.gf)(Ue.Y),{state:Nt,path:Lt,content:Ft}=je(),{"*":_t=""}=(0,Mt.g)(),[Gt,de]=(0,a.useState)(null),Yt=v(Gt),ce=(0,a.useCallback)(()=>{if(!Gt)return;Gt.querySelectorAll(".md-sidebar").forEach(se=>{if($)se.style.top="0px";else{const we=document?.querySelector(".techdocs-reader-page")?.getBoundingClientRect().top??0;let De=Gt.getBoundingClientRect().top??0;const cn=Gt.querySelector(".md-container > .md-tabs")?.getBoundingClientRect().height??0;De<we&&(De=we);const Qe=Math.max(De,0)+cn;se.style.top=`${Qe}px`;const ln=Gt.querySelector(".md-container > .md-footer")?.getBoundingClientRect().top??window.innerHeight;se.style.height=`${ln-Qe}px`}se.style.setProperty("opacity","1")})},[Gt,$]);(0,a.useEffect)(()=>(window.addEventListener("resize",ce),window.addEventListener("scroll",ce,!0),()=>{window.removeEventListener("resize",ce),window.removeEventListener("scroll",ce,!0)}),[Gt,ce]);const he=(0,a.useCallback)(()=>{if(!Gt)return;const Xt=Gt.querySelector(".md-footer");Xt&&(Xt.style.width=`${Gt.getBoundingClientRect().width}px`)},[Gt]);(0,a.useEffect)(()=>(window.addEventListener("resize",he),()=>{window.removeEventListener("resize",he)}),[Gt,he]),(0,a.useEffect)(()=>{Yt||(he(),ce())},[Nt,Yt,he,ce]);const ne=(0,a.useCallback)((Xt,se)=>Cn(Xt,[W,Mn({techdocsStorageApi:At,entityId:f,path:se}),cs(),ds(),us(),Un(),ps(Tt),X]),[f,Tt,At,W,X]),Qt=(0,a.useCallback)(async Xt=>Cn(Xt,[Nn(D,f.name),kn(),Ss(U),Os({baseUrl:window.location.origin,onClick:(se,oe)=>{const we=se.ctrlKey||se.metaKey,De=new URL(oe),en=se.target?.innerText||oe,cn=oe.replace(window.location.origin,"");rt.captureEvent("click",en,{attributes:{to:cn}}),De.hash?we?window.open(oe,"_blank"):(window.location.pathname!==De.pathname?D(oe):window.history.pushState(null,document.title,De.hash),Xt?.querySelector(`[id="${De.hash.slice(1)}"]`)?.scrollIntoView()):we?window.open(oe,"_blank"):D(oe)}}),Wn({onLoading:()=>{},onLoaded:()=>{Xt.querySelector(".md-nav__title")?.removeAttribute("for")}}),Wn({onLoading:()=>{Array.from(Xt.querySelectorAll(".md-sidebar")).forEach(oe=>{oe.style.setProperty("opacity","0")})},onLoaded:()=>{}})]),[U,D,rt,f.name]);return(0,a.useEffect)(()=>{if(!Ft)return()=>{};let Xt=!0;return ne(Ft,Lt).then(async se=>{if(!se?.innerHTML||!Xt||_t!==Lt)return;window.scroll({top:0});const oe=await Qt(se);de(oe)}),()=>{Xt=!1}},[Ft,_t,Lt,ne,Qt]),Gt};var On=t(41883),Fe=t(72020),Te=t(99730);const Ne=()=>{const f=(0,Fe.YR)(),{shadowRoot:D}=(0,m.V)(),U=D?.querySelector('[data-md-component="content"]'),$=D?.querySelector('div[data-md-component="sidebar"][data-md-type="navigation"], div[data-md-component="navigation"]');let W=$?.querySelector('[data-techdocs-addons-location="primary sidebar"]');W||(W=document.createElement("div"),W.setAttribute("data-techdocs-addons-location","primary sidebar"),$?.prepend(W));const X=D?.querySelector('div[data-md-component="sidebar"][data-md-type="toc"], div[data-md-component="toc"]');let rt=X?.querySelector('[data-techdocs-addons-location="secondary sidebar"]');return rt||(rt=document.createElement("div"),rt.setAttribute("data-techdocs-addons-location","secondary sidebar"),X?.prepend(rt)),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(On.A,{container:W,children:f.renderComponentsByLocation(Te.e.PrimarySidebar)}),(0,n.jsx)(On.A,{container:U,children:f.renderComponentsByLocation(Te.e.Content)}),(0,n.jsx)(On.A,{container:rt,children:f.renderComponentsByLocation(Te.e.SecondarySidebar)})]})},Ps=(0,x.A)({search:{width:"100%","@media (min-width: 76.1875em)":{width:"calc(100% - 34.4rem)",margin:"0 auto"},"@media print":{display:"none"}}}),Hn=on(f=>{const{withSearch:D=!0,searchResultUrlMapper:U,onReady:$}=f,W=Ps(),{entityMetadata:{value:X,loading:rt},entityRef:At,setShadowRoot:Tt}=(0,m.V)(),{state:Nt}=je(),Lt=ws(At),Ft=window.location.pathname,_t=window.location.hash,Gt=v(Lt),[de]=R([`[id="${_t.slice(1)}"]`]);(0,a.useEffect)(()=>{Gt||(_t?de&&de.scrollIntoView():document?.querySelector("header")?.scrollIntoView())},[Ft,_t,de,Gt]);const Yt=(0,a.useCallback)(ce=>{Tt(ce),$ instanceof Function&&$()},[Tt,$]);return rt===!1&&!X?(0,n.jsx)(F.M,{status:"404",statusMessage:"PAGE NOT FOUND"}):Lt?(0,n.jsx)(M.U,{children:(0,n.jsxs)(d.A,{container:!0,children:[(0,n.jsx)(d.A,{xs:12,item:!0,children:(0,n.jsx)(We,{})}),D&&(0,n.jsx)(d.A,{className:W.search,xs:"auto",item:!0,children:(0,n.jsx)(le,{entityId:At,entityTitle:X?.metadata?.title,searchResultUrlMapper:U})}),(0,n.jsxs)(d.A,{xs:12,item:!0,children:[(Nt==="CHECKING"||Gt)&&(0,n.jsx)(Z.k,{}),(0,n.jsx)(A,{element:Lt,onAppend:Yt,children:(0,n.jsx)(Ne,{})})]})]})}):(0,n.jsx)(M.U,{children:(0,n.jsx)(d.A,{container:!0,children:(0,n.jsx)(d.A,{xs:12,item:!0,children:(0,n.jsx)(We,{})})})})}),Rs=null},45061:(H,b,t)=>{"use strict";t.d(b,{T:()=>Y});var n=t(31085),a=t(14041),d=t(93285),x=t(42899),m=t(4387),h=t(13660),u=t(72020),g=t(86892),p=t(99730),E=t(67871),v=t(8859),A=t(34428),T=t(51372),w=t(58837),R=t(268),S=t(72501),B=t(72072);const F=(0,w.A)(V=>({root:{textAlign:"left"},label:{color:V.page.fontColor,fontWeight:V.typography.fontWeightBold,letterSpacing:0,fontSize:V.typography.fontSize,marginBottom:V.spacing(1)/2,lineHeight:1},value:{color:(0,R.X4)(V.page.fontColor,.8),fontSize:V.typography.fontSize,lineHeight:1}}),{name:"BackstageHeaderLabel"}),M=({value:V,className:it,typographyRootComponent:st})=>(0,n.jsx)(S.A,{component:st??(typeof V=="string"?"p":"span"),className:it,children:V});function Z(V){const{label:it,value:st,url:pt,contentTypograpyRootComponent:bt}=V,xt=F(),gt=(0,n.jsx)(M,{className:xt.value,value:st||"<Unknown>",typographyRootComponent:bt});return(0,n.jsx)(x.A,{item:!0,children:(0,n.jsxs)(S.A,{component:"span",className:xt.root,children:[(0,n.jsx)(S.A,{className:xt.label,children:it}),pt?(0,n.jsx)(B.N_,{to:pt,children:gt}):gt]})})}var G=t(69814),N=t(72427),Q=t(65461),q=t(9222),z=t(45250),nt=t(82779);const J=(0,n.jsx)(m.A,{animation:"wave",variant:"text",height:40}),Y=V=>{const{children:it}=V,st=(0,u.YR)(),pt=(0,N.gf)(Q.U),{title:bt,setTitle:xt,subtitle:gt,setSubtitle:ht,entityRef:Et,metadata:{value:vt,loading:Rt},entityMetadata:{value:wt,loading:jt}}=(0,g.V)();(0,a.useEffect)(()=>{vt&&(xt(vt.site_name),ht(()=>{let{site_description:yt}=vt;return(!yt||yt==="None")&&(yt=""),yt}))},[vt,xt,ht]);const kt=pt.getOptional("app.title")||"Backstage",Ut=[bt,gt,kt].filter(Boolean).join(" | "),{locationMetadata:ft,spec:Bt}=wt||{},mt=Bt?.lifecycle,j=wt?(0,E.t)(wt,T.vv):[],k=(0,q.S)(nt.rQ)(),at=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Z,{label:(0,z.capitalize)(wt?.kind||"entity"),value:(0,n.jsx)(v.z,{color:"inherit",entityRef:Et,title:wt?.metadata.title,defaultKind:"Component"})}),j.length>0&&(0,n.jsx)(Z,{label:"Owner",value:(0,n.jsx)(A.i,{color:"inherit",entityRefs:j,defaultKind:"group"})}),mt?(0,n.jsx)(Z,{label:"Lifecycle",value:String(mt)}):null,ft&&ft.type!=="dir"&&ft.type!=="file"?(0,n.jsx)(Z,{label:"",value:(0,n.jsxs)(x.A,{container:!0,direction:"column",alignItems:"center",children:[(0,n.jsx)(x.A,{style:{padding:0},item:!0,children:(0,n.jsx)(h.A,{style:{marginTop:"-25px"}})}),(0,n.jsx)(x.A,{style:{padding:0},item:!0,children:"Source"})]}),url:ft.target}):null]});return!jt&&wt===void 0||!Rt&&vt===void 0?null:(0,n.jsxs)(G.Y,{type:"Documentation",typeLink:k,title:bt||J,subtitle:gt===""?void 0:gt||J,children:[(0,n.jsx)(d.A,{titleTemplate:"%s",children:(0,n.jsx)("title",{children:Ut})}),at,it,st.renderComponentsByLocation(p.e.Header)]})}},82779:(H,b,t)=>{"use strict";t.d(b,{Oc:()=>d,Ri:()=>x,rQ:()=>a});var n=t(34569);const a=(0,n.H)({id:"techdocs:index-page"}),d=(0,n.H)({id:"techdocs:reader-page",params:["namespace","kind","name"]}),x=(0,n.H)({id:"techdocs:catalog-reader-view"})},27698:(H,b,t)=>{"use strict";t.r(b),t.d(b,{TechDocsSearchResultListItem:()=>E});var n=t(31085),a=t(14041),d=t(46423),x=t(5951),m=t(58837),h=t(72501),u=t(72072),g=t(70734);const p=(0,m.A)({flexContainer:{flexWrap:"wrap"},itemText:{width:"100%",marginBottom:"1rem"}}),E=v=>{const{result:A,highlight:T,lineClamp:w=5,asListItem:R=!0,asLink:S=!0,title:B,icon:F}=v,M=p(),Z=({children:Q})=>S?(0,n.jsx)(u.N_,{noTrack:!0,to:A.location,children:Q}):(0,n.jsx)(n.Fragment,{children:Q}),G=()=>{const Q=T?.fields.title?(0,n.jsx)(g.e,{text:T.fields.title,preTag:T.preTag,postTag:T.postTag}):A.title,q=T?.fields.entityTitle?(0,n.jsx)(g.e,{text:T.fields.entityTitle,preTag:T.preTag,postTag:T.postTag}):A.entityTitle,z=T?.fields.name?(0,n.jsx)(g.e,{text:T.fields.name,preTag:T.preTag,postTag:T.postTag}):A.name;return A?(0,n.jsx)(x.A,{className:M.itemText,primaryTypographyProps:{variant:"h6"},primary:(0,n.jsx)(Z,{children:B||(0,n.jsxs)(n.Fragment,{children:[Q," | ",q??z," docs"]})}),secondary:(0,n.jsx)(h.A,{component:"span",style:{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:w,overflow:"hidden"},color:"textSecondary",variant:"body2",children:T?.fields.text?(0,n.jsx)(g.e,{text:T.fields.text,preTag:T.preTag,postTag:T.postTag}):A.text})}):null},N=({children:Q})=>R?(0,n.jsxs)(n.Fragment,{children:[F&&(0,n.jsx)(d.A,{children:typeof F=="function"?F(A):F}),(0,n.jsx)("div",{className:M.flexContainer,children:Q})]}):(0,n.jsx)(n.Fragment,{children:Q});return(0,n.jsx)(N,{children:(0,n.jsx)(G,{})})}},97184:(H,b,t)=>{const a=document.querySelector('meta[name="backstage-public-path"]')?.getAttribute("content");a&&(t.p=a)},86973:()=>{}},H=>{var b=n=>H(H.s=n);H.O(0,[1751,1888,5067,1678,235,6587,1975,5042,7400,4538,4121],()=>(b(97184),b(9245)));var t=H.O()}]);})();
552
552
 
553
- //# sourceMappingURL=main.7b4e6871.js.map
553
+ //# sourceMappingURL=main.b927bdd3.js.map