v7.0 introduces some major internal changes in an effort to move towards composable typeahead primitives instead of a monolithic, configurable component.
Breaking Changes
A few breaking changes were introduced. Please see the upgrade guide for more details.
- Use
gap
CSS property for multi-select input - Drop support for BS4
- Remove HOCs and move hooks
Bug Fixes
- Fix
MenuItem
stories not rendering correctly
Internal
useTypeahead
hook- Convert main Typeahead to functional component
- Add reducer to manage Typeahead state
- Use default params instead of
defaultProps
- Remove
RootClose
component - Remove
onActiveItemChange
- Remove
babel-plugin-transform-imports
- Convert scripts to modules
- Upgrade examples to use React 18
- Upgrade to Storybook 8.5
- Upgrade and clean up dependencies