Releases: callstack/react-native-paper
Release 3.1.1
Release 3.1.0
3.1.0 (2019-10-28)
Bug Fixes
- add additional check for browsers. fixes #1178 (44e1d8a)
- add commonjs step to bob and configure main and module fields properly (#1415) (9b74d21)
- align text to center in multiline TextInput (#1408) (03c9bfd)
- allow touch events to go through in PortalHost (#1422) (eab656c)
- mark methods as private (#1419) (43517dc)
- start ripple from correct position in bottom navigation (72c40eb), closes #1207
Features
React-Native-Paper 3.0.0
We're excited to release the new version of React Native Paper, after more than 6 months of work, thanks to 45 contributors who made 152 commits.
Upgrading
This release includes several breaking changes so please see our migration guide for tips on upgrading.
Highlights
🎣 useTheme hook: We now export an useTheme hook, thanks to @jshearer
💅 Dark Theme colors: Dark mode follows official material design guidelines, thanks to @pan-pawel
✅ Typescript: Library is migrated to typescript, thanks to @wojteg1337
🚀 Icons: We now support custom Icon component, thanks to @jaysbytes and @Trancever
✍🏽 Text Input: Many improvements and bug fixes, thanks to @jbinda
🌍 Menu: Improved accessibility and web platform support, thanks to @satya164
⌛️ Animations: Users can control animations duration via theme.animation.scale prop, thanks to @Trancever
Release 3.0.0-alpha.8
3.0.0-alpha.8 (2019-10-21)
Bug Fixes
Release 3.0.0-alpha.7
Release 3.0.0-alpha.6
3.0.0-alpha.6 (2019-10-17)
Bug Fixes
- allow changing progressBar progress when visible (818f73c)
- BREAKING remove padding prop from TextInput (#1394) (708fdf3)
- fix issue with displaying text in rtl mode (ca94a23)
- fix RadioButton onPress (#1359) (bd42961)
- fix snackbar example (#1338) (fb5ef83)
- make ListIcon color optional (#1379) (2a392b9)
- omit ref in TextInput props type (#1361) (1e4b623)
- pass borderRadius to touchableStyle of button (#1343) (9f7bb6b)
Features
Release 3.0.0-alpha.5
3.0.0-alpha.5 (2019-09-11)
Bug Fixes
Release 3.0.0-alpha.4
3.0.0-alpha.4 (2019-09-09)
Bug Fixes
- add elevation to wrapper style on Android (#1319) (403bfd3)
- FAB - always display activity indicator if loading property is set to true (#11570) (575fdec)
- fix iconButton example (03e484a)
- fix typescript error when setting ref on textinput (#1218) (52b2756)
- only start/stop progressBar animation if visible prop changes (#1294) (45b386a)
- update chip close icon to material community icon (#1295) (6e7cd36)
Features
Release 3.0.0-alpha.3
3.0.0-alpha.3 (2019-08-01)
Bug Fixes
- add $Omit for lower Typescript versions (#1180) (12ed01e)
- add animation scale to Menu (#1182) (1899651)
- add contentStyle prop to Menu (4fc1eb9)
- add letter spacing for typography components (#1111) (c55e3dc)
- add style prop to AvatarText (2e7c88a)
- add testID to HelperText (#1236) (e2a057c)
- adjustsFontSizeToFit does not exist on TextInput (#1131) (9575048)
- consistent elevation behavior across platforms (#1176) (1ab39eb)
- disable menu interaction while hiding (#1166) (4e8622c)
- iconButton scaling (3adc549)
- make allowed children to accept additional props (#1174) (3cc119b)
- optimize images to remove warning from expo cli (12f3cf1)
- placeholder disappears in react-native-web (#1152) (553fbfc)
- properly render prop description in List.Item (#1199) (7ac5d39)
- reduce delay of Menu (#1183) (09a793e)
- remove unused prop from Appbar.Header (#1187) (f61393d), closes #1186
- touchable-ripple-toggling-disable-prop (#1226) (16e3569)
- upgrade color missing changes (#1230) (05eb8a5)
- use Partial for type of defaultProps (#1170) (c07d629)
- wrap modal children in SafeAreaView (e034b69)
Features
- add ability to use own icon component (#1210) (db98ef0)
- add character counter to text input example (2769edc)
- add contentStyle prop to banner (#1143) (4e57e64)
- add ToggleButton.Row component (#1169) (fe3efae)
- export useTheme hook (7e1d5cd)
- extend chip with onLongPress functionality (#1211) (9319559)
- new dark theme colors (#1219) (0b03371)
Release 3.0.0-alpha.2
Bug Fixes
- add contentContainerStyle type to ModalProps interface (#1052) (cce403f)
- add inputStyle prop tying to Searchbar (#1049) (6d5345c)
- check if portal manager is not null for update and unmount and fix the modal doc example (#995) (87855b8)
- correct Chip component typings (#1044) (ef00256)
- disable interaction when fading out modal (#1116) (3349a4f)
- dismiss menu on window layout change. closes #1005 (#1026) (17c1f81)
- appbar: do not pass any additional props to custom children components (#972) (446ad94)
- fix Card flow type (#1012) (b5b8ed1)
- make the menu keyboard-accessible in browser (#1046) (ad3eb62)
- move paddingHorizontal out from content style (#1078) (ac59126)
- pass flattened styles to adjustPadding (#1132) (fcf3ec9)
- properly handle back button press in menu (#1032) (72b201f)
- typo in menu component (391fe53)
- use "active" instead of "text" for ripple color (#1060) (8746aba)
- warning in console when running tests (#1028) (72da47e)