2.1.0 December 24, 2020
Started migration to the new fonts and colors scheme and switched to the UILabel from hydrogen.
What is new?
- Replaced UILabel from components package with UILabel from hydrogen
- Removed deprecated UILabel from components package completely
- Started removal of deprecated fonts and colors
- Added new UIBackgroundView in hydrogen package which easily allows adjusting background colors of legacy components according to the new colors scheme
Improvements and bug fixes
- Updated UIProfileInitials
textStyle
prop for allowing to set text type according to the new fonts scheme (one of UILabelRoles) - Updated UIDetailsView
textColor
,textRole
,commentsColor
,commentsRole
(excommentsStyle
) props usage in order to set font style & color of value and comments labels in accordance with the new design system, so for now they receive one of UILabelColors and UILabelRoles values correspondingly - Added UITextButton
titleRole
andtitleColor
props for setting text styles according to the new fonts and colors scheme (one of UILabelColors and UILabelRoles) - Added UIDetailsSwitcher
textColor
prop for setting details color value (one of UILabelColors)