@mxmweb/rtext 1.0.3 → 1.0.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.
package/lib_enter.d.ts CHANGED
@@ -1,7 +1,9 @@
1
1
  export { default as UnifiedRichText } from './core/UnifiedRichText';
2
+ export { DataType } from './core/UnifiedRichText';
2
3
  export type { DataSource, UnifiedRichTextProps } from './core/UnifiedRichText';
3
4
  export type { CustomElement, CustomText, RichTextStyles, RichTextEvents, AdapterProps, MergedEventsEmit, MergedCustomizeComponents } from './core/types';
4
5
  export { serializeToMarkdown, serializeToHtml } from './core/converters/slateConverters';
5
6
  export { default as ChatMessageAdapter } from './adopters/ChatMessageAdapter';
6
7
  export { default as Markdownit } from './adopters/Markdownit';
8
+ export { default as PromptTempDesigner } from './adopters/PromptTempDesigner';
7
9
  export type { SegmentData, MarkdownitProps } from './adopters/Markdownit';
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "style": "assets/style.css",
6
6
  "types": "lib_enter.d.ts",
7
7
  "private": false,
8
- "version": "1.0.3",
8
+ "version": "1.0.8",
9
9
  "author": "hanfeng_Zhang",
10
10
  "type": "module",
11
11
  "scripts": {
@@ -13,7 +13,11 @@
13
13
  "disconnect": "yarn unlink"
14
14
  },
15
15
  "exports": {
16
- ".": "./index.js",
16
+ ".": {
17
+ "types": "./lib_enter.d.ts",
18
+ "import": "./index.js",
19
+ "default": "./index.js"
20
+ },
17
21
  "./style.css": "./assets/style.css"
18
22
  }
19
23
  }