Releases: wix/react-native-ui-lib
Releases · wix/react-native-ui-lib
4.2.2
4.2.1
4.2.0
What's New
- New component -
Wizard-> control your flows with a wizard steps - Added a unified, cross-platform
DateTimePickercomponent. based on the native dateTimePicker library (@react-native-community/datetimepicker) TextFieldnow supports validations. passvalidate,errorMessageand 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
FloatingButtonsupport hiding background overlay- Fix
Carouselissue with incorrect initial page - Fix
Carouselissue 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
4.1.1
4.1.0
New Features
Imagenow support rounded Android gifsIncubator.TouchableOpacitynow supportsactiveScale- add scale animation when pressing the buttonIncubator.TouchableOpacitynow supports modifiersTabControllernow support rendering pages as carousel usingTabController.PageCarouselConstantsnow exports alsowindowWidthandwindowHeightwhich bases onDimensions.get('window')- Allow setting
TabController.TabBarcontainer width by passing thecontainerWidthprop - Set
accessibilityStateforCardwhen passingselectedprop - Add example screens for
ColorSwatchandColorPicker
Fixes
- Fix issue with
overlayTypeandcoverprops wasn’t working on image styled with absolute position - Fix
CarouselinitialPagewith dynamic pages - Fix an Android issue with
Carousel’s page offset on orientation change - Fix
TabController.TabPagezIndex issue - Set
Imageaccessibility to false by default - Fix issue with API inconsistency when migrating from native
Pickerto defaultPicker - Fix accessibility for various components (
Checkbox,Picker,Dialog,Modal,Badge,Avatar) - Fix UNSAFE lifecycle method warning when using the
Drawercomponent - Fix
Draweraccessibility 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