@epam/assets
Advanced tools
Changelog
5.4.0 - 21.11.2023
What's New
This release introduced stable Theming approach and theme css variables:
New EPAM brand 'Electric' Theme and @epam/electric
package. To start using Electric theme you need:
@epam/electric
package to your projectimport '@epam/electric/styles.css'
to the root of your applicationimport '@epam/assets/css/theme/theme_electric.css'
to the root of your applicationuui-theme-electric
class to the html body node@epam/electric
package.Added Dark theme for Loveship. To start using Dark Loveship theme you need to:
import '@epam/assets/css/theme/theme_loveship_dark.css';
to the root of your applicationuui-theme-loveship_dark
class to the html body node.[Fonts]: Added Source Sans Pro
font, which properly works with css font-weight
and font-style
rules.
You can replace usages Sans Semibold
font with Source Sans Pro
and font-weight: 600
, Sans Italic
with Source Sans Pro
and font-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] :
fill="outline"
+ color instead them.StatusIndicator
component instead.fill="outline'
instead.[LabeledInput]:
sidenote
and footnote
propsmaxLength
and charCounter
props. You can use them for cases when you need to show a counter which indicates the limit of symbols in input.validationMessage
as react node[TextArea][Breaking Change]: removed maxLength
prop, use LabeledInput with maxLength
and charCounter={ 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
inChanged
flag in case when server validation failsrawProps
propisActive
prop in priority under router.isActiveoverflow: hidden;
on open for mobilemaxLength
for Androidrole=table
focusLock
propChangelog
5.2.0 - 16.10.2023
What's New
scrollToIndex
prop was removed, use scrollTo
instead.pin
callback in getRowOptions
function for this. See the example here.backgroundReload
property. If it is set to true
, 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 returns isReloading
flag, which signals that data is reloading.What's Fixed
minCharsToSearch
prop is passedapiPingPath
, apiReloginPath
, apiServerUrl
propsisInProgress=true
state if onSave
is rejectedisDisabled
stateChangelog
5.1.3 - 31.08.2023
What's New
validate
callback now return new validationState
What's Fixed
searchPosition=input
a cursor is placed in textbox once PickerInput is focused via Tab key.searchPosition
when editMode=modal
, it cannot be input
.loadUnsavedChanges
callback when for was edited and then returned to the initial valueChangelog
5.1.2 - 10.08.2023
What's New
onClick
marked as @deprecated. It will be removed in future versions.What's Fixed
presets.name
prop now accept ReactNode.