@sveltia/cms 0.128.0 → 0.128.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltia/cms",
3
- "version": "0.128.0",
3
+ "version": "0.128.1",
4
4
  "description": "Sveltia CMS is a modern, lightweight, Git-based headless content management system.",
5
5
  "keywords": [
6
6
  "cms",
package/types/public.d.ts CHANGED
@@ -2336,10 +2336,10 @@ export type EditorComponentDefinition = {
2336
2336
  [key: string]: any;
2337
2337
  }) => string;
2338
2338
  /**
2339
- * Function to convert
2340
- * field properties to field preview.
2339
+ * Function to
2340
+ * convert field properties to field preview.
2341
2341
  */
2342
- toPreview: (props: {
2342
+ toPreview?: (props: {
2343
2343
  [key: string]: any;
2344
2344
  }) => string | JSX.Element;
2345
2345
  };