Skip to content

v3.0.2

Choose a tag to compare

@benjamindehli benjamindehli released this 23 May 11:25
· 85 commits to master since this release

Fix: Style and behavior of the logout button

This change modifies the styling of the logout button to include an underline and sets the cursor to pointer on hover. It also ensures that the default action of the logout link is prevented and the onSignOutClick event is emitted when the button is clicked.

Changes

  • Added underline to the logout link and changed cursor to pointer on hover in src/stories/main-navigation/user-account/user-account.scss.
  • Added role="button" attribute to the logout link.
  • Added event.preventDefault() to the onclick handler for the logout link in src/stories/main-navigation/user-account/user-account.ts to prevent default link behavior.

Impact

  • The logout button now appears as an underlined link.
  • The logout button now has a pointer cursor on hover, indicating it is clickable.
  • Clicking the logout button will now always trigger the onSignOutClick event, rather than navigating to the URL specified in this.signouturl.
  • No breaking changes are apparent.
  • No performance implications are apparent.

Full Changelog: v3.0.1...v3.0.2