UNPKG

@bulmil/core

Version:

![bulmil](https://user-images.githubusercontent.com/2362138/65766959-c721a080-e16f-11e9-9fb9-45a5a2ad0391.jpg)

27 lines (21 loc) 700 B
/*! * Bulmil - MIT License */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); const index = require('./index-04e42488.js'); const sectionCss = ".section{padding:3rem 1.5rem}@media screen and (min-width: 1024px){.section{padding:3rem 3rem}.section.is-medium{padding:9rem 4.5rem}.section.is-large{padding:18rem 6rem}}bm-section{display:block}"; const Section = class { constructor(hostRef) { index.registerInstance(this, hostRef); this.size = undefined; } render() { return (index.h(index.Host, { class: { section: true, [this.size]: Boolean(this.size), } })); } }; Section.style = sectionCss; exports.bm_section = Section;