eddyter 1.3.71 → 1.3.73
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/assets/style.css +1 -1
- package/dist/components/ConfigurableEditorWithAuth.d.ts +7 -0
- package/dist/{html2pdf.bundle-Bptnpoce.js → html2pdf.bundle-CQue4YDW.js} +1 -1
- package/dist/{html2pdf.bundle.min-CL0HFz_I.js → html2pdf.bundle.min-BEj2NT3U.js} +1 -1
- package/dist/{index-aoU-Zn1p.js → index-BO5ICrpG.js} +1 -1
- package/dist/{index-CTVNcCfu.js → index-Buj5fA92.js} +1 -1
- package/dist/{index-Y3Jbqb5R.js → index-CX3cfSUQ.js} +1 -1
- package/dist/{index-BgjRNNca.js → index-CfRDm1jv.js} +1443 -1446
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -31,6 +31,13 @@ interface ConfigurableEditorWithAuthProps {
|
|
|
31
31
|
previewStyle?: React.CSSProperties;
|
|
32
32
|
/** Click handler for preview mode (useful for switching to edit mode) */
|
|
33
33
|
onPreviewClick?: () => void;
|
|
34
|
+
/**
|
|
35
|
+
* Control the editor's dark mode:
|
|
36
|
+
* - `true`: Force dark mode
|
|
37
|
+
* - `false`: Force light mode
|
|
38
|
+
* - `undefined` (default): Auto-detect from host app's `<html>` or `<body>` "dark" class
|
|
39
|
+
*/
|
|
40
|
+
darkMode?: boolean;
|
|
34
41
|
}
|
|
35
42
|
declare const ConfigurableEditorWithAuth: React.FC<ConfigurableEditorWithAuthProps>;
|
|
36
43
|
export default ConfigurableEditorWithAuth;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r, jsxs as a } from "react/jsx-runtime";
|
|
2
2
|
import { useLexicalComposerContext as v } from "@lexical/react/LexicalComposerContext";
|
|
3
3
|
import { $getNodeByKey as w } from "lexical";
|
|
4
|
-
import { q as k, r as F, F as y, s as N, v as C, w as D } from "./index-
|
|
4
|
+
import { q as k, r as F, F as y, s as N, v as C, w as D } from "./index-CfRDm1jv.js";
|
|
5
5
|
const B = (t) => t ? t < 1024 ? `${t} B` : t < 1024 * 1024 ? `${(t / 1024).toFixed(1)} KB` : t < 1024 * 1024 * 1024 ? `${(t / (1024 * 1024)).toFixed(1)} MB` : `${(t / (1024 * 1024 * 1024)).toFixed(1)} GB` : "", E = (t) => {
|
|
6
6
|
const o = t.split(".");
|
|
7
7
|
return o.length > 1 ? o[o.length - 1].toLowerCase() : "";
|
|
@@ -15,7 +15,7 @@ import { useLexicalNodeSelection as me } from "@lexical/react/useLexicalNodeSele
|
|
|
15
15
|
import { mergeRegister as fe } from "@lexical/utils";
|
|
16
16
|
import { $getSelection as M, $isNodeSelection as m, $setSelection as $, SELECTION_CHANGE_COMMAND as ge, COMMAND_PRIORITY_LOW as u, CLICK_COMMAND as pe, DRAGSTART_COMMAND as Ce, KEY_DELETE_COMMAND as Ee, KEY_BACKSPACE_COMMAND as he, KEY_ENTER_COMMAND as Ne, KEY_ESCAPE_COMMAND as be, RootNode as ve, TextNode as Re, LineBreakNode as xe, ParagraphNode as De, $getNodeByKey as _ } from "lexical";
|
|
17
17
|
import { useRef as A, useState as B, useCallback as E, useEffect as Se } from "react";
|
|
18
|
-
import { x as v, r as Me, L as _e, i as Ae } from "./index-
|
|
18
|
+
import { x as v, r as Me, L as _e, i as Ae } from "./index-CfRDm1jv.js";
|
|
19
19
|
function Ge({
|
|
20
20
|
src: Y,
|
|
21
21
|
nodeKey: f,
|
|
@@ -16,7 +16,7 @@ import { useLexicalNodeSelection as lt } from "@lexical/react/useLexicalNodeSele
|
|
|
16
16
|
import { mergeRegister as mt } from "@lexical/utils";
|
|
17
17
|
import { RootNode as Re, TextNode as Pe, LineBreakNode as De, ParagraphNode as Se, $getSelection as O, $isNodeSelection as L, $isParagraphNode as Z, $setSelection as ee, $isRangeSelection as ut, SELECTION_CHANGE_COMMAND as gt, COMMAND_PRIORITY_LOW as v, CLICK_COMMAND as ft, DRAGSTART_COMMAND as pt, KEY_DELETE_COMMAND as ht, KEY_BACKSPACE_COMMAND as bt, KEY_ENTER_COMMAND as yt, KEY_ESCAPE_COMMAND as xt, createCommand as Ct, $getNodeByKey as _ } from "lexical";
|
|
18
18
|
import { useRef as z, useState as p, useEffect as te, useLayoutEffect as Nt, useCallback as x, Suspense as wt } from "react";
|
|
19
|
-
import { a as vt, D as Et, b as kt, d as It, e as Rt, f as Pt, h as Dt, B as be, L as Ae, i as Le, u as St, $ as M, W as At, j as Lt, A as Mt, k as $t, l as Ot, T as _t, m as zt, S as Wt, E as jt, n as Kt, t as E, o as Bt, p as Tt, C as Ft } from "./index-
|
|
19
|
+
import { a as vt, D as Et, b as kt, d as It, e as Rt, f as Pt, h as Dt, B as be, L as Ae, i as Le, u as St, $ as M, W as At, j as Lt, A as Mt, k as $t, l as Ot, T as _t, m as zt, S as Wt, E as jt, n as Kt, t as E, o as Bt, p as Tt, C as Ft } from "./index-CfRDm1jv.js";
|
|
20
20
|
const Gt = vt("Link2", [
|
|
21
21
|
["path", { d: "M9 17H7A5 5 0 0 1 7 7h2", key: "8i5ue5" }],
|
|
22
22
|
["path", { d: "M15 7h2a5 5 0 1 1 0 10h-2", key: "1b9ql8" }],
|