UNPKG

1.53 kBJavaScriptView Raw
1System.register(['./index-2d970e03.system.js'], function (exports) {
2 'use strict';
3 var registerInstance, h, Host;
4 return {
5 setters: [function (module) {
6 registerInstance = module.r;
7 h = module.h;
8 Host = module.e;
9 }],
10 execute: function () {
11 var boxCss = ".box:not(:last-child){margin-bottom:1.5rem}.box{background-color:white;border-radius:6px;-webkit-box-shadow:0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02);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{-webkit-box-shadow:0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0 0 1px #5851ff;box-shadow:0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0 0 1px #5851ff}a.box:active{-webkit-box-shadow:inset 0 1px 2px rgba(10, 10, 10, 0.2), 0 0 0 1px #5851ff;box-shadow:inset 0 1px 2px rgba(10, 10, 10, 0.2), 0 0 0 1px #5851ff}";
12 var Box = exports('bm_box', /** @class */ (function () {
13 function class_1(hostRef) {
14 registerInstance(this, hostRef);
15 }
16 class_1.prototype.render = function () {
17 return (h(Host, null, h("div", { class: {
18 box: true,
19 } }, h("slot", null))));
20 };
21 return class_1;
22 }()));
23 Box.style = boxCss;
24 }
25 };
26});