UNPKG

bulmil

Version:

![bulmil](https://user-images.githubusercontent.com/2362138/65766959-c721a080-e16f-11e9-9fb9-45a5a2ad0391.jpg)

19 lines (15 loc) 1.01 kB
import { r as registerInstance, h, e as Host } from './index-75c52ae9.js'; 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}"; const Buttons = class { constructor(hostRef) { registerInstance(this, hostRef); } render() { return (h(Host, null, h("div", { class: { buttons: true, [this.size]: Boolean(this.size), } }, h("slot", null)))); } }; Buttons.style = buttonsCss; export { Buttons as bm_buttons };