{"_id":"@rc-component/input-number","_rev":"4537544","name":"@rc-component/input-number","description":"React input-number component","dist-tags":{"latest":"1.6.2"},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"time":{"modified":"2026-04-09T15:01:39.000Z","created":"2025-01-28T06:17:05.549Z","1.6.2":"2025-11-15T15:33:26.219Z","1.6.1":"2025-11-15T15:25:45.775Z","1.5.1":"2025-11-10T14:59:34.114Z","1.6.0":"2025-11-10T13:58:56.307Z","1.5.0":"2025-11-04T01:50:50.058Z","1.4.1":"2025-11-03T08:11:25.041Z","1.4.0":"2025-11-03T08:03:25.283Z","1.3.0":"2025-09-04T07:53:56.016Z","1.2.0":"2025-05-16T06:52:11.855Z","1.1.0":"2025-04-29T13:42:21.040Z","1.0.0":"2025-01-28T06:17:05.549Z"},"users":{},"author":{"name":"tsjxyz@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/input-number.git"},"versions":{"1.6.2":{"name":"@rc-component/input-number","version":"1.6.2","description":"React input-number component","keywords":["react","react-component","react-input-number","input-number"],"homepage":"https://github.com/react-component/input-number","bugs":{"url":"https://github.com/react-component/input-number/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/input-number.git"},"license":"MIT","author":{"name":"tsjxyz@gmail.com"},"main":"./lib/index","module":"./es/index","types":"./es/index.d.ts","scripts":{"compile":"father build && lessc assets/index.less assets/index.css","coverage":"rc-test --coverage","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","lint":"eslint src/ --ext .ts,.tsx,.jsx,.js,.md","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"dependencies":{"@rc-component/mini-decimal":"^1.0.1","@rc-component/util":"^1.4.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.2","@rc-component/np":"^1.0.3","@swc-node/jest":"^1.5.5","@testing-library/jest-dom":"^6.1.5","@testing-library/react":"^16.0.0","@types/jest":"^29.2.4","@types/node":"^24.5.2","@types/react":"^18.0.26","@types/react-dom":"^18.0.9","@types/responselike":"^1.0.0","@umijs/fabric":"^4.0.1","@umijs/test":"^4.0.36","dumi":"^2.0.13","eslint":"^8.54.0","father":"^4.5.5","glob":"^11.0.0","husky":"^9.1.7","jest-environment-jsdom":"^29.3.1","less":"^4.1.3","lint-staged":"^15.1.0","rc-test":"^7.0.14","react":"^18.2.0","react-dom":"^18.2.0","regenerator-runtime":"^0.14.1","ts-node":"^10.9.1","typescript":"^5.1.6"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_id":"@rc-component/input-number@1.6.2","gitHead":"fdde44f9789ef9cb75f92fa7bba61fe11a38ed88","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"ae04e1ee69393fc047588c632e7ce6e19faf617f","size":14252,"noattachment":false,"key":"/@rc-component/input-number/-/@rc-component/input-number-1.6.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/input-number/download/@rc-component/input-number-1.6.2.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/input-number_1.6.2_1763220806019_0.4149821176262698"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-15T15:33:26.219Z","publish_time":1763220806219,"_source_registry_name":"default","_cnpm_publish_time":1763220806219},"1.6.1":{"name":"@rc-component/input-number","version":"1.6.1","description":"React input-number component","keywords":["react","react-component","react-input-number","input-number"],"homepage":"https://github.com/react-component/input-number","bugs":{"url":"https://github.com/react-component/input-number/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/input-number.git"},"license":"MIT","author":{"name":"tsjxyz@gmail.com"},"main":"./lib/index","module":"./es/index","types":"./es/index.d.ts","scripts":{"compile":"father build && lessc assets/index.less assets/index.css","coverage":"rc-test --coverage","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","lint":"eslint src/ --ext .ts,.tsx,.jsx,.js,.md","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"dependencies":{"@rc-component/mini-decimal":"^1.0.1","@rc-component/util":"^1.4.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.2","@rc-component/np":"^1.0.3","@swc-node/jest":"^1.5.5","@testing-library/jest-dom":"^6.1.5","@testing-library/react":"^16.0.0","@types/jest":"^29.2.4","@types/node":"^24.5.2","@types/react":"^18.0.26","@types/react-dom":"^18.0.9","@types/responselike":"^1.0.0","@umijs/fabric":"^4.0.1","@umijs/test":"^4.0.36","dumi":"^2.0.13","eslint":"^8.54.0","father":"^4.5.5","glob":"^11.0.0","husky":"^9.1.7","jest-environment-jsdom":"^29.3.1","less":"^4.1.3","lint-staged":"^15.1.0","rc-test":"^7.0.14","react":"^18.2.0","react-dom":"^18.2.0","regenerator-runtime":"^0.14.1","ts-node":"^10.9.1","typescript":"^5.1.6"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_id":"@rc-component/input-number@1.6.1","gitHead":"6a2897bcf96d714b65d901851f35cebb9b49b07a","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"61c34a137656e5ece05b5b4dca32a989c37e2a60","size":14251,"noattachment":false,"key":"/@rc-component/input-number/-/@rc-component/input-number-1.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/input-number/download/@rc-component/input-number-1.6.1.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/input-number_1.6.1_1763220345586_0.3464918131128769"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-15T15:25:45.775Z","publish_time":1763220345775,"_source_registry_name":"default","_cnpm_publish_time":1763220345775},"1.5.1":{"name":"@rc-component/input-number","version":"1.5.1","description":"React input-number component","keywords":["react","react-component","react-input-number","input-number"],"homepage":"https://github.com/react-component/input-number","bugs":{"url":"https://github.com/react-component/input-number/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/input-number.git"},"license":"MIT","author":{"name":"tsjxyz@gmail.com"},"main":"./lib/index","module":"./es/index","types":"./es/index.d.ts","scripts":{"compile":"father build && lessc assets/index.less assets/index.css","coverage":"rc-test --coverage","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","lint":"eslint src/ --ext .ts,.tsx,.jsx,.js,.md","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"dependencies":{"@rc-component/input":"~1.1.0","@rc-component/mini-decimal":"^1.0.1","@rc-component/util":"^1.4.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.2","@rc-component/np":"^1.0.3","@swc-node/jest":"^1.5.5","@testing-library/jest-dom":"^6.1.5","@testing-library/react":"^16.0.0","@types/jest":"^29.2.4","@types/node":"^24.5.2","@types/react":"^18.0.26","@types/react-dom":"^18.0.9","@types/responselike":"^1.0.0","@umijs/fabric":"^4.0.1","@umijs/test":"^4.0.36","dumi":"^2.0.13","eslint":"^8.54.0","father":"^4.5.5","glob":"^11.0.0","husky":"^9.1.7","jest-environment-jsdom":"^29.3.1","less":"^4.1.3","lint-staged":"^15.1.0","rc-test":"^7.0.14","react":"^18.2.0","react-dom":"^18.2.0","regenerator-runtime":"^0.14.1","ts-node":"^10.9.1","typescript":"^5.1.6"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_id":"@rc-component/input-number@1.5.1","gitHead":"1424de3dca4b587538af7518f6568d7621e64b95","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"d9ca8fedd607e43dd74bfe3ae81df7d86cea5b53","size":14739,"noattachment":false,"key":"/@rc-component/input-number/-/@rc-component/input-number-1.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/input-number/download/@rc-component/input-number-1.5.1.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/input-number_1.5.1_1762786773901_0.6912823837574578"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-10T14:59:34.114Z","publish_time":1762786774114,"_source_registry_name":"default","_cnpm_publish_time":1762786774114},"1.6.0":{"name":"@rc-component/input-number","version":"1.6.0","description":"React input-number component","keywords":["react","react-component","react-input-number","input-number"],"homepage":"https://github.com/react-component/input-number","bugs":{"url":"https://github.com/react-component/input-number/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/input-number.git"},"license":"MIT","author":{"name":"tsjxyz@gmail.com"},"main":"./lib/index","module":"./es/index","types":"./es/index.d.ts","scripts":{"compile":"father build && lessc assets/index.less assets/index.css","coverage":"rc-test --coverage","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","lint":"eslint src/ --ext .ts,.tsx,.jsx,.js,.md","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"dependencies":{"@rc-component/mini-decimal":"^1.0.1","@rc-component/util":"^1.4.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.2","@rc-component/np":"^1.0.3","@swc-node/jest":"^1.5.5","@testing-library/jest-dom":"^6.1.5","@testing-library/react":"^16.0.0","@types/jest":"^29.2.4","@types/node":"^24.5.2","@types/react":"^18.0.26","@types/react-dom":"^18.0.9","@types/responselike":"^1.0.0","@umijs/fabric":"^4.0.1","@umijs/test":"^4.0.36","dumi":"^2.0.13","eslint":"^8.54.0","father":"^4.5.5","glob":"^11.0.0","husky":"^9.1.7","jest-environment-jsdom":"^29.3.1","less":"^4.1.3","lint-staged":"^15.1.0","rc-test":"^7.0.14","react":"^18.2.0","react-dom":"^18.2.0","regenerator-runtime":"^0.14.1","ts-node":"^10.9.1","typescript":"^5.1.6"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_id":"@rc-component/input-number@1.6.0","gitHead":"5613cbc46d6358c2c803e2e6c26c86ff8d98cd6e","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"6f82ac93b9263ddbdeda5e7578597acbdb04135b","size":14004,"noattachment":false,"key":"/@rc-component/input-number/-/@rc-component/input-number-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/input-number/download/@rc-component/input-number-1.6.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/input-number_1.6.0_1762783136128_0.6197285691879124"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-10T13:58:56.307Z","publish_time":1762783136307,"_source_registry_name":"default","_cnpm_publish_time":1762783136307},"1.5.0":{"name":"@rc-component/input-number","version":"1.5.0","description":"React input-number component","keywords":["react","react-component","react-input-number","input-number"],"homepage":"https://github.com/react-component/input-number","bugs":{"url":"https://github.com/react-component/input-number/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/input-number.git"},"license":"MIT","author":{"name":"tsjxyz@gmail.com"},"main":"./lib/index","module":"./es/index","types":"./es/index.d.ts","scripts":{"compile":"father build && lessc assets/index.less assets/index.css","coverage":"rc-test --coverage","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","lint":"eslint src/ --ext .ts,.tsx,.jsx,.js,.md","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"dependencies":{"@rc-component/input":"~1.1.0","@rc-component/mini-decimal":"^1.0.1","@rc-component/util":"^1.2.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.2","@rc-component/np":"^1.0.3","@swc-node/jest":"^1.5.5","@testing-library/jest-dom":"^6.1.5","@testing-library/react":"^16.0.0","@types/jest":"^29.2.4","@types/node":"^24.5.2","@types/react":"^18.0.26","@types/react-dom":"^18.0.9","@types/responselike":"^1.0.0","@umijs/fabric":"^4.0.1","@umijs/test":"^4.0.36","dumi":"^2.0.13","eslint":"^8.54.0","father":"^4.5.5","glob":"^11.0.0","husky":"^9.1.7","jest-environment-jsdom":"^29.3.1","less":"^4.1.3","lint-staged":"^15.1.0","rc-test":"^7.0.14","react":"^18.2.0","react-dom":"^18.2.0","regenerator-runtime":"^0.14.1","ts-node":"^10.9.1","typescript":"^5.1.6"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_id":"@rc-component/input-number@1.5.0","gitHead":"f27b8d9f636bdde13955fb50dccf486c24ee1344","_nodeVersion":"22.8.0","_npmVersion":"11.6.0","dist":{"shasum":"285a16f44f671de620b2cb9983e093c6a02c7622","size":14754,"noattachment":false,"key":"/@rc-component/input-number/-/@rc-component/input-number-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/input-number/download/@rc-component/input-number-1.5.0.tgz"},"_npmUser":{"name":"afc163","email":"afc163@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/input-number_1.5.0_1762221049755_0.418164585881194"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-04T01:50:50.058Z","publish_time":1762221050058,"_source_registry_name":"default","_cnpm_publish_time":1762221050058},"1.4.1":{"name":"@rc-component/input-number","version":"1.4.1","description":"React input-number component","keywords":["react","react-component","react-input-number","input-number"],"homepage":"https://github.com/react-component/input-number","bugs":{"url":"https://github.com/react-component/input-number/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/input-number.git"},"license":"MIT","author":{"name":"tsjxyz@gmail.com"},"main":"./lib/index","module":"./es/index","types":"./es/index.d.ts","scripts":{"compile":"father build && lessc assets/index.less assets/index.css","coverage":"rc-test --coverage","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","lint":"eslint src/ --ext .ts,.tsx,.jsx,.js,.md","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"dependencies":{"@rc-component/input":"~1.1.0","@rc-component/mini-decimal":"^1.0.1","@rc-component/util":"^1.2.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.2","@rc-component/np":"^1.0.3","@swc-node/jest":"^1.5.5","@testing-library/jest-dom":"^6.1.5","@testing-library/react":"^16.0.0","@types/jest":"^29.2.4","@types/node":"^24.5.2","@types/react":"^18.0.26","@types/react-dom":"^18.0.9","@types/responselike":"^1.0.0","@umijs/fabric":"^4.0.1","@umijs/test":"^4.0.36","dumi":"^2.0.13","eslint":"^8.54.0","father":"^4.5.5","glob":"^11.0.0","husky":"^9.1.7","jest-environment-jsdom":"^29.3.1","less":"^4.1.3","lint-staged":"^15.1.0","rc-test":"^7.0.14","react":"^18.2.0","react-dom":"^18.2.0","regenerator-runtime":"^0.14.1","ts-node":"^10.9.1","typescript":"^5.1.6"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_id":"@rc-component/input-number@1.4.1","gitHead":"15d2f310b57169a63dcfbc49f8534c8a37c2f6a4","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"4fe6b4edefb4771b966357ccc32c3750365d8249","size":14751,"noattachment":false,"key":"/@rc-component/input-number/-/@rc-component/input-number-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/input-number/download/@rc-component/input-number-1.4.1.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/input-number_1.4.1_1762157484870_0.40374560347496335"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-03T08:11:25.041Z","publish_time":1762157485041,"_source_registry_name":"default","_cnpm_publish_time":1762157485041},"1.4.0":{"name":"@rc-component/input-number","version":"1.4.0","description":"React input-number component","keywords":["react","react-component","react-input-number","input-number"],"homepage":"https://github.com/react-component/input-number","bugs":{"url":"https://github.com/react-component/input-number/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/input-number.git"},"license":"MIT","author":{"name":"tsjxyz@gmail.com"},"main":"./lib/index","module":"./es/index","types":"./es/index.d.ts","scripts":{"compile":"father build && lessc assets/index.less assets/index.css","coverage":"rc-test --coverage","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","lint":"eslint src/ --ext .ts,.tsx,.jsx,.js,.md","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"dependencies":{"@rc-component/input":"~1.0.0","@rc-component/mini-decimal":"^1.0.1","@rc-component/util":"^1.2.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.2","@rc-component/np":"^1.0.3","@swc-node/jest":"^1.5.5","@testing-library/jest-dom":"^6.1.5","@testing-library/react":"^16.0.0","@types/jest":"^29.2.4","@types/node":"^24.5.2","@types/react":"^18.0.26","@types/react-dom":"^18.0.9","@types/responselike":"^1.0.0","@umijs/fabric":"^4.0.1","@umijs/test":"^4.0.36","dumi":"^2.0.13","eslint":"^8.54.0","father":"^4.5.5","glob":"^11.0.0","husky":"^9.1.7","jest-environment-jsdom":"^29.3.1","less":"^4.1.3","lint-staged":"^15.1.0","rc-test":"^7.0.14","react":"^18.2.0","react-dom":"^18.2.0","regenerator-runtime":"^0.14.1","ts-node":"^10.9.1","typescript":"^5.1.6"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_id":"@rc-component/input-number@1.4.0","gitHead":"e12a92d26d254cafc0d237a3bb94c8913c1dc0fa","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"348f4ccc210d470f4da279b71455c7840a026bfd","size":14750,"noattachment":false,"key":"/@rc-component/input-number/-/@rc-component/input-number-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/input-number/download/@rc-component/input-number-1.4.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/input-number_1.4.0_1762157005053_0.18287585932844364"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-03T08:03:25.283Z","publish_time":1762157005283,"_source_registry_name":"default","_cnpm_publish_time":1762157005283},"1.3.0":{"name":"@rc-component/input-number","version":"1.3.0","description":"React input-number component","keywords":["react","react-component","react-input-number","input-number"],"homepage":"https://github.com/react-component/input-number","bugs":{"url":"https://github.com/react-component/input-number/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/input-number.git"},"license":"MIT","author":{"name":"tsjxyz@gmail.com"},"main":"./lib/index","module":"./es/index","types":"./es/index.d.ts","scripts":{"compile":"father build && lessc assets/index.less assets/index.css","coverage":"rc-test --coverage","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","lint":"eslint src/ --ext .ts,.tsx,.jsx,.js,.md","now-build":"npm run docs:build","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"dependencies":{"@rc-component/mini-decimal":"^1.0.1","classnames":"^2.2.5","@rc-component/input":"~1.0.0","@rc-component/util":"^1.2.0"},"devDependencies":{"@rc-component/father-plugin":"^2.0.2","@rc-component/np":"^1.0.3","@swc-node/jest":"^1.5.5","@testing-library/jest-dom":"^6.1.5","@testing-library/react":"^16.0.0","@types/classnames":"^2.2.9","@types/jest":"^29.2.4","@types/react":"^18.0.26","@types/react-dom":"^18.0.9","@types/responselike":"^1.0.0","@umijs/fabric":"^4.0.1","@umijs/test":"^4.0.36","cross-env":"^7.0.3","dumi":"^2.0.13","eslint":"^8.54.0","eslint-plugin-jest":"^28.10.0","eslint-plugin-unicorn":"^56.0.0","expect.js":"~0.3.1","father":"^4.5.5","glob":"^11.0.0","husky":"^9.1.7","jest-environment-jsdom":"^29.3.1","less":"^4.1.3","lint-staged":"^15.1.0","np":"^10.0.5","rc-test":"^7.0.14","rc-tooltip":"^6.0.1","react":"^18.2.0","react-dom":"^18.2.0","regenerator-runtime":"^0.14.1","ts-node":"^10.9.1","typescript":"^5.1.6"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_id":"@rc-component/input-number@1.3.0","gitHead":"72c6e46b3fc6220475326b4e5ec0263a2b2bbaa0","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"1694d1104e36f71d567726826cd63961741a8899","size":14630,"noattachment":false,"key":"/@rc-component/input-number/-/@rc-component/input-number-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/input-number/download/@rc-component/input-number-1.3.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/input-number_1.3.0_1756972435844_0.36268935476168207"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-04T07:53:56.016Z","publish_time":1756972436016,"_source_registry_name":"default","_cnpm_publish_time":1756972436016},"1.2.0":{"name":"@rc-component/input-number","version":"1.2.0","description":"React input-number component","keywords":["react","react-component","react-input-number","input-number"],"homepage":"https://github.com/react-component/input-number","bugs":{"url":"https://github.com/react-component/input-number/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/input-number.git"},"license":"MIT","author":{"name":"tsjxyz@gmail.com"},"main":"./lib/index","module":"./es/index","types":"./es/index.d.ts","scripts":{"compile":"father build && lessc assets/index.less assets/index.css","coverage":"rc-test --coverage","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","lint":"eslint src/ --ext .ts,.tsx,.jsx,.js,.md","now-build":"npm run docs:build","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"dependencies":{"@rc-component/mini-decimal":"^1.0.1","classnames":"^2.2.5","@rc-component/input":"~1.0.0","@rc-component/util":"^1.2.0"},"devDependencies":{"@rc-component/father-plugin":"^2.0.2","@rc-component/np":"^1.0.3","@swc-node/jest":"^1.5.5","@testing-library/jest-dom":"^6.1.5","@testing-library/react":"^16.0.0","@types/classnames":"^2.2.9","@types/jest":"^29.2.4","@types/react":"^18.0.26","@types/react-dom":"^18.0.9","@types/responselike":"^1.0.0","@umijs/fabric":"^4.0.1","@umijs/test":"^4.0.36","cross-env":"^7.0.3","dumi":"^2.0.13","eslint":"^8.54.0","eslint-plugin-jest":"^28.10.0","eslint-plugin-unicorn":"^56.0.0","expect.js":"~0.3.1","father":"^4.5.5","glob":"^11.0.0","husky":"^9.1.7","jest-environment-jsdom":"^29.3.1","less":"^4.1.3","lint-staged":"^15.1.0","np":"^10.0.5","rc-test":"^7.0.14","rc-tooltip":"^6.0.1","react":"^18.2.0","react-dom":"^18.2.0","regenerator-runtime":"^0.14.1","ts-node":"^10.9.1","typescript":"^5.1.6"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_id":"@rc-component/input-number@1.2.0","gitHead":"c1cded656f49207200eebbfd177596117418b226","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"1a37059f8db8c0d181436969afc82046482ee804","size":14611,"noattachment":false,"key":"/@rc-component/input-number/-/@rc-component/input-number-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/input-number/download/@rc-component/input-number-1.2.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/input-number_1.2.0_1747378331662_0.9479095191005207"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-16T06:52:11.855Z","publish_time":1747378331855,"_source_registry_name":"default","_cnpm_publish_time":1747378331855},"1.1.0":{"name":"@rc-component/input-number","version":"1.1.0","description":"React input-number component","keywords":["react","react-component","react-input-number","input-number"],"homepage":"https://github.com/react-component/input-number","bugs":{"url":"https://github.com/react-component/input-number/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/input-number.git"},"license":"MIT","author":{"name":"tsjxyz@gmail.com"},"main":"./lib/index","module":"./es/index","types":"./es/index.d.ts","scripts":{"compile":"father build && lessc assets/index.less assets/index.css","coverage":"rc-test --coverage","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","lint":"eslint src/ --ext .ts,.tsx,.jsx,.js,.md","now-build":"npm run docs:build","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"dependencies":{"@rc-component/mini-decimal":"^1.0.1","classnames":"^2.2.5","@rc-component/input":"~1.0.0","@rc-component/util":"^1.2.0"},"devDependencies":{"@rc-component/father-plugin":"^2.0.2","@rc-component/np":"^1.0.3","@swc-node/jest":"^1.5.5","@testing-library/jest-dom":"^6.1.5","@testing-library/react":"^16.0.0","@types/classnames":"^2.2.9","@types/jest":"^29.2.4","@types/react":"^18.0.26","@types/react-dom":"^18.0.9","@types/responselike":"^1.0.0","@umijs/fabric":"^4.0.1","@umijs/test":"^4.0.36","cross-env":"^7.0.3","dumi":"^2.0.13","eslint":"^8.54.0","eslint-plugin-jest":"^28.10.0","eslint-plugin-unicorn":"^56.0.0","expect.js":"~0.3.1","father":"^4.1.1","glob":"^11.0.0","husky":"^9.1.7","jest-environment-jsdom":"^29.3.1","less":"^4.1.3","lint-staged":"^15.1.0","np":"^10.0.5","rc-test":"^7.0.14","rc-tooltip":"^6.0.1","react":"^18.2.0","react-dom":"^18.2.0","regenerator-runtime":"^0.14.1","ts-node":"^10.9.1","typescript":"^5.1.6"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_id":"@rc-component/input-number@1.1.0","gitHead":"43705cc47cda6671b081745802cd466641d13339","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"027ead90236fb095edf71ac36dab1f2df0f55a52","size":14627,"noattachment":false,"key":"/@rc-component/input-number/-/@rc-component/input-number-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/input-number/download/@rc-component/input-number-1.1.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/input-number_1.1.0_1745934140867_0.6991560730396171"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-29T13:42:21.040Z","publish_time":1745934141040,"_source_registry_name":"default","_cnpm_publish_time":1745934141040},"1.0.0":{"name":"@rc-component/input-number","version":"1.0.0","description":"React input-number component","keywords":["react","react-component","react-input-number","input-number"],"homepage":"https://github.com/react-component/input-number","bugs":{"url":"https://github.com/react-component/input-number/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/input-number.git"},"license":"MIT","author":{"name":"tsjxyz@gmail.com"},"main":"./lib/index","module":"./es/index","types":"./es/index.d.ts","scripts":{"compile":"father build && lessc assets/index.less assets/index.css","coverage":"rc-test --coverage","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","lint":"eslint src/ --ext .ts,.tsx,.jsx,.js,.md","now-build":"npm run docs:build","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"dependencies":{"@rc-component/mini-decimal":"^1.0.1","classnames":"^2.2.5","@rc-component/input":"~1.0.0","@rc-component/util":"^1.2.0"},"devDependencies":{"@rc-component/father-plugin":"^2.0.2","@rc-component/np":"^1.0.3","@swc-node/jest":"^1.5.5","@testing-library/jest-dom":"^6.1.5","@testing-library/react":"^16.0.0","@types/classnames":"^2.2.9","@types/jest":"^29.2.4","@types/react":"^18.0.26","@types/react-dom":"^18.0.9","@types/responselike":"^1.0.0","@umijs/fabric":"^4.0.1","@umijs/test":"^4.0.36","cross-env":"^7.0.3","dumi":"^2.0.13","eslint":"^8.54.0","eslint-plugin-jest":"^28.10.0","eslint-plugin-unicorn":"^56.0.0","expect.js":"~0.3.1","father":"^4.1.1","glob":"^11.0.0","husky":"^9.1.7","jest-environment-jsdom":"^29.3.1","less":"^4.1.3","lint-staged":"^15.1.0","np":"^10.0.5","rc-test":"^7.0.14","rc-tooltip":"^6.0.1","react":"^18.2.0","react-dom":"^18.2.0","regenerator-runtime":"^0.14.1","ts-node":"^10.9.1","typescript":"^5.1.6"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_id":"@rc-component/input-number@1.0.0","gitHead":"d9662d5831f6a9d5bda90e39742b75d5f7eb0c9c","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"478753ce88857ab7f54cb62969b050ca76629a8c","size":14038,"noattachment":false,"key":"/@rc-component/input-number/-/@rc-component/input-number-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/input-number/download/@rc-component/input-number-1.0.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/input-number_1.0.0_1738045025380_0.7273803505752927"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-28T06:17:05.549Z","publish_time":1738045025549,"_source_registry_name":"default","_cnpm_publish_time":1738045025549}},"readme":"# @rc-component/input-number\n\nInput number control.\n\n[![NPM version][npm-image]][npm-url]\n[![npm download][download-image]][download-url]\n[![build status][github-actions-image]][github-actions-url]\n[![Codecov][codecov-image]][codecov-url]\n[![bundle size][bundlephobia-image]][bundlephobia-url]\n[![dumi][dumi-image]][dumi-url]\n\n[npm-image]: http://img.shields.io/npm/v/@rc-component/input-number.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/@rc-component/input-number\n[travis-image]: https://img.shields.io/travis/react-component/input-number/master?style=flat-square\n[travis-url]: https://travis-ci.com/react-component/input-number\n[github-actions-image]: https://github.com/react-component/input-number/actions/workflows/react-component-ci.yml/badge.svg\n[github-actions-url]: https://github.com/react-component/input-number/actions/workflows/react-component-ci.yml\n[codecov-image]: https://img.shields.io/codecov/c/github/react-component/input-number/master.svg?style=flat-square\n[codecov-url]: https://app.codecov.io/gh/react-component/input-number\n[david-url]: https://david-dm.org/react-component/input-number\n[david-image]: https://david-dm.org/react-component/input-number/status.svg?style=flat-square\n[david-dev-url]: https://david-dm.org/react-component/input-number?type=dev\n[david-dev-image]: https://david-dm.org/react-component/input-number/dev-status.svg?style=flat-square\n[download-image]: https://img.shields.io/npm/dm/@rc-component/input-number.svg?style=flat-square\n[download-url]: https://npmjs.org/package/@rc-component/input-number\n[bundlephobia-url]: https://bundlephobia.com/package/@rc-component/input-number\n[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/@rc-component/input-number\n[dumi-url]: https://github.com/umijs/dumi\n[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square\n\n## Screenshots\n\n<img src=\"https://user-images.githubusercontent.com/507615/83162463-61414a80-a13c-11ea-9420-971f8697d490.png\" width=\"288\"/>\n\n## Install\n\n[![@rc-component/input-number](https://nodei.co/npm/@rc-component/input-number.png)](https://npmjs.org/package/@rc-component/input-number)\n\n## Usage\n\n```js\nimport InputNumber from '@rc-component/input-number';\n\nexport default () => <InputNumber defaultValue={10} />;\n```\n\n## Development\n\n```\nnpm install\nnpm start\n```\n\n## Example\n\nhttp://127.0.0.1:8000/examples/\n\nonline example: https://input-number.vercel.app/\n\n## API\n\n### props\n\n<table class=\"table table-bordered table-striped\">\n    <thead>\n    <tr>\n        <th style=\"width: 100px;\">name</th>\n        <th style=\"width: 50px;\">type</th>\n        <th style=\"width: 50px;\">default</th>\n        <th>description</th>\n    </tr>\n    </thead>\n    <tbody>\n        <tr>\n          <td>prefixCls</td>\n          <td>string</td>\n          <td>rc-input-number</td>\n          <td>Specifies the class prefix</td>\n        </tr>\n        <tr>\n          <td>min</td>\n          <td>Number</td>\n          <td></td>\n          <td>Specifies the minimum value</td>\n        </tr>\n        <tr>\n          <td>onClick</td>\n          <td></td>\n          <td></td>\n          <td></td>\n        </tr>\n        <tr>\n          <td>placeholder</td>\n          <td>string</td>\n          <td></td>\n          <td></td>\n        </tr>\n        <tr>\n          <td>max</td>\n          <td>Number</td>\n          <td></td>\n          <td>Specifies the maximum value</td>\n        </tr>\n        <tr>\n          <td>step</td>\n          <td>Number or String</td>\n          <td>1</td>\n          <td>Specifies the legal number intervals</td>\n        </tr>\n        <tr>\n          <td>precision</td>\n          <td>Number</td>\n          <td></td>\n          <td>Specifies the precision length of value</td>\n        </tr>\n        <tr>\n          <td>disabled</td>\n          <td>Boolean</td>\n          <td>false</td>\n          <td>Specifies that an InputNumber should be disabled</td>\n        </tr>\n        <tr>\n          <td>required</td>\n          <td>Boolean</td>\n          <td>false</td>\n          <td>Specifies that an InputNumber is required</td>\n        </tr>\n        <tr>\n          <td>autoFocus</td>\n          <td>Boolean</td>\n          <td>false</td>\n          <td>Specifies that an InputNumber should automatically get focus when the page loads</td>\n        </tr>\n        <tr>\n          <td>readOnly</td>\n          <td>Boolean</td>\n          <td>false</td>\n          <td>Specifies that an InputNumber is read only </td>\n        </tr>\n        <tr>\n          <td>controls</td>\n          <td>Boolean</td>\n          <td>true</td>\n          <td>Whether to enable the control buttons</td>\n        </tr>\n        <tr>\n          <td>name</td>\n          <td>String</td>\n          <td></td>\n          <td>Specifies the name of an InputNumber</td>\n        </tr>\n        <tr>\n          <td>id</td>\n          <td>String</td>\n          <td></td>\n          <td>Specifies the id of an InputNumber</td>\n        </tr>\n        <tr>\n          <td>value</td>\n          <td>Number</td>\n          <td></td>\n          <td>Specifies the value of an InputNumber</td>\n        </tr>\n        <tr>\n          <td>defaultValue</td>\n          <td>Number</td>\n          <td></td>\n          <td>Specifies the defaultValue of an InputNumber</td>\n        </tr>\n        <tr>\n          <td>onChange</td>\n          <td>Function</td>\n          <td></td>\n          <td>Called when value of an InputNumber changed</td>\n        </tr>\n        <tr>\n            <td>onBlur</td>\n            <td>Function</td>\n            <td></td>\n            <td>Called when user leaves an input field</td>\n        </tr>\n        <tr>\n          <td>onPressEnter</td>\n          <td>Function</td>\n          <td></td>\n          <td>The callback function that is triggered when Enter key is pressed.</td>\n        </tr>\n        <tr>\n          <td>onFocus</td>\n          <td>Function</td>\n          <td></td>\n          <td>Called when an element gets focus</td>\n        </tr>\n        <tr>\n          <td>style</td>\n          <td>Object</td>\n          <td></td>\n          <td>root style. such as {width:100}</td>\n        </tr>\n        <tr>\n          <td>upHandler</td>\n          <td>React.Node</td>\n          <td></td>\n          <td>custom the up step element</td>\n        </tr>\n        <tr>\n          <td>downHandler</td>\n          <td>React.Node</td>\n          <td></td>\n          <td>custom the down step element</td>\n        </tr>\n        <tr>\n          <td>formatter</td>\n          <td>(value: number|string): displayValue: string</td>\n          <td></td>\n          <td>Specifies the format of the value presented</td>\n        </tr>\n        <tr>\n          <td>parser</td>\n          <td>(displayValue: string) => value: number</td>\n          <td>`input => input.replace(/[^\\w\\.-]*/g, '')`</td>\n          <td>Specifies the value extracted from formatter</td>\n        </tr>\n        <tr>\n          <td>pattern</td>\n          <td>string</td>\n          <td></td>\n          <td>Specifies a regex pattern to be added to the input number element - useful for forcing iOS to open the number pad instead of the normal keyboard (supply a regex of \"\\d*\" to do this) or form validation</td>\n        </tr>\n        <tr>\n          <td>decimalSeparator</td>\n          <td>string</td>\n          <td></td>\n          <td>Specifies the decimal separator</td>\n        </tr>\n        <tr>\n          <td>inputMode</td>\n          <td>string</td>\n          <td></td>\n          <td>Specifies the inputmode of input</td>\n        </tr>\n        <tr>\n          <td>wheel</td>\n          <td>Boolean</td>\n          <td>true</td>\n          <td>Allows changing value with mouse wheel</td>\n        </tr>\n    </tbody>\n</table>\n\n## Keyboard Navigation\n* When you hit the <kbd>⬆</kbd> or <kbd>⬇</kbd> key, the input value will be increased or decreased by `step`\n* With the <kbd>Shift</kbd> key (<kbd>Shift+⬆</kbd>, <kbd>Shift+⬇</kbd>), the input value will be changed by `10 * step`\n* With the <kbd>Ctrl</kbd> or <kbd>⌘</kbd> key (<kbd>Ctrl+⬆</kbd> or <kbd>⌘+⬆</kbd> or <kbd>Ctrl+⬇</kbd> or <kbd>⌘+⬇</kbd> ), the input value will be changed by `0.1 * step`\n\n## Mouse Wheel\n* When you scroll up or down, the input value will be increased or decreased by `step`\n* Scrolling with the <kbd>Shift</kbd> key, the input value will be changed by `10 * step`\n\n## Test Case\n\n```\nnpm test\nnpm run chrome-test\n```\n\n## Coverage\n\n```\nnpm run coverage\n```\n\nopen coverage/ dir\n\n## License\n\n@rc-component/input-number is released under the MIT license.\n","_attachments":{},"homepage":"https://github.com/react-component/input-number","bugs":{"url":"https://github.com/react-component/input-number/issues"},"license":"MIT"}