eddyter 1.3.51 → 1.3.52

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 (219) hide show
  1. package/LICENSE +24 -24
  2. package/README.md +489 -489
  3. package/dist/App.d.ts +3 -2
  4. package/dist/Provider/EditorProvider.d.ts +32 -31
  5. package/dist/Provider/LexicalProvider.d.ts +6 -5
  6. package/dist/api/ai/index.d.ts +83 -83
  7. package/dist/api/analytics.d.ts +21 -21
  8. package/dist/api/auth.d.ts +108 -108
  9. package/dist/api/bugReport.d.ts +27 -27
  10. package/dist/api/config/axios.d.ts +2 -1
  11. package/dist/api/config/endpoints.d.ts +24 -24
  12. package/dist/api/featureSuggestion.d.ts +23 -23
  13. package/dist/api/feedback.d.ts +26 -26
  14. package/dist/api/linkPreview.d.ts +15 -15
  15. package/dist/api/transcript/index.d.ts +21 -21
  16. package/dist/assets/style.css +1 -1
  17. package/dist/{babel-44680aef.js → babel-1c4a328b.js} +3321 -3587
  18. package/dist/components/AiPlugin/index.d.ts +6 -6
  19. package/dist/components/AlignMenu/AlignMenu.d.ts +9 -8
  20. package/dist/components/AlignMenu/AlignMenuDrop.d.ts +3 -2
  21. package/dist/components/AlignMenu/index.d.ts +1 -1
  22. package/dist/components/AutoExpandingDemo.d.ts +6 -5
  23. package/dist/components/BlockFormatMenu/BlockFormatMenu.d.ts +3 -2
  24. package/dist/components/BlockFormatMenu/constants.d.ts +14 -14
  25. package/dist/components/BlockFormatMenu/index.d.ts +1 -1
  26. package/dist/components/BugReportDialog/index.d.ts +6 -6
  27. package/dist/components/ChartEditDialog.d.ts +9 -8
  28. package/dist/components/ChartInsertDialog.d.ts +8 -7
  29. package/dist/components/CodeActionMenuPlugin/components/CopyButton/index.d.ts +7 -6
  30. package/dist/components/CodeActionMenuPlugin/components/PrettierButton/index.d.ts +9 -8
  31. package/dist/components/CodeActionMenuPlugin/index.d.ts +5 -4
  32. package/dist/components/CodeActionMenuPlugin/utils.d.ts +1 -1
  33. package/dist/components/ColorPicker/ColorPicker.d.ts +3 -2
  34. package/dist/components/ColorPicker/index.d.ts +1 -1
  35. package/dist/components/CommentSidebar/CommentSidebar.d.ts +8 -7
  36. package/dist/components/CommentSidebar/index.d.ts +1 -1
  37. package/dist/components/CommentToggle/CommentToggle.d.ts +8 -7
  38. package/dist/components/CommentToggle/index.d.ts +1 -1
  39. package/dist/components/CommentView/CommentView.d.ts +9 -8
  40. package/dist/components/CommentView/index.d.ts +1 -1
  41. package/dist/components/ConfigurableEditorWithAuth.d.ts +35 -34
  42. package/dist/components/ContentPreview/index.d.ts +37 -36
  43. package/dist/components/DatePicker/DatePickerWidget.d.ts +7 -6
  44. package/dist/components/EmojiPickerWidget/EmojiPickerWidget.d.ts +3 -2
  45. package/dist/components/EmojiPickerWidget/index.d.ts +1 -1
  46. package/dist/components/FeatureSuggestionDialog/index.d.ts +6 -6
  47. package/dist/components/FeedbackDialog/index.d.ts +7 -7
  48. package/dist/components/FileUpload/InsertFileDialog.d.ts +7 -7
  49. package/dist/components/FileUpload/InsertFileUploadedDialogBody.d.ts +5 -4
  50. package/dist/components/FileView/index.d.ts +9 -8
  51. package/dist/components/FontFamilySelect/FontFamilyMenu.d.ts +7 -6
  52. package/dist/components/FontSizePicker/FontSizeControl.d.ts +3 -2
  53. package/dist/components/FormatTextMenu/FormatTextMenu.d.ts +3 -2
  54. package/dist/components/FormatTextMenu/FormatTextMenuDrop.d.ts +3 -2
  55. package/dist/components/FormatTextMenu/index.d.ts +1 -1
  56. package/dist/components/HighlightColorPicker/HighlightColorPicker.d.ts +7 -6
  57. package/dist/components/HtmlViewDisplay.d.ts +3 -2
  58. package/dist/components/ImageComparisonDialog/index.d.ts +11 -10
  59. package/dist/components/ImageGenerationDialog/ImageGenerationManager.d.ts +11 -10
  60. package/dist/components/ImageGenerationDialog/index.d.ts +11 -10
  61. package/dist/components/ImageInsertTest.d.ts +3 -2
  62. package/dist/components/ImageView/ImageDialog/ImageUploadDialogBody.d.ts +9 -8
  63. package/dist/components/ImageView/ImageDialog/index.d.ts +6 -5
  64. package/dist/components/ImageView/ImageResizer.d.ts +16 -15
  65. package/dist/components/ImageView/index.d.ts +17 -16
  66. package/dist/components/InsertMenu/InsertMenu.d.ts +9 -8
  67. package/dist/components/InsertMenu/InsertMenuDrop.d.ts +9 -8
  68. package/dist/components/InsertMenu/index.d.ts +1 -1
  69. package/dist/components/LanguageSelectorDialog/index.d.ts +8 -7
  70. package/dist/components/LinkPreviewHover/index.d.ts +40 -40
  71. package/dist/components/NotePanelMenu/NotePanelMenu.d.ts +6 -5
  72. package/dist/components/NotePanelMenu/index.d.ts +1 -1
  73. package/dist/components/NotePanelView/NotePanelView.d.ts +9 -8
  74. package/dist/components/NotePanelView/index.d.ts +1 -1
  75. package/dist/components/Placeholder/Placeholder.d.ts +3 -2
  76. package/dist/components/Placeholder/index.d.ts +1 -1
  77. package/dist/components/Placeholder/styles.d.ts +1 -1
  78. package/dist/components/ScopedEditor.d.ts +8 -8
  79. package/dist/components/SignatureCaption/index.d.ts +6 -5
  80. package/dist/components/TableColorPicker/index.d.ts +8 -7
  81. package/dist/components/TableModal/TableModal.d.ts +10 -9
  82. package/dist/components/TextEnhanceDialog/index.d.ts +10 -9
  83. package/dist/components/ToneAdjustDialog/index.d.ts +8 -7
  84. package/dist/components/Toolbar/Toolbar.d.ts +3 -2
  85. package/dist/components/Toolbar/index.d.ts +1 -1
  86. package/dist/components/Toolbar/styles.d.ts +6 -6
  87. package/dist/components/VoiceTranscriptIcon/VoiceTranscriptIcon.d.ts +2 -1
  88. package/dist/components/VoiceTranscriptIcon/index.d.ts +1 -1
  89. package/dist/components/ui/avatar.d.ts +6 -6
  90. package/dist/components/ui/badge.d.ts +9 -8
  91. package/dist/components/ui/button.d.ts +11 -10
  92. package/dist/components/ui/calendar.d.ts +8 -7
  93. package/dist/components/ui/card.d.ts +8 -8
  94. package/dist/components/ui/checkbox.d.ts +4 -4
  95. package/dist/components/ui/dialog.d.ts +19 -19
  96. package/dist/components/ui/dropdown-menu.d.ts +27 -27
  97. package/dist/components/ui/input.d.ts +3 -3
  98. package/dist/components/ui/label.d.ts +4 -4
  99. package/dist/components/ui/popover.d.ts +7 -7
  100. package/dist/components/ui/select.d.ts +13 -13
  101. package/dist/components/ui/separator.d.ts +4 -4
  102. package/dist/components/ui/sheet.d.ts +24 -24
  103. package/dist/components/ui/skeleton.d.ts +3 -3
  104. package/dist/components/ui/tabs.d.ts +7 -7
  105. package/dist/components/ui/textarea.d.ts +3 -3
  106. package/dist/components/ui/tooltip.d.ts +7 -7
  107. package/dist/constants.d.ts +22 -21
  108. package/dist/context/CommentContext.d.ts +43 -42
  109. package/dist/context/HtmlViewContext.d.ts +17 -16
  110. package/dist/context/ToolbarContext.d.ts +56 -55
  111. package/dist/editorConfig.d.ts +70 -70
  112. package/dist/{estree-a7dc9ac5.js → estree-2cbea43c.js} +1848 -1828
  113. package/dist/hooks/useAutoExpandingHeight.d.ts +15 -15
  114. package/dist/hooks/useBlockFormat.d.ts +17 -16
  115. package/dist/hooks/useColorPicker.d.ts +6 -6
  116. package/dist/hooks/useCustomCommands.d.ts +3 -2
  117. package/dist/hooks/useDebounce.d.ts +1 -1
  118. package/dist/hooks/useEditorToolbar.d.ts +10 -9
  119. package/dist/hooks/useFeedbackEligibility.d.ts +18 -18
  120. package/dist/hooks/useInsertMenu.d.ts +9 -9
  121. package/dist/hooks/useModal.d.ts +5 -5
  122. package/dist/hooks/useReactNativeBridge.d.ts +54 -54
  123. package/dist/hooks/useS3Uploader.d.ts +21 -21
  124. package/dist/hooks/useVoiceToText.d.ts +20 -20
  125. package/dist/{html-f2fcab26.js → html-c18fb60e.js} +648 -689
  126. package/dist/{html2pdf.bundle-09e49a74.js → html2pdf.bundle-ffb2feaa.js} +1 -1
  127. package/dist/{html2pdf.bundle.min-5c629a1a.js → html2pdf.bundle.min-1455f5bc.js} +1 -1
  128. package/dist/{index-28f8506d.js → index-02397e44.js} +8 -8
  129. package/dist/{index-269df0bf.js → index-4b2cda16.js} +8917 -9168
  130. package/dist/{index-1cd4fd49.js → index-ed633fb3.js} +17 -17
  131. package/dist/index.d.ts +14 -14
  132. package/dist/index.js +1 -1
  133. package/dist/lib/utils.d.ts +2 -1
  134. package/dist/main.d.ts +1 -0
  135. package/dist/{markdown-48d2f5f1.js → markdown-39c3822b.js} +1689 -1734
  136. package/dist/nodes/ChartNode.d.ts +41 -40
  137. package/dist/nodes/CommentNode.d.ts +34 -33
  138. package/dist/nodes/CommentedTextNode.d.ts +29 -28
  139. package/dist/nodes/EmbedNode.d.ts +32 -31
  140. package/dist/nodes/FileNode.d.ts +32 -31
  141. package/dist/nodes/ImageNode.d.ts +65 -64
  142. package/dist/nodes/MentionNode.d.ts +75 -74
  143. package/dist/nodes/NotePanelNode.d.ts +31 -30
  144. package/dist/pages/ConfigurableEditor/ConfigurableEditor.d.ts +25 -24
  145. package/dist/pages/ConfigurableEditor/index.d.ts +2 -2
  146. package/dist/pages/NotFound.d.ts +2 -2
  147. package/dist/pages/RichTextEditor.d.ts +6 -6
  148. package/dist/pages/TextareaEditor.d.ts +6 -6
  149. package/dist/pages/styles.d.ts +5 -5
  150. package/dist/plugins/AIChatPlugin.d.ts +11 -10
  151. package/dist/plugins/AndroidKeyboardFixPlugin.d.ts +16 -16
  152. package/dist/plugins/AutocompletePlugin.d.ts +22 -22
  153. package/dist/plugins/CodeBlockNormalizerPlugin.d.ts +8 -8
  154. package/dist/plugins/CodeBlockSelectAllPlugin.d.ts +8 -8
  155. package/dist/plugins/CodeHighlightPlugin.d.ts +3 -2
  156. package/dist/plugins/CombinedAutocompletGrammarPlugin.d.ts +21 -20
  157. package/dist/plugins/CommentBubblePlugin.d.ts +3 -2
  158. package/dist/plugins/CommentPlugin.d.ts +7 -6
  159. package/dist/plugins/CustomHorizontalRulePlugin/CustomHorizontalRuleNode.d.ts +29 -28
  160. package/dist/plugins/CustomHorizontalRulePlugin/CustomHorizontalRulePlugin.d.ts +3 -3
  161. package/dist/plugins/CustomHorizontalRulePlugin/HorizontalRuleCustomizationDialog.d.ts +7 -6
  162. package/dist/plugins/CustomHorizontalRulePlugin/index.d.ts +3 -3
  163. package/dist/plugins/DragDropPastePlugin/index.d.ts +8 -8
  164. package/dist/plugins/EmbedPreviewPlugin/FloatingEmbedMenuPlugin.d.ts +4 -3
  165. package/dist/plugins/EmbedPreviewPlugin/index.d.ts +6 -5
  166. package/dist/plugins/FilePlugin.d.ts +8 -7
  167. package/dist/plugins/FloatingLinkEditorPlugin/index.d.ts +6 -5
  168. package/dist/plugins/FloatingTextFormatToolbarPlugin/index.d.ts +27 -26
  169. package/dist/plugins/GrammarCheckPlugin.d.ts +2 -1
  170. package/dist/plugins/HtmlCodeViewPlugin/index.d.ts +2 -2
  171. package/dist/plugins/HtmlImportPlugin.d.ts +5 -5
  172. package/dist/plugins/HtmlSyncPlugin.d.ts +3 -3
  173. package/dist/plugins/ImagePlugin.d.ts +7 -6
  174. package/dist/plugins/LinkPlugin/index.d.ts +6 -5
  175. package/dist/plugins/LinkPreviewPlugin/index.d.ts +4 -4
  176. package/dist/plugins/LocalStoragePlugin.d.ts +7 -6
  177. package/dist/plugins/MarkdownShortcutsPlugin/index.d.ts +20 -20
  178. package/dist/plugins/MentionsPlugin/index.d.ts +7 -6
  179. package/dist/plugins/NotePanelPlugin.d.ts +7 -6
  180. package/dist/plugins/PasteOptionsPlugin/index.d.ts +17 -17
  181. package/dist/plugins/RichTextPastePlugin/index.d.ts +6 -5
  182. package/dist/plugins/SignatureCanvasPlugin/SignatureCanvasDialog.d.ts +6 -5
  183. package/dist/plugins/SignatureCanvasPlugin/SignatureCanvasPlugin.d.ts +9 -9
  184. package/dist/plugins/SignatureCanvasPlugin/index.d.ts +2 -2
  185. package/dist/plugins/SlashCommandPlugin/index.d.ts +2 -2
  186. package/dist/plugins/TableActionMenuPlugin/index.d.ts +6 -5
  187. package/dist/plugins/TableCellResizer/index.d.ts +2 -1
  188. package/dist/plugins/TableHoverActionsPlugin/index.d.ts +4 -4
  189. package/dist/plugins/TablePlugin.d.ts +5 -4
  190. package/dist/plugins/Tableimageautoresizeplugin.d.ts +1 -1
  191. package/dist/plugins/TextEnhancePlugin.d.ts +6 -6
  192. package/dist/plugins/TreeViewPlugin.d.ts +3 -2
  193. package/dist/plugins/UsageTrackingPlugin.d.ts +15 -15
  194. package/dist/plugins/VoiceTranscriptPlugin.d.ts +22 -22
  195. package/dist/plugins/WordCountPlugin.d.ts +3 -2
  196. package/dist/{postcss-9ac167c3.js → postcss-bbcc713e.js} +1650 -1671
  197. package/dist/services/chartService.d.ts +19 -18
  198. package/dist/standalone-36ad3877.js +2600 -0
  199. package/dist/styles/PlaygroundEditorTheme.d.ts +3 -2
  200. package/dist/types.d.ts +204 -201
  201. package/dist/typescript-39d06710.js +13533 -0
  202. package/dist/ui/ColorPicker.d.ts +14 -13
  203. package/dist/ui/Icons.d.ts +81 -80
  204. package/dist/ui/TextInput.d.ts +11 -10
  205. package/dist/utils/dateFormats.d.ts +33 -33
  206. package/dist/utils/debounce.d.ts +6 -5
  207. package/dist/utils/editorStyleConverter.d.ts +17 -16
  208. package/dist/utils/export.d.ts +2 -1
  209. package/dist/utils/getDOMRangeRect.d.ts +13 -13
  210. package/dist/utils/getSelectedNode.d.ts +3 -2
  211. package/dist/utils/helper.d.ts +3 -3
  212. package/dist/utils/index.d.ts +4 -3
  213. package/dist/utils/invarient.d.ts +1 -1
  214. package/dist/utils/setFloatingElemPosition.d.ts +8 -8
  215. package/dist/utils/setFloatingElemPositionForLinkEditor.d.ts +1 -1
  216. package/dist/utils/url.d.ts +9 -9
  217. package/package.json +150 -150
  218. package/dist/standalone-2029bc8b.js +0 -2467
  219. package/dist/typescript-bd1bb88f.js +0 -13632
