All notable changes to this project are documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
minValue and maxValue bounds so the displayed value, accessibility attributes, and custom controls agree on the first render.setValue controls from changing disabled inputs or accepting non-finite values.This is a maintainer/toolchain release. The published component API is unchanged.
js-yaml override to 4.3.2 (GHSA-2883-xcg3-v3hh)19.3.0, Jest 30.5.2, @testing-library/react 16.3.3, @types/react 19.3.0esbuild and unrs-resolver via allowScriptsdist/index.js) and ESM (dist/esm/index.js) versions.CHANGELOG.md and CONTRIBUTING.md are now included in the npm package.engines field added to package.json specifying Node.js >= 20.role="spinbutton" and relevant aria-valuenow, aria-valuemin, and aria-valuemax attributes.forwardRef support: ref now correctly points to the underlying <input> element and supports imperative methods via useImperativeHandle.onChange events triggered by step buttons or setValue now include more standard event properties (currentTarget, persist, etc.) for better compatibility.tsc configurations for CJS and ESM.package.json exports updated to support modern ESM resolution while maintaining CJS compatibility.This is a maintainer/toolchain release. The published component API, peer dependency (react >=16.8.0 <20), and CommonJS entry are unchanged.
js-yaml to 4.3.1 (GHSA-5p4m-2wfm-xmqj)tsc) for the library and esbuild for the demofast-uri override (it only existed for webpack-dev-server)19.2.8, webpack 5.109.2, webpack-cli 7.2.2, html-webpack-plugin 5.6.8, @types/react 19.2.18@testing-library/jest-dom from 6.9.1 to 7.0.1renderControls render prop with exported ControlsRenderProps for custom stepper UI (increment, decrement, setValue, bounds, and formatted value)step={1} with precision={2} adds 0.01 (previously added 100 to the numeric value)renderControls renders the input and controls as siblings without an opinionated wrapper — layout is controlled by the consumerrenderControls and showStepButtons are set, renderControls takes precedencemodules: "commonjs", classic JSX runtime) so the published CJS build remains compatible with React 16.8+^22.18.0 || >=24.11.0 (Babel 8)value prop updates now apply minValue/maxValue clamping before formattingnpm audit clean)IntlNumberInputProps)forwardRef support for the underlying <input>onFocus, aria-*, data-*, autoComplete, etc.)showStepButtons, step)minValue / maxValue constraintsonBlur callbackinputMode propCONTRIBUTING.md and CHANGELOG.md documentationprop-types dependency (TypeScript types are the source of truth)onBlur now returns clamped numeric values consistent with onChangedocument access)peerDependencies now require only react (not react-dom)README.md, CONTRIBUTING.md)onBlur returning unclamped values while display was clampedSee git history for changes prior to 0.6.0.