bulmil
Version:

34 lines (33 loc) • 1.66 kB
JavaScript
System.register(['./index-0812a769.system.js'], function (exports) {
'use strict';
var registerInstance, h;
return {
setters: [function (module) {
registerInstance = module.r;
h = module.h;
}],
execute: function () {
var tagsCss = "bm-tags bm-tag:not(:last-child) .tag{margin-right:0.5rem}bm-tags:last-child{margin-bottom:-0.5rem}bm-tags:not(:last-child){margin-bottom:1rem}bm-tags .tags.is-right bm-tag:not(:first-child) .tag{margin-left:0.5rem}bm-tags .tags.is-right bm-tag:not(:last-child) .tag{margin-right:0}bm-tags .tags.has-addons bm-tag:not(:first-child) .tag{margin-left:0;border-bottom-left-radius:0;border-top-left-radius:0}bm-tags .tags.has-addons bm-tag:not(:last-child) .tag{border-bottom-right-radius:0;border-top-right-radius:0}";
var Tags = exports('bm_tags', /** @class */ (function () {
function class_1(hostRef) {
registerInstance(this, hostRef);
/**
* Has addons
*/
this.hasAddons = false;
}
class_1.prototype.render = function () {
var _a;
return (h("div", { class: (_a = {
tags: true,
'has-addons': this.hasAddons
},
_a[this.size] = Boolean(this.size),
_a) }, h("slot", null)));
};
return class_1;
}()));
Tags.style = tagsCss;
}
};
});