eddyter 1.4.19 → 1.4.20-beta.0

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.
Files changed (39) hide show
  1. package/README.md +6 -3
  2. package/dist/{AIChatPlugin-BUWq8ixX.js → AIChatPlugin-XDBXQanb.js} +3 -3
  3. package/dist/{CombinedAutocompletGrammarPlugin-Dq25w8tq.js → CombinedAutocompletGrammarPlugin-BRBmG7Uo.js} +186 -167
  4. package/dist/{CommentBubblePlugin-B77d3Qq6.js → CommentBubblePlugin-BALioirG.js} +1 -1
  5. package/dist/{CommentPlugin-BJQyKmrN.js → CommentPlugin-CHmC9IZh.js} +2 -2
  6. package/dist/{NotePanelPlugin-BqOdcg07.js → NotePanelPlugin-CPGzqjuk.js} +1 -1
  7. package/dist/{TextEnhancePlugin-BnmdRgUu.js → TextEnhancePlugin-DgC4kmVA.js} +2 -2
  8. package/dist/assets/style.css +1 -1
  9. package/dist/components/FormatTextMenu/FormatTextMenu.d.ts +5 -0
  10. package/dist/components/InsertVideoDialog.d.ts +7 -0
  11. package/dist/components/ListMenu/ListMenu.d.ts +10 -0
  12. package/dist/components/ListMenu/index.d.ts +1 -0
  13. package/dist/components/NewBadge/NewBadge.d.ts +5 -0
  14. package/dist/components/NewBadge/NewDot.d.ts +9 -0
  15. package/dist/components/Toolbar/styles.d.ts +2 -2
  16. package/dist/{generateDocxThumbnail-DBMxjZ83.js → generateDocxThumbnail-BTxOqVy6.js} +1 -1
  17. package/dist/{generatePdfThumbnail-Cv2-ZCzh.js → generatePdfThumbnail-bcpGGSUp.js} +1 -1
  18. package/dist/{generateXlsxThumbnail-UHmNc7Fa.js → generateXlsxThumbnail-BWM1cmSl.js} +1 -1
  19. package/dist/hooks/useNewFeatures.d.ts +5 -0
  20. package/dist/{index-Bex3G_eE.js → index-0VTRLfjb.js} +15648 -14919
  21. package/dist/{index-ChSepytp.js → index-BNICgdB-.js} +21 -21
  22. package/dist/{index-q_TW8dU1.js → index-BxOZNLwu.js} +4 -4
  23. package/dist/{index-C_mjLQUF.js → index-DDSVx-B8.js} +2 -2
  24. package/dist/{index-Cl_A9eof.js → index-DRLZF4xQ.js} +193 -198
  25. package/dist/{index-BaWQzoL2.js → index-DZESLGLB.js} +1 -1
  26. package/dist/{index-DcHU8PlQ.js → index-FZ7Aopvl.js} +73 -73
  27. package/dist/index.d.ts +0 -1
  28. package/dist/index.js +12 -13
  29. package/dist/nodes/ButtonNode.d.ts +15 -2
  30. package/dist/nodes/documentPalette.d.ts +24 -0
  31. package/dist/plugins/WordCountPlugin.d.ts +2 -0
  32. package/dist/{sparkles-C-XoMho5.js → sparkles-DIeZhywG.js} +1 -1
  33. package/dist/types.d.ts +6 -0
  34. package/dist/ui/Icons.d.ts +7 -1
  35. package/dist/{useVoiceToText-BzaLSbRi.js → useVoiceToText-sR--QAUC.js} +1 -1
  36. package/dist/utils/neutralTextColor.d.ts +22 -0
  37. package/dist/utils/newFeatures.d.ts +13 -0
  38. package/dist/utils/notePanelPaste.d.ts +3 -0
  39. package/package.json +2 -2
package/README.md CHANGED
@@ -57,7 +57,7 @@ import {
57
57
  EditorProvider,
58
58
  defaultEditorConfig
59
59
  } from 'eddyter';
60
- import 'eddyter/style.css';
60
+ import 'eddyter/style.css'; // REQUIRED — the editor is unstyled without this import
61
61
 
62
62
  function App() {
63
63
  const apiKey = process.env.NEXT_PUBLIC_EDITOR_API_KEY!;
@@ -490,8 +490,7 @@ export const RichTextEditor: React.FC<RichTextEditorProps> = ({
490
490
  ```ts
491
491
  // Components
492
492
  import {
493
- ConfigurableEditorWithAuth, // Main editor with auth
494
- ConfigurableEditor, // Editor without auth wrapper
493
+ ConfigurableEditorWithAuth, // Main editor (requires a valid license key)
495
494
  EditorProvider, // Context provider
496
495
  LinkPreviewHover, // Standalone link preview component
497
496
  } from 'eddyter';
@@ -519,6 +518,10 @@ import type {
519
518
  } from 'eddyter';
520
519
  ```
521
520
 
521
+ > Feature availability (toolbar buttons, AI, etc.) is controlled by the plan tied
522
+ > to your license key — configured in the Eddyter dashboard, **not** from code.
523
+ > `ConfigurableEditorWithAuth` has no `config`/`toolbarOptions` prop.
524
+
522
525
  ## License
523
526
 
524
527
  Eddyter is **proprietary software**.
@@ -1,10 +1,10 @@
1
1
  import { jsxs as e, Fragment as tt, jsx as t } from "react/jsx-runtime";
2
- import { c as xt, T as Vt, w as Bt, x as Tt, y as Pt, D as yt, a as Nt, b as wt, d as kt, z as Ut, G as Mt, H as Rt, J as zt, K as Lt, M as U, L as Wt, O as Yt, Q as Ft, U as Jt, B as at, V as Qt, W as Xt, X as Zt, Y as te, Z as ee, _ as $t, e as re, g as oe, a0 as ht, a1 as ie, a2 as Dt, t as pt } from "./index-Bex3G_eE.js";
2
+ import { c as xt, T as Vt, w as Bt, x as Tt, y as Pt, D as yt, a as Nt, b as wt, d as kt, z as Ut, G as Mt, H as Rt, J as zt, K as Lt, M as U, L as Wt, O as Yt, Q as Ft, U as Jt, B as at, V as Qt, W as Xt, X as Zt, Y as te, Z as ee, _ as $t, e as re, g as oe, a0 as ht, a1 as ie, a2 as Dt, t as pt } from "./index-0VTRLfjb.js";
3
3
  import { useLexicalComposerContext as de } from "@lexical/react/LexicalComposerContext";
4
4
  import { $getSelection as ct, COMMAND_PRIORITY_LOW as Ct, $isRangeSelection as St } from "lexical";
5
5
  import { useState as d, useRef as W, useCallback as K, useEffect as $, useMemo as Et } from "react";
6
- import { u as ce, M as ne } from "./useVoiceToText-BzaLSbRi.js";
7
- import { S as Ot } from "./sparkles-C-XoMho5.js";
6
+ import { u as ce, M as ne } from "./useVoiceToText-sR--QAUC.js";
7
+ import { S as Ot } from "./sparkles-DIeZhywG.js";
8
8
  const lt = xt("ArrowUpRight", [
9
9
  ["path", { d: "M7 7h10v10", key: "1tivn9" }],
10
10
  ["path", { d: "M7 17 17 7", key: "1vkiza" }]