UNPKG

1.3 kBJavaScriptView Raw
1'use strict';
2
3Object.defineProperty(exports, '__esModule', { value: true });
4
5const index = require('./index-849db034.js');
6
7const containerCss = ".container{-ms-flex-positive:1;flex-grow:1;margin:0 auto;position:relative;width:auto}.container.is-fluid{max-width:none;padding-left:32px;padding-right:32px;width:100%}@media screen and (min-width: 1024px){.container{max-width:960px}}@media screen and (max-width: 1215px){.container.is-widescreen{max-width:1152px}}@media screen and (max-width: 1407px){.container.is-fullhd{max-width:1344px}}@media screen and (min-width: 1216px){.container{max-width:1152px}}@media screen and (min-width: 1408px){.container{max-width:1344px}}bm-container{display:block}";
8
9class Container {
10 constructor(hostRef) {
11 index.registerInstance(this, hostRef);
12 /**
13 * CSS Classes
14 */
15 this.class = '';
16 /**
17 * Fluid container
18 */
19 this.isFluid = false;
20 }
21 render() {
22 return (index.h(index.Host, { class: {
23 container: true,
24 'is-fluid': this.isFluid,
25 [this.breakpoint]: Boolean(this.breakpoint),
26 [this.class]: Boolean(this.class),
27 } }));
28 }
29}
30Container.style = containerCss;
31
32exports.bm_container = Container;