import{p as e,H as a,j as s,c as t,t as r}from"./index2.js";const i=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}get el(){return this}size="m";render(){const{size:e}=this;return s(t,{size:e,children:s("p",{class:"dds-paragraph",children:s("slot",{},"6a76dea914e9762ca022babfe86dfee14c94e69c")},"2b0ab81e224d64ac0823fa533208adadb6d483de")},"b722758927e08cf81c1ef098038f5d7f505efcc4")}static get style(){return'@layer reset, base, variants, states, sizes;  @layer reset {   :host {     display: contents;     -moz-text-size-adjust: none;     -webkit-text-size-adjust: none;     text-size-adjust: none;     font-family: var(--dds-font-family-sans);     font-feature-settings: var(--dds-font-features-sans);     text-rendering: optimizeLegibility;     -webkit-font-smoothing: antialiased;      *,     *::after,     *::before,     *::backdrop,     *::file-selector-button {       box-sizing: border-box;       margin: 0;       padding: 0;       min-inline-size: 0;       min-block-size: 0;     }      * {       scrollbar-width: thin;       scrollbar-color: color-mix(gray 50%, transparent);     }      *:focus-visible {       z-index: 1;     }      > * {       interpolate-size: allow-keywords;       -webkit-tap-highlight-color: transparent;     }   } } @layer reset,base,sizes; @layer base{:host .dds-paragraph{text-box:trim-both cap alphabetic;font:var(--dds-paragraph-type);text-wrap:pretty;overflow-wrap:break-word}}@layer sizes{:host([size="2xs"]){--dds-paragraph-type:var(--dds-paragraph-type-2xs)}:host([size="xs"]){--dds-paragraph-type:var(--dds-paragraph-type-xs)}:host([size="s"]){--dds-paragraph-type:var(--dds-paragraph-type-s)}:host([size="m"]){--dds-paragraph-type:var(--dds-paragraph-type-m)}:host([size="l"]){--dds-paragraph-type:var(--dds-paragraph-type-l)}}'}},[769,"dds-paragraph",{size:[1025]}]),d=i,p=function(){"undefined"!=typeof customElements&&["dds-paragraph"].forEach((e=>{"dds-paragraph"===e&&(customElements.get(r(e))||customElements.define(r(e),i))}))};export{d as DdsParagraph,p as defineCustomElement}