v5.6.0
5.6.0 - 08.02.2024
What's New
- Added 'Tokens' doc page. It contains list of all core tokens with their value and description.
- prop
captionCX
is deprecated for the following components:Button
,LinkButton
,Badge
,Tag
,TabButton
,VerticalTabButton
,MainMenuButton
and will be removed in future release. Please use 'cx' prop to access caption styles and use cascading to change the styles for the 'uui-caption' global class. - [Breaking changes]:
- [Badge]: can be a
span
element ifonClick
prop is not passed, consider it for dom manipulation with this component. - [Tag]: can be a
span
element ifonClick
props is not passed, consider it for dom manipulation with this component. - [PickerInput]: in
selectionMode: multi
selected itemTag
rendered as aspan
, consider it for dom manipulation with this component. - [Button]: removed
count
,dropdownIconPosition
props. - [TabButton]: removed
dropdownIconPosition
prop. - [VerticalTabButton]: removed
dropdownIconPosition
prop. - [LinkButton]: removed
onClear
,clearIcon
,count
,dropdownIconPosition
props. - [MainMenuButton]: removed
onClear
,clearIcon
,isDisabled
,dropdownIconPosition
props. - [Badge]: removed
dropdownIconPosition
prop. - [Tag]: removed
dropdownIconPosition
prop. - [Text]: removed color
brand
; Removed--uui-text-brand
token from themes, use--uui-text-primary
instead.
- [Badge]: can be a
- Removed deprecated
MakeMeItem
andInstanceItem
components from loveship. - [TimePicker]: improve time picker input value parsing. Added ability to parse value in different formats, e.g.:
1.23pm
->01:23 PM
,12/2
->12:02 AM
,.25
->00:25
,2350
->23:50
etc. - Changes in
ICanBeInvalid
interface:- Extract
validationMessage
to theIHasValidationMessage
interface - Extract validationProps into ValidationState interfaces
- Extract
- [Text]: added
tertiary
color. - [FlexRow]: added property
justify-content
it can be equals'center' | 'space-between' | 'space-around' | 'space-evenly' | 'start' | 'end'
, see more in Flexbox Guide(https://css-tricks.com/snippets/css/a-guide-to-flexbox/). - [DropSpot]: changed type of the property
infoText
from string into ReactNode. Now you can pass your own realization of it, or pass string and use our. - [Snackbar]: added 'Clear all notification' notification button while 2+ notifications displaying. To enable this behavior, exports Snackbar form @epam/uui package or skins.
What's Fixed
- [PickerInput]: fixed initialy selected items clear with LazyDatasoruce
- [PickerInput]: fixed partially selected mark for all chain of parent in single mode
- [RadiInput]: added native HTML
name
attribute for the input. - [RadioGroup]: added native HTML
name
attribute for each group member. - [Tooltip]: fixed vertical paddings according to the design.
- [SearchInput]: fixed
onCancel
prop. Now component can use provided callback, not only default implementation - [useForm]: fixed
close
method to always return Promise - [LinkButton]: fixed sky color in loveship dark theme
- [Badge]: fixed outline night600 color in loveship dark theme