1 | 'use strict';
|
2 |
|
3 | Object.defineProperty(exports, '__esModule', { value: true });
|
4 |
|
5 | const index = require('./index-8e7d875f.js');
|
6 |
|
7 | const 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}";
|
8 |
|
9 | const Buttons = class {
|
10 | constructor(hostRef) {
|
11 | index.registerInstance(this, hostRef);
|
12 | }
|
13 | render() {
|
14 | return (index.h(index.Host, null, index.h("div", { class: {
|
15 | buttons: true,
|
16 | [this.size]: Boolean(this.size),
|
17 | } }, index.h("slot", null))));
|
18 | }
|
19 | };
|
20 | Buttons.style = buttonsCss;
|
21 |
|
22 | exports.bm_buttons = Buttons;
|