Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(OverflowMenu): use v10 menu and export v11 menu as separate unstable component #10674

Merged
merged 16 commits into from
Feb 23, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: v11 unstable menu inline notifications
  • Loading branch information
jnm2377 committed Feb 9, 2022
commit 0b9b97149a5249a4b7025f13be5358ab9d03245f
14 changes: 7 additions & 7 deletions packages/react/src/components/ContextMenu/ContextMenu-story.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ const Story = (items) => {

return (
<StoryFrame>
<InlineNotification
kind="info"
title="Context menu"
subtitle="Right-click anywhere on this page to access an example implementation of this component."
lowContrast
hideCloseButton
/>
<InlineNotification kind="info" lowContrast hideCloseButton>
<strong>Context Menu</strong>
<p>
Right-click anywhere on this page to access an example implementation
of this component.
</p>
</InlineNotification>
<Menu {...menuProps}>{renderedItems}</Menu>
</StoryFrame>
);
Expand Down
14 changes: 7 additions & 7 deletions packages/react/src/components/Menu/_storybook-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ import {
} from '../Menu';

const InfoBanner = () => (
<InlineNotification
kind="info"
title="Experimental component"
subtitle="This component is considered experimental. Its API may change until the stable version is released."
lowContrast
hideCloseButton
/>
<InlineNotification kind="info" lowContrast hideCloseButton>
<strong>Exerimental component</strong>
<p>
This component is considered experimental. Its API may change until the
stable version is released.
</p>
</InlineNotification>
);

// eslint-disable-next-line react/prop-types
Expand Down