x-ui-design 0.5.55 → 0.5.56

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.
package/dist/index.esm.js CHANGED
@@ -3590,10 +3590,6 @@ const SelectComponent = ({
3590
3590
  }
3591
3591
  const timeout = setTimeout(() => {
3592
3592
  const searchInput = document.getElementById(`${prefixCls}-search-tag-input`);
3593
- console.log({
3594
- searchInput,
3595
- searchInputRef: searchInputRef?.current
3596
- });
3597
3593
  if (searchInput) {
3598
3594
  searchInput?.focus();
3599
3595
  setSearchFocused(true);
@@ -3789,12 +3785,14 @@ const SelectComponent = ({
3789
3785
  } : {}, {
3790
3786
  id: `${prefixCls}-search-tag-input`,
3791
3787
  className: `${prefixCls}-tag-input`
3792
- })), !hasMode && !searchQuery.length ? selected === '' ? placeholder : selectedOption : null) : !hasMode ? /*#__PURE__*/React.createElement("div", {
3788
+ })), !hasMode && !searchQuery.length ? selected === '' ? placeholder : selectedOption : null) : !hasMode ? /*#__PURE__*/React.createElement("div", _extends({
3793
3789
  className: `${prefixCls}-input globalEllipsis`,
3794
3790
  style: {
3795
3791
  opacity: isOpen ? '0.6' : '1'
3796
3792
  }
3797
- }, selected === '' ? placeholder : selectedOption) : null) : !hasMode ? /*#__PURE__*/React.createElement("div", {
3793
+ }, showSearch ? {
3794
+ contentEditable: true
3795
+ } : {}), selected === '' ? placeholder : selectedOption) : null) : !hasMode ? /*#__PURE__*/React.createElement("div", {
3798
3796
  className: `${prefixCls}-input globalEllipsis`,
3799
3797
  onClick: () => !disabled && setIsOpen(!isOpen || defaultOpen),
3800
3798
  style: {