@cambly/syntax-core 9.4.0 → 9.5.0

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/dist/index.mjs CHANGED
@@ -1546,7 +1546,13 @@ var TapArea = forwardRef6(
1546
1546
  hovered: false,
1547
1547
  focussed: false
1548
1548
  });
1549
- const handleClick = (event) => !disabled ? onClick(event) : void 0;
1549
+ const handleClick = (event) => {
1550
+ if (disabled) {
1551
+ } else {
1552
+ event.currentTarget.blur();
1553
+ onClick(event);
1554
+ }
1555
+ };
1550
1556
  const handleKeyDown = (event) => {
1551
1557
  if (disabled)
1552
1558
  return;