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

[Backport 1.0] [OUI Button]Changed the references of elastic.co to opensearch.org and changed To… #295

Merged
merged 2 commits into from
Feb 28, 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
16 changes: 9 additions & 7 deletions src-docs/src/views/button/button_as_link.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,20 @@ export default () => (
<Fragment>
<OuiFlexGroup gutterSize="s" alignItems="center">
<OuiFlexItem grow={false}>
<OuiButton href="http://www.elastic.co">Link to elastic.co</OuiButton>
<OuiButton href="https://opensearch.org/">
Link to OpenSearch.org
</OuiButton>
</OuiFlexItem>

<OuiFlexItem grow={false}>
<OuiButtonEmpty href="http://www.elastic.co">
Link to elastic.co
<OuiButtonEmpty href="https://opensearch.org/">
Link to OpenSearch.org
</OuiButtonEmpty>
</OuiFlexItem>

<OuiFlexItem grow={false}>
<OuiButtonIcon
href="http://www.elastic.co"
href="https://opensearch.org/"
iconType="link"
aria-label="This is a link"
/>
Expand All @@ -43,20 +45,20 @@ export default () => (

<OuiFlexGroup gutterSize="s" alignItems="center">
<OuiFlexItem grow={false}>
<OuiButton href="http://www.elastic.co" isDisabled>
<OuiButton href="https://opensearch.org/" isDisabled>
Disabled link
</OuiButton>
</OuiFlexItem>

<OuiFlexItem grow={false}>
<OuiButtonEmpty href="http://www.elastic.co" isDisabled>
<OuiButtonEmpty href="https://opensearch.org/" isDisabled>
Disabled empty link
</OuiButtonEmpty>
</OuiFlexItem>

<OuiFlexItem grow={false}>
<OuiButtonIcon
href="http://www.elastic.co"
href="https://opensearch.org/"
iconType="link"
aria-label="This is a link"
isDisabled
Expand Down
2 changes: 1 addition & 1 deletion src-docs/src/views/button/button_ghost.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default () => {
isSelected={toggle0On}
fill={toggle0On}
onClick={onToggle0Change}>
Toggle me
Toggle
</OuiButton>
</OuiFlexItem>
</OuiFlexGroup>
Expand Down
4 changes: 2 additions & 2 deletions src-docs/src/views/button/button_toggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default () => {
onClick={() => {
setToggle0On((isOn) => !isOn);
}}>
{toggle0On ? 'Hey there good lookin' : 'Toggle me'}
{toggle0On ? 'Tada!' : 'Toggle'}
</OuiButton>
&emsp;
<OuiButtonIcon
Expand All @@ -57,7 +57,7 @@ export default () => {
onClick={() => {
setToggle2On((isOn) => !isOn);
}}>
Toggle me
Toggle
</OuiButton>
&emsp;
<OuiButtonIcon
Expand Down