Skip to content

Commit

Permalink
change beta to experimental (#383)
Browse files Browse the repository at this point in the history
Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>
Co-authored-by: Sean Neumann <1413295+seanneumann@users.noreply.github.com>
  • Loading branch information
ashwin-pc and seanneumann committed Feb 27, 2023
1 parent ece30d3 commit c5cfb4c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
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

0 comments on commit c5cfb4c

Please sign in to comment.