Releases: react-native-elements/react-native-elements
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
ButtonGroup
Convert disabledText color to string a476ff4 @mjmaixImage
Bug where children couldn't be interacted with b530d9e @iRoachieInput
Allow passing React.forwardRef as inputComponent aae1a42 @avasuroPricingCard
Correct prop-types for text style props 3b82092 @iRoachieiOS SearchBar
Contain text within cancel animation fd6aeea @iRoachieSearchBar
Add 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
ImageComponent
type on Image to allow function components 2492d77 @SimenB - (types): Allow function components to Input.inputComponent 31321cd @mjmaix
- (types): Correct type for
toggleOnPress
on 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
Card
Now uses Image component from RNE for gradual load animation 9b27663 @haruelrovixHeader
Can now use linear gradient e6b6732 @haruelrovixImage
Now based on ImageBackground allowing for fullscreen background images e279582 @iRoachieInput
Adddisabled
,disabledInputStyle
props 82d650f @marcelkalveramPricingCard
Allow styling the title of the button with button.titleStyle 4bab2bf @AliAziziSearchBar
Allow overridingtestID
for e2e tests e63d787 @iRoachieSocialIcon
Added weibo, vk, and, flickr f3c78e0 @iRoachieSocialIcon
Can now usegoogle
type c7fc322 b1b53d1 @TeruyaHaroldo @iRoachieTile
Now uses Image component from RNE for gradual load animation ce1d3c5 @iRoachieTile
AddimageProps
to add additional image props 2b60939 @iRoachieTooltip
AddoverlayColor
prop 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 ofshake
as 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
v1.1.0
Summary
Our first release after the huge v1.0.0 🎉 ! For those who missed out on the last release, we've outlined the tons of changes in our v1 blog post. Thanks for all those who used v1 and quickly provided feedback. v1.1.0 is mostly bug fixes with a sprinkle of new features. Enjoy 💯
P.S We also now have a showcase on our homepage of apps using react native elements. If you have an awesome app, you can submit it there too.
New features / Components
CheckBox
AddtitleProps
prop a06c6b0 @iRoachieText
Add style props to customize header props fa17de0 @iRoachie
Fixes
Button
Ripple on android was outside bounds 4c0a2cf @aliassarText
Remove unusedfontFamily
prop a65e3de @rawad663ThemeProvider
Fix warning with unique keys c3104ef @iRoachieSlider
Fix false positioning of Slider and track width 96a7692 @rawad663Tooltip
Adjust position for StatusBar on android 8372884 @michaelclark2- Convert normalizeText helper to use ES6 exports 9d704df @yatsyk
Docs
Button
Fix missing comma 22cb269 @blugavereInput
Fix anchor tags for some props 141d3a7 @YikSanChan- Fix typo in customization docs 8ef4b42 @RobertWSaunders
- Fix typo on 1.0.0-release blog post e1ed628 @YikSanChan
- Add Le Cheese app to Showcase 87e8282 @zenorocha
- Add instructions for maintaining list styling when upgrading from v0.19.1 to v1.0.0 c668c78 @lukewlms
- Add Common Pitfalls section on theming to the customization docs 07886c1 @iRoachie
Misc
- (types) Update type for PlaceholderContent on Image 55d0721 @danielholmes
- (types) Update ListItem.chevron and checkmark defs to include
React.Element
e91a7c4 @danielholmes - (types) Add divider to colors definition edde65f @danielholmes
- (types) Add cancel method for search bar 87f0f80 @novasponge
- (types) Add missing
cancelButtonTitle
prop to SearchBar 90b3551 @azizghuloum - (types) Add missing
underlayColor
prop to SocialIcon 7f13c33 @Rawphs
v1.0.0
Summary
React Native Elements v1 is finally here!! 💯 This is the biggest and more improved release so far so please read through the release notes below carefully. And welcome to v1 🎉
Thanks to all that have submitted issues, pull requests and helped us to reach this milestone today. ❤️
Be sure to check out our blog post if you're upgrading from 0.19.1!
BREAKING CHANGES
Avatar, Badge, ButtonGroup, CheckBox, Icon, ListItem, SocialIcon
If you were using the component
prop for any of these, it's now changed to Component
. 3582b78 @iRoachie
Avatar
If you were using the editButton
prop before, the param names are now changed e44bff0 @iRoachie
// Before
<Avatar
editButton={{
iconName: 'xx',
iconType: 'xx',
iconColor: 'xx'
}}
/>
// After
<Avatar
editButton={{
name: 'xx',
type: 'xx',
color: 'xx'
}}
/>
Button
-
We've added button types! Buttons can now have a type of
solid
,clear
oroutline
. This means that theclear
prop is now deprecated. Also in this change,buttons on Android by default won't be raised -- if you want a raised button, then add theraised
prop. 773131e, 5673323 @iRoachie -
The default title "Welcome to React Native Elements" is now gone. If for some reason you were depending on this in your app 😅 you'll have to set the title. 52678d5 @iRoachie
Badge
wrapperStyle
is now been deprecated.containerStyle
now functions as what waswrapperStyle
and a new propbadgeStyle
replaces what wascontainerStyle
.element
prop which was undocumented is now deprecated. Just use thevalue
prop- Badges can no longer render children. Instead, if you want a custom component you can use the
value
prop which now supports rendering react components. - We've added "mini badge" 😅 which functions as a status indicator when no
value
is provided. - Adds
status
prop which is a convenience prop for styling the background viabadgeStyle
for quick and commonly used scenarios
ButtonGroup
Deprecates the disableSelected
prop and introduces 5 new props for handling disabled states:
disabled
disabledStyle
disabledTextStyle
disabledSelectedStyle
disabledSelectedTextStyle
Card
Deprecates two props:
fontFamily
- Can be set viatitleStyle
propflexDirection
- Can be set viawrapperStyle
prop
SearchBar
Adds the ability to customize the "Cancel" button on the iOS SearchBar with some new keys in the cancelButtonProps
props:
cancelButtonProps: {
buttonStyle,
buttonTextStyle,
color,
disabled, // boolean for the Touchable
buttonDisabledStyle,
buttonDisabledTextStyle,
}
Input
Input previously had a default width of 90% that would give it a weird inset. It's now been fixed to appear as expected.
See before and after in #1640 (comment).
Text
Deprecates the fontFamily
prop. If you want to change the font family you can use the style
prop.
Features
- Adds showcase section website 4af1ce3 @Monte9
- New Image component! 3663c0c @iRoachie
- New withBadge HOC for adding Badges to any component 59845eb @janhesters
- Add AntDesign to list of available icon sets 83a8625 @osdnk
- Add platform specific colors to theme e14237d @janhesters
Divider
Allow passing View properties b7617e8 @iRoachieHeader
Add props for background image 1957e0d @MHaseInput
Allowlabel
to be a react element d1ac878 @MHaseInput
AddsetNativeProps
method 61dc4af @marcelolxTile | FeaturedTile
Allowcaption
to be a react element 0f83366 @MHaseTile
AllowImageComponent
prop for custom image component b39b88b @BradenM- React Native Web will now use styles and touchable components for iOS cb11a69 6349f79 62a9fcc 489723e 21292b4 a2e179f c05a8fd 659ad08 4379a78 241adb4 94b9cee @piu130
Bug Fixes/Warnings
Avatar
Correct proptype foroverlayContainerStyle
andcontainerStyle
412a7d1 @inandszaAvatar
ImageComponent prop type to allow both of func and object 9bcd638 @haruelrovixButton
Make padding consistent 5508d92 @haruelrovixButton
Rounded corners with custom width, height now work correctly on android 5673323 @iRoachieHeader
Fix issue with iPhone Xr de522f1 @iRoachieListItem
Fix typescript type forcomponent
prop https://github.com/react-native-elements/react-
native-elements/commit/19ada2baafd754f05e68667bc0eae887965e9632 @iRoachieListItem
Fix displaying of rightTitle and other right props when title is not provided 4a44469 @iRoachieOverlay
Fix ScrollView usage 22654c9 @iRoachieOverlay
FixonBackdropPress
22654c9 @iRoachieOverlay
Fix resizing issues when changing orientation or changing window size bcaafba @iRoachieOverlay
Fix array keys warning 8778d38 @iRoachieSearchBar
Fix bug where clear button wouldn't show if value prop was set 28c6141 @franck-nadeauSearchBar
Fix bug withplatform='android'
...
1.0.0-beta7
Summary
Here is the 7️⃣th beta for the v1.0.0!! And the last one before v1.0.0 💯
This beta took a loooooOOooong ⌚️ time to release, and we're sorry for the wait! Everyone has gotten a bit busier lately, but nevertheless, the release is here! Thanks to everyone who contributed to this release.
We recently published 1.0.0-beta6 2 days ago but didn't release it as a beta on npm so we had to remove it and cut a new version. Sorry about that!
Theming 👨🏽🎨!!
You've asked for it and it's finally here! React Native Elements Now Supports Theming 🎨! Not just colours, but EVERY, SINGLE, PROP. Ever wanted to make all your SearchBars look the same, right out the box? Now you can!
We would loveee everyone to try it out and give us feedback. Be sure to check the updated docs on how to get started. Thank you for waiting so long!
BREAKING CHANGES
PricingCard
Props infoFont
, pricingFont
, and titleFont
have been replaced by infoStyle
, pricingStyle
, and titleStyle
a521fc5 @Gregjarvez
Header
Refactored to support better support on android and finally support iPhone X d574d3b @martinezguillaume
- Props
outerContainerStyles
, andinnerContainerStyles
are deprecated in favour ofcontainerStyle
,leftContainerStyle
, andrightContainerStyle
. - Adds helper prop
barStyle
to update the StatusBar. - Props
leftComponent
,centerComponent
andrightComponent
can now accept strings or a react native component.
ListItem
Props chevronColor
and checkmarkColor
have been deprecated. You can now set customize the chevron and checkmark by using an object. faf51e5 @martinezguillaume
// Before
<ListItem checkmark checkmarkColor="red" />
// After
<ListItem checkmark={{ color: 'red' }} />
New features / Components
- New Tooltip component! eaac261 @AndreiCalazans
- Add Theming Support e9750c8 @iRoachie
Avatar
Added placeholder image and image ready fade animation f8af41c @martinezguillaumeAvatar
AddedImageComponent
prop to pass in custom Image component 3cfc564 @sabativiCheckBox
AddwrapperStyle
prop df0cb20 @devthListItem
Addpad
prop to customize the padding between elements 37bb1e3 @GregjarvezIcon
Adddisabled
anddisabledStyle
props 906b3e6 @iRoachieInput
Can now overrideunderlineColorAndroid
be51a98 @M-JasInput
AddisFocused()
class method 0c8a18d @howey-ausInput
AdderrorProps
andlabelProps
props c789507 @msevestreInput
AddinputComponent
prop 60e5201 @mgcreaRating
AddonStartRating
prop b981220 @OtavioBraga
Bug / Warning fixes
SearchBar
FixonClear
method for the default SearchBar 1a054bd @LouisJSSearchBar
Width no longer fixed to screen width 925f96e @iRoachieButton
Allow overriding of TouchableComponent props ae0c413 @AmurmurmurButton
Fix ripple on android version 21 and higher 3e52e4b @patsissonsButton
Fixed borderRadius for disabled style on android 9e8498c @msevestreButton
Fixed bug wherecontainerStyle
couldn't overridelightTheme
styles f2dbc3e @DaKaZButton
Fixed bug where button with linearGradient would ignore disabled styles a751f5c @GregjarvezListItem
Don't crash on android when empty rightTitle or rightSubtitle used ac80e47 @iRoachieListItem
Fix titleProps being ignored 64874ef @msevestrePricingCard
No longer throws a warning for not passinginfo
prop 72a2513 @anushbmxButtonGroup
Fix borders flickering when tapping on a tab ff3af06 @iRoachieButtonGroup
Allow having button group without inner borders dc783de @iRoachieInput
Fixed bug that caused errorMessage and label to render an empty string outside of b153cab @kirakik- Remove npm warning when using v5.x of react-native-vector-icons e3119e6 @LinusU
Docs
Lists
Fix URL hash for containerStyle between List and ListItem props a08f9f4 @x3388638Avatar
Add missing icon type to examples 8f51f96 @iamthuyphamSearchBar
Fix props anchor links 0e98a6f @lwurlSearchBar
Add leftIconContainer, rightIconContainer cea18bc @drewrothsteinButton
Fix typo in 0.19.0 wherecomponent
prop should beComponent
0f0338f @iRoachieAvatar
Do not use index as a key for avatar example 35224d3 @robinpokorny
Misc
- (typescript) Add
size
prop to CheckBox 926609d @mklopets - (typescript) Add registerCustomIconType typing 4fd270b @AdrianoRuberto
- (deps) Upgrade jest version to work with node 10 2ce1b97 @drewrothstein
- (deps) Use opencollective-postinstall for smaller install size 6a574c2 @LinusU
Button
- Allow compatibility with react-native-web ee2fe0f @enewbury- (types, docs) Change
clearText
references toclear
5a65c9b @amhinson
v1.0.0-beta5
Summary
Here is the 5️⃣th beta for the v1.0.0
! 🔥 We've made some fixes and enhancements thanks to your feedbacks. ✨ In this beta we've tried to standardise the way you're using the icons across all components. From this beta, all icons props for all components will be able to receive either an object containing Icon
component props, or a custom component.
Example:
icon={{ name: 'whatever', type: 'font-awesome', size: 15 }}
icon={<CustomIconComponent />}
We've also fully refactored the default SearchBar to be consistent with platform specific ones.
BREAKING CHANGES
Avatar
- Sizing propssmall
, medium
, large
, and xlarge
along with width
and height
have been removed.
There's now the size
prop which takes in the above props as values. You can also set it to a number which will be used as the width and the height fe1edb7 @Gregjarvez
SearchBar
- Has been fully refactored
Default and platform specific SearchBars are now consistent, and have the same props. We strongly encourage you to check out the documentation to know the new props. 96b13f7 @xavier-villelegier
New features / Components
Badge
Thecomponent
props now accepts any custom component (not just React Native ones) 8c8e0bf @aquacash5Button
Add raised prop a5adf55 @whitedogg13Button
Theicon
props can now receive an object containingIcon
props OR a custom component 135556c @xavier-villelegierInput
TheleftIcon
andrightIcon
props can now receive an object containingIcon
props OR a custom component 96b13f7 @xavier-villelegierButtonGroup
Now uses platform specific Touchable 6d92e00 @GregjarvezSocialIcon
Add WeChat color 897ee10 @limianwangOverlay
AddsonBackdropPress
prop. You can use this to dismiss the the Overlay d906775 @GregjarvezSearchBar
Forplatform="ios"
, you can now pass props to the "Cancel" button with thecancelButtonProps
props 096610b @M-Jas
Bug / Warning fixes
Button
Styles were reordered to be more consistent and intuitive. You'll now be able to use the defaultdisabledStyle
even if you provide a custombuttonStyle
. 7e4dbf1 @ganes1410Button
Fix Android ripple effect for buttons with radius 020a321 @GregjarvezListItem
Fix inconsistent Checkmark sizing across platforms 564b2eb @martinezguillaumeIcon
Fix Icon style when using TouchableNativeFeedback b2e6b11 @GregjarvezOverlay
Fix depth collision with Button and Overlay bb908f7 @runia1
Docs
ListItem
Fix checkbox props typo 424bf7c @vishrutListItem
onPress component should be TouchableOpacity 5012e8b @nonotestCard
Button example to use correct value passed toicon
prop d036f6e @j-mateoInput
Fix typo of labelString to labelStyle 4f6f557 @nonotestInput
Fix typo in beta2 docs forleftIcon
props ae31613 @themakermanButton
Remove duplicateloading
prop a4ff9f4 @x3388638SearchBar
Add missinginputContainerStyle
prop 283e6d6 @iRoachie
Misc
- Add more examples in the RNE Example App
v0.19.1
Information
This release is just to fix a critical bug in web production builds. The v0.19.1
will likely be the last stable release until v1.0.0
official release (except in case of critical bug like this one). Feel free to test the beta version of v1.0.0
by doing:
# With yarn
yarn add react-native-elements@beta
# With npm
npm i -S react-native-elements@beta
Bug / Warning fixes
- Remove all
isRequired
occurrences. They were generating an error in web production build and react-styleguidists 229578f @giacomocerquone
Docs
- (README) Update all links with the new website (they were not working on npm anymore) b7d44bd @xavier-villelegier
Total contributors: 2
v1.0.0-beta4
Information
We're proud to announce that v1.0.0-beta4
is the version of the 10,000 🌟of React Native Elements, and it's not an April fool 🐟! Have a look at the Twitter thread about the RNE journey by @Monte9
Thank you for being so many to use this repo, and helping us to make it better everyday. The best is yet to come, stay tuned 🚀
BREAKING CHANGES
-
ListItem
⚠️ COMPLETELY REFACTORED⚠️ The
ListItem
was redesigned from scratch for this beta ! Hopefully you should be able to do what you use to do, + some new features. Have a look at the documentation to discover the new functionalities ! 92e5e83 @martinezguillaume -
List
❌REMOVED ❌The
List
component was basically just a wrapper with some styling. We decided to get rid of it as it can be pretty easily replaced by a simpleView
. @xavier-villelegier -
Input
displayError
props was removed.errorMessage
is shown if there is an error. 4c99586 @xavier-villelegier -
Button
The styles were a refactored a bit. The dimensions now need to be applied on thecontainerStyle
, as it is for every RNE components. 8843696 @martinezguillaume
New features / Components
CheckBox
Can now pass custom react component as checkedIcon, uncheckedIcon 4373797 @iRoachieInput
You can now specify alabel
that will be on top of theInput
. Can be customised throughlabelStyle
props 4c99586 @xavier-villelegierSearchBar
Platform specific SearchBars now applies thecontainerStyle
on the outer component, and the added propsinputContainerStyle
is thecontainerStyle
of theInput
@XeeshanAnsariRating
Enhanced styling, addsratingTextColor
andshowReadOnlyText
add3291 @timotewSearchBar(default)
Can now set size of Icon or clearIcon 84ffc9c @Gregjarvez
Bug / Warning fixes
Button
The icon is now centered ifnull
title is provided, by removing emptyText
component fa14656 @mhsekhavatButtonGroup
Fix default blue background that appears when you add a radius to the buttons 063b93f @dincozdemirInput
Avoid changing ref function on each render, that would cause some issues with a nullref
when theInput
is re-rendering. b46c9f7 @coruptaButton
Fix proptype and typings for theicon
cbc577c @iRoachie
Docs
- (website) Grammar and typo fixes 07cf51c @ngohoangthang
- (website) Fix link to rne-app under custom fonts 3f9faed @anandprabhu
- (website) New layout for the props 92f8584 @Gregjarvez
Misc
- (typescript)
Button
Changetext
totitle
57c5557 827c03f @viggyfresh @chitswe - (typescript) Removed links and replace JSX.Element React.ReactElement bf85813 @Gregjarvez
- (typescript)
Rating
MakeonFinishEditing
optional e428268 @iRoachie - (typescript)
Overlay
Add definitions ae3d62f @iRoachie - (CI) We now have a
react-native-elements-ci
bot that will deploy an example app for each submitted PR. This will be easier for the author and the maintainers to test and check for breaking changes. @xavier-villelegier - (Example app) Assets and fonts are now preloaded. You won't have any black background or unloaded icons anymore. @xavier-villelegier
Total contributors: 13
v1.0.0-beta3
Information
Booom, the 3rd beta for the awesome v1.0.0
release! 🎉 🔥
Initially, the beta3
was supposed to be fully dedicated to React Native Web support. But, as it is a huge task, it implies a lot of new things we are not familiar with. In order to not slowing down the v1.0.0
release, we decided to put the React Native Web support on the rn-web
branch here for now, and we will come back on it later. #867 #760 If you are familiar with React Native Web and are interested in helping us on this feature, contact us on our Slack channel!
BREAKING CHANGES
Button
-text
props was renamed back totitle
, to be consistent with React NativeButton
. 2ac4aa9 @xavier-villelegierSearchBar
clearText()
was renamed toclear()
to be consistent with React NativeTextInput
62733cd @xavier-villelegierSearchBar
onClearText
was renamed toonClear
62733cd @xavier-villelegier
New features / Components
Header
Header centerComponent can now be aligned to left, right, or center(default) 21bdbb1 @iRoachieButton
Use linearGradient by default if using expo 3a1c746 @martinezguillaumeButton
Add disabled, disabledStyle, disabledTitleStyle f356036 @k3ithl1mCard
Title can now be a string or component 2308b1b @vintageAvatar
Add support for different icon type d7abd3e @vintage
Bug/Warning fixes
SearchBar
Fix SearchBar functions 62733cd @xavier-villelegier @ceckobeckoHeader
The height is now consistent on android to match iOS d2eaaba @iRoachieInput
Usewidth: '100%'
instead of using the screen size by default forinputStyle
88156eb @xavier-villelegierInput & Button
Fix bug with styled-component ea97cc2 @xavier-villelegier
Docs
SearchBar
Fix defaultclearIcon
88ca1ba @hysanOverlay
Fix missing image 961eb9d @gianpaj- Allow viewing of
next
changes for future versions cda3f3b @iRoachie - Change beta installation instructions to specify beta version aac4b2a @hhg2288
Tile
Info message about props including Touchable props 8627160 @Gregjarvez
Misc
- Typescript definition for Input 29f30d4 @msevestre
- (types)ButtonGroup - Make
selectedIndexes
optional 5a10608 @lifeiscontent - (website) - Re-added react native training logo to footer 4ca1278 @iRoachie
- (website) - Add syntax highlighting on code blocks 7d90b7b @iRoachie
Total contributors: 12
v1.0.0-beta2
Here is the second beta of the v1.0.0
! 🚀Some bugs introduced in the v1.0.0-beta
were fixed, and new features were added. Thanks for your feedbacks on the first beta, awesome features are planned so stay tuned ! 🔥
BREAKING CHANGES
SearchBar
-loadingIcon
was an object to customize the style of theActivityIndicator
shown whenshowLoading
was true. It was replaced byloadingProps
. 7ee34bb @xavier-villelegierSearchBar
-showLoadingIcon
was renamed toshowLoading
7ee34bb @xavier-villelegier
New features / Components
SearchBar
- The SearchBar has now aplatform
props to choose betweendefault
,ios
, orandroid
look & feel 7ee34bb @xavier-villelegierButtonGroup
- Adds multi-select feature 52e7117 @iRoachieListItem
- TherightIcon
size is now customizable 297212d @k3ithl1mSlider
- You can now passtransform
props to theSlider
throughthumbStyle.transform
47ec31b @RodrigoraTile
- You can use theactiveOpacity
props c2340ff @lex111- Theming - Apply
primaryColor
toCheckbox
,Header
,Button
,ButtonGroup
, andBadge
e0a4b6a @iRoachie PrincingCard
- Now using new Button props c91e7b9 @Monte9
Bug/Warning fixes
Button
- TheLinearGradient
feature was tweaked to avoid bug on non-expo users. You now have to pass aButtonComponent
to uselinearGradientProps
961dbf3 @xavier-villelegierButton
-flex: 1
style was removed on the container @iRoachieListItem
- Fix a bug on Android whenrightTitle
was null or empty 2593e33 @MrFoxProCheckbox
- Fix shifting width between checked and unchecked 94ab145 @iRoachie- Fix
jest
warnings ad05179 @iRoachie
Misc
- Update
IconObject
typescript definition 0fc3b5a @k3ithl1m Checkbox
- Update style when no title 7f86fbe @iRoachie- Example app - Add an example of a LinearGradient button
Total Contributors: 8
v1.0.0-beta
Hey everyone, the journey to version 1.0.0 has finally begun!
Welcome to the first version 1 beta 🎉!
Version 1 is a step towards fine tuning our current components and adding new features we think that a developer would need to use react-native-elements
in a production application. For all those using it right now, we still love you! However there are a few changes we want to add to make this possible for everyone.
We try to make the betas as stable as possible, however we may sometimes introduce new features that might break existing functionality if we think it can be done a better way. Not to say betas aren't stable, but if you want to not have to update your source on releases then maybe sticking on v0.19.0
may be better.
Some of our plans for v1:
Refactored SearchBar Component
Right now our search bar looks the same on iOS and Android. This is great if you want to have the same look and feel on both platforms, however sometimes you want it to look like the native version for each platform.
In the future, you'll have 3 options:
- Cross-platform (same as current)
- iOS (Which looks like UISearchBar, see react-native-search-bar for example
- Android (Which looks like the Material Design search bar, see react-native-material-design-searchbar for example
Refactored ListItem Component
Same as the SearchBar, we're introducing native-looking versions of each platform.
Theming
Ever wanted to update all the components from react-native-elements in a one time setup? With theme support, you'll be able to set the styling for all our components, one time, in one place.
Installation
To jump onboard the beta train, you change your install command slightly.
For stable (v0.19.0
)
npm install --save react-native-elements
For betas
npm install --save react-native-elements@beta
v1.0.0-beta (beta 1) Changes
FormInput
is now renamed toInput
and has a new set of props- Removed
FormLabel
andFormValidationMessage
Button
completely rewritten and has a new set of props- Introduced a new
Overlay
component - Example app is no longer apart of this repo, it has a repo of it's own! https://github.com/react-native-elements/react-native-elements-app
- FormInput, FormLabel, and FormValidationMessage are no longer exported. We're planning to add back in FormValidationMessage, and FormLabel once they're compatible with the new Input component.
Thanks everyone who uses and contributes to react-native-elements. We have a lot of great features coming soon. Stay tuned!