react-bootstrap-typeahead

React typeahead with Bootstrap styling

MIT License

Downloads
810.1K
Stars
993
Committers
39

Bot releases are hidden (Show)

react-bootstrap-typeahead - v3.1.0

Published by ericgio over 6 years ago

Bug Fixes

  • Remove submitFormOnEnter prop; essentially a no-op after 02c8a703b88bb204b5348477a5d13f2eca9cc723
  • Allow use of labelKey callbacks with pagination options (#337)
  • Fix example section title being obscured by fixed nav when clicking on jump menu
  • Don't select pagination option via tab or right arrow keys
  • Display input value instead of empty string when pagination option is active

Enhancements

  • Allow use of labelKey callbacks with custom options; previously threw an error (#337)

Internal

  • Call events after state changes are finished
  • Update Travis config to test Node 6, 7, & 8; drop Node 5
  • Update keydown behavior for ESC
  • Remove unused portion of AutosizeInput API
react-bootstrap-typeahead - v3.0.4

Published by ericgio over 6 years ago

Bug Fixes

  • Remove hasSelection check in AsyncTypeahead (#336)

Enhancements

  • Include validation styles for multi-select in package CSS

Internal

  • Update dependencies + package.json
  • Use gh-pages to publish examples
  • Update redundant paths to example data
  • Simplify webpack configs and build scripts
  • Update some tests
react-bootstrap-typeahead - v3.0.3

Published by ericgio over 6 years ago

Bug Fixes

  • Fixes onChange not being called when there is a selection and text is entered into the input
react-bootstrap-typeahead - v3.0.2

Published by ericgio over 6 years ago

Bug Fixes

  • Decouple hint and activeItem selection logic; fixes double call to onChange (#320)

Enhancements

  • Update CSS to better hide IE's clear control

Internal

  • Make hint element an input again for better cross-browser rendering
  • Encapsulate hint selection within hintContainer
  • Move inputContainer onChange handler up to typeaheadContainer
react-bootstrap-typeahead - v3.0.1

Published by ericgio over 6 years ago

Bug Fixes

  • Remove babel transform-imports for react-popper (#329)
react-bootstrap-typeahead - v3.0.0

Published by ericgio over 6 years ago

Breaking Changes

Please see the upgrade guide for more details on migrating to v3.0

API

  • Remove deprecated name prop
  • Change maxHeight prop to be a string only
  • Change renderToken callback signature - commit
  • Change filterBy callback signature - commit

Behavior

  • Only fire change events on user action (#305, #320)
  • Remove trimming and lower-casing from asyncContainer (#228, #326)
  • Use Popper.js for menu positioning (#125, #281, #297)
  • Make pagination option keyboard-accessible (#309)

Structure

  • Split TypeaheadInput into single- and multi-select versions
  • Move aux component rendering into main Typeahead component

Enhancements

  • Improved Bootstrap 4 support:
    • Add BS4-specific CSS (#131)
    • Add Bootstrap version toggler to examples
    • Fix input-group rendering for BS4 (#74, #131)
    • Add divider + header components to Menu
    • Fix example code toggle button size for BS4
    • Fix example radios + checkboxes for BS4
    • Fix multi-select disabled styles in BS4
  • Add hinting to multi-select mode (#88)
  • Show active item text in multi-select input
  • Pass event as second param of onInputChange (#202)

Internal

  • Use Fragment instead of containing div in examples
  • More consistent container displayNames
  • Fix invalid HTML on example page
  • Move input classnames up to container
  • Pass hint to HintedInput via context
  • Merge some container code
  • Add test cases
  • Rename some internal methods
  • Remove extraneous method calls
  • Pass explicit props down
  • Make hint element a div
  • Disable no-control-regex eslint rule
react-bootstrap-typeahead - v3.0.0-alpha.2

Published by ericgio over 6 years ago

Breaking Changes

  • Remove trimming and lower-casing from asyncContainer (#228, #326)
  • Use Popper.js for menu positioning (#125, #281, #297)

Enhancements

  • Add hinting to multi-select mode (#88)
  • Show active item text in multi-select input
  • Add BS4-specific CSS (#131)

Internal

  • Disable no-control-regex eslint rule
react-bootstrap-typeahead - v3.0.0-alpha.1

Published by ericgio over 6 years ago

Breaking Changes

  • Split TypeaheadInput into single- and multi-select versions
    • May break custom CSS styling
  • Move aux component rendering into main Typeahead component
    • May break custom CSS styling
  • Make pagination option keyboard-accessible (#309)
    • The pagination option is now added to the results (like the custom option) and must be handled manually if using renderMenu.
  • Change maxHeight prop to be a string only
  • Only fire change events on user action (#305, #320)
  • Change renderToken callback signature - commit
  • Change filterBy callback signature - commit
  • Remove deprecated name prop

Enhancements + Feature Requests

Improved Bootstrap 4 support:

  • Add Bootstrap version toggler to examples
  • Fix input-group rendering for BS4 (#74, #131)
  • Add divider + header components to Menu
  • Fix example code toggle button size for BS4
  • Fix example radios + checkboxes for BS4
  • Fix disabled styles in BS4

Internal

  • Use Fragment instead of containing div in examples
  • Pass event as second param of onInputChange (#202)
  • More consistent container displayNames
  • Fix invalid HTML on example page
  • Move input classnames up to container
  • Pass hint to HintedInput via context
  • Merge inner container back into main container
  • Add AsyncTypeahead test case
  • Rename some internal methods
  • Remove extraneous call to onActiveItemChange
  • Pass explicit props down to TypeaheadInput
  • Make hint element a div
react-bootstrap-typeahead - v2.6.0

Published by ericgio over 6 years ago

Bug Fixes

  • Fix example syntax highlighting

Enhancements + Feature Requests

Major improvements to accessibility:

  • Bring interactions inline with combobox authoring practices
  • Add proper aria attributes to input and menu items
  • Fix a11y when keying through multi-select menu (#236)
  • Add ability to open the menu with up/down arrow keys
  • Add className + better a11y for custom option (#166)

Internal

  • Don't pass deleted method down as a prop
react-bootstrap-typeahead - v2.5.1

Published by ericgio over 6 years ago

Bug Fixes

  • Use modified AutosizeInput component (#256, #296)
react-bootstrap-typeahead - v2.5.0

Published by ericgio over 6 years ago

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
react-bootstrap-typeahead - v2.4.0

Published by ericgio over 6 years ago

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)
react-bootstrap-typeahead - v2.3.2

Published by ericgio over 6 years ago

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
react-bootstrap-typeahead - v2.3.1

Published by ericgio over 6 years ago

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
react-bootstrap-typeahead - v2.3.0

Published by ericgio over 6 years ago

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
react-bootstrap-typeahead - v2.2.0

Published by ericgio almost 7 years ago

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
react-bootstrap-typeahead - v2.1.1

Published by ericgio almost 7 years ago

Bug Fixes

  • Fix placeholder color (#289)

Enhancements + Feature Requests

  • Update docs for installing JS & CSS
react-bootstrap-typeahead - v2.1.0

Published by ericgio almost 7 years ago

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
react-bootstrap-typeahead - v2.0.3

Published by ericgio almost 7 years ago

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
react-bootstrap-typeahead - v2.0.2

Published by ericgio almost 7 years ago

Bug Fixes

  • Fix propTypes case-sensitivity (#274)