reactjs-tiptap-editor 0.1.14 → 0.1.15

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/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "reactjs-tiptap-editor",
3
3
  "type": "module",
4
- "version": "0.1.14",
4
+ "version": "0.1.15",
5
5
  "main": "./lib/index.cjs",
6
6
  "module": "./lib/index.js",
7
7
  "types": "./lib/index.d.ts",
8
8
  "description": "A modern WYSIWYG rich text editor based on tiptap and shadcn ui for React",
9
- "packageManager": "pnpm@9.15.0",
9
+ "packageManager": "pnpm@8.15.9",
10
10
  "exports": {
11
11
  ".": {
12
12
  "import": {
@@ -18,14 +18,24 @@
18
18
  "default": "./lib/index.cjs"
19
19
  }
20
20
  },
21
- "./bundle/full": {
21
+ "./extension-bundle": {
22
22
  "import": {
23
- "types": "./lib/index.d.ts",
24
- "default": "./lib/bundle-full.js"
23
+ "types": "./lib/extension-bundle.d.ts",
24
+ "default": "./lib/extension-bundle.js"
25
25
  },
26
26
  "require": {
27
- "types": "./lib/index.d.cts",
28
- "default": "./lib/bundle-full.cjs"
27
+ "types": "./lib/extension-bundle.d.cts",
28
+ "default": "./lib/extension-bundle.cjs"
29
+ }
30
+ },
31
+ "./locale-bundle": {
32
+ "import": {
33
+ "types": "./lib/locale-bundle.d.ts",
34
+ "default": "./lib/locale-bundle.js"
35
+ },
36
+ "require": {
37
+ "types": "./lib/locale-bundle.d.cts",
38
+ "default": "./lib/locale-bundle.cjs"
29
39
  }
30
40
  },
31
41
  "./style.css": {
@@ -38,8 +48,11 @@
38
48
  },
39
49
  "typesVersions": {
40
50
  "*": {
41
- "bundle/full": [
42
- "./lib/index.d.ts"
51
+ "extension-bundle": [
52
+ "./lib/extension-bundle.d.ts"
53
+ ],
54
+ "locale-bundle": [
55
+ "./lib/locale-bundle.d.ts"
43
56
  ],
44
57
  "*": [
45
58
  "./lib/*",
@@ -59,7 +72,7 @@
59
72
  "node": ">=18.0.0"
60
73
  },
61
74
  "scripts": {
62
- "build:lib": "esno ./scripts/build.ts && pnpm modify-css",
75
+ "build:lib": "vite build && pnpm modify-css",
63
76
  "build:lib:dev": "vite build --mode development --watch",
64
77
  "build:playground": "pnpm build:lib && pnpm --dir ./playground run build",
65
78
  "docs:dev": "pnpm --parallel --filter docs... dev",
@@ -80,69 +93,69 @@
80
93
  },
81
94
  "dependencies": {
82
95
  "@excalidraw/excalidraw": "^0.17.6",
83
- "@radix-ui/react-checkbox": "^1.1.2",
84
- "@radix-ui/react-dialog": "^1.1.2",
85
- "@radix-ui/react-dropdown-menu": "^2.1.2",
96
+ "@radix-ui/react-checkbox": "^1.1.4",
97
+ "@radix-ui/react-dialog": "^1.1.6",
98
+ "@radix-ui/react-dropdown-menu": "^2.1.6",
86
99
  "@radix-ui/react-icons": "^1.3.2",
87
- "@radix-ui/react-label": "^2.1.0",
88
- "@radix-ui/react-popover": "^1.1.2",
89
- "@radix-ui/react-select": "^2.1.2",
90
- "@radix-ui/react-separator": "^1.1.0",
91
- "@radix-ui/react-slot": "^1.1.0",
92
- "@radix-ui/react-switch": "^1.1.1",
93
- "@radix-ui/react-tabs": "^1.1.1",
94
- "@radix-ui/react-toast": "^1.2.2",
95
- "@radix-ui/react-toggle": "^1.1.0",
96
- "@radix-ui/react-tooltip": "^1.1.4",
97
- "@tiptap/core": "^2.10.3",
98
- "@tiptap/extension-blockquote": "^2.10.3",
99
- "@tiptap/extension-bold": "^2.10.3",
100
- "@tiptap/extension-bubble-menu": "^2.10.3",
101
- "@tiptap/extension-bullet-list": "^2.10.3",
102
- "@tiptap/extension-character-count": "^2.10.3",
103
- "@tiptap/extension-code": "^2.10.3",
104
- "@tiptap/extension-code-block": "^2.10.3",
105
- "@tiptap/extension-color": "^2.10.3",
106
- "@tiptap/extension-document": "^2.10.3",
107
- "@tiptap/extension-dropcursor": "^2.10.3",
108
- "@tiptap/extension-focus": "^2.10.3",
109
- "@tiptap/extension-font-family": "^2.10.3",
110
- "@tiptap/extension-gapcursor": "^2.10.3",
111
- "@tiptap/extension-hard-break": "^2.10.3",
112
- "@tiptap/extension-heading": "^2.10.3",
113
- "@tiptap/extension-highlight": "^2.10.3",
114
- "@tiptap/extension-history": "^2.10.3",
115
- "@tiptap/extension-horizontal-rule": "^2.10.3",
116
- "@tiptap/extension-image": "^2.10.3",
117
- "@tiptap/extension-italic": "^2.10.3",
118
- "@tiptap/extension-link": "^2.10.3",
119
- "@tiptap/extension-list-item": "^2.10.3",
120
- "@tiptap/extension-mention": "^2.10.3",
121
- "@tiptap/extension-ordered-list": "^2.10.3",
122
- "@tiptap/extension-paragraph": "^2.10.3",
123
- "@tiptap/extension-placeholder": "^2.10.3",
124
- "@tiptap/extension-strike": "^2.10.3",
125
- "@tiptap/extension-subscript": "^2.10.3",
126
- "@tiptap/extension-superscript": "^2.10.3",
127
- "@tiptap/extension-table": "^2.10.3",
128
- "@tiptap/extension-table-cell": "^2.10.3",
129
- "@tiptap/extension-table-header": "^2.10.3",
130
- "@tiptap/extension-table-row": "^2.10.3",
131
- "@tiptap/extension-task-item": "^2.10.3",
132
- "@tiptap/extension-task-list": "^2.10.3",
133
- "@tiptap/extension-text": "^2.10.3",
134
- "@tiptap/extension-text-align": "^2.10.3",
135
- "@tiptap/extension-text-style": "^2.10.3",
136
- "@tiptap/extension-underline": "^2.10.3",
137
- "@tiptap/pm": "^2.10.3",
138
- "@tiptap/react": "^2.10.3",
139
- "@tiptap/suggestion": "^2.10.3",
100
+ "@radix-ui/react-label": "^2.1.2",
101
+ "@radix-ui/react-popover": "^1.1.6",
102
+ "@radix-ui/react-select": "^2.1.6",
103
+ "@radix-ui/react-separator": "^1.1.2",
104
+ "@radix-ui/react-slot": "^1.1.2",
105
+ "@radix-ui/react-switch": "^1.1.3",
106
+ "@radix-ui/react-tabs": "^1.1.3",
107
+ "@radix-ui/react-toast": "^1.2.6",
108
+ "@radix-ui/react-toggle": "^1.1.2",
109
+ "@radix-ui/react-tooltip": "^1.1.8",
110
+ "@tiptap/core": "^2.11.5",
111
+ "@tiptap/extension-blockquote": "^2.11.5",
112
+ "@tiptap/extension-bold": "^2.11.5",
113
+ "@tiptap/extension-bubble-menu": "^2.11.5",
114
+ "@tiptap/extension-bullet-list": "^2.11.5",
115
+ "@tiptap/extension-character-count": "^2.11.5",
116
+ "@tiptap/extension-code": "^2.11.5",
117
+ "@tiptap/extension-code-block": "^2.11.5",
118
+ "@tiptap/extension-color": "^2.11.5",
119
+ "@tiptap/extension-document": "^2.11.5",
120
+ "@tiptap/extension-dropcursor": "^2.11.5",
121
+ "@tiptap/extension-focus": "^2.11.5",
122
+ "@tiptap/extension-font-family": "^2.11.5",
123
+ "@tiptap/extension-gapcursor": "^2.11.5",
124
+ "@tiptap/extension-hard-break": "^2.11.5",
125
+ "@tiptap/extension-heading": "^2.11.5",
126
+ "@tiptap/extension-highlight": "^2.11.5",
127
+ "@tiptap/extension-history": "^2.11.5",
128
+ "@tiptap/extension-horizontal-rule": "^2.11.5",
129
+ "@tiptap/extension-image": "^2.11.5",
130
+ "@tiptap/extension-italic": "^2.11.5",
131
+ "@tiptap/extension-link": "^2.11.5",
132
+ "@tiptap/extension-list-item": "^2.11.5",
133
+ "@tiptap/extension-mention": "^2.11.5",
134
+ "@tiptap/extension-ordered-list": "^2.11.5",
135
+ "@tiptap/extension-paragraph": "^2.11.5",
136
+ "@tiptap/extension-placeholder": "^2.11.5",
137
+ "@tiptap/extension-strike": "^2.11.5",
138
+ "@tiptap/extension-subscript": "^2.11.5",
139
+ "@tiptap/extension-superscript": "^2.11.5",
140
+ "@tiptap/extension-table": "^2.11.5",
141
+ "@tiptap/extension-table-cell": "^2.11.5",
142
+ "@tiptap/extension-table-header": "^2.11.5",
143
+ "@tiptap/extension-table-row": "^2.11.5",
144
+ "@tiptap/extension-task-item": "^2.11.5",
145
+ "@tiptap/extension-task-list": "^2.11.5",
146
+ "@tiptap/extension-text": "^2.11.5",
147
+ "@tiptap/extension-text-align": "^2.11.5",
148
+ "@tiptap/extension-text-style": "^2.11.5",
149
+ "@tiptap/extension-underline": "^2.11.5",
150
+ "@tiptap/pm": "^2.11.5",
151
+ "@tiptap/react": "^2.11.5",
152
+ "@tiptap/suggestion": "^2.11.5",
140
153
  "class-variance-authority": "^0.7.1",
141
154
  "clsx": "^2.1.1",
142
155
  "deep-equal": "^2.2.3",
143
156
  "docx": "^8.6.0",
144
157
  "echo-drag-handle-plugin": "^0.0.2",
145
- "katex": "^0.16.15",
158
+ "katex": "^0.16.21",
146
159
  "lodash-es": "^4.17.21",
147
160
  "lucide-react": "^0.427.0",
148
161
  "mermaid": "^11.4.1",
@@ -152,48 +165,48 @@
152
165
  "react-image-crop": "^11.0.7",
153
166
  "react-tweet": "^3.2.1",
154
167
  "react-visibility-sensor": "^5.1.1",
155
- "reactjs-signal": "^1.0.3",
168
+ "reactjs-signal": "^1.1.1",
156
169
  "scroll-into-view-if-needed": "^3.1.0",
157
- "shiki": "^1.24.2",
170
+ "shiki": "^1.29.2",
158
171
  "svg64": "^2.0.0",
159
172
  "tippy.js": "^6.3.7"
160
173
  },
161
174
  "devDependencies": {
162
175
  "@antfu/eslint-config": "^2.27.3",
163
- "@eslint-react/eslint-plugin": "^1.19.0",
176
+ "@eslint-react/eslint-plugin": "^1.26.2",
164
177
  "@total-typescript/ts-reset": "^0.5.1",
165
178
  "@types/deep-equal": "^1.0.4",
166
179
  "@types/katex": "^0.16.7",
167
180
  "@types/lodash-es": "^4.17.12",
168
- "@types/node": "^22.10.2",
169
- "@types/react": "^18.3.16",
181
+ "@types/node": "^22.13.4",
182
+ "@types/react": "^18.3.18",
170
183
  "@types/react-dom": "^18.3.5",
171
184
  "@vitejs/plugin-react": "^4.3.4",
172
185
  "autoprefixer": "^10.4.20",
173
- "bumpp": "^9.9.0",
186
+ "bumpp": "^9.11.1",
174
187
  "contributorkit": "^0.0.4",
175
188
  "eslint": "^8.57.1",
176
189
  "eslint-plugin-react-hooks": "^4.6.2",
177
- "eslint-plugin-react-refresh": "^0.4.16",
190
+ "eslint-plugin-react-refresh": "^0.4.19",
178
191
  "esno": "^4.8.0",
179
192
  "execa": "^9.5.2",
180
193
  "git-scm-hooks": "^0.0.11",
181
- "globby": "^14.0.2",
194
+ "globby": "^14.1.0",
182
195
  "mammoth": "^1.9.0",
183
196
  "md5": "^2.3.0",
184
- "postcss": "^8.4.49",
197
+ "postcss": "^8.5.2",
185
198
  "postcss-replace": "^2.0.1",
186
199
  "postcss-scss": "^4.0.9",
187
200
  "react": "^18.3.1",
188
201
  "react-dom": "^18.3.1",
189
- "sass": "^1.82.0",
190
- "tailwind-merge": "^2.5.5",
191
- "tailwindcss": "^3.4.16",
202
+ "sass": "^1.85.0",
203
+ "tailwind-merge": "^2.6.0",
204
+ "tailwindcss": "^3.4.17",
192
205
  "tailwindcss-animate": "^1.0.7",
193
- "typescript": "^5.7.2",
206
+ "typescript": "^5.7.3",
194
207
  "verify-commit-msg": "^0.0.14",
195
- "vite": "^5.4.11",
196
- "vite-plugin-dts": "^4.3.0"
208
+ "vite": "^5.4.14",
209
+ "vite-plugin-dts": "^4.5.0"
197
210
  },
198
211
  "browserslist": [
199
212
  ">0.3%",