-
Notifications
You must be signed in to change notification settings - Fork 843
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use span for loaders and set width to kibana loader (#1845)
Spans are now used for all the loaders. Fixed a bug in the kibana loader in flex layouts.
- Loading branch information
Showing
16 changed files
with
292 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 30 additions & 30 deletions
60
src/components/loading/__snapshots__/loading_chart.test.tsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,98 +1,98 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`EuiLoadingChart is rendered 1`] = ` | ||
<div | ||
<span | ||
aria-label="aria-label" | ||
class="euiLoadingChart testClass1 testClass2 euiLoadingChart--medium" | ||
data-test-subj="test subject string" | ||
> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
</div> | ||
</span> | ||
`; | ||
|
||
exports[`EuiLoadingChart mono is rendered 1`] = ` | ||
<div | ||
<span | ||
class="euiLoadingChart euiLoadingChart--mono euiLoadingChart--medium" | ||
> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
</div> | ||
</span> | ||
`; | ||
|
||
exports[`EuiLoadingChart size l is rendered 1`] = ` | ||
<div | ||
<span | ||
class="euiLoadingChart euiLoadingChart--large" | ||
> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
</div> | ||
</span> | ||
`; | ||
|
||
exports[`EuiLoadingChart size m is rendered 1`] = ` | ||
<div | ||
<span | ||
class="euiLoadingChart euiLoadingChart--medium" | ||
> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
</div> | ||
</span> | ||
`; | ||
|
||
exports[`EuiLoadingChart size xl is rendered 1`] = ` | ||
<div | ||
<span | ||
class="euiLoadingChart euiLoadingChart--xLarge" | ||
> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
<div | ||
<span | ||
class="euiLoadingChart__bar" | ||
/> | ||
</div> | ||
</span> | ||
`; |
Oops, something went wrong.