number-editor is relying on react-clickdrag, which hasn't been updated in 3+ years. react-container-dimensions is of a similar age.
The former seems to just allow click-dragging numbers in e.g. engineering specs, which strikes me as a not particularly important feature, and one which may be done by another package. The latter will need more investigation, though its README includes a list of similar projects, one of which might be actively maintained.
ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! Found: react@16.14.0 npm ERR! node_modules/react npm ERR! react@"^16.14.0" from the root project npm ERR! peer react@"^0.14.0 || ^15.0.0 || 16.x" from react-container-dimensions@1.4.1 npm ERR! node_modules/react-container-dimensions npm ERR! dev react-container-dimensions@"^1.4.1" from the root project npm ERR! 8 more (react-dom, react-extras, react-fuzzy, react-ga, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"0.14.x || ^15.0.0-rc" from react-clickdrag@3.0.2 npm ERR! node_modules/react-number-editor/node_modules/react-clickdrag npm ERR! react-clickdrag@"^3.0.2" from react-number-editor@4.0.3 npm ERR! node_modules/react-number-editor npm ERR! react-number-editor@"^4.0.3" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
number-editor is relying on react-clickdrag, which hasn't been updated in 3+ years. react-container-dimensions is of a similar age.
The former seems to just allow click-dragging numbers in e.g. engineering specs, which strikes me as a not particularly important feature, and one which may be done by another package. The latter will need more investigation, though its README includes a list of similar projects, one of which might be actively maintained.
ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! Found: react@16.14.0 npm ERR! node_modules/react npm ERR! react@"^16.14.0" from the root project npm ERR! peer react@"^0.14.0 || ^15.0.0 || 16.x" from react-container-dimensions@1.4.1 npm ERR! node_modules/react-container-dimensions npm ERR! dev react-container-dimensions@"^1.4.1" from the root project npm ERR! 8 more (react-dom, react-extras, react-fuzzy, react-ga, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"0.14.x || ^15.0.0-rc" from react-clickdrag@3.0.2 npm ERR! node_modules/react-number-editor/node_modules/react-clickdrag npm ERR! react-clickdrag@"^3.0.2" from react-number-editor@4.0.3 npm ERR! node_modules/react-number-editor npm ERR! react-number-editor@"^4.0.3" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.