import{p as t,H as e,j as s,c as n,t as i}from"./index2.js";const r=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}get host(){return this}size="m";fontVariantNumeric="auto";render(){const{fontVariantNumeric:t}=this;return s(n,{part:"root",children:s("span",{class:"dds-text",style:function(){const e={};return((t,s,n="")=>{t&&(e[`--dds-text-${"font-variant-numeric"}${n}`]=t)})(t),e}(),part:"text",children:s("slot",{})})})}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 base {   :host .dds-text {     display: inline-block;     font: inherit;     text-box: trim-both cap alphabetic;     font-variant-numeric: var(--dds-text-font-variant-numeric, auto);      ::slotted(em) {       font-style: italic;     }      ::slotted(strong) {       font-weight: var(--dds-font-weight-bold);     }   } }   @layer reset, base; "}},[769,"dds-text",{size:[1025],fontVariantNumeric:[1,"font-variant-numeric"]}]),o=r,a=function(){"undefined"!=typeof customElements&&["dds-text"].forEach((t=>{"dds-text"===t&&(customElements.get(i(t))||customElements.define(i(t),r))}))};export{o as DdsText,a as defineCustomElement}