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 - v4.2.2

Published by ericgio over 4 years ago

  • Fix outdated yarn.lock file
  • Update flow version
react-bootstrap-typeahead - v4.2.0

Published by ericgio over 4 years ago

Bug Fixes

  • Fix keyboard navigation in StrictMode (#530)

Deprecations

  • Deprecate getInstance
  • Deprecate bsSize prop

Enhancements + Feature Requests

  • Accept node for newSelectionPrefix and paginationText (#535)
  • Add toggleMenu callback

Internal + Documentation

  • Upgrade dependencies
  • Update how tests access the component instance
  • Add community examples section to README (#455)
  • Fix anchor links in upgrade guide
  • Remove duplicated labelKey tag in docs (Thanks @atefBB!)
react-bootstrap-typeahead - v5.0.0-alpha.1

Published by ericgio over 4 years ago

Breaking Changes

  • Drop support for React < 16.8.
  • Drop official support for Bootstrap 3. Among other things, this consists of updating the HTML structure and class names of included components like MenuItem in a backwards-incompatible way. Note that if you are using BS3, things should still work, but you may need to render your own menu, menu item, and input components.
  • Remove deprecated use of findDOMNode (#415). In some cases, this now requires explicitly passing refs to underlying DOM nodes. If using renderInput, you will need to pass the referenceElementRef prop to a DOM node. This will usually be the input itself, but may be a container node. When using custom tokens, you will need to pass the ref from tokenContainer to the token DOM node.
  • Convert hintContainer to Hint component
  • Rename bsSize prop to size

Enhancements

  • Remove UNSAFE_componentWillReceiveProps (#415)
  • Update react-overlays and add RootClose shim component (#415)
  • Update token and multi-input CSS to better match BS4

Internal

  • Refactor some components to SFCs using hooks
react-bootstrap-typeahead - v4.1.0

Published by ericgio over 4 years ago

Bug Fixes

  • Don't perform results logic when menu is hidden
  • Reset state.initialItem when hiding menu
  • Fix Flow type import

Internal

  • Upgrade flow-bin + rollup
  • Upgrade minor versions of dependencies
  • Use React.Fragment instead of array
  • lodash.isequal -> fast-deep-equal (~8% pkg reduction)
  • Pass input node to hint container via context
  • Update Typeahead child function signature
  • Move reference element ref to main component
  • Move RootCloseWrapper to main component
  • Simplify ref flow types
react-bootstrap-typeahead - v4.0.0

Published by ericgio over 4 years ago

Breaking Changes

See the upgrade guide for details on how to migrate to v4.0:

  • Require React >=16.3.0
  • Remove create-react-context & react-lifecycles-compat dependencies
  • Remove ability to hide menu via falsy emptyLabel value
  • Drop menuId in favor of id and make required for a11y
  • Updates to Overlay API; use positionFixed prop instead of bodyContainer
  • Remove onMenuHide and onMenuShow; use onMenuToggle prop instead
  • Fix default for autoComplete attribute (#413)
  • Remove a11y announcer (a11yNumResults & a11yNumSelected)(#301, #321)

Bug Fixes

  • Disable root close when token is inactive
  • Fix hint alignment issues (#501, #515)
  • Revert back to componentWillReceiveProps (#437)
  • Fix input focus bug when tabbing
  • Don't render interactive token if it is disabled
  • Fix undefined Element during SSR (#522)
  • Fix a11y issues in component + examples (#517)
  • Fix useCache bug (#520, #521 - Thanks @jbialobr!)
  • Fix custom option id incrementing
  • Update keydown behaviors
  • Don't filter results when menu is closed
  • Fix lib files not being included in package
  • Fix invalid aria values (#438)
  • Fix updating active index when result order changes
  • Prepend menu id to menu item id for uniqueness

Feature Requests + Enhancements

  • Include .scss files in package (#486)
  • Include ES module files in package
  • Allow event handlers to be passed to Token (#467, #471)
  • Remove findDOMNode from tokenContainer (#415)
  • Add readOnly prop to Token
  • Use forwardRef in MenuItem
  • Forward refs within input components
  • Publicly expose lower-level input components
  • Pass option to tokenContainer for onRemove
  • Render tokens as child of TypeaheadInputMulti
  • Update .npmignore to omit unnecessary files/folders from package
  • Add renderInput prop and expose hintContainer (#316)
  • Allow style prop to be passed to top-level element

Tooling

  • Update eslint-config + lint rules
  • Use Rollup for build, reduce umd package size by ~16%
  • Add Flow and annotate code
  • Use Jest for testing + add tests
  • Add code coverage reports and configure with Coveralls + Codecov
  • Add husky and lint-staged for git hooks

Internal

  • Update bsSize handling
  • Pass limited state down to menu & input
  • More consistent naming
  • Reduce lodash footprint
  • Update CSS build script
  • Add homepage and files to package.json, remove .npmignore
  • Update pagination option handling
  • Rename inner typeahead component
  • Drop Node 6 & 8 testing; add Node 12
  • Update dependencies
  • Use scroll-into-view-if-needed package
  • Simplify inputs + styles
  • Simplify Highlighter component
  • Consolidate propTypes
  • Use terser instead of uglify for minification
  • Add state modifier functions
  • Return strings/arrays from Highlighter component instead of wrapping with span
  • Re-organize file structure
  • Refactor internals to move towards a more modular and declarative API
  • Create a core set of components for better modularity
  • Better separation of typeahead and rendering logic

Examples & Docs

  • Default examples to Bootstrap 4
  • Update examples to use SFCs + hooks
  • Fix w3c validation
  • Update rendering and pagination examples
  • Add sandbox link to bug report template
  • Remove deprecated lifecycles
  • Fix scrollspy behavior
  • Update Markdown component
  • General improvements and updates to documentation
react-bootstrap-typeahead - v4.0.0-rc.2

Published by ericgio over 4 years ago

Bug Fixes

  • Fix undefined Element during SSR (#522)
  • Fix a11y issues in component + examples (#517)
  • Fix useCache bug (#520, #521 - Thanks @jbialobr!)

Enhancements + Feature Requests

  • Include .scss files in package (#486)
react-bootstrap-typeahead - v4.0.0-rc.1

Published by ericgio over 4 years ago

Breaking Changes

  • Require React >=16.3.0
  • Remove create-react-context dependency
  • Remove react-lifecycles-compat dependency
  • Return strings/arrays from Highlighter component instead of wrapping with span

Bug Fixes

  • Fix hint alignment issues (#501, #515)
  • Revert back to componentWillReceiveProps (#437)
  • Fix input focus bug when tabbing
  • Don't render interactive token if it is disabled

Feature Requests + Enhancements

  • Allow event handlers to be passed to Token (#467, #471)
  • Remove findDOMNode from tokenContainer (#415)
  • Add readOnly prop to Token
  • Use forwardRef in MenuItem
  • Forward refs within input components
  • Publicly expose lower-level input components
  • Pass option to tokenContainer for onRemove
  • Render tokens as child of InputMulti

Internal + Documentation

  • Drop Node 6 & 8 testing; add Node 12
  • Improve API documentation
  • Update dependencies
  • Improvements to Flow typing
  • Use terser instead of uglify for minification
  • Add state modifier functions
  • Update eslint-config
  • Fix broken tests
react-bootstrap-typeahead - v3.4.7

Published by ericgio about 5 years ago

Bug Fixes

  • Fix query not set with initial input value (#479)
  • Set NODE_ENV=production for production builds (#482)
  • Fix Firefox bug when deleting tokens with backspace (#484)

Documentation

  • Link TypeaheadMenu to its implementation in Docs (#481, Thanks @mcampagonzalez!)
  • Update Rendering docs

Internal

  • Update dependencies
  • Update TravisCI config to fix failing tests
react-bootstrap-typeahead - v3.4.6

Published by ericgio over 5 years ago

Bugs

  • Fix hint with input-groups [#465]
  • Fix combination of open=false and highlightOnlyResult [#459, #460] (Thanks @michaelmwu!)

Documentation

  • Make role of filterBy clearer in docs [#453] (Thanks @wetneb!)

Internal

  • Remove Node 6 from CI testing
  • Upgrade dependencies to address vulnerabilities reported by Github
react-bootstrap-typeahead - v3.4.5

Published by ericgio over 5 years ago

Bug Fixes

  • Fix type error when checking classnames on SVG elements (#448) (Thanks @ababol!)
react-bootstrap-typeahead - v3.4.4

Published by ericgio over 5 years ago

Bug Fixes

  • Remove use of event.path (#446)
react-bootstrap-typeahead - v4.0.0-alpha.10

Published by ericgio over 5 years ago

Bug Fixes

  • Fix invalid aria values (#438)
  • Fix updating active index when result order changes

Examples & Docs

  • Fix w3c validation in examples
  • Update rendering and pagination examples

Internal

  • Update pagination option handling
  • Rename inner typeahead component
react-bootstrap-typeahead - v3.4.3

Published by ericgio over 5 years ago

Bug Fixes

  • Fix invalid aria values (#438)
  • Fix w3c validation in examples
react-bootstrap-typeahead - v4.0.0-alpha.9

Published by ericgio over 5 years ago

Bug Fixes

  • Fix custom option id incrementing
  • Update keydown behaviors
  • Don't filter results when menu is closed
  • Fix lib files not being included in package

Enhancements

  • Pass limited state down to menu & input

Documentation

  • README updates
  • Add sandbox link to bug report template

Internal

  • Update README.md
  • Update/add tests
  • More consistent naming
  • Simplify context
  • Refactor prop types
  • Reduce lodash footprint
  • Update CI + coverage reports
  • Streamline examples a bit
  • Add homepage and files to package.json, remove .npmignore
react-bootstrap-typeahead - v4.0.0-alpha.6

Published by ericgio over 5 years ago

Enhancements + Feature Requests

  • Include ES module files in package

Internal

  • Use Rollup for build, reduce umd package size by ~10%
  • Update & reshuffle example files
  • Move tests into src
  • Add coverage directory to clean script
  • Update tooling (lint-staged)
  • Update CSS build script
react-bootstrap-typeahead - v3.4.2

Published by ericgio over 5 years ago

Bug Fixes

  • Fix positionFixed + pagination option behavior (#431)
react-bootstrap-typeahead - v4.0.0-alpha.5

Published by ericgio over 5 years ago

  • Update .npmignore to omit unnecessary files/folders from package
react-bootstrap-typeahead - v4.0.0-alpha.4

Published by ericgio over 5 years ago

Enhancements + Feature Requests

  • Allow style prop to be passed to top-level element

Internal

  • Use scroll-into-view-if-needed package
  • Simplify inputs + styles
  • Simplify Highlighter component
  • Clean up some Flow typing
  • Improve/expand linting
  • Improve test coverage
  • Move husky and jest configs out of package.json
  • Consolidate propTypes

Documentation + Examples

  • Update Markdown example component
  • Update coverage badge branch
react-bootstrap-typeahead - v3.4.1

Published by ericgio over 5 years ago

Bug Fixes

  • Update logic for deprecation warnings (#428)
react-bootstrap-typeahead - v4.0.0-alpha.3

Published by ericgio over 5 years ago

Breaking Changes

  • Remove ability to hide menu via falsy emptyLabel value

Internal

  • Update dependencies
  • Add Flow and annotate code
  • Use Jest for testing
  • Add code coverage reports and configure with Coveralls
  • Add more tests
  • Use Husky for git hooks