1 | System.register(['./index-c6ef8482.system.js'], function (exports) {
|
2 | 'use strict';
|
3 | var registerInstance, h;
|
4 | return {
|
5 | setters: [function (module) {
|
6 | registerInstance = module.r;
|
7 | h = module.h;
|
8 | }],
|
9 | execute: function () {
|
10 | 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}";
|
11 | var Icon = exports('bm_icon', (function () {
|
12 | function class_1(hostRef) {
|
13 | registerInstance(this, hostRef);
|
14 | }
|
15 | class_1.prototype.render = function () {
|
16 | var _a;
|
17 | return (h("span", { class: (_a = {
|
18 | icon: true
|
19 | },
|
20 | _a[this.color] = Boolean(this.color),
|
21 | _a[this.size] = Boolean(this.size),
|
22 | _a) }, h("slot", null)));
|
23 | };
|
24 | return class_1;
|
25 | }()));
|
26 | Icon.style = iconCss;
|
27 | }
|
28 | };
|
29 | });
|