Skip to content

Releases: wix/react-native-ui-lib

4.2.0

01 Jan 09:02
Compare
Choose a tag to compare

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

4.1.2

23 Dec 13:49
Compare
Choose a tag to compare

Fix issue with TouchableOpacity ref

4.1.1

23 Dec 13:49
Compare
Choose a tag to compare
  • Fix issue with TabController tab indicator animation
  • Improve performance with TabController.TabPage when lazy loading a "heavy" tab page

4.1.0

17 Dec 12:07
Compare
Choose a tag to compare

New Features

  • Image now support rounded Android gifs
  • Incubator.TouchableOpacity now supports activeScale - add scale animation when pressing the button
  • Incubator.TouchableOpacity now supports modifiers
  • TabController now support rendering pages as carousel using TabController.PageCarousel
  • Constants now exports also windowWidth and windowHeight which bases on Dimensions.get('window')
  • Allow setting TabController.TabBar container width by passing the containerWidth prop
  • Set accessibilityState for Card when passing selected prop
  • Add example screens for ColorSwatch and ColorPicker

Fixes

  • Fix issue with overlayType and cover props wasn’t working on image styled with absolute position
  • Fix Carousel initialPage with dynamic pages
  • Fix an Android issue with Carousel’s page offset on orientation change
  • Fix TabController.TabPage zIndex issue
  • Set Image accessibility to false by default
  • Fix issue with API inconsistency when migrating from native Picker to default Picker
  • Fix accessibility for various components (Checkbox, Picker, Dialog, Modal, Badge, Avatar)
  • Fix UNSAFE lifecycle method warning when using the Drawer component
  • Fix Drawer accessibility warnings
  • Update example demo app icon and name
  • Enable back usage of react-native-blur in our components (Card, Modal)
  • Fix issue with background modifier always applied even when passing false

4.0.0

03 Dec 09:52
Compare
Choose a tag to compare
  • RNUILIB now supports React Native 0.61
  • Example project was migrated to RN61
  • Blur functionality was disabled temporarily

3.41.0

27 Nov 15:40
Compare
Choose a tag to compare
  • Fix Picker input color to not look disabled
  • use 'screen' for Dimensions.get when setting in our Constants
  • Allow render errors in Picker component (by passing the error prop)
  • Button with fullWidth will re-render on orientation change

3.40.3

22 Nov 14:49
Compare
Choose a tag to compare

Refactor Constants, fix issue with statusBarHeight not being set for iPhone X

3.40.2

21 Nov 08:54
Compare
Choose a tag to compare

Fix issue with Picker component throwing Invariant Violation error

3.40.1

21 Nov 08:41
Compare
Choose a tag to compare

Fix issue with initialPage not working in Carousel with a full-width page.

3.40.0

12 Nov 13:03
Compare
Choose a tag to compare
  • Dialog minor fixes, add missing testID
  • TextField - Fix how color value is been taken (first color prop, next according to modifiers and last theme props)