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] Updated the section Beta badge #338

Merged
Merged
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
20 changes: 13 additions & 7 deletions src-docs/src/views/badge/beta_badge.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,14 @@ export default () => (
 
<OuiBetaBadge size="s" label="E" color={item} />
&emsp;
<OuiBetaBadge label="Lab" color={item} iconType="beaker" />
<OuiBetaBadge label="experimental" color={item} iconType="beaker" />
&emsp;
<OuiBetaBadge label="Lab" size="s" color={item} iconType="beaker" />
<OuiBetaBadge
label="experimental"
size="s"
color={item}
iconType="beaker"
/>
<OuiSpacer size="s" />
</div>
))}
Expand All @@ -47,7 +52,7 @@ export default () => (
<h3>
Beta badges will also line up nicely with titles &nbsp;
<OuiBetaBadge
label="Lab"
label="experimental"
tooltipContent="This module is not GA. Please help us by reporting any bugs."
/>
</h3>
Expand All @@ -57,14 +62,15 @@ export default () => (
</OuiTitle>
<OuiSpacer size="s" />
<OuiBetaBadge
label="Lens"
iconType="lensApp"
onClick={() => alert('Goes to Lens')}
label="Visualize"
iconType="visVisualBuilder"
href="https://playground.opensearch.org/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))"
target="_blank"
/>
&emsp;
<OuiBetaBadge
label="Experimental"
href="http://www.elastic.co/subscriptions"
href="https://opensearch.org/docs/latest/"
target="_blank"
/>
</div>
Expand Down