dtable-ui-component 5.2.6 → 5.2.7

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.
@@ -8,7 +8,6 @@ exports.default = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _reactSelect = _interopRequireDefault(require("react-select"));
10
10
  var _utils = require("./utils");
11
- require("./index.css");
12
11
  class DTableSelect extends _react.default.Component {
13
12
  render() {
14
13
  const {
@@ -34,7 +33,7 @@ class DTableSelect extends _react.default.Component {
34
33
  onChange: onChange,
35
34
  options: options,
36
35
  isMulti: isMulti,
37
- classNamePrefix: 'dtable-select' + classNamePrefix,
36
+ classNamePrefix: classNamePrefix,
38
37
  styles: style || _utils.MenuSelectStyle,
39
38
  components: {
40
39
  Option: _utils.Option,
@@ -71,7 +70,6 @@ DTableSelect.defaultProps = {
71
70
  isMulti: false,
72
71
  autoFocus: false,
73
72
  menuPortalTarget: '.modal',
74
- classNamePrefix: '',
75
73
  noOptionsMessage: () => {
76
74
  return null;
77
75
  }
@@ -107,7 +107,8 @@ const DropdownIndicator = props => {
107
107
  return _reactSelect.components.DropdownIndicator && /*#__PURE__*/_react.default.createElement(_reactSelect.components.DropdownIndicator, props, /*#__PURE__*/_react.default.createElement("span", {
108
108
  className: "dtable-font dtable-icon-drop-down",
109
109
  style: {
110
- fontSize: '12px'
110
+ fontSize: '12px',
111
+ marginLeft: '-2px'
111
112
  }
112
113
  }));
113
114
  };
@@ -128,7 +129,8 @@ const ClearIndicator = _ref => {
128
129
  return /*#__PURE__*/_react.default.createElement(_reactSelect.components.ClearIndicator, props, /*#__PURE__*/_react.default.createElement("span", {
129
130
  className: "dtable-font dtable-icon-fork-number",
130
131
  style: {
131
- fontSize: '12px'
132
+ fontSize: '12px',
133
+ marginRight: '-2px'
132
134
  }
133
135
  }));
134
136
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "5.2.6",
3
+ "version": "5.2.7",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "3.0.1",
@@ -1,4 +0,0 @@
1
- .dtable-select__indicator.dtable-select__dropdown-indicator,
2
- .dtable-select__indicator.dtable-select__clear-indicator {
3
- padding: 8px 6px;
4
- }