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.
@@ -179,14 +179,14 @@ const SelectComponent = forwardRef<HTMLDivElement, SelectProps>(
179
179
 
180
180
  let positionStyle: CSSProperties = {
181
181
  top: `${selectBox.bottom}px`,
182
- left: `${selectBox.left}px`,
182
+ // left: `${selectBox.left}px`,
183
183
  width: `${selectBox.width}px`
184
184
  };
185
185
 
186
186
  if (spaceBelow < dropdownHeight && spaceAbove > dropdownHeight) {
187
187
  positionStyle = {
188
188
  top: `${selectBox.top - dropdownHeight}px`,
189
- left: `${selectBox.left}px`,
189
+ // left: `${selectBox.left}px`,
190
190
  width: `${selectBox.width}px`
191
191
  };
192
192
  }
@@ -369,6 +369,8 @@ const SelectComponent = forwardRef<HTMLDivElement, SelectProps>(
369
369
  return true;
370
370
  }
371
371
 
372
+ console.info(option);
373
+
372
374
  const valueToCheck = `${
373
375
  ['string', 'number'].includes(typeof option.children)
374
376
  ? option.children
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x-ui-design",
3
- "version": "0.2.78",
3
+ "version": "0.2.80",
4
4
  "license": "ISC",
5
5
  "author": "Gabriel Boyajyan",
6
6
  "main": "dist/index.js",