@patternfly/react-core 4.242.1 → 4.242.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/esm/components/SearchInput/SearchInput.js +1 -1
- package/dist/esm/components/SearchInput/SearchInput.js.map +1 -1
- package/dist/js/components/SearchInput/SearchInput.js +1 -1
- package/dist/js/components/SearchInput/SearchInput.js.map +1 -1
- package/dist/umd/react-core.min.js +1 -1
- package/package.json +2 -2
- package/src/components/SearchInput/SearchInput.tsx +2 -2
- package/src/components/SearchInput/__tests__/__snapshots__/SearchInput.test.tsx.snap +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-core",
|
|
3
|
-
"version": "4.242.
|
|
3
|
+
"version": "4.242.2",
|
|
4
4
|
"description": "This library provides a set of common React components for use with the PatternFly reference implementation.",
|
|
5
5
|
"main": "dist/js/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"react": "^16.8 || ^17 || ^18",
|
|
71
71
|
"react-dom": "^16.8 || ^17 || ^18"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "e35f87ea426d87511edcb2a98124e460fe80e9b7"
|
|
74
74
|
}
|
|
@@ -357,7 +357,7 @@ const SearchInputBase: React.FunctionComponent<SearchInputProps> = ({
|
|
|
357
357
|
if (!!onSearch || attributes.length > 0 || !!onToggleAdvancedSearch) {
|
|
358
358
|
if (attributes.length > 0) {
|
|
359
359
|
const AdvancedSearch = (
|
|
360
|
-
<
|
|
360
|
+
<div>
|
|
361
361
|
<AdvancedSearchMenu
|
|
362
362
|
value={value}
|
|
363
363
|
parentRef={searchInputRef}
|
|
@@ -375,7 +375,7 @@ const SearchInputBase: React.FunctionComponent<SearchInputProps> = ({
|
|
|
375
375
|
getAttrValueMap={getAttrValueMap}
|
|
376
376
|
isSearchMenuOpen={isSearchMenuOpen}
|
|
377
377
|
/>
|
|
378
|
-
</
|
|
378
|
+
</div>
|
|
379
379
|
);
|
|
380
380
|
|
|
381
381
|
const AdvancedSearchWithPopper = (
|
|
@@ -241,7 +241,7 @@ exports[`SearchInput advanced search with custom attributes 1`] = `
|
|
|
241
241
|
</svg>
|
|
242
242
|
</button>
|
|
243
243
|
</div>
|
|
244
|
-
<
|
|
244
|
+
<div
|
|
245
245
|
class=""
|
|
246
246
|
data-popper-escaped="true"
|
|
247
247
|
data-popper-placement="bottom-start"
|
|
@@ -431,7 +431,7 @@ exports[`SearchInput advanced search with custom attributes 1`] = `
|
|
|
431
431
|
</div>
|
|
432
432
|
</div>
|
|
433
433
|
</div>
|
|
434
|
-
</
|
|
434
|
+
</div>
|
|
435
435
|
</div>
|
|
436
436
|
</DocumentFragment>
|
|
437
437
|
`;
|