Skip to content

Releases: citizensadvice/react-combo-boxes

v3.0.0

26 Nov 10:12
Compare
Choose a tag to compare
  • Updates SASS from @import to @use to 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

20 Jun 12:55
Compare
Choose a tag to compare
  • 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

08 Feb 17:22
Compare
Choose a tag to compare
  • Fix layout functions were still being run without the listbox or input

v2.8.0

11 Jan 10:50
Compare
Choose a tag to compare

Changed

  • (Potentially breaking): Layout functions are now called when the listbox is hidden,
    allowing clean-up methods to be run

Fixed

  • layout_popover is not hiding the popover when a listbox is closed which can result in the listbox not being in the top layer

v2.7.0

19 Dec 12:53
Compare
Choose a tag to compare

Added

  • Added a new layout_popover to resolves issues displaying list boxes inside
    of scrolling areas or a modal <dialog>. If used, this has a peer dependency of floating-ui

Fixes

  • placeholderOption should 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

20 Jul 16:27
Compare
Choose a tag to compare
  • fixed placeholderOption should allow a blank value

v2.6.1

19 Jun 13:48
Compare
Choose a tag to compare

Fixed

  • marked-highlight should have been a devDependency

v2.6.0

19 Jun 13:47
Compare
Choose a tag to compare

Fixed

  • Simplification of how focus is managed to fix issues with the focus jumping back when tabbing from a combo-box
  • The remove cross will no longer show if a selected option's label is blank
  • Search suggestions example was not displaying any options

v2.5.1

19 Jun 13:46
Compare
Choose a tag to compare

Fixed

  • onSearch was not being called with an empty string when a combo-box was cleared

v2.5.0

25 Apr 17:30
Compare
Choose a tag to compare

Added

  • renderGroupName option added to <ComboBox> and <DropDown>

Fixed

  • Visually hidden incorrectly applied on non-breaking spaces in a list box