UNPKG

842 BJavaScriptView Raw
1import { r as registerInstance, h, H as Host } from './index-c5baf484.js';
2var sectionCss = ".section{padding:3rem 1.5rem}@media screen and (min-width: 1024px){.section.is-medium{padding:9rem 1.5rem}.section.is-large{padding:18rem 1.5rem}}bm-section{display:block}";
3var Section = /** @class */ (function () {
4 function Section(hostRef) {
5 registerInstance(this, hostRef);
6 /**
7 * CSS Classes
8 */
9 this.class = '';
10 }
11 Section.prototype.render = function () {
12 var _a;
13 return (h(Host, { class: (_a = {
14 section: true
15 },
16 _a[this.size] = Boolean(this.size),
17 _a[this.class] = Boolean(this.class),
18 _a) }));
19 };
20 return Section;
21}());
22Section.style = sectionCss;
23export { Section as bm_section };