zs_library 0.7.7 → 0.7.8

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.
@@ -31,5 +31,5 @@ export type { DesktopIconContainerProps as DockDesktopItemProps } from './dock/d
31
31
  export type { MobileIconContainerProps as DockMobileItemProps } from './dock/dock-mobile';
32
32
  export { default as GeoMap } from './map-view';
33
33
  export type { GeoMapProps } from './map-view';
34
- export { default as SimpleEditor, SimpleEditorRender, useSimpleEditor, jsonToHtml, htmlToJson, EditorFormatConverter, } from './tiptap-editor/simple';
35
- export type { SimpleEditorProps, SimpleEditorRenderProps, SimpleEditorFeatures, EditorOutputFormat, UseSimpleEditorProps, JSONContent, } from './tiptap-editor/simple';
34
+ export { default as SimpleEditor, SimpleEditorViewer, useSimpleEditor, jsonToHtml, htmlToJson, EditorFormatConverter, } from './tiptap-editor/simple';
35
+ export type { SimpleEditorProps, SimpleEditorViewerProps, SimpleEditorFeatures, EditorOutputFormat, UseSimpleEditorProps, JSONContent, } from './tiptap-editor/simple';
@@ -28,7 +28,7 @@ import { SimpleEditor } from './simple-editor';
28
28
  */
29
29
  export * from './simple-editor';
30
30
  export * from './use-simple-editor';
31
- export * from './simple-editor-render';
31
+ export * from './simple-editor-viewer';
32
32
  export * from './lib/feature-utils';
33
33
  export * from './lib/format-utils';
34
34
  export type { JSONContent } from '@tiptap/react';
@@ -0,0 +1,8 @@
1
+ import { JSONContent } from '@tiptap/react';
2
+ export interface SimpleEditorViewerProps {
3
+ value: string | JSONContent;
4
+ className?: string;
5
+ sanitize?: boolean;
6
+ theme?: "light" | "dark";
7
+ }
8
+ export declare function SimpleEditorViewer({ value, className, sanitize, theme }: SimpleEditorViewerProps): import("react/jsx-runtime").JSX.Element;