@@ -14,8 +14,8 @@ import { useLexicalEditable as at } from "@lexical/react/useLexicalEditable";
14
14
  import { useLexicalNodeSelection as st } from "@lexical/react/useLexicalNodeSelection";
15
15
  import { calculateZoomLevel as we, mergeRegister as dt } from "@lexical/utils";
16
16
  import { RootNode as Se, TextNode as Le, LineBreakNode as We, ParagraphNode as Ae, $getSelection as J, $isNodeSelection as X, $isParagraphNode as xe, $setSelection as ce, $isRangeSelection as lt, SELECTION_CHANGE_COMMAND as ut, COMMAND_PRIORITY_LOW as M, CLICK_COMMAND as mt, DRAGSTART_COMMAND as gt, KEY_DELETE_COMMAND as ht, KEY_BACKSPACE_COMMAND as pt, KEY_ENTER_COMMAND as ft, KEY_ESCAPE_COMMAND as bt, createCommand as yt, $getNodeByKey as U } from "lexical";
17
- import { useRef as j, useState as R, useEffect as ae, useCallback as W, Suspense as wt } from "react";
18
- import { d as xt, e as Ct, f as Nt, h as vt, i as kt, j as Et, k as It, B as Ce, L as Me, l as $e, m as F, W as Pt, n as Rt, A as Dt, o as zt, p as St, q as Lt, r as Wt, S as At, E as Mt, s as $t, t as $, u as _t, v as Ot, C as Ht } from "./index-269df0bf.js";
17
+ import { useRef as T, useState as R, useEffect as ae, useCallback as W, Suspense as wt } from "react";
18
+ import { a as xt, D as Ct, b as Nt, d as vt, e as kt, f as Et, h as It, B as Ce, L as Me, i as $e, $ as F, W as Pt, j as Rt, A as Dt, k as zt, l as St, T as Lt, m as Wt, S as At, E as Mt, n as $t, t as $, o as _t, p as Ot, C as Ht } from "./index-4b2cda16.js";
19
19
  import "axios";
