dtable-ui-component 6.0.122 → 6.0.123-xhn.2

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.
@@ -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 seatable-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", {
@@ -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,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
- box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 2px, rgba(0, 0, 0, 0.3) 0px 4px 4px;
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,11 @@
4
4
  height: 40px;
5
5
  font-size: 14px;
6
6
  font-weight: 500;
7
- border-top: 1px solid #dedede;
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;
10
+ border-bottom-left-radius: 8px;
11
+ border-bottom-right-radius: 8px;
12
12
  position: relative;
13
13
  }
14
14
 
@@ -4,9 +4,9 @@
4
4
  align-items: center;
5
5
  justify-content: flex-end;
6
6
  padding: 0.75rem;
7
- border-top: 1px solid rgba(0, 40, 100, 0.12);
8
- border-bottom-right-radius: 2px;
9
- border-bottom-left-radius: 2px;
7
+ border: 1px solid #eee !important;
8
+ border-bottom-right-radius: 8px;
9
+ border-bottom-left-radius: 8px;
10
10
  }
11
11
 
12
12
  .dtable-custom-footer>* {
@@ -29,8 +29,8 @@
29
29
  font-weight: 500;
30
30
  background: #fff;
31
31
  color: #666;
32
- border-bottom-left-radius: 3px;
33
- border-bottom-right-radius: 3px;
32
+ border-bottom-left-radius: 8px;
33
+ border-bottom-right-radius: 8px;
34
34
  position: relative;
35
35
  }
36
36
 
@@ -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: "seatable-popover ".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
  });
@@ -32,7 +32,6 @@
32
32
  transform: scale(.8);
33
33
  display: inline-block;
34
34
  line-height: 24px;
35
- margin-right: 8px;
36
35
  }
37
36
 
38
37
  .dtable-switch.sm .custom-switch .dtable-font.dtable-icon-use-help {
@@ -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
- closeMetadataTip: (0, _lang.getLocale)('Close')
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: 320px;
8
+ width: 400px;
9
9
  right: -10px;
10
10
  top: -1px;
11
- border-radius: 3px;
12
- box-shadow: 0 0 5px #ccc;
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 #ededed;
20
+ border-bottom: 1px solid #eee;
21
21
  font-size: 16px;
22
22
  font-weight: 600;
23
23
  position: relative;
@@ -161,14 +161,10 @@
161
161
 
162
162
  .notification-body .notification-footer {
163
163
  height: 40px;
164
- display: flex;
165
- align-items: center;
166
- justify-content: center;
167
- background: #f9f9f9;
168
- cursor: pointer;
169
- border-bottom-right-radius: 3px;
170
- border-bottom-left-radius: 3px;
171
- border-top: 1px solid #ededed;
164
+ border-top: 1px solid #eee !important;
165
+ border-bottom-left-radius: 8px;
166
+ border-bottom-right-radius: 8px;
167
+ background: #fff;
172
168
  }
173
169
 
174
170
  .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",
@@ -87,8 +87,8 @@ class NotificationPopover extends _react.default.Component {
87
87
  ref: ref => this.notificationsWrapperRef = ref,
88
88
  children: this.props.children
89
89
  })
90
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
91
- className: "notification-footer",
90
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
91
+ className: "notification-footer border-0 bg-transparent d-block w-100",
92
92
  onClick: this.onNotificationDialogToggle,
93
93
  children: footerText
94
94
  })]
@@ -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.122",
3
+ "version": "6.0.123xhn.2",
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.*",