293 Commits

Author SHA1 Message Date
streamich
7cf90107e1 chore: 🤖 various improvements for useKeyPrssEvent()
add link to README, expose in index.ts, improve docs/demo, add Storybook
story
2019-03-19 22:47:12 +01:00
Parker McMullin
c3d49e230b Added useKeyPressEvent custom hook with associated doc. This focuses on utilizing the onKeyup and/or onKeydown events unlike useKeyPress which involves state. useKeyPressEvent uses useKeyPress to achieve this functionality. 2019-03-09 19:25:59 -07: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))
v5.5.5
2019-03-04 16:45:33 +00:00
Va Da
fd22958f1e
Merge pull request #135 from streamich/fix-ssr
fix: 🐛 make useWindowSize work on server
2019-03-04 17:44:02 +01:00
streamich
8f938538d3 fix: 🐛 make useWindowSize work on server 2019-03-04 17:41:44 +01:00
Va Da
d850e97b1a
Merge pull request #133 from tvthatsme/patch-1
Fix typo in comments
2019-03-01 15:32:04 +01:00
Timothy Vernon
2ba0c4b92d
Fix typo in comments 2019-03-01 10:10:13 +01:00
Va Da
f0242ea69d
docs: add link to Chinese translation
* docs: ✏️ add chinese translation link

* docs: ✏️ format Chinese translation link

* docs: ✏️ format Chinese translation more

* docs: ✏️ don't break intro
2019-02-26 09:57:52 +01: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)
v5.5.4
2019-02-25 11:28:05 +00:00
Va Da
5650016b4c
Merge pull request #129 from streamich/fix-counter
Fix counter
2019-02-25 12:26:42 +01:00
streamich
e926faf909 fix: 🐛 new React behaviour needs useState to set something
Issues: closes #128
2019-02-25 12:13:23 +01:00
streamich
d789288ef0 chore: 🤖 remove package-lock.json 2019-02-25 12:12:25 +01: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))
v5.5.3
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))
v5.5.2
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))
v5.5.1
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
6f433c6c43 chore(deps): update node.js to v8.15 2019-02-24 20:51: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
Va Da
06c17b918f
Merge pull request #1 from streamich/renovate/configure
Configure Renovate
2019-02-24 16:01:16 +01:00
Va Da
cdd818a62a
chore: enable Renovate 2019-02-24 16:00:48 +01:00
Renovate Bot
2a9cd992d4
Add renovate.json 2019-02-23 14:29:28 +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))
v5.5.0
2019-02-23 14:29:19 +00:00
Va Da
ea2dc432a5
fix: add type definition for useList() remove() method 2019-02-23 15:27:46 +01:00
Va Da
dc6df606dc
Merge pull request #112 from likun7981/master
fix: useSetState bug
2019-02-22 09:31:57 +01:00
landong.lk
83611a11f9 fix: useSetState bug 2019-02-22 16:09:16 +08:00
Va Da
094769c55a
Merge pull request #111 from TheSharpieOne/patch-1
feat: Add remove method for useList
2019-02-21 23:20:59 +01:00
Evan Sharp
5a295d9b46
feat: Add remove method for useList 2019-02-21 14:06:37 -05:00
Va Da
c75789bf96
docs: typo 2019-02-21 01:05:33 +01: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)
v5.4.1
2019-02-19 16:21:40 +00:00
Va Da
e795f6ed34
Merge pull request #110 from streamich/fix-keyboardjs
fix: 🐛 better async loading for keyboardjs
2019-02-19 17:19:50 +01:00
streamich
2096bae65b fix: 🐛 better async loading for keyboardjs
closes #103
2019-02-19 17:18:10 +01: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))
v5.4.0
2019-02-19 10:28:45 +00:00
Va Da
6909a6981f
feat: add error and loading fields to useGeolocation 2019-02-19 11:27:16 +01:00
Mohamed Magdy
dcadfef74c add error state to useGeolocation state 2019-02-19 11:50:04 +02:00
semantic-release-bot
15771ef49e chore(release): 5.3.1 [skip ci]
## [5.3.1](https://github.com/streamich/react-use/compare/v5.3.0...v5.3.1) (2019-02-17)

### Bug Fixes

* 🐛 fix typings in useOrientation sensor ([afbacac](https://github.com/streamich/react-use/commit/afbacac))
* 🐛 fix useSetState after React update ([524abe5](https://github.com/streamich/react-use/commit/524abe5)), closes [#107](https://github.com/streamich/react-use/issues/107) [#107](https://github.com/streamich/react-use/issues/107)
* useOrientation breaks in some devices ([d89bd54](https://github.com/streamich/react-use/commit/d89bd54))
v5.3.1
2019-02-17 08:48:53 +00:00
Va Da
de933cf516
Merge pull request #108 from streamich/fix-usesetstate
Fix usesetstate
2019-02-17 09:47:25 +01:00
streamich
524abe5702 fix: 🐛 fix useSetState after React update
As reported in #107

Issues: #107
2019-02-17 09:19:40 +01:00
streamich
afbacace24 fix: 🐛 fix typings in useOrientation sensor 2019-02-17 09:14:25 +01:00
Va Da
d89bd54cba
fix: useOrientation breaks in some devices 2019-02-11 09:06:37 +01:00
ShizukuIchi
77ebef5433 fix useOrientation bug 2019-02-11 12:40:44 +08:00
Va Da
07baffdfad
Merge pull request #104 from gavingregory/fix-keypress-docs
docs(useKeyPress): renamed keyboardjs -> useKeyboardJS
2019-02-10 18:18:05 +01:00
Gavin Gregory
6655558ed9 docs(useKeyPress): renamed keyboardjs -> useKeyboardJS 2019-02-10 12:08:27 -05:00