-
Notifications
You must be signed in to change notification settings - Fork 841
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Improving structure * Adding hover and focus styles * Updating changelog * BEM * Focus and full screen hover styles * Adding a11y improvements * Reverting to old sctructure without a11y * No caption transition * typos
- Loading branch information
1 parent
d338f93
commit 2a25854
Showing
5 changed files
with
141 additions
and
58 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,41 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`EuiImage is rendered 1`] = ` | ||
<figure | ||
aria-label="aria-label" | ||
class="euiImage euiImage--large testClass1 testClass2" | ||
data-test-subj="test subject string" | ||
> | ||
<img | ||
alt="alt" | ||
class="euiImage__img" | ||
src="/cat.jpg" | ||
/> | ||
</figure> | ||
`; | ||
|
||
exports[`EuiImage is rendered and allows full screen 1`] = ` | ||
<button | ||
class="euiImage euiImage--large euiImage--allowFullScreen testClass1 testClass2" | ||
type="button" | ||
> | ||
<figure | ||
aria-label="aria-label" | ||
class="euiImage euiImage--large testClass1 testClass2" | ||
data-test-subj="test subject string" | ||
> | ||
<img | ||
alt="alt" | ||
class="euiImage__img" | ||
src="/cat.jpg" | ||
/> | ||
<svg | ||
class="euiIcon euiIcon--medium euiIcon--ghost euiIcon-isLoading euiImage__icon" | ||
focusable="false" | ||
height="16" | ||
viewBox="0 0 16 16" | ||
width="16" | ||
xmlns="http://www.w3.org/2000/svg" | ||
/> | ||
</figure> | ||
</button> | ||
`; |
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