@primer/react 0.0.0-20260323214014 → 0.0.0-20260324011943

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @primer/react
2
2
 
3
- ## 0.0.0-20260323214014
3
+ ## 0.0.0-20260324011943
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -21,6 +21,8 @@
21
21
 
22
22
  - [#7682](https://github.com/primer/react/pull/7682) [`8aed331`](https://github.com/primer/react/commit/8aed331f9dcb8c51d86bf531f7e331a6ccd23d9a) Thanks [@llastflowers](https://github.com/llastflowers)! - Update CheckboxOrRadioGroup.tsx to add `required` announcement
23
23
 
24
+ - [#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`
25
+
24
26
  ## 38.16.0
25
27
 
26
28
  ### 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": restProps.muted,
36
+ "data-muted": muted,
36
37
  "data-inline": inline,
37
38
  "data-hover-color": hoverColor,
38
39
  ...restProps,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@primer/react",
3
3
  "type": "module",
4
- "version": "0.0.0-20260323214014",
4
+ "version": "0.0.0-20260324011943",
5
5
  "description": "An implementation of GitHub's Primer Design System using React",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",