UNPKG

@limetech/lime-elements

Version:
24 lines (18 loc) 907 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); const index = require('./index-174a078a.js'); const gridCss = ":host{display:block;position:relative}:host([hidden]){display:none}slot{display:grid;grid-template-areas:var(--lime-grid-area, \"\");grid-template-columns:repeat(var(--lime-grid-columns, 4), minmax(0, 1fr));gap:var(--lime-grid-gutter, 1rem);grid-auto-flow:row dense;grid-auto-rows:var(--lime-grid-cell-height, 2.5rem);margin:0;height:100%;width:100%}"; const Grid = class { constructor(hostRef) { index.registerInstance(this, hostRef); } componentWillLoad() { console.warn('limel-grid is deprecated, please use CSS instead: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout'); } render() { return index.h("slot", null); } }; Grid.style = gridCss; exports.limel_grid = Grid; //# sourceMappingURL=limel-grid.cjs.entry.js.map