From c25c32ab56451b823e64140e0f3df9f3f3664175 Mon Sep 17 00:00:00 2001 From: Abhishek Paul Date: Wed, 24 Apr 2024 09:31:27 +0530 Subject: [PATCH] fix(header): tooltips for header action menu for graphite 8.10 --- .../CardCodeEditor.story.storyshot | 2 - .../Header/HeaderAction/HeaderActionMenu.jsx | 23 +- .../HeaderAction/HeaderActionMenu.test.jsx | 17 +- .../HeaderActionMenu.test.jsx.snap | 13 +- .../__snapshots__/Header.story.storyshot | 110 ++- .../Header/__snapshots__/Header.test.jsx.snap | 13 +- .../__snapshots__/ProgressBar.story.storyshot | 40 +- .../__snapshots__/RuleBuilder.story.storyshot | 16 +- .../MultiWorkspaceSuiteHeader.story.storyshot | 638 ++++++++++++++---- .../__snapshots__/SuiteHeader.story.storyshot | 418 +++++++++--- .../TableSaveViewModal.story.storyshot | 8 +- .../__snapshots__/TileGallery.story.storyshot | 28 +- 12 files changed, 987 insertions(+), 339 deletions(-) diff --git a/packages/react/src/components/CardCodeEditor/__snapshots__/CardCodeEditor.story.storyshot b/packages/react/src/components/CardCodeEditor/__snapshots__/CardCodeEditor.story.storyshot index 977e99e5e0..de9861a151 100644 --- a/packages/react/src/components/CardCodeEditor/__snapshots__/CardCodeEditor.story.storyshot +++ b/packages/react/src/components/CardCodeEditor/__snapshots__/CardCodeEditor.story.storyshot @@ -155,7 +155,6 @@ exports[`Storybook Snapshot tests and console checks Storyshots 2 - Watson IoT E
{ - event.preventDefault(); - event.stopPropagation(); - onToggleExpansion(); - }; - // Notes on eslint comments and based on the examples in: // https://www.w3.org/TR/wai-aria-practices/examples/menubar/menubar-1/menubar-1.html# // - The focus is handled by the menuitem, onMouseOver is for mouse // users // - aria-haspopup can definitely have the value "menu" // - aria-expanded is on their example node with role="menuitem" - // - href can be set to javascript:void(0), ideally this will be a button return ( // TODO: CAN WE REMOVE THIS DIV WRAPPER AND ATTACH THE CLASS DIRECTLY
- - +