All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
2.0.0-rc.22 (2024-08-09)
- fix alignment for center aligned title (6e22370) - by @satya164
2.0.0-rc.21 (2024-08-08)
- avoid using column-reverse for header for a11y on web (3101d04) - by @satya164
- improve custom header in native stack & stack (7e6b666) - by @satya164
- use pointer cursor only on web & iOS (ce1ce06) - by @satya164
2.0.0-rc.20 (2024-08-07)
Note: Version bump only for package @react-navigation/elements
2.0.0-rc.19 (2024-08-05)
- This removes the
headerBackTitleVisible
option, and changesheaderTruncatedBackTitle
toheaderBackTruncatedTitle
.
Similarly, headerLeft
now receives displayMode
instead of
labelVisible
, and HeaderBackButton
accepts displayMode
instead of
labelVisible
2.0.0-rc.18 (2024-08-02)
Note: Version bump only for package @react-navigation/elements
2.0.0-rc.17 (2024-08-01)
Note: Version bump only for package @react-navigation/elements
2.0.0-rc.16 (2024-07-19)
Note: Version bump only for package @react-navigation/elements
2.0.0-rc.15 (2024-07-12)
- add masked-view to peerDependencies (08b3ef1) - by @
2.0.0-rc.14 (2024-07-12)
- import from /native instead of /core (66d5f45) - by @
2.0.0-rc.13 (2024-07-11)
- upgrade react-native-builder-bob (1575287) - by @
2.0.0-rc.12 (2024-07-11)
Note: Version bump only for package @react-navigation/elements
2.0.0-rc.11 (2024-07-10)
Note: Version bump only for package @react-navigation/elements
2.0.0-rc.10 (2024-07-08)
- pass correct tint color to header icons (3c78290) - by @satya164
2.0.0-rc.9 (2024-07-07)
- add missing exports entry to package.json (ae16f52) - by @satya164
- use imports for assets for esm support (0c37f65) - by @satya164
2.0.0-rc.8 (2024-07-04)
- fix published files (829caa0) - by @
2.0.0-rc.7 (2024-07-04)
Note: Version bump only for package @react-navigation/elements
2.0.0-rc.6 (2024-07-04)
- add package.json exports field (1435cfe) - by @
2.0.0-rc.5 (2024-07-01)
- adjust header shadow color on iOS (9dc2aca) - by @
- stop using react-native field in package.json (efc33cb) - by @
2.0.0-rc.4 (2024-06-29)
Note: Version bump only for package @react-navigation/elements
2.0.0-rc.3 (2024-06-28)
- add hoverEffect prop to Pressable (c02689a) - by @
2.0.0-rc.2 (2024-06-28)
- fix types for Link & Button components (bc9d628) - by @
- tweak button effects on android & web (65fa934) - by @
2.0.0-rc.1 (2024-06-28)
- fix header title margin if there's no left button (ee8bc91) - by @satya164
2.0.0-rc.0 (2024-06-27)
- add hover effect to buttons on iPad & VisionOS (2cb77c0) - by @satya164
- fix back icon not showing in iOS production builds in Expo, fixes #11792 (#12019) (5e297a0) - by @sparkertime
- fix incorrect header height in bottom tabs (144f1ac) - by @satya164
- remove global in favor of globalThis for better compatibility (#11976) (f497491) - by @natew
- tweak header so title takes more space (ee4f516) - by @satya164
2.0.0-alpha.17 (2024-03-25)
- pass href to headerLeft function (ce6d885) - by @satya164
2.0.0-alpha.16 (2024-03-22)
Note: Version bump only for package @react-navigation/elements
2.0.0-alpha.15 (2024-03-22)
Note: Version bump only for package @react-navigation/elements
2.0.0-alpha.14 (2024-03-20)
Note: Version bump only for package @react-navigation/elements
2.0.0-alpha.13 (2024-03-14)
- adjust drawer width according to md3 (a88b2ea) - by @satya164
2.0.0-alpha.12 (2024-03-10)
- add a workaround for safe area frame not updating on web (3799b16), closes #8551 #11398 - by @satya164
2.0.0-alpha.11 (2024-03-09)
Note: Version bump only for package @react-navigation/elements
2.0.0-alpha.10 (2024-03-08)
2.0.0-alpha.9 (2024-03-04)
Note: Version bump only for package @react-navigation/elements
2.0.0-alpha.8 (2024-02-24)
- fix peer dependency versions (4b93b63) - by @
2.0.0-alpha.7 (2024-02-23)
- iOS: disable collapsable option from Background in Screen (#11840) (c1e327c), closes #1997 - by @tboba
2.0.0-alpha.6 (2024-02-23)
- fix header height for iOS devices with dynamic island (#11786) (4c521b5), closes #11655 - by @gianlucalippolis
- add a HeaderButton component to elements (d8de228) - by @satya164
2.0.0-alpha.5 (2024-01-17)
Note: Version bump only for package @react-navigation/elements
2.0.0-alpha.4 (2023-11-17)
- darken the tint color for light colored button text (d5e6b9e) - by @satya164
- update peer dependencies when publishing (c440703) - by @
2.0.0-alpha.3 (2023-11-12)
2.0.0-alpha.2 (2023-09-25)
Note: Version bump only for package @react-navigation/elements
2.0.0-alpha.1 (2023-09-13)
2.0.0-alpha.0 (2023-09-07)
-
add default value to labelVisible in HeaderBackBox (#11308) (bd96d89) - by @gkasdorf
-
Allow to use
PlatformColor
in the theme (#11570) (64734e7) - by @retyui -
make back button ripple visible (#11386) (c43208f), closes #9794 - by @vonovak
-
feat!: add a direction prop to NavigationContainer to specify rtl (#11393) (8309636), closes #11393 - by @satya164
- add animation prop to bottom tab (#11323) (8d2a6d8) - by @teneeto
- add shifting animation to bottom-tabs and various fixes (#11581) (6d93c2d) - by @satya164
- Previously the navigators tried to detect RTL automatically and adjust the UI. However this is problematic since we cannot detect RTL in all cases (e.g. on Web).
This adds an optional direction
prop to NavigationContainer
instead so that user can specify when React Navigation's UI needs to be adjusted for RTL. It defaults to the value from I18nManager
on native platforms, however it needs to be explicitly passed for Web.
1.4.0-alpha.1 (2023-06-22)
Note: Version bump only for package @react-navigation/elements
1.4.0-alpha.0 (2023-03-01)
- fix paths in sourcemap files (368e069) - by @satya164
1.3.9-alpha.0 (2023-02-17)
Note: Version bump only for package @react-navigation/elements
1.3.7 (2022-11-21)
- add accessibility props to NativeStack screens (#11022) (3ab05af)
- supersede Platform.isTVOS for Platform.isTV (#10973) (1846de6)
1.3.6 (2022-09-16)
1.3.5 (2022-08-24)
1.3.4 (2022-07-05)
1.3.3 (2022-04-01)
Note: Version bump only for package @react-navigation/elements
1.3.2 (2022-04-01)
- fix type errors when passing animated styles to header (9058b1c)
1.3.1 (2022-02-02)
Note: Version bump only for package @react-navigation/elements
1.3.0 (2022-01-29)
- fix exposing custom header height with modals (3b4edf7)
- native-stack: add support for header background image (393773b)
- pass canGoBack to headerRight (82a1669)
1.2.1 (2021-10-12)
Note: Version bump only for package @react-navigation/elements
1.2.0 (2021-10-09)
- add a headerShadowVisible option to header (8e7ba69)
1.1.2 (2021-09-26)
Note: Version bump only for package @react-navigation/elements
1.1.1 (2021-09-26)
1.1.0 (2021-08-17)
1.0.4 (2021-08-11)
- fix headerTransparent not working outside stack navigator (42c43ff)
1.0.3 (2021-08-09)
1.0.2 (2021-08-07)
Note: Version bump only for package @react-navigation/elements
1.0.1 (2021-08-03)
Note: Version bump only for package @react-navigation/elements
1.0.0 (2021-08-01)
- match native iOS header height in stack (51b636d)
- basic web implementation for native stack (de84458)
- expose header height in native-stack (#9774) (20abccd)
1.0.0-next.21 (2021-07-16)
Note: Version bump only for package @react-navigation/elements
1.0.0-next.20 (2021-07-16)
Note: Version bump only for package @react-navigation/elements
1.0.0-next.19 (2021-07-01)
Note: Version bump only for package @react-navigation/elements
1.0.0-next.18 (2021-06-10)
Note: Version bump only for package @react-navigation/elements
1.0.0-next.17 (2021-06-01)
- tweak opacity animation for PlatformPressable (b46c433)
1.0.0-next.16 (2021-05-29)
Note: Version bump only for package @react-navigation/elements
1.0.0-next.15 (2021-05-29)
Note: Version bump only for package @react-navigation/elements
1.0.0-next.14 (2021-05-27)
Note: Version bump only for package @react-navigation/elements
1.0.0-next.13 (2021-05-26)
Note: Version bump only for package @react-navigation/elements
1.0.0-next.12 (2021-05-25)
Note: Version bump only for package @react-navigation/elements
1.0.0-next.11 (2021-05-23)
Note: Version bump only for package @react-navigation/elements
1.0.0-next.10 (2021-05-16)
- fix drawer content padding in RTL (ea8ea20)
1.0.0-next.9 (2021-05-10)
Note: Version bump only for package @react-navigation/elements
1.0.0-next.8 (2021-05-09)
Note: Version bump only for package @react-navigation/elements
1.0.0-next.7 (2021-05-09)
Note: Version bump only for package @react-navigation/elements
1.0.0-next.6 (2021-05-09)
- animate pressable opacity (459fd27)
1.0.0-next.5 (2021-05-01)
Note: Version bump only for package @react-navigation/elements
1.0.0-next.4 (2021-04-08)
Note: Version bump only for package @react-navigation/elements
1.0.0-next.3 (2021-03-22)
- add a Background component (cbaabc1)
1.0.0-next.2 (2021-03-12)
- use theme in PlatformPressable (40439cc)
- return nearest parent header height for useHeaderHeight (24b3f73)
1.0.0-next.1 (2021-03-10)
- fix peer dep versions (72f90b5)
- show a missing icon symbol instead of empty area in bottom tab bar (2bc4882)
- initial implementation of @react-navigation/elements (07ba7a9)