@kopexa/tiptap 13.0.3 → 14.0.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-OZWCQMRA.mjs → chunk-3IKIIRV3.mjs} +2 -1
- package/dist/{chunk-WPRDVMPN.mjs → chunk-V6TWVA23.mjs} +1 -1
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -2
- package/dist/presets/basic/editor-header.js +2 -1
- package/dist/presets/basic/editor-header.mjs +1 -1
- package/dist/presets/basic/index.js +2 -1
- package/dist/presets/basic/index.mjs +2 -2
- package/package.json +20 -20
|
@@ -72,7 +72,7 @@ var EditorHeader = ({ editor: providedEditor }) => {
|
|
|
72
72
|
if (!(editor == null ? void 0 : editor.isEditable)) {
|
|
73
73
|
return null;
|
|
74
74
|
}
|
|
75
|
-
return /* @__PURE__ */ jsx("div", { className: styles.
|
|
75
|
+
return /* @__PURE__ */ jsx("div", { className: styles.toolbarContainer(), "data-slot": "editor-toolbar", children: /* @__PURE__ */ jsx(
|
|
76
76
|
Toolbar,
|
|
77
77
|
{
|
|
78
78
|
sticky: true,
|
|
@@ -81,6 +81,7 @@ var EditorHeader = ({ editor: providedEditor }) => {
|
|
|
81
81
|
style: isMobile ? {
|
|
82
82
|
bottom: `calc(100% - ${windowSize.height - bodyRect.y}px)`
|
|
83
83
|
} : {},
|
|
84
|
+
className: styles.toolbar(),
|
|
84
85
|
children: /* @__PURE__ */ jsx(MainToolbarContent, {})
|
|
85
86
|
}
|
|
86
87
|
) });
|
package/dist/index.js
CHANGED
|
@@ -3862,7 +3862,7 @@ var EditorHeader = ({ editor: providedEditor }) => {
|
|
|
3862
3862
|
if (!(editor == null ? void 0 : editor.isEditable)) {
|
|
3863
3863
|
return null;
|
|
3864
3864
|
}
|
|
3865
|
-
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: styles.
|
|
3865
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: styles.toolbarContainer(), "data-slot": "editor-toolbar", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
3866
3866
|
import_toolbar9.Toolbar,
|
|
3867
3867
|
{
|
|
3868
3868
|
sticky: true,
|
|
@@ -3871,6 +3871,7 @@ var EditorHeader = ({ editor: providedEditor }) => {
|
|
|
3871
3871
|
style: isMobile ? {
|
|
3872
3872
|
bottom: `calc(100% - ${windowSize.height - bodyRect.y}px)`
|
|
3873
3873
|
} : {},
|
|
3874
|
+
className: styles.toolbar(),
|
|
3874
3875
|
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(MainToolbarContent, {})
|
|
3875
3876
|
}
|
|
3876
3877
|
) });
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
BasicEditor
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-V6TWVA23.mjs";
|
|
5
5
|
import "./chunk-MNTOOEHA.mjs";
|
|
6
6
|
import "./chunk-QF3YHPWM.mjs";
|
|
7
7
|
import "./chunk-B2DHYFSH.mjs";
|
|
@@ -9,7 +9,7 @@ import "./chunk-HLLA2HRV.mjs";
|
|
|
9
9
|
import "./chunk-XLSZK3WJ.mjs";
|
|
10
10
|
import "./chunk-CNVACBGT.mjs";
|
|
11
11
|
import "./chunk-JNL4KY45.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-3IKIIRV3.mjs";
|
|
13
13
|
import "./chunk-VX3HSJ76.mjs";
|
|
14
14
|
import "./chunk-4ALV4UA5.mjs";
|
|
15
15
|
import "./chunk-GYIYX2JH.mjs";
|
|
@@ -2541,7 +2541,7 @@ var EditorHeader = ({ editor: providedEditor }) => {
|
|
|
2541
2541
|
if (!(editor == null ? void 0 : editor.isEditable)) {
|
|
2542
2542
|
return null;
|
|
2543
2543
|
}
|
|
2544
|
-
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: styles.
|
|
2544
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: styles.toolbarContainer(), "data-slot": "editor-toolbar", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
2545
2545
|
import_toolbar9.Toolbar,
|
|
2546
2546
|
{
|
|
2547
2547
|
sticky: true,
|
|
@@ -2550,6 +2550,7 @@ var EditorHeader = ({ editor: providedEditor }) => {
|
|
|
2550
2550
|
style: isMobile ? {
|
|
2551
2551
|
bottom: `calc(100% - ${windowSize.height - bodyRect.y}px)`
|
|
2552
2552
|
} : {},
|
|
2553
|
+
className: styles.toolbar(),
|
|
2553
2554
|
children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(MainToolbarContent, {})
|
|
2554
2555
|
}
|
|
2555
2556
|
) });
|
|
@@ -3811,7 +3811,7 @@ var EditorHeader = ({ editor: providedEditor }) => {
|
|
|
3811
3811
|
if (!(editor == null ? void 0 : editor.isEditable)) {
|
|
3812
3812
|
return null;
|
|
3813
3813
|
}
|
|
3814
|
-
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: styles.
|
|
3814
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: styles.toolbarContainer(), "data-slot": "editor-toolbar", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
3815
3815
|
import_toolbar9.Toolbar,
|
|
3816
3816
|
{
|
|
3817
3817
|
sticky: true,
|
|
@@ -3820,6 +3820,7 @@ var EditorHeader = ({ editor: providedEditor }) => {
|
|
|
3820
3820
|
style: isMobile ? {
|
|
3821
3821
|
bottom: `calc(100% - ${windowSize.height - bodyRect.y}px)`
|
|
3822
3822
|
} : {},
|
|
3823
|
+
className: styles.toolbar(),
|
|
3823
3824
|
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(MainToolbarContent, {})
|
|
3824
3825
|
}
|
|
3825
3826
|
) });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import {
|
|
4
4
|
BasicEditor
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-V6TWVA23.mjs";
|
|
6
6
|
import "../../chunk-MNTOOEHA.mjs";
|
|
7
7
|
import "../../chunk-QF3YHPWM.mjs";
|
|
8
8
|
import "../../chunk-B2DHYFSH.mjs";
|
|
@@ -10,7 +10,7 @@ import "../../chunk-HLLA2HRV.mjs";
|
|
|
10
10
|
import "../../chunk-XLSZK3WJ.mjs";
|
|
11
11
|
import "../../chunk-CNVACBGT.mjs";
|
|
12
12
|
import "../../chunk-JNL4KY45.mjs";
|
|
13
|
-
import "../../chunk-
|
|
13
|
+
import "../../chunk-3IKIIRV3.mjs";
|
|
14
14
|
import "../../chunk-VX3HSJ76.mjs";
|
|
15
15
|
import "../../chunk-4ALV4UA5.mjs";
|
|
16
16
|
import "../../chunk-GYIYX2JH.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopexa/tiptap",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"description": "our tiptap components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tiptap"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"motion": ">=12.23.6",
|
|
29
29
|
"react": ">=19.0.0-rc.0",
|
|
30
30
|
"react-dom": ">=19.0.0-rc.0",
|
|
31
|
-
"@kopexa/theme": "
|
|
31
|
+
"@kopexa/theme": "14.0.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@floating-ui/dom": "^1.7.4",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@tiptap/extension-list": "^3.6.2",
|
|
42
42
|
"@tiptap/extension-subscript": "^3.6.2",
|
|
43
43
|
"@tiptap/extension-superscript": "^3.6.2",
|
|
44
|
-
"@tiptap/extension-table-of-contents": "^3.6.
|
|
44
|
+
"@tiptap/extension-table-of-contents": "^3.6.2",
|
|
45
45
|
"@tiptap/extension-task-item": "^3.6.2",
|
|
46
46
|
"@tiptap/extension-task-list": "^3.6.2",
|
|
47
47
|
"@tiptap/extension-text-align": "^3.6.2",
|
|
@@ -57,23 +57,23 @@
|
|
|
57
57
|
"markdown-it": "^14.1.0",
|
|
58
58
|
"react-hotkeys-hook": "^5.1.0",
|
|
59
59
|
"react-intl": "^7.1.11",
|
|
60
|
-
"@kopexa/button": "
|
|
61
|
-
"@kopexa/chip": "
|
|
62
|
-
"@kopexa/dropdown-menu": "
|
|
63
|
-
"@kopexa/editor-utils": "
|
|
64
|
-
"@kopexa/extension-
|
|
65
|
-
"@kopexa/extension-
|
|
66
|
-
"@kopexa/
|
|
67
|
-
"@kopexa/
|
|
68
|
-
"@kopexa/
|
|
69
|
-
"@kopexa/
|
|
70
|
-
"@kopexa/
|
|
71
|
-
"@kopexa/
|
|
72
|
-
"@kopexa/
|
|
73
|
-
"@kopexa/
|
|
74
|
-
"@kopexa/
|
|
75
|
-
"@kopexa/use-
|
|
76
|
-
"@kopexa/
|
|
60
|
+
"@kopexa/button": "14.0.0",
|
|
61
|
+
"@kopexa/chip": "14.0.0",
|
|
62
|
+
"@kopexa/dropdown-menu": "14.0.0",
|
|
63
|
+
"@kopexa/editor-utils": "14.0.0",
|
|
64
|
+
"@kopexa/extension-code": "14.0.0",
|
|
65
|
+
"@kopexa/extension-controlref": "14.0.0",
|
|
66
|
+
"@kopexa/extension-table": "14.0.0",
|
|
67
|
+
"@kopexa/icons": "14.0.0",
|
|
68
|
+
"@kopexa/input": "14.0.0",
|
|
69
|
+
"@kopexa/popover": "14.0.0",
|
|
70
|
+
"@kopexa/react-utils": "14.0.0",
|
|
71
|
+
"@kopexa/separator": "14.0.0",
|
|
72
|
+
"@kopexa/shared-utils": "14.0.0",
|
|
73
|
+
"@kopexa/tabs": "14.0.0",
|
|
74
|
+
"@kopexa/toolbar": "14.0.0",
|
|
75
|
+
"@kopexa/use-composed-ref": "14.0.0",
|
|
76
|
+
"@kopexa/use-is-mobile": "14.0.0"
|
|
77
77
|
},
|
|
78
78
|
"clean-package": "../../../clean-package.config.json",
|
|
79
79
|
"module": "dist/index.mjs",
|