import{r as registerInstance,h,H as Host}from"./index-B2f84Zog.js";var pdsContainerCss=":host{display:block;margin-inline:auto;max-width:var(--pine-container-max-width, none);width:100%}:host(.pds-container--sm){--pine-container-max-width:340px}:host(.pds-container--md){--pine-container-max-width:520px}:host(.pds-container--lg){--pine-container-max-width:700px}:host(.pds-container--xl){--pine-container-max-width:1064px}:host(.pds-container--full){--pine-container-max-width:1440px}";var NAMED_SIZES=new Set(["sm","md","lg","xl","full"]);var PdsContainer=function(){function n(n){registerInstance(this,n);this.tag="div";this.centered=true}n.prototype.render=function(){var n;var t=this.tag;var e=this.size!==undefined&&NAMED_SIZES.has(this.size);var i=this.size!==undefined&&!e?this.size:undefined;var a={};if(i)a["--pine-container-max-width"]=i;if(!this.centered)a["margin-inline"]="0";return h(Host,{key:"b8055b9add2e9abfeaf61f233a0f22e559829eb2",class:(n={},n["pds-container--".concat(this.size)]=e,n),style:Object.keys(a).length?a:undefined},h(t,{key:"8aac62d1a6639063d10b8c51539ca0bc3ca0bae4",part:"container"},h("slot",{key:"747e55553b7660159ee9d0192ccb8ed29a99f0b0"})))};return n}();PdsContainer.style=pdsContainerCss;export{PdsContainer as pds_container};
//# sourceMappingURL=pds-container.entry.js.map