5.22.0
What's New?
Check out our Colors.loadSchemes
API for dark mode support, you can read more about how to use it here
https://wix.github.io/react-native-ui-lib/foundation/colors
π Features
β’ Support dark mode using Colors.loadSchemes
method. (#1147)
β’ Support onCollapseChanged
& onCollapseWillChanged
props for StackAggregator component (#1210)
β’ Add notes in our docs for component that has dependency on an optional dependency (#1220)
β’ Support passing containerStyle
to Modal.TopBar component (#1222)
β’ Colors - add transparent
. (#1234)
β’ Update prop-value-shape-deprecation
lint rule to support props path (#1227)
π§ Fixes
β’ Fix Badge's size default prop and make it optional (#1212)
β’ Picker - fix not responding to external value change when renderPicker is used (without useNativePicker) (#1211)
β’ Fix broken UI for Galaxy S20 in expandableSection screen (#1230)
β’ Fix TS issues (#1215)
β’ Fix floatingButton duration prop (#1228)
β’ Carousel - replace children.length
with Reacts children count helper. (#1219)
β’ Fixing docs extends links (#1237)
βοΈ Maintenance & Infra
β’ Big refactor in our eslint rules - Support more import\require types (for instance importing *), handling renamed components, improve fix logic. (#1193)
β’ Begin transition to reanimated v2 in our components, at the moment our components should work on both versions. (#1224)
β’ Migrate our demo project to reanimatedv2 (#1223)