@wordpress/widget-dashboard
Version:
Stateless rendering engine for widget dashboards: the WidgetDashboard compound component and its grid-settings kit.
21 lines (20 loc) • 765 B
JavaScript
;
Object.defineProperties(exports, {
__esModule: { value: true },
[Symbol.toStringTag]: { value: "Module" }
});
let ______types_ts = require("../../types.cjs");
let ___row_height_presets_index_ts = require("../row-height-presets/index.cjs");
// packages/widget-dashboard/src/utils/default-grid/default-grid.ts
/**
* Canonical default grid settings. Applied by the dashboard when the
* consumer omits `gridSettings`, and the baseline hosts should treat as
* the factory default when persisting their own copy.
*/
const DEFAULT_GRID = {
model: "grid",
columns: ______types_ts.WIDGET_DASHBOARD_COLUMN_STEPS,
rowHeight: ___row_height_presets_index_ts.DEFAULT_ROW_HEIGHT
};
exports.DEFAULT_GRID = DEFAULT_GRID;
//# sourceMappingURL=default-grid.cjs.map