Skip to content

Releases: xinthink/react-native-material-kit

0.6.0-beta.1

18 Feb 08:32
Compare
Choose a tag to compare
0.6.0-beta.1 Pre-release
Pre-release

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

18 Dec 05:14
Compare
Choose a tag to compare

Fix bugs & merged PRs

There may be a breaking change due to PR #274
If you encounter layout issue with Textfield components, you may specify flex: 1 with the textInputStyle prop.

A lot thanks to all the contributors!

v0.3.3

17 Oct 15:18
Compare
Choose a tag to compare

Finally the v0.3.3 is up. With bunches of bugs fixed, and PRs merged.

Thanks for the contributions of @Crash-- @alexprice91 and all the contributors!

v0.3.2

05 Jun 04:57
Compare
Choose a tag to compare

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

09 Apr 04:58
Compare
Choose a tag to compare

Bug fixes

v0.3.0

12 Feb 08:25
Compare
Choose a tag to compare

New component

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.

v0.2.5

05 Jan 14:12
Compare
Choose a tag to compare

New component

And also some bug fixes.

v0.2.4

05 Dec 07:13
Compare
Choose a tag to compare
  • Moved to RN v0.16.0
  • make RadioButton customizable
  • Bug fixes

v0.2.2

25 Oct 13:25
Compare
Choose a tag to compare

Moved to RN v0.13

Bug fixes

v0.2.1

13 Oct 01:17
Compare
Choose a tag to compare

Bug fix

fix #35 wrong RN dependency in build.gradle

New component