Commit Graph

150 Commits

Author SHA1 Message Date
Kyle Fang
2b8dd8656c enable web support 2021-03-21 11:16:08 +08:00
Mo Gorhom
041c74ab88 chore: release v3.4.1 v3.4.1 2021-03-15 21:09:45 +00:00
Mo Gorhom
fd9ae1c0c1 fix: improve modal dismissing (#346)
* refactor: updated modal dismiss handling

* fix: prevent crash when trying to findnode when component is unmount
2021-03-15 21:04:09 +00:00
Mo Gorhom
36136e2538 chore: updated react-native to 64 and enable builds on M1 chip (#345)
* chore: updated react-native to 64

* chore: updated example patches
2021-03-14 15:30:25 +00:00
Mo Gorhom
7864bc903b chore: release v3.4.0 v3.4.0 2021-03-07 14:00:12 +00:00
Mo Gorhom
f78a663e89 feat: allow modify animation configs (#333)
* chore: modify animation hooks

* refactor: updated bottom sheet animation handling

* refactor: updated bottom sheet modal

* chore: updated examples
2021-03-07 13:59:07 +00:00
Mo Gorhom
1caf96ed48 chore: release v3.3.3 v3.3.3 2021-03-04 16:52:52 +00:00
Mo Gorhom
8bb7ca9592 chore: updated map example 2021-03-04 16:50:19 +00:00
Mo Gorhom
1c348bf68f fix: bottom sheet container layout measuring 2021-03-04 16:48:02 +00:00
Mo Gorhom
35d172c10b chore: updated reanimated to v2 stable 2021-03-04 16:45:19 +00:00
Mo Gorhom
3e48226dbc chore: release v3.3.2 v3.3.2 2021-03-04 16:05:49 +00:00
Mo Gorhom
849e9f45ea chore: export bottom sheet props type 2021-03-04 16:02:40 +00:00
Mo Gorhom
36a76f6473 refactor: added display name for components 2021-03-04 16:00:43 +00:00
Mo Gorhom
35ffee48e5 fix: unmounting modals with navigation (#315)
* chore: updated portal

* refactor: implementation

* chore: updated examples

* chore: prevent update state when sheet is not mounted

* chore: updated portal
2021-03-04 15:51:44 +00:00
Mo Gorhom
e204d97fd6 chore: update dependencies 2021-02-20 10:57:19 +01:00
Mo Gorhom
f03a40678a chore: release v3.3.1 v3.3.1 2021-02-10 09:30:16 +01:00
Mo Gorhom
0498e8c7f4 fix: stabilise animated callback node variables (#256)
* fix: stabilise animated callback node variables

* chore: updated default backdrop

* chore: updated exmaples
2021-02-10 09:28:28 +01:00
Mo Gorhom
aea1bdf348 chore: added reanimated rc3 patch 2021-02-08 21:51:22 +01:00
Mo Gorhom
d8e90b121c chore: release v3.3.0 v3.3.0 2021-02-08 21:45:38 +01:00
Mo Gorhom
759baa8420 fix: prevent crash when resizing container height on Android (#253) 2021-02-08 21:34:02 +01:00
Mo Gorhom
bb35274ef4 feat: updated reanimated to rc3 (#268)
* chore: updated dependencies

* chore: added useReactiveSharedValue

* chore: refactor bottom sheet

* chore: updated examples
2021-02-08 21:33:20 +01:00
Mo Gorhom
ea6affe276 fix: prevent default backdrop from blocking ui behind (#246)
* chore: replace touchable component with tap gesture handler

* chore: move snap points from js thread to native thread
2021-02-04 13:13:00 +01:00
Mo Gorhom
c4f5d9ec5c chore: release v3.2.1 v3.2.1 2021-01-21 23:10:05 +01:00
Mo Gorhom
5a1582e5ff fix: fixed sheet visibility when handle provided null (#223) 2021-01-21 22:14:11 +01:00
Mo Gorhom
3ffd34b21f fix: allow backdrop style prop to override internal style (#211) 2021-01-18 19:55:24 +01:00
Mo Gorhom
c2f118de0a chore: release v3.2.0 v3.2.0 2021-01-16 14:56:54 +01:00
Mo Gorhom
7d03829574 chore: added no console eslint rule 2021-01-16 14:55:32 +01:00
Mo Gorhom
f028c3ec31 fix: removed rounding on evaluating position (#201) 2021-01-16 14:00:40 +01:00
Mo Gorhom
5efea0f9da chore: updated reanimated to rc2 (#200) 2021-01-16 13:55:33 +01:00
Mo Gorhom
9ffd4e8b18 feat: added style prop (#189)
* chore: added style prop to be applied to sheet container

* chore: updated examples
2021-01-12 21:42:08 +01:00
Mo Gorhom
34a9460f57 chore: release v3.1.1 v3.1.1 2021-01-12 20:46:44 +01:00
Mo Gorhom
78c733353a fix: fixed over-drag implementation (#186) 2021-01-12 16:35:58 +01:00
Mo Gorhom
903ea38d18 chore: release v3.1.0 v3.1.0 2021-01-09 17:13:48 +01:00
Mo Gorhom
6223a4c827 fix: exp easing flickers on android (#175)
* chore: added a modified exp function

* chore: updated useBottomSheetTimingConfigs to includes default values
2021-01-09 15:53:40 +01:00
Mo Gorhom
08955f53f0 chore: updated useInteractivePanGestureHandler (#174) 2021-01-09 14:05:26 +01:00
mr-moto
1257c462f6 fix: removed rounding up from useNormalizedSnapPoints hook. (#169)
* fixes #168

* chore: revert previous changes

* chore: remove rounding up from use normalized snap points hook

Co-authored-by: Mo Gorhom <gorhom@me.com>
2021-01-08 22:40:20 +01:00
Mo Gorhom
61a3841ae2 chore: release v3.0.2-alpha.3 v3.0.2-alpha.3 2021-01-07 22:24:23 +01:00
Mo Gorhom
262ac933df refactor: remove getNode from scrollables (#166) 2021-01-07 22:18:14 +01:00
Mo Gorhom
5f22662f86 refactor: handle & background layers (#165)
* chore: added content mask container

* chore: remove default handle background color

* chore: updated examples
2021-01-07 22:13:14 +01:00
Mo Gorhom
84b0349b25 refactor: removed ContentWrapper from BottomSheet (#156)
* chore: remove contentwrapper!

* chore: rename basic example to Dev
2021-01-07 20:44:44 +01:00
Mo Gorhom
db2de5b6d7 fix: fixed shouldMeasureHandleHeight evaluation (#157) 2021-01-06 19:48:01 +01:00
Mo Gorhom
e282500ac0 chore: release v3.0.2-alpha.2 v3.0.2-alpha.2 2021-01-06 17:14:57 +01:00
Mo Gorhom
83b059924d chore: changed the default easing function to cubic (#151) 2021-01-06 12:48:18 +01:00
Michał Osadnik
9321b0057c fix: apply additional panGH props to handle's gesture handler (#152) 2021-01-06 12:45:56 +01:00
tankers746
72c2738b49 fix: fixed animated reaction for animated callback nodes (#150)
* Fix animated reaction for aimated values from props

* restored comment
2021-01-05 10:41:33 +01:00
Mo Gorhom
05fec5082d chore: release v3.0.2-alpha.1 v3.0.2-alpha.1 2021-01-05 09:13:59 +01:00
Mo Gorhom
33d226c1fb feat: added more gesture handler props (#148) 2021-01-04 20:47:18 +01:00
Mo Gorhom
42a3752284 refactor: updated overScrollMode to be come overridable (#145) 2021-01-04 19:01:24 +01:00
Mo Gorhom
025942c24e feat: added a prop to control flashing scrollable on expand (#146) 2021-01-04 19:01:07 +01:00
Mo Gorhom
d007c88686 chore: release v3.0.2-alpha.0 v3.0.2-alpha.0 2021-01-03 20:12:45 +01:00