import{p as s,H as d,j as i,c as t,t as a}from"./index2.js";const e=s(class extends d{constructor(s){super(),!1!==s&&this.__registerHost(),this.__attachShadow()}get host(){return this}columns;tag="div";validateTag(s){["article","aside","div","dl","main","nav","ol","section","ul"].includes(s)||(this.tag="div")}alignment;display="grid";componentWillLoad(){this.tag&&this.validateTag(this.tag)}render(){return i(t,{display:this.display,children:i(this.tag||"div",{class:"dds-grid",children:i("slot",{},"a1611b784de5cad4bfe3e439c22cbc41fb62b38b")},"4d0453998451055fba248020f72fa8c1ec5e58a4")},"c86f234d73413f61385324e2a9cb163adaf3b705")}static get watchers(){return{tag:[{validateTag:0}]}}static get style(){return'@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}}'}},[769,"dds-grid",{columns:[1],tag:[1025],alignment:[1],display:[1]},void 0,{tag:[{validateTag:0}]}]),r=e,l=function(){"undefined"!=typeof customElements&&["dds-grid"].forEach((s=>{"dds-grid"===s&&(customElements.get(a(s))||customElements.define(a(s),e))}))};export{r as DdsGrid,l as defineCustomElement}