@fileverse-dev/ddoc 4.1.11 → 4.1.12-menubar-3
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/{index-rpz9D-nF.mjs → index-BWdjUdQy.mjs} +1 -1
- package/dist/{index-BhAjJb8w.mjs → index-DwLAI_Ie.mjs} +24205 -23910
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +4 -3
- package/dist/{markdown-source-pane-DTszGHF9.mjs → markdown-source-pane-D6jRN_JD.mjs} +2 -2
- package/dist/package/components/editor-utils.d.ts +1 -25
- package/dist/package/hooks/use-editor-commands.d.ts +20 -0
- package/dist/package/hooks/use-focus-mode.d.ts +6 -1
- package/dist/package/hooks/use-headless-editor.d.ts +9 -1
- package/dist/package/types.d.ts +7 -1
- package/dist/package/utils/insert-commands.d.ts +20 -0
- package/dist/package/utils/typography.d.ts +26 -0
- package/dist/{split-view-toolbar-Bpk4iUtd.mjs → split-view-toolbar-D4bIgxWm.mjs} +2 -2
- package/dist/style.css +1 -1
- package/package.json +9 -4
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@fileverse-dev/ddoc",
|
|
3
3
|
"private": false,
|
|
4
4
|
"description": "DDoc",
|
|
5
|
-
"version": "4.1.
|
|
5
|
+
"version": "4.1.12-menubar-3",
|
|
6
6
|
"main": "dist/index.es.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
8
8
|
"exports": {
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
|
|
26
26
|
"preview": "vite preview",
|
|
27
27
|
"prepare": "husky install",
|
|
28
|
-
"build:watch": "vite build --watch"
|
|
28
|
+
"build:watch": "vite build --watch",
|
|
29
|
+
"test": "vitest run"
|
|
29
30
|
},
|
|
30
31
|
"lint-staged": {
|
|
31
32
|
"**/*.{js,jsx,ts,tsx}": [
|
|
@@ -130,13 +131,15 @@
|
|
|
130
131
|
"@dnd-kit/utilities": ">=3.2.2",
|
|
131
132
|
"@fileverse/crypto": ">=0.0.21",
|
|
132
133
|
"@fileverse/ens": "0.0.4",
|
|
133
|
-
"@fileverse/ui": "5.1.
|
|
134
|
+
"@fileverse/ui": "5.1.10-menubar-7",
|
|
134
135
|
"framer-motion": ">=11.2.10",
|
|
135
136
|
"frimousse": ">=0.3.0",
|
|
136
137
|
"mermaid": "11.14.0",
|
|
137
138
|
"viem": ">=2.35.0"
|
|
138
139
|
},
|
|
139
140
|
"devDependencies": {
|
|
141
|
+
"@testing-library/jest-dom": "^6.4.0",
|
|
142
|
+
"@testing-library/react": "^16.0.0",
|
|
140
143
|
"@types/dompurify": "^3.0.5",
|
|
141
144
|
"@types/katex": "^0.16.7",
|
|
142
145
|
"@types/markdown-it-footnote": "^3.0.4",
|
|
@@ -155,11 +158,13 @@
|
|
|
155
158
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
156
159
|
"eslint-plugin-react-refresh": "^0.4.4",
|
|
157
160
|
"husky": "^9.1.7",
|
|
161
|
+
"jsdom": "^25.0.0",
|
|
158
162
|
"lint-staged": "^15.2.10",
|
|
159
163
|
"postcss": "^8.4.38",
|
|
160
164
|
"prettier": "^3.4.2",
|
|
161
165
|
"tailwindcss": "^3.4.3",
|
|
162
166
|
"typescript": "^5.2.2",
|
|
163
|
-
"vite": "^5.0.0"
|
|
167
|
+
"vite": "^5.0.0",
|
|
168
|
+
"vitest": "^2.1.0"
|
|
164
169
|
}
|
|
165
170
|
}
|