@primer/react 0.0.0-20260311021432 → 0.0.0-20260311021444
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,13 +1,11 @@
|
|
|
1
1
|
# @primer/react
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-20260311021444
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Fake entry to force publishing
|
|
8
8
|
|
|
9
|
-
- [#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`
|
|
10
|
-
|
|
11
9
|
## 38.15.0
|
|
12
10
|
|
|
13
11
|
### 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