Releases: frost-js/ui-authcodeinput
Releases · frost-js/ui-authcodeinput
Release list
v3.0.1
Patch release correcting the demo's mobile layout and improving test organization.
Fixed
- Removed the first demo panel's column divider, which remained visible when the columns stacked on smaller screens.
Improved
- Grouped interaction tests by typing and validation, paste and autofill, keyboard behavior, and focus and tab order.
- Renamed the emitted change-event group to distinguish it from user interaction tests.
v3.0.0
Major release adopting Frost UI 4 and fQuery 5, adding compiled ESM exports, and improving keyboard input, form synchronization, and component cleanup.
Breaking Changes
- Requires
@fr0st/ui4 and@fr0st/query5 as peer dependencies. Browser applications must load compatible builds; Frost UI's all-in-one bundle supplies both dependencies. - The package root now resolves to the compiled ESM bundle. Package exports expose the root,
dist/*, andsrc/*; internal prototype modules have been replaced with private component methods. - Declared Node.js support is
^20.19.0 || ^22.13.0 || >=24.
Fixed
- Preserved native Ctrl/Cmd shortcuts for select-all, copy, cut, and paste in numeric inputs.
- Kept initialization, programmatic
setValue()andclear(), and form-reset synchronization silent, including when filtering or truncation produces a complete code. - Synchronized displayed values and tab order after form resets, respected canceled resets, and prevented pending refreshes from accessing disposed instances.
- Preserved read-only inputs during typing, paste, and backspace while retaining programmatic updates and keyboard navigation.
- Allowed disposal from change listeners without exceptions or subsequent focus handling, and prevented automatic submission when a listener disposes the component or changes the completed code.
- Corrected paste and multi-character autofill distribution, maxlength handling, RTL arrow navigation, and restoration of the original input's state during disposal.
Improved
- Improved inherited validation and ARIA attributes and added one-time-code autocomplete hints.
- Updated rendering and demos for Frost UI 4, including outline and filled styles, themes, and RTL layouts.
- Added compiled ESM and UMD bundles with source maps, modernized the build tooling, and updated development dependencies.
- Added cross-browser Playwright coverage and CI, aligned test fixtures and case tables with Frost UI conventions, and covered form resets, callback disposal, readonly behavior, and clipboard shortcuts.
- Updated README installation, development, accessibility, and form behavior documentation.