5.20.0
π Features
β’ We updated our docs site with new design and an amazing landing page! (#1091)
β’ DateTimePicker - adding 'headerStyle' prop to adjust iOS dialog header style. (#1117)
β’ Image - Adding 'errorSource' prop for image source in case of an error. (#1116)
β’ Support passing customElement
to Badge component. (#1153)
β’ Incubator.TextField now supports onChangeValidity
callback for when field valid state has changed. (#1121)
β’ Wizard.Step - add circleBackgroundColor
prop
β’ TabController - Change and refactor centerSelected
logic (#1103)
β’ Added Shadows presets: Shadows.sh10
, Shadows.sh20
, Shadows.sh30
(#1157)
β’ Introduce new useDidUpdate hook, that will skip update on initial value. (#1119)
β’ Support passing custom renderInput
to DateTimePicker (#1127)
β’ Update our default primary color to Colors.violet30 (#1135)
π§ Fixes
β’ Fix various broken example screen links in our docs (#1146) (#1154)
β’ Dialog - fix swiping to dismiss does not trigger onDialogDismissed (#1093)
β’ Fixed ChipsInput backspace tag removal issue on Android. (#1151)
β’ Fix issue with FeatureHighlight component not using useNativeDriver flag (#1136)
β’ useScrollToItem hook - add offsetType to statics + fix dynamic focusing when there's inner/outer spacing (#1144)
β’ Fix ChipsInput
prop typings (#1139)
β’ RadioGroup - add typing for testID prop (#1143)
β’ Fix accessibility typings to Avatar
component (#1155)
β’ Fix our typography-deprecation
eslint rule from catching non truthy props (#1137)
β’ Add support for responsive layout for mobile in our docs site (#1164)
βοΈ Maintenance & Infra
β’ CustomKeyboardView - remove unsafe methods (#1160)
β’ SettingsScreen - rename componentWillMount to UNSAFE (#1118)
β’ CardsScreen - fix backgrounds and remove obsolete examples (#1124)
β’ Deprecate usage of react-native-animatable
in our Hint component with our own implementation (#1125)
β’ Remove dependency of react-native-animatable
in our FloatingButton component (#1134)