v1.2.0
Summary
💯 Thanks to all our contributors who made this release possible. v1.2.0 brings some much-needed fixes as well as requested features (using hooks with theming!).
ℹ️ Our next release will be v2.0.0 - this is to introduce small UI fixes that need to be made to some components (looking at you Input) but that may have some small changes to how your apps look.
😞 Also, we apologize for the long break between releases (last release since February). Some persons involved with the maintaining of the library have since moved on or no longer available to give enough time. If you're interested in helping maintain this library then feel free to contact me. Ideally, we'd like to release at least once a month, with release fixes faster if possible.
🙏 Enjoy this release of React Native Elements
Fixes
ButtonGroupConvert disabledText color to string a476ff4 @mjmaixImageBug where children couldn't be interacted with b530d9e @iRoachieInputAllow passing React.forwardRef as inputComponent aae1a42 @avasuroPricingCardCorrect prop-types for text style props 3b82092 @iRoachieiOS SearchBarContain text within cancel animation fd6aeea @iRoachieSearchBarAdd isEmpty check to onFocus to show clear button ae5ec24 @M-Jas- Bug with exponent operator
**on some devices be51a81 @dominikeinkemmer - (types) Correct typescript type for image source on Avatar, Card, and Header 0894d6b @Phecda
- (types) Allow
ImageComponenttype on Image to allow function components 2492d77 @SimenB - (types): Allow function components to Input.inputComponent 31321cd @mjmaix
- (types): Correct type for
toggleOnPresson Tooltip d532070 @renjfk - (types): Allow passing component for Input label e26e731 @paulmathis
Features
- Can now use Theming with hooks! 49ca4d0 @iRoachie
- Add replaceTheme function to ThemeProvider e2f2e6e @kuket15
CardNow uses Image component from RNE for gradual load animation 9b27663 @haruelrovixHeaderCan now use linear gradient e6b6732 @haruelrovixImageNow based on ImageBackground allowing for fullscreen background images e279582 @iRoachieInputAdddisabled,disabledInputStyleprops 82d650f @marcelkalveramPricingCardAllow styling the title of the button with button.titleStyle 4bab2bf @AliAziziSearchBarAllow overridingtestIDfor e2e tests e63d787 @iRoachieSocialIconAdded weibo, vk, and, flickr f3c78e0 @iRoachieSocialIconCan now usegoogletype c7fc322 b1b53d1 @TeruyaHaroldo @iRoachieTileNow uses Image component from RNE for gradual load animation ce1d3c5 @iRoachieTileAddimagePropsto add additional image props 2b60939 @iRoachieTooltipAddoverlayColorprop to customize background color of overlay 929c6a3 @M-Jas- (types): Allow accessibility props on Icon cde7eca @iRoachie
Docs
- New docs page on usage with Create React App https://react-native-elements.github.io/react-native-elements/docs/web_usage.html
- Several fixes to ListItem 3c68e7e 29e2ee7 @vittoridavide @YIPG
Customization- Spelling errors 2949115 @indvinothHeader- Correct usage of props and children precedence 19ceb8d @RyPopeInput- Remove usage ofshakeas a prop and document ref usage bed5525 @iRoachieSearchBar- Fix anchor links to headers aa47a38 @YikSanChanTooltip- Add section on interaction methods d532070 @renjfk- Update getting started guide to mention linking in rn0.60 and above f8324b8 @v1b3m
- Several small docs fixes b0116f2 b49a9b5 2949115 c7fc322 c411ccb 06f87b4 12ae63b 1a9f56d @stevemoser @burdiuz @indvinoth @TeruyaHaroldo @jhbosch @tomasswood @janhesters @milesimarco
Misc
- Much smaller npm install size by npmignoring some folders 46625e7 @petrbela
- Update postinstall script so it never fails in ci ef4b3b3 @mattezell