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

[OUI docs] Keypad: change beta to experimental #383

Merged
merged 2 commits into from
Feb 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion src-docs/src/views/key_pad_menu/key_pad_beta.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default () => (
<OuiKeyPadMenuItem
label="Dashboard"
href="#"
betaBadgeLabel="Beta"
betaBadgeLabel="Experimental"
betaBadgeTooltipContent="This module is not GA. Please help us by reporting any bugs.">
<OuiIcon type="dashboardApp" size="l" />
</OuiKeyPadMenuItem>
Expand Down
12 changes: 5 additions & 7 deletions src-docs/src/views/key_pad_menu/key_pad_menu_example.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const KeyPadMenuExample = {
demo: <KeyPadMenuItemButton />,
},
{
title: 'Beta item',
title: 'Experimental item',
source: [
{
type: GuideSectionTypes.JS,
Expand All @@ -136,16 +136,14 @@ export const KeyPadMenuExample = {
text: (
<div>
<p>
If the item links to a module that is not GA (beta, lab, etc), you
can add a <OuiCode>betaBadgeLabel</OuiCode> and{' '}
If the item links to a module that is not GA (experimental, lab,
etc), you can add a <OuiCode>betaBadgeLabel</OuiCode> and{' '}
<OuiCode>betaBadgeTooltipContent</OuiCode> to the card and it will
properly create and position an <strong>OuiBetaBadge</strong>.
</p>
<p>
Supplying just a label will only show the first letter in the badge
and supply the full label to the tooltip. You can also pass an{' '}
<OuiCode>iconType</OuiCode> to replace the letter only badge and the
label will still become the title.
You can pass an <OuiCode>iconType</OuiCode> and the label will
become the title.
</p>
</div>
),
Expand Down