x-ui-design 0.6.84 → 0.6.85

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
@@ -3738,9 +3738,9 @@ const Select = ({
3738
3738
  if (!showArrow) {
3739
3739
  return null;
3740
3740
  }
3741
- return showSearch && isOpen ? searchIcon || /*#__PURE__*/React.createElement(SearchIcon, null) : /*#__PURE__*/React.createElement("span", {
3741
+ return /*#__PURE__*/React.createElement("span", {
3742
3742
  onClick: () => iconClickClear ? handleClear() : iconClick?.()
3743
- }, suffixIcon || showArrow && /*#__PURE__*/React.createElement(ArrowIcon, {
3743
+ }, showSearch && isOpen ? searchIcon || /*#__PURE__*/React.createElement(SearchIcon, null) : suffixIcon || showArrow && /*#__PURE__*/React.createElement(ArrowIcon, {
3744
3744
  isOpen: isOpen
3745
3745
  }));
3746
3746
  }, [showArrow, showSearch, isOpen, suffixIcon, searchIcon]);