@sveltia/cms 0.145.1 → 0.146.0

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.145.1",
3
+ "version": "0.146.0",
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
@@ -2463,7 +2463,7 @@ export type EditorComponentDefinition = {
2463
2463
  */
2464
2464
  toPreview?: (props: {
2465
2465
  [key: string]: any;
2466
- }) => string | JSX.Element;
2466
+ }) => string | ReactElement;
2467
2467
  };
2468
2468
  /**
2469
2469
  * Supported event type.
@@ -2627,5 +2627,5 @@ export type CustomFieldPreviewProps = {
2627
2627
  export type CustomFieldSchema = {
2628
2628
  properties: Record<string, any>;
2629
2629
  };
2630
- import type { JSX } from 'react';
2630
+ import type { ReactElement } from 'react';
2631
2631
  import type { MapOf } from 'immutable';