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 +3 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/lib/components/Select/Select.tsx +4 -2
- package/package.json +1 -1
- package/src/app/page.tsx +3408 -6
package/dist/index.js
CHANGED
|
@@ -3022,13 +3022,13 @@ const SelectComponent = /*#__PURE__*/React$1.forwardRef(({
|
|
|
3022
3022
|
const spaceAbove = selectBox.top;
|
|
3023
3023
|
let positionStyle = {
|
|
3024
3024
|
top: `${selectBox.bottom}px`,
|
|
3025
|
-
left: `${selectBox.left}px`,
|
|
3025
|
+
// left: `${selectBox.left}px`,
|
|
3026
3026
|
width: `${selectBox.width}px`
|
|
3027
3027
|
};
|
|
3028
3028
|
if (spaceBelow < dropdownHeight && spaceAbove > dropdownHeight) {
|
|
3029
3029
|
positionStyle = {
|
|
3030
3030
|
top: `${selectBox.top - dropdownHeight}px`,
|
|
3031
|
-
left: `${selectBox.left}px`,
|
|
3031
|
+
// left: `${selectBox.left}px`,
|
|
3032
3032
|
width: `${selectBox.width}px`
|
|
3033
3033
|
};
|
|
3034
3034
|
}
|
|
@@ -3135,6 +3135,7 @@ const SelectComponent = /*#__PURE__*/React$1.forwardRef(({
|
|
|
3135
3135
|
if (filterOption === false) {
|
|
3136
3136
|
return true;
|
|
3137
3137
|
}
|
|
3138
|
+
console.info(option);
|
|
3138
3139
|
const valueToCheck = `${['string', 'number'].includes(typeof option.children) ? option.children :
|
|
3139
3140
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
3140
3141
|
// @ts-expect-error
|