@patternfly/patternfly-doc-core 1.6.0 → 1.7.0

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 (62) hide show
  1. package/.astro/collections/examples.schema.json +16 -0
  2. package/.astro/collections/textContent.schema.json +16 -0
  3. package/dist/client/_astro/{PageContext.D1pNBMhh.js → Button.IBWho7ny.js} +2 -2
  4. package/dist/client/_astro/CSSTable.DHtMmTtQ.js +1185 -0
  5. package/dist/client/_astro/LiveExample.CwKQ5TSc.js +33 -0
  6. package/dist/client/_astro/Navigation.BSSYIa2f.js +1 -0
  7. package/dist/client/_astro/PageContext.ipir86Hm.js +1 -0
  8. package/dist/client/_astro/PageSidebarBody.tzSXGYXP.js +1 -0
  9. package/dist/client/_astro/PageToggle.C6_rp-Bm.js +1 -0
  10. package/dist/client/_astro/PageToggleButton.CagcouJB.js +1 -0
  11. package/dist/client/_astro/SearchInput.BjY-zTwj.js +1 -0
  12. package/dist/client/_astro/Toolbar.D4TQG77s.js +1 -0
  13. package/dist/client/_astro/ToolbarContent.DzYW_pmy.js +1 -0
  14. package/dist/client/_astro/_page_.BWicMEzd.css +1 -0
  15. package/dist/client/_astro/_page_.Chv_bGyU.css +1 -0
  16. package/dist/client/_astro/{client.CTJTt880.js → client.zs76E0tG.js} +1 -1
  17. package/dist/client/_astro/divider.DTvtnAAt.js +1 -0
  18. package/dist/client/_astro/help-icon.CDKTE3GW.js +8 -0
  19. package/dist/client/_astro/{index.Dhi-S4Ah.js → index.BQFV5hT1.js} +1 -1
  20. package/dist/client/_astro/{index.Dkaqzkgy.js → index.eCxJ45ll.js} +2 -2
  21. package/dist/client/_astro/page.BTC3Kf3x.js +1 -0
  22. package/dist/client/components/accordion/index.html +37 -12
  23. package/dist/client/design-foundations/typography/index.html +33 -8
  24. package/dist/client/design-foundations/usage-and-behavior/index.html +33 -8
  25. package/dist/client/get-started/contribute/index.html +33 -8
  26. package/dist/client/index.html +3 -4
  27. package/dist/server/chunks/Button_DVSwQ8oX.mjs +639 -0
  28. package/dist/server/chunks/CSSTable_CG80uW98.mjs +740 -0
  29. package/dist/server/chunks/CSSTable_Dj2CroFz.mjs +4 -0
  30. package/dist/server/chunks/{PropsTables_IgCNCQTX.mjs → PropsTables_DUo7F9VR.mjs} +36 -47
  31. package/dist/server/chunks/Stack_Xm3fJVbK.mjs +22 -0
  32. package/dist/server/chunks/{angle-down-icon_C5YQ7k8s.mjs → angle-down-icon_DtGGiMR5.mjs} +5 -637
  33. package/dist/server/entry.mjs +3 -2
  34. package/dist/server/{manifest_DoNTQyvZ.mjs → manifest_Dpwo8Jjv.mjs} +1 -1
  35. package/jest.config.ts +1 -1
  36. package/package.json +1 -1
  37. package/src/components/AutoLinkHeader.tsx +56 -0
  38. package/src/components/CSSSearch.tsx +33 -0
  39. package/src/components/CSSTable.astro +33 -0
  40. package/src/components/CSSTable.tsx +268 -0
  41. package/src/content.config.ts +10 -3
  42. package/src/layouts/Main.astro +12 -8
  43. package/src/pages/[section]/[...page].astro +16 -6
  44. package/src/pages/[section]/[page]/[...tab].astro +12 -3
  45. package/src/pages/index.astro +0 -1
  46. package/src/styles/global.scss +47 -1
  47. package/src/utils/index.ts +1 -0
  48. package/src/utils/slugger.ts +14 -0
  49. package/textContent/contribute.md +19 -13
  50. package/dist/client/_astro/LiveExample.Df-EUsee.js +0 -40
  51. package/dist/client/_astro/Navigation.CabjIYg4.js +0 -1
  52. package/dist/client/_astro/PageSidebarBody.Y-7d6zQM.js +0 -1
  53. package/dist/client/_astro/PageToggle.CbfM9bJB.js +0 -1
  54. package/dist/client/_astro/PageToggleButton.CZ3xPbcc.js +0 -1
  55. package/dist/client/_astro/Toolbar.9-YSFh3P.js +0 -1
  56. package/dist/client/_astro/ToolbarContent.BXdFKbs9.js +0 -1
  57. package/dist/client/_astro/_page_.B8cBYNKa.css +0 -1
  58. package/dist/client/_astro/_tab_.YrfmckTJ.css +0 -1
  59. package/dist/client/_astro/divider.DjbDHO_6.js +0 -1
  60. package/dist/client/_astro/page.CDtWFZb5.js +0 -1
  61. /package/dist/client/_astro/{_tab_.DxJDkZPc.css → _page_.DxJDkZPc.css} +0 -0
  62. /package/dist/server/chunks/{_astro_data-layer-content_Ni7IDnLe.mjs → _astro_data-layer-content_1EAcQtZj.mjs} +0 -0
