139 Commits

Author SHA1 Message Date
Mo Gorhom
a47c3006ff chore: release v2.2.2 v2.2.2 2021-02-20 10:26:04 +01:00
Mo Gorhom
bf7a255a53 fix: reset scrollable offset when its size change (#301) 2021-02-20 10:23:56 +01:00
Mo Gorhom
10be2f179c chore: release v2.2.1 v2.2.1 2021-02-19 21:11:17 +01:00
Mo Gorhom
6952d4c2e9 fix: bottom sheet container layout (#296)
* chore: updated handling top and bottom insets

* chore: updated gesture handler

* chore: pass top and bottom insets from modal to sheet

* chore: updated examples
2021-02-19 20:34:26 +01:00
Ollie Brennan
c778e8e5ff docs: updated reanimated version on installation (#288)
Upgrading documentation to point package to react-native-animated@2.0.0-rc.2
2021-02-14 23:38:13 +01:00
Richard Keenan
2a62d269ac fix: allow 0% snap points (#278) 2021-02-14 23:35:35 +01:00
Mo Gorhom
7e34e30c5b chore: release v2.2.0 v2.2.0 2021-02-09 23:19:36 +01:00
Mo Gorhom
913ed68d44 docs: added bottomInset description 2021-02-09 23:18:07 +01:00
Dawid
ed8b86bbf8 feat: added bottom inset (#237)
* feat: add a bottom inset option

* fix: remove debug

* feat: add footer example and fix modal behaviour

* fix: remove subtraction

* fix: modal handle shows when stacked and minimized

* fix: set top and bottom of the root container as not to break other modals

* chore: updated normalize snap points calculating

* refactor: container styling

* fix: dismissing modals when unmounting

* chore: updated exmaple

* chore: updated bottom sheet props description

Co-authored-by: Dawid van der Hoven <dawidvdh@gmail.com>
Co-authored-by: Mo Gorhom <gorhom@me.com>
2021-02-09 23:15:15 +01:00
Mo Gorhom
99a16b1a14 chore: release v2.1.0 v2.1.0 2021-02-07 23:21:26 +01:00
Mo Gorhom
b76597304e docs: added style to props page 2021-02-07 23:20:04 +01:00
Mo Gorhom
a723f2286d feat: allow to override sheet container style (#265)
* chore: added style to bottom sheet props

* chore: updated backdrop example
2021-02-07 23:12:31 +01:00
Ben Hartouz Mohamed
59eac0d708 fix: prevent duplicated close triggers (#257) 2021-02-02 23:42:13 +01:00
Mo Gorhom
43efd1697f fix: stabilise modal un-mounting (#254) 2021-02-01 22:27:57 +01:00
Mo Gorhom
d11a88922f docs: added question issue template 2021-01-29 21:40:00 +01:00
Mo Gorhom
1ff40d2a09 chore: release v2.0.7 v2.0.7 2021-01-29 21:34:00 +01:00
Mo Gorhom
2f713b60d2 fix: prevent modal crash when navigating (#244)
* chore: updated react native portal

* chore: override portal unmounting handler

* chore: remove unmount ref value
2021-01-29 21:32:29 +01:00
Mo Gorhom
9641e36224 chore: release v2.0.6 v2.0.6 2021-01-29 21:31:34 +01:00
Mo Gorhom
d5f8d58c9e fix: prevent animation when modal is closing (#205)
* chore: prevent start animation when sheet is closing

* chore: prevent layout effects from triggering animation when the sheet is closing

* chore: added fallback index ref to prevent stack modal bug

* chore: allow to force snapping while sheet is closing
2021-01-28 21:44:21 +01:00
Mo Gorhom
0444886d90 fix: stabilise animated callback node variables (#239) 2021-01-28 20:39:15 +01:00
Mo Gorhom
636782a214 chore: release v2.0.5 v2.0.5 2021-01-21 23:07:07 +01:00
Mo Gorhom
9039591ac9 fix: removed onScroll event from BottomSheetScrollView (#225) 2021-01-21 23:05:39 +01:00
Mo Gorhom
c32e700a84 fix: fixed sheet visibility when handle provided null (#224) 2021-01-21 22:21:24 +01:00
Mo Gorhom
cbfe80a377 fix: allow backdrop style prop to override internal style (#212) 2021-01-18 19:58:50 +01:00
Mo Gorhom
4451d3413d chore: added auto-close github action 2021-01-16 14:46:09 +01:00
Mo Gorhom
a6000bfc24 chore: release v2.0.4 v2.0.4 2021-01-16 13:28:33 +01:00
Mo Gorhom
750a81e3da chore: added no console eslint rule (#199) 2021-01-16 13:24:51 +01:00
Mo Gorhom
d68aea6cf3 chore: release v2.0.3 v2.0.3 2021-01-11 22:43:21 +01:00
Mo Gorhom
49efdc50a0 fix: prevent rounding up normalised snap points (#177) 2021-01-09 19:00:03 +01:00
Mo Gorhom
e8dd7f590d refactor: updated bottom sheet layers (#176)
* chore: added content mask container

* chore: added custom background example
2021-01-09 18:31:07 +01:00
Mo Gorhom
50a91e6e08 docs: updated documentation website 2021-01-09 17:03:55 +01:00
mr-moto
ec725a1efd docs: updated modal hooks docs (#172)
* Update hooks.md

* Update usage.md
2021-01-09 13:35:18 +01:00
Ricardo Pierre-Louis
9a8a006a4e docs: updated snapPoints description example (#164) 2021-01-07 20:41:11 +01:00
Mo Gorhom
88a1538b79 chore: release v2.0.2 v2.0.2 2021-01-06 21:47:38 +01:00
Mo Gorhom
5575dee9eb fix: fixed shouldMeasureHandleHeight evaluation (#158) 2021-01-06 20:47:21 +01:00
Mo Gorhom
b374a0748b chore: updated auto-changelog configs 2020-12-22 16:51:05 +01:00
Mo Gorhom
50c4cf16fd chore: release v2.0.1 v2.0.1 2020-12-22 16:49:23 +01:00
Mo Gorhom
b09910b398 chore: updated auto-changelog configs 2020-12-22 16:47:45 +01:00
Mo Gorhom
ebfad4c52d chore: fix types on ContactList example 2020-12-22 14:55:45 +01:00
Mo Gorhom
4af7d5c02b fix: fixed backdropComponent typing 2020-12-22 13:28:13 +01:00
Mo Gorhom
216432a60e docs: updated website & readme 2020-12-22 13:26:43 +01:00
Mo Gorhom
08219cf556 chore: release v2.0.0 v2.0.0 2020-12-16 22:15:09 +01:00
Mo Gorhom
34c90396b4 docs: added documentation website (#90)
* chore: added docusaurus

* chore: updated styling

* docs: added current docs WIP

* docs: added current docs WIP

* docs: added current docs WIP

* docs: updated custom handle & background docs

* chore: update eslint

* chore: updated website url

* chore: updated library homepage url

* chore: added google search console file

* chore: added expo badge

* docs: added troubleshooting page

* docs: added faq page

* chore: added backdrop prop

* chore: added modal documents

* chore: updated stack example

* chore: added usage pages

* fix: revert demo styling

* fix: fixed features link on modal page

* docs: updated root readme, and deleted old docs

* docs: updated version 2 alpha 5

* fix: video player on mobile

* chore: updated v2 alpha version

* chore: compressed gifs

* chore: updated video component

* chore: updated custom handle, background & backdrop

* chore: updated getting started page

* docs: updated readme file
2020-12-16 22:11:38 +01:00
Mo Gorhom
bfb7a8e362 feat: add accessibility support (#117)
* chore: added accessibility base support

* chore: updated backdrop to avoid covering whole screen when its invisible

* chore: remove unused comments
2020-12-16 19:45:57 +01:00
Mo Gorhom
d78f2202de chore: updated auto-changelog template 2020-12-16 00:23:39 +01:00
Mo Gorhom
113da47b72 fix: initial mounting flicker (#115)
* chore: updated hooks dependencies for some variables

* chore: updated initial opacity control to be in native thread

* chore: rename internal components

* chore: updated examples
2020-12-15 22:42:46 +01:00
Mo Gorhom
fe2d3850e7 chore: updated @gorhom/portal 2020-12-15 21:35:51 +01:00
Mo Gorhom
1af2a55917 chore: re-enable flipper 2020-12-15 21:35:26 +01:00
Mo Gorhom
626224f498 chore: release v2.0.0-alpha.7 v2.0.0-alpha.7 2020-12-15 00:06:33 +01:00
Mo Gorhom
d73f7808b0 chore: updated @gorhom/portal (#114) 2020-12-14 23:14:37 +01:00