Commit Graph

126 Commits

Author SHA1 Message Date
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
Mo Gorhom
2bb8bf452f fix: dynamic snap points on modals (#113)
* chore: update bottom sheet container height handling

* chore: added dynamic snap point example for bottom sheet modal

* chore: remove console log
2020-12-14 22:25:43 +01:00
Mo Gorhom
7944f7afcd chore: release v2.0.0-alpha.6 v2.0.0-alpha.6 2020-12-13 21:02:27 +01:00
Mo Gorhom
b6b972a3c4 fix: initial snap points when it is 100% (#105) 2020-12-13 20:58:26 +01:00
Mo Gorhom
6840a4769a chore: release v2.0.0-alpha.5 v2.0.0-alpha.5 2020-12-13 18:52:40 +01:00
Mo Gorhom
509f696e42 chore: updated @gorhom/portal 2020-12-12 18:29:19 +01:00
Mo Gorhom
fb702c2b1a feat: added default backdrop (#109)
* chore: delete old overlay component

* chore: added backdrop implementation

* chore: updated examples
2020-12-12 18:19:59 +01:00
Mo Gorhom
106aa3cb01 chore: refactored modal to become a declarative component (#108)
* chore: added @gorhom/portal package

* chore: disabled flipper

* chore: refactor modal implementation

* chore: remove mount prop

* chore: updated examples

* chore: fix lint warnings
2020-12-12 16:05:43 +01:00
Mo Gorhom
2c3be64ec6 chore: release v2.0.0-alpha.4 v2.0.0-alpha.4 2020-12-07 23:15:46 +01:00
Mo Gorhom
9a6a3420e7 chore: remove debugging logs 2020-12-07 23:14:32 +01:00
Mo Gorhom
f1dda7022b chore: remove debugger view 2020-12-07 23:12:46 +01:00
Mo Gorhom
860ef59692 chore: updated handling container height for modals (#102) 2020-12-07 23:11:22 +01:00
Mo Gorhom
7d354838bd chore: did major refactor and code cleanup (#101) 2020-12-07 22:41:00 +01:00
Mo Gorhom
f01b4cf282 chore: updated dependencies (#100) 2020-12-05 20:48:11 +01:00