yarn react-native-ui-lib 4.2.0

latest releases: 6.11.3-snapshot.838, 6.11.3-snapshot.833, 6.11.3-snapshot.831...
4 years ago

What's New

  • New component - Wizard -> control your flows with a wizard steps
  • Added a unified, cross-platform DateTimePicker component. based on the native dateTimePicker library (@react-native-community/datetimepicker)
  • TextField now supports validations. pass validate, errorMessage and other relevant props (see docs) to add form validations to your components
<TextField placeholder="Please enter text" validate="required" errorMessage="This field is mandatory" />
<TextField placeholder="email" validate="email" errorMessage="The email your entered is invalida" />
<TextField placeholder="...." validate={(value) => /*custom validation function*/} errorMessage="custom error messsage" />

Fixes

  • Update typings for all components
  • Fix issue with typography modifiers not working on components like TextField and Picker
  • Slider - fix lifecycle method warning
  • Fix spacings and alignments for TextField
  • FloatingButton support hiding background overlay
  • Fix Carousel issue with incorrect initial page
  • Fix Carousel issue with orientation change not focusing correctly on the current page
  • Minor fix with how custom renderPicker (of a native picker) being rendered

Don't miss a new react-native-ui-lib release

NewReleases is sending notifications on new releases.