Releases: citizensadvice/react-combo-boxes
Releases · citizensadvice/react-combo-boxes
v5.0.0
- Highlights are now generated using the CSS custom highlight api.
v4.0.0
Changed
Thanks to recent improvements in browser and screen-reader support it has been possible to make a number of simplifications.
- Remove non-breaking space separators between options as the Mac Chrome bug requiring this has been resolved
- Use aria-labelledby for all option labels involving groups instead of inserting visually hidden text
- Removes the
renderGroupAccessibleLabelandrenderTableCellColumnAccessibleLabelfrom all components
as these are no longer required - Removed
managedFocusoption. Focus for screen-readers now entirely usesaria-activedescendantwhich now
works reliably over all screen-readers - Switch to the ARIA 1.2 pattern as this now works reliably over all screen-readers
- Adjusted Escape to behave like the aria-practices recommendations. Press once to close and press a second time
to clear the value. - Pressing Alt + ArrowUp no longer clears the search value
- A drop down with no options is now focusable
Fixes
- Fix an issue where drop down aria-live message was prefixed with "undefined"
- Fix the scrolling options not working in the drop down
- Fix pressing Alt + ArrowUp on a dropdown changes the selected option to the default option
v3.0.2
- Fix
stylelint-config-standard-scsswas accidentally added to dependencies instead of devDependencies
v3.0.1
- Added
tabindex="-1"to the listbox table container to prevent it becoming an extra tab-stop - Fix floating UI peer dependency was pinned to a minor version
v3.0.0
- Updates SASS from
@importto@useto fix deprecation warnings (potentially breaking) - Updates SASS to fix mixed declaration errors
- Do not close a combo-box or drop-down if the focus is leaving the browser window
- Add Node 22 to testing matrix
- Switch to eslint 9
v2.9.0
- If the value is updated for a combo-box and the listbox is visible and there is no user entered search, onSearch will be triggered
- React 18.3 support
- Remove default props in favour of default parameters
- Fix warnings on spreading
key
- Remove Node 16 from the test matrix
v2.8.1
- Fix layout functions were still being run without the listbox or input
v2.8.0
Changed
- (Potentially breaking): Layout functions are now called when the listbox is hidden,
allowing clean-up methods to be run
Fixed
layout_popoveris not hiding the popover when a listbox is closed which can result in the listbox not being in the top layer
v2.7.0
Added
- Added a new
layout_popoverto resolves issues displaying list boxes inside
of scrolling areas or a modal<dialog>. If used, this has a peer dependency of floating-ui
Fixes
placeholderOptionshould not produce an option for<Radios>and<Checkboxes>- layout functions could be called with the listbox or input as null if the ref changed before the animation frame
v2.6.2
- fixed
placeholderOptionshould allow a blank value