dtable-ui-component 6.0.122 → 6.0.123-uaj.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.
@@ -12,6 +12,7 @@
12
12
  .dtable-ui-user-select-popover .popover {
13
13
  width: 385px;
14
14
  max-width: 385px;
15
+ border-radius: 4px;
15
16
  }
16
17
 
17
18
  .dtable-ui-user-select-container {
@@ -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
- 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,9 @@
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;
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 rgba(0, 40, 100, 0.12);
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>* {
@@ -29,8 +29,6 @@
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;
34
32
  position: relative;
35
33
  }
36
34
 
@@ -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
  });
@@ -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,6 @@
17
17
  align-items: center;
18
18
  justify-content: center;
19
19
  height: 50px;
20
- border-bottom: 1px solid #ededed;
21
20
  font-size: 16px;
22
21
  font-weight: 600;
23
22
  position: relative;
@@ -161,14 +160,7 @@
161
160
 
162
161
  .notification-body .notification-footer {
163
162
  height: 40px;
164
- display: flex;
165
- align-items: center;
166
- justify-content: center;
167
163
  background: #f9f9f9;
168
- cursor: pointer;
169
- border-bottom-right-radius: 3px;
170
- border-bottom-left-radius: 3px;
171
- border-top: 1px solid #ededed;
172
164
  }
173
165
 
174
166
  .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
  })]
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.123uaj.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.*",