dtable-ui-component 5.0.21-alpha.1 → 5.0.21-alpha.3

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.
@@ -2,8 +2,10 @@
2
2
  width: 240px;
3
3
  background-color: #fff;
4
4
  border-radius: 2px;
5
+ z-index: 100;
5
6
  padding: 0.75rem;
6
7
  line-height: normal;
8
+ position: absolute;
7
9
  box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 2px, rgba(0, 0, 0, 0.3) 0px 4px 8px
8
10
  }
9
11
 
@@ -310,7 +310,7 @@ const DTableColorPicker = props => {
310
310
  }, /*#__PURE__*/_react.default.createElement("span", null, "/"))));
311
311
  };
312
312
  return /*#__PURE__*/_react.default.createElement(_ClickOutside.default, {
313
- onClickOutside: () => {}
313
+ onClickOutside: onClosePopover
314
314
  }, /*#__PURE__*/_react.default.createElement("div", {
315
315
  style: popoverStyle,
316
316
  className: "dtable-color-picker"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "5.0.21-alpha.1",
3
+ "version": "5.0.21-alpha.3",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "2.0.5",