@@ -1 +0,0 @@
1
- import{d as ft,m as Ct,R as we,a as Dt,j as Pe,c as at}from"./PageContext.D1pNBMhh.js";import{r as g}from"./index.Dkaqzkgy.js";import{r as Tt}from"./index.Dhi-S4Ah.js";/* empty css */var Xt=Tt();function ue(e){const t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function B(e){if(e.toString()!=="[object Window]"){const t=e.ownerDocument;return t?t.defaultView:window}return e}function Te(e){const t=B(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function de(e){const t=B(e).Element;return e instanceof t||e instanceof Element}function V(e){const t=B(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Rt(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Nt(e){return e===B(e)||!V(e)?Te(e):Rt(e)}function N(e){return e?(e.nodeName||"").toLowerCase():null}function U(e){return(de(e)?e.ownerDocument:e.document).documentElement}function Xe(e){return ue(U(e)).left+Te(e).scrollLeft}function H(e){return B(e).getComputedStyle(e)}function Re(e){const{overflow:t,overflowX:n,overflowY:o}=H(e);return/auto|scroll|overlay|hidden/.test(t+o+n)}function zt(e,t,n=!1){const o=U(t),i=ue(e),r=V(t);let c={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&((N(t)!=="body"||Re(o))&&(c=Nt(t)),V(t)?(s=ue(t),s.x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=Xe(o))),{x:i.left+c.scrollLeft-s.x,y:i.top+c.scrollTop-s.y,width:i.width,height:i.height}}function Ne(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function _e(e){return N(e)==="html"?e:e.assignedSlot||e.parentNode||e.host||U(e)}function pt(e){return["html","body","#document"].indexOf(N(e))>=0?e.ownerDocument.body:V(e)&&Re(e)?e:pt(_e(e))}function pe(e,t=[]){const n=pt(e),o=N(n)==="body",i=B(n),r=o?[i].concat(i.visualViewport||[],Re(n)?n:[]):n,c=t.concat(r);return o?c:c.concat(pe(_e(r)))}function Ft(e){return["table","td","th"].indexOf(N(e))>=0}function Ze(e){if(!V(e)||H(e).position==="fixed")return null;const t=e.offsetParent;if(t){const n=U(t);if(N(t)==="body"&&H(t).position==="static"&&H(n).position!=="static")return n}return t}function Vt(e){let t=_e(e);for(;V(t)&&["html","body"].indexOf(N(t))<0;){const n=H(t);if(n.transform!=="none"||n.perspective!=="none"||n.willChange&&n.willChange!=="auto")return t;t=t.parentNode}return null}function he(e){const t=B(e);let n=Ze(e);for(;n&&Ft(n)&&H(n).position==="static";)n=Ze(n);return n&&N(n)==="body"&&H(n).position==="static"?t:n||Vt(e)||t}const I="top",X="bottom",R="right",C="left",ze="auto",be=[I,X,R,C],K="start",Fe="end",Bt="clippingParents",ut="viewport",ae="popper",Wt="reference",Ke=be.reduce((e,t)=>e.concat([`${t}-${K}`,`${t}-${Fe}`]),[]),dt=[...be,ze].reduce((e,t)=>e.concat([t,`${t}-${K}`,`${t}-${Fe}`]),[]),qt="beforeRead",Ht="read",Ut="afterRead",Yt="beforeMain",Gt="main",Jt="afterMain",Qt="beforeWrite",Zt="write",Kt="afterWrite",en=[qt,Ht,Ut,Yt,Gt,Jt,Qt,Zt,Kt];function tn(e){const t=new Map,n=new Set,o=[];e.forEach(r=>{t.set(r.name,r)});function i(r){n.add(r.name),[...r.requires||[],...r.requiresIfExists||[]].forEach(s=>{if(!n.has(s)){const l=t.get(s);l&&i(l)}}),o.push(r)}return e.forEach(r=>{n.has(r.name)||i(r)}),o}function nn(e){const t=tn(e);return en.reduce((n,o)=>n.concat(t.filter(i=>i.phase===o)),[])}function on(e){let t;return()=>(t||(t=new Promise(n=>{Promise.resolve().then(()=>{t=void 0,n(e())})})),t)}function F(e){return e.split("-")[0]}function sn(e){const t=e.reduce((n,o)=>{const i=n[o.name];return n[o.name]=i?Object.assign(Object.assign(Object.assign({},i),o),{options:Object.assign(Object.assign({},i.options),o.options),data:Object.assign(Object.assign({},i.data),o.data)}):o,n},{});return Object.keys(t).map(n=>t[n])}function rn(e){const t=B(e),n=U(e),o=t.visualViewport;let i=n.clientWidth,r=n.clientHeight,c=0,s=0;return o&&(i=o.width,r=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(c=o.offsetLeft,s=o.offsetTop)),{width:i,height:r,x:c+Xe(e),y:s}}function cn(e){const t=U(e),n=Te(e),o=e.ownerDocument.body,i=Math.max(t.scrollWidth,t.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),r=Math.max(t.scrollHeight,t.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let c=-n.scrollLeft+Xe(e);const s=-n.scrollTop;return H(o||t).direction==="rtl"&&(c+=Math.max(t.clientWidth,o?o.clientWidth:0)-i),{width:i,height:r,x:c,y:s}}function mt(e,t){const n=!!(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(n){let o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function De(e){return Object.assign(Object.assign({},e),{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ln(e){const t=ue(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function et(e,t){return t===ut?De(rn(e)):V(t)?ln(t):De(cn(U(e)))}function fn(e){const t=pe(_e(e)),o=["absolute","fixed"].indexOf(H(e).position)>=0&&V(e)?he(e):e;return de(o)?t.filter(i=>de(i)&&mt(i,o)&&N(i)!=="body"):[]}function an(e,t,n){const i=[...t==="clippingParents"?fn(e):[].concat(t),n],r=i[0],c=i.reduce((s,l)=>{const f=et(e,l);return s.top=Math.max(f.top,s.top),s.right=Math.min(f.right,s.right),s.bottom=Math.min(f.bottom,s.bottom),s.left=Math.max(f.left,s.left),s},et(e,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function me(e){return e.split("-")[1]}function Ve(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function gt({reference:e,element:t,placement:n}){const o=n?F(n):null,i=n?me(n):null,r=e.x+e.width/2-t.width/2,c=e.y+e.height/2-t.height/2;let s;switch(o){case I:s={x:r,y:e.y-t.height};break;case X:s={x:r,y:e.y+e.height};break;case R:s={x:e.x+e.width,y:c};break;case C:s={x:e.x-t.width,y:c};break;default:s={x:e.x,y:e.y}}const l=o?Ve(o):null;if(l!=null){const f=l==="y"?"height":"width";switch(i){case K:s[l]=Math.floor(s[l])-Math.floor(e[f]/2-t[f]/2);break;case Fe:s[l]=Math.floor(s[l])+Math.ceil(e[f]/2-t[f]/2);break}}return s}function ht(){return{top:0,right:0,bottom:0,left:0}}function bt(e){return Object.assign(Object.assign({},ht()),e)}function Ot(e,t){return t.reduce((n,o)=>(n[o]=e,n),{})}function ge(e,t={}){const{placement:n=e.placement,boundary:o=Bt,rootBoundary:i=ut,elementContext:r=ae,altBoundary:c=!1,padding:s=0}=t,l=bt(typeof s!="number"?s:Ot(s,be)),f=r===ae?Wt:ae,a=e.elements.reference,h=e.rects.popper,d=e.elements[c?f:r],m=an(de(d)?d:d.contextElement||U(e.elements.popper),o,i),O=ue(a),p=gt({reference:O,element:h,placement:n}),P=De(Object.assign(Object.assign({},h),p)),b=r===ae?P:O,S={top:m.top-b.top+l.top,bottom:b.bottom-m.bottom+l.bottom,left:m.left-b.left+l.left,right:b.right-m.right+l.right},j=e.modifiersData.offset;if(r===ae&&j){const L=j[n];Object.keys(S).forEach(E=>{const M=[R,X].indexOf(E)>=0?1:-1,x=[I,X].indexOf(E)>=0?"y":"x";S[E]+=L[x]*M})}return S}const tt={placement:"bottom",modifiers:[],strategy:"absolute"};function nt(...e){return!e.some(t=>!(t&&typeof t.getBoundingClientRect=="function"))}function xt(e={}){const{defaultModifiers:t=[],defaultOptions:n=tt}=e;return function(i,r,c=n){let s={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},tt),n),modifiersData:{},elements:{reference:i,popper:r},attributes:{},styles:{}},l=[],f=!1;const a={state:s,setOptions(m){d(),s.options=Object.assign(Object.assign(Object.assign({},n),s.options),m),s.scrollParents={reference:de(i)?pe(i):i.contextElement?pe(i.contextElement):[],popper:pe(r)};const O=nn(sn([...t,...s.options.modifiers]));return s.orderedModifiers=O.filter(p=>p.enabled),h(),a.update()},forceUpdate(){if(f)return;const{reference:m,popper:O}=s.elements;if(nt(m,O)){s.rects={reference:zt(m,he(O),s.options.strategy==="fixed"),popper:Ne(O)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(p=>s.modifiersData[p.name]=Object.assign({},p.data));for(let p=0;p<s.orderedModifiers.length;p++){if(s.reset===!0){s.reset=!1,p=-1;continue}const{fn:P,options:b={},name:S}=s.orderedModifiers[p];typeof P=="function"&&(s=P({state:s,options:b,name:S,instance:a})||s)}}},update:on(()=>new Promise(m=>{a.forceUpdate(),m(s)})),destroy(){d(),f=!0}};if(!nt(i,r))return a;a.setOptions(c).then(m=>{!f&&c.onFirstUpdate&&c.onFirstUpdate(m)});function h(){s.orderedModifiers.forEach(({name:m,options:O={},effect:p})=>{if(typeof p=="function"){const P=p({state:s,name:m,instance:a,options:O}),b=()=>{};l.push(P||b)}})}function d(){l.forEach(m=>m()),l=[]}return a}}xt();const Se={passive:!0};function pn({state:e,instance:t,options:n}){const{scroll:o=!0,resize:i=!0}=n,r=B(e.elements.popper),c=[...e.scrollParents.reference,...e.scrollParents.popper];return o&&c.forEach(s=>{s.addEventListener("scroll",t.update,Se)}),i&&r.addEventListener("resize",t.update,Se),()=>{o&&c.forEach(s=>{s.removeEventListener("scroll",t.update,Se)}),i&&r.removeEventListener("resize",t.update,Se)}}const un={name:"eventListeners",enabled:!0,phase:"write",fn:()=>{},effect:pn,data:{}};function dn({state:e,name:t}){e.modifiersData[t]=gt({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const mn={name:"popperOffsets",enabled:!0,phase:"read",fn:dn,data:{}},gn={top:"auto",right:"auto",bottom:"auto",left:"auto"};function hn({x:e,y:t}){const o=window.devicePixelRatio||1;return{x:Math.round(e*o)/o||0,y:Math.round(t*o)/o||0}}function ot({popper:e,popperRect:t,placement:n,offsets:o,position:i,gpuAcceleration:r,adaptive:c}){let{x:s,y:l}=hn(o);const f=o.hasOwnProperty("x"),a=o.hasOwnProperty("y");let h=C,d=I;const m=window;if(c){let p=he(e);p===B(e)&&(p=U(e)),n===I&&(d=X,l-=p.clientHeight-t.height,l*=r?1:-1),n===C&&(h=R,s-=p.clientWidth-t.width,s*=r?1:-1)}const O=Object.assign({position:i},c&&gn);return r?Object.assign(Object.assign({},O),{[d]:a?"0":"",[h]:f?"0":"",transform:(m.devicePixelRatio||1)<2?`translate(${s}px, ${l}px)`:`translate3d(${s}px, ${l}px, 0)`}):Object.assign(Object.assign({},O),{[d]:a?`${l}px`:"",[h]:f?`${s}px`:"",transform:""})}function bn({state:e,options:t}){const{gpuAcceleration:n=!0,adaptive:o=!0}=t,i={placement:F(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign(Object.assign({},e.styles.popper),ot(Object.assign(Object.assign({},i),{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign(Object.assign({},e.styles.arrow),ot(Object.assign(Object.assign({},i),{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1})))),e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{"data-popper-placement":e.placement})}const On={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:bn,data:{}};function xn({state:e}){Object.keys(e.elements).forEach(t=>{const n=e.styles[t]||{},o=e.attributes[t]||{},i=e.elements[t];!V(i)||!N(i)||(Object.assign(i.style,n),Object.keys(o).forEach(r=>{const c=o[r];c===!1?i.removeAttribute(r):i.setAttribute(r,c===!0?"":c)}))})}function yn({state:e}){const t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),()=>{Object.keys(e.elements).forEach(n=>{const o=e.elements[n],i=e.attributes[n]||{},c=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:t[n]).reduce((s,l)=>(s[l]="",s),{});!V(o)||!N(o)||(Object.assign(o.style,c),Object.keys(i).forEach(s=>{o.removeAttribute(s)}))})}}const vn={name:"applyStyles",enabled:!0,phase:"write",fn:xn,effect:yn,requires:["computeStyles"]};function wn(e,t,n){const o=F(e),i=[C,I].indexOf(o)>=0?-1:1;let[r,c]=typeof n=="function"?n(Object.assign(Object.assign({},t),{placement:e})):n;return r=r||0,c=(c||0)*i,[C,R].indexOf(o)>=0?{x:c,y:r}:{x:r,y:c}}function Pn({state:e,options:t,name:n}){const{offset:o=[0,0]}=t,i=dt.reduce((s,l)=>(s[l]=wn(l,e.rects,o),s),{}),{x:r,y:c}=i[e.placement];e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=r,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=i}const Sn={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Pn},En={left:"right",right:"left",bottom:"top",top:"bottom"};function Ee(e){return e.replace(/left|right|bottom|top/g,t=>En[t])}const Mn={start:"end",end:"start"};function st(e){return e.replace(/start|end/g,t=>Mn[t])}function _n(e,t={}){const{placement:n,boundary:o,rootBoundary:i,padding:r,flipVariations:c,allowedAutoPlacements:s=dt}=t,l=me(n),f=l?c?Ke:Ke.filter(d=>me(d)===l):be;let a=f.filter(d=>s.indexOf(d)>=0);a.length===0&&(a=f);const h=a.reduce((d,m)=>(d[m]=ge(e,{placement:m,boundary:o,rootBoundary:i,padding:r})[F(m)],d),{});return Object.keys(h).sort((d,m)=>h[d]-h[m])}function jn(e){if(F(e)===ze)return[];const t=Ee(e);return[st(e),t,st(t)]}function Ln({state:e,options:t,name:n}){if(e.modifiersData[n]._skip)return;const{mainAxis:o=!0,altAxis:i=!0,fallbackPlacements:r,padding:c,boundary:s,rootBoundary:l,altBoundary:f,flipVariations:a=!0,allowedAutoPlacements:h}=t,d=e.options.placement,O=F(d)===d,p=r||(O||!a?[Ee(d)]:jn(d)),P=[d,...p].reduce((M,x)=>M.concat(F(x)===ze?_n(e,{placement:x,boundary:s,rootBoundary:l,padding:c,flipVariations:a,allowedAutoPlacements:h}):x),[]),b=e.rects.reference,S=e.rects.popper,j=new Map;let L=!0,E=P[0];for(let M=0;M<P.length;M++){const x=P[M],y=F(x),A=me(x)===K,v=[I,X].indexOf(y)>=0,_=v?"width":"height",z=ge(e,{placement:x,boundary:s,rootBoundary:l,altBoundary:f,padding:c});let Y=v?A?R:C:A?X:I;b[_]>S[_]&&(Y=Ee(Y));const W=Ee(Y),q=[];if(o&&q.push(z[y]<=0),i&&q.push(z[Y]<=0,z[W]<=0),q.every(ee=>ee)){E=x,L=!1;break}j.set(x,q)}if(L){const M=a?3:1;for(let x=M;x>0;x--){const y=P.find(A=>{const v=j.get(A);if(v)return v.slice(0,x).every(_=>_)});if(y){E=y;break}}}e.placement!==E&&(e.modifiersData[n]._skip=!0,e.placement=E,e.reset=!0)}const kn={name:"flip",enabled:!0,phase:"main",fn:Ln,requiresIfExists:["offset"],data:{_skip:!1}};function $n(e){return e==="x"?"y":"x"}function Me(e,t,n){return Math.max(e,Math.min(t,n))}function An({state:e,options:t,name:n}){const{mainAxis:o=!0,altAxis:i=!1,boundary:r,rootBoundary:c,altBoundary:s,padding:l,tether:f=!0,tetherOffset:a=0}=t,h=ge(e,{boundary:r,rootBoundary:c,padding:l,altBoundary:s}),d=F(e.placement),m=me(e.placement),O=!m,p=Ve(d),P=$n(p),b=e.modifiersData.popperOffsets,S=e.rects.reference,j=e.rects.popper,L=typeof a=="function"?a(Object.assign(Object.assign({},e.rects),{placement:e.placement})):a,E={x:0,y:0};if(b){if(o){const M=p==="y"?I:C,x=p==="y"?X:R,y=p==="y"?"height":"width",A=b[p],v=b[p]+h[M],_=b[p]-h[x],z=f?-j[y]/2:0,Y=m===K?S[y]:j[y],W=m===K?-j[y]:-S[y],q=e.elements.arrow,ee=f&&q?Ne(q):{width:0,height:0},Oe=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:ht(),xe=Oe[M],ye=Oe[x],Q=Me(0,S[y],ee[y]),te=O?S[y]/2-z-Q-xe-L:Y-Q-xe-L,Z=O?-S[y]/2+z+Q+ye+L:W+Q+ye+L,ne=e.elements.arrow&&he(e.elements.arrow),oe=ne?p==="y"?ne.clientTop||0:ne.clientLeft||0:0,se=e.modifiersData.offset?e.modifiersData.offset[e.placement][p]:0,k=b[p]+te-se-oe,ie=b[p]+Z-se,re=Me(f?Math.min(v,k):v,A,f?Math.max(_,ie):_);b[p]=re,E[p]=re-A}if(i){const M=p==="x"?I:C,x=p==="x"?X:R,y=b[P],A=y+h[M],v=y-h[x],_=Me(A,y,v);b[P]=_,E[P]=_-y}e.modifiersData[n]=E}}const In={name:"preventOverflow",enabled:!0,phase:"main",fn:An,requiresIfExists:["offset"]};function Cn({state:e,name:t}){const n=e.elements.arrow,o=e.modifiersData.popperOffsets,i=F(e.placement),r=Ve(i),s=[C,R].indexOf(i)>=0?"height":"width";if(!n||!o)return;const l=e.modifiersData[`${t}#persistent`].padding,f=Ne(n),a=r==="y"?I:C,h=r==="y"?X:R,d=e.rects.reference[s]+e.rects.reference[r]-o[r]-e.rects.popper[s],m=o[r]-e.rects.reference[r],O=he(n),p=O?r==="y"?O.clientHeight||0:O.clientWidth||0:0,P=d/2-m/2,b=l[a],S=p-f[s]-l[h],j=p/2-f[s]/2+P,L=Me(b,j,S),E=r;e.modifiersData[t]={[E]:L,centerOffset:L-j}}function Dn({state:e,options:t,name:n}){let{element:o="[data-popper-arrow]",padding:i=0}=t;o!=null&&(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o)||mt(e.elements.popper,o)&&(e.elements.arrow=o,e.modifiersData[`${n}#persistent`]={padding:bt(typeof i!="number"?i:Ot(i,be))}))}const Tn={name:"arrow",enabled:!0,phase:"main",fn:Cn,effect:Dn,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function it(e,t,n={x:0,y:0}){return{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function rt(e){return[I,R,X,C].some(t=>e[t]>=0)}function Xn({state:e,name:t}){const n=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,r=ge(e,{elementContext:"reference"}),c=ge(e,{altBoundary:!0}),s=it(r,n),l=it(c,o,i),f=rt(s),a=rt(l);e.modifiersData[t]={referenceClippingOffsets:s,popperEscapeOffsets:l,isReferenceHidden:f,hasPopperEscaped:a},e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{"data-popper-reference-hidden":f,"data-popper-escaped":a})}const Rn={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Xn},Nn=[un,mn,On,vn,Sn,kn,In,Tn,Rn],zn=xt({defaultModifiers:Nn}),ct=ft?g.useLayoutEffect:g.useEffect,Fn=(e,t)=>JSON.stringify(e)===JSON.stringify(t),lt=e=>e.reduce((t,[n,o])=>(t[n]=o,t),{}),Vn=[],Bn=(e,t,n={})=>{const o=g.useRef(null),i={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Vn},[r,c]=g.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"}},attributes:{}}),s=g.useMemo(()=>({name:"updateState",enabled:!0,phase:"write",fn:({state:a})=>{const h=Object.keys(a.elements);c({styles:lt(h.map(d=>[d,a.styles[d]||{}])),attributes:lt(h.map(d=>[d,a.attributes[d]]))})},requires:["computeStyles"]}),[]),l=g.useMemo(()=>{const a={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[...i.modifiers,s,{name:"applyStyles",enabled:!1}]};return Fn(o.current,a)?o.current||a:(o.current=a,a)},[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,s]),f=g.useRef(void 0);return ct(()=>{f&&f.current&&f.current.setOptions(l)},[l]),ct(()=>{if(e==null||t==null)return;const h=(n.createPopper||zn)(e,t,l);return f.current=h,()=>{h.destroy(),f.current=null}},[e,t,n.createPopper]),{state:f.current?f.current.state:null,styles:r.styles,attributes:r.attributes,update:f.current?f.current.update:null,forceUpdate:f.current?f.current.forceUpdate:null}},Wn={left:"right",right:"left",bottom:"top",top:"bottom","top-start":"bottom-end","top-end":"bottom-start","bottom-start":"top-end","bottom-end":"top-start","left-start":"right-end","left-end":"right-start","right-start":"left-end","right-end":"left-start"},qn=e=>e.replace(/left|right|bottom|top|top-start|top-end|bottom-start|bottom-end|right-start|right-end|left-start|left-end/g,t=>Wn[t]),Hn=e=>`opacity ${e}ms cubic-bezier(.54, 1.5, .38, 1.11)`,Un=({trigger:e,popper:t,direction:n="down",position:o="start",placement:i,width:r,minWidth:c="trigger",maxWidth:s,appendTo:l=()=>document.body,zIndex:f=9999,isVisible:a=!0,positionModifiers:h,distance:d=0,onMouseEnter:m,onMouseLeave:O,onFocus:p,onBlur:P,onDocumentClick:b,onTriggerClick:S,onTriggerEnter:j,onPopperClick:L,onPopperMouseEnter:E,onPopperMouseLeave:M,onDocumentKeyDown:x,enableFlip:y=!0,flipBehavior:A="flip",triggerRef:v,popperRef:_,animationDuration:z=0,entryDelay:Y=0,exitDelay:W=0,onHidden:q=()=>{},onHide:ee=()=>{},onMount:Oe=()=>{},onShow:xe=()=>{},onShown:ye=()=>{},preventOverflow:Q=!1})=>{var te;const[Z,ne]=g.useState(null),[oe,se]=g.useState(null),[k,ie]=g.useState(null),[re,yt]=g.useState(null),[vt,wt]=g.useState(!1),[Pt,Be]=g.useState(0),[St,je]=g.useState(a),ce=g.useRef(null),Le=g.useRef(null),le=g.useRef(null),We=g.useRef(void 0),$=oe||Z,ke=a||St,Et=(te=v?.current||Z)===null||te===void 0?void 0:te.parentElement,qe=Ct(Et),ve=g.useMemo(()=>{const u={left:"left",right:"right",center:"center"};return{ltr:Object.assign({start:"left",end:"right"},u),rtl:Object.assign({start:"right",end:"left"},u)}[qe][o]},[o,qe]),He=g.useCallback(u=>b(u,$,k),[ke,Z,oe,k,b]);g.useEffect(()=>{wt(!0),Oe()},[]),g.useEffect(()=>()=>{we([ce,le,Le])},[]),g.useEffect(()=>{v&&(v.current?se(v.current):typeof v=="function"&&se(v()))},[v,e]),g.useEffect(()=>{_&&(_.current?ie(_.current):typeof _=="function"&&ie(_()))},[ke,_]),g.useEffect(()=>{const u=new MutationObserver(()=>{Ge&&Ge()});return k&&u.observe(k,{attributes:!0,childList:!0,subtree:!0}),()=>{u.disconnect()}},[k]);const D=(u,w,G,J=!1)=>{u&&w&&w.addEventListener(G,u,{capture:J})},T=(u,w,G,J=!1)=>{u&&w&&w.removeEventListener(G,u,{capture:J})};g.useEffect(()=>(D(m,$,"mouseenter"),D(O,$,"mouseleave"),D(p,$,"focus"),D(P,$,"blur"),D(S,$,"click"),D(j,$,"keydown"),D(L,k,"click"),D(E,k,"mouseenter"),D(M,k,"mouseleave"),b&&D(He,document,"click",!0),D(x,document,"keydown",!0),()=>{T(m,$,"mouseenter"),T(O,$,"mouseleave"),T(p,$,"focus"),T(P,$,"blur"),T(S,$,"click"),T(j,$,"keydown"),T(L,k,"click"),T(E,k,"mouseenter"),T(M,k,"mouseleave"),b&&T(He,document,"click",!0),T(x,document,"keydown",!0)}),[Z,k,m,O,p,P,S,j,L,E,M,b,x,oe]);const Ue=()=>{if(i)return i;let u=n==="up"?"top":"bottom";return ve!=="center"&&(u=`${u}-${ve==="right"?"end":"start"}`),u},Ye=g.useMemo(Ue,[n,ve,i]),Mt=g.useMemo(()=>qn(Ue()),[n,ve,i]),_t=g.useMemo(()=>({name:"widthMods",enabled:r!==void 0||c!==void 0||s!==void 0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:u})=>{const w=u.rects.reference.width;r&&(u.styles.popper.width=r==="trigger"?`${w}px`:r),c&&(u.styles.popper.minWidth=c==="trigger"?`${w}px`:c),s&&(u.styles.popper.maxWidth=s==="trigger"?`${w}px`:s)},effect:({state:u})=>{const w=u.elements.reference.offsetWidth;return r&&(u.elements.popper.style.width=r==="trigger"?`${w}px`:r),c&&(u.elements.popper.style.minWidth=c==="trigger"?`${w}px`:c),s&&(u.elements.popper.style.maxWidth=s==="trigger"?`${w}px`:s),()=>{}}}),[r,c,s]),{styles:jt,attributes:fe,update:Ge,forceUpdate:Je}=Bn($,k,{placement:Ye,modifiers:[{name:"offset",options:{offset:[0,d]}},{name:"preventOverflow",enabled:Q},{name:"hide",enabled:!0},{name:"flip",enabled:Ye.startsWith("auto")||y,options:{fallbackPlacements:A==="flip"?[Mt]:A}},_t]});g.useEffect(()=>{var u,w,G,J,$e,Ae,Ie;const Ce=((J=(G=(w=(u=t?.props)===null||u===void 0?void 0:u.children)===null||w===void 0?void 0:w[1])===null||G===void 0?void 0:G.props)===null||J===void 0?void 0:J.children)||((Ie=(Ae=($e=t?.props)===null||$e===void 0?void 0:$e.children)===null||Ae===void 0?void 0:Ae.props)===null||Ie===void 0?void 0:Ie.children);yt(Ce),Ce&&re&&Ce!==re&&Je&&Je()},[t]),g.useEffect(()=>{We.current<W&&(we([ce,le]),le.current=setTimeout(()=>{ce.current=setTimeout(()=>{je(!1)},z)},W)),We.current=W},[W]);const Lt=()=>{xe(),we([ce,le]),Le.current=setTimeout(()=>{je(!0),Be(1),ye()},Y)},kt=()=>{ee(),we([Le]),le.current=setTimeout(()=>{Be(0),ce.current=setTimeout(()=>{je(!1),q()},z)},W)};g.useEffect(()=>{a?Lt():kt()},[a]);const $t=()=>{if(fe&&fe.popper&&fe.popper["data-popper-placement"]){const u=fe.popper["data-popper-placement"];return h[u]}return h.top},At=Object.assign({className:Dt(t.props&&t.props.className,h&&$t()),style:Object.assign(Object.assign(Object.assign({},t.props&&t.props.style||{}),jt.popper),{zIndex:f,opacity:Pt,transition:Hn(z)})},fe.popper),Qe=()=>{const u=g.cloneElement(t,At);return _?u:Pe.jsx("div",{style:{display:"contents"},ref:w=>{ie(w?.firstElementChild)},children:u})},It=()=>{if(l==="inline")return Qe();{const u=typeof l=="function"?l():l;return Xt.createPortal(Qe(),u)}};return Pe.jsxs(Pe.Fragment,{children:[!v&&e&&g.isValidElement(e)&&Pe.jsx("div",{style:{display:"contents"},ref:u=>{ne(u?.firstElementChild)},children:e}),v&&e&&g.isValidElement(e)&&e,vt&&ke&&It()]})};Un.displayName="Popper";const eo=(e,t,n)=>{let o;if(ft){const{ResizeObserver:i}=window;if(e&&i){const r=new i(c=>{n?window.requestAnimationFrame(()=>{Array.isArray(c)&&c.length>0}):Array.isArray(c)&&c.length>0&&t()});r.observe(e),o=()=>r.unobserve(e)}else window.addEventListener("resize",t),o=()=>window.removeEventListener("resize",t)}return()=>{o&&o()}},Yn={name:"AngleRightIcon",height:512,width:256,svgPath:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z",yOffset:0,xOffset:0},to=at(Yn),no={divider:"pf-v6-c-divider",menu:"pf-v6-c-menu",menuBreadcrumb:"pf-v6-c-menu__breadcrumb",menuContent:"pf-v6-c-menu__content",menuFooter:"pf-v6-c-menu__footer",menuGroup:"pf-v6-c-menu__group",menuGroupTitle:"pf-v6-c-menu__group-title",menuItem:"pf-v6-c-menu__item",menuItemAction:"pf-v6-c-menu__item-action",menuItemCheck:"pf-v6-c-menu__item-check",menuItemDescription:"pf-v6-c-menu__item-description",menuItemExternalIcon:"pf-v6-c-menu__item-external-icon",menuItemIcon:"pf-v6-c-menu__item-icon",menuItemMain:"pf-v6-c-menu__item-main",menuItemSelectIcon:"pf-v6-c-menu__item-select-icon",menuItemText:"pf-v6-c-menu__item-text",menuItemToggleIcon:"pf-v6-c-menu__item-toggle-icon",menuList:"pf-v6-c-menu__list",menuListItem:"pf-v6-c-menu__list-item",menuSearch:"pf-v6-c-menu__search",modifiers:{disabled:"pf-m-disabled",ariaDisabled:"pf-m-aria-disabled",flyout:"pf-m-flyout",left:"pf-m-left",drilldown:"pf-m-drilldown",drilledIn:"pf-m-drilled-in",currentPath:"pf-m-current-path",plain:"pf-m-plain",scrollable:"pf-m-scrollable",load:"pf-m-load",loading:"pf-m-loading",danger:"pf-m-danger",selected:"pf-m-selected",favorited:"pf-m-favorited"}},Gn={name:"AngleLeftIcon",height:512,width:256,svgPath:"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z",yOffset:0,xOffset:0},oo=at(Gn),so={divider:"pf-v6-c-divider",modifiers:{hidden:"pf-m-hidden",hiddenOnSm:"pf-m-hidden-on-sm",visibleOnSm:"pf-m-visible-on-sm",hiddenOnMd:"pf-m-hidden-on-md",visibleOnMd:"pf-m-visible-on-md",hiddenOnLg:"pf-m-hidden-on-lg",visibleOnLg:"pf-m-visible-on-lg",hiddenOnXl:"pf-m-hidden-on-xl",visibleOnXl:"pf-m-visible-on-xl",hiddenOn_2xl:"pf-m-hidden-on-2xl",visibleOn_2xl:"pf-m-visible-on-2xl",horizontal:"pf-m-horizontal",vertical:"pf-m-vertical",insetNone:"pf-m-inset-none",insetXs:"pf-m-inset-xs",insetSm:"pf-m-inset-sm",insetMd:"pf-m-inset-md",insetLg:"pf-m-inset-lg",insetXl:"pf-m-inset-xl",inset_2xl:"pf-m-inset-2xl",inset_3xl:"pf-m-inset-3xl",horizontalOnSm:"pf-m-horizontal-on-sm",verticalOnSm:"pf-m-vertical-on-sm",insetNoneOnSm:"pf-m-inset-none-on-sm",insetXsOnSm:"pf-m-inset-xs-on-sm",insetSmOnSm:"pf-m-inset-sm-on-sm",insetMdOnSm:"pf-m-inset-md-on-sm",insetLgOnSm:"pf-m-inset-lg-on-sm",insetXlOnSm:"pf-m-inset-xl-on-sm",inset_2xlOnSm:"pf-m-inset-2xl-on-sm",inset_3xlOnSm:"pf-m-inset-3xl-on-sm",horizontalOnMd:"pf-m-horizontal-on-md",verticalOnMd:"pf-m-vertical-on-md",insetNoneOnMd:"pf-m-inset-none-on-md",insetXsOnMd:"pf-m-inset-xs-on-md",insetSmOnMd:"pf-m-inset-sm-on-md",insetMdOnMd:"pf-m-inset-md-on-md",insetLgOnMd:"pf-m-inset-lg-on-md",insetXlOnMd:"pf-m-inset-xl-on-md",inset_2xlOnMd:"pf-m-inset-2xl-on-md",inset_3xlOnMd:"pf-m-inset-3xl-on-md",horizontalOnLg:"pf-m-horizontal-on-lg",verticalOnLg:"pf-m-vertical-on-lg",insetNoneOnLg:"pf-m-inset-none-on-lg",insetXsOnLg:"pf-m-inset-xs-on-lg",insetSmOnLg:"pf-m-inset-sm-on-lg",insetMdOnLg:"pf-m-inset-md-on-lg",insetLgOnLg:"pf-m-inset-lg-on-lg",insetXlOnLg:"pf-m-inset-xl-on-lg",inset_2xlOnLg:"pf-m-inset-2xl-on-lg",inset_3xlOnLg:"pf-m-inset-3xl-on-lg",horizontalOnXl:"pf-m-horizontal-on-xl",verticalOnXl:"pf-m-vertical-on-xl",insetNoneOnXl:"pf-m-inset-none-on-xl",insetXsOnXl:"pf-m-inset-xs-on-xl",insetSmOnXl:"pf-m-inset-sm-on-xl",insetMdOnXl:"pf-m-inset-md-on-xl",insetLgOnXl:"pf-m-inset-lg-on-xl",insetXlOnXl:"pf-m-inset-xl-on-xl",inset_2xlOnXl:"pf-m-inset-2xl-on-xl",inset_3xlOnXl:"pf-m-inset-3xl-on-xl",horizontalOn_2xl:"pf-m-horizontal-on-2xl",verticalOn_2xl:"pf-m-vertical-on-2xl",insetNoneOn_2xl:"pf-m-inset-none-on-2xl",insetXsOn_2xl:"pf-m-inset-xs-on-2xl",insetSmOn_2xl:"pf-m-inset-sm-on-2xl",insetMdOn_2xl:"pf-m-inset-md-on-2xl",insetLgOn_2xl:"pf-m-inset-lg-on-2xl",insetXlOn_2xl:"pf-m-inset-xl-on-2xl",inset_2xlOn_2xl:"pf-m-inset-2xl-on-2xl",inset_3xlOn_2xl:"pf-m-inset-3xl-on-2xl"}};export{to as A,Un as P,oo as a,Hn as b,so as d,eo as g,no as m,Xt as r,ct as u};
@@ -1 +0,0 @@
1
- /* empty css */const p={modifiers:{expanded:"pf-m-expanded",collapsed:"pf-m-collapsed",pageInsets:"pf-m-page-insets",contextSelector:"pf-m-context-selector",insetNone:"pf-m-inset-none",fill:"pf-m-fill",noFill:"pf-m-no-fill",limitWidth:"pf-m-limit-width",alignCenter:"pf-m-align-center",overflowScroll:"pf-m-overflow-scroll",shadowBottom:"pf-m-shadow-bottom",shadowTop:"pf-m-shadow-top",stickyTop:"pf-m-sticky-top",stickyBottom:"pf-m-sticky-bottom",stickyTopOnSmHeight:"pf-m-sticky-top-on-sm-height",stickyBottomOnSmHeight:"pf-m-sticky-bottom-on-sm-height",stickyTopOnMdHeight:"pf-m-sticky-top-on-md-height",stickyBottomOnMdHeight:"pf-m-sticky-bottom-on-md-height",stickyTopOnLgHeight:"pf-m-sticky-top-on-lg-height",stickyBottomOnLgHeight:"pf-m-sticky-bottom-on-lg-height",stickyTopOnXlHeight:"pf-m-sticky-top-on-xl-height",stickyBottomOnXlHeight:"pf-m-sticky-bottom-on-xl-height",stickyTopOn_2xlHeight:"pf-m-sticky-top-on-2xl-height",stickyBottomOn_2xlHeight:"pf-m-sticky-bottom-on-2xl-height",noSidebar:"pf-m-no-sidebar",secondary:"pf-m-secondary",padding:"pf-m-padding",noPadding:"pf-m-no-padding",paddingOnSm:"pf-m-padding-on-sm",noPaddingOnSm:"pf-m-no-padding-on-sm",paddingOnMd:"pf-m-padding-on-md",noPaddingOnMd:"pf-m-no-padding-on-md",paddingOnLg:"pf-m-padding-on-lg",noPaddingOnLg:"pf-m-no-padding-on-lg",paddingOnXl:"pf-m-padding-on-xl",noPaddingOnXl:"pf-m-no-padding-on-xl",paddingOn_2xl:"pf-m-padding-on-2xl",noPaddingOn_2xl:"pf-m-no-padding-on-2xl"},page:"pf-v6-c-page",pageDrawer:"pf-v6-c-page__drawer",pageMain:"pf-v6-c-page__main",pageMainBody:"pf-v6-c-page__main-body",pageMainBreadcrumb:"pf-v6-c-page__main-breadcrumb",pageMainContainer:"pf-v6-c-page__main-container",pageMainGroup:"pf-v6-c-page__main-group",pageMainSection:"pf-v6-c-page__main-section",pageMainSubnav:"pf-v6-c-page__main-subnav",pageMainTabs:"pf-v6-c-page__main-tabs",pageMainWizard:"pf-v6-c-page__main-wizard",pageSidebar:"pf-v6-c-page__sidebar",pageSidebarBody:"pf-v6-c-page__sidebar-body"};export{p as s};