import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";import{d as defineCustomElement$2}from"./sc-tag2.js";const scBadgeNoticeCss=":host{display:block}.notice{background:var(--sc-badge-notice-background-color, var(--sc-color-white));color:var(--sc-badge-notice-text-color, var(--sc-color-gray-950));border:solid 1px var(--sc-badge-notice-border-color, var(--sc-color-white));border-radius:var(--sc-border-radius-small);padding:var(--sc-spacing-small);font-size:var(--sc-font-size-x-small);display:flex;gap:0.5em;line-height:1}.notice--warning{background:var(--sc-color-warning-50);color:var(--sc-color-warning-700)}",ScBadgeNoticeStyle0=scBadgeNoticeCss,ScBadgeNotice$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.type="primary",this.label=void 0,this.size="small"}render(){return h("div",{key:"ed74a4faff37f0378a6e57b43ac47784998e2a41",class:{notice:!0,"notice--is-small":"small"===this.size,"notice--is-medium":"medium"===this.size,"notice--is-large":"large"===this.size,"notice--primary":"primary"===this.type,"notice--success":"success"===this.type,"notice--warning":"warning"===this.type,"notice--danger":"danger"===this.type,"notice--default":"default"===this.type}},h("sc-tag",{key:"d9f1e8901320617807c03771366f9f7c9d5846c3",size:this.size,type:this.type},this.label),h("slot",{key:"5e47a9eac5db6d302f2c0f6f1cda019be2a853d3"}))}static get style(){return ScBadgeNoticeStyle0}},[1,"sc-badge-notice",{type:[1],label:[1],size:[1]}]);function defineCustomElement$1(){"undefined"!=typeof customElements&&["sc-badge-notice","sc-tag"].forEach((e=>{switch(e){case"sc-badge-notice":customElements.get(e)||customElements.define(e,ScBadgeNotice$1);break;case"sc-tag":customElements.get(e)||defineCustomElement$2()}}))}const ScBadgeNotice=ScBadgeNotice$1,defineCustomElement=defineCustomElement$1;export{ScBadgeNotice,defineCustomElement};