UNPKG

704 BJavaScriptView Raw
1import { r as registerInstance, h, H as Host } from './index-782164d0.js';
2
3const 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}";
4
5class Section {
6 constructor(hostRef) {
7 registerInstance(this, hostRef);
8 /**
9 * CSS Classes
10 */
11 this.class = '';
12 }
13 render() {
14 return (h(Host, { class: {
15 section: true,
16 [this.size]: Boolean(this.size),
17 [this.class]: Boolean(this.class),
18 } }));
19 }
20}
21Section.style = sectionCss;
22
23export { Section as bm_section };