Skip to content

9.0.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@riitasointi riitasointi released this 28 Jun 12:03
· 1449 commits to develop since this release
bac6d96

Release notes

RouterLink

  • Introduce polymorphic <RouterLink> component
    • Renders as the component of your choice, for example React Router Link but with proper Suomi.fi link styles
    • Full Typescript support for props based on the component passed to asComponent
    • Full theme customisation support through SuomifiThemeProvider

Button

  • Breaking Changes:
    • onClick event is now React MouseEvent instead of native MouseEvent
    • KeyboardEvent removed from onClick event type alternative

SingleSelect & MultiSelect

  • Prevent event propagation when Escape key is pressed to close the popover
  • Prevent event default when pressing Enter key

Dropdown & LanguageMenu

  • Prevent event propagation when Escape key is pressed to close the popover

Changelog

Full changelog after previous beta: v9.0.0-beta.1...2ffd6b9