@primer/react 0.0.0-20260701220623 → 0.0.0-20260701221856

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-20260701220623
3
+ ## 0.0.0-20260701221856
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -256,7 +256,9 @@ const Tooltip = /*#__PURE__*/React.forwardRef(({
256
256
  var _child$props$onFocus, _child$props3;
257
257
  try {
258
258
  if (!event.target.matches(':focus-visible')) return;
259
- } catch (_error) {}
259
+ } catch {
260
+ // Some test environments do not support `:focus-visible`.
261
+ }
260
262
  if (event.currentTarget.hasAttribute('data-restoring-focus')) return;
261
263
  openTooltip();
262
264
  (_child$props$onFocus = (_child$props3 = child.props).onFocus) === null || _child$props$onFocus === void 0 ? void 0 : _child$props$onFocus.call(_child$props3, event);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@primer/react",
3
3
  "type": "module",
4
- "version": "0.0.0-20260701220623",
4
+ "version": "0.0.0-20260701221856",
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",