@kopexa/tiptap 17.0.17 → 17.2.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.
- package/dist/chunk-2U5CQUZH.mjs +91 -0
- package/dist/chunk-2V6VOAPI.mjs +139 -0
- package/dist/chunk-32SUXCAQ.mjs +115 -0
- package/dist/chunk-3VRQUYYW.mjs +169 -0
- package/dist/chunk-4CDZ547I.mjs +185 -0
- package/dist/chunk-5GFFTVMZ.mjs +62 -0
- package/dist/{chunk-FJAGUXEO.mjs → chunk-7SRL3P4B.mjs} +32 -19
- package/dist/{chunk-WHJ4B43N.mjs → chunk-7VGROP26.mjs} +69 -25
- package/dist/chunk-7VW67NVL.mjs +80 -0
- package/dist/chunk-BXHPO3T7.mjs +152 -0
- package/dist/{chunk-QF3YHPWM.mjs → chunk-E5NW3MJZ.mjs} +4 -4
- package/dist/chunk-FRJX2F4T.mjs +55 -0
- package/dist/chunk-IFXRPGIJ.mjs +98 -0
- package/dist/chunk-JCV5SEKN.mjs +65 -0
- package/dist/chunk-LMCQMSW2.mjs +345 -0
- package/dist/chunk-N4CT5RNC.mjs +123 -0
- package/dist/{chunk-B2DHYFSH.mjs → chunk-NEHW62L7.mjs} +56 -3
- package/dist/chunk-NSYSECKW.mjs +53 -0
- package/dist/{chunk-3IKIIRV3.mjs → chunk-QAE2D4KV.mjs} +39 -16
- package/dist/chunk-TAM3VMJT.mjs +80 -0
- package/dist/chunk-UU6JK5HX.mjs +257 -0
- package/dist/chunk-UVHVCION.mjs +168 -0
- package/dist/chunk-VF3G2URZ.mjs +83 -0
- package/dist/chunk-VRQ6OSAZ.mjs +76 -0
- package/dist/chunk-WAAH3NLG.mjs +77 -0
- package/dist/chunk-XNDXYI2N.mjs +158 -0
- package/dist/context/editor-file-context.d.mts +70 -0
- package/dist/context/editor-file-context.d.ts +70 -0
- package/dist/context/editor-file-context.js +96 -0
- package/dist/context/editor-file-context.mjs +12 -0
- package/dist/extensions/callout/callout-settings.d.mts +13 -0
- package/dist/extensions/callout/callout-settings.d.ts +13 -0
- package/dist/extensions/callout/callout-settings.js +206 -0
- package/dist/extensions/callout/callout-settings.mjs +9 -0
- package/dist/extensions/callout/callout-view.d.mts +12 -0
- package/dist/extensions/callout/callout-view.d.ts +12 -0
- package/dist/extensions/callout/callout-view.js +273 -0
- package/dist/extensions/callout/callout-view.mjs +12 -0
- package/dist/extensions/callout/index.d.mts +44 -0
- package/dist/extensions/callout/index.d.ts +44 -0
- package/dist/extensions/callout/index.js +380 -0
- package/dist/extensions/callout/index.mjs +13 -0
- package/dist/extensions/callout/messages.d.mts +59 -0
- package/dist/extensions/callout/messages.d.ts +59 -0
- package/dist/extensions/callout/messages.js +88 -0
- package/dist/extensions/callout/messages.mjs +7 -0
- package/dist/extensions/image/image-view.d.mts +15 -0
- package/dist/extensions/image/image-view.d.ts +15 -0
- package/dist/extensions/image/image-view.js +423 -0
- package/dist/extensions/image/image-view.mjs +12 -0
- package/dist/extensions/image/index.d.mts +66 -0
- package/dist/extensions/image/index.d.ts +66 -0
- package/dist/extensions/image/index.js +495 -0
- package/dist/extensions/image/index.mjs +16 -0
- package/dist/extensions/image/messages.d.mts +56 -0
- package/dist/extensions/image/messages.d.ts +56 -0
- package/dist/extensions/image/messages.js +85 -0
- package/dist/extensions/image/messages.mjs +7 -0
- package/dist/extensions/math/index.d.mts +38 -0
- package/dist/extensions/math/index.d.ts +38 -0
- package/dist/extensions/math/index.js +544 -0
- package/dist/extensions/math/index.mjs +17 -0
- package/dist/extensions/math/inline-math-view.d.mts +12 -0
- package/dist/extensions/math/inline-math-view.d.ts +12 -0
- package/dist/extensions/math/inline-math-view.js +232 -0
- package/dist/extensions/math/inline-math-view.mjs +11 -0
- package/dist/extensions/math/inline-math.d.mts +32 -0
- package/dist/extensions/math/inline-math.d.ts +32 -0
- package/dist/extensions/math/inline-math.js +304 -0
- package/dist/extensions/math/inline-math.mjs +12 -0
- package/dist/extensions/math/math-block-view.d.mts +11 -0
- package/dist/extensions/math/math-block-view.d.ts +11 -0
- package/dist/extensions/math/math-block-view.js +248 -0
- package/dist/extensions/math/math-block-view.mjs +11 -0
- package/dist/extensions/math/messages.d.mts +49 -0
- package/dist/extensions/math/messages.d.ts +49 -0
- package/dist/extensions/math/messages.js +78 -0
- package/dist/extensions/math/messages.mjs +7 -0
- package/dist/extensions/toc/index.d.mts +53 -0
- package/dist/extensions/toc/index.d.ts +53 -0
- package/dist/extensions/toc/index.js +501 -0
- package/dist/extensions/toc/index.mjs +13 -0
- package/dist/extensions/toc/messages.d.mts +74 -0
- package/dist/extensions/toc/messages.d.ts +74 -0
- package/dist/extensions/toc/messages.js +103 -0
- package/dist/extensions/toc/messages.mjs +7 -0
- package/dist/extensions/toc/toc-settings.d.mts +13 -0
- package/dist/extensions/toc/toc-settings.d.ts +13 -0
- package/dist/extensions/toc/toc-settings.js +283 -0
- package/dist/extensions/toc/toc-settings.mjs +9 -0
- package/dist/extensions/toc/toc-view.d.mts +12 -0
- package/dist/extensions/toc/toc-view.d.ts +12 -0
- package/dist/extensions/toc/toc-view.js +411 -0
- package/dist/extensions/toc/toc-view.mjs +12 -0
- package/dist/hooks/use-create-editor.d.mts +20 -2
- package/dist/hooks/use-create-editor.d.ts +20 -2
- package/dist/hooks/use-create-editor.js +2020 -20
- package/dist/hooks/use-create-editor.mjs +20 -3
- package/dist/index.d.mts +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.js +3948 -1563
- package/dist/index.mjs +64 -23
- package/dist/presets/basic/editor-header.d.mts +3 -2
- package/dist/presets/basic/editor-header.d.ts +3 -2
- package/dist/presets/basic/editor-header.js +91 -25
- package/dist/presets/basic/editor-header.mjs +14 -14
- package/dist/presets/basic/index.d.mts +3 -1
- package/dist/presets/basic/index.d.ts +3 -1
- package/dist/presets/basic/index.js +3833 -1517
- package/dist/presets/basic/index.mjs +41 -22
- package/dist/ui/bubble-menu/index.d.mts +13 -0
- package/dist/ui/bubble-menu/index.d.ts +13 -0
- package/dist/ui/bubble-menu/index.js +671 -0
- package/dist/ui/bubble-menu/index.mjs +16 -0
- package/dist/ui/color-highlight-popover/color-highlight-popover.mjs +2 -2
- package/dist/ui/color-highlight-popover/index.mjs +2 -2
- package/dist/ui/copy-anchor-link-button/use-scroll-to-hash.mjs +2 -2
- package/dist/ui/link-bubble/index.d.mts +13 -0
- package/dist/ui/link-bubble/index.d.ts +13 -0
- package/dist/ui/link-bubble/index.js +182 -0
- package/dist/ui/link-bubble/index.mjs +10 -0
- package/dist/ui/link-popover/index.js +66 -23
- package/dist/ui/link-popover/index.mjs +3 -3
- package/dist/ui/link-popover/link-popover.d.mts +7 -2
- package/dist/ui/link-popover/link-popover.d.ts +7 -2
- package/dist/ui/link-popover/link-popover.js +66 -23
- package/dist/ui/link-popover/link-popover.mjs +3 -3
- package/dist/ui/link-popover/use-link-popover.mjs +2 -2
- package/dist/ui/slash-dropdown-menu/index.js +53 -3
- package/dist/ui/slash-dropdown-menu/index.mjs +6 -6
- package/dist/ui/slash-dropdown-menu/slash-dropdown-menu.js +53 -3
- package/dist/ui/slash-dropdown-menu/slash-dropdown-menu.mjs +4 -4
- package/dist/ui/slash-dropdown-menu/use-slash-dropdown-menu.d.mts +28 -0
- package/dist/ui/slash-dropdown-menu/use-slash-dropdown-menu.d.ts +28 -0
- package/dist/ui/slash-dropdown-menu/use-slash-dropdown-menu.js +53 -3
- package/dist/ui/slash-dropdown-menu/use-slash-dropdown-menu.mjs +1 -1
- package/dist/ui/suggestion-menu/index.mjs +2 -2
- package/dist/ui/suggestion-menu/suggestion-menu.mjs +2 -2
- package/dist/utils/safe-parse.js +113 -4
- package/dist/utils/safe-parse.mjs +1 -1
- package/package.json +48 -39
- package/dist/chunk-7LHOYNVF.mjs +0 -60
- package/dist/chunk-LXOLVGLW.mjs +0 -131
- package/dist/{chunk-XL5FS7LN.mjs → chunk-C5RQWJKE.mjs} +3 -3
- package/dist/{chunk-JNL4KY45.mjs → chunk-DZLGLP7R.mjs} +3 -3
- package/dist/{chunk-LHXRE26G.mjs → chunk-VTKJPVNM.mjs} +3 -3
- package/dist/{chunk-XLSZK3WJ.mjs → chunk-ZYFCSR3E.mjs} +3 -3
|
@@ -2,58 +2,77 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import {
|
|
4
4
|
BasicEditor
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-7SRL3P4B.mjs";
|
|
6
6
|
import "../../chunk-MNTOOEHA.mjs";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-B2DHYFSH.mjs";
|
|
7
|
+
import "../../chunk-E5NW3MJZ.mjs";
|
|
9
8
|
import "../../chunk-HLLA2HRV.mjs";
|
|
10
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-ZYFCSR3E.mjs";
|
|
11
10
|
import "../../chunk-CNVACBGT.mjs";
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
11
|
+
import "../../chunk-NEHW62L7.mjs";
|
|
12
|
+
import "../../chunk-XNDXYI2N.mjs";
|
|
13
|
+
import "../../chunk-DZLGLP7R.mjs";
|
|
14
|
+
import "../../chunk-QAE2D4KV.mjs";
|
|
15
|
+
import "../../chunk-Y2KSWMG5.mjs";
|
|
16
|
+
import "../../chunk-2SI7MRAE.mjs";
|
|
17
|
+
import "../../chunk-ZVTJ6XD7.mjs";
|
|
14
18
|
import "../../chunk-VX3HSJ76.mjs";
|
|
15
19
|
import "../../chunk-4ALV4UA5.mjs";
|
|
16
20
|
import "../../chunk-GYIYX2JH.mjs";
|
|
17
21
|
import "../../chunk-IQERE7KP.mjs";
|
|
18
|
-
import "../../chunk-
|
|
19
|
-
import "../../chunk-2SI7MRAE.mjs";
|
|
20
|
-
import "../../chunk-ZVTJ6XD7.mjs";
|
|
22
|
+
import "../../chunk-Q7DFJ5NI.mjs";
|
|
21
23
|
import "../../chunk-YJAHZXLG.mjs";
|
|
22
24
|
import "../../chunk-V6TAZMQN.mjs";
|
|
23
|
-
import "../../chunk-
|
|
24
|
-
import "../../chunk-
|
|
25
|
-
import "../../chunk-LHXRE26G.mjs";
|
|
26
|
-
import "../../chunk-Q7DFJ5NI.mjs";
|
|
25
|
+
import "../../chunk-EHY2NAW7.mjs";
|
|
26
|
+
import "../../chunk-33QD5PYJ.mjs";
|
|
27
27
|
import "../../chunk-IOB3REX6.mjs";
|
|
28
|
-
import "../../chunk-
|
|
28
|
+
import "../../chunk-ATRHILCH.mjs";
|
|
29
29
|
import "../../chunk-TLM5ALHZ.mjs";
|
|
30
|
-
import "../../chunk-
|
|
30
|
+
import "../../chunk-C5RQWJKE.mjs";
|
|
31
31
|
import "../../chunk-2Z2QVW67.mjs";
|
|
32
32
|
import "../../chunk-B7WJOQ3X.mjs";
|
|
33
33
|
import "../../chunk-UJ4BNZ63.mjs";
|
|
34
|
-
import "../../chunk-EHY2NAW7.mjs";
|
|
35
|
-
import "../../chunk-33QD5PYJ.mjs";
|
|
36
34
|
import "../../chunk-F73FCUD5.mjs";
|
|
37
35
|
import "../../chunk-W2FLOOJ6.mjs";
|
|
38
36
|
import "../../chunk-ZZ4OU46C.mjs";
|
|
39
|
-
import "../../chunk-
|
|
37
|
+
import "../../chunk-NSYSECKW.mjs";
|
|
38
|
+
import "../../chunk-LNVWG34E.mjs";
|
|
39
|
+
import "../../chunk-LVNUU67N.mjs";
|
|
40
|
+
import "../../chunk-7VGROP26.mjs";
|
|
41
|
+
import "../../chunk-VTKJPVNM.mjs";
|
|
40
42
|
import "../../chunk-OEVR5N7X.mjs";
|
|
41
43
|
import "../../chunk-BEV5U2DK.mjs";
|
|
44
|
+
import "../../chunk-P55PLOHR.mjs";
|
|
42
45
|
import "../../chunk-BXJYNSWQ.mjs";
|
|
43
46
|
import "../../chunk-TZQQ6C2Q.mjs";
|
|
44
47
|
import "../../chunk-REJEJXOZ.mjs";
|
|
45
|
-
import "../../chunk-
|
|
46
|
-
import "../../chunk-7LHOYNVF.mjs";
|
|
47
|
-
import "../../chunk-YLDL3VYY.mjs";
|
|
48
|
+
import "../../chunk-UU6JK5HX.mjs";
|
|
48
49
|
import "../../chunk-U5XAL46P.mjs";
|
|
50
|
+
import "../../chunk-IFXRPGIJ.mjs";
|
|
51
|
+
import "../../chunk-2V6VOAPI.mjs";
|
|
52
|
+
import "../../chunk-4CDZ547I.mjs";
|
|
53
|
+
import "../../chunk-TAM3VMJT.mjs";
|
|
49
54
|
import "../../chunk-H6LC4LDQ.mjs";
|
|
55
|
+
import "../../chunk-WAAH3NLG.mjs";
|
|
56
|
+
import "../../chunk-LMCQMSW2.mjs";
|
|
57
|
+
import "../../chunk-5GFFTVMZ.mjs";
|
|
58
|
+
import "../../chunk-YLDL3VYY.mjs";
|
|
59
|
+
import "../../chunk-2U5CQUZH.mjs";
|
|
60
|
+
import "../../chunk-UVHVCION.mjs";
|
|
61
|
+
import "../../chunk-7VW67NVL.mjs";
|
|
62
|
+
import "../../chunk-BXHPO3T7.mjs";
|
|
63
|
+
import "../../chunk-FRJX2F4T.mjs";
|
|
50
64
|
import "../../chunk-KR42JAVB.mjs";
|
|
65
|
+
import "../../chunk-3VRQUYYW.mjs";
|
|
66
|
+
import "../../chunk-32SUXCAQ.mjs";
|
|
67
|
+
import "../../chunk-VF3G2URZ.mjs";
|
|
68
|
+
import "../../chunk-N4CT5RNC.mjs";
|
|
69
|
+
import "../../chunk-JCV5SEKN.mjs";
|
|
70
|
+
import "../../chunk-VRQ6OSAZ.mjs";
|
|
51
71
|
import "../../chunk-R2GM4A3T.mjs";
|
|
52
72
|
import "../../chunk-DT7ML2P4.mjs";
|
|
53
73
|
import "../../chunk-KK4K43WM.mjs";
|
|
54
74
|
import "../../chunk-TDFS3DCZ.mjs";
|
|
55
75
|
import "../../chunk-42HKGCOO.mjs";
|
|
56
|
-
import "../../chunk-P55PLOHR.mjs";
|
|
57
76
|
export {
|
|
58
77
|
BasicEditor
|
|
59
78
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { Editor } from '@tiptap/react';
|
|
3
|
+
|
|
4
|
+
interface BubbleMenuProps {
|
|
5
|
+
editor: Editor | null;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* BubbleMenu appears when text is selected.
|
|
9
|
+
* Provides quick formatting options including link creation.
|
|
10
|
+
*/
|
|
11
|
+
declare function BubbleMenu({ editor }: BubbleMenuProps): react_jsx_runtime.JSX.Element | null;
|
|
12
|
+
|
|
13
|
+
export { BubbleMenu, type BubbleMenuProps, BubbleMenu as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { Editor } from '@tiptap/react';
|
|
3
|
+
|
|
4
|
+
interface BubbleMenuProps {
|
|
5
|
+
editor: Editor | null;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* BubbleMenu appears when text is selected.
|
|
9
|
+
* Provides quick formatting options including link creation.
|
|
10
|
+
*/
|
|
11
|
+
declare function BubbleMenu({ editor }: BubbleMenuProps): react_jsx_runtime.JSX.Element | null;
|
|
12
|
+
|
|
13
|
+
export { BubbleMenu, type BubbleMenuProps, BubbleMenu as default };
|