1 | import { r as registerInstance, h } from './index-d9cbe763.js';
|
2 |
|
3 | const iconCss = ".icon{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;height:1.5rem;width:1.5rem}.icon.is-small{height:1rem;width:1rem}.icon.is-medium{height:2rem;width:2rem}.icon.is-large{height:3rem;width:3rem}";
|
4 |
|
5 | const Icon = class {
|
6 | constructor(hostRef) {
|
7 | registerInstance(this, hostRef);
|
8 | |
9 |
|
10 |
|
11 | this.class = '';
|
12 | }
|
13 | render() {
|
14 | return (h("span", { class: {
|
15 | icon: true,
|
16 | [this.color]: Boolean(this.color),
|
17 | [this.size]: Boolean(this.size),
|
18 | [this.class]: Boolean(this.class),
|
19 | } }, h("slot", null)));
|
20 | }
|
21 | };
|
22 | Icon.style = iconCss;
|
23 |
|
24 | export { Icon as bm_icon };
|