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