UNPKG

768 BJavaScriptView Raw
1'use strict';
2
3Object.defineProperty(exports, '__esModule', { value: true });
4
5const index = require('./index-849db034.js');
6
7const 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}";
8
9class Section {
10 constructor(hostRef) {
11 index.registerInstance(this, hostRef);
12 /**
13 * CSS Classes
14 */
15 this.class = '';
16 }
17 render() {
18 return (index.h(index.Host, { class: {
19 section: true,
20 [this.size]: Boolean(this.size),
21 [this.class]: Boolean(this.class),
22 } }));
23 }
24}
25Section.style = sectionCss;
26
27exports.bm_section = Section;