Releases: callstack/react-native-paper
Release 2.2.0
Bug Fixes
- add RTL support to searchbar(#565) (aed0bfd)
- add tests for snackbar visibility on mount (8764f60)
- Always show error outline when including when unfocused (#595) (#598) (0697fb6)
- change the keyboard appearance according to theme (#593) (124f52f)
- don't update TextInput content if it's not editable (#608) (56840ee), closes #589
- fix helper text not shown the first time it's visible (5a51af4)
- fix Snackbar static constants type for typescript (#609) (2969b1d)
- grow text input to fill available space. fixes #612 (b980c36)
- hidden snackbar if initially visible (#621) (a4579bd)
- make example typescript compatible (#623) (d3d17e7)
- RadioButton dialog example should use status props. (#592) (ee954e8)
- TextInput example (accept upperCase and lowerCase letters) (#619) (706c13d)
- ts declaration of TouchableRipple (#615) (37d9111)
- fix tab focus animation bug from react-native@~0.57 on Android (627aa90)
- use new Switch API from RN >= 0.57. fixes #571 (4aa7add)
Features
Release 2.1.3
Release 2.1.2
Material Design 2.0 for React Native
We're excited to release the new version of React Native Paper, after more than 3 months of work, thanks to 21 contributors who made 129 commits.
Upgrading
This release includes several breaking changes and redesign of components to match the new material design guidelines. See our migration guide for a list of breaking changes and instructions for upgrading.
Highlights
πMaterial Design 2.0: Components now follow the new material design guidelines, thanks to @gawrysiak, @jaulz, @Trancever, @satya164
πAccessible: We now add accessibility related props automatically whenever it makes sense, thanks to @satya164
π RTL Support: Various components now support RTL by default, big thanks to @iyadthayyil
π·ββοΈNew components: IconButton, Checkbox.Android, Checkbox.IOS, RadioButton.Android, RadioButton.IOS, thanks to @jaulz and @satya164
Bug fixes
- Support
nullorfalseaschildreninCard- @satya164 - Support nesting modals - @jaulz
- Close speed dial on pressing action in
FAB.Group- @satya164 - Remove
Chipelevation on iOS - @satya164 - Fix
Portalnot rendering components some times - @jaulz - Handle empty string in
List.Item'sdescriptionprop - @jaulz - Fix
Snackbarblocking touch at bottom of the screen - @bosung90, @KevinGulj - Prevent
focusandblurifTextInputis disabled - @jaulz - Remove hardcoded height for
Drawer.Item- @lukewalczak - Make the whole
Searchbartappable - @ocarreterom - Disable
TouchableRippleifonPressisn't specified - @jaulz - Fix
Dialog's border radius to read from the theme - @iyadthayyil - Allow
Modal's children to grow to fill the content - @fzyzcjy - Fix building for React Native Windows and React Native Mac OS - @KevinGulj
- Pass rest props to
Buttoncontainer for easier testing - @muxe - Fix crash in
Appbarwhen subtitle is empty string - @shcheuk - Fix components in
Portalnot being clipped properly - @Trancever
Other improvements
- Make
backdropthemeable with a newcolors.backdropproperty in theme - @jaulz - Add ability to customize active and inactive colors with
activeColorandinactiveColorprops respectively inBottomNavigation- @satya164 - Add ability to hide labels with
labeledprop inBottomNavigation- @satya164 - Support using
BottomNavigation.SceneMapinside component'srenderinBottomNavigation- @satya164 - Add support for disabled
FAB- @jaulz - Allow styling the
FAB.Groupcontainer - @satya164 - Allow styling individual action items in
FAB.Group- @tkorakas