dtable-ui-component 6.0.110-oot.21 → 6.0.110-oot.22
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.
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
align-items: center;
|
|
15
15
|
justify-content: space-between;
|
|
16
16
|
padding: 0.25rem 8px;
|
|
17
|
+
border-radius: 4px;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
.group-selector .option .dtable-icon-check{
|
|
@@ -31,10 +32,6 @@
|
|
|
31
32
|
cursor: pointer;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
|
-
.group-selector .option.option-active .dtable-icon-check-mark {
|
|
35
|
-
color: #666666 !important;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
35
|
.group-selector .option .select-option-name .multiple-select-option {
|
|
39
36
|
margin: 0;
|
|
40
37
|
}
|
|
@@ -8,11 +8,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
-
var
|
|
11
|
+
var _DTableCustomizeSearchInput = _interopRequireDefault(require("../DTableCustomizeSearchInput"));
|
|
12
12
|
var _option = _interopRequireDefault(require("./option"));
|
|
13
13
|
var _KeyCodes = _interopRequireDefault(require("../SelectOptionGroup/KeyCodes"));
|
|
14
|
-
var _IconButton = _interopRequireDefault(require("../IconButton"));
|
|
15
|
-
var _lang = require("../lang");
|
|
16
14
|
require("./select-option-group.css");
|
|
17
15
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
16
|
const OPTION_HEIGHT = 32;
|
|
@@ -220,26 +218,15 @@ class SelectOptionGroup extends _react.Component {
|
|
|
220
218
|
style: style,
|
|
221
219
|
onMouseDown: this.onMouseDown,
|
|
222
220
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
223
|
-
className: "
|
|
224
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
225
|
-
className: "option-search-control",
|
|
221
|
+
className: "seatable-search-input",
|
|
222
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableCustomizeSearchInput.default, {
|
|
226
223
|
placeholder: searchPlaceholder,
|
|
227
224
|
onChange: this.onChangeSearch,
|
|
228
|
-
|
|
229
|
-
|
|
225
|
+
autoFocus: true,
|
|
226
|
+
value: searchVal,
|
|
230
227
|
clearValue: this.clearValue,
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
|
|
234
|
-
className: (0, _classnames.default)('select-search-text-clear input-icon-addon seatable-icon dtable-font dtable-icon-x'),
|
|
235
|
-
onClick: e => {
|
|
236
|
-
e.stopPropagation();
|
|
237
|
-
e.nativeEvent.stopImmediatePropagation();
|
|
238
|
-
props.clearValue();
|
|
239
|
-
}
|
|
240
|
-
});
|
|
241
|
-
}
|
|
242
|
-
}
|
|
228
|
+
isClearable: true,
|
|
229
|
+
isLeftIcon: true
|
|
243
230
|
})
|
|
244
231
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
245
232
|
className: "option-group-content",
|