scorer-ui-kit 3.0.6 → 3.0.7

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.
@@ -15343,6 +15343,8 @@ var ContextActionButton = styled.button`
15343
15343
  }
15344
15344
 
15345
15345
  ${({ $isActive }) => $isActive && css`
15346
+ color: var(--grey-12);
15347
+
15346
15348
  ${ContextIcon},
15347
15349
  &:hover ${ContextIcon}{
15348
15350
  background-color: var(--global-menu-icon-background-active);
@@ -15368,7 +15370,8 @@ var ContextItem = ({ hasSubmenu = false, contextKey = -1, submenuOpen, menuOpen,
15368
15370
  color: "dimmed"
15369
15371
  }) }) : null
15370
15372
  ] });
15371
- if (hasSubmenu) return /* @__PURE__ */ jsx(ContextActionButton, {
15373
+ if (hasSubmenu || !href && !isExternalLink) return /* @__PURE__ */ jsx(ContextActionButton, {
15374
+ type: "button",
15372
15375
  $menuOpen: menuOpen,
15373
15376
  $isActive: isActive,
15374
15377
  onClick: () => onClickCallback?.(contextKey),