Releases: gorhom/react-native-bottom-sheet
Release 4.2.0
Features
- feat: allow unsafe usage for useBottomSheetInternal & useBottomSheetModalInternal (#740)(by @jembach)
-
feat: add useBottomSheetInternal_unsafe & useBottomSheetModalInternal_unsafe to access context
-
chore: export hooks useBottomSheetInternal_unsafe and useBottomSheetModalInternal_unsafe
-
refactor: combined unsafe hooks with default hooks using an argument
-
chore(useBottomSheetInternal): use function overloading instead of interface
-
chore(useBottomSheetModalInternal): use function overloading instead of interface
-
chore: fixed spacing
Co-authored-by: gorhom <gorhom.dev@gmail.com> (1bf6139).
Improvements
Release 4.1.6
Improvements
- chore: updated react native to 0.68 (b4614bd).
- chore: updated reanimated to 2.8 (c1e6847).
- chore: added native screens example (1cf46c0).
- chore: updated react native portal library (955b774).
- chore: updated portal to 1.0.12 (0010008).
- chore: replaced blacklist with exclusionList (#649)(by @aleppos) (e3881b3).
- chore: export BottomSheetFooterContainer component (4f63b0d).
Fixes
Updating a shared values is an asynchronous operation, so if two layouts happen in quick succession, we can miss an update. (3245b23).
Documentations
- docs: updated the readme file (d951b17).
Release 4.1.5
Fixes
- fix: resume animation on interruption (
#769
).
Release 4.1.4
Improvements
- chore: updated example dependencies (9176e35).
- refactor: updated modal ref calls to use optional chaining (#725)(by @jcgertig)
-
Use optional chaining to make sure that the ref exisist
-
Make sure ref exists with optional chaining (9ace1c6).
Fixes
Documentations
- docs: updated readme (d951a19).
Release 4.1.3
Improvements
- chore: updated @gorhom/portal dependency (e777487).
- refactor: updated modal ref calls to use optional chaining (#699)(by @jcgertig) (ea19e3f).
- chore: updated sponsor link (2b624cc).
- chore: updated contact list scroll indicator style to black (9cc8b17).
Fixes
Documentations
- docs: updated logo (7c176e0).
Release 4.1.2
Fixes
- fix: hide the bottom sheet on closed (
#690
).
Release 4.1.1
Release 2.4.1
Release 4.1.0
Features
-
React on keyboard height change
-
Handle null previous state android (3c5fc57).
Improvements
- chore: updated @gorhom/portal dependency (366e46b).
Fixes
- fix: updated initial position to screen height (
#657
). - fix: remove 'removeListener' as it is now deprecated (#635)(by @brianathere) (f03b05b).
- fix: revert changes on BottomSheetModal that blocked stack behavour (15225ae).
- fix: updated asigning velocity in animate worklet (#650) (38b635e).
Documentations
- docs: fix overDragResistanceFactor description (
#633
).
Release 2.4.0
Features
- feat: added custom accessibility support (#571)(by @nmuranovas)
-
feat: add custom accessibility support (#1)
-
feat: add accessibility support to BottomSheet
-
feat: add accessibility support to BottomSheetBackdrop
-
feat: add custom accessibility to BottomSheetHandle
-
feat: add BottomSheetHandle export to index.ts
-
Feature/custom accessibility (#2)
-
fix: rename announceChangeForAccessibility to enableAccessibilityChangeAnnouncement
-
fix: add 'import type' where needed
-
fix: type import (7b1bcd8).
Improvements
- chore: remove unnecessary useMemo (
#413
). - chore: updated examples & add shadow example (
#394
). - chore: updated package dependencies (32c04e1).
- chore: added stale to github actions (71993f0).
- chore: added delete dts files script (181eb40).
Documentations
- docs: renamed react-naigation.md to react-navigation.md (
#541
). - docs: updated React Navigation example link (
#400
). - docs: updated website (
#381
). - docs: delete old website folder (9e5c07c).
- docs: added adding shadow guide (5a28241).
- docs: updated website and readme (7f5e8d2).
- docs: updated readme file (8a09ed3).
- docs: fixed website build (224816e).
- docs: fix incorrect title of useBottomSheetTimingConfigs section(#455) (d82ce16).