dtable-ui-component 6.0.110-ast.10 → 6.0.110-ast.12

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.
@@ -239,7 +239,7 @@ class SelectOptionGroup extends _react.Component {
239
239
  className: "editor-list-delete mb-2",
240
240
  onClick: e => e.stopPropagation(),
241
241
  children: value.label || ''
242
- }), searchable && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
242
+ }), searchable && this.filterOptions && this.filterOptions.length > 10(/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
243
243
  className: "seatable-option-group-search",
244
244
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableCustomizeSearchInput.default, {
245
245
  className: "option-search-control",
@@ -249,7 +249,7 @@ class SelectOptionGroup extends _react.Component {
249
249
  autoFocus: true,
250
250
  isClearable: true
251
251
  })
252
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
252
+ })), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
253
253
  className: "seatable-option-group-content",
254
254
  ref: ref => this.optionGroupContentRef = ref,
255
255
  children: this.renderOptGroup(searchVal)
@@ -188,7 +188,8 @@ class DTableSelect extends _react.default.Component {
188
188
  className: "dtable-font dtable-icon-check seatable-check-color d-flex align-items-center justify-content-center",
189
189
  style: {
190
190
  width: '14px',
191
- height: '14px'
191
+ height: '14px',
192
+ color: 'var(--bs-icon-secondary-color)'
192
193
  }
193
194
  })]
194
195
  });
@@ -8,5 +8,5 @@
8
8
  }
9
9
 
10
10
  .seatable-check-color {
11
- color: var(--bs-icon-secondary-color) !important;
11
+ color: var(--bs-icon-secondary-color);
12
12
  }
@@ -260,7 +260,7 @@ class SelectOptionGroup extends _react.Component {
260
260
  className: "editor-list-delete",
261
261
  onClick: e => e.stopPropagation(),
262
262
  children: value.label || ''
263
- }), searchable && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
263
+ }), searchable && this.filterOptions && this.filterOptions.length > 10 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
264
264
  className: "option-group-search",
265
265
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableSearchInput.default, {
266
266
  className: "option-search-control",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "6.0.110ast.10",
3
+ "version": "6.0.110ast.12",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "^5.0.4",