Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Commit

Permalink
Update EC Site Header files
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt committed Feb 27, 2019
1 parent c89d15d commit 659a80d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ exports[`EC - Site Header default - renders correctly 1`] = `
<span class=\\"ecl-button__container\\"
><span class=\\"ecl-button__label\\">Search</span
><svg
class=\\"ecl-icon ecl-icon--m ecl-button__icon ecl-button__icon--after\\"
class=\\"ecl-icon ecl-icon--xs ecl-button__icon ecl-button__icon--after\\"
focusable=\\"false\\"
aria-hidden=\\"true\\"
>
Expand Down Expand Up @@ -103,7 +103,7 @@ exports[`EC - Site Header translated - renders correctly 1`] = `
<span class=\\"ecl-button__container\\"
><span class=\\"ecl-button__label\\">Recherche</span
><svg
class=\\"ecl-icon ecl-icon--m ecl-button__icon ecl-button__icon--after\\"
class=\\"ecl-icon ecl-icon--xs ecl-button__icon ecl-button__icon--after\\"
focusable=\\"false\\"
aria-hidden=\\"true\\"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
},
label: 'Search',
extra_classes: 'ecl-search-form__button'
}
},
extra_classes: 'ecl-site-header__search'
}
%}

Expand Down
12 changes: 12 additions & 0 deletions src/ec/packages/ec-component-site-header/site-header.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ storiesOf('Components/Site Header', module)
search_form: {
button: {
label: 'Search',
icon: {
type: 'general',
name: 'search',
path: defaultSprite,
size: 'xs',
},
},
},
}),
Expand Down Expand Up @@ -65,6 +71,12 @@ storiesOf('Components/Site Header', module)
search_form: {
button: {
label: 'Recherche',
icon: {
type: 'general',
name: 'search',
path: defaultSprite,
size: 'xs',
},
},
},
}),
Expand Down
2 changes: 2 additions & 0 deletions src/ec/packages/ec-component-site-header/site-header.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ describe('EC - Site Header', () => {
type: 'general',
name: 'search',
path: defaultIconPath,
size: 'xs',
},
},
},
Expand Down Expand Up @@ -71,6 +72,7 @@ describe('EC - Site Header', () => {
type: 'general',
name: 'search',
path: defaultIconPath,
size: 'xs',
},
},
},
Expand Down

0 comments on commit 659a80d

Please sign in to comment.