dtable-ui-component 6.0.110-ast.4 → 6.0.110-ast.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.
@@ -89,6 +89,7 @@
89
89
  white-space: nowrap;
90
90
  color: #868E96;
91
91
  margin-right: 8px;
92
+ opacity: 0.65;
92
93
  }
93
94
 
94
95
  .seatable-customize-select .selected-option-show {
@@ -109,6 +110,6 @@
109
110
 
110
111
  .seatable-customize-select .header-icon {
111
112
  display: inline-block;
112
- padding: 0 0.5rem !important;
113
+ padding: 0 .5rem 0 0!important;
113
114
  margin-left: 0 !important;
114
115
  }
@@ -48,7 +48,7 @@
48
48
  .seatable-option-group .none-search-result {
49
49
  height: 100px;
50
50
  width: 100%;
51
- padding: 10px;
51
+ padding: 8px;
52
52
  color: var(--bs-body-secondary-color);
53
53
  }
54
54
 
@@ -121,8 +121,8 @@
121
121
  background-color: #f5f5f5;
122
122
  }
123
123
 
124
- .seatable-option-group-selector-multiple-select .select-label .header-icon {
124
+ .select-label .header-icon {
125
125
  display: inline-block;
126
- padding: 0 0.5rem !important;
126
+ padding: 0 .5rem 0 0!important;
127
127
  margin-left: 0 !important;
128
128
  }
@@ -17,7 +17,9 @@ const _excluded = ["innerProps"],
17
17
  _excluded2 = ["children"];
18
18
  const DropdownIndicator = props => {
19
19
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactSelect.components.DropdownIndicator, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
20
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_selectDropdownIndicator.default, {})
20
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_selectDropdownIndicator.default, {
21
+ isDisabled: props.isDisabled
22
+ })
21
23
  }));
22
24
  };
23
25
  const ClearIndicator = _ref => {
@@ -10,3 +10,7 @@
10
10
  width: 12px;
11
11
  height: 12px;
12
12
  }
13
+
14
+ .dis-multicolor-icon-down {
15
+ opacity: 0.65 !important;
16
+ }
@@ -9,13 +9,17 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var _DTableIcon = _interopRequireDefault(require("../../DTableIcon"));
10
10
  require("./index.css");
11
11
  var _jsxRuntime = require("react/jsx-runtime");
12
- const SelectDropdownIndicator = () => {
12
+ const SelectDropdownIndicator = _ref => {
13
+ let {
14
+ isDisabled
15
+ } = _ref;
13
16
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
14
17
  className: "select-dropdown-indicator d-flex align-items-center",
15
18
  "aria-hidden": "true",
16
19
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableIcon.default, {
17
20
  symbol: "down",
18
- color: "var(--bs-icon-color)"
21
+ color: "var(--bs-icon-color)",
22
+ className: isDisabled ? 'dis-multicolor-icon-down' : ''
19
23
  })
20
24
  });
21
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "6.0.110ast.4",
3
+ "version": "6.0.110ast.7",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "^5.0.4",