121 Commits

Author SHA1 Message Date
semantic-release-bot
f9c6dd9d94 chore(release): 5.16.0 [skip ci]
# [5.16.0](https://github.com/streamich/react-use/compare/v5.15.0...v5.16.0) (2019-03-25)

### Features

* more precise size for useMouse ([1761031](https://github.com/streamich/react-use/commit/1761031))
2019-03-26 11:20:42 +01:00
semantic-release-bot
6051bc17d5 chore(release): 5.15.0 [skip ci]
# [5.15.0](https://github.com/streamich/react-use/compare/v5.14.0...v5.15.0) (2019-03-25)

### Features

* add useMouse hook ([17dfa8e](https://github.com/streamich/react-use/commit/17dfa8e))
2019-03-26 11:20:42 +01:00
Renovate Bot
74cbb1eaca chore(deps): update storybook monorepo to v5.0.5 2019-03-26 11:20:42 +01:00
semantic-release-bot
c10bc5d946 chore(release): 5.14.0 [skip ci]
# [5.14.0](https://github.com/streamich/react-use/compare/v5.13.0...v5.14.0) (2019-03-24)

### Features

* 🎸 keep global state of all useLockBodyScroll hooks ([9bb7047](https://github.com/streamich/react-use/commit/9bb7047))
* add useLockBodyScroll hook ([d990db4](https://github.com/streamich/react-use/commit/d990db4))
2019-03-26 11:20:42 +01:00
Renovate Bot
30ee224bce chore(deps): update storybook monorepo to v5.0.4 2019-03-26 11:20:42 +01:00
streamich
f1f36dc4b1 fix: 🐛 bump nano-css
 Closes: #90
2019-03-26 10:23:26 +01:00
streamich
c947ef1c91 chore: 🤖 remove use-onclickoutside dependency 2019-03-25 13:56:57 +01:00
streamich
a03143a46f feat: 🎸 implement useClickAway, remove useOutsideClick
This re-implements outside click hook functionality from scratch,
removes dependency on use-onoutsideclick package.

BREAKING CHANGE: 🧨 useOutsideClick is now useClickAway
2019-03-25 13:52:52 +01:00
streamich
428876ab34 chore: 🤖 move useCss hook under UI section
Also remove remainders of useCallbag hook.
2019-03-25 13:23:49 +01:00
streamich
61700675cd chore: 🤖 don't install only large dependencies
This change removes useCallbag hook, it also reverts back changes for
hooks that only have tiny dependencies or dependencies that could have
been part of the hook itself. Effectivly only KeyboardJS and Rebound are
large packages that only partially are used by react-use, hence require
user to install them separately.

BREAKING CHANGE: 🧨 useCallbag hook is removed, some hooks KeyboardJS and Rebound installed
separately
2019-03-25 13:19:37 +01:00
streamich
3d0a82f4ac chore: 🤖 revert these, bcs semantic-release manges those files 2019-03-25 13:06:07 +01:00
Charles Crete
7be31a4a1d Remove dependencies 2019-03-23 15:28:45 -04:00
semantic-release-bot
5fb3b05375 chore(release): 5.13.0 [skip ci]
# [5.13.0](https://github.com/streamich/react-use/compare/v5.12.1...v5.13.0) (2019-03-23)

### Features

* add useScroll hook ([a92e9b2](https://github.com/streamich/react-use/commit/a92e9b2))
2019-03-23 10:26:14 +00:00
semantic-release-bot
e49a50779e chore(release): 5.12.1 [skip ci]
## [5.12.1](https://github.com/streamich/react-use/compare/v5.12.0...v5.12.1) (2019-03-23)

### Bug Fixes

* 🐛 cancel animation frame on un-mount in useWindowScroll() ([bc021ce](https://github.com/streamich/react-use/commit/bc021ce))
2019-03-23 07:43:22 +00:00
semantic-release-bot
7aa279808c chore(release): 5.12.0 [skip ci]
# [5.12.0](https://github.com/streamich/react-use/compare/v5.11.0...v5.12.0) (2019-03-23)

### Features

* add useWindowScroll hook ([076d0de](https://github.com/streamich/react-use/commit/076d0de))
2019-03-23 06:58:49 +00:00
semantic-release-bot
3e50e8111a chore(release): 5.11.0 [skip ci]
# [5.11.0](https://github.com/streamich/react-use/compare/v5.10.0...v5.11.0) (2019-03-22)

### Features

* 🎸 refresh useCss hook ([0116cc9](https://github.com/streamich/react-use/commit/0116cc9))
2019-03-22 19:59:58 +00:00
streamich
0116cc9fed feat: 🎸 refresh useCss hook 2019-03-22 20:51:06 +01:00
semantic-release-bot
19ac56f44a chore(release): 5.10.0 [skip ci]
# [5.10.0](https://github.com/streamich/react-use/compare/v5.9.0...v5.10.0) (2019-03-21)

### Features

* add useUpdateEffect hook ([c2afd23](https://github.com/streamich/react-use/commit/c2afd23))
2019-03-21 13:47:12 +00:00
semantic-release-bot
c8f3198213 chore(release): 5.9.0 [skip ci]
# [5.9.0](https://github.com/streamich/react-use/compare/v5.8.1...v5.9.0) (2019-03-21)

### Features

* add useAsyncRetry hook ([576cf42](https://github.com/streamich/react-use/commit/576cf42))

### Performance Improvements

* remove asyn/await wrapper ([8e3de1c](https://github.com/streamich/react-use/commit/8e3de1c))
2019-03-21 09:18:57 +00:00
semantic-release-bot
4158ced7d3 chore(release): 5.8.1 [skip ci]
## [5.8.1](https://github.com/streamich/react-use/compare/v5.8.0...v5.8.1) (2019-03-20)

### Bug Fixes

* 🐛 use useLayoutEffect() in useCss() to inject CSS quick ([7328f26](https://github.com/streamich/react-use/commit/7328f26))
2019-03-20 17:44:55 +00:00
Renovate Bot
fec8dd3c0a chore(deps): update dependency typescript to v3.3.4000 2019-03-20 01:55:42 +00:00
Va Da
96798e2c39
feat: release useKeyPressEvent() 2019-03-19 22:56:00 +01:00
Renovate Bot
5b1bd7827d chore(deps): update storybook monorepo to v5.0.3 2019-03-18 11:21:16 +00:00
Renovate Bot
7eaca74648 chore(deps): update storybook monorepo to v5.0.2 2019-03-17 06:45:05 +00:00
Renovate Bot
507000f7ea chore(deps): update dependency react-spring to v6.1.10 2019-03-15 22:25:27 +00:00
Renovate Bot
1086a7a5ec chore(deps): pin dependencies 2019-03-15 19:46:39 +00:00
semantic-release-bot
c0bf881539 chore(release): 5.7.1 [skip ci]
## [5.7.1](https://github.com/streamich/react-use/compare/v5.7.0...v5.7.1) (2019-03-15)

### Bug Fixes

* 🐛 allow every promise in usePromise() hook have own type ([d60fef7](https://github.com/streamich/react-use/commit/d60fef7))
2019-03-15 14:47:48 +00:00
semantic-release-bot
f618352b71 chore(release): 5.7.0 [skip ci]
# [5.7.0](https://github.com/streamich/react-use/compare/v5.6.0...v5.7.0) (2019-03-15)

### Bug Fixes

* 🐛 fix TypeScript typings for usePromise() ([ba0acb6](https://github.com/streamich/react-use/commit/ba0acb6))

### Features

* 🎸 add usePromise() hook ([aad368b](https://github.com/streamich/react-use/commit/aad368b))
2019-03-15 14:29:32 +00:00
streamich
a2a6fe326a chore: 🤖 split display secions in Storybook left column 2019-03-15 14:46:00 +01:00
streamich
86d7bc89ec chore: 🤖 upgrade Storybook to v5, disable TypeScript type check 2019-03-15 14:29:28 +01:00
semantic-release-bot
9063f4d1b2 chore(release): 5.6.0 [skip ci]
# [5.6.0](https://github.com/streamich/react-use/compare/v5.5.6...v5.6.0) (2019-03-13)

### Features

* transpile down to ES5 ([61382e3](https://github.com/streamich/react-use/commit/61382e3))
2019-03-13 20:03:08 +00:00
semantic-release-bot
e990f0c839 chore(release): 5.5.6 [skip ci]
## [5.5.6](https://github.com/streamich/react-use/compare/v5.5.5...v5.5.6) (2019-03-11)

### Bug Fixes

* correct createMemo.md ([4e2d639](https://github.com/streamich/react-use/commit/4e2d639))
* correct createMemo.story ([9c8e093](https://github.com/streamich/react-use/commit/9c8e093))
2019-03-11 07:48:11 +00:00
Renovate Bot
986b297847 chore(deps): update react monorepo to v16.8.4 2019-03-06 00:54:50 +00:00
semantic-release-bot
7085cc9332 chore(release): 5.5.5 [skip ci]
## [5.5.5](https://github.com/streamich/react-use/compare/v5.5.4...v5.5.5) (2019-03-04)

### Bug Fixes

* 🐛 make useWindowSize work on server ([8f93853](https://github.com/streamich/react-use/commit/8f93853))
2019-03-04 16:45:33 +00:00
semantic-release-bot
9349aa65b3 chore(release): 5.5.4 [skip ci]
## [5.5.4](https://github.com/streamich/react-use/compare/v5.5.3...v5.5.4) (2019-02-25)

### Bug Fixes

* 🐛 new React behaviour needs useState to set something ([e926faf](https://github.com/streamich/react-use/commit/e926faf)), closes [#128](https://github.com/streamich/react-use/issues/128)
2019-02-25 11:28:05 +00:00
semantic-release-bot
20e4100b91 chore(release): 5.5.3 [skip ci]
## [5.5.3](https://github.com/streamich/react-use/compare/v5.5.2...v5.5.3) (2019-02-25)

### Bug Fixes

* **deps:** update dependency use-callbag to ^0.2.0 ([4d49d0b](https://github.com/streamich/react-use/commit/4d49d0b))
2019-02-25 01:56:42 +00:00
Renovate Bot
4d49d0b61d fix(deps): update dependency use-callbag to ^0.2.0 2019-02-25 01:55:06 +00:00
semantic-release-bot
fd7735047a chore(release): 5.5.2 [skip ci]
## [5.5.2](https://github.com/streamich/react-use/compare/v5.5.1...v5.5.2) (2019-02-24)

### Bug Fixes

* **deps:** update dependency use-onclickoutside to ^0.3.0 ([0baae6d](https://github.com/streamich/react-use/commit/0baae6d))
2019-02-24 23:46:50 +00:00
Renovate Bot
0baae6d6f4 fix(deps): update dependency use-onclickoutside to ^0.3.0 2019-02-24 23:45:18 +00:00
semantic-release-bot
452d639c23 chore(release): 5.5.1 [skip ci]
## [5.5.1](https://github.com/streamich/react-use/compare/v5.5.0...v5.5.1) (2019-02-24)

### Bug Fixes

* **deps:** update dependency ts-easing to ^0.2.0 ([3321e11](https://github.com/streamich/react-use/commit/3321e11))
2019-02-24 23:44:21 +00:00
Renovate Bot
3321e11421 fix(deps): update dependency ts-easing to ^0.2.0 2019-02-24 23:43:00 +00:00
Renovate Bot
3503f9b8b6 chore(deps): update semantic-release monorepo 2019-02-24 22:37:33 +00:00
Renovate Bot
2a897905ea chore(deps): update react monorepo to v16.8.3 2019-02-24 21:49:03 +00:00
Renovate Bot
ca5c0ec9ac chore(deps): update dependency typescript to v3.3.3333 2019-02-24 19:47:55 +00:00
Renovate Bot
09c45faff7 chore(deps): update dependency rxjs to v6.4.0 2019-02-24 18:51:27 +00:00
Renovate Bot
abb1d210ad chore(deps): update dependency rimraf to v2.6.3 2019-02-24 17:34:34 +00:00
Renovate Bot
4e833a7cb2 chore(deps): pin dependencies 2019-02-24 16:37:58 +00:00
semantic-release-bot
5fe98b0d5a chore(release): 5.5.0 [skip ci]
# [5.5.0](https://github.com/streamich/react-use/compare/v5.4.1...v5.5.0) (2019-02-23)

### Bug Fixes

* add type definition for useList() remove() method ([ea2dc43](https://github.com/streamich/react-use/commit/ea2dc43))
* useSetState bug ([83611a1](https://github.com/streamich/react-use/commit/83611a1))

### Features

* Add remove method for useList ([5a295d9](https://github.com/streamich/react-use/commit/5a295d9))
2019-02-23 14:29:19 +00:00
semantic-release-bot
4552ee0e5e chore(release): 5.4.1 [skip ci]
## [5.4.1](https://github.com/streamich/react-use/compare/v5.4.0...v5.4.1) (2019-02-19)

### Bug Fixes

* 🐛 better async loading for keyboardjs ([2096bae](https://github.com/streamich/react-use/commit/2096bae)), closes [#103](https://github.com/streamich/react-use/issues/103)
2019-02-19 16:21:40 +00:00
semantic-release-bot
72867fd9dc chore(release): 5.4.0 [skip ci]
# [5.4.0](https://github.com/streamich/react-use/compare/v5.3.1...v5.4.0) (2019-02-19)

### Features

* add error and loading fields to useGeolocation ([6909a69](https://github.com/streamich/react-use/commit/6909a69))
2019-02-19 10:28:45 +00:00