@lemon-fe/components 1.2.12-alpha.1 → 1.2.13

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.
@@ -40,10 +40,18 @@ export default /*#__PURE__*/forwardRef(function NumberEditor(props, ref) {
40
40
  if (elm.current === null) {
41
41
  return;
42
42
  }
43
- elm.current.focus();
43
+ var inputElm = elm.current;
44
+ inputElm.focus();
44
45
  if (shouldSelect) {
45
- elm.current.select();
46
+ inputElm.select();
46
47
  }
48
+ var handleWheel = function handleWheel(e) {
49
+ e.preventDefault();
50
+ };
51
+ inputElm.addEventListener('wheel', handleWheel);
52
+ return function () {
53
+ inputElm.removeEventListener('wheel', handleWheel);
54
+ };
47
55
  }, []);
48
56
  var getFormatedValue = function getFormatedValue() {
49
57
  var val;
@@ -448,8 +448,8 @@
448
448
  -webkit-appearance: none;
449
449
  }
450
450
 
451
- & {
452
- -moz-appearance: textfield; /* Firefox */
451
+ &[type='number'] {
452
+ appearance: textfield; /* Firefox */
453
453
  }
454
454
  }
455
455
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/components",
3
- "version": "1.2.12-alpha.1",
3
+ "version": "1.2.13",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "registry": "https://registry.npmjs.org"
69
69
  },
70
- "gitHead": "d78e483deec792ba988460766ad6398dc2ee58a7"
70
+ "gitHead": "4658fd8d24c995f46acbb63d6a9e0827d28e23cf"
71
71
  }