Repository navigation
Releases
Releases · Onurlulardan/react-lookup-select
v2.0.0
Added
- Explicit input value formats (rows, IDs and ID/text pairs), independent of typed return shapes.
- Selection hydration for records outside the current page, with pending-selection feedback and confirmation rules.
- Controlled and uncontrolled modal state; draft and committed selection lifecycle.
- Improved keyboard navigation, modal focus handling, accessibility labels and virtualization behavior.
- Static documentation site, live examples and configurable playground.
Changed
- Feature-based library architecture with enforced import boundaries and cycle checks.
- Public TypeScript selection contracts and generic inference.
- Storybook replaced by Astro and Starlight; examples consolidated into the documentation.
- Package validation now tests packed ESM, CommonJS, types, CSS and React 18/19 consumers before publication.
- Dependency audits now run in CI and release validation. Packed consumer checks compile documentation examples with TypeScript 5.4 and 6.0.
Migration notes
- Use
valueFormat="id-text"when feeding an ID/text return value into controlled input; usevalueFormat="ids"for identity-only input. - Supply
hydrationRowsfor remote records absent from the current data page when full rows or custom projections are required. - Review the API reference and selection guide before upgrading.
No release date or published version is asserted for these changes yet. See GitHub Releases and npm versions for publication history.