import { r as l, h as i, H as r } from "./index.61732cef.js";
import "react";
import "react-dom";
const s = () => ':host{display:block}:host *{box-sizing:border-box}.swirl-list{line-height:var(--s-line-height-base)}.swirl-list ul,.swirl-list ol{margin:0;padding:0;list-style-position:outside;list-style-type:none}.swirl-list ul li{padding-left:1.5rem}.swirl-list ul li:before{display:inline-block;width:1.5rem;margin-left:-1.5rem;text-align:center;content:"\u2022"}.swirl-list ol{counter-reset:item}.swirl-list ol ol{counter-reset:letter}.swirl-list ol ol li:before{content:counter(letter, lower-alpha) ".";counter-increment:letter}.swirl-list ol li{padding-left:1.5rem}.swirl-list ol li:before{display:inline-block;min-width:1.5rem;margin-left:-1.5rem;padding-right:var(--s-space-8);text-align:right;content:counter(item) ".";counter-increment:item;font-variant-numeric:tabular-nums}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.swirl-list{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}', n = class {
  constructor(e) {
    l(this, e);
  }
  componentDidRender() {
    Array.from(this.containerEl.children).some((t) => !["UL", "OL"].includes(t.tagName)) && console.warn("[SwirlList] Only ul and ol elements are allowed as direct children of <swirl-list />.");
  }
  render() {
    return i(r, { key: "5be33a09bab61304af2b835bca2517b4716f0d1d" }, i("div", { key: "535c6d87df5f87a030bd670ba8dc0aaf4f9ef142", class: "swirl-list", ref: (e) => this.containerEl = e }, i("slot", { key: "7383c09e1bed12687dea831f22f81fd38eba4f16" })));
  }
};
n.style = s();
export {
  n as swirl_list
};
