Releases: epam/UUI
v5.6.1
5.6.1 - 19.02.2024
What's Fixed
[LazyListView]: refetch on search clear.
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
v5.5.3
v5.5.1
5.5.1 - 01.02.2024
What's New
- [DataTable]: added
renderTooltip
prop toDataColumnProps
, to be able to customize or disable table header tooltip - [ApiContext]: added parseResponse callback to the ApiCallOptions. It can be used to define custom way of how to parse the response of the request.
What's Fixed
- [PickerInput]: fixed clear selection for single mode picker with lazy datasource
v5.5.0
5.5.0 - 18.01.2024
What's New
- Added support of React 18 with concurrent rendering mode(i.e. react mounting via
createRoot
). - Added semantic colors for components in 'Loveship' & 'Promo' skins. They can duplicate skin specific colors, so you can use both on your choose.
- [Pickers]: turn on flatten search results by default for all Pickers. Now for pickers with tree structure and in search mode, results will be shown as a flat tree, each item will have a subtitle with parents path.
- [DataTable]: Introduced focus manager api.
Added ability to change focus on different cells using a keyboard in editable tables.
See the example here. - [RadioInput]: removed 'theme' prop in loveship skin.
- [NumericInput]: size
48
is deprecated and will be removed in future releases. Please, use size42
instead. - [Badge]: in Loveship property
shape: square
was deprecated and will be removed in future releases. Please pay attention thatsguare
is default now. Use Tag component instead if you need 'square' appearance or use "round" value. - [Badge]: in Loveship
size 12
is deprecated and will be removed in future release. Please, use size18
instead. - [NotificationCard]: color
gray60
in promo, andnight600
in loveship are deprecated and will be removed in future release. - [Dropdown]: improve close on click outside dropdown logic.
- [FiltersPanel]: added
maxBodyHeight
prop for picker filters. - [DataTable]: added
allowResizing
field forDataColumnProps
, to be able to configure resizing for each column - [ApiContext]: added possibility to provide your own fetcher for requests
- [PickerInput]: added
id
prop to add HTML ID attribute for the input. - [DatePicker]: added
id
prop to add HTML ID attribute for the toggler input. - [RangeDatePicker]: added
id
prop to add HTML ID attribute for the first input into toggler. - [CountIndicator]: set color
info
by default. - [FilterPanel]: in range numeric filter set mark 'from' input as invalid in case if value
from
bigger than valueto
. - [Modals]: fixed
overflow: hidden
body style removing after closing first modals in case when multiple modals was opened. Now this style will be removed only when the last modal in stack was closed.
What's Fixed
- [LazyDataSource]: fixed cascade selection with not flatten search.
- [VirtualList]: fixed
onScroll
prop typing - [PickerInput]: fixed closing picker body by checking some item in 'Show only selected' mode
- [ErrorHandling]: fixed notification errors handling for recovery status. Now notification will be shown only after recovery will be completed and request failed.
- [PresetPanel]: fixed the problem of creating duplicates of the new preset when clicking the accept button quickly.
- [CheckboxGroup]: added property
size
to set it for all group components. Added possibility to provide CheckboxProps for each item of group. - [ApiContext]: file upload now handle JSON.parse errors.
- [useUUIError]: fixed subscribing for the contexts with React strict mode
- [NumericInput]: removed 'none' from size type.
- [DataPickerRow]: removed 'none' from size type.
- [RangeDatePicker]: fixed mounth/year selection blocker styles
- [NumericInput]: fixed placeholder appearing after removing value, if props.min > 0.
- [PickerInput]: clip selected value with ellipsis while overflow.
- [StatusIndicator]: small visual tweaks according to the design.
- [Tag]: small visual tweaks according to the design.
- [Badge]: small visual tweaks according to the design.
- [RTE]: extend clickable aria for the full height of editor.
- [RTE]: improve the link replacement logic
v5.4.3
5.4.3 - 19.12.2023
What's Fixed
- [RTE]: fixed
onBlur
andonKeyDown
props - [Button]: fixed 'white' color on loveship
v5.4.2
5.4.2 - 07.12.2023
What's New
- [FiltersPanel]: added
togglerWidth
prop, which configuremaxWidth
of filter toggler - [Tag]: added additional colors in skins
- [Badge]: added new colors in skins:
- Loveship: 'cyan' | 'mint'.
- Promo: 'cyan' | 'mint'.
- Electric: 'yellow'| 'orange' | 'purple' | 'cyan' | 'mint' | 'white' | 'night100' | 'night600'.
- [DropdownContainer]:
width
property now used as a default formaxWidth
, ifmaxWidth
is not provided.
What's Fixed
- [Tag]: fixed typings
- [Button]: fixed
rawProps
typings fordata-*
attributes - [Paginator]: fixed
rawProps
typings - [PickerInput]: added default
maxWidth={ 360 }
value for picker body - [PickerInput]: Fixed clear checked before opening a picker body and if selectAll: false is provided.
- Added
clearAllChecked()
method toIDataSourceView
interface to support unchecking all without enabledselectAll
flag. - Reduced amount of loaded data while clearing all checked elements in
cascadeSelection: false
mode.
- Added
- [LazyDataSource]: fixed showing placeholders on
clearCache
. - [TextPlaceholder]: fixed animation performance issues
- [LazyListView]: fixed backgroundReload functionality.
- Fixed showing blocker when filter/sorting changed.
- Fixed showing placeholders while backgroundReload=true and placeholders should not appear.
- [icons]: Returned filled version for the following icons: communication-chat, flag, communication-mail, action-eye, action-eye-off, action-job_function, action-deleteforever, action-schedule.
v5.4.1
5.4.1 - 30.11.2023
What's New
- uui.epam.com site now fully support theming. You can choose preferred theme in app main menu.
- [Tag]:
- rework according to the new design. Added new colors and new
solid
&outline
mods; - [Breaking change]: for loveship package, changed default
size
from18px
to36px
.
- rework according to the new design. Added new colors and new
- Upload new icons pack
- [Breaking changes]:
- 'action-update' icon was removed use 'navigation-refresh' instead
- 'content-plus' icon was removed use 'action-add' instead
- 'action-map_pin' icon was removed use 'communication-geo_tag' instead
- 'table-info-outline' icon was removed use 'notification-info-outline' instead
- 'action-chat' icon was removed use 'communication-chat' instead
- 'not-recommended' icon was removed use 'blacklist' instead
- 'copy-content' icon was removed use 'action-copy_content' instead
- 'action-clock' icon was removed use 'action-schedule' instead
- 'notification-close_popup' icon was removed use 'navigation-close' instead
- [Breaking changes]:
What's Fixed
- [Calendar]: fixed disabled days text color
- [Text]:
- fixed font-weight prop in skins.
- fixed color values for semantic colors(info, warning, error, success) and for skin colors
- [TextPlaceholder]: improved animation
- [Panel]: fixed "background" property. Return
transparent
value by default. - [MainMenu]: fixed colors for 'electric' theme
v5.4.0
5.4.0 - 21.11.2023
What's New
-
This release introduced stable Theming approach and theme css variables:
- Theme css variable now assumed as a stable API, you can use them into your application styles.
- A lot of components styles tweaks according to the design changes.
- You can read more about Themes here - https://uui.epam.com/documents?id=themes
-
New EPAM brand 'Electric' Theme and
@epam/electric
package. To start using Electric theme you need:- Add
@epam/electric
package to your project - Add
import '@epam/electric/styles.css'
to the root of your application - Add
import '@epam/assets/css/theme/theme_electric.css'
to the root of your application - Add
uui-theme-electric
class to the html body node - Import all necessary components from
@epam/electric
package.
- Add
-
Added Dark theme for Loveship. To start using Dark Loveship theme you need to:
- Add
import '@epam/assets/css/theme/theme_loveship_dark.css';
to the root of your application - Add
uui-theme-loveship_dark
class to the html body node.
- Add
-
[Fonts]: Added
Source Sans Pro
font, which properly works with cssfont-weight
andfont-style
rules.
You can replace usagesSans Semibold
font withSource Sans Pro
andfont-weight: 600
,Sans Italic
withSource Sans Pro
andfont-style: italic
etc.
We also keep old font-faces and variables for backward compatibility. It's recommended to move to the new approach, since old one will be deprecated in feature. -
[skinContext]: removed skinContext from
UuiContexts
, it's not needed to provide it to the uui services, just remove its usage. -
[Typography]: removed typography mixins. Now typography applies via css classes. If you use mixins, replace it by adding
.uui-typography
class on the same node. -
[StatusIndicator]: added new
StatusIndicator
component. -
[CountIndicator]: added new
CountIndicator
component. -
[Badge] :
- [Breaking change]: removed fill "white" and "none" modes, use
fill="outline"
+ color instead them. - [Breaking change]:removed fill "transparent", use
StatusIndicator
component instead. - [Badge]: deprecated fill "semitransparent", it will be removed in future releases. Use
fill="outline'
instead.
- [Breaking change]: removed fill "white" and "none" modes, use
-
[LabeledInput]:
- added
sidenote
andfootnote
props - added
maxLength
andcharCounter
props. You can use them for cases when you need to show a counter which indicates the limit of symbols in input. - added possibility to provide
validationMessage
as react node
- added
-
[TextArea][Breaking Change]: removed
maxLength
prop, use LabeledInput withmaxLength
andcharCounter={ true }
props instead. -
[CheckBox, PickerList, RichTextView, Switch, TabButton, VerticalTabButton, ScrollBars]: removed
theme
prop. Use Theming approach instead. -
[PresetsPanel]: added the ability to add a modal confirmation window when deleting a preset
What's Fixed
- [useForm]: don't reset
inChanged
flag in case when server validation fails - [DataTableRow]: fixed
rawProps
prop - [DropdownMenuButton]: use
isActive
prop in priority under router.isActive - [PickerInput]: set
overflow: hidden;
on open for mobile - [DataTable]: fix columns reorder when there are hidden columns
- [TextArea and TextInput]: fix
maxLength
for Android - [DataTable]: fixed column order after pin action
- [PickerInput]: Disable select all button if list are empty, and it has no selection
- [DataTable]: added
role=table
- [SlateEditor]: fixed image caption appearance after upload
- [DropdownMenu]: added
focusLock
prop
v5.2.0
5.2.0 - 16.10.2023
What's New
- [useVirtualList]:
- Breaking change:
scrollToIndex
prop was removed, usescrollTo
instead. - Improved scrollTo functionality. Added configuration of scroll behavior and how to align item after scroll.
- See the example here
- Breaking change:
- [DataTable]: added possibility to pin rows inside table. It allows you to make some rows sticky inside their parent group. Use
pin
callback ingetRowOptions
function for this. See the example here. - [BaseListView]:
- added
backgroundReload
property. If it is set totrue
, placeholders appear only on the first load and on fetching additional rows.
Any filter/search/sorting change doesn't trigger placeholders' rendering. Old data is shown until new data is received. When reloading is started, getListProps
now returnsisReloading
flag, which signals that data is reloading.
- added
- [DataTable][Pickers]: Added Blocker overlay while loading. It appears on initial render and filter, search, sort, page number, and size change.
- [InputAddon]: added InputAddon component that can be used in cases when you need to add prefix or suffix to the your component with ControlGroup.
- Use Vitest instead of Jest in Vite UUI template app
What's Fixed
- [UUI Contexts]: fixed context initialization for react 18 with strict mode
- [PickerItem]: fixed 'cx' prop
- [PickerInput]: remove the dropdown icon if
minCharsToSearch
prop is passed - [PickerInput]: fixed paddings with multiline item text
- [PickerInput]: don't clear search on item check via keyboard
- [useUuiServices]: fixed
apiPingPath
,apiReloginPath
,apiServerUrl
props - [AdaptivePanel]: fixed items width calculation in case of decimal values
- [useForm]: recover from
isInProgress=true
state ifonSave
is rejected - [TabButton]: fixed notify dot, that it will not change button width
- [FiltersPanel]: fixed height of filter body in mobile view
- [ErrorHandler]: fixed image for 503 error code in loveship
- [DatePicker]: fixed crashes with different versions of day.js
- [ModalWindow]: changed role attribute value from 'modal' to 'dialog'
- [DropdownMenuButton]: fixed icon color in
isDisabled
state