@seafile/sdoc-editor 1.0.25 → 1.0.26
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/assets/css/dropdown-menu.css +8 -1
- package/dist/basic-sdk/extension/plugins/seatable-column/menu/column-list-menu.css +3 -2
- package/dist/basic-sdk/extension/plugins/seatable-column/menu/index.js +2 -2
- package/dist/basic-sdk/extension/plugins/seatable-tables/menu/index.css +5 -0
- package/dist/basic-sdk/extension/plugins/seatable-tables/menu/index.js +2 -1
- package/package.json +1 -1
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
.sdoc-dropdown-menu,
|
|
2
2
|
.sdoc-dropdown-menu .sdoc-dropdown-menu-container {
|
|
3
|
-
padding: 8px 0;
|
|
4
3
|
min-width: 12rem;
|
|
5
4
|
}
|
|
6
5
|
|
|
6
|
+
.sdoc-dropdown-menu .popover-inner {
|
|
7
|
+
padding: 8px 0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.sdoc-dropdown-menu.sdoc-sub-dropdown-menu .popover-inner {
|
|
11
|
+
padding: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
7
14
|
.sdoc-dropdown-menu .sdoc-dropdown-menu-divider {
|
|
8
15
|
width: 100%;
|
|
9
16
|
height: 0;
|
|
@@ -8,12 +8,14 @@
|
|
|
8
8
|
background-color: #fff;
|
|
9
9
|
min-width: 12rem;
|
|
10
10
|
width: 200px;
|
|
11
|
-
max-height:
|
|
11
|
+
max-height: 400px;
|
|
12
12
|
overflow: auto;
|
|
13
|
+
padding: 8px 0;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
.column-list-menu .column-list-menu-item-container {
|
|
16
17
|
padding: 3px 12px;
|
|
18
|
+
min-height: 32px;
|
|
17
19
|
}
|
|
18
20
|
|
|
19
21
|
.column-list-menu .column-list-menu-item-container .column-list-menu-item {
|
|
@@ -21,7 +23,6 @@
|
|
|
21
23
|
width: 100%;
|
|
22
24
|
display: flex;
|
|
23
25
|
align-items: center;
|
|
24
|
-
min-height: 32px;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
.column-list-menu .column-list-menu-item-container .column-list-menu-item .control-icon {
|
|
@@ -19,11 +19,11 @@ const SeaTableColumnMenu = _ref => {
|
|
|
19
19
|
className: "sdocfont sdoc-right-slide sdoc-dropdown-item-right-icon"
|
|
20
20
|
})), !disabled && /*#__PURE__*/React.createElement(UncontrolledPopover, {
|
|
21
21
|
target: menuConfig.id,
|
|
22
|
+
className: "sdoc-menu-popover sdoc-dropdown-menu sdoc-sub-dropdown-menu",
|
|
22
23
|
trigger: "hover",
|
|
23
24
|
placement: "right-start",
|
|
24
25
|
hideArrow: true,
|
|
25
|
-
fade: false
|
|
26
|
-
popperClassName: "seatable-column-popover"
|
|
26
|
+
fade: false
|
|
27
27
|
}, /*#__PURE__*/React.createElement(ColumnListMenu, {
|
|
28
28
|
editor: editor,
|
|
29
29
|
readonly: readonly
|
|
@@ -3,6 +3,7 @@ import { UncontrolledPopover } from 'reactstrap';
|
|
|
3
3
|
import { insertSeaTableTable, isInsertSeaTableTableDisabled } from '../helpers';
|
|
4
4
|
import { MENUS_CONFIG_MAP, SEATABLE_TABLE } from '../../../constants';
|
|
5
5
|
import DropdownMenuItem from '../../../commons/dropdown-menu-item';
|
|
6
|
+
import './index.css';
|
|
6
7
|
const SeaTableTableMenu = _ref => {
|
|
7
8
|
let {
|
|
8
9
|
editor,
|
|
@@ -28,7 +29,7 @@ const SeaTableTableMenu = _ref => {
|
|
|
28
29
|
hideArrow: true,
|
|
29
30
|
fade: false
|
|
30
31
|
}, /*#__PURE__*/React.createElement("div", {
|
|
31
|
-
className: "sdoc-dropdown-menu-container"
|
|
32
|
+
className: "sdoc-dropdown-menu-container table-list-menu"
|
|
32
33
|
}, tables.map(item => {
|
|
33
34
|
return /*#__PURE__*/React.createElement("div", {
|
|
34
35
|
key: item._id,
|