5.21.0
🚀 What's New
Our peer dependencies are now optional as long you don't use specific components.
What does it mean?
For instance, when using the Card component with enableBlur prop on it uses @react-native-community/blur package
Till now, this package was mandatory even when not using the Card component at all.
With a recent feature in react native metro packager, we can now optionally require dependencies only when they are really needed.
(This exclude two dependencies: react-native-reanimated
and react-native-gesture-handler
)
🎁 Features
• Add vertical mode to Carousel component (horizontal prop) (#1175)
• Support passing Animate.ValueXY to attach to Carousel's onScroll event (#1207)
• Support passing custom element to LoaderScreen
• Card's enableBlur is won't crash the app if missing @react-native-community/blur dependency (#1179)
• Peer dependencies (except for reanimated and gesture-handler) will not be mandatory unless using specific components (#1198)
🔧 Fixes
• TabController - Android with RTL - fix scroll to and Fader (#1178)
• TabController.TabBar - fix items not being updated (#1204)
• Avoid passing overlayContent to Card.Section's Image when not needed (#1187)
• Catch undefined StatusBarManager (#1189)
• FloatingButton - change gradient overlay (and change screen) (#1203)
• Fix bold typography for Android (#1200)
• Mobile responsive fixes for our docs site (#1174)
• Expo App fixes and improvements (#1166)
• Fix missing props in components docs (#1206)
• Update docs for Incubator.TextField link to example code so it opens the correct url and doesn't 404. (#1190)
• Fix missing docs info and remove irrelevant components (#1195)
• Fix logic for undocumented groups (docs) (#1167)
⚙️ Maintenance & Infra
• no-direct-import eslint rule - adding applyAutofix
flag to control autofix option (#1183)
• Remove usage of animatable in LoadingScreen (#1152)
• ImageScreen - Adding demo for Image's 'errorSource' prop. (#1173)
• Set new lint rule for deprecation of prop value shape (#1094)
• Button - refactor into smaller files (#1168)
• DialogDismissibleView - refactor to function (#1170)
• Migrate from @react-native-community/picker to @react-native-picker/picker (#1063)