@primer/react 38.18.0-rc.2c0a1c40a → 38.18.0-rc.33ccf475c
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 +2 -0
- package/dist/Link/Link.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
|
|
21
21
|
- [#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)
|
|
22
22
|
|
|
23
|
+
- [#7631](https://github.com/primer/react/pull/7631) [`0ecaf6f`](https://github.com/primer/react/commit/0ecaf6f64c50235081416515b7d5b6b2e364b33f) 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`
|
|
24
|
+
|
|
23
25
|
## 38.17.0
|
|
24
26
|
|
|
25
27
|
### Minor Changes
|
package/dist/Link/Link.js
CHANGED
|
@@ -10,6 +10,7 @@ const UnwrappedLink = (props, ref) => {
|
|
|
10
10
|
as: Component = 'a',
|
|
11
11
|
className,
|
|
12
12
|
inline,
|
|
13
|
+
muted,
|
|
13
14
|
hoverColor,
|
|
14
15
|
...restProps
|
|
15
16
|
} = props;
|
|
@@ -32,7 +33,7 @@ const UnwrappedLink = (props, ref) => {
|
|
|
32
33
|
}
|
|
33
34
|
return /*#__PURE__*/jsx(Component, {
|
|
34
35
|
className: clsx(className, classes.Link),
|
|
35
|
-
"data-muted":
|
|
36
|
+
"data-muted": muted,
|
|
36
37
|
"data-inline": inline,
|
|
37
38
|
"data-hover-color": hoverColor,
|
|
38
39
|
...restProps,
|
package/package.json
CHANGED