Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Update: Added missing data attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
MadanKumarGovindaswamy committed May 23, 2024
1 parent 5ecb145 commit e9ce422
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/terra-hyperlink/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

* Fixed
* Added missing data attribute for default variant.

## 2.70.0 - (May 8, 2024)

* Changed
Expand Down
1 change: 1 addition & 0 deletions packages/terra-hyperlink/src/Hyperlink.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ class Hyperlink extends React.Component {
role="link"
type="button"
ref={this.linkRef}
data-focus-styles-enabled
>
<span className={cx('button-inner')}>
<span className={cx('inner-text')}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ exports[`Hyperlink should render a external hyperlink 1`] = `
exports[`Hyperlink should render a hyperlink button when oonClick is provided 1`] = `
<button
class="button-reset hyperlink default"
data-focus-styles-enabled="true"
role="link"
type="button"
>
Expand Down

0 comments on commit e9ce422

Please sign in to comment.