@rufous/ui 0.1.90 → 0.1.91
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/dist/main.cjs +3 -1
- package/dist/main.d.cts +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +3 -1
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -49848,6 +49848,7 @@ var RufousTextEditor = ({
|
|
|
49848
49848
|
onSpeechToText,
|
|
49849
49849
|
onTextToSpeech,
|
|
49850
49850
|
onImageUpload,
|
|
49851
|
+
onClose,
|
|
49851
49852
|
mentions,
|
|
49852
49853
|
className,
|
|
49853
49854
|
style
|
|
@@ -50049,7 +50050,8 @@ var RufousTextEditor = ({
|
|
|
50049
50050
|
onTranslate,
|
|
50050
50051
|
onSpeechToText,
|
|
50051
50052
|
onTextToSpeech,
|
|
50052
|
-
onImageUpload
|
|
50053
|
+
onImageUpload,
|
|
50054
|
+
onClose
|
|
50053
50055
|
}
|
|
50054
50056
|
), /* @__PURE__ */ import_react60.default.createElement(import_react61.EditorContent, { editor, className: "editor-content-wrapper" }), /* @__PURE__ */ import_react60.default.createElement(ImageToolbar_default, { editor }), /* @__PURE__ */ import_react60.default.createElement(VideoToolbar_default, { editor }), /* @__PURE__ */ import_react60.default.createElement(SpellCheckTooltip, { editor }), /* @__PURE__ */ import_react60.default.createElement(
|
|
50055
50057
|
import_react61.BubbleMenu,
|
package/dist/main.d.cts
CHANGED
|
@@ -1688,6 +1688,7 @@ interface RufousTextEditorProps {
|
|
|
1688
1688
|
onSpeechToText?: (text: string) => Promise<string>;
|
|
1689
1689
|
onTextToSpeech?: (text: string, voice?: string) => Promise<string>;
|
|
1690
1690
|
onImageUpload?: (file: File) => Promise<string>;
|
|
1691
|
+
onClose?: () => void;
|
|
1691
1692
|
mentions?: Array<{
|
|
1692
1693
|
id: string;
|
|
1693
1694
|
name: string;
|
package/dist/main.d.ts
CHANGED
|
@@ -1688,6 +1688,7 @@ interface RufousTextEditorProps {
|
|
|
1688
1688
|
onSpeechToText?: (text: string) => Promise<string>;
|
|
1689
1689
|
onTextToSpeech?: (text: string, voice?: string) => Promise<string>;
|
|
1690
1690
|
onImageUpload?: (file: File) => Promise<string>;
|
|
1691
|
+
onClose?: () => void;
|
|
1691
1692
|
mentions?: Array<{
|
|
1692
1693
|
id: string;
|
|
1693
1694
|
name: string;
|
package/dist/main.js
CHANGED
|
@@ -21179,6 +21179,7 @@ var RufousTextEditor = ({
|
|
|
21179
21179
|
onSpeechToText,
|
|
21180
21180
|
onTextToSpeech,
|
|
21181
21181
|
onImageUpload,
|
|
21182
|
+
onClose,
|
|
21182
21183
|
mentions,
|
|
21183
21184
|
className,
|
|
21184
21185
|
style
|
|
@@ -21380,7 +21381,8 @@ var RufousTextEditor = ({
|
|
|
21380
21381
|
onTranslate,
|
|
21381
21382
|
onSpeechToText,
|
|
21382
21383
|
onTextToSpeech,
|
|
21383
|
-
onImageUpload
|
|
21384
|
+
onImageUpload,
|
|
21385
|
+
onClose
|
|
21384
21386
|
}
|
|
21385
21387
|
), /* @__PURE__ */ React117.createElement(EditorContent, { editor, className: "editor-content-wrapper" }), /* @__PURE__ */ React117.createElement(ImageToolbar_default, { editor }), /* @__PURE__ */ React117.createElement(VideoToolbar_default, { editor }), /* @__PURE__ */ React117.createElement(SpellCheckTooltip, { editor }), /* @__PURE__ */ React117.createElement(
|
|
21386
21388
|
BubbleMenu,
|