Releases: wix/react-native-ui-lib
Releases · wix/react-native-ui-lib
5.1.3
5.1.2
5.1.1
5.1.0
Features
- Expose
PanDismissibleView
component - Allow to provide pan functionality to a view in order to add dismiss behaviours Image
now support passingcustomOverlayContent
to render elements on top of the Image componentDateTimePicker
now support passingtimeFormat
to control the format which will be used for displaying the date/time content- Improve
TextField
example screen - separate by different examples (general, validations, custom styling)
Fixes
- Fix
rightButtonProps
prop types inTextField
- Update
Carousel
defaultitemSpacings
value - Fix minor UI issues with gradient overlay on scrollable components (TabBar, ColorPalette.. )
5.0.0
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
DateTimePicker
component. based on the native dateTimePicker library (@react-native-community/datetimepicker
) TextField
now supports validations. passvalidate
,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