@techdocs/cli 1.8.22-next.0 → 1.8.22-next.1
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 +12 -0
- package/dist/embedded-app/.config-schema.json +2 -5
- package/dist/embedded-app/index.html +1 -1
- package/dist/embedded-app/index.html.tmpl +1 -1
- package/dist/embedded-app/static/{main.13ab76c8.js → main.995b65c9.js} +1 -1
- package/dist/embedded-app/static/{main.13ab76c8.js.map → main.995b65c9.js.map} +1 -1
- package/dist/embedded-app/static/{runtime.13ab76c8.js → runtime.995b65c9.js} +1 -1
- package/dist/embedded-app/static/{runtime.13ab76c8.js.map → runtime.995b65c9.js.map} +1 -1
- package/dist/embedded-app/static/{vendor.13ab76c8.js → vendor.995b65c9.js} +1 -1
- package/dist/embedded-app/static/{vendor.13ab76c8.js.map → vendor.995b65c9.js.map} +1 -1
- package/dist/package.json.cjs.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @techdocs/cli
|
|
2
2
|
|
|
3
|
+
## 1.8.22-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 702f41d: Bumped dev dependencies `@types/node`
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/cli-common@0.1.15-next.0
|
|
10
|
+
- @backstage/backend-defaults@0.5.3-next.1
|
|
11
|
+
- @backstage/catalog-model@1.7.0
|
|
12
|
+
- @backstage/config@1.2.0
|
|
13
|
+
- @backstage/plugin-techdocs-node@1.12.13-next.1
|
|
14
|
+
|
|
3
15
|
## 1.8.22-next.0
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -443,11 +443,7 @@
|
|
|
443
443
|
"visibility": "frontend",
|
|
444
444
|
"type": "string"
|
|
445
445
|
}
|
|
446
|
-
}
|
|
447
|
-
"required": [
|
|
448
|
-
"allowedCustomElementAttributeNameRegExp",
|
|
449
|
-
"allowedCustomElementTagNameRegExp"
|
|
450
|
-
]
|
|
446
|
+
}
|
|
451
447
|
}
|
|
452
448
|
}
|
|
453
449
|
}
|
|
@@ -3722,6 +3718,7 @@
|
|
|
3722
3718
|
"type": "object",
|
|
3723
3719
|
"properties": {
|
|
3724
3720
|
"google": {
|
|
3721
|
+
"visibility": "frontend",
|
|
3725
3722
|
"type": "object",
|
|
3726
3723
|
"additionalProperties": {
|
|
3727
3724
|
"type": "object",
|
|
@@ -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.
|
|
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.995b65c9.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.e7427c94.js"></script><script defer="defer" src="/static/vendor.995b65c9.js"></script><script defer="defer" src="/static/main.995b65c9.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.
|
|
45
|
+
<meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.995b65c9.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.e7427c94.js"></script><script defer src="<%= publicPath %>/static/vendor.995b65c9.js"></script><script defer src="<%= publicPath %>/static/main.995b65c9.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:`),St=K?.type==="github"?(0,hs.F)(F.href,"blob"):F.href,$t=Un()(St),wt=`/${$t.organization}/${$t.name}`,Ft=U.cloneNode();switch(K?.type){case"gitlab":Ft.href=`${F.origin}${wt}/issues/new?issue[title]=${rt}&issue[description]=${Ct}`;break;case"github":Ft.href=`${F.origin}${wt}/issues/new?title=${rt}&body=${Ct}`;break;default:return R}return ln(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),R};var An=t(38097);const xn=(0,x.A)(f=>({button:{color:f.palette.primary.light,textDecoration:"underline"}})),fs=({message:f,handleButtonClick:R,autoHideDuration:U})=>{const F=xn(),[K,J]=(0,a.useState)(!0),rt=()=>J(!1);return(0,n.jsx)(An.A,{open:K,anchorOrigin:{vertical:"top",horizontal:"right"},autoHideDuration:U,color:"primary",onClose:rt,message:f,action:(0,n.jsx)(j.A,{classes:{root:F.button},size:"small",onClick:()=>{rt(),R()},children:"Redirect now"})})},$n=(f,R)=>{const F=K=>{const J=Ln(window.location.href),rt=new URL(K,J);if(rt.hostname!==window.location.hostname){const St=window.location.pathname,$t=St.indexOf(R),wt=St.slice(0,$t+R.length);return new URL(wt,J).href}return rt.href};return K=>{for(const J of Array.from(K.querySelectorAll("meta")))if(J.getAttribute("http-equiv")==="refresh"){const rt=J.getAttribute("content")?.split("url=");if(!rt||rt.length<2)return K;const Ct=rt[1],St=F(Ct);if(window.location.href===St)return K;const $t=document.createElement("div");return ln((0,n.jsx)(fs,{message:"This TechDocs page is no longer maintained. Will automatically redirect to the designated replacement.",handleButtonClick:()=>f(St),autoHideDuration:3e3}),$t),document.body.appendChild($t),setTimeout(()=>{f(St)},3e3),K}return K}},Fn=()=>f=>(setTimeout(()=>{const R=f?.querySelectorAll("li.md-nav__item--active");R.length!==0&&(R.forEach(F=>{const K=F?.querySelector("input");K?.checked||K?.click()}),R[R.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[R,U]=(0,a.useState)(!1),[,F]=(0,As.A)(),K=(0,a.useCallback)(()=>{F(f),U(!0)},[f,F]),J=(0,a.useCallback)(()=>{U(!1)},[U]);return(0,n.jsx)(xs,{title:"Copied to clipboard",placement:"left",open:R,onClose:J,leaveDelay:1e3,children:(0,n.jsx)(Mt.A,{style:{color:"inherit",position:"absolute"},className:"md-clipboard md-icon",onClick:K,children:(0,n.jsx)(Cs,{})})})},Ss=f=>R=>{const U=R.querySelectorAll("pre > code");for(const F of U){const K=F.textContent||"",J=document.createElement("div");F?.parentElement?.prepend(J),ln((0,n.jsx)(ms.A,{theme:f,children:(0,n.jsx)(bs,{text:K})}),J)}return R},Os=({baseUrl:f,onClick:R})=>U=>(Array.from(U.getElementsByTagName("a")).forEach(F=>{F.addEventListener("click",K=>{const rt=F.getAttribute("href");rt&&rt.startsWith(f)&&!F.hasAttribute("download")&&(K.preventDefault(),R(K,rt))})}),U),Nn=({onLoading:f,onLoaded:R})=>U=>(f(),U.addEventListener(p,function F(){R(),U.removeEventListener(p,F)}),U);function Ts(f,R){const U=new URL(R),F=`${U.origin}${U.pathname.replace(/\/$/,"")}`,K=f.replace(F,"").replace(/^\/+/,""),J=new URL(`http://localhost/${K}`);return`${J.pathname}${J.search}${J.hash}`}function kn(){const f=(0,a.useRef)((0,Ut.Zp)()),U=(0,st.gf)(Y.U).getOptionalString("app.baseUrl");return(0,a.useCallback)(K=>{let J=K;if(U)try{J=Ts(K,U)}catch{}f.current(J)},[U])}const Wn="screen and (max-width: 76.1875em)",Ps=f=>{const R=kn(),U=(0,l.A)(),F=(0,L.A)(Wn),K=Re(),J=as(),rt=(0,X.s)(),Ct=(0,st.gf)(qe.s),St=(0,st.gf)(E.Y),{state:$t,path:wt,content:Ft}=$e(),[jt,ue]=(0,a.useState)(null),ie=v(jt),Wt=(0,a.useCallback)(()=>{if(!jt)return;jt.querySelectorAll(".md-sidebar").forEach(_t=>{if(F)_t.style.top="0px";else{const Ce=document?.querySelector(".techdocs-reader-page")?.getBoundingClientRect().top??0;let he=jt.getBoundingClientRect().top??0;const He=jt.querySelector(".md-container > .md-tabs")?.getBoundingClientRect().height??0;he<Ce&&(he=Ce);const dn=Math.max(he,0)+He;_t.style.top=`${dn}px`;const me=jt.querySelector(".md-container > .md-footer")?.getBoundingClientRect().top??window.innerHeight;_t.style.height=`${me-dn}px`}_t.style.setProperty("opacity","1")})},[jt,F]);(0,a.useEffect)(()=>(window.addEventListener("resize",Wt),window.addEventListener("scroll",Wt,!0),()=>{window.removeEventListener("resize",Wt),window.removeEventListener("scroll",Wt,!0)}),[jt,Wt]);const fe=(0,a.useCallback)(()=>{if(!jt)return;const Nt=jt.querySelector(".md-footer");Nt&&(Nt.style.width=`${jt.getBoundingClientRect().width}px`)},[jt]);(0,a.useEffect)(()=>(window.addEventListener("resize",fe),()=>{window.removeEventListener("resize",fe)}),[jt,fe]),(0,a.useEffect)(()=>{ie||(fe(),Wt())},[$t,ie,fe,Wt]);const te=(0,a.useCallback)((Nt,_t)=>En(Nt,[K,Dn({techdocsStorageApi:Ct,entityId:f,path:_t}),cs(),ds(),us(),jn(),ps(St),J]),[f,St,Ct,K,J]),ae=(0,a.useCallback)(async Nt=>En(Nt,[$n(R,f.name),Fn(),Ss(U),Os({baseUrl:window.location.origin,onClick:(_t,re)=>{const Ce=_t.ctrlKey||_t.metaKey,he=new URL(re),nn=_t.target?.innerText||re,He=re.replace(window.location.origin,"");rt.captureEvent("click",nn,{attributes:{to:He}}),he.hash?Ce?window.open(re,"_blank"):(window.location.pathname!==he.pathname?R(re):window.history.pushState(null,document.title,he.hash),Nt?.querySelector(`[id="${he.hash.slice(1)}"]`)?.scrollIntoView()):Ce?window.open(re,"_blank"):R(re)}}),Nn({onLoading:()=>{},onLoaded:()=>{Nt.querySelector(".md-nav__title")?.removeAttribute("for")}}),Nn({onLoading:()=>{Array.from(Nt.querySelectorAll(".md-sidebar")).forEach(re=>{re.style.setProperty("opacity","0")})},onLoaded:()=>{}})]),[U,R,rt,f.name]);return(0,a.useEffect)(()=>{if(!Ft)return()=>{};let Nt=!0;return te(Ft,wt).then(async _t=>{if(!_t?.innerHTML||!Nt||!window.location.pathname.endsWith(wt))return;window.scroll({top:0});const re=await ae(_t);ue(re)}),()=>{Nt=!1}},[Ft,wt,te,ae]),jt};var Cn=t(41883),Ne=t(72020),Ie=t(99730);const ke=()=>{const f=(0,Ne.YR)(),{shadowRoot:R}=(0,m.V)(),U=R?.querySelector('[data-md-component="content"]'),F=R?.querySelector('div[data-md-component="sidebar"][data-md-type="navigation"], div[data-md-component="navigation"]');let K=F?.querySelector('[data-techdocs-addons-location="primary sidebar"]');K||(K=document.createElement("div"),K.setAttribute("data-techdocs-addons-location","primary sidebar"),F?.prepend(K));const J=R?.querySelector('div[data-md-component="sidebar"][data-md-type="toc"], div[data-md-component="toc"]');let rt=J?.querySelector('[data-techdocs-addons-location="secondary sidebar"]');return rt||(rt=document.createElement("div"),rt.setAttribute("data-techdocs-addons-location","secondary sidebar"),J?.prepend(rt)),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Cn.A,{container:K,children:f.renderComponentsByLocation(Ie.e.PrimarySidebar)}),(0,n.jsx)(Cn.A,{container:U,children:f.renderComponentsByLocation(Ie.e.Content)}),(0,n.jsx)(Cn.A,{container:rt,children:f.renderComponentsByLocation(Ie.e.SecondarySidebar)})]})},ws=(0,x.A)({search:{width:"100%","@media (min-width: 76.1875em)":{width:"calc(100% - 34.4rem)",margin:"0 auto"},"@media print":{display:"none"}}}),Kn=Ae(f=>{const{withSearch:R=!0,onReady:U}=f,F=ws(),{entityMetadata:{value:K,loading:J},entityRef:rt,setShadowRoot:Ct}=(0,m.V)(),{state:St}=$e(),$t=Ps(rt),wt=window.location.pathname,Ft=window.location.hash,jt=v($t),[ue]=I([`[id="${Ft.slice(1)}"]`]);(0,a.useEffect)(()=>{jt||(Ft?ue&&ue.scrollIntoView():document?.querySelector("header")?.scrollIntoView())},[wt,Ft,ue,jt]);const ie=(0,a.useCallback)(Wt=>{Ct(Wt),U instanceof Function&&U()},[Ct,U]);return J===!1&&!K?(0,n.jsx)(N.M,{status:"404",statusMessage:"PAGE NOT FOUND"}):$t?(0,n.jsx)(D.U,{children:(0,n.jsxs)(d.A,{container:!0,children:[(0,n.jsx)(d.A,{xs:12,item:!0,children:(0,n.jsx)(Ze,{})}),R&&(0,n.jsx)(d.A,{className:F.search,xs:"auto",item:!0,children:(0,n.jsx)(ge,{entityId:rt,entityTitle:K?.metadata?.title})}),(0,n.jsxs)(d.A,{xs:12,item:!0,children:[(St==="CHECKING"||jt)&&(0,n.jsx)(Z.k,{}),(0,n.jsx)(A,{element:$t,onAppend:ie,children:(0,n.jsx)(ke,{})})]})]})}):(0,n.jsx)(D.U,{children:(0,n.jsx)(d.A,{container:!0,children:(0,n.jsx)(d.A,{xs:12,item:!0,children:(0,n.jsx)(Ze,{})})})})}),Rs=null},45061:(H,b,t)=>{"use strict";t.d(b,{T:()=>V});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),y=t(67871),v=t(8859),A=t(34428),P=t(51372),T=t(58837),I=t(268),S=t(72501),B=t(72072);const N=(0,T.A)(Y=>({root:{textAlign:"left"},label:{color:Y.page.fontColor,fontWeight:Y.typography.fontWeightBold,letterSpacing:0,fontSize:Y.typography.fontSize,marginBottom:Y.spacing(1)/2,lineHeight:1},value:{color:(0,I.X4)(Y.page.fontColor,.8),fontSize:Y.typography.fontSize,lineHeight:1}}),{name:"BackstageHeaderLabel"}),D=({value:Y,className:nt,typographyRootComponent:at})=>(0,n.jsx)(S.A,{component:at??(typeof Y=="string"?"p":"span"),className:nt,children:Y});function Z(Y){const{label:nt,value:at,url:ft,contentTypograpyRootComponent:Et}=Y,bt=N(),mt=(0,n.jsx)(D,{className:bt.value,value:at||"<Unknown>",typographyRootComponent:Et});return(0,n.jsx)(x.A,{item:!0,children:(0,n.jsxs)(S.A,{component:"span",className:bt.root,children:[(0,n.jsx)(S.A,{className:bt.label,children:nt}),ft?(0,n.jsx)(B.N_,{to:ft,children:mt}):mt]})})}var G=t(69814),k=t(72427),Q=t(65461),z=t(9222),_=t(45250),st=t(82779);const X=(0,n.jsx)(m.A,{animation:"wave",variant:"text",height:40}),V=Y=>{const{children:nt}=Y,at=(0,u.YR)(),ft=(0,k.gf)(Q.U),{title:Et,setTitle:bt,subtitle:mt,setSubtitle:dt,entityRef:At,metadata:{value:vt,loading:Tt},entityMetadata:{value:Ot,loading:Lt}}=(0,g.V)();(0,a.useEffect)(()=>{vt&&(bt(vt.site_name),dt(()=>{let{site_description:xt}=vt;return(!xt||xt==="None")&&(xt=""),xt}))},[vt,bt,dt]);const kt=ft.getOptional("app.title")||"Backstage",Mt=[Et,mt,kt].filter(Boolean).join(" | "),{locationMetadata:gt,spec:Dt}=Ot||{},j=Dt?.lifecycle,$=Ot?(0,y.t)(Ot,P.vv):[],et=(0,z.S)(st.rQ)(),ct=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Z,{label:(0,_.capitalize)(Ot?.kind||"entity"),value:(0,n.jsx)(v.z,{color:"inherit",entityRef:At,title:Ot?.metadata.title,defaultKind:"Component"})}),$.length>0&&(0,n.jsx)(Z,{label:"Owner",value:(0,n.jsx)(A.i,{color:"inherit",entityRefs:$,defaultKind:"group"})}),j?(0,n.jsx)(Z,{label:"Lifecycle",value:String(j)}):null,gt&>.type!=="dir"&>.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:gt.target}):null]});return!Lt&&Ot===void 0||!Tt&&vt===void 0?null:(0,n.jsxs)(G.Y,{type:"Documentation",typeLink:et,title:Et||X,subtitle:mt===""?void 0:mt||X,children:[(0,n.jsx)(d.A,{titleTemplate:"%s",children:(0,n.jsx)("title",{children:Mt})}),ct,nt,at.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:()=>y});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"}}),y=v=>{const{result:A,highlight:P,lineClamp:T=5,asListItem:I=!0,asLink:S=!0,title:B,icon:N}=v,D=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=P?.fields.title?(0,n.jsx)(g.e,{text:P.fields.title,preTag:P.preTag,postTag:P.postTag}):A.title,z=P?.fields.entityTitle?(0,n.jsx)(g.e,{text:P.fields.entityTitle,preTag:P.preTag,postTag:P.postTag}):A.entityTitle,_=P?.fields.name?(0,n.jsx)(g.e,{text:P.fields.name,preTag:P.preTag,postTag:P.postTag}):A.name;return A?(0,n.jsx)(x.A,{className:D.itemText,primaryTypographyProps:{variant:"h6"},primary:(0,n.jsx)(Z,{children:B||(0,n.jsxs)(n.Fragment,{children:[Q," | ",z??_," docs"]})}),secondary:(0,n.jsx)(h.A,{component:"span",style:{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:T,overflow:"hidden"},color:"textSecondary",variant:"body2",children:P?.fields.text?(0,n.jsx)(g.e,{text:P.fields.text,preTag:P.preTag,postTag:P.postTag}):A.text})}):null},k=({children:Q})=>I?(0,n.jsxs)(n.Fragment,{children:[N&&(0,n.jsx)(d.A,{children:typeof N=="function"?N(A):N}),(0,n.jsx)("div",{className:D.flexContainer,children:Q})]}):(0,n.jsx)(n.Fragment,{children:Q});return(0,n.jsx)(k,{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(85318)));var t=H.O()}]);})();
|
|
552
552
|
|
|
553
|
-
//# sourceMappingURL=main.
|
|
553
|
+
//# sourceMappingURL=main.995b65c9.js.map
|