@epam/assets
Advanced tools
Changelog
5.1.1 - 27.07.2023
What's New
trigger
. Now tooltip always opens on hover, use dropdown for cases when you need to open body by click.What's Fixed
maxItems
prop for filter config, this prop will configure how much items will be shown in filter toggler before collapsing in '+ n items'. Also improved selected items collapsing when they don't fit toggler width.info
prop type from string to ReactNode
.Changelog
5.1.0 - 29.06.2023
What's New
Rich Text Editor component update and improvements
UUI SlateEditor
was reworked and updated to the actual version of Slate.js framework.
During the update the previous code based of RTE almost completely rewritten due to a lot of breaking changes from Slate.js side. However, we put significant efforts to minimize breaking changes for our users. Therefore, update to the new version of uui-editor
package should be seamless and easy.
List of changes:
[Breaking change]: Changed RTE value format, now it's works with array instead of immutable.js object. Also, there are some additional changes inside slate value structure. We make an automatic migration from old state format to the new one, so it's not required any additional actions from your side. But if you make some manipulations with value object on your side, it will cause issues, contact us if you faced with such case.
Regarding the new value format it's not needed to convert value to JSON via value.toJSON()
and Value.fromJSON(value)
in your code.
Added possibility to add caption for images
Added possibility to insert new line after image/video/iframe
Added images adjusting when width of RTE container is changing
Added support of different spell checking extensions, like Grammarly
Now visited links doesn't highlight with visited style in edit mode
Long links now fit table cell width
Improved content copying from Microsoft Word files
Added autofocus on input in 'Add Link' modal
A lot of issues and improvements from Slate.js version update
Fixed page crash after delete horizontal line/separator
Fixed adding list inside table
Fixed text selection breaks if mouse cursor lands on toolbar
Fixed reverse text in list in Safari
Fixed color bar closing by color click
Fixed sticky toolbar disappears after selecting any options in it in Safari
Fixed link replacement without first deleting it
Fixed error after setting list on empty line
Fixed error after inserting a list previously cut from the editor
What's Fixed
disableClear
prop is true
minutes
values that are not a multiple of minutesStep
, are not rounded up to a step
Changelog
5.0.1 - 13.06.2023
What's New
showSearch
prop in configWhat's Fixed
[PickerInput]: fixed unknown
in a single
selection mode while data is loading in AsyncDataSource
and LazyDataSource
, and removed error of missing ids if data is still loading
[FiltersPanel]: fixed styles for body & toggler according to design
[Pickers]:
Pickers
to functional components;getView
to useView
hook;[DataSources][useView]:
useView
is not recreating view on onValueChange
update anymore;deps
to useView
as a last argument; changing the deps
causes recreating of a view
.Changelog
5.0.0 - 06.06.2023
Themes
This release introduces Themes support. @epam/uui
package now contains components, which can be styled differently according to an applied Theme - a set of global CSS variables.
@epam/promo
and @epam/loveship
packages are re-built on top of @epam/uui
package. This allows us to unify codebase, and reduce differences between 'loveship' and 'promo'. We also aligned APIs, functionality and visual appearance between 'promo' and 'loveship' skins, as a result, we removed or deprecated some props or their values.
Pay attention that this release requires some additional actions for the library to work properly. You can find migration guide and full list of changes here.
Note: Currently, we use Themes internally to implement Loveship and Promo. In future, we allow UUI users to build their own themes, and using Themes variables for customization. However, in this release we haven’t yet finalized Themes APIs (CSS variables names). We can’t yet recommend using Themes internals, e.g. override Themes CSS variables for customization.
Testing facilities and documentation
@epam/uui-test-utils
package. It provides a set of helpers, utils and mocks which facilitate creation of unit tests for UUI components.DataSources documentation
ESM modules support
Other changes
@epam/assets
package and "assets" folders inside promo and loveship packages were cleaned up: some "*.scss" files were deleted. Please copy any missing files directly to your project if they are still needed.initialFilter
prop, if you need to provide any initial state for hook, pre-generate an url link with this state on you side.IEditable
props, use them for cases when you need to store DataTableState by yourself. If passed it assumed that you will handle all state changes on your side and hook will not store any state into url.enableLegacyContext
prop was deleted./auth/login
for the apps, which doesn't handle this themselves.
If an app doesn't handle /auth/login correctly
, this needs to be implemented implicitly. There are several options:
<script>window.opener && window.opener.postMessage("authSuccess", "*")</script>
window.opener && window.location.pathname === '/auth/login' && window.opener.postMessage("authSuccess", "*");
window.opener && window.opener.postMessage("authSuccess", "*")
shrink
property was removed, as it was announced in 4.9.0 version.renderBody
prop.isAlwaysVisible
presets
prop to rangeDatePicker filterfilter
prop for datePicker and rangeDatePicker filtersimplicit
cascade selection mode. In this mode selecting a parent node means that all children are considered checked,
but only the checked parent is present in the Picker's value or DataSourceState.checked array.onOpenChange
propNotificationCard
component instead of SnackbarCard
for notification type errorsonNotificationError
to render notifications with custom markup and configured the notification duration.inputCx
and bodyCx
props for composed components like PickerInput and DatePickersWhat's Fixed