This repository was archived by the owner on Feb 4, 2021. It is now read-only.
0.3.0
This release comes with many breaking changes, along with many improvements and bug fixes.
Main Changes
Avatar
- [BREAKING] The
srcprop has been replaced with animageprop. This takes anImagecomponent to allow local and external sources.
Button
- The Ripple component has been moved away into a separate polyfill component for backwards compatibility.
- For compatible devices,
TouchableNativeFeedbackhas been implemented. - Now supports a
onLongPressfunction. - Fixed some minor text positioning issues.
- Raised buttons have elevation
Drawer
- Now supports a themes.
- Now supports a
styleprop. - [BREAKING] Items are now broken down into an array of objects in a single
Sectioncomponent. This is to allow for better styling configuration. - Improved icon & text alignment.
- Items now support
active&disabledstates.
Toolbar
- Added default elevation.
- Add
elevationprop to override default elevation.
IconButton (deprecated)
- This component has now been replaced with
IconToggle.
IconToggle
The IconToggle is a component which wrapper component around an Icon which provides touchable feedback. On press, a circular opaque background is rendered.
- Takes a badge object, which is positioned at the top right of the container, one tenth the width away from the corner.
Checkbox, RadioButton & Toolbar
- All now implement
IconToggle.
List
- This has been removed and will be brought it at a later release. It needs refactoring & updating.
Misc. Changes
- Added an internal
isCompatiblehelper function. - Ripple is now a polyfill component, used mainly when
TouchableNativeFeedbackis not compatible with the SDK version. It has been made public for this convenience.