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.
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+
3
+ declare const AlignMenuDrop: FC;
4
+ export default AlignMenuDrop;
@@ -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;
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+
3
+ interface CalendarProps {
4
+ selected?: Date;
5
+ onSelect?: (date: Date) => void;
6
+ className?: string;
7
+ }
8
+ export declare const Calendar: React.FC<CalendarProps>;
9
+ export {};
@@ -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;
@@ -17,6 +17,5 @@ declare const useBlockFormat: (props: UseBlockFormatProps) => {
17
17
  formatCheckList: () => void;
18
18
  formatNumberedList: () => void;
19
19
  formatQuote: () => void;
20
- formatCode: () => void;
21
20
  };
22
21
  export default useBlockFormat;
@@ -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-25cc2475.js";
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-fa4096e4.js.map
46128
+ //# sourceMappingURL=html2pdf.bundle-583538f8.js.map