Releases: xinthink/react-native-material-kit
0.6.0-beta.1
React Native Version
Compatible react-native version ⬆️ v0.61
.
Breaking Changes
The package is ported to TypeScript and refactored a lot, which makes several breaking changes:
Naming Convention
The alias pattern MK<Component>
is obsoleted. Use <Component>
directly.
Buttons
Builders & factory methods are replaced with prebuilt button variances, e.g., ColoredRaisedButton
and Fab
.
Predefined props and styles are also available, such as raisedButton()
or coloredButtonText()
, upon which you can define reusable button components or themes.
Please see the buttons example for details.
Text Fields
Likewise, builders for the TextField
component is also removed, you can customize a TextField
using props directly. For example:
Textfield
password
placeholder="Password"
textInputStyle={…}
highlightColor={MKColor.DeepPurple}
/>
Please see the text-fields example for details.
Documentation
The package documentation is re-written completely, complying with the TSDoc standard. The annotated source will not be updated anymore.
The new API docs can be accessed here.
v0.3.4
v0.3.3
v0.3.2
Bug fixes. Compatible with RN v0.26, actually, it passed the tests against RN v0.27.0-rc.
Sorry for releasing so late. And thanks @Crash-- @alexprice91 and anyone who helped me fixing/managing issues, so that I can publish this release finally.
Tons of 🍻 cheers!
v0.3.1
v0.3.0
New component
- Range Slider. Thanks the great work of @awaidmann 🍻
Enhanced theme system
Most of the components has it's own theme, which inherits the global style attributes e.g. primaryColor
, accentColor
...
- Please take a look of theme.js, and how to customize the system-wide theme (affects all the components) in the demo.
MKCardStyles
is removed, they're now included in the theme c426722
And also some bug fixes.