Skip to content

Commit 67257ec

Browse files
committed
Update to filled version
1 parent dbcaa8d commit 67257ec

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

packages/react-core/src/components/SearchInput/SearchInput.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import AngleUpIcon from '@patternfly/react-icons/dist/esm/icons/angle-up-icon';
77
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
88
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
99
import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon';
10-
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
10+
import RhMicronsCaretDownFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-fill-icon';
1111
import { AdvancedSearchMenu } from './AdvancedSearchMenu';
1212
import { TextInputGroup, TextInputGroupMain, TextInputGroupUtilities } from '../TextInputGroup';
1313
import { InputGroup, InputGroupItem } from '../InputGroup';
@@ -339,7 +339,7 @@ const SearchInputBase: React.FunctionComponent<SearchInputProps> = ({
339339
aria-label={nextNavigationButtonAriaLabel}
340340
isDisabled={isDisabled || isNextNavigationButtonDisabled}
341341
onClick={onNextClick}
342-
icon={<RhMicronsCaretDownIcon />}
342+
icon={<RhMicronsCaretDownFillIcon />}
343343
/>
344344
</div>
345345
)}
@@ -464,7 +464,7 @@ const SearchInputBase: React.FunctionComponent<SearchInputProps> = ({
464464
onClick={onToggle}
465465
isDisabled={isDisabled}
466466
aria-expanded={isSearchMenuOpen}
467-
icon={<RhMicronsCaretDownIcon />}
467+
icon={<RhMicronsCaretDownFillIcon />}
468468
/>
469469
</InputGroupItem>
470470
)}

packages/react-core/src/components/SearchInput/__tests__/__snapshots__/SearchInput.test.tsx.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ exports[`SearchInput advanced search 1`] = `
108108
width="1em"
109109
>
110110
<path
111-
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
111+
d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
112112
/>
113113
</svg>
114114
</span>
@@ -263,7 +263,7 @@ exports[`SearchInput advanced search with custom attributes 1`] = `
263263
width="1em"
264264
>
265265
<path
266-
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
266+
d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
267267
/>
268268
</svg>
269269
</span>
@@ -608,7 +608,7 @@ exports[`SearchInput renders search input in strict mode 1`] = `
608608
width="1em"
609609
>
610610
<path
611-
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
611+
d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
612612
/>
613613
</svg>
614614
</span>
@@ -774,7 +774,7 @@ exports[`SearchInput search input with hint 1`] = `
774774
width="1em"
775775
>
776776
<path
777-
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
777+
d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
778778
/>
779779
</svg>
780780
</span>
@@ -958,7 +958,7 @@ exports[`SearchInput simple search input 1`] = `
958958
width="1em"
959959
>
960960
<path
961-
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
961+
d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
962962
/>
963963
</svg>
964964
</span>

0 commit comments

Comments
 (0)