import { r as registerInstance, h } from './index-f1d2a96f.js';

const scEmptyCss = ":host{display:block}.empty{display:flex;flex-direction:column;align-items:center;padding:var(--sc-spacing-large);text-align:center;gap:var(--sc-spacing-x-small);color:var(--sc-color-gray-500)}.empty sc-icon{font-size:var(--sc-font-size-xx-large);color:var(--sc-color-gray-700)}";

const ScEmpty = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
  }
  render() {
    return (h("div", { class: "empty" }, !!this.icon && h("sc-icon", { name: this.icon }), h("slot", null)));
  }
};
ScEmpty.style = scEmptyCss;

export { ScEmpty as sc_empty };
