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.

5.1.6 (2023-12-11)

Bug Fixes

  • select: port fixed positioning fixes back from v6.0.0 (feb9ec6), closes #1461

5.1.5 (2023-05-09)

Bug Fixes

  • @react-md/autocomplete: Prevent event default when pressing enter with open AutoComplete (#1439) (c505642)

5.1.4 (2022-06-16)

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

5.1.3 (2022-05-07)

Documentation

  • fix typos throughout codebase (725d1a2)

Other Internal Changes

  • @react-md/autocomplete: fix typos in utils tests (c0333cc)
  • typos: fix additional typos throughout repo (ef20132)

5.1.2 (2022-04-02)

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

5.1.1 (2022-04-01)

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

5.1.0 (2022-03-18)

Other Internal Changes

  • run lint-scripts --fix for consistent-type-imports (42d839d)

5.0.0 (2022-01-31)

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

4.0.3 (2021-12-31)

Other Internal Changes

  • Updated all packages' peerDependenciesMeta (60fcd71), closes #1319

4.0.2 (2021-11-30)

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

4.0.1 (2021-11-27)

Other Internal Changes

  • Updated imports to use import type when possible (ba96bb6)

4.0.0 (2021-11-24)

Features

  • Update to use new JSX Transform and latest eslint (8111cd3)
  • @react-md/transition: No longer use findDOMNode for transitions (cb952da)

Other Internal Changes

  • always skip lib check (229cef1)
  • react-md: Remove prop-types package and usage (2637a6f)

Breaking Changes

  • Minimum React version is now 16.14 instead of 16.8
  • react-md: There will no longer be run-time prop validation with the prop-types package.

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