Skip to content

Releases: placekit/autocomplete-react

v2.1.1

24 Sep 07:42
1e4d7ee
Compare
Choose a tag to compare

What's Changed

  • Fix onFreeForm handler in usePlaceKit() by @noclat in #33

Full Changelog: v2.1.0...v2.1.1

v2.1.0

11 Sep 15:54
4745e78
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.1...v2.1.0

v2.0.1

22 Aug 06:59
198b907
Compare
Choose a tag to compare

What's Changed

  • Remove mouse interactions on mobile by @noclat in #31
  • Fix credits overflowing on mobile.
  • Fix minimum suggestion height on mobile for greater touch area.

Full Changelog: v2.0.0...v2.0.1

v2.0.0

15 Aug 05:04
90e8bb4
Compare
Choose a tag to compare

What's Changed

🎉 You can now search in the whole world!

⚠️ BREAKING CHANGES

Component properties

  • Renamed useGeolocation to geolocation.
  • Added onCountryMode handler.
  • Added onCountryChange handler.
  • Updated options.

Options

  • countries is no longer required!
  • Changed countryAutoFill default to true.
  • Added countrySelect (default: true) to disable country selection mode when countries is not set.
  • Moved className, offset, strategy, flip under panel object.
  • Moved noResults to format.noResults.
  • Moved and renamed formatValue to format.value.
  • Removed template.
  • Added format.sub to replace template–it can only control the sub text of a suggestion.
  • Added format.icon and format.flag to help customize icons/flags.
  • Added format.applySuggestion and format.cancel to help customize text labels/ARIA-labels.

👉 Read PlaceKit Autocomplete v2 release notes for all changes.

Full Changelog: v1.6.1...v2.0.0

v1.6.1

22 Jun 11:19
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.6.0...v1.6.1

v1.6.0

20 Jun 19:43
Compare
Choose a tag to compare

What's Changed

  • Toggle geolocation in <PlaceKit> by @noclat in #28

Full Changelog: v1.5.1...v1.6.0

v1.5.1

13 Jun 15:25
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.5.0...v1.5.1

v1.5.0

13 Jun 14:09
c8c8a4b
Compare
Choose a tag to compare

What's Changed

  • Fix state and default value not updating, expose client with onClient by @noclat in #26

Full Changelog: v1.4.1...v1.5.0

v1.4.1

08 Jun 10:57
ff1ec55
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.4.0...v1.4.1

v1.4.0

08 Jun 10:50
Compare
Choose a tag to compare

What's Changed

  • feat:make usePlaceKit more resilient to updates by @noclat in #24

⚠️ BREAKING CHANGES

  • Renamed state.hasGeolocation to state.geolocation to match Autocomplete JS.

Full Changelog: v1.3.1...v1.4.0