@seafile/sdoc-editor 2.0.30 → 2.0.32
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/basic-sdk/extension/plugins/ai/ai-module/index.js +2 -2
- package/dist/basic-sdk/extension/plugins/ai/ai-module/style.css +1 -0
- package/dist/components/doc-operations/more-operations.js +1 -1
- package/dist/components/doc-operations/revision-operations/more-revision-operations/index.js +1 -1
- package/dist/components/modal-header/index.js +2 -2
- package/package.json +3 -3
- package/public/media/seafile-ui.css +4 -3
|
@@ -69,7 +69,7 @@ function AIModule(_ref) {
|
|
|
69
69
|
const heightDiff = rect.bottom + _constants.AI_MIN_HEIGHT - window.innerHeight;
|
|
70
70
|
if (heightDiff > 0) {
|
|
71
71
|
scrollRef.current.scrollTo({
|
|
72
|
-
top:
|
|
72
|
+
top: scrollTop + rect.top - 94,
|
|
73
73
|
behavior: 'smooth'
|
|
74
74
|
});
|
|
75
75
|
}
|
|
@@ -102,7 +102,7 @@ function AIModule(_ref) {
|
|
|
102
102
|
const heightDiff = slateRect.bottom + _constants.AI_MIN_HEIGHT - window.innerHeight;
|
|
103
103
|
if (heightDiff > 0) {
|
|
104
104
|
scrollRef.current.scrollTo({
|
|
105
|
-
top:
|
|
105
|
+
top: scrollTop + slateRect.top - 94,
|
|
106
106
|
behavior: 'smooth'
|
|
107
107
|
});
|
|
108
108
|
}
|
|
@@ -114,7 +114,7 @@ const MoreOperations = _ref => {
|
|
|
114
114
|
className: "sdocfont sdoc-more"
|
|
115
115
|
})), /*#__PURE__*/_react.default.createElement(_reactstrap.DropdownMenu, {
|
|
116
116
|
className: "sdoc-dropdown-menu",
|
|
117
|
-
|
|
117
|
+
end: true
|
|
118
118
|
}, mobileLogin && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactstrap.DropdownItem, {
|
|
119
119
|
className: "sdoc-dropdown-menu-item",
|
|
120
120
|
onClick: toggleStar
|
package/dist/components/doc-operations/revision-operations/more-revision-operations/index.js
CHANGED
|
@@ -48,7 +48,7 @@ const MoreRevisionOperations = _ref => {
|
|
|
48
48
|
className: `sdocfont sdoc-${isDropdownOpen ? 'caret-up' : 'drop-down'}`
|
|
49
49
|
})), /*#__PURE__*/_react.default.createElement(_reactstrap.DropdownMenu, {
|
|
50
50
|
className: "sdoc-dropdown-menu",
|
|
51
|
-
|
|
51
|
+
end: true
|
|
52
52
|
}, /*#__PURE__*/_react.default.createElement(_reactstrap.DropdownItem, {
|
|
53
53
|
className: "sdoc-dropdown-menu-item",
|
|
54
54
|
onClick: startRevise
|
|
@@ -16,10 +16,10 @@ function SdocModalHeader(_ref) {
|
|
|
16
16
|
let close = null;
|
|
17
17
|
if (toggle) {
|
|
18
18
|
close = /*#__PURE__*/_react.default.createElement("span", {
|
|
19
|
-
|
|
19
|
+
className: "sdoc-add-link-close-icon",
|
|
20
20
|
onClick: toggle
|
|
21
21
|
}, /*#__PURE__*/_react.default.createElement("i", {
|
|
22
|
-
|
|
22
|
+
className: "sdocfont sdoc-sm-close",
|
|
23
23
|
"aria-hidden": "true"
|
|
24
24
|
}));
|
|
25
25
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seafile/sdoc-editor",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.32",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "This is a sdoc editor",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"copy-to-clipboard": "^3.3.3",
|
|
17
17
|
"dayjs": "1.10.7",
|
|
18
18
|
"deep-copy": "1.4.2",
|
|
19
|
-
"dtable-ui-component": "^6.0.
|
|
19
|
+
"dtable-ui-component": "^6.0.9",
|
|
20
20
|
"is-hotkey": "0.2.0",
|
|
21
21
|
"is-url": "^1.2.4",
|
|
22
22
|
"lodash.isequal": "4.5.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"remark-parse": "11.0.0",
|
|
39
39
|
"remark-rehype": "11.0.0",
|
|
40
40
|
"remark-stringify": "11.0.0",
|
|
41
|
-
"sea-chart": "^2.0.
|
|
41
|
+
"sea-chart": "^2.0.5",
|
|
42
42
|
"slugid": "3.2.0",
|
|
43
43
|
"socket.io-client": "4.8.1",
|
|
44
44
|
"type-of": "2.0.1",
|