Skip to content
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- Update Elastic-Charts to version 13.0.0 and updated the theme object accordingly ([#2381](https://github.com/elastic/eui/pull/2381))
- Added new `EuiColorStops` component ([#2360](https://github.com/elastic/eui/pull/2360))
- Added `currency` glyph to 'EuiIcon' ([#2398](https://github.com/elastic/eui/pull/2398))
- Migrate `EuiBreadcrumbs`, `EuiHeader` etc, and `EuiLink` to TypeScript ([#2391](https://github.com/elastic/eui/pull/2391))

**Bug fixes**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,14 @@ exports[`EuiBreadcrumbs is rendered 1`] = `
data-test-subj="breadcrumbsAnimals"
href="#"
rel="noreferrer"
title="[object Object]"
>
<span>
Animals
</span>
Animals
</a>
<div
class="euiBreadcrumbSeparator"
/>
<button
class="euiLink euiLink--subdued euiBreadcrumb"
title="Reptiles"
type="button"
>
Reptiles
Expand All @@ -34,7 +30,6 @@ exports[`EuiBreadcrumbs is rendered 1`] = `
class="euiLink euiLink--subdued euiBreadcrumb euiBreadcrumb--truncate"
href="#"
rel="noreferrer"
title="Boa constrictor"
>
Boa constrictor
</a>
Expand All @@ -44,7 +39,6 @@ exports[`EuiBreadcrumbs is rendered 1`] = `
<span
aria-current="page"
class="euiBreadcrumb euiBreadcrumb--last"
title="Edit"
>
Edit
</span>
Expand All @@ -58,7 +52,6 @@ exports[`EuiBreadcrumbs props max doesn't break when max exceeds the number of b
>
<button
class="euiLink euiLink--subdued euiBreadcrumb"
title="Animals"
type="button"
>
Animals
Expand All @@ -68,7 +61,6 @@ exports[`EuiBreadcrumbs props max doesn't break when max exceeds the number of b
/>
<button
class="euiLink euiLink--subdued euiBreadcrumb"
title="Reptiles"
type="button"
>
Reptiles
Expand All @@ -78,7 +70,6 @@ exports[`EuiBreadcrumbs props max doesn't break when max exceeds the number of b
/>
<button
class="euiLink euiLink--subdued euiBreadcrumb"
title="Boa constrictor"
type="button"
>
Boa constrictor
Expand All @@ -89,7 +80,6 @@ exports[`EuiBreadcrumbs props max doesn't break when max exceeds the number of b
<span
aria-current="page"
class="euiBreadcrumb euiBreadcrumb--last"
title="Edit"
>
Edit
</span>
Expand All @@ -112,7 +102,6 @@ exports[`EuiBreadcrumbs props max renders 1 item 1`] = `
<span
aria-current="page"
class="euiBreadcrumb euiBreadcrumb--last"
title="Edit"
>
Edit
</span>
Expand All @@ -126,7 +115,6 @@ exports[`EuiBreadcrumbs props max renders 2 items 1`] = `
>
<button
class="euiLink euiLink--subdued euiBreadcrumb"
title="Animals"
type="button"
>
Animals
Expand All @@ -145,7 +133,6 @@ exports[`EuiBreadcrumbs props max renders 2 items 1`] = `
<span
aria-current="page"
class="euiBreadcrumb euiBreadcrumb--last"
title="Edit"
>
Edit
</span>
Expand All @@ -159,7 +146,6 @@ exports[`EuiBreadcrumbs props max renders 3 items 1`] = `
>
<button
class="euiLink euiLink--subdued euiBreadcrumb"
title="Animals"
type="button"
>
Animals
Expand All @@ -177,7 +163,6 @@ exports[`EuiBreadcrumbs props max renders 3 items 1`] = `
/>
<button
class="euiLink euiLink--subdued euiBreadcrumb"
title="Boa constrictor"
type="button"
>
Boa constrictor
Expand All @@ -188,7 +173,6 @@ exports[`EuiBreadcrumbs props max renders 3 items 1`] = `
<span
aria-current="page"
class="euiBreadcrumb euiBreadcrumb--last"
title="Edit"
>
Edit
</span>
Expand All @@ -202,7 +186,6 @@ exports[`EuiBreadcrumbs props render a popover is rendered 1`] = `
>
<button
class="euiLink euiLink--subdued euiBreadcrumb"
title="Animals"
type="button"
>
Animals
Expand Down Expand Up @@ -239,7 +222,6 @@ exports[`EuiBreadcrumbs props render a popover is rendered 1`] = `
<span
aria-current="page"
class="euiBreadcrumb euiBreadcrumb--last"
title="Edit"
>
Edit
</span>
Expand All @@ -253,7 +235,6 @@ exports[`EuiBreadcrumbs props responsive is rendered 1`] = `
>
<button
class="euiLink euiLink--subdued euiBreadcrumb"
title="Animals"
type="button"
>
Animals
Expand All @@ -263,7 +244,6 @@ exports[`EuiBreadcrumbs props responsive is rendered 1`] = `
/>
<button
class="euiLink euiLink--subdued euiBreadcrumb"
title="Reptiles"
type="button"
>
Reptiles
Expand All @@ -273,7 +253,6 @@ exports[`EuiBreadcrumbs props responsive is rendered 1`] = `
/>
<button
class="euiLink euiLink--subdued euiBreadcrumb"
title="Boa constrictor"
type="button"
>
Boa constrictor
Expand All @@ -284,7 +263,6 @@ exports[`EuiBreadcrumbs props responsive is rendered 1`] = `
<span
aria-current="page"
class="euiBreadcrumb euiBreadcrumb--last"
title="Edit"
>
Edit
</span>
Expand All @@ -298,7 +276,6 @@ exports[`EuiBreadcrumbs props truncate as false is rendered 1`] = `
>
<button
class="euiLink euiLink--subdued euiBreadcrumb"
title="Animals"
type="button"
>
Animals
Expand All @@ -308,7 +285,6 @@ exports[`EuiBreadcrumbs props truncate as false is rendered 1`] = `
/>
<button
class="euiLink euiLink--subdued euiBreadcrumb"
title="Reptiles"
type="button"
>
Reptiles
Expand All @@ -318,7 +294,6 @@ exports[`EuiBreadcrumbs props truncate as false is rendered 1`] = `
/>
<button
class="euiLink euiLink--subdued euiBreadcrumb"
title="Boa constrictor"
type="button"
>
Boa constrictor
Expand All @@ -329,7 +304,6 @@ exports[`EuiBreadcrumbs props truncate as false is rendered 1`] = `
<span
aria-current="page"
class="euiBreadcrumb euiBreadcrumb--last"
title="Edit"
>
Edit
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ describe('EuiBreadcrumbs', () => {
test('is rendered', () => {
const breadcrumbs = [
{
text: <span>Animals</span>,
text: 'Animals',
href: '#',
onClick: e => {
onClick: (e: React.MouseEvent) => {
e.preventDefault();
console.log('You clicked Animals');
},
Expand All @@ -19,7 +19,7 @@ describe('EuiBreadcrumbs', () => {
},
{
text: 'Reptiles',
onClick: e => {
onClick: (e: React.MouseEvent) => {
e.preventDefault();
console.log('You clicked Reptiles');
},
Expand Down
Loading