Skip to content

Commit

Permalink
Merge branch 'main' into Issue-104
Browse files Browse the repository at this point in the history
  • Loading branch information
seanneumann authored Feb 26, 2023
2 parents 9544b9e + 874f6de commit f60b456
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 62 deletions.
4 changes: 2 additions & 2 deletions src-docs/src/views/aspect_ratio/aspect_ratio.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default () => (
title="Elastic is a search company"
width="560"
height="315"
src="https://www.youtube.com/embed/yJarWSLRM24"
src="https://www.youtube.com/embed/yO96yqpcycY"
frameBorder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
Expand All @@ -44,7 +44,7 @@ export default () => (
title="Elastic is a search company"
width="560"
height="315"
src="https://www.youtube.com/embed/yJarWSLRM24"
src="https://www.youtube.com/embed/yO96yqpcycY"
frameBorder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
Expand Down
2 changes: 1 addition & 1 deletion src-docs/src/views/aspect_ratio/playground.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default () => {
title="Elastic is a search company"
width="560"
height="315"
src="https://www.youtube.com/embed/yJarWSLRM24"
src="https://www.youtube.com/embed/yO96yqpcycY"
frameBorder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
Expand Down
2 changes: 1 addition & 1 deletion src-docs/src/views/avatar/avatar_initials.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default () => (
<h4>Custom</h4>
</OuiTitle>
<OuiSpacer />
<OuiAvatar name="Kibana" initialsLength={2} />
<OuiAvatar name="Dashboards" initialsLength={2} />
&emsp;
<OuiAvatar name="Leonardo Dude" initialsLength={1} />
&emsp;
Expand Down
2 changes: 1 addition & 1 deletion src-docs/src/views/avatar/avatar_type.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default () => (
<h3>Spaces</h3>
</OuiTitle>
<OuiSpacer />
<OuiAvatar size="s" type="space" name="Kibana" />
<OuiAvatar size="s" type="space" name="Dashboards" />
&emsp;
<OuiAvatar type="space" name="Leonardo Space" />
&emsp;
Expand Down
59 changes: 33 additions & 26 deletions src-docs/src/views/utility_classes/utility_classes_overflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,22 +61,25 @@ export default () => (
size="s"
style={{ padding: 16 }}>
<p>
Orbiting this at a distance of roughly ninety-two million miles is
an utterly insignificant little blue green planet whose
ape-descended life forms are so amazingly primitive that they
still think digital watches are a pretty neat idea.
Vestibulum ipsum ipsum, dapibus iaculis rutrum sed, ullamcorper
eget nibh. Donec ligula orci, vestibulum eget lacus eget, luctus
feugiat sapien. Aliquam et elementum ante. Donec malesuada tellus
sit amet lorem convallis, et convallis massa suscipit. Nullam
dolor libero, placerat ac mi at, ultrices scelerisque neque
</p>
<p>
Orbiting this at a distance of roughly ninety-two million miles is
an utterly insignificant little blue green planet whose
ape-descended life forms are so amazingly primitive that they
still think digital watches are a pretty neat idea.
Vestibulum ipsum ipsum, dapibus iaculis rutrum sed, ullamcorper
eget nibh. Donec ligula orci, vestibulum eget lacus eget, luctus
feugiat sapien. Aliquam et elementum ante. Donec malesuada tellus
sit amet lorem convallis, et convallis massa suscipit. Nullam
dolor libero, placerat ac mi at, ultrices scelerisque neque
</p>
<p>
Orbiting this at a distance of roughly ninety-two million miles is
an utterly insignificant little blue green planet whose
ape-descended life forms are so amazingly primitive that they
still think digital watches are a pretty neat idea.
Vestibulum ipsum ipsum, dapibus iaculis rutrum sed, ullamcorper
eget nibh. Donec ligula orci, vestibulum eget lacus eget, luctus
feugiat sapien. Aliquam et elementum ante. Donec malesuada tellus
sit amet lorem convallis, et convallis massa suscipit. Nullam
dolor libero, placerat ac mi at, ultrices scelerisque neque
</p>
</OuiText>
</OuiPanel>
Expand Down Expand Up @@ -117,10 +120,12 @@ export default () => (
<div tabIndex={0} className="oui-xScrollWithShadows">
<OuiText size="s" style={{ width: '150%', padding: 16 }}>
<p>
Orbiting this at a distance of roughly ninety-two million miles
is an utterly insignificant little blue green planet whose
ape-descended life forms are so amazingly primitive that they
still think digital watches are a pretty neat idea.
Vestibulum ipsum ipsum, dapibus iaculis rutrum sed, ullamcorper
eget nibh. Donec ligula orci, vestibulum eget lacus eget, luctus
feugiat sapien. Aliquam et elementum ante. Donec malesuada
tellus sit amet lorem convallis, et convallis massa suscipit.
Nullam dolor libero, placerat ac mi at, ultrices scelerisque
neque.
</p>
</OuiText>
</div>
Expand Down Expand Up @@ -166,11 +171,12 @@ export default () => (
<OuiPanel className="oui-yScroll" color="warning" tabIndex="0">
<OuiText size="s">
<p>
Orbiting this at a distance of roughly ninety-two million
miles is an utterly insignificant little blue green planet
whose ape-descended life forms are so amazingly primitive
that they still think digital watches are a pretty neat
idea.
Vestibulum ipsum ipsum, dapibus iaculis rutrum sed,
ullamcorper eget nibh. Donec ligula orci, vestibulum eget
lacus eget, luctus feugiat sapien. Aliquam et elementum
ante. Donec malesuada tellus sit amet lorem convallis, et
convallis massa suscipit. Nullam dolor libero, placerat ac
mi at, ultrices scelerisque neque.
</p>
</OuiText>
</OuiPanel>
Expand All @@ -179,11 +185,12 @@ export default () => (
<OuiPanel className="oui-yScroll" color="warning" tabIndex="0">
<OuiText size="s">
<p>
Orbiting this at a distance of roughly ninety-two million
miles is an utterly insignificant little blue green planet
whose ape-descended life forms are so amazingly primitive
that they still think digital watches are a pretty neat
idea.
Vestibulum ipsum ipsum, dapibus iaculis rutrum sed,
ullamcorper eget nibh. Donec ligula orci, vestibulum eget
lacus eget, luctus feugiat sapien. Aliquam et elementum
ante. Donec malesuada tellus sit amet lorem convallis, et
convallis massa suscipit. Nullam dolor libero, placerat ac
mi at, ultrices scelerisque neque.
</p>
</OuiText>
</OuiPanel>
Expand Down
2 changes: 1 addition & 1 deletion src-docs/src/views/utility_classes/utility_classes_text.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
import { UtilityClassesSection } from './utility_classes_section';

const longLink =
'http://www.hithereimalongurl.com/dave_will_just_ramble_on_in_a_long_sentence_like_this/?ok=cool';
'https://playground.opensearch.org/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))';

const wrappingExampleStyle = {
background: 'rgba(254, 228, 181, 0.5)',
Expand Down
38 changes: 8 additions & 30 deletions src-docs/src/views/utility_classes/utility_classes_vert_align.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,11 @@ export default () => (
}
example={
<p>
<OuiIcon
type="logoElasticStack"
size="xxl"
className="oui-alignTop"
/>
<OuiIcon type="grid" size="xxl" className="oui-alignTop" />
&emsp; Icon is aligned to the top of the text
</p>
}
snippet={'<OuiIcon className="oui-alignTop" type="logoElasticStack" />'}
snippet={'<OuiIcon className="oui-alignTop" type="grid" />'}
/>
<OuiSpacer />
<UtilityClassesSection
Expand All @@ -47,17 +43,11 @@ export default () => (
}
example={
<p>
<OuiIcon
type="logoElasticStack"
size="xxl"
className="oui-alignMiddle"
/>
<OuiIcon type="grid" size="xxl" className="oui-alignMiddle" />
&emsp; Icon is aligned to the middle of the text
</p>
}
snippet={
'<OuiIcon className="oui-alignMiddle" type="logoElasticStack" />'
}
snippet={'<OuiIcon className="oui-alignMiddle" type="grid" />'}
/>
<OuiSpacer />
<UtilityClassesSection
Expand All @@ -70,17 +60,11 @@ export default () => (
}
example={
<p>
<OuiIcon
type="logoElasticStack"
size="xxl"
className="oui-alignBottom"
/>
<OuiIcon type="grid" size="xxl" className="oui-alignBottom" />
&emsp; Icon is aligned to the bottom of the text
</p>
}
snippet={
'<OuiIcon className="oui-alignBottom" type="logoElasticStack" />'
}
snippet={'<OuiIcon className="oui-alignBottom" type="grid" />'}
/>
<OuiSpacer />
<UtilityClassesSection
Expand All @@ -93,17 +77,11 @@ export default () => (
}
example={
<p>
<OuiIcon
type="logoElasticStack"
size="xxl"
className="oui-alignBaseline"
/>
<OuiIcon type="grid" size="xxl" className="oui-alignBaseline" />
&emsp; Icon is aligned to the baseline of the text
</p>
}
snippet={
'<OuiIcon className="oui-alignBaseline" type="logoElasticStack" />'
}
snippet={'<OuiIcon className="oui-alignBaseline" type="grid" />'}
/>
</>
);

0 comments on commit f60b456

Please sign in to comment.