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