import{r as d,g as i,j as s,H as a}from"./index-C7YNCRgy.js";const t=class{constructor(i){d(this,i)}get host(){return i(this)}columns;tag="div";validateTag(d){["article","aside","div","dl","main","nav","ol","section","ul"].includes(d)||(this.tag="div")}alignment;display="grid";componentWillLoad(){this.tag&&this.validateTag(this.tag)}render(){return s(a,{display:this.display,children:s(this.tag||"div",{class:"dds-grid",children:s("slot",{},"a1611b784de5cad4bfe3e439c22cbc41fb62b38b")},"4d0453998451055fba248020f72fa8c1ec5e58a4")},"c86f234d73413f61385324e2a9cb163adaf3b705")}static get watchers(){return{tag:[{validateTag:0}]}}};t.style='@layer reset,base,variants; @layer base{:host .dds-grid{display:var(--dds-grid-display)}}@layer display{:host([display="grid"]){--dds-grid-display:grid}:host([display="inline"]){--dds-grid-display:inline-grid}}';export{t as dds_grid}