Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 21 Feb 10:59
· 1 commit to master since this release

20.0.0 (2025-02-21)

Bug Fixes

  • Badge: add missing status role (2eb62e8)
  • Badge: remove ununsed border prop (f1d010d)
  • Heading: fix uppercase text transform in h5 and h6 (144bf6e)
  • HorizontalScroll: make scrollable area focusable (140d96d)
  • Modal: first focusable element now focus automatically (ff991d2)

Features

  • HorizontalScroll: add aria-label to arrow buttons (f3aa20a)
  • Loading: add asComponent and title props to improve the accessibility (15fe8dc)
  • Modal: add ariaLabel, ariaLabelledby and ariaDescribedby (45ce1e6)
  • Modal: add triggerRef prop to restore focus after close (52c664f)
  • Modal: labelClose prop is now required when onClose is defined (ef7f010)
  • Modal: remove autoFocus prop (069ad4f)

BREAKING CHANGES

  • Modal: the labelClose prop no longer has a default value.
    It is now required whenever onClose is defined and
    hasCloseButton is not explicitly set to false (default value is true).
  • Modal: The modal now focuses the first focusable element by default.
    Therefore, the autoFocus prop is no longer needed
  • Badge: The Bagde component removed its border prop as
    it was never utilized in the codebase. Migration steps are to remove
    this prop from your Badge components, no visual change will occur.
  • HorizontalScroll: HorizontalScroll component now requires arrowLeftAriaLabel
    and arrowRightArialLabel props if you have the arrows prop enabled. These will
    be converted into button aria-label attributes, make sure the passed value is
    properly translated.