v5.9.0
5.9.0 - 09.08.2024
What's New
- [Breaking change]: Typography in Electric theme h1 weight changed to 600, h2 weight changed to 400
- Icons pack updated:
- [Breaking change]: visual weight tweaked for the following icons. Please review the places of this icons usage, after the update:
- navigation-chevron_up_outline
- navigation-chevron_down_outline
- navigation-chevron_left_outline
- navigation-chevron_right_outline
- content-minus_outline
- notification-done_outline
- Icons added
- Icon file-file_csv_fill
- editor-headline_h4_outline
- editor-headline_h5_outline
- editor-headline_h6_outline
- content-person_group_outline
- [Breaking change]: visual weight tweaked for the following icons. Please review the places of this icons usage, after the update:
- [DatePicker][RangeDatePicker]: improve a11y focus flow behavior. Now date picker body receive focus on open and return it back on input after close.
- [Timeline]:
- Improved
Timeline
:- Updated
Timeline
design. - Added support for functional components.
- Introduced a low-level
TimelineCanvas
component designed to render elements on the Timeline. - Enhanced customization options for
TimelineGrid
andTimelineScale
. - Exposed default implementations for timeline grid/scale drawing phases via the
timelineGrid
andtimelineScale
libraries.
- Updated
- Added an example of Timeline usage with tables. See demo here.
- Deprecated
BaseTimelineCanvasComponent
. UseTimelineCanvas
instead. Now, TimelineCanvas should not be extended, instead,draw
function should be passed to the props. - Added base component for universal drawing Timeline elements:
TimelineCanvas
. - Added the
useResizeObserver
hook, which provides the possibility to observe multiple elements' resizing. - Added the
useTimelineTransform
hook, which provides the possibility to receive the latestTimelineTransform
instance from theTimelineController
. - Deprecated
TimelineScaleProps.shiftPercent
. - Made
TimelineGrid
customizable. Exposed default implementations of various parts ofTimelineGrid
drawing functionality, via thetimelineGrid
library. - Made
TimelineScale
customizable. Exposed default implementations of various parts ofTimelineScale
drawing functionality, via thetimelineScale
library. - Exposed default implementations of various parts of
Timeline
drawing functionality, via thetimelinePrimitives
library. - Added the
TimelineController.setViewportRange
function, which allows setting theViewport
by passing the right and left periods of the scale. - Added
computeSubtotals
andcreateFromItems
toTree
.
- Improved
- [DateTable]:
- Added
renderHeaderCell
callback to the column configuration, it's allows to provide custom render for column header. - Added the
DataTableCellContainer
component - base wrapper for header and column cells
- Added
- [PickerInput]: hide picker footer while searching
- [PickerInput]: made tags in multi select smaller
- [Typography]: only for electric theme:
- H1 weight changed from 600 to 400
- H2 weight changed from 700 to 600
What's Fixed
- Simplify dayJs type imports to support earlier versions of Typescript
- [DataTable]: disable column focus and hover if
isReadonly={ true }
was provided inrowOptions
for editable table - [Badge]: center badge content, move left icons closer to the caption for wide badges
- [FileUpload]: fixed error icon color to uui-error-70
- [RTE]: fixed pasting lists from word
- [Tag]: fixed cross icon size according to the design