1 |
|
2 |
|
3 |
|
4 | import { r as registerInstance, h, H as Host } from './index-8f15c9d4.js';
|
5 |
|
6 | 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}";
|
7 |
|
8 | let Buttons = class {
|
9 | constructor(hostRef) {
|
10 | registerInstance(this, hostRef);
|
11 | }
|
12 | render() {
|
13 | return (h(Host, null, h("div", { class: {
|
14 | buttons: true,
|
15 | [this.size]: Boolean(this.size),
|
16 | } }, h("slot", null))));
|
17 | }
|
18 | };
|
19 | Buttons.style = buttonsCss;
|
20 |
|
21 | export { Buttons as bm_buttons };
|