dtable-ui-component 6.0.125-xhs.2 → 6.0.125-xhs.4

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.
@@ -39,14 +39,12 @@
39
39
 
40
40
  .dtable-ui-user-select-container .form-control {
41
41
  border: none;
42
- border-bottom: 1px solid rgb(0 40 100 / 12%) !important;
43
42
  border-radius: 4px 4px 0 0;
44
43
  padding: .375rem 1rem !important;
45
44
  }
46
45
 
47
46
  .dtable-ui-user-select-container .form-control:focus {
48
47
  border-color: transparent !important;
49
- border-bottom: 1px solid rgb(0 40 100 / 12%) !important;
50
48
  box-shadow: none !important;
51
49
  }
52
50
 
@@ -9,7 +9,7 @@ var _react = require("react");
9
9
  var _classnames = _interopRequireDefault(require("classnames"));
10
10
  var _reactstrap = require("reactstrap");
11
11
  var _ClickOutside = _interopRequireDefault(require("../ClickOutside"));
12
- var _DTableSearchInput = _interopRequireDefault(require("../DTableSearchInput"));
12
+ var _DTableCustomizeSearchInput = _interopRequireDefault(require("../DTableCustomizeSearchInput"));
13
13
  var _userItem = _interopRequireDefault(require("./user-item"));
14
14
  var _lang = require("../lang");
15
15
  var _keyCodes = _interopRequireDefault(require("../constants/key-codes"));
@@ -219,24 +219,17 @@ const AsyncUserSelect = _ref => {
219
219
  className: "dtable-ui-user-select-container",
220
220
  ref: userSelectContainerRef,
221
221
  onMouseDown: e => e.stopPropagation(),
222
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
223
- className: "dtable-ui-user-search-container",
224
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableSearchInput.default, {
225
- autoFocus: true,
222
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
223
+ className: "seatable-option-group-search",
224
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableCustomizeSearchInput.default, {
225
+ className: "option-search-control",
226
226
  placeholder: searchPlaceholder || (0, _lang.getLocale)('Search_users'),
227
- value: searchValue,
228
- wait: 200,
229
227
  onChange: onSearchValueChanged,
230
- onKeyDown: onKeyDown
231
- }), searchValue && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
232
- className: "search-clear-btn position-absolute",
233
- onClick: () => onSearchValueChanged(''),
234
- title: (0, _lang.getLocale)('Clear_search_text'),
235
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
236
- "aria-hidden": "true",
237
- className: "dtable-font dtable-icon-x"
238
- })
239
- })]
228
+ clearValue: () => onSearchValueChanged(''),
229
+ autoFocus: true,
230
+ isClearable: true,
231
+ value: searchValue
232
+ })
240
233
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
241
234
  className: "dtable-ui-user-list-container",
242
235
  ref: userListContainerRef,
@@ -12,17 +12,20 @@
12
12
  z-index: 10001;
13
13
  }
14
14
 
15
+ .seatable-option-group-search {
16
+ border-bottom: 1px solid var(--bs-border-color);
17
+ }
18
+
15
19
  .seatable-option-group .seatable-option-group-search {
16
20
  width: 100%;
17
21
  min-width: 170px;
18
22
  position: relative;
19
23
  padding: 0;
20
24
  height: 32px;
21
- border-bottom: 1px solid var(--bs-border-color);
22
25
  }
23
26
 
24
27
  .seatable-option-group .seatable-option-group-search .form-control {
25
- height: 32px;
28
+ height: 100%;
26
29
  border: none;
27
30
  padding: .375rem 1rem;
28
31
  cursor: pointer;
@@ -106,7 +106,6 @@
106
106
 
107
107
  .seatable-group-select .form-control {
108
108
  border: none;
109
- border-bottom: 1px solid rgb(0 40 100 / 12%) !important;
110
109
  border-radius: 4px 4px 0 0;
111
110
  padding: .375rem 0 .375rem 1rem;
112
111
  height: 32px;
@@ -114,7 +113,6 @@
114
113
 
115
114
  .seatable-group-select .form-control:focus {
116
115
  border-color: transparent !important;
117
- border-bottom: 1px solid rgb(0 40 100 / 12%) !important;
118
116
  box-shadow: none !important;
119
117
  }
120
118
 
@@ -1,10 +1,10 @@
1
1
  .dtable-select-check-icon {
2
- width: 20px;
3
- height: 20px;
2
+ width: 14px;
3
+ height: 14px;
4
4
  text-align: center;
5
5
  }
6
6
 
7
7
  .dtable-select-check-icon .dtable-font {
8
- font-size: 12px;
9
- color: #798d99;
8
+ font-size: 14px;
9
+ color: #666;
10
10
  }
@@ -21,7 +21,7 @@ function DTableSelectLabel(_ref) {
21
21
  }), isSelect && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
22
22
  className: "dtable-select-check-icon",
23
23
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
24
- className: "dtable-font dtable-icon-check-mark"
24
+ className: "dtable-font dtable-icon-check"
25
25
  })
26
26
  })]
27
27
  });
@@ -66,7 +66,6 @@
66
66
 
67
67
  .option-group .option-group-search .form-control {
68
68
  border: none;
69
- border-bottom: 1px solid rgb(0 40 100 / 12%) !important;
70
69
  border-radius: 4px 4px 0 0;
71
70
  padding: .375rem 0 .375rem 1rem;
72
71
  height: 32px;
@@ -74,7 +73,6 @@
74
73
 
75
74
  .option-group .option-group-search .form-control:focus {
76
75
  border-color: transparent !important;
77
- border-bottom: 1px solid rgb(0 40 100 / 12%) !important;
78
76
  box-shadow: none !important;
79
77
  }
80
78
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "6.0.125xhs.2",
3
+ "version": "6.0.125xhs.4",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "5.0.9",