1 | import { r as registerInstance, h, H as Host } from './core-98b1cff0.js';
|
2 | var Box = /** @class */ (function () {
|
3 | function Box(hostRef) {
|
4 | registerInstance(this, hostRef);
|
5 | /**
|
6 | * CSS classes
|
7 | */
|
8 | this.class = '';
|
9 | }
|
10 | Box.prototype.render = function () {
|
11 | var _a;
|
12 | return (h(Host, null, h("div", { class: (_a = {
|
13 | box: true
|
14 | },
|
15 | _a[this.class] = Boolean(this.class),
|
16 | _a) }, h("slot", null))));
|
17 | };
|
18 | Object.defineProperty(Box, "style", {
|
19 | get: function () { return ".box:not(:last-child){margin-bottom:1.5rem}.box{background-color:#fff;border-radius:6px;-webkit-box-shadow:0 .5em 1em -.125em rgba(10,10,10,.1),0 0 0 1px rgba(10,10,10,.02);box-shadow:0 .5em 1em -.125em rgba(10,10,10,.1),0 0 0 1px rgba(10,10,10,.02);color:#4a4a4a;display:block;padding:1.25rem}a.box:focus,a.box:hover{-webkit-box-shadow:0 .5em 1em -.125em rgba(10,10,10,.1),0 0 0 1px #5851ff;box-shadow:0 .5em 1em -.125em rgba(10,10,10,.1),0 0 0 1px #5851ff}a.box:active{-webkit-box-shadow:inset 0 1px 2px rgba(10,10,10,.2),0 0 0 1px #5851ff;box-shadow:inset 0 1px 2px rgba(10,10,10,.2),0 0 0 1px #5851ff}"; },
|
20 | enumerable: true,
|
21 | configurable: true
|
22 | });
|
23 | return Box;
|
24 | }());
|
25 | export { Box as bm_box };
|