@patternfly/react-core 5.1.1-prerelease.10 → 5.1.1-prerelease.12
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 +16 -0
- package/components/package.json +1 -1
- package/deprecated/package.json +1 -1
- package/dist/dynamic/components/AboutModal/package.json +1 -1
- package/dist/dynamic/components/Accordion/package.json +1 -1
- package/dist/dynamic/components/ActionList/package.json +1 -1
- package/dist/dynamic/components/Alert/package.json +1 -1
- package/dist/dynamic/components/Avatar/package.json +1 -1
- package/dist/dynamic/components/BackToTop/package.json +1 -1
- package/dist/dynamic/components/Backdrop/package.json +1 -1
- package/dist/dynamic/components/BackgroundImage/package.json +1 -1
- package/dist/dynamic/components/Badge/package.json +1 -1
- package/dist/dynamic/components/Banner/package.json +1 -1
- package/dist/dynamic/components/Brand/package.json +1 -1
- package/dist/dynamic/components/Breadcrumb/package.json +1 -1
- package/dist/dynamic/components/Button/package.json +1 -1
- package/dist/dynamic/components/CalendarMonth/package.json +1 -1
- package/dist/dynamic/components/Card/package.json +1 -1
- package/dist/dynamic/components/Checkbox/package.json +1 -1
- package/dist/dynamic/components/Chip/package.json +1 -1
- package/dist/dynamic/components/ClipboardCopy/package.json +1 -1
- package/dist/dynamic/components/CodeBlock/package.json +1 -1
- package/dist/dynamic/components/DataList/package.json +1 -1
- package/dist/dynamic/components/DatePicker/package.json +1 -1
- package/dist/dynamic/components/DescriptionList/package.json +1 -1
- package/dist/dynamic/components/Divider/package.json +1 -1
- package/dist/dynamic/components/DragDrop/package.json +1 -1
- package/dist/dynamic/components/Drawer/package.json +1 -1
- package/dist/dynamic/components/Dropdown/package.json +1 -1
- package/dist/dynamic/components/DualListSelector/package.json +1 -1
- package/dist/dynamic/components/EmptyState/package.json +1 -1
- package/dist/dynamic/components/ExpandableSection/package.json +1 -1
- package/dist/dynamic/components/FileUpload/package.json +1 -1
- package/dist/dynamic/components/Form/package.json +1 -1
- package/dist/dynamic/components/FormSelect/package.json +1 -1
- package/dist/dynamic/components/HelperText/package.json +1 -1
- package/dist/dynamic/components/Hint/package.json +1 -1
- package/dist/dynamic/components/Icon/package.json +1 -1
- package/dist/dynamic/components/InputGroup/package.json +1 -1
- package/dist/dynamic/components/JumpLinks/package.json +1 -1
- package/dist/dynamic/components/Label/package.json +1 -1
- package/dist/dynamic/components/List/package.json +1 -1
- package/dist/dynamic/components/LoginPage/package.json +1 -1
- package/dist/dynamic/components/Masthead/package.json +1 -1
- package/dist/dynamic/components/Menu/package.json +1 -1
- package/dist/dynamic/components/MenuToggle/package.json +1 -1
- package/dist/dynamic/components/Modal/package.json +1 -1
- package/dist/dynamic/components/MultipleFileUpload/package.json +1 -1
- package/dist/dynamic/components/Nav/package.json +1 -1
- package/dist/dynamic/components/NotificationBadge/package.json +1 -1
- package/dist/dynamic/components/NotificationDrawer/package.json +1 -1
- package/dist/dynamic/components/NumberInput/package.json +1 -1
- package/dist/dynamic/components/OverflowMenu/package.json +1 -1
- package/dist/dynamic/components/Page/package.json +1 -1
- package/dist/dynamic/components/Pagination/package.json +1 -1
- package/dist/dynamic/components/Panel/package.json +1 -1
- package/dist/dynamic/components/Popover/package.json +1 -1
- package/dist/dynamic/components/Progress/package.json +1 -1
- package/dist/dynamic/components/ProgressStepper/package.json +1 -1
- package/dist/dynamic/components/Radio/package.json +1 -1
- package/dist/dynamic/components/SearchInput/package.json +1 -1
- package/dist/dynamic/components/Select/package.json +1 -1
- package/dist/dynamic/components/Sidebar/package.json +1 -1
- package/dist/dynamic/components/SimpleList/package.json +1 -1
- package/dist/dynamic/components/Skeleton/package.json +1 -1
- package/dist/dynamic/components/SkipToContent/package.json +1 -1
- package/dist/dynamic/components/Slider/package.json +1 -1
- package/dist/dynamic/components/Spinner/package.json +1 -1
- package/dist/dynamic/components/Switch/package.json +1 -1
- package/dist/dynamic/components/Tabs/package.json +1 -1
- package/dist/dynamic/components/Text/package.json +1 -1
- package/dist/dynamic/components/TextArea/package.json +1 -1
- package/dist/dynamic/components/TextInput/package.json +1 -1
- package/dist/dynamic/components/TextInputGroup/package.json +1 -1
- package/dist/dynamic/components/Tile/package.json +1 -1
- package/dist/dynamic/components/TimePicker/package.json +1 -1
- package/dist/dynamic/components/Timestamp/package.json +1 -1
- package/dist/dynamic/components/Title/package.json +1 -1
- package/dist/dynamic/components/ToggleGroup/package.json +1 -1
- package/dist/dynamic/components/Toolbar/package.json +1 -1
- package/dist/dynamic/components/Tooltip/package.json +1 -1
- package/dist/dynamic/components/TreeView/package.json +1 -1
- package/dist/dynamic/components/Truncate/package.json +1 -1
- package/dist/dynamic/components/Wizard/hooks/package.json +1 -1
- package/dist/dynamic/components/Wizard/package.json +1 -1
- package/dist/dynamic/deprecated/components/ApplicationLauncher/package.json +1 -1
- package/dist/dynamic/deprecated/components/ContextSelector/package.json +1 -1
- package/dist/dynamic/deprecated/components/Dropdown/package.json +1 -1
- package/dist/dynamic/deprecated/components/OptionsMenu/package.json +1 -1
- package/dist/dynamic/deprecated/components/PageHeader/package.json +1 -1
- package/dist/dynamic/deprecated/components/Select/package.json +1 -1
- package/dist/dynamic/deprecated/components/Wizard/package.json +1 -1
- package/dist/dynamic/deprecated/components/package.json +1 -1
- package/dist/dynamic/helpers/FocusTrap/FocusTrap/package.json +1 -1
- package/dist/dynamic/helpers/GenerateId/GenerateId/package.json +1 -1
- package/dist/dynamic/helpers/KeyboardHandler/package.json +1 -1
- package/dist/dynamic/helpers/OUIA/ouia/package.json +1 -1
- package/dist/dynamic/helpers/Popper/Popper/package.json +1 -1
- package/dist/dynamic/helpers/constants/package.json +1 -1
- package/dist/dynamic/helpers/datetimeUtils/package.json +1 -1
- package/dist/dynamic/helpers/favorites/package.json +1 -1
- package/dist/dynamic/helpers/fileUtils/package.json +1 -1
- package/dist/dynamic/helpers/htmlConstants/package.json +1 -1
- package/dist/dynamic/helpers/package.json +1 -1
- package/dist/dynamic/helpers/resizeObserver/package.json +1 -1
- package/dist/dynamic/helpers/typeUtils/package.json +1 -1
- package/dist/dynamic/helpers/useInterval/package.json +1 -1
- package/dist/dynamic/helpers/useIsomorphicLayout/package.json +1 -1
- package/dist/dynamic/helpers/useUnmountEffect/package.json +1 -1
- package/dist/dynamic/helpers/util/package.json +1 -1
- package/dist/dynamic/layouts/Bullseye/package.json +1 -1
- package/dist/dynamic/layouts/Flex/package.json +1 -1
- package/dist/dynamic/layouts/Gallery/package.json +1 -1
- package/dist/dynamic/layouts/Grid/package.json +1 -1
- package/dist/dynamic/layouts/Level/package.json +1 -1
- package/dist/dynamic/layouts/Split/package.json +1 -1
- package/dist/dynamic/layouts/Stack/package.json +1 -1
- package/dist/dynamic/next/components/package.json +1 -1
- package/dist/esm/components/Icon/Icon.d.ts +4 -0
- package/dist/esm/components/Icon/Icon.d.ts.map +1 -1
- package/dist/esm/components/Icon/Icon.js +2 -2
- package/dist/esm/components/Icon/Icon.js.map +1 -1
- package/dist/esm/components/Nav/NavItem.d.ts +1 -1
- package/dist/esm/components/Nav/NavItem.d.ts.map +1 -1
- package/dist/esm/components/SearchInput/SearchInput.d.ts.map +1 -1
- package/dist/esm/components/SearchInput/SearchInput.js +4 -2
- package/dist/esm/components/SearchInput/SearchInput.js.map +1 -1
- package/dist/js/components/Icon/Icon.d.ts +4 -0
- package/dist/js/components/Icon/Icon.d.ts.map +1 -1
- package/dist/js/components/Icon/Icon.js +2 -2
- package/dist/js/components/Icon/Icon.js.map +1 -1
- package/dist/js/components/Nav/NavItem.d.ts +1 -1
- package/dist/js/components/Nav/NavItem.d.ts.map +1 -1
- package/dist/js/components/SearchInput/SearchInput.d.ts.map +1 -1
- package/dist/js/components/SearchInput/SearchInput.js +4 -2
- package/dist/js/components/SearchInput/SearchInput.js.map +1 -1
- package/dist/umd/react-core.min.js +1 -1
- package/helpers/package.json +1 -1
- package/layouts/package.json +1 -1
- package/next/package.json +1 -1
- package/package.json +6 -6
- package/src/components/Icon/Icon.tsx +15 -1
- package/src/components/Icon/__tests__/Icon.test.tsx +16 -0
- package/src/components/Nav/NavItem.tsx +1 -1
- package/src/components/SearchInput/SearchInput.tsx +5 -2
- package/src/components/SearchInput/__tests__/__snapshots__/SearchInput.test.tsx.snap +105 -65
- package/src/deprecated/components/ContextSelector/__tests__/__snapshots__/ContextSelector.test.tsx.snap +42 -26
package/helpers/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-helpers","main":"../dist/js/helpers/index.js","module":"../dist/esm/helpers/index.js","typings":"../dist/esm/helpers/index.d.ts","version":"5.1.1-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-helpers","main":"../dist/js/helpers/index.js","module":"../dist/esm/helpers/index.js","typings":"../dist/esm/helpers/index.d.ts","version":"5.1.1-prerelease.11","private":true}
|
package/layouts/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-layouts","main":"../dist/js/layouts/index.js","module":"../dist/esm/layouts/index.js","typings":"../dist/esm/layouts/index.d.ts","version":"5.1.1-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-layouts","main":"../dist/js/layouts/index.js","module":"../dist/esm/layouts/index.js","typings":"../dist/esm/layouts/index.d.ts","version":"5.1.1-prerelease.11","private":true}
|
package/next/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-next","main":"../dist/js/next/index.js","module":"../dist/esm/next/index.js","typings":"../dist/esm/next/index.d.ts","version":"5.1.1-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-next","main":"../dist/js/next/index.js","module":"../dist/esm/next/index.js","typings":"../dist/esm/next/index.d.ts","version":"5.1.1-prerelease.11","private":true}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-core",
|
|
3
|
-
"version": "5.1.1-prerelease.
|
|
3
|
+
"version": "5.1.1-prerelease.12",
|
|
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",
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
"subpaths": "node ../../scripts/exportSubpaths.js --config subpaths.config.json"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@patternfly/react-icons": "^5.1.1-prerelease.
|
|
49
|
-
"@patternfly/react-styles": "^5.1.1-prerelease.
|
|
50
|
-
"@patternfly/react-tokens": "^5.1.1-prerelease.
|
|
48
|
+
"@patternfly/react-icons": "^5.1.1-prerelease.6",
|
|
49
|
+
"@patternfly/react-styles": "^5.1.1-prerelease.6",
|
|
50
|
+
"@patternfly/react-tokens": "^5.1.1-prerelease.6",
|
|
51
51
|
"focus-trap": "7.5.2",
|
|
52
52
|
"react-dropzone": "^14.2.3",
|
|
53
53
|
"tslib": "^2.5.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@patternfly/patternfly": "5.1.0-prerelease.
|
|
56
|
+
"@patternfly/patternfly": "5.1.0-prerelease.28",
|
|
57
57
|
"@rollup/plugin-commonjs": "^25.0.0",
|
|
58
58
|
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
59
59
|
"@rollup/plugin-replace": "^5.0.2",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"react": "^17 || ^18",
|
|
71
71
|
"react-dom": "^17 || ^18"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "f856af105070fec983e76afa262b37aa99737e63"
|
|
74
74
|
}
|
|
@@ -24,6 +24,10 @@ export interface IconComponentProps extends Omit<React.HTMLProps<HTMLSpanElement
|
|
|
24
24
|
isInProgress?: boolean;
|
|
25
25
|
/** Aria-label for the default progress icon */
|
|
26
26
|
defaultProgressArialabel?: string;
|
|
27
|
+
/** @beta Flag indicating whether the icon passed as children should be mirrored for
|
|
28
|
+
* right to left (RTL) languages. This will not mirror the icon passed to progressIcon.
|
|
29
|
+
*/
|
|
30
|
+
shouldMirrorRTL?: boolean;
|
|
27
31
|
}
|
|
28
32
|
|
|
29
33
|
export const Icon: React.FunctionComponent<IconComponentProps> = ({
|
|
@@ -37,6 +41,7 @@ export const Icon: React.FunctionComponent<IconComponentProps> = ({
|
|
|
37
41
|
isInline = false,
|
|
38
42
|
isInProgress = false,
|
|
39
43
|
defaultProgressArialabel = 'Loading...',
|
|
44
|
+
shouldMirrorRTL = false,
|
|
40
45
|
...props
|
|
41
46
|
}: IconComponentProps) => {
|
|
42
47
|
const _progressIcon = progressIcon ?? <Spinner diameter="1em" aria-label={defaultProgressArialabel} />;
|
|
@@ -52,7 +57,16 @@ export const Icon: React.FunctionComponent<IconComponentProps> = ({
|
|
|
52
57
|
)}
|
|
53
58
|
{...props}
|
|
54
59
|
>
|
|
55
|
-
<span
|
|
60
|
+
<span
|
|
61
|
+
className={css(
|
|
62
|
+
styles.iconContent,
|
|
63
|
+
styles.modifiers[iconSize],
|
|
64
|
+
styles.modifiers[status],
|
|
65
|
+
shouldMirrorRTL && 'pf-v5-m-mirror-inline-rtl'
|
|
66
|
+
)}
|
|
67
|
+
>
|
|
68
|
+
{children}
|
|
69
|
+
</span>
|
|
56
70
|
{isInProgress && (
|
|
57
71
|
<span className={css(styles.iconProgress, styles.modifiers[progressIconSize], className)}>{_progressIcon}</span>
|
|
58
72
|
)}
|
|
@@ -194,3 +194,19 @@ test('renders progress icon successfully', () => {
|
|
|
194
194
|
);
|
|
195
195
|
expect(asFragment()).toMatchSnapshot();
|
|
196
196
|
});
|
|
197
|
+
|
|
198
|
+
test('Renders with class pf-v5-m-mirror-inline-rtl on icon passed as children when shouldMirrorRTL is true', () => {
|
|
199
|
+
render(<Icon shouldMirrorRTL>Icon content</Icon>);
|
|
200
|
+
|
|
201
|
+
expect(screen.getByText('Icon content')).toHaveClass('pf-v5-m-mirror-inline-rtl');
|
|
202
|
+
});
|
|
203
|
+
|
|
204
|
+
test('Does not render with class pf-v5-m-mirror-inline-rtl on progressIcon when shouldMirrorRTL is true', () => {
|
|
205
|
+
render(
|
|
206
|
+
<Icon shouldMirrorRTL isInProgress progressIcon="Progress icon">
|
|
207
|
+
Icon content
|
|
208
|
+
</Icon>
|
|
209
|
+
);
|
|
210
|
+
|
|
211
|
+
expect(screen.getByText('Progress icon')).not.toHaveClass('pf-v5-m-mirror-inline-rtl');
|
|
212
|
+
});
|
|
@@ -27,7 +27,7 @@ export interface NavItemProps extends Omit<React.HTMLProps<HTMLAnchorElement>, '
|
|
|
27
27
|
/** Callback for item click */
|
|
28
28
|
onClick?: NavSelectClickHandler;
|
|
29
29
|
/** Component used to render NavItems if React.isValidElement(children) is false */
|
|
30
|
-
component?: React.
|
|
30
|
+
component?: React.ElementType<any> | React.ComponentType<any>;
|
|
31
31
|
/** Flyout of a nav item. This should be a Menu component. Should not be used if the to prop is defined. */
|
|
32
32
|
flyout?: React.ReactElement;
|
|
33
33
|
/** Callback when flyout is opened or closed */
|
|
@@ -2,6 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { css } from '@patternfly/react-styles';
|
|
3
3
|
import { Button, ButtonVariant } from '../Button';
|
|
4
4
|
import { Badge } from '../Badge';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
5
6
|
import AngleDownIcon from '@patternfly/react-icons/dist/esm/icons/angle-down-icon';
|
|
6
7
|
import AngleUpIcon from '@patternfly/react-icons/dist/esm/icons/angle-up-icon';
|
|
7
8
|
import TimesIcon from '@patternfly/react-icons/dist/esm/icons/times-icon';
|
|
@@ -375,7 +376,7 @@ const SearchInputBase: React.FunctionComponent<SearchInputProps> = ({
|
|
|
375
376
|
</InputGroupItem>
|
|
376
377
|
)}
|
|
377
378
|
{!!onSearch && (
|
|
378
|
-
<InputGroupItem
|
|
379
|
+
<InputGroupItem>
|
|
379
380
|
<Button
|
|
380
381
|
type="submit"
|
|
381
382
|
variant={ButtonVariant.control}
|
|
@@ -383,7 +384,9 @@ const SearchInputBase: React.FunctionComponent<SearchInputProps> = ({
|
|
|
383
384
|
onClick={onSearchHandler}
|
|
384
385
|
isDisabled={isDisabled}
|
|
385
386
|
>
|
|
386
|
-
<
|
|
387
|
+
<Icon shouldMirrorRTL>
|
|
388
|
+
<ArrowRightIcon />
|
|
389
|
+
</Icon>
|
|
387
390
|
</Button>
|
|
388
391
|
</InputGroupItem>
|
|
389
392
|
)}
|
|
@@ -103,7 +103,7 @@ exports[`SearchInput advanced search 1`] = `
|
|
|
103
103
|
</button>
|
|
104
104
|
</div>
|
|
105
105
|
<div
|
|
106
|
-
class="pf-v5-c-input-group__item
|
|
106
|
+
class="pf-v5-c-input-group__item"
|
|
107
107
|
>
|
|
108
108
|
<button
|
|
109
109
|
aria-disabled="false"
|
|
@@ -114,19 +114,27 @@ exports[`SearchInput advanced search 1`] = `
|
|
|
114
114
|
data-ouia-safe="true"
|
|
115
115
|
type="submit"
|
|
116
116
|
>
|
|
117
|
-
<
|
|
118
|
-
|
|
119
|
-
class="pf-v5-svg"
|
|
120
|
-
fill="currentColor"
|
|
121
|
-
height="1em"
|
|
122
|
-
role="img"
|
|
123
|
-
viewBox="0 0 448 512"
|
|
124
|
-
width="1em"
|
|
117
|
+
<span
|
|
118
|
+
class="pf-v5-c-icon"
|
|
125
119
|
>
|
|
126
|
-
<
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
120
|
+
<span
|
|
121
|
+
class="pf-v5-c-icon__content pf-v5-m-mirror-inline-rtl"
|
|
122
|
+
>
|
|
123
|
+
<svg
|
|
124
|
+
aria-hidden="true"
|
|
125
|
+
class="pf-v5-svg"
|
|
126
|
+
fill="currentColor"
|
|
127
|
+
height="1em"
|
|
128
|
+
role="img"
|
|
129
|
+
viewBox="0 0 448 512"
|
|
130
|
+
width="1em"
|
|
131
|
+
>
|
|
132
|
+
<path
|
|
133
|
+
d="M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"
|
|
134
|
+
/>
|
|
135
|
+
</svg>
|
|
136
|
+
</span>
|
|
137
|
+
</span>
|
|
130
138
|
</button>
|
|
131
139
|
</div>
|
|
132
140
|
</div>
|
|
@@ -245,7 +253,7 @@ exports[`SearchInput advanced search with custom attributes 1`] = `
|
|
|
245
253
|
</button>
|
|
246
254
|
</div>
|
|
247
255
|
<div
|
|
248
|
-
class="pf-v5-c-input-group__item
|
|
256
|
+
class="pf-v5-c-input-group__item"
|
|
249
257
|
>
|
|
250
258
|
<button
|
|
251
259
|
aria-disabled="false"
|
|
@@ -256,19 +264,27 @@ exports[`SearchInput advanced search with custom attributes 1`] = `
|
|
|
256
264
|
data-ouia-safe="true"
|
|
257
265
|
type="submit"
|
|
258
266
|
>
|
|
259
|
-
<
|
|
260
|
-
|
|
261
|
-
class="pf-v5-svg"
|
|
262
|
-
fill="currentColor"
|
|
263
|
-
height="1em"
|
|
264
|
-
role="img"
|
|
265
|
-
viewBox="0 0 448 512"
|
|
266
|
-
width="1em"
|
|
267
|
+
<span
|
|
268
|
+
class="pf-v5-c-icon"
|
|
267
269
|
>
|
|
268
|
-
<
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
270
|
+
<span
|
|
271
|
+
class="pf-v5-c-icon__content pf-v5-m-mirror-inline-rtl"
|
|
272
|
+
>
|
|
273
|
+
<svg
|
|
274
|
+
aria-hidden="true"
|
|
275
|
+
class="pf-v5-svg"
|
|
276
|
+
fill="currentColor"
|
|
277
|
+
height="1em"
|
|
278
|
+
role="img"
|
|
279
|
+
viewBox="0 0 448 512"
|
|
280
|
+
width="1em"
|
|
281
|
+
>
|
|
282
|
+
<path
|
|
283
|
+
d="M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"
|
|
284
|
+
/>
|
|
285
|
+
</svg>
|
|
286
|
+
</span>
|
|
287
|
+
</span>
|
|
272
288
|
</button>
|
|
273
289
|
</div>
|
|
274
290
|
</div>
|
|
@@ -579,7 +595,7 @@ exports[`SearchInput renders search input in strict mode 1`] = `
|
|
|
579
595
|
</button>
|
|
580
596
|
</div>
|
|
581
597
|
<div
|
|
582
|
-
class="pf-v5-c-input-group__item
|
|
598
|
+
class="pf-v5-c-input-group__item"
|
|
583
599
|
>
|
|
584
600
|
<button
|
|
585
601
|
aria-disabled="false"
|
|
@@ -590,19 +606,27 @@ exports[`SearchInput renders search input in strict mode 1`] = `
|
|
|
590
606
|
data-ouia-safe="true"
|
|
591
607
|
type="submit"
|
|
592
608
|
>
|
|
593
|
-
<
|
|
594
|
-
|
|
595
|
-
class="pf-v5-svg"
|
|
596
|
-
fill="currentColor"
|
|
597
|
-
height="1em"
|
|
598
|
-
role="img"
|
|
599
|
-
viewBox="0 0 448 512"
|
|
600
|
-
width="1em"
|
|
609
|
+
<span
|
|
610
|
+
class="pf-v5-c-icon"
|
|
601
611
|
>
|
|
602
|
-
<
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
612
|
+
<span
|
|
613
|
+
class="pf-v5-c-icon__content pf-v5-m-mirror-inline-rtl"
|
|
614
|
+
>
|
|
615
|
+
<svg
|
|
616
|
+
aria-hidden="true"
|
|
617
|
+
class="pf-v5-svg"
|
|
618
|
+
fill="currentColor"
|
|
619
|
+
height="1em"
|
|
620
|
+
role="img"
|
|
621
|
+
viewBox="0 0 448 512"
|
|
622
|
+
width="1em"
|
|
623
|
+
>
|
|
624
|
+
<path
|
|
625
|
+
d="M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"
|
|
626
|
+
/>
|
|
627
|
+
</svg>
|
|
628
|
+
</span>
|
|
629
|
+
</span>
|
|
606
630
|
</button>
|
|
607
631
|
</div>
|
|
608
632
|
</div>
|
|
@@ -746,7 +770,7 @@ exports[`SearchInput search input with hint 1`] = `
|
|
|
746
770
|
</div>
|
|
747
771
|
</div>
|
|
748
772
|
<div
|
|
749
|
-
class="pf-v5-c-input-group__item
|
|
773
|
+
class="pf-v5-c-input-group__item"
|
|
750
774
|
>
|
|
751
775
|
<button
|
|
752
776
|
aria-disabled="false"
|
|
@@ -757,19 +781,27 @@ exports[`SearchInput search input with hint 1`] = `
|
|
|
757
781
|
data-ouia-safe="true"
|
|
758
782
|
type="submit"
|
|
759
783
|
>
|
|
760
|
-
<
|
|
761
|
-
|
|
762
|
-
class="pf-v5-svg"
|
|
763
|
-
fill="currentColor"
|
|
764
|
-
height="1em"
|
|
765
|
-
role="img"
|
|
766
|
-
viewBox="0 0 448 512"
|
|
767
|
-
width="1em"
|
|
784
|
+
<span
|
|
785
|
+
class="pf-v5-c-icon"
|
|
768
786
|
>
|
|
769
|
-
<
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
787
|
+
<span
|
|
788
|
+
class="pf-v5-c-icon__content pf-v5-m-mirror-inline-rtl"
|
|
789
|
+
>
|
|
790
|
+
<svg
|
|
791
|
+
aria-hidden="true"
|
|
792
|
+
class="pf-v5-svg"
|
|
793
|
+
fill="currentColor"
|
|
794
|
+
height="1em"
|
|
795
|
+
role="img"
|
|
796
|
+
viewBox="0 0 448 512"
|
|
797
|
+
width="1em"
|
|
798
|
+
>
|
|
799
|
+
<path
|
|
800
|
+
d="M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"
|
|
801
|
+
/>
|
|
802
|
+
</svg>
|
|
803
|
+
</span>
|
|
804
|
+
</span>
|
|
773
805
|
</button>
|
|
774
806
|
</div>
|
|
775
807
|
</div>
|
|
@@ -898,7 +930,7 @@ exports[`SearchInput simple search input 1`] = `
|
|
|
898
930
|
</div>
|
|
899
931
|
</div>
|
|
900
932
|
<div
|
|
901
|
-
class="pf-v5-c-input-group__item
|
|
933
|
+
class="pf-v5-c-input-group__item"
|
|
902
934
|
>
|
|
903
935
|
<button
|
|
904
936
|
aria-disabled="false"
|
|
@@ -909,19 +941,27 @@ exports[`SearchInput simple search input 1`] = `
|
|
|
909
941
|
data-ouia-safe="true"
|
|
910
942
|
type="submit"
|
|
911
943
|
>
|
|
912
|
-
<
|
|
913
|
-
|
|
914
|
-
class="pf-v5-svg"
|
|
915
|
-
fill="currentColor"
|
|
916
|
-
height="1em"
|
|
917
|
-
role="img"
|
|
918
|
-
viewBox="0 0 448 512"
|
|
919
|
-
width="1em"
|
|
944
|
+
<span
|
|
945
|
+
class="pf-v5-c-icon"
|
|
920
946
|
>
|
|
921
|
-
<
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
947
|
+
<span
|
|
948
|
+
class="pf-v5-c-icon__content pf-v5-m-mirror-inline-rtl"
|
|
949
|
+
>
|
|
950
|
+
<svg
|
|
951
|
+
aria-hidden="true"
|
|
952
|
+
class="pf-v5-svg"
|
|
953
|
+
fill="currentColor"
|
|
954
|
+
height="1em"
|
|
955
|
+
role="img"
|
|
956
|
+
viewBox="0 0 448 512"
|
|
957
|
+
width="1em"
|
|
958
|
+
>
|
|
959
|
+
<path
|
|
960
|
+
d="M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"
|
|
961
|
+
/>
|
|
962
|
+
</svg>
|
|
963
|
+
</span>
|
|
964
|
+
</span>
|
|
925
965
|
</button>
|
|
926
966
|
</div>
|
|
927
967
|
</div>
|
|
@@ -128,7 +128,7 @@ exports[`ContextSelector Renders ContextSelector open 1`] = `
|
|
|
128
128
|
</div>
|
|
129
129
|
</div>
|
|
130
130
|
<div
|
|
131
|
-
class="pf-v5-c-input-group__item
|
|
131
|
+
class="pf-v5-c-input-group__item"
|
|
132
132
|
>
|
|
133
133
|
<button
|
|
134
134
|
aria-disabled="false"
|
|
@@ -139,19 +139,27 @@ exports[`ContextSelector Renders ContextSelector open 1`] = `
|
|
|
139
139
|
data-ouia-safe="true"
|
|
140
140
|
type="submit"
|
|
141
141
|
>
|
|
142
|
-
<
|
|
143
|
-
|
|
144
|
-
class="pf-v5-svg"
|
|
145
|
-
fill="currentColor"
|
|
146
|
-
height="1em"
|
|
147
|
-
role="img"
|
|
148
|
-
viewBox="0 0 448 512"
|
|
149
|
-
width="1em"
|
|
142
|
+
<span
|
|
143
|
+
class="pf-v5-c-icon"
|
|
150
144
|
>
|
|
151
|
-
<
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
145
|
+
<span
|
|
146
|
+
class="pf-v5-c-icon__content pf-v5-m-mirror-inline-rtl"
|
|
147
|
+
>
|
|
148
|
+
<svg
|
|
149
|
+
aria-hidden="true"
|
|
150
|
+
class="pf-v5-svg"
|
|
151
|
+
fill="currentColor"
|
|
152
|
+
height="1em"
|
|
153
|
+
role="img"
|
|
154
|
+
viewBox="0 0 448 512"
|
|
155
|
+
width="1em"
|
|
156
|
+
>
|
|
157
|
+
<path
|
|
158
|
+
d="M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"
|
|
159
|
+
/>
|
|
160
|
+
</svg>
|
|
161
|
+
</span>
|
|
162
|
+
</span>
|
|
155
163
|
</button>
|
|
156
164
|
</div>
|
|
157
165
|
</div>
|
|
@@ -305,7 +313,7 @@ exports[`ContextSelector Renders in strict mode 1`] = `
|
|
|
305
313
|
</div>
|
|
306
314
|
</div>
|
|
307
315
|
<div
|
|
308
|
-
class="pf-v5-c-input-group__item
|
|
316
|
+
class="pf-v5-c-input-group__item"
|
|
309
317
|
>
|
|
310
318
|
<button
|
|
311
319
|
aria-disabled="false"
|
|
@@ -316,19 +324,27 @@ exports[`ContextSelector Renders in strict mode 1`] = `
|
|
|
316
324
|
data-ouia-safe="true"
|
|
317
325
|
type="submit"
|
|
318
326
|
>
|
|
319
|
-
<
|
|
320
|
-
|
|
321
|
-
class="pf-v5-svg"
|
|
322
|
-
fill="currentColor"
|
|
323
|
-
height="1em"
|
|
324
|
-
role="img"
|
|
325
|
-
viewBox="0 0 448 512"
|
|
326
|
-
width="1em"
|
|
327
|
+
<span
|
|
328
|
+
class="pf-v5-c-icon"
|
|
327
329
|
>
|
|
328
|
-
<
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
330
|
+
<span
|
|
331
|
+
class="pf-v5-c-icon__content pf-v5-m-mirror-inline-rtl"
|
|
332
|
+
>
|
|
333
|
+
<svg
|
|
334
|
+
aria-hidden="true"
|
|
335
|
+
class="pf-v5-svg"
|
|
336
|
+
fill="currentColor"
|
|
337
|
+
height="1em"
|
|
338
|
+
role="img"
|
|
339
|
+
viewBox="0 0 448 512"
|
|
340
|
+
width="1em"
|
|
341
|
+
>
|
|
342
|
+
<path
|
|
343
|
+
d="M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"
|
|
344
|
+
/>
|
|
345
|
+
</svg>
|
|
346
|
+
</span>
|
|
347
|
+
</span>
|
|
332
348
|
</button>
|
|
333
349
|
</div>
|
|
334
350
|
</div>
|