x-ui-design 0.2.78 → 0.2.80

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
@@ -3020,13 +3020,13 @@ const SelectComponent = /*#__PURE__*/forwardRef(({
3020
3020
  const spaceAbove = selectBox.top;
3021
3021
  let positionStyle = {
3022
3022
  top: `${selectBox.bottom}px`,
3023
- left: `${selectBox.left}px`,
3023
+ // left: `${selectBox.left}px`,
3024
3024
  width: `${selectBox.width}px`
3025
3025
  };
3026
3026
  if (spaceBelow < dropdownHeight && spaceAbove > dropdownHeight) {
3027
3027
  positionStyle = {
3028
3028
  top: `${selectBox.top - dropdownHeight}px`,
3029
- left: `${selectBox.left}px`,
3029
+ // left: `${selectBox.left}px`,
3030
3030
  width: `${selectBox.width}px`
3031
3031
  };
3032
3032
  }
@@ -3133,6 +3133,7 @@ const SelectComponent = /*#__PURE__*/forwardRef(({
3133
3133
  if (filterOption === false) {
3134
3134
  return true;
3135
3135
  }
3136
+ console.info(option);
3136
3137
  const valueToCheck = `${['string', 'number'].includes(typeof option.children) ? option.children :
3137
3138
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
3138
3139
  // @ts-expect-error