From 75a567b069c902bcbd1b918cbe604abbb63d4025 Mon Sep 17 00:00:00 2001 From: Anthony Aiello Date: Fri, 30 Jan 2026 09:08:44 +0100 Subject: [PATCH 1/2] feat(NavItemButton): no tooltip if children --- package.json | 2 +- src/components/NavigationBar/NavItemButton.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7354bde..d490e3c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cegid/vsb-cds-react", - "version": "1.23.9", + "version": "1.24.0", "description": "BAAM! Design System by Cegid - React component library", "main": "dist/index.cjs.js", "module": "dist/index.es.js", diff --git a/src/components/NavigationBar/NavItemButton.tsx b/src/components/NavigationBar/NavItemButton.tsx index 9c53b98..ed391ea 100644 --- a/src/components/NavigationBar/NavItemButton.tsx +++ b/src/components/NavigationBar/NavItemButton.tsx @@ -186,7 +186,7 @@ const NavItemButton: React.FC = ({ const handleMouseEnter = () => { setIsHovered(true); // Only show tooltip if navigation is collapsed (text is not visible) - if (!isExpanded) { + if (!isExpanded && !hasChildren ) { tooltipTimer.current = window.setTimeout(() => { setShowTooltip(true); }, 200); From fbc2adb80d093d0403df41b3ca901eedac72bf29 Mon Sep 17 00:00:00 2001 From: Anthony Aiello Date: Fri, 30 Jan 2026 09:09:37 +0100 Subject: [PATCH 2/2] feat(NavItemButton): no tooltip if children release note --- src/stories/ReleaseNotes.stories.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/stories/ReleaseNotes.stories.tsx b/src/stories/ReleaseNotes.stories.tsx index 6d5f8b8..ecac132 100644 --- a/src/stories/ReleaseNotes.stories.tsx +++ b/src/stories/ReleaseNotes.stories.tsx @@ -28,6 +28,16 @@ interface ReleaseNote { } const releaseNotes: ReleaseNote[] = [ + { + version: "1.24.0", + changes: [ + { + component: "NavItemButton", + type: "enhancement", + description: "no tooltip if children", + } + ], + }, { version: "1.23.9", changes: [