1 | import { r as registerInstance, h, H as Host } from './index-c5baf484.js';
|
2 | var buttonsCss = "bm-buttons bm-button:not(:last-child):not(.is-fullwidth){margin-right:0.5rem}bm-buttons .buttons:last-child{margin-bottom:initial}bm-buttons:last-child{margin-bottom:-0.5rem}bm-buttons:not(:last-child){margin-bottom:1rem}bm-buttons .buttons.has-addons bm-button:not(:first-child) .button{border-bottom-left-radius:0;border-top-left-radius:0}bm-buttons .buttons.has-addons bm-button:not(:last-child) .button{border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}bm-buttons .buttons.has-addons bm-button:last-child .button{margin-right:0}";
|
3 | var Buttons = (function () {
|
4 | function Buttons(hostRef) {
|
5 | registerInstance(this, hostRef);
|
6 | |
7 |
|
8 |
|
9 | this.class = '';
|
10 | }
|
11 | Buttons.prototype.render = function () {
|
12 | var _a;
|
13 | return (h(Host, null, h("div", { class: (_a = {
|
14 | buttons: true
|
15 | },
|
16 | _a[this.size] = Boolean(this.size),
|
17 | _a[this.class] = Boolean(this.class),
|
18 | _a) }, h("slot", null))));
|
19 | };
|
20 | return Buttons;
|
21 | }());
|
22 | Buttons.style = buttonsCss;
|
23 | export { Buttons as bm_buttons };
|