@patternfly/react-core 6.0.0-alpha.6 → 6.0.0-alpha.7
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/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/List/ListItem.js +1 -1
- package/dist/esm/components/List/ListItem.js.map +1 -1
- package/dist/esm/components/Title/Title.d.ts.map +1 -1
- package/dist/esm/components/Title/Title.js +2 -11
- package/dist/esm/components/Title/Title.js.map +1 -1
- package/dist/esm/demos/DashboardHeader.js +1 -1
- package/dist/esm/demos/DashboardHeader.js.map +1 -1
- package/dist/js/components/List/ListItem.js +1 -1
- package/dist/js/components/List/ListItem.js.map +1 -1
- package/dist/js/components/Title/Title.d.ts.map +1 -1
- package/dist/js/components/Title/Title.js +2 -11
- package/dist/js/components/Title/Title.js.map +1 -1
- package/dist/js/demos/DashboardHeader.js +2 -2
- package/dist/js/demos/DashboardHeader.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 +2 -2
- package/src/components/List/ListItem.tsx +1 -1
- package/src/components/List/__tests__/Generated/__snapshots__/ListItem.test.tsx.snap +3 -1
- package/src/components/List/__tests__/__snapshots__/List.test.tsx.snap +57 -15
- package/src/components/Masthead/examples/Masthead.md +8 -146
- package/src/components/Masthead/examples/MastheadBasic.tsx +19 -0
- package/src/components/Masthead/examples/MastheadBasicMixedContent.tsx +37 -0
- package/src/components/Masthead/examples/MastheadDisplayInline.tsx +19 -0
- package/src/components/Masthead/examples/MastheadDisplayStack.tsx +19 -0
- package/src/components/Masthead/examples/MastheadDisplayStackInlineResponsive.tsx +19 -0
- package/src/components/Masthead/examples/MastheadIconRouterLink.tsx +31 -0
- package/src/components/Masthead/examples/MastheadInsets.tsx +19 -0
- package/src/components/Text/examples/Text.md +1 -1
- package/src/components/Text/examples/TextVisited.tsx +3 -3
- package/src/components/Title/Title.tsx +2 -11
- package/src/components/Title/__tests__/Title.test.tsx +14 -14
- package/src/components/Title/__tests__/__snapshots__/Title.test.tsx.snap +1 -1
- package/src/components/Title/examples/TitleCustomSizes.tsx +6 -6
- package/src/components/Title/examples/TitleDefaultSizes.tsx +6 -6
- package/src/components/assets/PF-HorizontalLogo-Color.svg +29 -0
- package/src/demos/DashboardHeader.tsx +1 -1
- package/src/demos/Masthead.md +1 -1
- package/src/demos/Nav.md +1 -1
- package/src/demos/NotificationDrawer/NotificationDrawer.md +1 -1
- package/src/demos/NotificationDrawer/examples/NotificationDrawerBasic.tsx +1 -1
- package/src/demos/NotificationDrawer/examples/NotificationDrawerGrouped.tsx +1 -1
- package/src/demos/Page.md +1 -1
- package/src/demos/RTL/RTL.md +1 -1
- package/src/demos/RTL/examples/PaginatedTable.jsx +1 -1
- package/src/demos/Wizard/WizardDemo.md +1 -1
- package/src/demos/assets/PF-HorizontalLogo-Color.svg +29 -0
- package/src/demos/examples/Masthead/MastheadWithUtilitiesAndUserDropdownMenu.tsx +1 -1
- package/src/demos/examples/Nav/NavFlyout.tsx +1 -1
- package/src/demos/examples/Nav/NavHorizontal.tsx +1 -1
- package/src/demos/examples/Nav/NavHorizontalWithSubnav.tsx +1 -1
- package/src/demos/examples/Nav/NavManual.tsx +1 -1
- package/src/demos/examples/Page/PageStickySectionBreadcrumb.tsx +1 -1
- package/src/demos/examples/Page/PageStickySectionGroup.tsx +1 -1
- package/src/demos/examples/Page/PageStickySectionGroupAlternate.tsx +1 -1
- package/src/demos/examples/Wizard/InPageWithDrawer.tsx +1 -1
- package/src/demos/examples/Wizard/InPageWithDrawerInformationalStep.tsx +1 -1
|
@@ -22,9 +22,9 @@ test(`Renders with the ${styles.title}`, () => {
|
|
|
22
22
|
expect(screen.getByRole('heading')).toHaveClass(styles.title);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
-
test(`Renders with only the class ${styles.title} and the heading level modifier class ${styles.modifiers
|
|
25
|
+
test(`Renders with only the class ${styles.title} and the heading level modifier class ${styles.modifiers.h1} by default`, () => {
|
|
26
26
|
render(<Title headingLevel="h1">Test</Title>);
|
|
27
|
-
expect(screen.getByRole('heading')).toHaveClass(`${styles.title} ${styles.modifiers
|
|
27
|
+
expect(screen.getByRole('heading')).toHaveClass(`${styles.title} ${styles.modifiers.h1}`, { exact: true });
|
|
28
28
|
});
|
|
29
29
|
|
|
30
30
|
test('Renders with custom class name when className prop is passed', () => {
|
|
@@ -36,34 +36,34 @@ test('Renders with custom class name when className prop is passed', () => {
|
|
|
36
36
|
expect(screen.getByRole('heading')).toHaveClass('test-class');
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
test('Renders with class name pf-m-
|
|
39
|
+
test('Renders with class name pf-m-h1 by default when "h1" is passed as heading level', () => {
|
|
40
40
|
render(<Title headingLevel="h1">Test</Title>);
|
|
41
|
-
expect(screen.getByRole('heading')).toHaveClass('pf-m-
|
|
41
|
+
expect(screen.getByRole('heading')).toHaveClass('pf-m-h1');
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
test('Renders with class name pf-m-
|
|
44
|
+
test('Renders with class name pf-m-h2 by default when "h2" is passed as heading level', () => {
|
|
45
45
|
render(<Title headingLevel="h2">Test</Title>);
|
|
46
|
-
expect(screen.getByRole('heading')).toHaveClass('pf-m-
|
|
46
|
+
expect(screen.getByRole('heading')).toHaveClass('pf-m-h2');
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
test('Renders with class name pf-m-
|
|
49
|
+
test('Renders with class name pf-m-h3 by default when "h3" is passed as heading level', () => {
|
|
50
50
|
render(<Title headingLevel="h3">Test</Title>);
|
|
51
|
-
expect(screen.getByRole('heading')).toHaveClass('pf-m-
|
|
51
|
+
expect(screen.getByRole('heading')).toHaveClass('pf-m-h3');
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
test('Renders with class name pf-m-
|
|
54
|
+
test('Renders with class name pf-m-h4 by default when "h4" is passed as heading level', () => {
|
|
55
55
|
render(<Title headingLevel="h4">Test</Title>);
|
|
56
|
-
expect(screen.getByRole('heading')).toHaveClass('pf-m-
|
|
56
|
+
expect(screen.getByRole('heading')).toHaveClass('pf-m-h4');
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
test('Renders with class name pf-m-
|
|
59
|
+
test('Renders with class name pf-m-h5 by default when "h5" is passed as heading level', () => {
|
|
60
60
|
render(<Title headingLevel="h5">Test</Title>);
|
|
61
|
-
expect(screen.getByRole('heading')).toHaveClass('pf-m-
|
|
61
|
+
expect(screen.getByRole('heading')).toHaveClass('pf-m-h5');
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
test('Renders with class name pf-m-
|
|
64
|
+
test('Renders with class name pf-m-h6 by default when "h6" is passed as heading level', () => {
|
|
65
65
|
render(<Title headingLevel="h6">Test</Title>);
|
|
66
|
-
expect(screen.getByRole('heading')).toHaveClass('pf-m-
|
|
66
|
+
expect(screen.getByRole('heading')).toHaveClass('pf-m-h6');
|
|
67
67
|
});
|
|
68
68
|
|
|
69
69
|
test('Renders with class name pf-m-md when "md" is passed as title size', () => {
|
|
@@ -4,22 +4,22 @@ import { Title, TitleSizes } from '@patternfly/react-core';
|
|
|
4
4
|
export const TitleCustomSizes: React.FunctionComponent = () => (
|
|
5
5
|
<React.Fragment>
|
|
6
6
|
<Title headingLevel="h1" size={TitleSizes['4xl']}>
|
|
7
|
-
|
|
7
|
+
4xl title
|
|
8
8
|
</Title>
|
|
9
9
|
<Title headingLevel="h2" size="3xl">
|
|
10
|
-
|
|
10
|
+
3xl title
|
|
11
11
|
</Title>
|
|
12
12
|
<Title headingLevel="h3" size={TitleSizes['2xl']}>
|
|
13
|
-
|
|
13
|
+
2xl title
|
|
14
14
|
</Title>
|
|
15
15
|
<Title headingLevel="h4" size="xl">
|
|
16
|
-
|
|
16
|
+
xl title
|
|
17
17
|
</Title>
|
|
18
18
|
<Title headingLevel="h5" size={TitleSizes.lg}>
|
|
19
|
-
|
|
19
|
+
lg title
|
|
20
20
|
</Title>
|
|
21
21
|
<Title headingLevel="h6" size="md">
|
|
22
|
-
|
|
22
|
+
md title
|
|
23
23
|
</Title>
|
|
24
24
|
</React.Fragment>
|
|
25
25
|
);
|
|
@@ -3,11 +3,11 @@ import { Title } from '@patternfly/react-core';
|
|
|
3
3
|
|
|
4
4
|
export const TitleDefaultSizes: React.FunctionComponent = () => (
|
|
5
5
|
<React.Fragment>
|
|
6
|
-
<Title headingLevel="h1">
|
|
7
|
-
<Title headingLevel="h2">
|
|
8
|
-
<Title headingLevel="h3">
|
|
9
|
-
<Title headingLevel="h4">
|
|
10
|
-
<Title headingLevel="h5">
|
|
11
|
-
<Title headingLevel="h6">
|
|
6
|
+
<Title headingLevel="h1">H1-styled title</Title>
|
|
7
|
+
<Title headingLevel="h2">H2-styled title</Title>
|
|
8
|
+
<Title headingLevel="h3">H3-styled title</Title>
|
|
9
|
+
<Title headingLevel="h4">H4-styled title</Title>
|
|
10
|
+
<Title headingLevel="h5">H5-styled title</Title>
|
|
11
|
+
<Title headingLevel="h6">H6-styled title</Title>
|
|
12
12
|
</React.Fragment>
|
|
13
13
|
);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="679px" height="158px" viewBox="0 0 679 158" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>PF-HorizontalLogo-Color </title>
|
|
4
|
+
<defs>
|
|
5
|
+
<linearGradient x1="68%" y1="2.25860997e-13%" x2="32%" y2="100%" id="linearGradient-1">
|
|
6
|
+
<stop stop-color="#2B9AF3" offset="0%"></stop>
|
|
7
|
+
<stop stop-color="#73BCF7" stop-opacity="0.502212631" offset="100%"></stop>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
</defs>
|
|
10
|
+
<g id="PF-HorizontalLogo-Color" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
11
|
+
<g id="PatternFly-Copy-11" transform="translate(206.000000, 45.750000)" fill="#151515" fill-rule="nonzero">
|
|
12
|
+
<path d="M0,65.25 L0,2.25 L33.21,2.25 C37.35,2.25 41.025,3.135 44.235,4.905 C47.445,6.675 49.98,9.09 51.84,12.15 C53.7,15.21 54.63,18.72 54.63,22.68 C54.63,26.46 53.7,29.865 51.84,32.895 C49.98,35.925 47.43,38.31 44.19,40.05 C40.95,41.79 37.29,42.66 33.21,42.66 L15.48,42.66 L15.48,65.25 L0,65.25 Z M15.48,29.88 L31.41,29.88 C33.69,29.88 35.52,29.22 36.9,27.9 C38.28,26.58 38.97,24.87 38.97,22.77 C38.97,20.61 38.28,18.855 36.9,17.505 C35.52,16.155 33.69,15.48 31.41,15.48 L15.48,15.48 L15.48,29.88 Z" id="Shape"></path>
|
|
13
|
+
<path d="M77.04,66.06 C73.68,66.06 70.695,65.43 68.085,64.17 C65.475,62.91 63.435,61.17 61.965,58.95 C60.495,56.73 59.76,54.18 59.76,51.3 C59.76,46.74 61.485,43.215 64.935,40.725 C68.385,38.235 73.2,36.99 79.38,36.99 C83.1,36.99 86.7,37.44 90.18,38.34 L90.18,36 C90.18,31.26 87.15,28.89 81.09,28.89 C77.49,28.89 72.69,30.15 66.69,32.67 L61.47,21.96 C69.15,18.48 76.56,16.74 83.7,16.74 C90.3,16.74 95.43,18.315 99.09,21.465 C102.75,24.615 104.58,29.04 104.58,34.74 L104.58,65.25 L90.18,65.25 L90.18,62.37 C88.26,63.69 86.235,64.635 84.105,65.205 C81.975,65.775 79.62,66.06 77.04,66.06 Z M73.62,51.03 C73.62,52.53 74.28,53.7 75.6,54.54 C76.92,55.38 78.75,55.8 81.09,55.8 C84.69,55.8 87.72,55.05 90.18,53.55 L90.18,47.43 C87.42,46.71 84.54,46.35 81.54,46.35 C79.02,46.35 77.07,46.755 75.69,47.565 C74.31,48.375 73.62,49.53 73.62,51.03 Z" id="Shape"></path>
|
|
14
|
+
<path d="M137.25,65.88 C125.73,65.88 119.97,60.84 119.97,50.76 L119.97,29.79 L110.34,29.79 L110.34,17.64 L119.97,17.64 L119.97,5.4 L134.55,2.25 L134.55,17.64 L147.87,17.64 L147.87,29.79 L134.55,29.79 L134.55,47.88 C134.55,49.98 135.015,51.465 135.945,52.335 C136.875,53.205 138.51,53.64 140.85,53.64 C143.01,53.64 145.2,53.31 147.42,52.65 L147.42,64.44 C146.1,64.86 144.42,65.205 142.38,65.475 C140.34,65.745 138.63,65.88 137.25,65.88 Z" id="Path"></path>
|
|
15
|
+
<path d="M177.57,65.88 C166.05,65.88 160.29,60.84 160.29,50.76 L160.29,29.79 L150.66,29.79 L150.66,17.64 L160.29,17.64 L160.29,5.4 L174.87,2.25 L174.87,17.64 L188.19,17.64 L188.19,29.79 L174.87,29.79 L174.87,47.88 C174.87,49.98 175.335,51.465 176.265,52.335 C177.195,53.205 178.83,53.64 181.17,53.64 C183.33,53.64 185.52,53.31 187.74,52.65 L187.74,64.44 C186.42,64.86 184.74,65.205 182.7,65.475 C180.66,65.745 178.95,65.88 177.57,65.88 Z" id="Path"></path>
|
|
16
|
+
<path d="M217.62,66.15 C212.76,66.15 208.365,65.055 204.435,62.865 C200.505,60.675 197.4,57.72 195.12,54 C192.84,50.28 191.7,46.11 191.7,41.49 C191.7,36.87 192.795,32.7 194.985,28.98 C197.175,25.26 200.16,22.305 203.94,20.115 C207.72,17.925 211.92,16.83 216.54,16.83 C221.22,16.83 225.36,17.955 228.96,20.205 C232.56,22.455 235.395,25.53 237.465,29.43 C239.535,33.33 240.57,37.8 240.57,42.84 L240.57,46.44 L206.64,46.44 C207.6,48.66 209.1,50.475 211.14,51.885 C213.18,53.295 215.58,54 218.34,54 C222.42,54 225.6,52.8 227.88,50.4 L237.51,58.95 C234.51,61.47 231.435,63.3 228.285,64.44 C225.135,65.58 221.58,66.15 217.62,66.15 Z M206.37,36.27 L226.26,36.27 C225.48,33.99 224.205,32.16 222.435,30.78 C220.665,29.4 218.61,28.71 216.27,28.71 C213.87,28.71 211.8,29.37 210.06,30.69 C208.32,32.01 207.09,33.87 206.37,36.27 Z" id="Shape"></path>
|
|
17
|
+
<path d="M247.41,65.25 L247.41,17.64 L261.99,17.64 L261.99,22.41 C265.23,18.51 269.4,16.56 274.5,16.56 C277.08,16.62 278.91,17.01 279.99,17.73 L279.99,30.42 C277.95,29.46 275.64,28.98 273.06,28.98 C270.78,28.98 268.665,29.505 266.715,30.555 C264.765,31.605 263.19,33.09 261.99,35.01 L261.99,65.25 L247.41,65.25 Z" id="Path"></path>
|
|
18
|
+
<path d="M286.29,65.25 L286.29,17.64 L300.87,17.64 L300.87,20.88 C304.47,18.12 308.73,16.74 313.65,16.74 C317.37,16.74 320.655,17.55 323.505,19.17 C326.355,20.79 328.59,23.04 330.21,25.92 C331.83,28.8 332.64,32.13 332.64,35.91 L332.64,65.25 L318.06,65.25 L318.06,37.89 C318.06,35.25 317.28,33.15 315.72,31.59 C314.16,30.03 312.06,29.25 309.42,29.25 C305.76,29.25 302.91,30.51 300.87,33.03 L300.87,65.25 L286.29,65.25 Z" id="Path"></path>
|
|
19
|
+
<polygon id="Path" points="342 65.25 342 2.25 392.04 2.25 392.04 15.66 357.48 15.66 357.48 27.45 380.52 27.45 380.52 40.41 357.48 40.41 357.48 65.25"></polygon>
|
|
20
|
+
<polygon id="Path" points="399.96 65.25 399.96 2.25 414.54 0 414.54 65.25"></polygon>
|
|
21
|
+
<path d="M429.21,84.69 C428.07,84.69 426.96,84.645 425.88,84.555 C424.8,84.465 423.9,84.33 423.18,84.15 L423.18,71.73 C424.38,71.97 425.88,72.09 427.68,72.09 C432.36,72.09 435.51,70.05 437.13,65.97 L437.13,65.88 L418.86,17.64 L434.97,17.64 L445.5,47.61 L457.74,17.64 L473.49,17.64 L452.16,67.68 C450.42,71.82 448.5,75.135 446.4,77.625 C444.3,80.115 441.87,81.915 439.11,83.025 C436.35,84.135 433.05,84.69 429.21,84.69 Z" id="Path"></path>
|
|
22
|
+
</g>
|
|
23
|
+
<g id="Logo" transform="translate(0.000000, 0.000000)">
|
|
24
|
+
<path d="M61.826087,0 L158,0 L158,96.173913 L147.695652,96.173913 C100.271201,96.173913 61.826087,57.7287992 61.826087,10.3043478 L61.826087,0 L61.826087,0 Z" id="Rectangle-Copy-17" fill="#0066CC"></path>
|
|
25
|
+
<path d="M158,3.43478261 L65.2608696,158 L138,158 C149.045695,158 158,149.045695 158,138 L158,3.43478261 L158,3.43478261 Z" id="Path-2" fill="url(#linearGradient-1)"></path>
|
|
26
|
+
<path d="M123.652174,-30.9130435 L30.9130435,123.652174 L103.652174,123.652174 C114.697869,123.652174 123.652174,114.697869 123.652174,103.652174 L123.652174,-30.9130435 L123.652174,-30.9130435 Z" id="Path-2" fill="url(#linearGradient-1)" transform="translate(77.282609, 46.369565) scale(1, -1) rotate(90.000000) translate(-77.282609, -46.369565) "></path>
|
|
27
|
+
</g>
|
|
28
|
+
</g>
|
|
29
|
+
</svg>
|
|
@@ -28,7 +28,7 @@ import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-
|
|
|
28
28
|
import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
|
|
29
29
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
30
30
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
31
|
-
import pfLogo from '@patternfly/react-core/src/demos/assets/
|
|
31
|
+
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
32
32
|
|
|
33
33
|
interface DashboardHeaderProps {
|
|
34
34
|
/** Render custom notification badge */
|
package/src/demos/Masthead.md
CHANGED
|
@@ -12,7 +12,7 @@ import ThIcon from '@patternfly/react-icons/dist/esm/icons/th-icon';
|
|
|
12
12
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
13
13
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
14
14
|
import pfIcon from './assets/pf-logo-small.svg';
|
|
15
|
-
import pfLogo from './assets/
|
|
15
|
+
import pfLogo from './assets/PF-HorizontalLogo-Color.svg';
|
|
16
16
|
import { Link } from '@reach/router';
|
|
17
17
|
|
|
18
18
|
## Demos
|
package/src/demos/Nav.md
CHANGED
|
@@ -10,7 +10,7 @@ import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-ico
|
|
|
10
10
|
import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
|
|
11
11
|
import BarsIcon from '@patternfly/react-icons/dist/esm/icons/bars-icon';
|
|
12
12
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
13
|
-
import pfLogo from '@patternfly/react-core/src/demos/assets/
|
|
13
|
+
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
14
14
|
|
|
15
15
|
## Demos
|
|
16
16
|
|
|
@@ -11,7 +11,7 @@ import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-
|
|
|
11
11
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
12
12
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
13
13
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
14
|
-
import pfLogo from '@patternfly/react-core/src/demos/assets/
|
|
14
|
+
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
15
15
|
|
|
16
16
|
## Demos
|
|
17
17
|
|
|
@@ -55,7 +55,7 @@ import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-ico
|
|
|
55
55
|
import BarsIcon from '@patternfly/react-icons/dist/js/icons/bars-icon';
|
|
56
56
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
57
57
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
58
|
-
import pfLogo from '@patternfly/react-core/src/demos/assets/pf-logo.svg';
|
|
58
|
+
import pfLogo from '@patternfly/react-core/src/demos/assets/pf-logo.PF-HorizontalLogo-Color.svg';
|
|
59
59
|
|
|
60
60
|
export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
61
61
|
const drawerRef = React.useRef<HTMLElement | null>(null);
|
|
@@ -57,7 +57,7 @@ import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
|
57
57
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
58
58
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
59
59
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
60
|
-
import pfLogo from '@patternfly/react-core/src/demos/assets/pf-logo.svg';
|
|
60
|
+
import pfLogo from '@patternfly/react-core/src/demos/assets/pf-logo.PF-HorizontalLogo-Color.svg';
|
|
61
61
|
|
|
62
62
|
export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
63
63
|
const drawerRef = React.useRef<HTMLElement | null>(null);
|
package/src/demos/Page.md
CHANGED
|
@@ -12,7 +12,7 @@ import BarsIcon from '@patternfly/react-icons/dist/esm/icons/bars-icon';
|
|
|
12
12
|
import AttentionBellIcon from '@patternfly/react-icons/dist/esm/icons/attention-bell-icon';
|
|
13
13
|
import LightbulbIcon from '@patternfly/react-icons/dist/esm/icons/lightbulb-icon';
|
|
14
14
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
15
|
-
import pfLogo from '@patternfly/react-core/src/demos/assets/
|
|
15
|
+
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
- All examples set the `isManagedSidebar` prop on the Page component to have the sidebar automatically close for smaller screen widths. You can also manually control this behavior by not adding the `isManagedSidebar` prop and instead:
|
package/src/demos/RTL/RTL.md
CHANGED
|
@@ -9,7 +9,7 @@ import AlignRightIcon from '@patternfly/react-icons/dist/esm/icons/align-right-i
|
|
|
9
9
|
import ToolsIcon from '@patternfly/react-icons/dist/esm/icons/tools-icon';
|
|
10
10
|
import ClockIcon from '@patternfly/react-icons/dist/esm/icons/clock-icon';
|
|
11
11
|
import WalkingIcon from '@patternfly/react-icons/dist/esm/icons/walking-icon';
|
|
12
|
-
import pfLogo from '@patternfly/react-core/src/demos/assets/
|
|
12
|
+
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
13
13
|
import BarsIcon from '@patternfly/react-icons/dist/esm/icons/bars-icon';
|
|
14
14
|
import CogIcon from '@patternfly/react-icons/dist/esm/icons/cog-icon';
|
|
15
15
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
@@ -49,7 +49,7 @@ import AlignRightIcon from '@patternfly/react-icons/dist/esm/icons/align-right-i
|
|
|
49
49
|
import ToolsIcon from '@patternfly/react-icons/dist/esm/icons/tools-icon';
|
|
50
50
|
import ClockIcon from '@patternfly/react-icons/dist/esm/icons/clock-icon';
|
|
51
51
|
import WalkingIcon from '@patternfly/react-icons/dist/esm/icons/walking-icon';
|
|
52
|
-
import pfLogo from '@patternfly/react-core/src/demos/assets/
|
|
52
|
+
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
53
53
|
import BarsIcon from '@patternfly/react-icons/dist/esm/icons/bars-icon';
|
|
54
54
|
import CogIcon from '@patternfly/react-icons/dist/esm/icons/cog-icon';
|
|
55
55
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
@@ -4,7 +4,7 @@ section: components
|
|
|
4
4
|
source: react-demos
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
import pfLogo from '@patternfly/react-core/src/demos/assets/
|
|
7
|
+
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
8
8
|
import BarsIcon from '@patternfly/react-icons/dist/js/icons/bars-icon';
|
|
9
9
|
|
|
10
10
|
## Demos
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="679px" height="158px" viewBox="0 0 679 158" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>PF-HorizontalLogo-Color </title>
|
|
4
|
+
<defs>
|
|
5
|
+
<linearGradient x1="68%" y1="2.25860997e-13%" x2="32%" y2="100%" id="linearGradient-1">
|
|
6
|
+
<stop stop-color="#2B9AF3" offset="0%"></stop>
|
|
7
|
+
<stop stop-color="#73BCF7" stop-opacity="0.502212631" offset="100%"></stop>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
</defs>
|
|
10
|
+
<g id="PF-HorizontalLogo-Color" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
11
|
+
<g id="PatternFly-Copy-11" transform="translate(206.000000, 45.750000)" fill="#151515" fill-rule="nonzero">
|
|
12
|
+
<path d="M0,65.25 L0,2.25 L33.21,2.25 C37.35,2.25 41.025,3.135 44.235,4.905 C47.445,6.675 49.98,9.09 51.84,12.15 C53.7,15.21 54.63,18.72 54.63,22.68 C54.63,26.46 53.7,29.865 51.84,32.895 C49.98,35.925 47.43,38.31 44.19,40.05 C40.95,41.79 37.29,42.66 33.21,42.66 L15.48,42.66 L15.48,65.25 L0,65.25 Z M15.48,29.88 L31.41,29.88 C33.69,29.88 35.52,29.22 36.9,27.9 C38.28,26.58 38.97,24.87 38.97,22.77 C38.97,20.61 38.28,18.855 36.9,17.505 C35.52,16.155 33.69,15.48 31.41,15.48 L15.48,15.48 L15.48,29.88 Z" id="Shape"></path>
|
|
13
|
+
<path d="M77.04,66.06 C73.68,66.06 70.695,65.43 68.085,64.17 C65.475,62.91 63.435,61.17 61.965,58.95 C60.495,56.73 59.76,54.18 59.76,51.3 C59.76,46.74 61.485,43.215 64.935,40.725 C68.385,38.235 73.2,36.99 79.38,36.99 C83.1,36.99 86.7,37.44 90.18,38.34 L90.18,36 C90.18,31.26 87.15,28.89 81.09,28.89 C77.49,28.89 72.69,30.15 66.69,32.67 L61.47,21.96 C69.15,18.48 76.56,16.74 83.7,16.74 C90.3,16.74 95.43,18.315 99.09,21.465 C102.75,24.615 104.58,29.04 104.58,34.74 L104.58,65.25 L90.18,65.25 L90.18,62.37 C88.26,63.69 86.235,64.635 84.105,65.205 C81.975,65.775 79.62,66.06 77.04,66.06 Z M73.62,51.03 C73.62,52.53 74.28,53.7 75.6,54.54 C76.92,55.38 78.75,55.8 81.09,55.8 C84.69,55.8 87.72,55.05 90.18,53.55 L90.18,47.43 C87.42,46.71 84.54,46.35 81.54,46.35 C79.02,46.35 77.07,46.755 75.69,47.565 C74.31,48.375 73.62,49.53 73.62,51.03 Z" id="Shape"></path>
|
|
14
|
+
<path d="M137.25,65.88 C125.73,65.88 119.97,60.84 119.97,50.76 L119.97,29.79 L110.34,29.79 L110.34,17.64 L119.97,17.64 L119.97,5.4 L134.55,2.25 L134.55,17.64 L147.87,17.64 L147.87,29.79 L134.55,29.79 L134.55,47.88 C134.55,49.98 135.015,51.465 135.945,52.335 C136.875,53.205 138.51,53.64 140.85,53.64 C143.01,53.64 145.2,53.31 147.42,52.65 L147.42,64.44 C146.1,64.86 144.42,65.205 142.38,65.475 C140.34,65.745 138.63,65.88 137.25,65.88 Z" id="Path"></path>
|
|
15
|
+
<path d="M177.57,65.88 C166.05,65.88 160.29,60.84 160.29,50.76 L160.29,29.79 L150.66,29.79 L150.66,17.64 L160.29,17.64 L160.29,5.4 L174.87,2.25 L174.87,17.64 L188.19,17.64 L188.19,29.79 L174.87,29.79 L174.87,47.88 C174.87,49.98 175.335,51.465 176.265,52.335 C177.195,53.205 178.83,53.64 181.17,53.64 C183.33,53.64 185.52,53.31 187.74,52.65 L187.74,64.44 C186.42,64.86 184.74,65.205 182.7,65.475 C180.66,65.745 178.95,65.88 177.57,65.88 Z" id="Path"></path>
|
|
16
|
+
<path d="M217.62,66.15 C212.76,66.15 208.365,65.055 204.435,62.865 C200.505,60.675 197.4,57.72 195.12,54 C192.84,50.28 191.7,46.11 191.7,41.49 C191.7,36.87 192.795,32.7 194.985,28.98 C197.175,25.26 200.16,22.305 203.94,20.115 C207.72,17.925 211.92,16.83 216.54,16.83 C221.22,16.83 225.36,17.955 228.96,20.205 C232.56,22.455 235.395,25.53 237.465,29.43 C239.535,33.33 240.57,37.8 240.57,42.84 L240.57,46.44 L206.64,46.44 C207.6,48.66 209.1,50.475 211.14,51.885 C213.18,53.295 215.58,54 218.34,54 C222.42,54 225.6,52.8 227.88,50.4 L237.51,58.95 C234.51,61.47 231.435,63.3 228.285,64.44 C225.135,65.58 221.58,66.15 217.62,66.15 Z M206.37,36.27 L226.26,36.27 C225.48,33.99 224.205,32.16 222.435,30.78 C220.665,29.4 218.61,28.71 216.27,28.71 C213.87,28.71 211.8,29.37 210.06,30.69 C208.32,32.01 207.09,33.87 206.37,36.27 Z" id="Shape"></path>
|
|
17
|
+
<path d="M247.41,65.25 L247.41,17.64 L261.99,17.64 L261.99,22.41 C265.23,18.51 269.4,16.56 274.5,16.56 C277.08,16.62 278.91,17.01 279.99,17.73 L279.99,30.42 C277.95,29.46 275.64,28.98 273.06,28.98 C270.78,28.98 268.665,29.505 266.715,30.555 C264.765,31.605 263.19,33.09 261.99,35.01 L261.99,65.25 L247.41,65.25 Z" id="Path"></path>
|
|
18
|
+
<path d="M286.29,65.25 L286.29,17.64 L300.87,17.64 L300.87,20.88 C304.47,18.12 308.73,16.74 313.65,16.74 C317.37,16.74 320.655,17.55 323.505,19.17 C326.355,20.79 328.59,23.04 330.21,25.92 C331.83,28.8 332.64,32.13 332.64,35.91 L332.64,65.25 L318.06,65.25 L318.06,37.89 C318.06,35.25 317.28,33.15 315.72,31.59 C314.16,30.03 312.06,29.25 309.42,29.25 C305.76,29.25 302.91,30.51 300.87,33.03 L300.87,65.25 L286.29,65.25 Z" id="Path"></path>
|
|
19
|
+
<polygon id="Path" points="342 65.25 342 2.25 392.04 2.25 392.04 15.66 357.48 15.66 357.48 27.45 380.52 27.45 380.52 40.41 357.48 40.41 357.48 65.25"></polygon>
|
|
20
|
+
<polygon id="Path" points="399.96 65.25 399.96 2.25 414.54 0 414.54 65.25"></polygon>
|
|
21
|
+
<path d="M429.21,84.69 C428.07,84.69 426.96,84.645 425.88,84.555 C424.8,84.465 423.9,84.33 423.18,84.15 L423.18,71.73 C424.38,71.97 425.88,72.09 427.68,72.09 C432.36,72.09 435.51,70.05 437.13,65.97 L437.13,65.88 L418.86,17.64 L434.97,17.64 L445.5,47.61 L457.74,17.64 L473.49,17.64 L452.16,67.68 C450.42,71.82 448.5,75.135 446.4,77.625 C444.3,80.115 441.87,81.915 439.11,83.025 C436.35,84.135 433.05,84.69 429.21,84.69 Z" id="Path"></path>
|
|
22
|
+
</g>
|
|
23
|
+
<g id="Logo" transform="translate(0.000000, 0.000000)">
|
|
24
|
+
<path d="M61.826087,0 L158,0 L158,96.173913 L147.695652,96.173913 C100.271201,96.173913 61.826087,57.7287992 61.826087,10.3043478 L61.826087,0 L61.826087,0 Z" id="Rectangle-Copy-17" fill="#0066CC"></path>
|
|
25
|
+
<path d="M158,3.43478261 L65.2608696,158 L138,158 C149.045695,158 158,149.045695 158,138 L158,3.43478261 L158,3.43478261 Z" id="Path-2" fill="url(#linearGradient-1)"></path>
|
|
26
|
+
<path d="M123.652174,-30.9130435 L30.9130435,123.652174 L103.652174,123.652174 C114.697869,123.652174 123.652174,114.697869 123.652174,103.652174 L123.652174,-30.9130435 L123.652174,-30.9130435 Z" id="Path-2" fill="url(#linearGradient-1)" transform="translate(77.282609, 46.369565) scale(1, -1) rotate(90.000000) translate(-77.282609, -46.369565) "></path>
|
|
27
|
+
</g>
|
|
28
|
+
</g>
|
|
29
|
+
</svg>
|
|
@@ -57,7 +57,7 @@ import ThIcon from '@patternfly/react-icons/dist/esm/icons/th-icon';
|
|
|
57
57
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
58
58
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
59
59
|
import pfIcon from '@patternfly/react-core/src/demos/assets/pf-logo-small.svg';
|
|
60
|
-
import pfLogo from '@patternfly/react-core/src/demos/assets/
|
|
60
|
+
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
61
61
|
|
|
62
62
|
interface NavOnSelectProps {
|
|
63
63
|
groupId: number | string;
|
|
@@ -40,7 +40,7 @@ import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-ico
|
|
|
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 imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
43
|
-
import pfLogo from '@patternfly/react-core/src/demos/assets/
|
|
43
|
+
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
44
44
|
|
|
45
45
|
export const NavFlyout: React.FunctionComponent = () => {
|
|
46
46
|
const [isDropdownOpen, setIsDropdownOpen] = React.useState(false);
|
|
@@ -37,7 +37,7 @@ import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-
|
|
|
37
37
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
38
38
|
import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
|
|
39
39
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
40
|
-
import pfLogo from '@patternfly/react-core/src/demos/assets/
|
|
40
|
+
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
41
41
|
import { DashboardBreadcrumb } from '@patternfly/react-core/src/demos/DashboardWrapper';
|
|
42
42
|
|
|
43
43
|
export const NavHorizontal: React.FunctionComponent = () => {
|
|
@@ -41,7 +41,7 @@ import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
|
|
|
41
41
|
import BarsIcon from '@patternfly/react-icons/dist/esm/icons/bars-icon';
|
|
42
42
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
43
43
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
44
|
-
import pfLogo from '@patternfly/react-core/src/demos/assets/
|
|
44
|
+
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
45
45
|
import { DashboardBreadcrumb } from '@patternfly/react-core/src/demos/DashboardWrapper';
|
|
46
46
|
|
|
47
47
|
export const NavHorizontalWithSubnav: React.FunctionComponent = () => {
|
|
@@ -42,7 +42,7 @@ import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-ico
|
|
|
42
42
|
import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
|
|
43
43
|
import BarsIcon from '@patternfly/react-icons/dist/esm/icons/bars-icon';
|
|
44
44
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
45
|
-
import pfLogo from '@patternfly/react-core/src/demos/assets/
|
|
45
|
+
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
46
46
|
|
|
47
47
|
export const NavManual: React.FunctionComponent = () => {
|
|
48
48
|
const [isDropdownOpen, setIsDropdownOpen] = React.useState(false);
|
|
@@ -45,7 +45,7 @@ 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';
|
|
47
47
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
48
|
-
import pfLogo from '@patternfly/react-core/src/demos/assets/
|
|
48
|
+
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
49
49
|
interface NavOnSelectProps {
|
|
50
50
|
groupId: number | string;
|
|
51
51
|
itemId: number | string;
|
|
@@ -45,7 +45,7 @@ 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';
|
|
47
47
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
48
|
-
import pfLogo from '@patternfly/react-core/src/demos/assets/
|
|
48
|
+
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
49
49
|
interface NavOnSelectProps {
|
|
50
50
|
groupId: number | string;
|
|
51
51
|
itemId: number | string;
|
|
@@ -47,7 +47,7 @@ import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
|
47
47
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
48
48
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
49
49
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
50
|
-
import pfLogo from '@patternfly/react-core/src/demos/assets/
|
|
50
|
+
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
51
51
|
|
|
52
52
|
interface NavOnSelectProps {
|
|
53
53
|
groupId: number | string;
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
WizardStep,
|
|
32
32
|
DrawerColorVariant
|
|
33
33
|
} from '@patternfly/react-core';
|
|
34
|
-
import pfLogo from '@patternfly/react-core/src/demos/assets/
|
|
34
|
+
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
35
35
|
import BarsIcon from '@patternfly/react-icons/dist/js/icons/bars-icon';
|
|
36
36
|
|
|
37
37
|
export const WizardFullPageWithDrawerDemo: React.FunctionComponent = () => {
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
Wizard,
|
|
32
32
|
WizardStep
|
|
33
33
|
} from '@patternfly/react-core';
|
|
34
|
-
import pfLogo from '@patternfly/react-core/src/demos/assets/
|
|
34
|
+
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
35
35
|
import BarsIcon from '@patternfly/react-icons/dist/js/icons/bars-icon';
|
|
36
36
|
|
|
37
37
|
export const WizardFullPageWithDrawerInfoStepDemo: React.FunctionComponent = () => {
|