import{r as a,h as r}from"./p-b891c2f1.js";const o=class{constructor(r){a(this,r),this.label=""}render(){return r("fieldset",{part:"base",class:{"radio-group":!0},role:"radiogroup"},r("legend",{part:"label",class:"radio-group__label"},r("slot",{name:"label"},this.label)),r("slot",null))}};o.style=":host{display:block}.radio-group{border:none;padding:0;margin:0;min-width:0}.radio-group .radio-group__label{display:inline-block;padding:0;color:var(--sc-input-label-color);font-weight:var(--sc-input-label-font-weight);text-transform:var(--sc-input-label-text-transform, none);letter-spacing:var(--sc-input-label-letter-spacing, 0);margin-bottom:var(--sc-input-label-margin)}::slotted(sc-radio:not(:last-of-type)){display:block;margin-bottom:var(--sc-spacing-x-small) !important}";export{o as sc_radio_group}