915 Commits

Author SHA1 Message Date
Mario Beltrán Alarcón
93e76dc48f Add useList additional test 2019-07-31 00:15:19 +02:00
Mario Beltrán Alarcón
85f5d26158 Add useList tests 2019-07-31 00:13:28 +02:00
Mario Beltrán Alarcón
962f580d19 Add createReducer tests 2019-07-30 22:49:43 +02:00
Mario Beltrán Alarcón
259e517e37 Update useDefault tests to new architecture 2019-07-30 20:56:57 +02:00
Mario Beltrán Alarcón
85fc3b2701 Fix tests after RTL scoped package update 2019-07-30 20:22:04 +02:00
Mario Beltrán Alarcón
894b17420d Merge branch 'forked-master'
# Conflicts:
#	package.json
2019-07-30 20:19:36 +02:00
Renovate Bot
26ce563cdd chore(deps): update dependency @types/jest to v24.0.16 2019-07-29 23:49:11 +00:00
Renovate Bot
4a945363e2 chore(deps): update dependency husky to v3.0.2 2019-07-29 18:58:31 +00:00
semantic-release-bot
14bf6dec75 chore(release): 10.3.0 [skip ci]
# [10.3.0](https://github.com/streamich/react-use/compare/v10.2.0...v10.3.0) (2019-07-26)

### Features

