renovate[bot]
497108e67e
chore(deps): update dependency lint-staged to v10 ( #912 )
...
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 14:18:13 +03:00
renovate[bot]
22ff5157e3
chore(deps): update dependency ts-jest to v25 ( #925 )
...
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 14:17:04 +03:00
renovate[bot]
1c9b8734b9
chore(deps): update dependency @types/jest to v25 ( #931 )
...
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 14:00:17 +03:00
renovate[bot]
1d119c3c4b
chore(deps): update dependency fork-ts-checker-webpack-plugin to v4 ( #907 )
...
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 13:58:30 +03:00
renovate[bot]
953714fe76
chore(deps): update semantic-release monorepo ( #869 )
...
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 13:57:59 +03:00
renovate[bot]
1cf20c997b
chore(deps): update dependency husky to v4 ( #860 )
...
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 13:57:31 +03:00
Vadim Dalecky
90eca90acb
docs: fix link to useError.md
2020-01-28 06:18:34 -08:00
semantic-release-bot
371c36d242
chore(release): 13.22.3 [skip ci]
...
## [13.22.3](https://github.com/streamich/react-use/compare/v13.22.2...v13.22.3 ) (2020-01-28)
### Bug Fixes
* **useIntersection:** disconnect an old IntersectionObserver instance when the ref changes ([ac2f54a](ac2f54a8f6 ))
* **useIntersection:** reset an intersectionObserverEntry when the ref changes ([3f8687e](3f8687e1f5 ))
* **useIntersection:** return null if IntersectionObserver is not supported ([4f6d388](4f6d3887be ))
v13.22.3
2020-01-28 09:16:00 +00:00
Vadim Dalecky
36ae32f540
Merge pull request #932 from dizel3d/fix-use-intersection
2020-01-28 01:13:59 -08:00
Renovate Bot
e71744f7ea
chore(deps): update dependency rimraf to v3.0.1
2020-01-28 04:28:39 +00:00
dizel3d
4f6d3887be
fix(useIntersection): return null if IntersectionObserver is not supported
2020-01-28 00:26:08 +03:00
dizel3d
3f8687e1f5
fix(useIntersection): reset an intersectionObserverEntry when the ref changes
2020-01-28 00:25:57 +03:00
dizel3d
ac2f54a8f6
fix(useIntersection): disconnect an old IntersectionObserver instance when the ref changes
2020-01-27 23:57:36 +03:00
Guillaume L
f06895d9d5
[FIX] typo in useStateList.md ( #923 )
...
`nexct` --> `next`
2020-01-27 17:46:37 +03:00
semantic-release-bot
7e6f9b3997
chore(release): 13.22.2 [skip ci]
...
## [13.22.2](https://github.com/streamich/react-use/compare/v13.22.1...v13.22.2 ) (2020-01-27)
### Bug Fixes
* **deps:** update dependency @xobotyi/scrollbar-width to v1.7.0 ([db74101](db74101932 ))
v13.22.2
2020-01-27 13:32:28 +00:00
Renovate Bot
db74101932
fix(deps): update dependency @xobotyi/scrollbar-width to v1.7.0
2020-01-27 13:30:23 +00:00
semantic-release-bot
51b5eea4ba
chore(release): 13.22.1 [skip ci]
...
## [13.22.1](https://github.com/streamich/react-use/compare/v13.22.0...v13.22.1 ) (2020-01-27)
### Bug Fixes
* **deps:** update dependency @xobotyi/scrollbar-width to v1.6.0 ([431ba5d](431ba5d081 ))
v13.22.1
2020-01-27 01:26:45 +00:00
Renovate Bot
431ba5d081
fix(deps): update dependency @xobotyi/scrollbar-width to v1.6.0
2020-01-27 01:24:18 +00:00
semantic-release-bot
8e664f5a97
chore(release): 13.22.0 [skip ci]
...
# [13.22.0](https://github.com/streamich/react-use/compare/v13.21.0...v13.22.0 ) (2020-01-24)
### Bug Fixes
* Fail testing and update doc ([57b9041](57b904118e ))
### Features
* add useLongPress hook ([45681b8](45681b88e3 ))
v13.22.0
2020-01-24 18:42:59 +00:00
Vadim Dalecky
0e5e4fec01
Merge pull request #922 from KusStar/pr/useLongPress
...
feat: add useLongPress hook
2020-01-24 10:41:11 -08:00
Renovate Bot
a57e65c1c2
chore(deps): update storybook monorepo to v5.3.9
2020-01-24 16:40:42 +00:00
Kuss
57b904118e
fix: Fail testing and update doc
2020-01-24 19:04:39 +08:00
Kuss
a0d61b5ea1
optional parameter and update test
2020-01-24 17:27:58 +08:00
Renovate Bot
16d0ad566b
chore(deps): update dependency @types/jest to v24.9.1
2020-01-23 20:21:56 +00:00
Kuss
2c016d5688
add useLongPress to readme
2020-01-23 13:09:07 +08:00
Kuss
45681b88e3
feat: add useLongPress hook
2020-01-23 13:03:45 +08:00
Renovate Bot
772e6cb530
chore(deps): update storybook monorepo to v5.3.8
2020-01-21 18:54:42 +00:00
D[oa]vid Weisz
e655a339fc
Fixed link to useError.md
2020-01-21 12:43:49 -05:00
Renovate Bot
e918b88223
chore(deps): update storybook monorepo to v5.3.7
2020-01-20 09:31:29 +00:00
semantic-release-bot
18f58e340a
chore(release): 13.21.0 [skip ci]
...
# [13.21.0](https://github.com/streamich/react-use/compare/v13.20.0...v13.21.0 ) (2020-01-20)
### Features
* Typings for `useDefault` ([fa0f53b](fa0f53bf86 ))
v13.21.0
2020-01-20 08:27:25 +00:00
Vadim Dalecky
fa0f53bf86
feat: Typings for useDefault
2020-01-20 00:24:55 -08:00
Alexey Bojhev
83f4c466b0
Typings for useDefault
...
Added generic type for `useDefault` state
2020-01-18 21:20:05 +03:00
semantic-release-bot
1ec99ebae8
chore(release): 13.20.0 [skip ci]
...
# [13.20.0](https://github.com/streamich/react-use/compare/v13.19.0...v13.20.0 ) (2020-01-17)
### Features
* `useMap`: allow resetting with provided value other then initial ([7645f72](7645f7249d ))
v13.20.0
2020-01-17 16:03:49 +00:00
Vadim Dalecky
be5d60a5bd
Merge pull request #908 from mattleonowicz/pr/useMap-reset-with-data
...
feat: `useMap`: allow resetting with provided value other then initial
2020-01-17 08:01:08 -08:00
Mateusz Leonowicz
dc07e0e3b9
add setAll instead of overloading reset
2020-01-17 15:56:37 +00:00
Mateusz Leonowicz
7645f7249d
feat: useMap: allow resetting with provided value other then initial
2020-01-17 15:03:35 +00:00
Renovate Bot
fc595e8618
chore(deps): update storybook monorepo to v5.3.6
2020-01-17 09:36:50 +00:00
Renovate Bot
9439982be3
chore(deps): update dependency typescript to v3.7.5
2020-01-16 21:51:03 +00:00
Renovate Bot
682df0f3e9
chore(deps): update storybook monorepo to v5.3.5
2020-01-16 20:43:11 +00:00
semantic-release-bot
5146baa283
chore(release): 13.19.0 [skip ci]
...
# [13.19.0](https://github.com/streamich/react-use/compare/v13.18.0...v13.19.0 ) (2020-01-16)
### Features
* add useError hook ([65f3644](65f3644205 ))
v13.19.0
2020-01-16 18:29:54 +00:00
Vadim Dalecky
51d53b76c7
Merge pull request #902 from ayush987goyal/pr/use-error
...
feat: add useError hook
2020-01-16 10:28:08 -08:00
Ayush Goyal
65f3644205
feat: add useError hook
2020-01-16 21:13:35 +05:30
Renovate Bot
7c56ed2ae2
chore(deps): pin dependency jest-localstorage-mock to 2.4.0
2020-01-16 09:44:40 +00:00
semantic-release-bot
8fdf808ca4
chore(release): 13.18.0 [skip ci]
...
# [13.18.0](https://github.com/streamich/react-use/compare/v13.17.0...v13.18.0 ) (2020-01-16)
### Bug Fixes
* check for null ([d619c39](d619c39a21 ))
### Features
* add serializer/deserializer option to useLocalStorage ([5316510](5316510bab ))
v13.18.0
2020-01-16 08:41:01 +00:00
Vadim Dalecky
84d29b2413
Merge pull request #896 from ayush987goyal/pr/useLocalStorage-update
...
feat: add serializer/deserializer option to useLocalStorage
2020-01-16 00:38:13 -08:00
Renovate Bot
961504e260
chore(deps): update storybook monorepo to v5.3.4
2020-01-16 08:22:42 +00:00
Ayush Goyal
d619c39a21
fix: check for null
2020-01-16 08:17:56 +05:30
Ayush Goyal
5316510bab
feat: add serializer/deserializer option to useLocalStorage
2020-01-15 23:14:17 +05:30
semantic-release-bot
2b1bd559d5
chore(release): 13.17.0 [skip ci]
...
# [13.17.0](https://github.com/streamich/react-use/compare/v13.16.1...v13.17.0 ) (2020-01-15)
### Features
* add support for body lock on iOS ([d778408](d7784084fe ))
v13.17.0
2020-01-15 11:15:14 +00:00
Vadim Dalecky
d7784084fe
feat: add support for body lock on iOS
2020-01-15 03:13:11 -08:00