@kopexa/tiptap 17.2.3 → 17.3.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-3ZPLSXTZ.mjs → chunk-ERPGWXFK.mjs} +1 -1
- package/dist/{chunk-ZYFCSR3E.mjs → chunk-L5RDMV3H.mjs} +3 -3
- package/dist/{chunk-NJZK5DRT.mjs → chunk-LWU4F64F.mjs} +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +3 -3
- package/dist/presets/basic/index.js +2 -2
- package/dist/presets/basic/index.mjs +3 -3
- package/dist/ui/slash-dropdown-menu/index.js +2 -2
- package/dist/ui/slash-dropdown-menu/index.mjs +2 -2
- package/dist/ui/slash-dropdown-menu/slash-dropdown-menu.js +2 -2
- package/dist/ui/slash-dropdown-menu/slash-dropdown-menu.mjs +2 -2
- package/dist/ui/suggestion-menu/index.js +2 -2
- package/dist/ui/suggestion-menu/index.mjs +1 -1
- package/dist/ui/suggestion-menu/suggestion-menu.js +2 -2
- package/dist/ui/suggestion-menu/suggestion-menu.mjs +1 -1
- package/package.json +24 -24
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-42HKGCOO.mjs";
|
|
14
14
|
|
|
15
15
|
// src/ui/suggestion-menu/suggestion-menu.tsx
|
|
16
|
-
import { flip, offset, shift, size } from "@floating-ui/react";
|
|
16
|
+
import { FloatingPortal, flip, offset, shift, size } from "@floating-ui/react";
|
|
17
17
|
import { PluginKey } from "@tiptap/pm/state";
|
|
18
18
|
import {
|
|
19
19
|
Suggestion,
|
|
@@ -191,7 +191,7 @@ var SuggestionMenu = ({
|
|
|
191
191
|
if (!isMounted || !show || !editor) {
|
|
192
192
|
return null;
|
|
193
193
|
}
|
|
194
|
-
return /* @__PURE__ */ jsx(
|
|
194
|
+
return /* @__PURE__ */ jsx(FloatingPortal, { children: /* @__PURE__ */ jsx(
|
|
195
195
|
"div",
|
|
196
196
|
{
|
|
197
197
|
ref,
|
|
@@ -208,7 +208,7 @@ var SuggestionMenu = ({
|
|
|
208
208
|
onSelect
|
|
209
209
|
})
|
|
210
210
|
}
|
|
211
|
-
);
|
|
211
|
+
) });
|
|
212
212
|
};
|
|
213
213
|
|
|
214
214
|
export {
|
package/dist/index.js
CHANGED
|
@@ -3993,7 +3993,7 @@ var SuggestionMenu = ({
|
|
|
3993
3993
|
if (!isMounted || !show || !editor) {
|
|
3994
3994
|
return null;
|
|
3995
3995
|
}
|
|
3996
|
-
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
3996
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react36.FloatingPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
3997
3997
|
"div",
|
|
3998
3998
|
{
|
|
3999
3999
|
ref,
|
|
@@ -4010,7 +4010,7 @@ var SuggestionMenu = ({
|
|
|
4010
4010
|
onSelect
|
|
4011
4011
|
})
|
|
4012
4012
|
}
|
|
4013
|
-
);
|
|
4013
|
+
) });
|
|
4014
4014
|
};
|
|
4015
4015
|
|
|
4016
4016
|
// src/ui/slash-dropdown-menu/use-slash-dropdown-menu.ts
|
package/dist/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
BasicEditor
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LWU4F64F.mjs";
|
|
5
5
|
import "./chunk-MNTOOEHA.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-ERPGWXFK.mjs";
|
|
7
7
|
import "./chunk-6552DQWB.mjs";
|
|
8
8
|
import "./chunk-HLLA2HRV.mjs";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-L5RDMV3H.mjs";
|
|
10
10
|
import "./chunk-CNVACBGT.mjs";
|
|
11
11
|
import "./chunk-DZLGLP7R.mjs";
|
|
12
12
|
import "./chunk-XNDXYI2N.mjs";
|
|
@@ -3880,7 +3880,7 @@ var SuggestionMenu = ({
|
|
|
3880
3880
|
if (!isMounted || !show || !editor) {
|
|
3881
3881
|
return null;
|
|
3882
3882
|
}
|
|
3883
|
-
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
3883
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react36.FloatingPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
3884
3884
|
"div",
|
|
3885
3885
|
{
|
|
3886
3886
|
ref,
|
|
@@ -3897,7 +3897,7 @@ var SuggestionMenu = ({
|
|
|
3897
3897
|
onSelect
|
|
3898
3898
|
})
|
|
3899
3899
|
}
|
|
3900
|
-
);
|
|
3900
|
+
) });
|
|
3901
3901
|
};
|
|
3902
3902
|
|
|
3903
3903
|
// src/ui/slash-dropdown-menu/use-slash-dropdown-menu.ts
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import {
|
|
4
4
|
BasicEditor
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-LWU4F64F.mjs";
|
|
6
6
|
import "../../chunk-MNTOOEHA.mjs";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-ERPGWXFK.mjs";
|
|
8
8
|
import "../../chunk-6552DQWB.mjs";
|
|
9
9
|
import "../../chunk-HLLA2HRV.mjs";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-L5RDMV3H.mjs";
|
|
11
11
|
import "../../chunk-CNVACBGT.mjs";
|
|
12
12
|
import "../../chunk-DZLGLP7R.mjs";
|
|
13
13
|
import "../../chunk-XNDXYI2N.mjs";
|
|
@@ -468,7 +468,7 @@ var SuggestionMenu = ({
|
|
|
468
468
|
if (!isMounted || !show || !editor) {
|
|
469
469
|
return null;
|
|
470
470
|
}
|
|
471
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
471
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react4.FloatingPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
472
472
|
"div",
|
|
473
473
|
{
|
|
474
474
|
ref,
|
|
@@ -485,7 +485,7 @@ var SuggestionMenu = ({
|
|
|
485
485
|
onSelect
|
|
486
486
|
})
|
|
487
487
|
}
|
|
488
|
-
);
|
|
488
|
+
) });
|
|
489
489
|
};
|
|
490
490
|
|
|
491
491
|
// src/ui/slash-dropdown-menu/use-slash-dropdown-menu.ts
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import "../../chunk-MNTOOEHA.mjs";
|
|
3
3
|
import {
|
|
4
4
|
SlashDropdownMenu
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-ERPGWXFK.mjs";
|
|
6
6
|
import {
|
|
7
7
|
useSlashDropdownMenu
|
|
8
8
|
} from "../../chunk-6552DQWB.mjs";
|
|
9
9
|
import "../../chunk-HLLA2HRV.mjs";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-L5RDMV3H.mjs";
|
|
11
11
|
import "../../chunk-CNVACBGT.mjs";
|
|
12
12
|
import "../../chunk-YJAHZXLG.mjs";
|
|
13
13
|
import "../../chunk-P55PLOHR.mjs";
|
|
@@ -466,7 +466,7 @@ var SuggestionMenu = ({
|
|
|
466
466
|
if (!isMounted || !show || !editor) {
|
|
467
467
|
return null;
|
|
468
468
|
}
|
|
469
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
469
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react4.FloatingPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
470
470
|
"div",
|
|
471
471
|
{
|
|
472
472
|
ref,
|
|
@@ -483,7 +483,7 @@ var SuggestionMenu = ({
|
|
|
483
483
|
onSelect
|
|
484
484
|
})
|
|
485
485
|
}
|
|
486
|
-
);
|
|
486
|
+
) });
|
|
487
487
|
};
|
|
488
488
|
|
|
489
489
|
// src/ui/slash-dropdown-menu/use-slash-dropdown-menu.ts
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import {
|
|
4
4
|
SlashDropdownMenu
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-ERPGWXFK.mjs";
|
|
6
6
|
import "../../chunk-6552DQWB.mjs";
|
|
7
7
|
import "../../chunk-HLLA2HRV.mjs";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-L5RDMV3H.mjs";
|
|
9
9
|
import "../../chunk-CNVACBGT.mjs";
|
|
10
10
|
import "../../chunk-YJAHZXLG.mjs";
|
|
11
11
|
import "../../chunk-P55PLOHR.mjs";
|
|
@@ -462,7 +462,7 @@ var SuggestionMenu = ({
|
|
|
462
462
|
if (!isMounted || !show || !editor) {
|
|
463
463
|
return null;
|
|
464
464
|
}
|
|
465
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
465
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react4.FloatingPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
466
466
|
"div",
|
|
467
467
|
{
|
|
468
468
|
ref,
|
|
@@ -479,7 +479,7 @@ var SuggestionMenu = ({
|
|
|
479
479
|
onSelect
|
|
480
480
|
})
|
|
481
481
|
}
|
|
482
|
-
);
|
|
482
|
+
) });
|
|
483
483
|
};
|
|
484
484
|
// Annotate the CommonJS export names for ESM import in node:
|
|
485
485
|
0 && (module.exports = {
|
|
@@ -428,7 +428,7 @@ var SuggestionMenu = ({
|
|
|
428
428
|
if (!isMounted || !show || !editor) {
|
|
429
429
|
return null;
|
|
430
430
|
}
|
|
431
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
431
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react4.FloatingPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
432
432
|
"div",
|
|
433
433
|
{
|
|
434
434
|
ref,
|
|
@@ -445,7 +445,7 @@ var SuggestionMenu = ({
|
|
|
445
445
|
onSelect
|
|
446
446
|
})
|
|
447
447
|
}
|
|
448
|
-
);
|
|
448
|
+
) });
|
|
449
449
|
};
|
|
450
450
|
// Annotate the CommonJS export names for ESM import in node:
|
|
451
451
|
0 && (module.exports = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopexa/tiptap",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.3.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": "17.
|
|
31
|
+
"@kopexa/theme": "17.12.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@floating-ui/dom": "^1.7.4",
|
|
@@ -62,28 +62,28 @@
|
|
|
62
62
|
"markdown-it": "^14.1.0",
|
|
63
63
|
"react-hotkeys-hook": "^5.2.3",
|
|
64
64
|
"react-intl": "^7.1.14",
|
|
65
|
-
"@kopexa/button": "17.0.
|
|
66
|
-
"@kopexa/
|
|
67
|
-
"@kopexa/
|
|
68
|
-
"@kopexa/
|
|
69
|
-
"@kopexa/
|
|
70
|
-
"@kopexa/
|
|
71
|
-
"@kopexa/extension-controlref": "17.1.
|
|
72
|
-
"@kopexa/extension-
|
|
73
|
-
"@kopexa/
|
|
74
|
-
"@kopexa/
|
|
75
|
-
"@kopexa/
|
|
76
|
-
"@kopexa/
|
|
77
|
-
"@kopexa/
|
|
78
|
-
"@kopexa/
|
|
79
|
-
"@kopexa/
|
|
80
|
-
"@kopexa/react-utils": "17.0.
|
|
81
|
-
"@kopexa/
|
|
82
|
-
"@kopexa/
|
|
83
|
-
"@kopexa/
|
|
84
|
-
"@kopexa/
|
|
85
|
-
"@kopexa/use-is-mobile": "17.0.
|
|
86
|
-
"@kopexa/
|
|
65
|
+
"@kopexa/button": "17.0.24",
|
|
66
|
+
"@kopexa/dialog": "17.0.24",
|
|
67
|
+
"@kopexa/callout": "17.0.24",
|
|
68
|
+
"@kopexa/editor-utils": "17.0.24",
|
|
69
|
+
"@kopexa/dropdown-menu": "17.0.24",
|
|
70
|
+
"@kopexa/chip": "17.1.21",
|
|
71
|
+
"@kopexa/extension-controlref": "17.1.6",
|
|
72
|
+
"@kopexa/extension-code": "17.0.24",
|
|
73
|
+
"@kopexa/extension-table": "17.0.24",
|
|
74
|
+
"@kopexa/label": "17.0.24",
|
|
75
|
+
"@kopexa/icons": "17.3.6",
|
|
76
|
+
"@kopexa/popover": "17.0.24",
|
|
77
|
+
"@kopexa/input": "17.0.24",
|
|
78
|
+
"@kopexa/select": "17.0.24",
|
|
79
|
+
"@kopexa/switch": "17.0.24",
|
|
80
|
+
"@kopexa/react-utils": "17.0.24",
|
|
81
|
+
"@kopexa/shared-utils": "17.0.24",
|
|
82
|
+
"@kopexa/tabs": "17.0.24",
|
|
83
|
+
"@kopexa/use-composed-ref": "17.0.24",
|
|
84
|
+
"@kopexa/separator": "17.0.24",
|
|
85
|
+
"@kopexa/use-is-mobile": "17.0.24",
|
|
86
|
+
"@kopexa/toolbar": "17.0.24"
|
|
87
87
|
},
|
|
88
88
|
"clean-package": "../../../clean-package.config.json",
|
|
89
89
|
"module": "dist/index.mjs",
|