UNPKG

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