dtable-ui-component 6.0.45 → 6.0.47

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.
@@ -23,20 +23,10 @@
23
23
  position: relative;
24
24
  }
25
25
 
26
- .notification-container .notification-header .notification-close-icon {
26
+ .notification-container .notification-header .seatable-icon-btn {
27
27
  position: absolute;
28
28
  right: 14px;
29
- height: 24px;
30
- width: 24px;
31
- text-align: center;
32
- cursor: pointer;
33
- color: #000;
34
- opacity: 0.5;
35
- font-weight: 700;
36
- }
37
-
38
- .notification-container .notification-header .notification-close-icon:hover {
39
- opacity: 0.75;
29
+ font-weight: normal;
40
30
  }
41
31
 
42
32
  .notification-container .notification-body {
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _reactstrap = require("reactstrap");
10
+ var _IconButton = _interopRequireDefault(require("../IconButton"));
10
11
  require("./index.css");
11
12
  class NotificationPopover extends _react.default.Component {
12
13
  constructor() {
@@ -58,8 +59,8 @@ class NotificationPopover extends _react.default.Component {
58
59
  ref: ref => this.notificationContainerRef = ref
59
60
  }, /*#__PURE__*/_react.default.createElement("div", {
60
61
  className: "notification-header"
61
- }, headerText, /*#__PURE__*/_react.default.createElement("span", {
62
- className: "dtable-font dtable-icon-x notification-close-icon",
62
+ }, headerText, /*#__PURE__*/_react.default.createElement(_IconButton.default, {
63
+ icon: "x",
63
64
  onClick: this.props.onNotificationListToggle
64
65
  })), /*#__PURE__*/_react.default.createElement("div", {
65
66
  className: "notification-body"
@@ -1,7 +1,6 @@
1
1
  .dtable-ui-multicolor-icon {
2
2
  width: 1em;
3
3
  height: 1em;
4
- vertical-align: -0.15em;
5
4
  fill: currentColor;
6
5
  overflow: hidden;
7
6
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "6.0.45",
3
+ "version": "6.0.47",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "4.0.2",
7
7
  "@seafile/seafile-calendar": "0.0.31",
8
- "@seafile/seafile-editor": "~2.0.6",
8
+ "@seafile/seafile-editor": "~2.0.14",
9
9
  "classnames": "2.3.2",
10
10
  "dayjs": "1.10.7",
11
11
  "dtable-utils": "~5.0.22",
@@ -50,7 +50,7 @@
50
50
  "lib",
51
51
  "es",
52
52
  "index.js",
53
- "packagge.json"
53
+ "package.json"
54
54
  ],
55
55
  "browserslist": {
56
56
  "production": [