react-geosuggest-mui
Version:
A React autosuggest for the Google Maps Places API.
363 lines (171 loc) • 14.3 kB
Markdown
### 2.0.9 (2017-06-28)
## 2.0.1
#### Bug Fixes
* **refactor:** changed to use reacts internal shallowCompare
## 2.0.0 (2016-10-07)
#### Bug Fixes
* **suggest-item:** bem naming ([1ab465aa](https://github.com/ubilabs/react-geosuggest/commit/1ab465aa1ea2999f01960ee0ef99d1de5621ef83))
#### Features
* **Geosuggest:** render label if id and label text where supplied ([e2cbfc86](https://github.com/ubilabs/react-geosuggest/commit/e2cbfc862b1706be215c4d29acaa26d988806f89))
* **prop-types:** add label prop types ([0345d63b](https://github.com/ubilabs/react-geosuggest/commit/0345d63b40e157c3d5c09ad0cf7c7046ffa3095c))
### 1.25.1 (2016-09-23)
#### Bug Fixes
* **package:** Specify addon as peer dependency ([7be701c1](https://github.com/ubilabs/react-geosuggest/commit/7be701c10d3c7d1cab774f157935784ecbd02312))
#### Breaking Changes
* react-addons-shallow-compare is now a peer dependency,
meaning users must install it separately from react-geosuggest.
The peer dependency for react allows one to use either react 0.14 or
0.15. However, the dependency for react-addons-shallow-compare only
allows 0.15 versions. For anyone using react 0.14 this causes warnings
from npm saying that the peer dependency for react 0.15 (specified by
react-addons-shallow-compare) is missing. This completely breaks
workflows depending on `npm shrinkwrap`.
([7be701c1](https://github.com/ubilabs/react-geosuggest/commit/7be701c10d3c7d1cab774f157935784ecbd02312))
## 1.25.0 (2016-08-19)
#### Bug Fixes
* **Geosuggest:** allow enter key events to propagate if suggestions are hidden ([f993c6bc](https://github.com/ubilabs/react-geosuggest/commit/f993c6bc94cd49b6b3904d6129bc7d6a68288e21), closes [#184](https://github.com/ubilabs/react-geosuggest/issues/184))
#### Features
* **Geosuggest:** pass on mouse and clipboard events ([7dc64566](https://github.com/ubilabs/react-geosuggest/commit/7dc64566f9149b720ee8f7809cf1d83bfef6bccf), closes [#182](https://github.com/ubilabs/react-geosuggest/issues/182))
* **Geosuggest:** Add a loading class on suggest loading ([685812b7](https://github.com/ubilabs/react-geosuggest/commit/685812b72caa9b6ce8bbcf74590d78099a366715)
### 1.24.1 (2016-06-21)
#### Bug Fixes
* **Geosuggest:** fix server side rendering ([428dedd8](https://github.com/ubilabs/react-geosuggest/commit/428dedd81687a613085db52e35cae14bf2dd19f4), closes [#172](https://github.com/ubilabs/react-geosuggest/issues/172))
## 1.24.0 (2016-06-21)
#### Bug Fixes
* **Geosuggest:**
* fix `autoActivateFirstSuggest` prop ([f4409f7e](https://github.com/ubilabs/react-geosuggest/commit/f4409f7ef9b02a097b1ec5679218d5d6f97e2d30))
* Unset activeSuggest on blur and when not in suggestion list anymore ([08ea143e](https://github.com/ubilabs/react-geosuggest/commit/08ea143e736cea91631f47468c8ff7702127128a))
* Hide the suggest list when the result set is empty ([6f23dc0e](https://github.com/ubilabs/react-geosuggest/commit/6f23dc0ec6f39124e488b51a690938a730d6cd28))
* GeoCode fixtures if no location is provided ([67ec4e5b](https://github.com/ubilabs/react-geosuggest/commit/67ec4e5b9676caa6fd623bb4add62b8a564202fd))
* Set autoComplete='off' and remove autoComplete option ([33763dd9](https://github.com/ubilabs/react-geosuggest/commit/33763dd90d24797b7435d331b0c937f7eb59a896), closes [#136](https://github.com/ubilabs/react-geosuggest/issues/136))
* initialise Google Maps in componentWillMount instead of componentDidMount ([2f326427](https://github.com/ubilabs/react-geosuggest/commit/2f3264279a1aca5164ced0bb4f5c40e46c608a2c), closes [#130](https://github.com/ubilabs/react-geosuggest/issues/130))
* **example:** add Google Maps API key ([9c3c6d25](https://github.com/ubilabs/react-geosuggest/commit/9c3c6d2596bdafbe633c9b33f125ac4a313c9534), closes [#107](https://github.com/ubilabs/react-geosuggest/issues/107))
* **package:**
* add test cases and src/*.js to linter ([61e3d08b](https://github.com/ubilabs/react-geosuggest/commit/61e3d08b756ad784edc9190787d9cd0ff9aaa77e))
* add src/*.js to light-server watch list ([68432ec1](https://github.com/ubilabs/react-geosuggest/commit/68432ec1af65872f211169a89c042f8130ecfc76))
#### Features
* **on-blur:** return current user input ([e88eda42](https://github.com/ubilabs/react-geosuggest/commit/e88eda424e57280bac8609b88cf9a30e77fc893a))
* add support for inline styles ([935fc71c](https://github.com/ubilabs/react-geosuggest/commit/935fc71c35db0cf27943acd34fceafc9dfee8e7a))
* Input obeys ignoreTab ([5987f05b](https://github.com/ubilabs/react-geosuggest/commit/5987f05b037c0c202bbe9f36e79aff40b082af87))
* add `queryDelay` parameter ([9daff3ac](https://github.com/ubilabs/react-geosuggest/commit/9daff3ac979ad87febd02c255316ef4fcb6e4d6d))
* add onSuggestNoResults callback function ([f51cacc0](https://github.com/ubilabs/react-geosuggest/commit/f51cacc04e0b5119f195c783779c9031df72a850))
## 1.23.0 (2016-05-19)
#### Bug Fixes
* Bug fix for IE 10, 'this' is not defined in the constructor function. We need to access the props directly from the argument. ([2dca2727](https://github.com/ubilabs/react-geosuggest/commit/2dca2727b4c4aee585ce419af2954c49d4208606))
#### Features
* **Geosuggest:** add onActivateSuggest event ([ab2fc049](https://github.com/ubilabs/react-geosuggest/commit/ab2fc049624076fb2d0ab517ebae705a82a987dc))
## 1.22.0 (2016-04-26)
#### Features
* **Geosuggest:**
* hardcode maxFixtures to 10 ([c2c3ef0f](https://github.com/ubilabs/react-geosuggest/commit/c2c3ef0f4a56b76720b90971c7b554b175ed0917))
## 1.21.0 (2016-04-15)
#### Features
* Update to React 15 ([ f604019](https://github.com/ubilabs/react-geosuggest/commit/f60401938166d1eaaf7a80c2e83992fe22d35e2b))
### 1.20.1 (2016-04-06)
#### Bug Fixes
* always add wrappers to input and suggests ([91d1f4fb](https://github.com/ubilabs/react-geosuggest/commit/91d1f4fbc480d1043213d62eb8399e3da4789c92))
## 1.20.0 (2016-04-06)
#### Bug Fixes
* **example:** switch to ES6 imports thanks to Babel bug ([b5a066b8](https://github.com/ubilabs/react-geosuggest/commit/b5a066b81c28cb991a9bee95183af4d23cff4beb), closes [#112](https://github.com/ubilabs/react-geosuggest/issues/112))
#### Features
* Add wrapper options and add them to example and README ([ 4b9f9c7](https://github.com/ubilabs/react-geosuggest/commit/4b9f9c7b5939020d09a9603198a6111333f94fbd))
## 1.19.0 (2016-03-11)
#### Bug Fixes
* remove isMounted antipattern ([b347e9a3](https://github.com/ubilabs/react-geosuggest/commit/b347e9a3eb935e89ca30797ba253cd299b2a1e57), closes [#71](https://github.com/ubilabs/react-geosuggest/issues/71))
* Add className option for fixtures ([880fe77](https://github.com/ubilabs/react-geosuggest/commit/880fe7758810a0e259c2442698cdf07309829b41))
#### Features
* add props validation ([7d68a02f](https://github.com/ubilabs/react-geosuggest/commit/7d68a02f8bbdea86fdc91b87a084e5ee25d98ca4), closes [#33](https://github.com/ubilabs/react-geosuggest/issues/33))
### 1.18.1 (2016-02-11)
#### Bug Fixes
* **input:** use corrected list of allowed input attributes ([d623c65c](https://github.com/ubilabs/react-geosuggest/commit/d623c65c6eb26ff84d5675e573a4991a93c4c74f))
* make classnames a real dependency ([1fd93dd](https://github.com/ubilabs/react-geosuggest/commit/1fd93dd842820f87133ae4db48ba24fc064270fd))
## 1.18.0 (2016-02-10)
#### Features
* deploy dist folder via npm ([e5446a29](https://github.com/ubilabs/react-geosuggest/commit/e5446a298b2d9e0479a65786b908647b46d8bc9b))
## 1.17.0 (2016-02-10)
#### Bug Fixes
* Handle null value for Google suggestions ([cfd84ad](cfd84adeebda41d2b7e27576716fb3a30f63182c))
#### Features
* add focus() to focus on the element ([11c08af5](https://github.com/ubilabs/react-geosuggest/commit/11c08af5808d197254cbdfe3a78f99eafe0840b2))
### 1.16.1 (2016-02-07)
#### Bug Fixes
* Fix module build ([7de677c](7de677c51dcd87b67e371303ae3ee1f2242fa599))
## 1.16.0 (2016-02-05)
#### Bug Fixes
* autofocus -> autoFocus ([7f9daa0](7f9daa0b4d1813704448037322787e4004309e49))
* use ignoreBlur flag to avoid hiding suggests when clicking one ([4fa6bd2](4fa6bd2d5e381bfb55a53db86afbd9519c333958))
* Escape user input for regex to avoid Exception ([95b01ba](95b01ba1dae31d6780c4ed5fd72b9cfb4b3e10c2))
#### Features
* Use labelId instead of address to get the geocode ([f95d2a3](f95d2a337021b3ce49ef6094f53c388de9aa20d9))
### 1.15.1 (2016-01-18)
#### Bug Fixes
* add missing attribute id ([91f5ceea](https://github.com/ubilabs/react-geosuggest/commit/91f5ceea64c940a3cf26f0b913dfbcf784dfa40f))
## 1.15.0 (2016-01-18)
#### Features
* allow all standard input type attributes ([a43c388c](https://github.com/ubilabs/react-geosuggest/commit/a43c388cd168a60c90ec0b5d971d9f65316b8275), closes [#80](https://github.com/ubilabs/react-geosuggest/issues/80))
## 1.14.0 (2016-01-04)
#### Bug Fixes
* check whether component is still mounted after timeout ([67972d08](https://github.com/ubilabs/react-geosuggest/commit/67972d08ee24e77605ead13d23025854683454ef), closes [#71](https://github.com/ubilabs/react-geosuggest/issues/71))
* "use strict"; no longer throws errors if google cannot be loaded ([d8c97c0](https://github.com/ubilabs/react-geosuggest/commit/d8c97c0e1d023a31c4545fff24ff0a1e7b18c2b6))
#### Features
* Add property for input class name. ([c43b91a](https://github.com/ubilabs/react-geosuggest/commit/c43b91aa597d7d9685be994a431e54529464cabe))
## 1.13.0 (2015-10-29)
#### Features
* Remove defaults for search radius and location ([17f0bf0](https://github.com/ubilabs/react-geosuggest/commit/17f0bf053bde609c5f891ba4bb048d1cacc3f0b9))
## 1.12.0 (2015-10-22)
#### Bug Fixes
* doc comments, backward compatible changes ([96cca392](https://github.com/ubilabs/react-geosuggest/commit/96cca392f5b569247523cf784d34f1e1eb8b89d8))
* add copy css in build module ([bb988a1c](https://github.com/ubilabs/react-geosuggest/commit/bb988a1c5bf3079b170cd24c79bbd21093f49f93))
* googleMaps object moved out of props and set in componentDidMount ([955812df](https://github.com/ubilabs/react-geosuggest/commit/955812dfb702e8ea6318d89b2ef36d866c5c4354))
### 1.11.1 (2015-10-12)
#### Bug Fixes
* upgrade code to 0.14, too ([c5f64d47](https://github.com/ubilabs/react-geosuggest/commit/c5f64d47befef21c620bee1db41e86ffc1592194))
## 1.11.0 (2015-10-12)
#### Features
* bump peer dependency react to 0.14.0 ([dc39828e](https://github.com/ubilabs/react-geosuggest/commit/dc39828ea46552c60ce0a5ae33a52f6eee8c8f10))
* **input:** auto activate first suggest ([d1429b86](https://github.com/ubilabs/react-geosuggest/commit/d1429b8698c8928d69135fbe948f20f7e9246956))
## 1.10.0 (2015-09-29)
#### Bug Fixes
* prevent form submit on enter press ([dda86a12](https://github.com/ubilabs/react-geosuggest/commit/dda86a124a68ccf03220afb5f1796e99f183713e), closes [#49](https://github.com/ubilabs/react-geosuggest/issues/49))
#### Features
* add skipSuggest to not show certain suggestions ([6da568d5](https://github.com/ubilabs/react-geosuggest/commit/6da568d5c0736fad7aacf21c864e8278544a544b)
* add getSuggestLabel to define a custom label ([5103598](https://github.com/ubilabs/react-geosuggest/commit/51035989077a0eced308ac01f7e87a646893f767)
* **input:** add disabled prop to disable ([7100d43e](https://github.com/ubilabs/react-geosuggest/commit/7100d43e2e3750e2506c78de32985974b915bb8f)
### 1.9.1 (2015-09-25)
#### Bug Fixes
* Fix issue if the initialValue changes ([b739b5c9](https://github.com/ubilabs/react-geosuggest/commit/b739b5c9b755f0efc05e28b01eb6b595b3d3cb9d))
* Build fixes so dist/ works with a global window.React ([9b5e4369](https://github.com/ubilabs/react-geosuggest/commit/9b5e4369f7057e95ae5a36611cf5b7932dae50de))
## 1.9.0 (2015-09-09)
#### Features
* **input:** add onChange callbacks ([e6555ad](https://github.com/ubilabs/react-geosuggest/commit/e6555addbe3893b129488dc0623b7198036da35d)
## 1.8.0 (2015-09-01)
#### Features
* **input:** add method to change the value of the user input ([44d86f5](https://github.com/ubilabs/react-geosuggest/commit/44d86f5842765b72cb3db073feb016f750898e1f)
## 1.7.0 (2015-08-19)
#### Features
* **suggests:** add individual fixture classNames ([01b0e8a](https://github.com/ubilabs/react-geosuggest/commit/01b0e8a7a3e555729aeb56292a22bd8a412e4cf9)
## 1.6.0 (2015-08-12)
#### Features
* **input:** add bounds, country and types params ([00a84866](https://github.com/ubilabs/react-geosuggest/commit/00a84866d109ce4e323705558ffe319d56ecd5b1), closes [#20](https://github.com/ubilabs/react-geosuggest/issues/20))
## 1.5.0 (2015-08-12)
#### Features
* **input:**
* add clear method to geosuggest ([2d38a40](https://github.com/ubilabs/react-geosuggest/commit/2d38a4072b11c900d73b5cc26615a3cc69f286b4)
* add onFocus and onBlur callbacks ([5051bc4](https://github.com/ubilabs/react-geosuggest/commit/5051bc424a4f508fa8dcff6683c690cc1ab9c2dd)
* **example:** add onFocus and onBlur demo ([88cf7f88](https://github.com/ubilabs/react-geosuggest/commit/88cf7f8873119f667aa514b8065e116d7a3741b2))
### 1.4.3 (2015-07-29)
#### Bug Fixes
* **example:** remove drop_console option from uglify ([e8e16112](https://github.com/ubilabs/react-geosuggest/commit/e8e16112d2d0f47f7ddc005dd485a25f7d55e4e7))
### 1.4.2 (2015-07-29)
#### Bug Fixes
* **build:** fix build for npm ([6475372](https://github.com/ubilabs/react-geosuggest/commit/6475372a468f19f075a20af012f8f85404172893))
### 1.4.1 (2015-07-21)
#### Bug Fixes
* **import:** add .npmignore ([add06073](https://github.com/ubilabs/react-geosuggest/commit/add06073990bb4c8934b8ad28c6c1bfb201f6945))
## 1.4.0 (2015-07-20)
#### Bug Fixes
* **input:** allow continuous editing ([62e83cce](https://github.com/ubilabs/react-geosuggest/commit/62e83cce9ac42e23916914691fb83b829d778d7e), closes [#12](https://github.com/ubilabs/react-geosuggest/issues/12))
#### Features
* **input:**
* add new param className ([c1c990ec](https://github.com/ubilabs/react-geosuggest/commit/c1c990ec80e5210322d7d68b805d44a73196ca4e), closes [#8](https://github.com/ubilabs/react-geosuggest/issues/8))
* add initial value param ([f97d8eba](https://github.com/ubilabs/react-geosuggest/commit/f97d8eba377ed789c1bbc21cfc4de94e85ef2760), closes [#13](https://github.com/ubilabs/react-geosuggest/issues/13))