framepexls-ui-lib 0.3.11 → 0.3.12

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.
@@ -11,7 +11,7 @@ type CheckboxProps = Omit<React__default.InputHTMLAttributes<HTMLInputElement>,
11
11
  className?: string;
12
12
  inputClassName?: string;
13
13
  };
14
- declare const Checkbox: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
14
+ declare const Checkbox: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size" | "type"> & {
15
15
  label?: React__default.ReactNode;
16
16
  description?: React__default.ReactNode;
17
17
  error?: boolean;
@@ -11,7 +11,7 @@ type CheckboxProps = Omit<React__default.InputHTMLAttributes<HTMLInputElement>,
11
11
  className?: string;
12
12
  inputClassName?: string;
13
13
  };
14
- declare const Checkbox: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
14
+ declare const Checkbox: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size" | "type"> & {
15
15
  label?: React__default.ReactNode;
16
16
  description?: React__default.ReactNode;
17
17
  error?: boolean;
package/dist/Select.js CHANGED
@@ -82,8 +82,8 @@ function ModernSelect({
82
82
  if (!el) return;
83
83
  const r = el.getBoundingClientRect();
84
84
  setMenuPos({
85
- top: Math.round(r.bottom + window.scrollY + 6),
86
- left: Math.round(r.left + window.scrollX),
85
+ top: Math.round(r.bottom + 6),
86
+ left: Math.round(r.left),
87
87
  width: Math.round(r.width)
88
88
  });
89
89
  }, []);
package/dist/Select.mjs CHANGED
@@ -49,8 +49,8 @@ function ModernSelect({
49
49
  if (!el) return;
50
50
  const r = el.getBoundingClientRect();
51
51
  setMenuPos({
52
- top: Math.round(r.bottom + window.scrollY + 6),
53
- left: Math.round(r.left + window.scrollX),
52
+ top: Math.round(r.bottom + 6),
53
+ left: Math.round(r.left),
54
54
  width: Math.round(r.width)
55
55
  });
56
56
  }, []);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "framepexls-ui-lib",
3
- "version": "0.3.11",
3
+ "version": "0.3.12",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "description": "Componentes UI de Framepexls para React/Next.",