dtable-ui-component 6.0.110-oot.14 → 6.0.110-oot.16

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.
@@ -0,0 +1,52 @@
1
+
2
+ .seatable-search-input {
3
+ width: 100%;
4
+ padding: 6px 10px;
5
+ min-width: 170px;
6
+ position: relative;
7
+ padding: 0;
8
+ height: 32px;
9
+ border-bottom: 1px solid var(--bs-border-color);
10
+ }
11
+
12
+ .seatable-search-input .form-control {
13
+ height: 32px;
14
+ border: none;
15
+ padding: .375rem 1rem;
16
+ cursor: pointer;
17
+ border-bottom: 1px solid var(--bs-border-color);
18
+ }
19
+
20
+ .seatable-search-input .form-control:focus {
21
+ outline: none;
22
+ box-shadow: none;
23
+ }
24
+
25
+ .seatable-search-input .input-icon-addon {
26
+ z-index: 1;
27
+ pointer-events: auto;
28
+ min-width: 2.5rem !important;
29
+ }
30
+
31
+ .seatable-search-input .input-icon-addon svg {
32
+ color: #999;
33
+ cursor: pointer;
34
+ }
35
+
36
+ .seatable-search-input .none-search-result {
37
+ height: 100px;
38
+ width: 100%;
39
+ padding: 10px;
40
+ color: var(--bs-body-secondary-color);
41
+ }
42
+
43
+ .seatable-search-input .input-icon-addon {
44
+ z-index: 1;
45
+ pointer-events: auto;
46
+ min-width: 2.5rem !important;
47
+ }
48
+
49
+ .seatable-search-input .input-icon-addon svg {
50
+ color: #999;
51
+ cursor: pointer;
52
+ }
@@ -117,7 +117,7 @@ class DTableCustomizeSearchInput extends _react.Component {
117
117
  const inputWidth = isClearable && searchValue ? 'calc(100% - 40px)' : '100%';
118
118
  style.width = inputWidth;
119
119
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_react.Fragment, {
120
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
120
+ children: [this.renderClear(), /*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
121
121
  type: "text",
122
122
  name: "search-input",
123
123
  value: searchValue,
@@ -160,6 +160,7 @@ class DTableSelect extends _react.default.Component {
160
160
  filterOption: customFilterOption,
161
161
  autoFocus: autoFocus,
162
162
  form: form,
163
+ menuIsOpen: true,
163
164
  formatOptionLabel: (option, _ref3) => {
164
165
  let {
165
166
  context
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "6.0.110oot.14",
3
+ "version": "6.0.110oot.16",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "^5.0.4",