Skip to main content
react-md
react-md - AutoComplete - Changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

3.1.0 (2021-09-10)

Bug Fixes

  • typescript: updated all array types to be readonly (8f71bcb)

Other Internal Changes

  • ran yarn format to include new files (48d3d7f)

3.0.1 (2021-08-15)

Bug Fixes

  • Updated peerDependencies to fix yarn berry peer requirements (250efcd), closes #1224

3.0.0 (2021-08-13)

Note: Version bump only for package @react-md/autocomplete

2.9.1 (2021-07-27)

Other Internal Changes

  • install: slighly reduce install size by excluding tests in publish (9d01a44)

2.9.0 (2021-07-18)

Note: Version bump only for package @react-md/autocomplete

2.8.5 (2021-07-03)

Note: Version bump only for package @react-md/autocomplete

2.8.4 (2021-06-10)

Other Internal Changes

  • ran prettier after upgrading to v2.3.0 (3ce236a)

2.8.3 (2021-05-18)

Documentation

  • react-md.dev: updated tsdoc to work with typedoc (cf54c35)

2.8.2 (2021-04-23)

Note: Version bump only for package @react-md/autocomplete

2.8.1 (2021-04-23)

Note: Version bump only for package @react-md/autocomplete

2.8.0 (2021-04-22)

Other Internal Changes

  • tsconfig: separate tsconfig by package instead of a single root (b278230)

2.7.1 (2021-03-23)

Other Internal Changes

  • ts: stopped using FC type (c5daa47)

2.7.0 (2021-02-28)

Documentation

  • tsdoc: fixed some tsdoc annotations and styling (0449b86)
  • tsdoc: updated @since annotations (c62027e)

Other Internal Changes

  • updated test coverage to not include conditional component PropTypes (24e5df1)

2.6.0 (2021-02-13)

Note: Version bump only for package @react-md/autocomplete

2.5.5 (2021-01-30)

Note: Version bump only for package @react-md/autocomplete

2.5.4 (2021-01-27)

Note: Version bump only for package @react-md/autocomplete

2.5.3 (2021-01-12)

Note: Version bump only for package @react-md/autocomplete

2.5.2 (2021-01-12)

Note: Version bump only for package @react-md/autocomplete

2.5.1 (2020-12-16)

Note: Version bump only for package @react-md/autocomplete

2.5.0 (2020-12-15)

Note: Version bump only for package @react-md/autocomplete

2.4.3 (2020-11-14)

Note: Version bump only for package @react-md/autocomplete

2.4.2 (2020-10-23)

Note: Version bump only for package

2.4.1 (2020-10-17)

Note: Version bump only for package @react-md/autocomplete

2.4.0 (2020-10-17)

Features

2.3.1 (2020-09-15)

Note: Version bump only for package @react-md/autocomplete

2.3.0 (2020-09-10)

Note: Version bump only for package @react-md/autocomplete

2.2.2 (2020-09-02)

Note: Version bump only for package @react-md/autocomplete

2.2.1 (2020-09-02)

Note: Version bump only for package @react-md/autocomplete

2.2.0 (2020-08-11)

Note: Version bump only for package @react-md/autocomplete

2.1.2 (2020-08-01)

Note: Version bump only for package @react-md/autocomplete

2.1.1 (2020-07-21)

Note: Version bump only for package @react-md/autocomplete

2.1.0 (2020-07-12)

Features

  • Exported the useAutoComplete hook (cac5cd1)
  • Render non-searchable items in AutoComplete (e7a82ac)

2.0.3 (2020-07-07)

Note: Version bump only for package @react-md/autocomplete

2.0.2 (2020-06-30)

Bug Fixes

  • LICENSE: Removed the time range from license since it was incorrect (50c9021)
  • Added sideEffects field to package.json (31820b9)
  • sideEffects formatting (78a7b6b)

v2.0.1

No changes.

v2.0.0

The v2 release completely re-write the Autocomplete component and renamed it to AutoComplete. There is a new API for dealing with data as well as a lot of accessibility fixes.

New Behavior and Features

  • correctly forwards the ref to the <input /> element
  • inherits all the new text field styles
  • inherits all the new Option/ListItem styles
  • lots of accessibility fixes since it now respects to the combobox role
  • opinionated better focus styles to help show keyboard focus vs "real" focus
  • the "inline" autocomplete is no longer a clickable <span> and instead is done with input.setSelectionRange
  • supports both "inline" and "menu" autocomplete behavior instead of being separate
  • supports limited highlighting of text within the search results
  • defaults to showing the list of suggestions once focused instead of after typing a letter
  • added additional filter options to the filter function
  • added a flag to be able to filter the data when there is no value for custom display items
  • added getResultId, getResultLabel and getResultValue to customizing the displayed matches a bit nicer (this is also have the data is filtered)

Breaking Changes

Everything is honestly a breaking change, but here's a few that are important to mention:

  • no longer has any styles of its own
  • only supports "smart" menus (automatically render itself within the viewport)
  • the value is no longer controllable (will be added in a later release)
  • no longer supports adding aria-setsize and aria-posinset for each option automatically when paginating results (will be added in a later release)
  • no longer supports rendering items that are not searchable and focusable (will be added in a later release)
  • the visibility of the autocomplete list is no longer controllable
  • renamed dataLabel to labelKey
  • renamed dataValue to valueKey
  • renamed the deleteKeys to omitKeys
  • all the positioning options were renamed
Removed SCSS Variables Placeholders, and Mixins
  • removed $md-inline-autocomplete
  • removed $md-autocomplete-suggestion-top
  • removed $md-autocomplete-suggestion-mobile-floating-top
  • removed $md-autocomplete-suggestion-mobile-block-top
  • removed $md-autocomplete-suggestion-desktop-floating-top
  • removed $md-autocomplete-suggestion-desktop-block-top
  • removed @mixin react-md-autocompletes
  • removed @mixin react-md-theme-autocompletes
  • removed @mixin react-md-autocompletes-mobile
  • removed @mixin react-md-autocompletes-desktop
  • removed @mixin react-md-autocompletes-media