1 | 'use strict';
|
2 |
|
3 | Object.defineProperty(exports, '__esModule', { value: true });
|
4 |
|
5 | const index = require('./index-13dd6f26.js');
|
6 |
|
7 | 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}";
|
8 |
|
9 | const Tags = class {
|
10 | constructor(hostRef) {
|
11 | index.registerInstance(this, hostRef);
|
12 | |
13 |
|
14 |
|
15 | this.hasAddons = false;
|
16 | }
|
17 | render() {
|
18 | return (index.h("div", { class: {
|
19 | tags: true,
|
20 | 'has-addons': this.hasAddons,
|
21 | [this.size]: Boolean(this.size),
|
22 | } }, index.h("slot", null)));
|
23 | }
|
24 | };
|
25 | Tags.style = tagsCss;
|
26 |
|
27 | exports.bm_tags = Tags;
|