@patternfly/react-core 6.5.0-prerelease.50 → 6.5.0-prerelease.51
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 +6 -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/ClipboardCopy/package.json +1 -1
- package/dist/dynamic/components/CodeBlock/package.json +1 -1
- package/dist/dynamic/components/Compass/package.json +1 -1
- package/dist/dynamic/components/Content/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/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/Hero/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/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/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/Chip/package.json +1 -1
- package/dist/dynamic/deprecated/components/DragDrop/package.json +1 -1
- package/dist/dynamic/deprecated/components/DualListSelector/package.json +1 -1
- package/dist/dynamic/deprecated/components/Modal/package.json +1 -1
- package/dist/dynamic/deprecated/components/Tile/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/AnimationsProvider/AnimationsProvider/package.json +1 -1
- package/dist/dynamic/helpers/AnimationsProvider/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/SSRSafeIds/SSRSafeIds/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/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/useSSRSafeId/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/styles/package.json +1 -1
- package/dist/esm/components/Button/Button.js +2 -2
- package/dist/esm/components/Button/Button.js.map +1 -1
- package/dist/esm/components/MenuToggle/MenuToggle.js +2 -2
- package/dist/esm/components/MenuToggle/MenuToggle.js.map +1 -1
- package/dist/esm/demos/DashboardHeader.js +2 -2
- package/dist/esm/demos/DashboardHeader.js.map +1 -1
- package/dist/js/components/Button/Button.js +2 -2
- package/dist/js/components/Button/Button.js.map +1 -1
- package/dist/js/components/MenuToggle/MenuToggle.js +2 -2
- package/dist/js/components/MenuToggle/MenuToggle.js.map +1 -1
- package/dist/js/demos/DashboardHeader.js +2 -2
- package/dist/js/demos/DashboardHeader.js.map +1 -1
- package/dist/umd/assets/{output-iMhx1BC1.css → output-DlcISGl2.css} +24552 -24552
- 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 +2 -2
- package/src/components/Button/Button.tsx +2 -2
- package/src/components/Icon/examples/Icon.md +10 -1
- package/src/components/Icon/examples/IconBasic.tsx +2 -2
- package/src/components/MenuToggle/MenuToggle.tsx +2 -2
- package/src/components/MenuToggle/__tests__/MenuToggle.test.tsx +2 -2
- package/src/components/MenuToggle/__tests__/__snapshots__/MenuToggle.test.tsx.snap +4 -16
- package/src/demos/CustomMenus/CustomMenus.md +1 -1
- package/src/demos/DashboardHeader.tsx +2 -2
- package/src/demos/Masthead.md +4 -2
- package/src/demos/Nav.md +10 -1
- package/src/demos/NotificationDrawer/NotificationDrawer.md +1 -2
- package/src/demos/NotificationDrawer/examples/NotificationDrawerBasic.tsx +2 -2
- package/src/demos/NotificationDrawer/examples/NotificationDrawerGrouped.tsx +2 -2
- package/src/demos/Page.md +1 -1
- package/src/demos/RTL/RTL.md +1 -1
- package/src/demos/RTL/examples/PaginatedTable.tsx +2 -2
- package/src/demos/Toolbar.md +2 -1
- package/src/demos/examples/Masthead/MastheadWithHorizontalNav.tsx +2 -2
- package/src/demos/examples/Masthead/MastheadWithUtilitiesAndUserDropdownMenu.tsx +2 -2
- package/src/demos/examples/Nav/NavFlyout.tsx +2 -2
- package/src/demos/examples/Nav/NavHorizontal.tsx +2 -2
- package/src/demos/examples/Nav/NavHorizontalWithSubnav.tsx +2 -2
- package/src/demos/examples/Nav/NavManual.tsx +2 -2
- package/src/demos/examples/Page/PageContextSelector.tsx +2 -2
- package/src/demos/examples/Page/PageStickySectionBreadcrumb.tsx +2 -2
- package/src/demos/examples/Page/PageStickySectionGroup.tsx +2 -2
- package/src/demos/examples/Page/PageStickySectionGroupAlternate.tsx +2 -2
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":"6.5.0-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":"6.5.0-prerelease.50","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":"6.5.0-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":"6.5.0-prerelease.50","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":"6.5.0-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":"6.5.0-prerelease.50","private":true}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-core",
|
|
3
|
-
"version": "6.5.0-prerelease.
|
|
3
|
+
"version": "6.5.0-prerelease.51",
|
|
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",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"react": "^17 || ^18 || ^19",
|
|
64
64
|
"react-dom": "^17 || ^18 || ^19"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "a0b9ac014defa883b866ff864ae857be51d7c6fe"
|
|
67
67
|
}
|
|
@@ -6,7 +6,7 @@ import { useOUIAProps, OUIAProps } from '../../helpers/OUIA/ouia';
|
|
|
6
6
|
import { Badge } from '../Badge';
|
|
7
7
|
import StarIcon from '@patternfly/react-icons/dist/esm/icons/star-icon';
|
|
8
8
|
import OutlinedStarIcon from '@patternfly/react-icons/dist/esm/icons/outlined-star-icon';
|
|
9
|
-
import
|
|
9
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
10
10
|
import { hamburgerIcon } from './hamburgerIcon';
|
|
11
11
|
|
|
12
12
|
export enum ButtonVariant {
|
|
@@ -215,7 +215,7 @@ const ButtonBase: React.FunctionComponent<ButtonProps> = ({
|
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
if (isSettings) {
|
|
218
|
-
iconContent = <
|
|
218
|
+
iconContent = <RhUiSettingsFillIcon />;
|
|
219
219
|
}
|
|
220
220
|
if (isHamburger) {
|
|
221
221
|
iconContent = hamburgerIcon;
|
|
@@ -9,7 +9,7 @@ import { Fragment, useState } from 'react';
|
|
|
9
9
|
import LongArrowAltDownIcon from '@patternfly/react-icons/dist/esm/icons/long-arrow-alt-down-icon';
|
|
10
10
|
import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon';
|
|
11
11
|
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
12
|
-
import
|
|
12
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
13
13
|
import PlusCircleIcon from '@patternfly/react-icons/dist/esm/icons/plus-circle-icon';
|
|
14
14
|
import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
|
|
15
15
|
import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
|
|
@@ -22,6 +22,7 @@ import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-
|
|
|
22
22
|
### Basic
|
|
23
23
|
|
|
24
24
|
```ts file="IconBasic.tsx"
|
|
25
|
+
|
|
25
26
|
```
|
|
26
27
|
|
|
27
28
|
### Standalone icon sizes
|
|
@@ -29,6 +30,7 @@ import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-
|
|
|
29
30
|
These are the standard options for sizing icons.
|
|
30
31
|
|
|
31
32
|
```ts file="StandaloneIconSizes.tsx"
|
|
33
|
+
|
|
32
34
|
```
|
|
33
35
|
|
|
34
36
|
### Body sizes
|
|
@@ -36,6 +38,7 @@ These are the standard options for sizing icons.
|
|
|
36
38
|
These size options are meant to make icons match the size of body text.
|
|
37
39
|
|
|
38
40
|
```ts file="BodyIconSizes.tsx"
|
|
41
|
+
|
|
39
42
|
```
|
|
40
43
|
|
|
41
44
|
### Heading sizes
|
|
@@ -43,6 +46,7 @@ These size options are meant to make icons match the size of body text.
|
|
|
43
46
|
These size options are meant to make icons match the size of heading text.
|
|
44
47
|
|
|
45
48
|
```ts file="HeadingIconSizes.tsx"
|
|
49
|
+
|
|
46
50
|
```
|
|
47
51
|
|
|
48
52
|
### Status colors
|
|
@@ -50,6 +54,7 @@ These size options are meant to make icons match the size of heading text.
|
|
|
50
54
|
The following example demonstrates the various status variants of an icon. Keep in mind that these icons are displayed out of a typical context, and that you should not rely on color alone to convey status to users.
|
|
51
55
|
|
|
52
56
|
```ts file="IconStatus.tsx"
|
|
57
|
+
|
|
53
58
|
```
|
|
54
59
|
|
|
55
60
|
### Sizing an icon within the icon container
|
|
@@ -57,11 +62,13 @@ The following example demonstrates the various status variants of an icon. Keep
|
|
|
57
62
|
Providing both size and iconSize properties allows the icon container to maintain a consistent size, even if the icon changes in size.
|
|
58
63
|
|
|
59
64
|
```ts file="IconContentSizes.tsx"
|
|
65
|
+
|
|
60
66
|
```
|
|
61
67
|
|
|
62
68
|
### Inline
|
|
63
69
|
|
|
64
70
|
```ts file="IconInline.tsx"
|
|
71
|
+
|
|
65
72
|
```
|
|
66
73
|
|
|
67
74
|
### In progress
|
|
@@ -69,9 +76,11 @@ Providing both size and iconSize properties allows the icon container to maintai
|
|
|
69
76
|
Passing the `isInProgress` property will swap the icon to a progress icon. By default this progress icon will be a `Spinner` but may be customized or overriden using the `progressIcon` property.
|
|
70
77
|
|
|
71
78
|
```ts file="IconProgress.tsx"
|
|
79
|
+
|
|
72
80
|
```
|
|
73
81
|
|
|
74
82
|
### Custom in progress icon
|
|
75
83
|
|
|
76
84
|
```ts file="IconCustomProgress.tsx"
|
|
85
|
+
|
|
77
86
|
```
|
|
@@ -3,7 +3,7 @@ import { Icon } from '@patternfly/react-core';
|
|
|
3
3
|
import LongArrowAltDownIcon from '@patternfly/react-icons/dist/esm/icons/long-arrow-alt-down-icon';
|
|
4
4
|
import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon';
|
|
5
5
|
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
6
|
-
import
|
|
6
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
7
7
|
|
|
8
8
|
export const IconBasic: React.FunctionComponent = () => (
|
|
9
9
|
<Fragment>
|
|
@@ -17,7 +17,7 @@ export const IconBasic: React.FunctionComponent = () => (
|
|
|
17
17
|
<RhMicronsCaretDownIcon />
|
|
18
18
|
</Icon>{' '}
|
|
19
19
|
<Icon>
|
|
20
|
-
<
|
|
20
|
+
<RhUiSettingsFillIcon />
|
|
21
21
|
</Icon>
|
|
22
22
|
</Fragment>
|
|
23
23
|
);
|
|
@@ -3,7 +3,7 @@ import styles from '@patternfly/react-styles/css/components/MenuToggle/menu-togg
|
|
|
3
3
|
import { css } from '@patternfly/react-styles';
|
|
4
4
|
import CaretDownIcon from '@patternfly/react-icons/dist/esm/icons/caret-down-icon';
|
|
5
5
|
import { BadgeProps } from '../Badge';
|
|
6
|
-
import
|
|
6
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
7
7
|
import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
|
|
8
8
|
import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
|
|
9
9
|
import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
|
|
@@ -150,7 +150,7 @@ class MenuToggleBase extends Component<MenuToggleProps> {
|
|
|
150
150
|
const content = (
|
|
151
151
|
<>
|
|
152
152
|
{(icon || isSettings) && (
|
|
153
|
-
<span className={css(styles.menuToggleIcon)}>{isSettings ? <
|
|
153
|
+
<span className={css(styles.menuToggleIcon)}>{isSettings ? <RhUiSettingsFillIcon /> : icon}</span>
|
|
154
154
|
)}
|
|
155
155
|
{isTypeahead ? children : children && <span className={css(styles.menuToggleText)}>{children}</span>}
|
|
156
156
|
{isValidElement(badge) && <span className={css(styles.menuToggleCount)}>{badge}</span>}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MenuToggle } from '../MenuToggle';
|
|
2
2
|
import { MenuToggleCheckbox } from '../MenuToggleCheckbox';
|
|
3
3
|
import { Badge } from '../../Badge';
|
|
4
|
-
import
|
|
4
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
5
5
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
6
6
|
import userEvent from '@testing-library/user-event';
|
|
7
7
|
import { render, screen } from '@testing-library/react';
|
|
@@ -45,7 +45,7 @@ describe('Old Snapshot tests - remove when refactoring', () => {
|
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
test('shows icon', () => {
|
|
48
|
-
const { asFragment } = render(<MenuToggle icon={<
|
|
48
|
+
const { asFragment } = render(<MenuToggle icon={<RhUiSettingsFillIcon />}>Toggle</MenuToggle>);
|
|
49
49
|
expect(asFragment()).toMatchSnapshot();
|
|
50
50
|
});
|
|
51
51
|
|
|
@@ -184,24 +184,12 @@ exports[`Old Snapshot tests - remove when refactoring shows icon 1`] = `
|
|
|
184
184
|
fill="currentColor"
|
|
185
185
|
height="1em"
|
|
186
186
|
role="img"
|
|
187
|
+
viewBox="0 0 32 32"
|
|
187
188
|
width="1em"
|
|
188
189
|
>
|
|
189
|
-
<
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
>
|
|
193
|
-
<path
|
|
194
|
-
d="M487.4 315.7l-42.6-24.6c4.3-23.2 4.3-47 0-70.2l42.6-24.6c4.9-2.8 7.1-8.6 5.5-14-11.1-35.6-30-67.8-54.7-94.6-3.8-4.1-10-5.1-14.8-2.3L380.8 110c-17.9-15.4-38.5-27.3-60.8-35.1V25.8c0-5.6-3.9-10.5-9.4-11.7-36.7-8.2-74.3-7.8-109.2 0-5.5 1.2-9.4 6.1-9.4 11.7V75c-22.2 7.9-42.8 19.8-60.8 35.1L88.7 85.5c-4.9-2.8-11-1.9-14.8 2.3-24.7 26.7-43.6 58.9-54.7 94.6-1.7 5.4.6 11.2 5.5 14L67.3 221c-4.3 23.2-4.3 47 0 70.2l-42.6 24.6c-4.9 2.8-7.1 8.6-5.5 14 11.1 35.6 30 67.8 54.7 94.6 3.8 4.1 10 5.1 14.8 2.3l42.6-24.6c17.9 15.4 38.5 27.3 60.8 35.1v49.2c0 5.6 3.9 10.5 9.4 11.7 36.7 8.2 74.3 7.8 109.2 0 5.5-1.2 9.4-6.1 9.4-11.7v-49.2c22.2-7.9 42.8-19.8 60.8-35.1l42.6 24.6c4.9 2.8 11 1.9 14.8-2.3 24.7-26.7 43.6-58.9 54.7-94.6 1.5-5.5-.7-11.3-5.6-14.1zM256 336c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"
|
|
195
|
-
/>
|
|
196
|
-
</svg>
|
|
197
|
-
<svg
|
|
198
|
-
class="pf-v6-icon-rh-ui"
|
|
199
|
-
viewBox="0 0 32 32"
|
|
200
|
-
>
|
|
201
|
-
<path
|
|
202
|
-
d="M16 11c-2.757 0-5 2.243-5 5s2.243 5 5 5 5-2.243 5-5-2.243-5-5-5Zm0 8c-1.654 0-3-1.346-3-3s1.346-3 3-3 3 1.346 3 3-1.346 3-3 3Zm14.657-6.211c-.1-.46-.507-.789-.978-.789h-2.373c-.141-.4-.302-.791-.481-1.168l1.677-1.676a1 1 0 0 0 .134-1.249 15.23 15.23 0 0 0-4.543-4.542 1 1 0 0 0-1.248.134l-1.677 1.676c-.378-.18-.768-.341-1.168-.481V2.32a1 1 0 0 0-.788-.978 15.32 15.32 0 0 0-6.424 0A1 1 0 0 0 12 2.32v2.374c-.4.141-.79.302-1.168.481L9.155 3.499a1 1 0 0 0-1.248-.134 15.246 15.246 0 0 0-4.543 4.541 1 1 0 0 0 .134 1.249l1.677 1.676c-.18.378-.341.769-.481 1.168H2.321a1 1 0 0 0-.978.789 15.17 15.17 0 0 0 0 6.422c.1.46.507.789.978.789h2.373c.141.4.302.791.481 1.168l-1.677 1.676a1 1 0 0 0-.134 1.249 15.253 15.253 0 0 0 4.543 4.542 1 1 0 0 0 1.248-.134l1.677-1.676c.378.18.768.341 1.168.481v2.374a1 1 0 0 0 .788.978 15.23 15.23 0 0 0 6.424 0 1 1 0 0 0 .788-.978v-2.374c.4-.141.79-.302 1.168-.481l1.677 1.676a1 1 0 0 0 1.248.134 15.2 15.2 0 0 0 4.543-4.542 1 1 0 0 0-.134-1.249l-1.677-1.676c.18-.378.341-.769.481-1.168h2.373a1 1 0 0 0 .978-.789 15.177 15.177 0 0 0 0-6.422ZM28.848 18h-2.272a1 1 0 0 0-.962.727 9.963 9.963 0 0 1-.885 2.144 1 1 0 0 0 .166 1.195l1.604 1.604a13.234 13.234 0 0 1-2.828 2.829l-1.604-1.604a1 1 0 0 0-1.195-.166 9.96 9.96 0 0 1-2.144.884 1 1 0 0 0-.728.962v2.273a13.277 13.277 0 0 1-4 0v-2.273a1 1 0 0 0-.728-.962 9.96 9.96 0 0 1-2.144-.884 1.001 1.001 0 0 0-1.195.166l-1.604 1.604a13.196 13.196 0 0 1-2.828-2.829l1.604-1.604c.316-.316.384-.805.166-1.195a9.963 9.963 0 0 1-.885-2.144A1 1 0 0 0 5.424 18H3.152a13.126 13.126 0 0 1 0-4h2.272a1 1 0 0 0 .962-.727 9.963 9.963 0 0 1 .885-2.144 1 1 0 0 0-.166-1.195L5.501 8.33a13.163 13.163 0 0 1 2.828-2.829l1.604 1.604c.316.316.805.383 1.195.166a9.96 9.96 0 0 1 2.144-.884A1 1 0 0 0 14 5.425V3.152a13.277 13.277 0 0 1 4 0v2.273a1 1 0 0 0 .728.962 9.96 9.96 0 0 1 2.144.884 1 1 0 0 0 1.195-.166l1.604-1.604a13.196 13.196 0 0 1 2.828 2.828l-1.604 1.604a1.001 1.001 0 0 0-.166 1.195c.372.665.67 1.386.885 2.144a1 1 0 0 0 .962.727h2.272a13.245 13.245 0 0 1 0 4Z"
|
|
203
|
-
/>
|
|
204
|
-
</svg>
|
|
190
|
+
<path
|
|
191
|
+
d="M30.168 12.894a.5.5 0 0 0-.488-.394h-2.732a11.512 11.512 0 0 0-.729-1.769l1.931-1.93a.5.5 0 0 0 .066-.625 14.693 14.693 0 0 0-4.393-4.392.498.498 0 0 0-.624.067l-1.93 1.93a11.512 11.512 0 0 0-1.769-.729V2.319a.5.5 0 0 0-.395-.489 14.81 14.81 0 0 0-6.211 0 .5.5 0 0 0-.395.489v2.733c-.614.196-1.207.439-1.769.729L8.8 3.851a.498.498 0 0 0-.624-.067 14.714 14.714 0 0 0-4.393 4.392.5.5 0 0 0 .066.625l1.931 1.93a11.512 11.512 0 0 0-.729 1.769H2.319a.5.5 0 0 0-.488.394 14.652 14.652 0 0 0 0 6.212.5.5 0 0 0 .488.394h2.732c.196.615.44 1.207.729 1.769l-1.931 1.93a.5.5 0 0 0-.066.625 14.673 14.673 0 0 0 4.393 4.392.498.498 0 0 0 .624-.067l1.93-1.93c.562.289 1.154.533 1.769.729v2.733a.5.5 0 0 0 .395.489 14.686 14.686 0 0 0 6.21 0 .5.5 0 0 0 .395-.489v-2.733a11.454 11.454 0 0 0 1.769-.729l1.93 1.93a.5.5 0 0 0 .624.067 14.714 14.714 0 0 0 4.393-4.392.5.5 0 0 0-.066-.625l-1.931-1.93c.289-.562.533-1.154.729-1.769h2.732a.5.5 0 0 0 .488-.394 14.652 14.652 0 0 0 0-6.212ZM16 21.25c-2.895 0-5.25-2.355-5.25-5.25s2.355-5.25 5.25-5.25 5.25 2.355 5.25 5.25-2.355 5.25-5.25 5.25Z"
|
|
192
|
+
/>
|
|
205
193
|
</svg>
|
|
206
194
|
</span>
|
|
207
195
|
<span
|
|
@@ -6,7 +6,7 @@ subsection: menus
|
|
|
6
6
|
|
|
7
7
|
import { cloneElement, Fragment, useEffect, useRef, useState } from 'react';
|
|
8
8
|
|
|
9
|
-
import
|
|
9
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
10
10
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
11
11
|
import TableIcon from '@patternfly/react-icons/dist/esm/icons/table-icon';
|
|
12
12
|
import StorageDomainIcon from '@patternfly/react-icons/dist/esm/icons/storage-domain-icon';
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
ToolbarItem,
|
|
24
24
|
PageToggleButton
|
|
25
25
|
} from '../components';
|
|
26
|
-
import
|
|
26
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
27
27
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
28
28
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
29
29
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
@@ -87,7 +87,7 @@ export const DashboardHeader: React.FC<DashboardHeaderProps> = ({ notificationBa
|
|
|
87
87
|
const kebabDropdownItems = (
|
|
88
88
|
<>
|
|
89
89
|
<DropdownItem>
|
|
90
|
-
<
|
|
90
|
+
<RhUiSettingsFillIcon /> Settings
|
|
91
91
|
</DropdownItem>
|
|
92
92
|
<DropdownItem>
|
|
93
93
|
<HelpIcon /> Help
|
package/src/demos/Masthead.md
CHANGED
|
@@ -7,7 +7,7 @@ import { cloneElement, Fragment, useEffect, useRef, useState } from 'react';
|
|
|
7
7
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
8
8
|
import BarsIcon from '@patternfly/react-icons/dist/esm/icons/bars-icon';
|
|
9
9
|
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
10
|
-
import
|
|
10
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
11
11
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
12
12
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
13
13
|
import ThIcon from '@patternfly/react-icons/dist/esm/icons/th-icon';
|
|
@@ -24,7 +24,9 @@ Many mastheads contain utilities which collapse into a dropdown at smaller viewp
|
|
|
24
24
|
```ts file='./examples/Masthead/MastheadWithUtilitiesAndUserDropdownMenu.tsx' isFullscreen
|
|
25
25
|
|
|
26
26
|
```
|
|
27
|
+
|
|
27
28
|
### Horizontal nav
|
|
29
|
+
|
|
28
30
|
```ts file='./examples/Masthead/MastheadWithHorizontalNav.tsx' isFullscreen
|
|
29
31
|
|
|
30
|
-
```
|
|
32
|
+
```
|
package/src/demos/Nav.md
CHANGED
|
@@ -4,7 +4,7 @@ section: components
|
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
import { Fragment, useState } from 'react';
|
|
7
|
-
import
|
|
7
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
8
8
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
9
9
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
10
10
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
@@ -20,44 +20,53 @@ import { DashboardHeader } from '@patternfly/react-core/dist/js/demos/DashboardH
|
|
|
20
20
|
### Default nav
|
|
21
21
|
|
|
22
22
|
```ts file="./examples/Nav/NavDefault.tsx" isFullscreen
|
|
23
|
+
|
|
23
24
|
```
|
|
24
25
|
|
|
25
26
|
### Grouped nav
|
|
26
27
|
|
|
27
28
|
```ts file="./examples/Nav/NavGrouped.tsx" isFullscreen
|
|
29
|
+
|
|
28
30
|
```
|
|
29
31
|
|
|
30
32
|
### Expandable nav
|
|
31
33
|
|
|
32
34
|
```ts file="./examples/Nav/NavExpandable.tsx" isFullscreen
|
|
35
|
+
|
|
33
36
|
```
|
|
34
37
|
|
|
35
38
|
### Horizontal nav
|
|
36
39
|
|
|
37
40
|
```ts file="./examples/Nav/NavHorizontal.tsx" isFullscreen
|
|
41
|
+
|
|
38
42
|
```
|
|
39
43
|
|
|
40
44
|
### Horizontal subnav
|
|
41
45
|
|
|
42
46
|
```ts file="./examples/Nav/NavWithSubnav.tsx" isFullscreen
|
|
47
|
+
|
|
43
48
|
```
|
|
44
49
|
|
|
45
50
|
### Horizontal nav with horizontal subnav
|
|
46
51
|
|
|
47
52
|
```ts file="./examples/Nav/NavHorizontalWithSubnav.tsx" isFullscreen
|
|
53
|
+
|
|
48
54
|
```
|
|
49
55
|
|
|
50
56
|
### Manual nav
|
|
51
57
|
|
|
52
58
|
```ts file="./examples/Nav/NavManual.tsx" isFullscreen
|
|
59
|
+
|
|
53
60
|
```
|
|
54
61
|
|
|
55
62
|
### Flyout nav
|
|
56
63
|
|
|
57
64
|
```ts file="./examples/Nav/NavFlyout.tsx" isFullscreen
|
|
65
|
+
|
|
58
66
|
```
|
|
59
67
|
|
|
60
68
|
### Drilldown nav
|
|
61
69
|
|
|
62
70
|
```ts isFullscreen file="./examples/Nav/NavDrilldown.tsx"
|
|
71
|
+
|
|
63
72
|
```
|
|
@@ -6,7 +6,7 @@ section: components
|
|
|
6
6
|
import { Fragment, useRef, useState } from 'react';
|
|
7
7
|
|
|
8
8
|
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
9
|
-
import
|
|
9
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
10
10
|
import BarsIcon from '@patternfly/react-icons/dist/js/icons/bars-icon';
|
|
11
11
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
12
12
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
@@ -18,7 +18,6 @@ import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Co
|
|
|
18
18
|
## Demos
|
|
19
19
|
|
|
20
20
|
- Focus must be manually managed when the NotificationDrawer component is opened:
|
|
21
|
-
|
|
22
21
|
1. Create a React `ref` and pass it into the NotificationDrawer component's `ref` attribute
|
|
23
22
|
2. Pass in a function to the `onNotificationDrawerExpand` prop of the Page component that will place focus on the first interact-able element inside the NotificationDrawer component via the previously created `ref`
|
|
24
23
|
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
ToolbarGroup,
|
|
46
46
|
ToolbarContent
|
|
47
47
|
} from '@patternfly/react-core';
|
|
48
|
-
import
|
|
48
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
49
49
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
50
50
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
51
51
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
@@ -157,7 +157,7 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
157
157
|
const kebabDropdownItems = (
|
|
158
158
|
<>
|
|
159
159
|
<DropdownItem>
|
|
160
|
-
<
|
|
160
|
+
<RhUiSettingsFillIcon /> Settings
|
|
161
161
|
</DropdownItem>
|
|
162
162
|
<DropdownItem>
|
|
163
163
|
<HelpIcon /> Help
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
ToolbarGroup,
|
|
48
48
|
ToolbarContent
|
|
49
49
|
} from '@patternfly/react-core';
|
|
50
|
-
import
|
|
50
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
51
51
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
52
52
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
53
53
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
@@ -207,7 +207,7 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
207
207
|
const kebabDropdownItems = (
|
|
208
208
|
<>
|
|
209
209
|
<DropdownItem>
|
|
210
|
-
<
|
|
210
|
+
<RhUiSettingsFillIcon /> Settings
|
|
211
211
|
</DropdownItem>
|
|
212
212
|
<DropdownItem>
|
|
213
213
|
<HelpIcon /> Help
|
package/src/demos/Page.md
CHANGED
|
@@ -5,7 +5,7 @@ section: components
|
|
|
5
5
|
|
|
6
6
|
import { useState, useRef, useEffect } from 'react';
|
|
7
7
|
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
8
|
-
import
|
|
8
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
9
9
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
10
10
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
11
11
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
package/src/demos/RTL/RTL.md
CHANGED
|
@@ -12,7 +12,7 @@ import ClockIcon from '@patternfly/react-icons/dist/esm/icons/clock-icon';
|
|
|
12
12
|
import WalkingIcon from '@patternfly/react-icons/dist/esm/icons/walking-icon';
|
|
13
13
|
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
14
14
|
import BarsIcon from '@patternfly/react-icons/dist/esm/icons/bars-icon';
|
|
15
|
-
import
|
|
15
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
16
16
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
17
17
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
18
18
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
@@ -48,7 +48,7 @@ import ToolsIcon from '@patternfly/react-icons/dist/esm/icons/tools-icon';
|
|
|
48
48
|
import ClockIcon from '@patternfly/react-icons/dist/esm/icons/clock-icon';
|
|
49
49
|
import WalkingIcon from '@patternfly/react-icons/dist/esm/icons/walking-icon';
|
|
50
50
|
import pfLogo from '@patternfly/react-core/src/demos/assets/pf-logo.svg';
|
|
51
|
-
import
|
|
51
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
52
52
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
53
53
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
54
54
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
@@ -279,7 +279,7 @@ export const PaginatedTableAction: React.FunctionComponent = () => {
|
|
|
279
279
|
|
|
280
280
|
const kebabDropdownItems = (
|
|
281
281
|
<>
|
|
282
|
-
<DropdownItem icon={<
|
|
282
|
+
<DropdownItem icon={<RhUiSettingsFillIcon />}>{translation.kebabDropdown.settings}</DropdownItem>
|
|
283
283
|
<DropdownItem icon={<HelpIcon />}>{translation.kebabDropdown.help}</DropdownItem>
|
|
284
284
|
</>
|
|
285
285
|
);
|
package/src/demos/Toolbar.md
CHANGED
|
@@ -9,7 +9,7 @@ import PlayIcon from '@patternfly/react-icons/dist/esm/icons/play-icon';
|
|
|
9
9
|
import ExpandIcon from '@patternfly/react-icons/dist/esm/icons/expand-icon';
|
|
10
10
|
import ExternalLinkAltIcon from '@patternfly/react-icons/dist/esm/icons/external-link-alt-icon';
|
|
11
11
|
import DownloadIcon from '@patternfly/react-icons/dist/esm/icons/download-icon';
|
|
12
|
-
import
|
|
12
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
13
13
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
14
14
|
import TimesIcon from '@patternfly/react-icons/dist/esm/icons/times-icon';
|
|
15
15
|
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
@@ -21,4 +21,5 @@ import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/Dashboard
|
|
|
21
21
|
This is an example of toolbar usage in log viewer.
|
|
22
22
|
|
|
23
23
|
```ts file="examples/Toolbar/ConsoleLogViewerToolbar.tsx" isFullscreen
|
|
24
|
+
|
|
24
25
|
```
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
ToolbarItem
|
|
38
38
|
} from '@patternfly/react-core';
|
|
39
39
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
40
|
-
import
|
|
40
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
41
41
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
42
42
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
43
43
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
@@ -129,7 +129,7 @@ export const MastheadWithHorizontalNav: React.FunctionComponent = () => {
|
|
|
129
129
|
const kebabDropdownItems = (
|
|
130
130
|
<>
|
|
131
131
|
<DropdownItem key="settings">
|
|
132
|
-
<
|
|
132
|
+
<RhUiSettingsFillIcon /> Settings
|
|
133
133
|
</DropdownItem>
|
|
134
134
|
<DropdownItem key="help">
|
|
135
135
|
<HelpIcon /> Help
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
Tooltip
|
|
51
51
|
} from '@patternfly/react-core';
|
|
52
52
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
53
|
-
import
|
|
53
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
54
54
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
55
55
|
import ThIcon from '@patternfly/react-icons/dist/esm/icons/th-icon';
|
|
56
56
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
@@ -372,7 +372,7 @@ export const MastheadWithUtilitiesAndUserDropdownMenu: React.FunctionComponent =
|
|
|
372
372
|
const kebabDropdownItems = (
|
|
373
373
|
<>
|
|
374
374
|
<DropdownItem key="settings">
|
|
375
|
-
<
|
|
375
|
+
<RhUiSettingsFillIcon /> Settings
|
|
376
376
|
</DropdownItem>
|
|
377
377
|
<DropdownItem key="help">
|
|
378
378
|
<HelpIcon /> Help
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
ToolbarGroup,
|
|
37
37
|
ToolbarItem
|
|
38
38
|
} from '@patternfly/react-core';
|
|
39
|
-
import
|
|
39
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
40
40
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
41
41
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
42
42
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
@@ -110,7 +110,7 @@ export const NavFlyout: React.FunctionComponent = () => {
|
|
|
110
110
|
const kebabDropdownItems = (
|
|
111
111
|
<>
|
|
112
112
|
<DropdownItem>
|
|
113
|
-
<
|
|
113
|
+
<RhUiSettingsFillIcon /> Settings
|
|
114
114
|
</DropdownItem>
|
|
115
115
|
<DropdownItem>
|
|
116
116
|
<HelpIcon /> Help
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
ToolbarGroup,
|
|
34
34
|
ToolbarItem
|
|
35
35
|
} from '@patternfly/react-core';
|
|
36
|
-
import
|
|
36
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
37
37
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
38
38
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
39
39
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
@@ -88,7 +88,7 @@ export const NavHorizontal: React.FunctionComponent = () => {
|
|
|
88
88
|
const kebabDropdownItems = (
|
|
89
89
|
<>
|
|
90
90
|
<DropdownItem>
|
|
91
|
-
<
|
|
91
|
+
<RhUiSettingsFillIcon /> Settings
|
|
92
92
|
</DropdownItem>
|
|
93
93
|
<DropdownItem>
|
|
94
94
|
<HelpIcon /> Help
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
ToolbarGroup,
|
|
37
37
|
ToolbarItem
|
|
38
38
|
} from '@patternfly/react-core';
|
|
39
|
-
import
|
|
39
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
40
40
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
41
41
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
42
42
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
@@ -107,7 +107,7 @@ export const NavHorizontalWithSubnav: React.FunctionComponent = () => {
|
|
|
107
107
|
const kebabDropdownItems = (
|
|
108
108
|
<>
|
|
109
109
|
<DropdownItem>
|
|
110
|
-
<
|
|
110
|
+
<RhUiSettingsFillIcon /> Settings
|
|
111
111
|
</DropdownItem>
|
|
112
112
|
<DropdownItem>
|
|
113
113
|
<HelpIcon /> Help
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
ToolbarGroup,
|
|
38
38
|
ToolbarItem
|
|
39
39
|
} from '@patternfly/react-core';
|
|
40
|
-
import
|
|
40
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
41
41
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
42
42
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
43
43
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
@@ -104,7 +104,7 @@ export const NavManual: React.FunctionComponent = () => {
|
|
|
104
104
|
const kebabDropdownItems = (
|
|
105
105
|
<>
|
|
106
106
|
<DropdownItem>
|
|
107
|
-
<
|
|
107
|
+
<RhUiSettingsFillIcon /> Settings
|
|
108
108
|
</DropdownItem>
|
|
109
109
|
<DropdownItem>
|
|
110
110
|
<HelpIcon /> Help
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
ToolbarGroup,
|
|
41
41
|
ToolbarItem
|
|
42
42
|
} from '@patternfly/react-core';
|
|
43
|
-
import
|
|
43
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
44
44
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
45
45
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
46
46
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
@@ -114,7 +114,7 @@ export const PageStickySectionBreadcrumb: React.FunctionComponent = () => {
|
|
|
114
114
|
const kebabDropdownItems = (
|
|
115
115
|
<>
|
|
116
116
|
<DropdownItem>
|
|
117
|
-
<
|
|
117
|
+
<RhUiSettingsFillIcon /> Settings
|
|
118
118
|
</DropdownItem>
|
|
119
119
|
<DropdownItem>
|
|
120
120
|
<HelpIcon /> Help
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
ToolbarGroup,
|
|
41
41
|
ToolbarItem
|
|
42
42
|
} from '@patternfly/react-core';
|
|
43
|
-
import
|
|
43
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
44
44
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
45
45
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
46
46
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
@@ -100,7 +100,7 @@ export const PageStickySectionBreadcrumb: React.FunctionComponent = () => {
|
|
|
100
100
|
const kebabDropdownItems = (
|
|
101
101
|
<>
|
|
102
102
|
<DropdownItem>
|
|
103
|
-
<
|
|
103
|
+
<RhUiSettingsFillIcon /> Settings
|
|
104
104
|
</DropdownItem>
|
|
105
105
|
<DropdownItem>
|
|
106
106
|
<HelpIcon /> Help
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
ToolbarGroup,
|
|
41
41
|
ToolbarItem
|
|
42
42
|
} from '@patternfly/react-core';
|
|
43
|
-
import
|
|
43
|
+
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
44
44
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
45
45
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
46
46
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
@@ -100,7 +100,7 @@ export const PageStickySectionGroup: React.FunctionComponent = () => {
|
|
|
100
100
|
const kebabDropdownItems = (
|
|
101
101
|
<>
|
|
102
102
|
<DropdownItem>
|
|
103
|
-
<
|
|
103
|
+
<RhUiSettingsFillIcon /> Settings
|
|
104
104
|
</DropdownItem>
|
|
105
105
|
<DropdownItem>
|
|
106
106
|
<HelpIcon /> Help
|