UNPKG

1.23 kBJavaScriptView Raw
1/*!
2 * Bulmil - MIT License
3 */
4import { r as registerInstance, h, H as Host } from './index-8f15c9d4.js';
5
6const containerCss = ".container{-ms-flex-positive:1;flex-grow:1;margin:0 auto;position:relative;width:auto}.container.is-fluid{max-width:none !important;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:not(.is-max-desktop){max-width:1152px}}@media screen and (max-width: 1407px){.container.is-fullhd:not(.is-max-desktop):not(.is-max-widescreen){max-width:1344px}}@media screen and (min-width: 1216px){.container:not(.is-max-desktop){max-width:1152px}}@media screen and (min-width: 1408px){.container:not(.is-max-desktop):not(.is-max-widescreen){max-width:1344px}}bm-container{display:block}";
7
8let Container = class {
9 constructor(hostRef) {
10 registerInstance(this, hostRef);
11 /**
12 * Fluid container
13 */
14 this.isFluid = false;
15 }
16 render() {
17 return (h(Host, { class: {
18 container: true,
19 'is-fluid': this.isFluid,
20 [this.breakpoint]: Boolean(this.breakpoint),
21 } }));
22 }
23};
24Container.style = containerCss;
25
26export { Container as bm_container };