Skip to content

v5.9.0

Compare
Choose a tag to compare
@AlekseyManetov AlekseyManetov released this 09 Aug 11:08
· 462 commits to main since this release

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
  • [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 and TimelineScale.
      • Exposed default implementations for timeline grid/scale drawing phases via the timelineGrid and timelineScale libraries.
    • Added an example of Timeline usage with tables. See demo here.
    • Deprecated BaseTimelineCanvasComponent. Use TimelineCanvas 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 latest TimelineTransform instance from the TimelineController.
    • Deprecated TimelineScaleProps.shiftPercent.
    • Made TimelineGrid customizable. Exposed default implementations of various parts of TimelineGrid drawing functionality, via the timelineGrid library.
    • Made TimelineScale customizable. Exposed default implementations of various parts of TimelineScale drawing functionality, via the timelineScale library.
    • Exposed default implementations of various parts of Timeline drawing functionality, via the timelinePrimitives library.
    • Added the TimelineController.setViewportRange function, which allows setting the Viewport by passing the right and left periods of the scale.
    • Added computeSubtotals and createFromItems to Tree.
  • [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
  • [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 in rowOptions 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