UNPKG

940 BJavaScriptView Raw
1import { r as registerInstance, h, H as Host } from './core-98b1cff0.js';
2var Section = /** @class */ (function () {
3 function Section(hostRef) {
4 registerInstance(this, hostRef);
5 /**
6 * CSS Classes
7 */
8 this.class = '';
9 }
10 Section.prototype.render = function () {
11 var _a;
12 return (h(Host, { class: (_a = {
13 section: true
14 },
15 _a[this.size] = Boolean(this.size),
16 _a[this.class] = Boolean(this.class),
17 _a) }));
18 };
19 Object.defineProperty(Section, "style", {
20 get: function () { 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}"; },
21 enumerable: true,
22 configurable: true
23 });
24 return Section;
25}());
26export { Section as bm_section };