UNPKG

@bulmil/core

Version:

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

24 lines (20 loc) 1.25 kB
/*! * Bulmil - MIT License */ import { r as registerInstance, h, H as Host } from './index-01625c18.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 BmButtonsStyle0 = buttonsCss; const Buttons = class { constructor(hostRef) { registerInstance(this, hostRef); this.size = undefined; } render() { return (h(Host, { key: '0b46a22c53db37ad1042339560f832796b5015de' }, h("div", { key: 'a9e10ff1783a1560d7bdac0dfddd2f5094d77c9d', class: { buttons: true, [this.size]: Boolean(this.size), } }, h("slot", { key: 'cd4290f5f4ff1a56b586e2a9a21c99695f5f0c36' })))); } }; Buttons.style = BmButtonsStyle0; export { Buttons as bm_buttons };