@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.
@@ -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.toolbar(), "data-slot": "editor-toolbar", children: /* @__PURE__ */ jsx(
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
  ) });
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-JNL4KY45.mjs";
8
8
  import {
9
9
  EditorHeader
10
- } from "./chunk-OZWCQMRA.mjs";
10
+ } from "./chunk-3IKIIRV3.mjs";
11
11
  import {
12
12
  useUiEditorState
13
13
  } from "./chunk-BXJYNSWQ.mjs";
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.toolbar(), "data-slot": "editor-toolbar", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
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-WPRDVMPN.mjs";
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-OZWCQMRA.mjs";
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.toolbar(), "data-slot": "editor-toolbar", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
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
  ) });
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  EditorHeader,
4
4
  MoreOptions
5
- } from "../../chunk-OZWCQMRA.mjs";
5
+ } from "../../chunk-3IKIIRV3.mjs";
6
6
  import "../../chunk-VX3HSJ76.mjs";
7
7
  import "../../chunk-4ALV4UA5.mjs";
8
8
  import "../../chunk-GYIYX2JH.mjs";
@@ -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.toolbar(), "data-slot": "editor-toolbar", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
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-WPRDVMPN.mjs";
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-OZWCQMRA.mjs";
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": "13.0.3",
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": "13.0.3"
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.1",
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": "13.0.3",
61
- "@kopexa/chip": "13.0.3",
62
- "@kopexa/dropdown-menu": "13.0.3",
63
- "@kopexa/editor-utils": "13.0.3",
64
- "@kopexa/extension-controlref": "13.0.3",
65
- "@kopexa/extension-table": "13.0.3",
66
- "@kopexa/icons": "13.0.3",
67
- "@kopexa/input": "13.0.3",
68
- "@kopexa/popover": "13.0.3",
69
- "@kopexa/react-utils": "13.0.3",
70
- "@kopexa/separator": "13.0.3",
71
- "@kopexa/shared-utils": "13.0.3",
72
- "@kopexa/tabs": "13.0.3",
73
- "@kopexa/toolbar": "13.0.3",
74
- "@kopexa/use-composed-ref": "13.0.3",
75
- "@kopexa/use-is-mobile": "13.0.3",
76
- "@kopexa/extension-code": "13.0.3"
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",