dtable-ui-component 6.0.110-ast.13 → 6.0.110-ast.15

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 && this.filterOptions && this.filterOptions.length > 10 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
242
+ }), searchable && this.props.options && this.props.options.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",
@@ -217,7 +217,7 @@ class SelectOptionGroup extends _react.Component {
217
217
  ref: ref => this.optionGroupRef = ref,
218
218
  style: style,
219
219
  onMouseDown: this.onMouseDown,
220
- children: [this.filterOptions && this.filterOptions.length > 10 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
220
+ children: [this.props.options && this.props.options.length > 10 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
221
221
  className: "seatable-search-input",
222
222
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableCustomizeSearchInput.default, {
223
223
  placeholder: searchPlaceholder,
@@ -152,7 +152,6 @@ class DTableSelect extends _react.default.Component {
152
152
  className: className,
153
153
  classNamePrefix: classNamePrefix,
154
154
  styles: _selectStyle.MenuSelectStyle,
155
- menuIsOpen: true,
156
155
  components: {
157
156
  Option,
158
157
  DropdownIndicator,
@@ -189,7 +188,7 @@ class DTableSelect extends _react.default.Component {
189
188
  style: {
190
189
  width: '14px',
191
190
  height: '14px',
192
- color: 'var(--bs-icon-secondary-color)'
191
+ color: 'var(--bs-icon-color)'
193
192
  }
194
193
  })]
195
194
  });
@@ -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 && this.filterOptions && this.filterOptions.length > 10 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
263
+ }), searchable && this.props.options && this.props.options.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.13",
3
+ "version": "6.0.110ast.15",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "^5.0.4",