dtable-ui-component 6.0.122-beta.1 → 6.0.123-uaj.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/lib/AsyncUserSelect/index.js +2 -2
- package/lib/DTableColorPicker/ColorPickerPortal/index.js +2 -1
- package/lib/DTableColorPicker/index.css +4 -2
- 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 +4 -11
- package/lib/NotificationPopover/index.js +1 -1
- package/lib/SelectOptionGroup/index.css +3 -3
- package/package.json +2 -2
|
@@ -211,9 +211,9 @@ const AsyncUserSelect = _ref => {
|
|
|
211
211
|
target: selectorRef.current,
|
|
212
212
|
hideArrow: true,
|
|
213
213
|
fade: false,
|
|
214
|
-
className: "dtable-ui-user-select-popover",
|
|
214
|
+
className: "dtable-ui-user-select-popover dtable-popover",
|
|
215
215
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
216
|
-
className: "dtable-ui-user-select-container",
|
|
216
|
+
className: "dtable-ui-user-select-container dtable-popover-container",
|
|
217
217
|
ref: userSelectContainerRef,
|
|
218
218
|
onMouseDown: e => e.stopPropagation(),
|
|
219
219
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
@@ -82,7 +82,8 @@ function ColorPickerPortal(_ref) {
|
|
|
82
82
|
height: '370px',
|
|
83
83
|
visibility: position.visibility,
|
|
84
84
|
opacity: isPositioned ? 1 : 0,
|
|
85
|
-
transition: 'opacity 0.15s ease-in-out'
|
|
85
|
+
transition: 'opacity 0.15s ease-in-out',
|
|
86
|
+
marginTop: '8px'
|
|
86
87
|
},
|
|
87
88
|
ref: containerRef,
|
|
88
89
|
children: children
|
|
@@ -2,12 +2,14 @@
|
|
|
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
|
-
|
|
9
|
+
margin-top: 8px;
|
|
10
|
+
border: 1px solid #eee !important;
|
|
11
|
+
border-radius: 8px !important;
|
|
12
|
+
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1) !important;
|
|
11
13
|
}
|
|
12
14
|
|
|
13
15
|
.dtable-color-picker .chrome-picker {
|
|
@@ -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;
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
.notification-container {
|
|
6
6
|
position: absolute;
|
|
7
7
|
background: #fff;
|
|
8
|
-
width:
|
|
8
|
+
width: 400px;
|
|
9
9
|
right: -10px;
|
|
10
10
|
top: -1px;
|
|
11
|
-
border-radius:
|
|
12
|
-
box-shadow: 0 0
|
|
11
|
+
border-radius: 8px;
|
|
12
|
+
box-shadow: 0 6px 14px rgba(0, 0, 0, .1);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.notification-container .notification-header {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
align-items: center;
|
|
18
18
|
justify-content: center;
|
|
19
19
|
height: 50px;
|
|
20
|
-
border-bottom: 1px solid #
|
|
20
|
+
border-bottom: 1px solid #eee;
|
|
21
21
|
font-size: 16px;
|
|
22
22
|
font-weight: 600;
|
|
23
23
|
position: relative;
|
|
@@ -161,14 +161,7 @@
|
|
|
161
161
|
|
|
162
162
|
.notification-body .notification-footer {
|
|
163
163
|
height: 40px;
|
|
164
|
-
display: flex;
|
|
165
|
-
align-items: center;
|
|
166
|
-
justify-content: center;
|
|
167
164
|
background: #f9f9f9;
|
|
168
|
-
cursor: pointer;
|
|
169
|
-
border-bottom-right-radius: 3px;
|
|
170
|
-
border-bottom-left-radius: 3px;
|
|
171
|
-
border-top: 1px solid #ededed;
|
|
172
165
|
}
|
|
173
166
|
|
|
174
167
|
.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",
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
min-width: 100%;
|
|
8
8
|
max-width: 15rem;
|
|
9
9
|
padding: 0.5rem 0;
|
|
10
|
-
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
11
10
|
background: #fff;
|
|
12
|
-
border: 1px solid rgba(0, 40, 100, 0.12);
|
|
13
|
-
border-radius: 3px;
|
|
14
11
|
z-index: 10001;
|
|
12
|
+
border: 1px solid #eee !important;
|
|
13
|
+
border-radius: 8px !important;
|
|
14
|
+
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1) !important;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.option-group .option-group-search {
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dtable-ui-component",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.123uaj.1",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@seafile/react-image-lightbox": "5.0.9
|
|
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.*",
|