UNPKG

776 BJavaScriptView Raw
1/*!
2 * Bulmil - MIT License
3 */
4import { r as registerInstance, h, H as Host } from './index-8f15c9d4.js';
5
6const boxCss = ".box:not(:last-child){margin-bottom:1.5rem}.box{background-color:white;border-radius:6px;box-shadow:0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02);color:#4a4a4a;display:block;padding:1.25rem}a.box:hover,a.box:focus{box-shadow:0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0 0 1px #5851ff}a.box:active{box-shadow:inset 0 1px 2px rgba(10, 10, 10, 0.2), 0 0 0 1px #5851ff}";
7
8let Box = class {
9 constructor(hostRef) {
10 registerInstance(this, hostRef);
11 }
12 render() {
13 return (h(Host, null, h("div", { class: {
14 box: true,
15 } }, h("slot", null))));
16 }
17};
18Box.style = boxCss;
19
20export { Box as bm_box };