* add useDefault hook ([ade0557](https://github.com/streamich/react-use/commit/ade0557))
v10.3.0
2019-07-26 20:14:21 +00:00
Vadim Dalecky
ade0557de7
feat: add useDefault hook 2019-07-26 22:09:56 +02:00
Vadim Dalecky
85c84d9710
docs: markup for code elements 2019-07-26 22:09:30 +02:00
semantic-release-bot
6ed4a30a01 chore(release): 10.2.0 [skip ci]
# [10.2.0](https://github.com/streamich/react-use/compare/v10.1.2...v10.2.0) (2019-07-25)

### Features

* useWindowScroll - for cross-browser compatibility ([5987cc8](https://github.com/streamich/react-use/commit/5987cc8))
* useWindowScroll - for cross-browser compatibility ([#480](https://github.com/streamich/react-use/issues/480)) ([e37dd8d](https://github.com/streamich/react-use/commit/e37dd8d))
v10.2.0
2019-07-25 09:14:39 +00:00
Vadim Dalecky
e37dd8de1c
feat: useWindowScroll - for cross-browser compatibility (#480)
feat: useWindowScroll - for cross-browser compatibility
2019-07-25 11:11:33 +02:00
Renovate Bot
c58aac0432 chore(deps): update dependency lint-staged to v9.2.1 2019-07-25 05:35:43 +00:00
leonardohabitzreuter
4e469c3ac6 useDefault hook 2019-07-22 15:36:34 -03:00
jeemyeong
5987cc82cc feat: useWindowScroll - for cross-browser compatibility
For cross-browser compatibility, use window.pageYOffset instead of window.scrollY.
(https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollY)
2019-07-22 20:44:55 +09:00
Mario Beltrán Alarcón
98581e9e88 Improve createMemo tests 2019-07-22 01:40:19 +02:00
Mario Beltrán Alarcón
8ccc365dc1 Add createMemo tests 2019-07-22 01:23:18 +02:00
Mario Beltrán Alarcón
89f0b82f74 Add useGetSetState additional test 2019-07-22 00:22:59 +02:00
Mario Beltrán Alarcón
7d080bac67 Add useGetSetState tests 2019-07-22 00:17:25 +02:00
Mario Beltrán Alarcón
1b2509a44b Add useGetSet tests 2019-07-21 21:48:31 +02:00
semantic-release-bot
950f5edb77 chore(release): 10.1.2 [skip ci]
## [10.1.2](https://github.com/streamich/react-use/compare/v10.1.1...v10.1.2) (2019-07-21)

### Bug Fixes

* remove OpenCollective postinstall hook ([26dcebc](https://github.com/streamich/react-use/commit/26dcebc))
v10.1.2
2019-07-21 19:18:52 +00:00
Vadim Dalecky
024260f147
bug: fix opencollective postinstall error (#477)
bug: fix opencollective postinstall error
2019-07-21 21:16:24 +02:00
Vadim Dalecky
26dcebc6e6
fix: remove OpenCollective postinstall hook 2019-07-21 21:15:55 +02:00
semantic-release-bot
6ffd9ef300 chore(release): 10.1.1 [skip ci]
## [10.1.1](https://github.com/streamich/react-use/compare/v10.1.0...v10.1.1) (2019-07-21)

### Bug Fixes

* useMouse & useMouseHovered type definitions for SVG ([9e97451](https://github.com/streamich/react-use/commit/9e97451))
* useMouse & useMouseHovered type definitions for SVG ([#479](https://github.com/streamich/react-use/issues/479)) ([e2e4a60](https://github.com/streamich/react-use/commit/e2e4a60))
v10.1.1
2019-07-21 19:14:58 +00:00
Vadim Dalecky
e2e4a60f57
fix: useMouse & useMouseHovered type definitions for SVG (#479)
fix: useMouse & useMouseHovered type definitions for SVG
2019-07-21 21:12:02 +02:00
Mario Beltrán Alarcón
de62e1aa8d Add useCounter tests 2019-07-21 21:04:24 +02:00
Vinícius Tabille Manjabosco
9e9745160d fix: useMouse & useMouseHovered type definitions for SVG 2019-07-21 20:37:54 +02:00
Mario Beltrán Alarcón
988e0894e2 Add useNumber tests 2019-07-21 20:15:03 +02:00
Mario Beltrán Alarcón
7b2f877dd3 Wrap tests in describe block 2019-07-21 19:55:29 +02:00
Yaroslav Kiliba
55671e0f46 bug: fix opencollective postinstall error 2019-07-21 20:18:19 +03:00
Renovate Bot
2e308db9b6 chore(deps): update dependency husky to v3.0.1 2019-07-18 22:50:55 +00:00
Renovate Bot
e502b7b120 chore(deps): update babel monorepo to v7.5.5 2019-07-17 22:32:16 +00:00
Mario Beltrán Alarcón
e958a061ac Merge upstream/master into master 2019-07-17 20:37:57 +02:00
Mario Beltrán Alarcón
f2d105737b Add useBoolean tests 2019-07-17 20:07:16 +02:00
Mario Beltrán Alarcón
8c25b50cc1 Update react hooks testing library dependency and installing peer dependencies 2019-07-17 20:03:48 +02:00
Mario Beltrán Alarcón
0b4d1d6b5b Simplify useToggle test file 2019-07-17 19:30:49 +02:00
semantic-release-bot
ed03fc2c3b chore(release): 10.1.0 [skip ci]
# [10.1.0](https://github.com/streamich/react-use/compare/v10.0.0...v10.1.0) (2019-07-17)

### Features

* add latest `react-wait` types ([6ebe3bb](https://github.com/streamich/react-use/commit/6ebe3bb))
v10.1.0
2019-07-17 15:30:57 +00:00
Vadim Dalecky
6ebe3bba85
feat: add latest react-wait types 2019-07-17 17:28:56 +02:00
semantic-release-bot
4d9271f921 chore(release): 10.0.0 [skip ci]
# [10.0.0](https://github.com/streamich/react-use/compare/v9.12.0...v10.0.0) (2019-07-17)

### Features

* remove big libs from peerDependencies ([1dbdc5d](https://github.com/streamich/react-use/commit/1dbdc5d))

### BREAKING CHANGES

* `useSpring` and `useKeyboardJs` hooks need to be imported directly now and libs they depend on are not in peerDependencies anymore.
v10.0.0
2019-07-17 14:48:54 +00:00
Vadim Dalecky
1dbdc5dc67
feat: remove big libs from peerDependencies
BREAKING CHANGE: `useSpring` and `useKeyboardJs` hooks need to be imported directly now and libs they depend on are not in peerDependencies anymore.
2019-07-17 16:46:55 +02:00
Spencer Elliott
38622ec5a6 Export useWait and Waiter 2019-07-17 10:41:20 -04:00
Daniel K
d3d5bc9324 Unify imports in docs 2019-07-17 08:54:01 +02:00
Daniel K
17dd1f141a Remove peer deps 2019-07-17 08:27:21 +02:00
semantic-release-bot
0f137d8523 chore(release): 9.12.0 [skip ci]
# [9.12.0](https://github.com/streamich/react-use/compare/v9.11.2...v9.12.0) (2019-07-16)

### Bug Fixes

* 🐛 fix useDebounce import ([40b33da](https://github.com/streamich/react-use/commit/40b33da))

### Features

* add useInterval hook ([6645ed9](https://github.com/streamich/react-use/commit/6645ed9))
v9.12.0
2019-07-16 23:01:26 +00:00
Renovate Bot
f7fc3d4e13 chore(deps): update dependency ts-loader to v6 2019-07-17 00:58:56 +02:00
Vadim Dalecky
6645ed940a
feat: add useInterval hook 2019-07-17 00:58:00 +02:00
Mario Beltrán Alarcón
ebb25517a2 Update useToggle tests 2019-07-17 00:34:31 +02:00
streamich
40b33dabed fix: 🐛 fix useDebounce import 2019-07-17 00:21:06 +02:00
streamich
599efdb6b6 chore: 🤖 add component useInterval to README, improve demo 2019-07-17 00:19:50 +02:00