@primer/react 0.0.0-20260323124540 → 0.0.0-20260323131018

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-20260323124540
3
+ ## 0.0.0-20260323131018
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -69,7 +69,7 @@ const ButtonBase = /*#__PURE__*/forwardRef(({
69
69
  // Then, the component re-renders in a way that the button will lose focus when switching between loading states.
70
70
  , {
71
71
  if: typeof loading !== 'undefined',
72
- className: clsx(block && classes.ConditionalWrapper, variant === 'link' && classes.ConditionalWrapperLink),
72
+ className: block ? classes.ConditionalWrapper : variant === 'link' ? classes.ConditionalWrapperLink : undefined,
73
73
  "data-loading-wrapper": true,
74
74
  children: [/*#__PURE__*/jsx(Component, {
75
75
  "aria-disabled": loading ? true : undefined,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@primer/react",
3
3
  "type": "module",
4
- "version": "0.0.0-20260323124540",
4
+ "version": "0.0.0-20260323131018",
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",