{"_id":"@burrow-ui/number-input","_rev":"4-8357e4ba65259db911e9b9badce1a5ec","name":"@burrow-ui/number-input","dist-tags":{"latest":"0.1.8"},"versions":{"0.1.0":{"name":"@burrow-ui/number-input","version":"0.1.0","keywords":["react","ui","components","styled-components","burrow-ui","input","number","form"],"author":{"name":"Vlad Plakhotnik"},"license":"MIT","_id":"@burrow-ui/number-input@0.1.0","maintainers":[{"name":"vladplakhotnik","email":"vladplakhotnikk@gmail.com"}],"homepage":"https://github.com/VladPlakhotnik/mono-ui#readme","bugs":{"url":"https://github.com/VladPlakhotnik/mono-ui/issues"},"dist":{"shasum":"b9758bc6c33e5797849843f234d121f0025f5b0c","tarball":"https://registry.npmjs.org/@burrow-ui/number-input/-/number-input-0.1.0.tgz","fileCount":9,"integrity":"sha512-3EzPpnsC3EvJ9co/2ljxy0FjrtN2Q2CapFlQbs2C96TqvyXbwI8kKI9WwDzv11NIWSzHnlWPUBCaF0P3v/FRjA==","signatures":[{"sig":"MEUCIDPzJdVAg3CFEij5IOepHdz7pU2XXn7GZDhj+uMFUJtXAiEArvsL+MrKar7LDFFbFua1LWm651vq/mljELnxAqd2UaQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15577},"main":"src/index.ts","types":"src/index.ts","module":"src/index.ts","gitHead":"57cab68be5f87bd12956a707c98830623f95538c","scripts":{"build":"tsup","clean":"rm -rf dist .turbo","typecheck":"tsc --noEmit"},"_npmUser":{"name":"vladplakhotnik","email":"vladplakhotnikk@gmail.com"},"repository":{"url":"git+https://github.com/VladPlakhotnik/mono-ui.git","type":"git","directory":"packages/components/number-input"},"_npmVersion":"11.6.2","description":"Decimal-friendly numeric input for Burrow UI (preserves trailing dot during typing, RU comma normalisation)","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","dependencies":{"@burrow-ui/input":"workspace:*"},"publishConfig":{"main":"dist/index.cjs","types":"dist/index.d.ts","access":"public","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}}},"_hasShrinkwrap":false,"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0","styled-components":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/number-input_0.1.0_1777502200323_0.050018960000007384","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@burrow-ui/number-input","version":"0.1.2","keywords":["react","ui","components","styled-components","burrow-ui","input","number","form"],"author":{"name":"Vlad Plakhotnik"},"license":"MIT","_id":"@burrow-ui/number-input@0.1.2","maintainers":[{"name":"vladplakhotnik","email":"vladplakhotnikk@gmail.com"}],"homepage":"https://github.com/VladPlakhotnik/burrow-ui#readme","bugs":{"url":"https://github.com/VladPlakhotnik/burrow-ui/issues"},"dist":{"shasum":"f444e9f235c687a31b7a865ae82488ff1d22dfdf","tarball":"https://registry.npmjs.org/@burrow-ui/number-input/-/number-input-0.1.2.tgz","fileCount":9,"integrity":"sha512-Lw5sZ5FxfR4IwYCNlLYBQcLSsUQZdvt3qW041B/8oyw7RJynJvp8SQte5Fxi7swXmyf5sEVl5JB+V5LbxUx+1w==","signatures":[{"sig":"MEUCIQCsxwRpwen3fXWG1pM0cn+rJzyLxk2zB9hQSBHrQ+FaXQIgU4UZvN0GE6wCNOMs1+D8TIjM07IoDna5/8JzkF6Ck60=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15578},"main":"src/index.ts","types":"src/index.ts","module":"src/index.ts","gitHead":"d67d70457855b96e4d94cffd7e2aca77f4e254c3","scripts":{"build":"tsup","clean":"rm -rf dist .turbo","typecheck":"tsc --noEmit"},"_npmUser":{"name":"vladplakhotnik","email":"vladplakhotnikk@gmail.com"},"repository":{"url":"git+https://github.com/VladPlakhotnik/burrow-ui.git","type":"git","directory":"packages/components/number-input"},"_npmVersion":"10.8.2","description":"Decimal-friendly numeric input for Burrow UI (preserves trailing dot during typing, RU comma normalisation)","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"@burrow-ui/input":"^0.1.2"},"publishConfig":{"main":"dist/index.cjs","types":"dist/index.d.ts","access":"public","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}}},"_hasShrinkwrap":false,"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0","styled-components":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/number-input_0.1.2_1777742052441_0.942853630602962","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@burrow-ui/number-input","version":"0.1.4","keywords":["react","ui","components","styled-components","burrow-ui","input","number","form"],"author":{"name":"Vlad Plakhotnik"},"license":"MIT","_id":"@burrow-ui/number-input@0.1.4","maintainers":[{"name":"vladplakhotnik","email":"vladplakhotnikk@gmail.com"}],"homepage":"https://github.com/VladPlakhotnik/burrow-ui#readme","bugs":{"url":"https://github.com/VladPlakhotnik/burrow-ui/issues"},"dist":{"shasum":"771164f4fb0f120ee7ce1ecb4dcad3b708d1b868","tarball":"https://registry.npmjs.org/@burrow-ui/number-input/-/number-input-0.1.4.tgz","fileCount":8,"integrity":"sha512-8DeP8+/CNM8wXusVWBlG59ENOb5dMPz0/ztsr0VNJBY3p/MatHWpvz4OV7OA8fqFEmm8YXf71xqzTYPDWq+csQ==","signatures":[{"sig":"MEQCIAPw7vuOMdZOXnVCPH1bu/t/drEFOv64qRyPfqH7+b0/AiBSshN6ScCwxSKlnLfe2fsbWVEIohbvlcwFuGuRW6aJ6A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15822},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"d49e098429d7c16a41a9c672a2fac0c9c0e53701","scripts":{"build":"tsup","clean":"rm -rf dist .turbo","typecheck":"tsc --noEmit"},"_npmUser":{"name":"vladplakhotnik","email":"vladplakhotnikk@gmail.com"},"repository":{"url":"git+https://github.com/VladPlakhotnik/burrow-ui.git","type":"git","directory":"packages/components/number-input"},"_npmVersion":"10.8.2","description":"Decimal-friendly numeric input for Burrow UI (preserves trailing dot during typing, RU comma normalisation)","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"@burrow-ui/input":"^0.1.4"},"publishConfig":{"main":"dist/index.cjs","types":"dist/index.d.ts","access":"public","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}}},"_hasShrinkwrap":false,"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0","styled-components":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/number-input_0.1.4_1777744889928_0.3814702880956298","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@burrow-ui/number-input","version":"0.1.8","license":"MIT","description":"Decimal-friendly numeric input for Burrow UI (preserves trailing dot during typing, RU comma normalisation)","sideEffects":false,"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","publishConfig":{"access":"public","main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}}},"scripts":{"build":"tsup","typecheck":"tsc --noEmit","clean":"rm -rf dist .turbo"},"dependencies":{"@burrow-ui/input":"^0.1.7"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0","styled-components":"^6.0.0"},"repository":{"type":"git","url":"git+https://github.com/VladPlakhotnik/burrow-ui.git","directory":"packages/components/number-input"},"homepage":"https://github.com/VladPlakhotnik/burrow-ui#readme","bugs":{"url":"https://github.com/VladPlakhotnik/burrow-ui/issues"},"author":{"name":"Vlad Plakhotnik"},"keywords":["react","ui","components","styled-components","burrow-ui","input","number","form"],"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"_id":"@burrow-ui/number-input@0.1.8","gitHead":"84dfbb3e9a30f035002e49b3f7fb49262abbb16f","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-90ucpmh1RpaDJr/Pr01vmUNeKgH636cEzNk2fZ+Pu/KGBxPiu+ZWJ4qpa0WEglqeMx+eyNEwJ7TsFHkNQOAPEA==","shasum":"a390a327075cf846b287ca084d773b06ca95970f","tarball":"https://registry.npmjs.org/@burrow-ui/number-input/-/number-input-0.1.8.tgz","fileCount":8,"unpackedSize":15822,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGkl0SFdEBVGmaL1iizcgBihI8cEXQERb5qCt1o7g+11AiEAgCUsqZenqpNwfui1X2HejYYqLN/Gy1gHWix4rE/bUAM="}]},"_npmUser":{"name":"vladplakhotnik","email":"vladplakhotnikk@gmail.com"},"directories":{},"maintainers":[{"name":"vladplakhotnik","email":"vladplakhotnikk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/number-input_0.1.8_1778142319069_0.9453150043818856"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-29T22:36:40.253Z","modified":"2026-05-07T08:25:19.364Z","0.1.0":"2026-04-29T22:36:40.470Z","0.1.2":"2026-05-02T17:14:12.588Z","0.1.4":"2026-05-02T18:01:30.074Z","0.1.8":"2026-05-07T08:25:19.225Z"},"bugs":{"url":"https://github.com/VladPlakhotnik/burrow-ui/issues"},"author":{"name":"Vlad Plakhotnik"},"license":"MIT","homepage":"https://github.com/VladPlakhotnik/burrow-ui#readme","keywords":["react","ui","components","styled-components","burrow-ui","input","number","form"],"repository":{"type":"git","url":"git+https://github.com/VladPlakhotnik/burrow-ui.git","directory":"packages/components/number-input"},"description":"Decimal-friendly numeric input for Burrow UI (preserves trailing dot during typing, RU comma normalisation)","maintainers":[{"name":"vladplakhotnik","email":"vladplakhotnikk@gmail.com"}],"readme":"# @burrow-ui/number-input\n\nDecimal-friendly numeric input. Preserves trailing dots during typing\n(`20.` doesn't snap back to `20`), normalises Russian-keyboard comma\n(`20,40` → `20.40`), and clamps the fractional part to a `precision`\nbudget if specified.\n\n```tsx\nimport {NumberInput} from \"@burrow-ui/number-input\";\n\nconst [amount, setAmount] = useState<number | null>(null);\n\n<NumberInput\n  value={amount}\n  onChange={setAmount}\n  precision={2}\n  prefix={<span>$</span>}\n  placeholder=\"0.00\"\n/>;\n```\n\nBuilt on top of `@burrow-ui/input`.\n","readmeFilename":"README.md"}