@dosgato/templating
Advanced tools
Comparing version 0.0.137 to 0.0.138
@@ -114,4 +114,6 @@ import type { ComponentData, DataData, PageData, DataRecord } from './component.js'; | ||
/** | ||
* Without configuration, only data entry names and modified dates are shown | ||
* in the list view. Use this to configure your own set of columns. | ||
* Add extra columns between name and published status. | ||
* | ||
* Without configuration, only data entry name, published status, and modified info | ||
* is shown in the list view. | ||
*/ | ||
@@ -135,2 +137,14 @@ columns?: { | ||
icon?: (data: DataData) => IconOrSVG; | ||
/** | ||
* Set a fixed width for this column | ||
* | ||
* For example, "50px", "12em", or "10vw" | ||
*/ | ||
fixed?: string; | ||
/** | ||
* Set a dynamic width for this column as a ratio of the name column | ||
* | ||
* For example, 0.5 = half the name column, 2 = double the name column | ||
*/ | ||
grow?: number; | ||
}[]; | ||
@@ -137,0 +151,0 @@ } |
{ | ||
"name": "@dosgato/templating", | ||
"version": "0.0.137", | ||
"version": "0.0.138", | ||
"description": "A library to support building templates for dosgato CMS.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
112982
2463