1 | import { r as registerInstance, h } from './index-c5baf484.js';
|
2 | var 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}";
|
3 | var Icon = (function () {
|
4 | function Icon(hostRef) {
|
5 | registerInstance(this, hostRef);
|
6 | |
7 |
|
8 |
|
9 | this.class = '';
|
10 | }
|
11 | Icon.prototype.render = function () {
|
12 | var _a;
|
13 | return (h("span", { class: (_a = {
|
14 | icon: true
|
15 | },
|
16 | _a[this.color] = Boolean(this.color),
|
17 | _a[this.size] = Boolean(this.size),
|
18 | _a[this.class] = Boolean(this.class),
|
19 | _a) }, h("slot", null)));
|
20 | };
|
21 | return Icon;
|
22 | }());
|
23 | Icon.style = iconCss;
|
24 | export { Icon as bm_icon };
|