Ah, I must have been looking at the Confluence Cancel button. There is has the hover effect. So does the Close button in the Jira dialog. I’d guess they’ll migrate the Jira Cancel ones eventually.
Seems like you want something that goes counter to their design system, so it seems unlikely to be added. Not sure when they’ll actually remove the legacy versions.
I’ve flagged your question with the Atlassian Design Team, and they got back to me to say
… I think I have answers for both:
• There is definitely an onClick prop for the new link button.
• As for matching the old styling of a “subtle link” button, where on hover you see an underline, we moved away from that pattern because it presented accessibility issues. So the new styling of a link button where you get a background color change on hover should be what’s used. It’s what is currently used in Jira.
I had a bit of a deeper look, and it seems like onClick for the link button is documented here.
As for the styling of the button in Jira, could you be looking at an old issue experience / old issue view somewhere?
I hope this helps explain why we’re moving to the new style!
If this has helped, please mark it as the solution.
If you’re still stuck or are looking for further explanation please let me know.
If it helps, I missed it to the first time as well
From what I can see either the subtle link button Link Button, Subtle Button or Default Button are being used. For example, here on the create status dialog the Subtle style is being used:
According to the usage guidelines, there isn’t a recommendation other than making it clear that one of the buttons is a primary call to action (and of course, the recommendation is not to use the legacy button for accessibility reasons).