Skip to content

Commit

Permalink
Merge branch 'master' into joshblack-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack authored Oct 9, 2019
2 parents eee3ea7 + eaf1435 commit babc9a9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2246,13 +2246,11 @@ exports[`DataTable should render 1`] = `
>
<ForwardRef(Search16)
className="bx--search-magnifier"
role="img"
>
<Icon
className="bx--search-magnifier"
height={16}
preserveAspectRatio="xMidYMid meet"
role="img"
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand All @@ -2263,7 +2261,6 @@ exports[`DataTable should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
role="img"
style={
Object {
"willChange": "transform",
Expand Down Expand Up @@ -2300,25 +2297,19 @@ exports[`DataTable should render 1`] = `
onClick={[Function]}
type="button"
>
<ForwardRef(Close16)
aria-label="Clear search input"
role="img"
>
<ForwardRef(Close16)>
<Icon
aria-label="Clear search input"
height={16}
preserveAspectRatio="xMidYMid meet"
role="img"
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
>
<svg
aria-label="Clear search input"
aria-hidden={true}
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
role="img"
style={
Object {
"willChange": "transform",
Expand Down Expand Up @@ -3225,13 +3216,11 @@ exports[`DataTable sticky header should render 1`] = `
>
<ForwardRef(Search16)
className="bx--search-magnifier"
role="img"
>
<Icon
className="bx--search-magnifier"
height={16}
preserveAspectRatio="xMidYMid meet"
role="img"
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand All @@ -3242,7 +3231,6 @@ exports[`DataTable sticky header should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
role="img"
style={
Object {
"willChange": "transform",
Expand Down Expand Up @@ -3279,25 +3267,19 @@ exports[`DataTable sticky header should render 1`] = `
onClick={[Function]}
type="button"
>
<ForwardRef(Close16)
aria-label="Clear search input"
role="img"
>
<ForwardRef(Close16)>
<Icon
aria-label="Clear search input"
height={16}
preserveAspectRatio="xMidYMid meet"
role="img"
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
>
<svg
aria-label="Clear search input"
aria-hidden={true}
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
role="img"
style={
Object {
"willChange": "transform",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,11 @@ exports[`DataTable.TableToolbarSearch should render 1`] = `
>
<ForwardRef(Search16)
className="bx--search-magnifier"
role="img"
>
<Icon
className="bx--search-magnifier"
height={16}
preserveAspectRatio="xMidYMid meet"
role="img"
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
Expand All @@ -50,7 +48,6 @@ exports[`DataTable.TableToolbarSearch should render 1`] = `
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
role="img"
style={
Object {
"willChange": "transform",
Expand Down Expand Up @@ -87,25 +84,19 @@ exports[`DataTable.TableToolbarSearch should render 1`] = `
onClick={[Function]}
type="button"
>
<ForwardRef(Close16)
aria-label="Clear search input"
role="img"
>
<ForwardRef(Close16)>
<Icon
aria-label="Clear search input"
height={16}
preserveAspectRatio="xMidYMid meet"
role="img"
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
>
<svg
aria-label="Clear search input"
aria-hidden={true}
focusable="false"
height={16}
preserveAspectRatio="xMidYMid meet"
role="img"
style={
Object {
"willChange": "transform",
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/components/Search/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export default class Search extends Component {

return (
<div className={searchClasses}>
<Search16 className={`${prefix}--search-magnifier`} role="img" />
<Search16 className={`${prefix}--search-magnifier`} />
<label htmlFor={id} className={`${prefix}--label`}>
{labelText}
</label>
Expand All @@ -171,7 +171,7 @@ export default class Search extends Component {
onClick={this.clearInput}
type="button"
aria-label={closeButtonLabelText}>
<CloseIconX aria-label={closeButtonLabelText} role="img" />
<CloseIconX />
</button>
</div>
);
Expand Down

0 comments on commit babc9a9

Please sign in to comment.