ct-rich-text-editor 1.2.7 → 1.2.9
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/README.md +217 -217
- package/dist/Provider/EditorProvider.d.ts +1 -0
- package/dist/assets/style.css +4058 -3692
- package/dist/components/AlignMenu/AlignMenuDrop.d.ts +4 -0
- package/dist/components/DatePicker/DatePickerWidget.d.ts +9 -0
- package/dist/components/InsertMenu/InsertMenuDrop.d.ts +10 -0
- package/dist/components/ui/calendar.d.ts +9 -0
- package/dist/context/ToolbarContext.d.ts +1 -0
- package/dist/hooks/useBlockFormat.d.ts +0 -1
- package/dist/hooks/useS3Uploader.d.ts +1 -1
- package/dist/hooks/useVoiceToText.d.ts +11 -0
- package/dist/{html2pdf.bundle-fa4096e4.js → html2pdf.bundle-583538f8.js} +2 -2
- package/dist/{html2pdf.bundle-fa4096e4.js.map → html2pdf.bundle-583538f8.js.map} +1 -1
- package/dist/{html2pdf.bundle.min-35b40dde.js → html2pdf.bundle.min-bc7d5952.js} +2 -2
- package/dist/{html2pdf.bundle.min-35b40dde.js.map → html2pdf.bundle.min-bc7d5952.js.map} +1 -1
- package/dist/{index-2ca32ea9.js → index-91238d37.js} +2 -2
- package/dist/index-91238d37.js.map +1 -0
- package/dist/{index-25cc2475.js → index-9d28aec6.js} +14244 -14170
- package/dist/index-9d28aec6.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/pcm-processor.js +3 -2
- package/dist/plugins/AIChatPlugin.d.ts +1 -2
- package/dist/plugins/CommentBubblePlugin.d.ts +4 -0
- package/dist/types.d.ts +5 -2
- package/dist/utils/dateFormats.d.ts +33 -0
- package/package.json +126 -126
- package/dist/index-25cc2475.js.map +0 -1
- package/dist/index-2ca32ea9.js.map +0 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { LexicalEditor } from '../../../node_modules/lexical';
|
|
3
|
+
|
|
4
|
+
interface DatePickerWidgetProps {
|
|
5
|
+
editor: LexicalEditor;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const DatePickerWidget: React.FC<DatePickerWidgetProps>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export type ModalState = {
|
|
4
|
+
show: (renderModal: (onClose: () => void) => ReactNode) => void;
|
|
5
|
+
hide: () => void;
|
|
6
|
+
activeModal: ReactNode | null;
|
|
7
|
+
};
|
|
8
|
+
export declare const useModal: () => ModalState;
|
|
9
|
+
declare const InsertMenuDrop: FC;
|
|
10
|
+
export default InsertMenuDrop;
|
|
@@ -42,6 +42,7 @@ declare const INITIAL_TOOLBAR_STATE: {
|
|
|
42
42
|
isUnderline: boolean;
|
|
43
43
|
rootType: "table" | "root";
|
|
44
44
|
isAutocompleteEnabled: boolean;
|
|
45
|
+
isGrammarCheckEnabled: boolean;
|
|
45
46
|
};
|
|
46
47
|
type ToolbarState = typeof INITIAL_TOOLBAR_STATE;
|
|
47
48
|
type ToolbarStateKey = keyof ToolbarState;
|
|
@@ -4,7 +4,7 @@ interface UploadProgress {
|
|
|
4
4
|
uploadedUrl: string | null;
|
|
5
5
|
error: Error | null;
|
|
6
6
|
}
|
|
7
|
-
export declare const useS3Uploader: () => UploadProgress & {
|
|
7
|
+
export declare const useS3Uploader: (apiKey?: string) => UploadProgress & {
|
|
8
8
|
uploadFileToS3: (file: File) => Promise<string>;
|
|
9
9
|
resetUpload: () => void;
|
|
10
10
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface UseVoiceToTextProps {
|
|
2
|
+
onTranscriptUpdate: (text: string) => void;
|
|
3
|
+
}
|
|
4
|
+
export declare const useVoiceToText: ({ onTranscriptUpdate }: UseVoiceToTextProps) => {
|
|
5
|
+
isRecording: boolean;
|
|
6
|
+
isLoading: boolean;
|
|
7
|
+
error: string | null;
|
|
8
|
+
isConnected: boolean;
|
|
9
|
+
toggleRecording: () => void;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4
4
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
|
-
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-
|
|
7
|
+
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-9d28aec6.js";
|
|
8
8
|
function _mergeNamespaces(n, m) {
|
|
9
9
|
for (var i = 0; i < m.length; i++) {
|
|
10
10
|
const e = m[i];
|
|
@@ -46125,4 +46125,4 @@ const html2pdf_bundle$1 = /* @__PURE__ */ _mergeNamespaces({
|
|
|
46125
46125
|
export {
|
|
46126
46126
|
html2pdf_bundle$1 as h
|
|
46127
46127
|
};
|
|
46128
|
-
//# sourceMappingURL=html2pdf.bundle-
|
|
46128
|
+
//# sourceMappingURL=html2pdf.bundle-583538f8.js.map
|