dtable-ui-component 6.0.110-oot.19 → 6.0.110-oot.20

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.
@@ -17,6 +17,7 @@
17
17
  border-bottom: 1px solid var(--bs-border-color);
18
18
  }
19
19
 
20
+ .seatable-search-input-multiple .form-control:focus,
20
21
  .seatable-search-input .form-control:focus {
21
22
  outline: none;
22
23
  box-shadow: none;
@@ -29,7 +30,7 @@
29
30
  }
30
31
 
31
32
  .seatable-search-input .input-icon-addon svg {
32
- color: #999;
33
+ color: var(--bs-body-secondary-color);
33
34
  cursor: pointer;
34
35
  }
35
36
 
@@ -40,13 +41,43 @@
40
41
  color: var(--bs-body-secondary-color);
41
42
  }
42
43
 
43
- .seatable-search-input .input-icon-addon {
44
+
45
+ .seatable-search-input-multiple {
46
+ width: 100%;
47
+ padding: 6px 10px;
48
+ min-width: 170px;
49
+ position: relative;
50
+ padding: 0;
51
+ height: 40px;
52
+ }
53
+
54
+ .seatable-search-input-multiple .form-control {
55
+ height: 30px;
56
+ padding: .375rem 2.5rem .375rem 1rem;
57
+ cursor: pointer;
58
+ }
59
+
60
+ .seatable-search-input-multiple .input-icon-addon {
44
61
  z-index: 1;
45
62
  pointer-events: auto;
46
63
  min-width: 2.5rem !important;
64
+ top: 10px;
65
+ height: 30px;
66
+ right: 10px;
47
67
  }
48
68
 
49
- .seatable-search-input .input-icon-addon svg {
50
- color: #999;
69
+ .seatable-search-input-multiple .input-icon-addon svg {
70
+ color: var(--bs-body-secondary-color);
51
71
  cursor: pointer;
52
72
  }
73
+
74
+ .seatable-search-input-multiple .none-search-result {
75
+ height: 100px;
76
+ width: 100%;
77
+ padding: 10px;
78
+ color: var(--bs-body-secondary-color);
79
+ }
80
+
81
+ .multiple-selects-editor-list .seatable-search-input-multiple {
82
+ padding: 10px 10px 0;
83
+ }
@@ -111,12 +111,13 @@ class DTableCustomizeSearchInput extends _react.Component {
111
111
  onKeyDown,
112
112
  disabled = false,
113
113
  style = {},
114
- isClearable
114
+ isClearable,
115
+ isMultiple = false
115
116
  } = this.props;
116
117
  const {
117
118
  searchValue
118
119
  } = this.state;
119
- const inputWidth = isClearable && searchValue ? 'calc(100% - 40px)' : '100%';
120
+ const inputWidth = isClearable && searchValue && !isMultiple ? 'calc(100% - 40px)' : '100%';
120
121
  style.width = inputWidth;
121
122
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_react.Fragment, {
122
123
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "6.0.110oot.19",
3
+ "version": "6.0.110oot.20",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "^5.0.4",