All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fixed focus with multiple static options. Previously not detecting when multiple static options were present, making the options not able to focus with arrow keys.
- a11y: removed orphaned aria-expanded from crane-select div. There already exists an aria-expanded attribute on the combobox element.
- Add aria-activedescendant to Input so screen-readers like JAWs can know which option is "focused" while DOM focus remains on the input. Move aria-controls to Input per aria standards.
- Add aria-owns to the combobox element so screen-readers know the listbox should immediately follows the input in reading order.
- Give the menu element a unique id. Fixes a11y problems when multiple menus exist on the screen.
- Remove tabindex=0 from Option. Unneeded.
- Made id a required prop. This is needed to give menu elements a unique id.
- Fix 'enter' keyboard events not firing on selected options.
- Switched compilation/build from webpack to rollup.
- Improved accessibility of menu with aria-controls and aria-expanded.
- Disable keyboard select when an option is disabled.
- Add ability to override key used for disabled option, optionDisabledKey.
- Add ability to disable individual options in a dropdown.