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 - v2.0.1

Published by ericgio almost 7 years ago

Bug Fixes

  • Add/remove body container className instead of replacing (#273)

Internal

  • More specific propTypes for defaultSelected and selected (#270)
react-bootstrap-typeahead - v2.0.0

Published by ericgio almost 7 years ago

Major internal rewrite of the component. Breaking changes to the public API are relatively minimal, but please read the upgrade guide or the notes below to see how you may be affected.

Breaking Changes

  • Require isLoading prop to track request state in AsyncTypeahead (#164)
  • Major DOM restructure to merge rendering of input in single- and multi-select states, among other things.
  • Major CSS refactor related to the above. Renamed class names & prefixes and consolidated CSS files into one for simplicity.

Deprecations

  • name prop is deprecated in favor of more general inputProps

Bug Fixes

  • "Too much recursion" on nearly-empty lists (#142)
  • Controlled input behavior (#198)
  • initialItem behavior (#203)
  • Fix bodyContainer + dropup positioning
  • Fix cross-browser input rendering
  • Stop multiple property being set on input (#215)
  • Fix react-highlighter node not registering click (#219)
  • Fix cursor jumping issue (#229)
  • Remove manual onClickOutside in Token (fixes TypeError on unmounted tokens)
  • Fix breaking change in [email protected] (#258)
  • Fix async example allowing duplicate selections (#242)
  • Add onClick handler to input (#217)
  • Fix async clear-on-select issue (#193)

Enhancements + Feature Requests

  • Auto-highlight only result (#77)
  • Allow selecting hint on enter (#188)
  • Add inputProps prop (#33, #79, #138)
  • Add onKeyDown prop
  • onMenuShow & onMenuHide hooks (#210)
  • Add CSS class names for scoping when bodyContainer=true (#205)
  • Mimic focus state
  • Better support for Bootstrap 4
  • Give precedence to labelKey when it's a function (#213)
  • Package Size (#214)
    • Reduced main bundle by (~25%)
    • Reduced example bundle by (~65%)
  • Improve accessibility (#236)
    • Make the clear button keyboard-accessible
    • Add status field for screen readers
    • Make token remove button selectable and removeable via keyboard
    • Update labels for ClearButton
    • Add aria-hidden attribute to input hint
    • Prevent token remove button from being focusable
  • Clarify position prop in API docs
  • Add async pagination example (#221)
  • React 16 fully supported (#259, #251, #239)
  • Remove react-highlighter dependency and use internal version
  • Ignore diacritics in Highlighter
  • Updates to documentation

Internal

  • Move non-rendering logic into container
  • Add a bunch of tests
  • Abstract hinting functionality
  • Merge single- and multi-select inputs
  • Move prop warnings into custom propTypes
  • Update dependencies
  • Improve cursor position behavior
  • Use Sass for styles
  • Pass input node ref up to top level
  • Check that renderMenu is a function
  • Break out of switch statement instead of returning
  • react-prop-types -> prop-types-extra
  • Use babel-preset-env instead of babel-preset-2015
  • npm prepublish -> prepublishOnly
  • Drop CI testing on Node 4
  • Code style changes
  • Use ClearButton in Token
  • Move keycodes file to /constants
  • Move issue template into .github directory
  • Example code style changes
react-bootstrap-typeahead - v2.0.0-rc.4

Published by ericgio almost 7 years ago

No code changes; re-published to resolve #261

react-bootstrap-typeahead - v2.0.0-rc.3

Published by ericgio almost 7 years ago

Bug Fixes

  • outline: none when top-level component is active/focused

Feature Requests + Enhancements

  • React 16 fully supported (#259, #251, #239)
  • Remove react-highlighter dependency and use internal version
  • Ignore diacritics in Highlighter
  • Updates to documentation
react-bootstrap-typeahead - v2.0.0-rc.2

Published by ericgio almost 7 years ago

Bug Fixes

  • Fix cursor nightmare once and for all? (#257)
react-bootstrap-typeahead - v2.0.0-rc.1

Published by ericgio almost 7 years ago

Breaking Changes

  • Require isLoading prop to track request state (#164)
  • Move 'form-control' classname back to input level (CSS/DOM change)

Bug Fixes

  • Fix breaking change in [email protected] (#258)
  • Fix more cursor position bugs
  • Fix async example allowing duplicate selections (#242)
  • Add onClick handler to input (#217)
  • Fix async clear-on-select (#193)

Enhancements + Feature Requests

  • Move accessibility status to util method + tests (#236)
  • Prevent token remove button from being focusable (#236)
  • Add async pagination example (#221)

Internal

  • Example code style changes
react-bootstrap-typeahead - v2.0.0-alpha.6

Published by ericgio almost 7 years ago

Breaking Changes

  • rbt-token-close-button renamed to rbt-token-remove-button + updated CSS

Bug Fixes

  • Remove manual onClickOutside in Token (fixes TypeError on unmounted tokens)
  • Fix example CSS

Enhancements + Feature Requests

  • Package Size (#214)
    • Reduced main bundle by (~25%)
    • Reduced example bundle by (~65%)
  • Improve accessibility (#236)
    • Make the clear button keyboard-accessible
    • Add status field for screen readers
    • Make token remove button selectable and removeable via keyboard
    • Update labels for ClearButton
    • Add aria-hidden attribute to input hint
  • Clarify position prop in API docs

Internal

  • Code style changes
  • Use ClearButton in Token
  • Move keycodes file to /constants
  • Move issue template into .github directory
react-bootstrap-typeahead - v2.0.0-alpha.5

Published by ericgio about 7 years ago

Bug Fixes

  • Fix cursor jumping issue (#229)

Internal

  • Allow React and ReactDOM 16 as peer dependencies (#239)
  • Explicitly require [email protected]
  • Drop CI testing on Node 4
react-bootstrap-typeahead - v2.0.0-alpha.4

Published by ericgio about 7 years ago

Bug Fixes

  • Stop multiple property being set on input (#215)
  • Fix react-highlighter node doesn't register click (#219)
  • Fix example docs

Internal

  • Break out of switch statement instead of returning
  • Fix broken test
  • react-prop-types -> prop-types-extra
  • Use babel-preset-env instead of babel-preset-2015
  • Update dependencies
  • npm prepublish -> prepublishOnly
react-bootstrap-typeahead - v2.0.0-alpha.3

Published by ericgio about 7 years ago

Bug Fixes

  • Fix cross-browser input rendering

Enhancements + Feature Requests

  • Give precedence to labelKey when it's a function (#213)

Internal

  • Reconfigure addCustomOption.js and add test
  • Improve cursor position behavior
  • Use Sass for styles
  • Pass input node ref up to top level
  • Check that renderMenu is a function
react-bootstrap-typeahead - v2.0.0-alpha.2

Published by ericgio about 7 years ago

Bug Fixes

  • Fix bodyContainer + dropup positioning

Enhancements + Feature Requests

  • Add CSS class names for scoping when bodyContainer=true (#205)
  • Mimic focus state
  • Better support for Bootstrap 4

Internal

  • Move 'form-control' classname to top level
react-bootstrap-typeahead - v2.0.0-alpha.1

Published by ericgio over 7 years ago

Breaking Changes

  • Major CSS refactor. Update classnames and consolidate CSS files into one

Deprecations

  • name prop is deprecated in favor of inputProps

Bug Fixes

  • "Too much recursion" on nearly-empty lists (#142)
  • Controlled input behavior (#198)
  • initialItem behavior (#203)

Enhancements + Feature Requests

  • Auto-highlight only result (#77)
  • Allow selecting hint on enter (#188)
  • Add inputProps prop (#33, #79, #138)
  • Add onKeyDown prop
  • onMenuShow & onMenuHide hooks (#210)

Internal

  • Move non-rendering logic into container
  • Abstract hinting functionality
  • Merge single- and multi-select inputs
  • Move prop warnings into custom propTypes
  • Update packages
react-bootstrap-typeahead - v1.4.2

Published by ericgio over 7 years ago

  • Fix maxResults bug (#208)
react-bootstrap-typeahead - v1.4.1

Published by ericgio over 7 years ago

Bug Fixes

  • Don't override MenuItem onClick (#192)
  • Fix erroneous use of getDefaultProps (#204)
  • Keep only one selection when going from multi- to single-select

Internal Updates

  • Add _updateText method
  • Update/improve getInputTextSpec
  • Finish converting everything to ES6 classes
react-bootstrap-typeahead - v1.4.0

Published by ericgio over 7 years ago

  • Fix React deprecation warnings (#181, fixes #168)
  • Don't share query cache between AsyncTypeahead instances (#170)
  • cancel searchDebounce in componentWillUnmount (#167)
  • Updates to docs
react-bootstrap-typeahead - v1.3.0

Published by ericgio over 7 years ago

  • Use requestAnimationFrame instead of throttle to redraw menu in Overlay
  • Minor updates to documentation
react-bootstrap-typeahead - v1.2.0

Published by ericgio over 7 years ago

  • Fix rendering when used with input-group (#74)
  • Hide native IE clear button (#153)
  • Fix allowNew behaviors in AsyncTypeahead, add tests & examples (#147)
  • Allow AsyncTypeahead to work properly with multi-select version (#145)
  • Add submitFormOnEnter prop (#135)
  • Add Github issue template
react-bootstrap-typeahead - v1.1.0

Published by ericgio over 7 years ago

  • Fix translucent background color on hint input (#141)
  • Add onPaginate hook (#143)
  • Update babel-plugin-transform-react-remove-prop-types version
react-bootstrap-typeahead - v1.0.2

Published by ericgio over 7 years ago

  • REALLY fix #140 this time
react-bootstrap-typeahead - v1.0.1

Published by ericgio over 7 years ago

  • Revert changes to extensions in index.js to fix #140
  • Update example URL in README