1 | import { r as registerInstance, h, H as Host } from './core-98b1cff0.js';
|
2 | var Buttons = (function () {
|
3 | function Buttons(hostRef) {
|
4 | registerInstance(this, hostRef);
|
5 | |
6 |
|
7 |
|
8 | this.class = '';
|
9 | }
|
10 | Buttons.prototype.render = function () {
|
11 | var _a;
|
12 | return (h(Host, null, h("div", { class: (_a = {
|
13 | buttons: true
|
14 | },
|
15 | _a[this.size] = Boolean(this.size),
|
16 | _a[this.class] = Boolean(this.class),
|
17 | _a) }, h("slot", null))));
|
18 | };
|
19 | Object.defineProperty(Buttons, "style", {
|
20 | get: function () { return "bm-buttons bm-button:not(:last-child):not(.is-fullwidth){margin-right:.5rem}bm-buttons .buttons:last-child{margin-bottom:0}bm-buttons:last-child{margin-bottom:-.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}"; },
|
21 | enumerable: true,
|
22 | configurable: true
|
23 | });
|
24 | return Buttons;
|
25 | }());
|
26 | export { Buttons as bm_buttons };
|