@primer/react 0.0.0-20260225010056 → 0.0.0-20260225013638

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-20260225010056
3
+ ## 0.0.0-20260225013638
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -199,7 +199,7 @@ const Tooltip = /*#__PURE__*/React.forwardRef(({
199
199
  const tooltip = tooltipElRef.current;
200
200
  tooltip.setAttribute('popover', 'auto');
201
201
  }, [tooltipElRef, triggerRef, direction, type]);
202
- useOnEscapePress(event => {
202
+ useOnEscapePress(() => {
203
203
  if (isPopoverOpen) {
204
204
  closeTooltip();
205
205
  }
@@ -241,7 +241,7 @@ const Tooltip = /*#__PURE__*/React.forwardRef(({
241
241
  })]
242
242
  }) : text
243
243
  });
244
- const childRef = child.ref;
244
+ const childRef = child.props.ref;
245
245
  const setTriggerRef = React.useCallback(node => {
246
246
  assignRef(triggerRef, node);
247
247
  assignRef(childRef, node);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@primer/react",
3
3
  "type": "module",
4
- "version": "0.0.0-20260225010056",
4
+ "version": "0.0.0-20260225013638",
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",