eddyter 1.3.74 → 1.3.76

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/dist/api/config/endpoints.d.ts +1 -0
  2. package/dist/assets/style.css +1 -1
  3. package/dist/components/EddyterLogo/EddyterLogo.d.ts +2 -1
  4. package/dist/components/HtmlCodeEditor.d.ts +9 -0
  5. package/dist/components/Placeholder/styles.d.ts +2 -0
  6. package/dist/components/Toast/EditorToast.d.ts +2 -0
  7. package/dist/components/ui/button.d.ts +1 -1
  8. package/dist/config/env.d.ts +8 -0
  9. package/dist/constants.d.ts +2 -1
  10. package/dist/generateDocxThumbnail-BbSs-3CJ.js +5876 -0
  11. package/dist/generatePdfThumbnail-U8R2yu3J.js +53 -0
  12. package/dist/generateXlsxThumbnail-BUwuqsXR.js +21707 -0
  13. package/dist/hooks/useBlockFormat.d.ts +1 -0
  14. package/dist/hooks/useFeedbackEligibility.d.ts +2 -2
  15. package/dist/hooks/usePdfPreview.d.ts +6 -0
  16. package/dist/html2canvas.esm-C2wu93Kq.js +4867 -0
  17. package/dist/{html2pdf.bundle.min-IddXSdmD.js → html2pdf.bundle.min-Css6bHHm.js} +1 -1
  18. package/dist/{index-DXkAwL6K.js → index-CCVZobcV.js} +1 -1
  19. package/dist/index-CVEa0GRe.js +131 -0
  20. package/dist/{index-DeaVZP-3.js → index-DTkM3xiE.js} +1 -1
  21. package/dist/{index-CnJbZHIU.js → index-DjD3NbU0.js} +13839 -13261
  22. package/dist/index.js +1 -1
  23. package/dist/lib/toast.d.ts +39 -0
  24. package/dist/nodes/EmbedNode.d.ts +7 -2
  25. package/dist/nodes/FileNode.d.ts +3 -0
  26. package/dist/nodes/GeneratingImageNode.d.ts +30 -0
  27. package/dist/store/tableFullWidthStore.d.ts +6 -0
  28. package/dist/types.d.ts +2 -0
  29. package/dist/ui/Icons.d.ts +2 -1
  30. package/dist/utils/editorStyleConverter.d.ts +3 -1
  31. package/dist/utils/generateDocxThumbnail.d.ts +5 -0
  32. package/dist/utils/generatePdfThumbnail.d.ts +1 -0
  33. package/dist/utils/generateXlsxThumbnail.d.ts +5 -0
  34. package/dist/utils/helper.d.ts +2 -0
  35. package/dist/utils/htmlFormat.d.ts +5 -0
  36. package/dist/utils/index.d.ts +4 -4
  37. package/package.json +6 -12
  38. package/dist/html2pdf.bundle-Bqwrc-rt.js +0 -33980
  39. package/dist/index-CUha-eOU.js +0 -83
@@ -16,5 +16,6 @@ declare const useBlockFormat: (props: UseBlockFormatProps) => {
16
16
  formatCheckList: () => void;
17
17
  formatNumberedList: () => void;
18
18
  formatQuote: () => void;
19
+ resetListNumbering: () => void;
19
20
  };
20
21
  export default useBlockFormat;
@@ -1,11 +1,11 @@
1
- declare const FEEDBACK_MINIMUM_LOADS = 50;
1
+ declare const FEEDBACK_MINIMUM_LOADS = 80;
2
2
  declare const FEEDBACK_REMINDER_INTERVAL = 10;
3
3
  /**
4
4
  * Hook to determine if the feedback dialog should be automatically shown.
5
5
  *
6
6
  * Logic:
7
7
  * - First check backend if user has already submitted feedback (never show again if yes)
8
- * - First prompt at 50 loads
8
+ * - First prompt at 80 loads
9
9
  * - If user dismisses without submitting, remind every 10 loads (60, 70, 80, etc.)
10
10
  */
11
11
  export declare function useFeedbackEligibility(apiKey: string | null): {
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Returns a data URL (PNG) thumbnail for PDF (first page) or DOCX (first part).
3
+ * Returns null for unsupported types, while loading, or on error.
4
+ * PDF/DOCX libraries are loaded only when needed (lazy) to keep initial bundle smaller.
5
+ */
6
+ export declare function usePdfPreview(src: string | undefined, fileName: string): string | null;