@primer/react 0.0.0-20260325163642 → 0.0.0-20260325164020
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -3
- package/dist/Link/Link.js +1 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @primer/react
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-20260325164020
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -18,8 +18,6 @@
|
|
|
18
18
|
|
|
19
19
|
- [#7676](https://github.com/primer/react/pull/7676) [`35ca056`](https://github.com/primer/react/commit/35ca05690910ffb8286a2aeef01c043af377a6c2) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Remove link underline effect on hover for both Link (inline) and Button with variant link (no visuals)
|
|
20
20
|
|
|
21
|
-
- [#7631](https://github.com/primer/react/pull/7631) [`230d875`](https://github.com/primer/react/commit/230d875ed78cb501ad942c997a1568b3504d3b06) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Add test to validate that the `muted` prop is not leaked as a bare DOM attribute on `Link`
|
|
22
|
-
|
|
23
21
|
## 38.17.0
|
|
24
22
|
|
|
25
23
|
### Minor Changes
|
package/dist/Link/Link.js
CHANGED
|
@@ -10,7 +10,6 @@ const UnwrappedLink = (props, ref) => {
|
|
|
10
10
|
as: Component = 'a',
|
|
11
11
|
className,
|
|
12
12
|
inline,
|
|
13
|
-
muted,
|
|
14
13
|
hoverColor,
|
|
15
14
|
...restProps
|
|
16
15
|
} = props;
|
|
@@ -33,7 +32,7 @@ const UnwrappedLink = (props, ref) => {
|
|
|
33
32
|
}
|
|
34
33
|
return /*#__PURE__*/jsx(Component, {
|
|
35
34
|
className: clsx(className, classes.Link),
|
|
36
|
-
"data-muted": muted,
|
|
35
|
+
"data-muted": restProps.muted,
|
|
37
36
|
"data-inline": inline,
|
|
38
37
|
"data-hover-color": hoverColor,
|
|
39
38
|
...restProps,
|
package/package.json
CHANGED