@zero-library/common 3.1.7 → 3.2.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/index.cjs.js +997 -252
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +650 -35
- package/dist/index.d.ts +650 -35
- package/dist/index.esm.js +982 -253
- package/dist/index.esm.js.map +1 -1
- package/package.json +7 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zero-library/common",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "npm 公用组件 方法 hooks",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
"docx-preview": "^0.3.7",
|
|
83
83
|
"html-react-parser": "^5.2.6",
|
|
84
84
|
"html-to-text": "^9.0.5",
|
|
85
|
+
"i18next": "26.3.6",
|
|
85
86
|
"jsonrepair": "^3.13.0",
|
|
86
87
|
"katex": "^0.16.27",
|
|
87
88
|
"lodash.throttle": "^4.1.1",
|
|
@@ -94,8 +95,8 @@
|
|
|
94
95
|
"pdfjs-dist": "3.2.146",
|
|
95
96
|
"pdfjs-dist-v5": "npm:pdfjs-dist@5.4.296",
|
|
96
97
|
"react-hotkeys-hook": "^5.2.3",
|
|
97
|
-
"
|
|
98
|
-
"
|
|
98
|
+
"react-i18next": "17.0.11",
|
|
99
|
+
"turndown": "^7.2.2"
|
|
99
100
|
},
|
|
100
101
|
"devDependencies": {
|
|
101
102
|
"@ant-design/icons": "^6.2.5",
|
|
@@ -109,10 +110,12 @@
|
|
|
109
110
|
"esbuild-plugin-less": "^1.3.28",
|
|
110
111
|
"react": "^18.3.1",
|
|
111
112
|
"react-dom": "^18.3.1",
|
|
112
|
-
"tsup": "^8.3.0"
|
|
113
|
+
"tsup": "^8.3.0",
|
|
114
|
+
"@zero-library/theme": "3.2.0"
|
|
113
115
|
},
|
|
114
116
|
"peerDependencies": {
|
|
115
117
|
"@ant-design/icons": ">=6",
|
|
118
|
+
"@zero-library/theme": "^3.2",
|
|
116
119
|
"antd": "^6",
|
|
117
120
|
"react": "^18",
|
|
118
121
|
"react-dom": "^18"
|