dtable-ui-component 0.1.94-uitest2 → 0.1.94-uitest5

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.
@@ -7,6 +7,7 @@
7
7
  border-width: 1px;
8
8
  border-style: solid;
9
9
  border-radius: 3px;
10
+ cursor: pointer;
10
11
  overflow: hidden;
11
12
  white-space: nowrap;
12
13
  text-overflow: ellipsis;
@@ -54,18 +54,18 @@ var ButtonFormatter = /*#__PURE__*/function (_React$Component) {
54
54
  }) || optionColors[0] : {
55
55
  COLOR: '#FFFCB5',
56
56
  BORDER_COLOR: '#E8E79D',
57
- TEXT_COLOR: '#202428'
57
+ TEXT_COLOR: '#666'
58
58
  };
59
59
  var btnStyle = {
60
60
  backgroundColor: colorOption.COLOR,
61
61
  borderColor: colorOption.BORDER_COLOR,
62
62
  color: colorOption.TEXT_COLOR
63
63
  };
64
- return /*#__PURE__*/React.createElement("div", {
64
+ return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("button", {
65
65
  className: cn('dtable-ui cell-formatter-container button-formatter', containerClassName),
66
66
  style: btnStyle,
67
67
  onClick: this.handleClick
68
- }, button_name);
68
+ }, button_name));
69
69
  }
70
70
  }]);
71
71
 
@@ -23,7 +23,6 @@
23
23
  padding-left: 12px;
24
24
  font-size: 14px;
25
25
  line-height: 30px;
26
- margin-left: 10px;
27
26
  cursor: pointer;
28
27
  }
29
28
 
@@ -3,7 +3,12 @@
3
3
  }
4
4
 
5
5
  .dtable-ui-select-editor-container {
6
- display: inline-block;
7
- height: 30px;
8
- padding: 0 10px;
6
+ height: 40px;
7
+ padding: 10px 5px;
8
+ border-radius: 3px;
9
+ cursor: pointer;
10
+ }
11
+
12
+ .dtable-ui-select-editor-container:hover {
13
+ background-color: #f5f5f5;
9
14
  }
@@ -23,7 +23,6 @@
23
23
  padding-left: 12px;
24
24
  font-size: 14px;
25
25
  line-height: 30px;
26
- margin-left: 10px;
27
26
  cursor: pointer;
28
27
  }
29
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "0.1.94-uitest2",
3
+ "version": "0.1.94-uitest5",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "0.0.9",