@dosgato/templating 0.0.137 → 0.0.138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/uitemplate.d.ts +16 -2
- package/package.json +1 -1
package/dist/uitemplate.d.ts
CHANGED
|
@@ -111,8 +111,10 @@ export interface UITemplate extends UITemplateBase {
|
|
|
111
111
|
}
|
|
112
112
|
export interface UITemplateData extends UITemplateBase {
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
115
|
-
*
|
|
114
|
+
* Add extra columns between name and published status.
|
|
115
|
+
*
|
|
116
|
+
* Without configuration, only data entry name, published status, and modified info
|
|
117
|
+
* is shown in the list view.
|
|
116
118
|
*/
|
|
117
119
|
columns?: {
|
|
118
120
|
/**
|
|
@@ -131,6 +133,18 @@ export interface UITemplateData extends UITemplateBase {
|
|
|
131
133
|
* An icon for the cell in all regular rows (not the header).
|
|
132
134
|
*/
|
|
133
135
|
icon?: (data: DataData) => IconOrSVG;
|
|
136
|
+
/**
|
|
137
|
+
* Set a fixed width for this column
|
|
138
|
+
*
|
|
139
|
+
* For example, "50px", "12em", or "10vw"
|
|
140
|
+
*/
|
|
141
|
+
fixed?: string;
|
|
142
|
+
/**
|
|
143
|
+
* Set a dynamic width for this column as a ratio of the name column
|
|
144
|
+
*
|
|
145
|
+
* For example, 0.5 = half the name column, 2 = double the name column
|
|
146
|
+
*/
|
|
147
|
+
grow?: number;
|
|
134
148
|
}[];
|
|
135
149
|
}
|
|
136
150
|
/**
|