@dosgato/templating
Advanced tools
Comparing version 0.0.141 to 0.0.142
@@ -150,10 +150,13 @@ import type { ComponentData, DataData, PageData, DataRecord } from './component.js'; | ||
/** | ||
* If you provide custom columns and one of them is the computeName source for this | ||
* template, it may be preferred to show the computeName source (e.g. title) instead of | ||
* showing the name in the data tree. | ||
* It may be preferred to show the computeName source (e.g. title) instead of | ||
* showing the computed name itself in the leftmost column of the data tree. | ||
* | ||
* Set this to true to hide the name column. The name will then be placed inside | ||
* the dialog in case the user needs to reference it. | ||
* Provide this option to control the name column. Everything is optional in | ||
* case, for example, you only want to control the icon. | ||
*/ | ||
hideName?: boolean; | ||
nameColumn?: { | ||
title?: string; | ||
icon?: (data: DataData) => IconOrSVG | undefined; | ||
get?: string | ((data: DataRecord) => string); | ||
}; | ||
} | ||
@@ -160,0 +163,0 @@ /** |
{ | ||
"name": "@dosgato/templating", | ||
"version": "0.0.141", | ||
"version": "0.0.142", | ||
"description": "A library to support building templates for dosgato CMS.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
113637
2478