Skip to content

Releases: ericgio/react-bootstrap-typeahead

v2.5.0

05 Mar 23:34
Compare
Choose a tag to compare

Bug Fixes

  • Fix typos in docs

Enhancements

  • Better use of role and aria-* for improved accessibility
  • Use Prism for example syntax highlighting

Internal

  • Deprecate number values for maxHeight prop
  • Add eslint-plugin-jsx-a11y and fix errors
  • Add tests for renderMenu, renderMenuItemChildren, + renderToken

v2.4.0

21 Feb 09:06
Compare
Choose a tag to compare

Bug Fixes

  • Prevent blur when clicking on menu item or clear button (#226, #310)
  • Allow Overlay to render with empty children (#311) (thanks @alasdairhurst)

Enhancements + Feature Requests

  • Export the default TypeaheadMenu (#312) (thanks @alasdairhurst)
  • Allow string values for maxHeight prop (#315)

v2.3.2

16 Feb 09:41
Compare
Choose a tag to compare

Bug Fixes

  • Fix clear method async issue when called in onChange + tests (#211)
  • Hide hint text when menu is hidden (#298)
  • Prevent disabled options from being highlighted/selected (#304)

Feature Requests

  • Add minified CSS to build script (#307)

Internal

  • Move highlightOnlyResult behavior into separate HOC
  • Isolate typeahead rendering from container behavior
  • Convert tests to use Enzyme
  • Add tests for Menu, Overlay, and clear() method

v2.3.1

12 Feb 08:20
Compare
Choose a tag to compare

Bug Fixes

  • Fix hint preventing text selection (#278)
  • Fix error when using bodyContainer with multiple classnames (#300)

Internal + Documentation

  • Update docs
  • Add tests for Overlay/bodyContainer behaviors

v2.3.0

25 Jan 23:21
Compare
Choose a tag to compare

Enhancements + Feature Requests

  • Add defaultInputValue prop (#266)
  • Allow node to be passed to emptyLabel, promptText, and searchText (#292)

Internal

  • Add lint rule for object key sorting

v2.2.0

19 Jan 19:50
Compare
Choose a tag to compare

Enhancements + Feature Requests

  • Expose Highlighter as a public component. Add to docs and use in rendering examples.

Internal

  • Add default value for renderMenuItemChildren
  • Updates to documentation

v2.1.1

16 Jan 19:59
Compare
Choose a tag to compare

Bug Fixes

  • Fix placeholder color (#289)

Enhancements + Feature Requests

  • Update docs for installing JS & CSS

v2.1.0

14 Jan 08:28
Compare
Choose a tag to compare

Bug Fixes

  • Fix highlighting and hinting when input string contains diacritics (#288)
  • Fix substring matching with combining diacritical marks (#279)

Internal

  • Update stripDiacritics util to remove combining marks
  • Add getMatchBounds util
  • Update npm commands

v2.0.3

10 Jan 23:43
Compare
Choose a tag to compare

Bug Fixes

  • Use standard input for single-selection case (#278)
  • Fix long single selections obscuring clear button (#287)

Enhancements + Feature Requests

  • Update API documentation
  • Add keywords to package.json

v2.0.2

29 Nov 19:14
Compare
Choose a tag to compare

Bug Fixes

  • Fix propTypes case-sensitivity (#274)