20
20
  import "react-dom";
21
21
  import "@emotion/styled";
@@ -40,12 +40,12 @@ import "@lexical/react/LexicalTypeaheadMenuPlugin";
40
40
  * This source code is licensed under the ISC license.
41
41
  * See the LICENSE file in the root directory of this source tree.
42
42
  */
43
- const jt = xt("Link2", [
43
+ const Tt = xt("Link2", [
44
44
  ["path", { d: "M9 17H7A5 5 0 0 1 7 7h2", key: "8i5ue5" }],
45
45
  ["path", { d: "M15 7h2a5 5 0 1 1 0 10h-2", key: "1b9ql8" }],
46
46
  ["line", { x1: "8", x2: "16", y1: "12", y2: "12", key: "1jonct" }]
47
47
  ]);
48
- const Tt = ({
48
+ const jt = ({
49
49
  open: u,
50
50
  onOpenChange: p,
51
51
  oldImageUrl: f,
@@ -169,10 +169,10 @@ function Yt({
169
169
  setShowCaption: A,
170
170
  captionsEnabled: S
171
171
  }) {
172
- const T = j(null), k = j({
172
+ const j = T(null), k = T({
173
173
  priority: "",
174
174
  value: "default"
175
- }), y = j({
175
+ }), y = T({
176
176
  currentHeight: 0,
177
177
  currentWidth: 0,
178
178
  direction: 0,
@@ -210,7 +210,7 @@ function Yt({
210
210
  }, I = (i, d) => {
211
211
  if (!v.isEditable())
212
212
  return;
213
- const o = N.current, D = T.current;
213
+ const o = N.current, D = j.current;
214
214
  if (o !== null && D !== null) {
215
215
  i.preventDefault();
216
216
  const { width: C, height: P } = o.getBoundingClientRect(), l = we(o), a = y.current;
@@ -250,13 +250,13 @@ function Yt({
250
250
  }
251
251
  }
252
252
  }, O = () => {
253
- const i = N.current, d = y.current, o = T.current;
253
+ const i = N.current, d = y.current, o = j.current;
254
254
  if (i !== null && o !== null && d.isResizing) {
255
255
  const D = d.currentWidth, C = d.currentHeight;
256
256
  d.startWidth = 0, d.startHeight = 0, d.ratio = 0, d.startX = 0, d.startY = 0, d.currentWidth = 0, d.currentHeight = 0, d.isResizing = !1, o.classList.remove("image-control-wrapper--resizing"), L(), p(D, C), document.removeEventListener("pointermove", n), document.removeEventListener("pointerup", O);
257
257
  }
258
258
  };
259
- return /* @__PURE__ */ g("div", { ref: T, children: [
259
+ return /* @__PURE__ */ g("div", { ref: j, children: [
260
260
  !G && S && /* @__PURE__ */ t(
261
261
  "button",
262
262
  {
@@ -410,18 +410,18 @@ function zr({
410
410
  resizable: G,
411
411
  showCaption: A,
412
412
  caption: S,
413
- captionsEnabled: T,
413
+ captionsEnabled: j,
414
414
  originalPrompt: k,
415
415
  position: y = "none",
416
416
  linkUrl: h
417
417
  }) {
418
- const w = j(null), q = j(null), [m, E, _] = st(f), [L, I] = R(!1);
418
+ const w = T(null), q = T(null), [m, E, _] = st(f), [L, I] = R(!1);
419
419
  nt();
420
- const [n] = ct(), [O, i] = R(null), d = j(null), [o, D] = R(!1), C = at(), [P, l] = R(!1), [a, H] = R(""), [B, le] = R(!1), [_e, Z] = R(!1), [ue, Q] = R(""), [Oe, ee] = R(""), [He, me] = R(!1), Y = j(null), [ge, je] = R(0), Te = ge > 0 && ge < 350;
420
+ const [n] = ct(), [O, i] = R(null), d = T(null), [o, D] = R(!1), C = at(), [P, l] = R(!1), [a, H] = R(""), [B, le] = R(!1), [_e, Z] = R(!1), [ue, Q] = R(""), [Oe, ee] = R(""), [He, me] = R(!1), Y = T(null), [ge, Te] = R(0), je = ge > 0 && ge < 350;
421
421
  ae(() => {
422
422
  if (w.current) {
423
423
  const e = () => {
424
- w.current && je(w.current.offsetWidth);
424
+ w.current && Te(w.current.offsetWidth);
425
425
  };
426
426
  e();
427
427
  const r = new ResizeObserver(e);
@@ -734,7 +734,7 @@ function zr({
734
734
  className: "cteditor-absolute cteditor-bottom-2 cteditor-left-2 cteditor-right-2 cteditor-bg-background cteditor-rounded-lg cteditor-shadow-lg cteditor-border cteditor-border-border cteditor-p-2 cteditor-flex cteditor-items-center cteditor-gap-2",
735
735
  style: { zIndex: 10 },
736
736
  children: [
737
- /* @__PURE__ */ t(jt, { className: "cteditor-w-4 cteditor-h-4 cteditor-text-muted-foreground cteditor-flex-shrink-0" }),
737
+ /* @__PURE__ */ t(Tt, { className: "cteditor-w-4 cteditor-h-4 cteditor-text-muted-foreground cteditor-flex-shrink-0" }),
738
738
  /* @__PURE__ */ t("span", { className: "cteditor-text-sm cteditor-text-foreground cteditor-truncate cteditor-flex-1", children: h }),
739
739
  /* @__PURE__ */ t(
740
740
  "button",
@@ -750,7 +750,7 @@ function zr({
750
750
  m && X(O) && !o && /* @__PURE__ */ g(
751
751
  "div",
752
752
  {
753
- className: `cteditor-absolute cteditor-flex cteditor-gap-1 z-10 ${Te ? "cteditor-left-1/2 cteditor--translate-x-1/2 cteditor-bottom-0 cteditor-translate-y-full cteditor-mt-1" : "cteditor-top-2 cteditor-right-2"}`,
753
+ className: `cteditor-absolute cteditor-flex cteditor-gap-1 z-10 ${je ? "cteditor-left-1/2 cteditor--translate-x-1/2 cteditor-bottom-0 cteditor-translate-y-full cteditor-mt-1" : "cteditor-top-2 cteditor-right-2"}`,
754
754
  children: [
755
755
  /* @__PURE__ */ g("div", { className: "cteditor-flex cteditor-items-center cteditor-gap-0.5 cteditor-bg-background/80 cteditor-rounded-md cteditor-shadow-md cteditor-border cteditor-border-border cteditor-p-0.5", children: [
756
756
  /* @__PURE__ */ t(
@@ -937,7 +937,7 @@ function zr({
937
937
  maxWidth: v,
938
938
  onResizeStart: Ke,
939
939
  onResizeEnd: Ye,
940
- captionsEnabled: !o && T
940
+ captionsEnabled: !o && j
941
941
  }
942
942
  )
943
943
  ]
@@ -984,7 +984,7 @@ function zr({
984
984
  }
985
985
  ) })),
986
986
  /* @__PURE__ */ t(
987
- Tt,
987
+ jt,
988
988
  {
989
989
  open: _e,
990
990
  onOpenChange: Z,
package/dist/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
- export { HtmlViewProvider, useHtmlView } from './context/HtmlViewContext';
2
- export { EditorProvider, useEditor } from './Provider/EditorProvider';
3
- export { default as ConfigurableEditorWithAuth } from './components/ConfigurableEditorWithAuth';
4
- export { default as ConfigurableEditor } from './pages/ConfigurableEditor/ConfigurableEditor';
5
- export { verifyApiKey } from './api/auth';
6
- export { default as LinkPreviewHover } from './components/LinkPreviewHover';
7
- export type { LinkPreviewHoverProps } from './components/LinkPreviewHover';
8
- export { default as ContentPreview } from './components/ContentPreview';
9
- export type { ContentPreviewProps } from './components/ContentPreview';
10
- export type { ReactNativeBridgeConfig, ReactNativeMessage, ReactNativeMessageType, } from './hooks/useReactNativeBridge';
11
- export { isReactNativeWebView, useReactNativeBridge, } from './hooks/useReactNativeBridge';
12
- export type { CurrentUser } from './Provider/EditorProvider';
13
- export type { EditorConfigTypes } from './types';
14
- export { editorConfig as defaultEditorConfig } from './editorConfig';
1
+ export { HtmlViewProvider, useHtmlView } from './context/HtmlViewContext';
2
+ export { EditorProvider, useEditor } from './Provider/EditorProvider';
3
+ export { default as ConfigurableEditorWithAuth } from './components/ConfigurableEditorWithAuth';
4
+ export { default as ConfigurableEditor } from './pages/ConfigurableEditor/ConfigurableEditor';
5
+ export { verifyApiKey } from './api/auth';
6
+ export { default as LinkPreviewHover } from './components/LinkPreviewHover';
7
+ export type { LinkPreviewHoverProps } from './components/LinkPreviewHover';
8
+ export { default as ContentPreview } from './components/ContentPreview';
9
+ export type { ContentPreviewProps } from './components/ContentPreview';
10
+ export type { ReactNativeBridgeConfig, ReactNativeMessage, ReactNativeMessageType, } from './hooks/useReactNativeBridge';
11
+ export { isReactNativeWebView, useReactNativeBridge, } from './hooks/useReactNativeBridge';
12
+ export type { CurrentUser } from './Provider/EditorProvider';
13
+ export type { EditorConfigTypes } from './types';
14
+ export { editorConfig as defaultEditorConfig } from './editorConfig';
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { G as z, z as B, K as G, x as I, H as J, J as L, O as M, M as O, y as j, w as q, N as D, I as F } from "./index-269df0bf.js";
1
+ import { G as z, z as B, K as G, x as I, H as J, J as L, O as M, M as O, y as j, w as q, N as D, I as F } from "./index-4b2cda16.js";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
4
  import "axios";
@@ -1,2 +1,3 @@
1
1
  import { ClassValue } from 'clsx';
2
- export declare function cn(...inputs: ClassValue[]): string;
2
+
3
+ export declare function cn(...inputs: ClassValue[]): string;
package/dist/main.d.ts CHANGED
@@ -0,0 +1 @@
1
+