dtable-ui-component 6.0.122 → 6.0.123-imk.5
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/lib/AsyncUserSelect/index.css +5 -0
- package/lib/DTableColorPicker/ColorPickerPortal/index.js +1 -1
- package/lib/DTableColorPicker/index.css +0 -2
- package/lib/DTableColorPicker/index.js +1 -1
- package/lib/DTableCommonAddTool/index.css +1 -3
- package/lib/DTableCustomFooter/index.css +1 -3
- package/lib/DTableFiltersPopover/index.css +0 -2
- package/lib/DTablePopover/index.js +2 -1
- package/lib/DTableSwitch/index.css +0 -1
- package/lib/ImagePreviewerLightbox/index.js +1 -1
- package/lib/NotificationPopover/index.css +1 -6
- package/lib/NotificationPopover/index.js +2 -2
- package/lib/SelectOptionGroup/index.css +3 -3
- package/lib/SelectOptionGroup/index.js +1 -0
- package/package.json +2 -2
|
@@ -12,6 +12,11 @@
|
|
|
12
12
|
.dtable-ui-user-select-popover .popover {
|
|
13
13
|
width: 385px;
|
|
14
14
|
max-width: 385px;
|
|
15
|
+
background: #fff;
|
|
16
|
+
border: 1px solid #eee;
|
|
17
|
+
border-radius: 4px;
|
|
18
|
+
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
|
|
19
|
+
margin-top: -4px;
|
|
15
20
|
}
|
|
16
21
|
|
|
17
22
|
.dtable-ui-user-select-container {
|
|
@@ -72,7 +72,7 @@ function ColorPickerPortal(_ref) {
|
|
|
72
72
|
}, [target, scrollContainerId, throttleDelay, updatePosition]);
|
|
73
73
|
if (!target) return null;
|
|
74
74
|
return /*#__PURE__*/_reactDom.default.createPortal(/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
75
|
-
className: "dtable-color-picker-portal",
|
|
75
|
+
className: "dtable-color-picker-portal dtable-popover-container",
|
|
76
76
|
style: {
|
|
77
77
|
position: 'fixed',
|
|
78
78
|
zIndex: '1049',
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
width: 240px;
|
|
3
3
|
height: 370px;
|
|
4
4
|
background-color: #fff;
|
|
5
|
-
border-radius: 3px;
|
|
6
5
|
z-index: 100;
|
|
7
6
|
padding: 0.75rem;
|
|
8
7
|
line-height: 16px;
|
|
9
8
|
position: absolute;
|
|
10
|
-
box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 2px, rgba(0, 0, 0, 0.3) 0px 4px 4px;
|
|
11
9
|
}
|
|
12
10
|
|
|
13
11
|
.dtable-color-picker .chrome-picker {
|
|
@@ -368,7 +368,7 @@ const DTableColorPicker = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
|
368
368
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
369
369
|
style: popoverStyle,
|
|
370
370
|
ref: colorPickerRef,
|
|
371
|
-
className: "dtable-color-picker",
|
|
371
|
+
className: "dtable-color-picker dtable-popover-container",
|
|
372
372
|
children: [renderDefaultContainer(), renderCustomContainer(), renderUsedContainer()]
|
|
373
373
|
})
|
|
374
374
|
});
|
|
@@ -4,11 +4,9 @@
|
|
|
4
4
|
height: 40px;
|
|
5
5
|
font-size: 14px;
|
|
6
6
|
font-weight: 500;
|
|
7
|
-
border-top: 1px solid #
|
|
7
|
+
border-top: 1px solid #eee;
|
|
8
8
|
background: #fff;
|
|
9
9
|
padding: 0 1rem;
|
|
10
|
-
border-bottom-left-radius: 3px;
|
|
11
|
-
border-bottom-right-radius: 3px;
|
|
12
10
|
position: relative;
|
|
13
11
|
}
|
|
14
12
|
|
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
align-items: center;
|
|
5
5
|
justify-content: flex-end;
|
|
6
6
|
padding: 0.75rem;
|
|
7
|
-
border-top: 1px solid
|
|
8
|
-
border-bottom-right-radius: 2px;
|
|
9
|
-
border-bottom-left-radius: 2px;
|
|
7
|
+
border-top: 1px solid #eee !important;
|
|
10
8
|
}
|
|
11
9
|
|
|
12
10
|
.dtable-custom-footer>* {
|
|
@@ -70,11 +70,12 @@ class DTablePopover extends _react.default.Component {
|
|
|
70
70
|
fade: false,
|
|
71
71
|
hideArrow: hideArrow,
|
|
72
72
|
innerClassName: innerClassName,
|
|
73
|
-
className: popoverClassName,
|
|
73
|
+
className: "dtable-popove ".concat(popoverClassName),
|
|
74
74
|
modifiers: modifiers,
|
|
75
75
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
76
76
|
ref: ref => this.dtablePopoverRef = ref,
|
|
77
77
|
onClick: this.onPopoverInsideClick,
|
|
78
|
+
className: "dtable-popover-container",
|
|
78
79
|
children: this.props.children
|
|
79
80
|
})
|
|
80
81
|
});
|
|
@@ -127,7 +127,7 @@ function ImagePreviewerLightbox(props) {
|
|
|
127
127
|
downloadImageTip: (0, _lang.getLocale)('Download_image'),
|
|
128
128
|
preLineMetadaTip: (0, _lang.getLocale)('Pre_Line'),
|
|
129
129
|
nextLineMetadaTip: (0, _lang.getLocale)('Next_Line'),
|
|
130
|
-
|
|
130
|
+
closeTip: (0, _lang.getLocale)('Close')
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
var _default = exports.default = ImagePreviewerLightbox;
|
|
@@ -8,8 +8,6 @@
|
|
|
8
8
|
width: 320px;
|
|
9
9
|
right: -10px;
|
|
10
10
|
top: -1px;
|
|
11
|
-
border-radius: 3px;
|
|
12
|
-
box-shadow: 0 0 5px #ccc;
|
|
13
11
|
}
|
|
14
12
|
|
|
15
13
|
.notification-container .notification-header {
|
|
@@ -17,7 +15,7 @@
|
|
|
17
15
|
align-items: center;
|
|
18
16
|
justify-content: center;
|
|
19
17
|
height: 50px;
|
|
20
|
-
border-bottom: 1px solid #
|
|
18
|
+
border-bottom: 1px solid #eee;
|
|
21
19
|
font-size: 16px;
|
|
22
20
|
font-weight: 600;
|
|
23
21
|
position: relative;
|
|
@@ -166,9 +164,6 @@
|
|
|
166
164
|
justify-content: center;
|
|
167
165
|
background: #f9f9f9;
|
|
168
166
|
cursor: pointer;
|
|
169
|
-
border-bottom-right-radius: 3px;
|
|
170
|
-
border-bottom-left-radius: 3px;
|
|
171
|
-
border-top: 1px solid #ededed;
|
|
172
167
|
}
|
|
173
168
|
|
|
174
169
|
.notification-body .notification-footer:hover {
|
|
@@ -56,7 +56,7 @@ class NotificationPopover extends _react.default.Component {
|
|
|
56
56
|
hideArrow: true,
|
|
57
57
|
placement: "bottom",
|
|
58
58
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
59
|
-
className: "notification-container",
|
|
59
|
+
className: "notification-container dtable-popover-container",
|
|
60
60
|
ref: ref => this.notificationContainerRef = ref,
|
|
61
61
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
62
62
|
className: "notification-header",
|
|
@@ -88,7 +88,7 @@ class NotificationPopover extends _react.default.Component {
|
|
|
88
88
|
children: this.props.children
|
|
89
89
|
})
|
|
90
90
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
91
|
-
className: "notification-footer",
|
|
91
|
+
className: "notification-footer dtable-popover-footer",
|
|
92
92
|
onClick: this.onNotificationDialogToggle,
|
|
93
93
|
children: footerText
|
|
94
94
|
})]
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
min-width: 100%;
|
|
8
8
|
max-width: 15rem;
|
|
9
9
|
padding: 0.5rem 0;
|
|
10
|
-
box-shadow: 0
|
|
10
|
+
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1) !important;
|
|
11
11
|
background: #fff;
|
|
12
|
-
border: 1px solid
|
|
13
|
-
border-radius:
|
|
12
|
+
border: 1px solid #eee !important;
|
|
13
|
+
border-radius: 4px !important;
|
|
14
14
|
z-index: 10001;
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -220,6 +220,7 @@ class SelectOptionGroup extends _react.Component {
|
|
|
220
220
|
opacity: 0
|
|
221
221
|
};
|
|
222
222
|
}
|
|
223
|
+
style.top = style.top + 4;
|
|
223
224
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ClickOutside.default, {
|
|
224
225
|
ref: ref => this.clickOutsideRef = ref,
|
|
225
226
|
onClickOutside: this.props.onClickOutside,
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dtable-ui-component",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.123imk.5",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@seafile/react-image-lightbox": "
|
|
6
|
+
"@seafile/react-image-lightbox": "5.0.9",
|
|
7
7
|
"@seafile/seafile-calendar": "^1.0.10",
|
|
8
8
|
"@seafile/seafile-editor": "^3.0.34",
|
|
9
9
|
"classnames": "~2.5.*",
|