@zero-library/common 2.2.14 → 2.3.1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@zero-library/common",
3
- "version": "2.2.14",
3
+ "version": "2.3.1",
4
4
  "description": "npm 公用组件 方法 hooks",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,7 +16,9 @@
16
16
  "dist"
17
17
  ],
18
18
  "dependencies": {
19
- "@floating-ui/react": "^0.27.8",
19
+ "@floating-ui/react": "^0.27.16",
20
+ "@radix-ui/react-dropdown-menu": "^2.1.16",
21
+ "@radix-ui/react-popover": "^1.1.15",
20
22
  "@react-pdf-viewer/attachment": "3.11.0",
21
23
  "@react-pdf-viewer/bookmark": "3.11.0",
22
24
  "@react-pdf-viewer/core": "3.11.0",
@@ -39,24 +41,23 @@
39
41
  "@react-pdf-viewer/thumbnail": "3.11.0",
40
42
  "@react-pdf-viewer/toolbar": "3.11.0",
41
43
  "@react-pdf-viewer/zoom": "3.11.0",
42
- "@tiptap/core": "^2.11.9",
43
- "@tiptap/extension-highlight": "^2.11.9",
44
- "@tiptap/extension-image": "^2.11.9",
45
- "@tiptap/extension-link": "^2.11.9",
46
- "@tiptap/extension-subscript": "^2.11.9",
47
- "@tiptap/extension-superscript": "^2.11.9",
48
- "@tiptap/extension-table": "^2.11.9",
49
- "@tiptap/extension-table-cell": "^2.11.9",
50
- "@tiptap/extension-table-header": "^2.11.9",
51
- "@tiptap/extension-table-row": "^2.11.9",
52
- "@tiptap/extension-task-item": "^2.11.9",
53
- "@tiptap/extension-task-list": "^2.11.9",
54
- "@tiptap/extension-text-align": "^2.11.9",
55
- "@tiptap/extension-typography": "^2.11.9",
56
- "@tiptap/extension-underline": "^2.11.9",
57
- "@tiptap/pm": "^2.11.9",
58
- "@tiptap/react": "^2.11.9",
59
- "@tiptap/starter-kit": "^2.11.9",
44
+ "@tanstack/react-virtual": "^3.13.18",
45
+ "@tiptap/core": "^3.15.3",
46
+ "@tiptap/extension-highlight": "^3.15.3",
47
+ "@tiptap/extension-horizontal-rule": "^3.15.3",
48
+ "@tiptap/extension-image": "^3.15.3",
49
+ "@tiptap/extension-list": "^3.15.3",
50
+ "@tiptap/extension-mathematics": "^3.15.3",
51
+ "@tiptap/extension-subscript": "^3.15.3",
52
+ "@tiptap/extension-superscript": "^3.15.3",
53
+ "@tiptap/extension-table": "^3.15.3",
54
+ "@tiptap/extension-text-align": "^3.15.3",
55
+ "@tiptap/extension-typography": "^3.15.3",
56
+ "@tiptap/extensions": "^3.15.3",
57
+ "@tiptap/markdown": "^3.15.3",
58
+ "@tiptap/pm": "^3.15.3",
59
+ "@tiptap/react": "^3.15.3",
60
+ "@tiptap/starter-kit": "^3.15.3",
60
61
  "@traptitech/markdown-it-katex": "^3.6.0",
61
62
  "axios": "^1.5.1",
62
63
  "classnames": "^2.3.2",
@@ -65,23 +66,28 @@
65
66
  "decimal.js": "^10.4.3",
66
67
  "docx-preview": "^0.3.7",
67
68
  "html-react-parser": "^5.2.6",
69
+ "html-to-text": "^9.0.5",
68
70
  "jsonrepair": "^3.13.0",
69
71
  "katex": "^0.16.27",
72
+ "lodash.throttle": "^4.1.1",
70
73
  "markdown-it": "14.1.0",
71
74
  "markdown-it-deflist": "^3.0.0",
72
75
  "markdown-it-emoji": "^3.0.0",
73
76
  "markdown-it-footnote": "^4.0.0",
74
77
  "markdown-it-task-lists": "^2.1.1",
75
78
  "pdfjs-dist": "3.2.146",
76
- "tiptap-markdown": "^0.9.0",
77
- "@zero-library/theme": "2.2.6"
79
+ "react-hotkeys-hook": "^5.2.3",
80
+ "turndown": "^7.2.2",
81
+ "@zero-library/theme": "2.3.0"
78
82
  },
79
83
  "devDependencies": {
80
84
  "@ant-design/icons": "^5.2.6",
81
85
  "@types/crypto-js": "^4.2.2",
86
+ "@types/html-to-text": "^9.0.4",
82
87
  "@types/markdown-it": "14.1.0",
83
88
  "@types/react": "^18",
84
89
  "@types/react-dom": "^18",
90
+ "@types/turndown": "^5.0.6",
85
91
  "antd": "^5.24.1",
86
92
  "esbuild-plugin-less": "^1.3.28",
87
93
  "react": "^18.3.1",