@bulmil/core
Version:

26 lines (20 loc) • 1.08 kB
JavaScript
/*!
* Bulmil - MIT License
*/
;
Object.defineProperty(exports, '__esModule', { value: true });
const index = require('./index-965e612c.js');
const boxCss = ".box:not(:last-child){margin-bottom:1.5rem}.box{background-color:hsl(0, 0%, 100%);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:hsl(0, 0%, 29%);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}";
const BmBoxStyle0 = boxCss;
const Box = class {
constructor(hostRef) {
index.registerInstance(this, hostRef);
}
render() {
return (index.h(index.Host, { key: '15d4a74df47e2bc80124496464f05ef32a183aec' }, index.h("div", { key: '2ed36611ac99c561db00c8b919863b01fd76fe63', class: {
box: true,
} }, index.h("slot", { key: 'ca89f63e024a4aceecd7b804f54e036181f343c1' }))));
}
};
Box.style = BmBoxStyle0;
exports.bm_box = Box;