@patternfly/react-core 6.0.0-alpha.87 → 6.0.0-alpha.88
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/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/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/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/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/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/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/styles/package.json +1 -1
- package/dist/dynamic-modules.json +3 -11
- package/dist/esm/components/Content/Content.d.ts +3 -3
- package/dist/esm/components/Content/Content.d.ts.map +1 -1
- package/dist/esm/components/Content/Content.js +24 -24
- package/dist/esm/components/Content/Content.js.map +1 -1
- package/dist/esm/components/Content/index.d.ts +0 -3
- package/dist/esm/components/Content/index.d.ts.map +1 -1
- package/dist/esm/components/Content/index.js +0 -3
- package/dist/esm/components/Content/index.js.map +1 -1
- package/dist/esm/demos/DashboardWrapper.d.ts.map +1 -1
- package/dist/esm/demos/DashboardWrapper.js +4 -4
- package/dist/esm/demos/DashboardWrapper.js.map +1 -1
- package/dist/js/components/Content/Content.d.ts +3 -3
- package/dist/js/components/Content/Content.d.ts.map +1 -1
- package/dist/js/components/Content/Content.js +26 -26
- package/dist/js/components/Content/Content.js.map +1 -1
- package/dist/js/components/Content/index.d.ts +0 -3
- package/dist/js/components/Content/index.d.ts.map +1 -1
- package/dist/js/components/Content/index.js +0 -3
- package/dist/js/components/Content/index.js.map +1 -1
- package/dist/js/demos/DashboardWrapper.d.ts.map +1 -1
- package/dist/js/demos/DashboardWrapper.js +3 -3
- package/dist/js/demos/DashboardWrapper.js.map +1 -1
- package/dist/umd/assets/{output-InLLAkYl.css → output-DbCJu18k.css} +3546 -3546
- 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/AboutModal/examples/AboutModalBasic.tsx +19 -19
- package/src/components/AboutModal/examples/AboutModalComplexUserPositionedContent.tsx +21 -21
- package/src/components/AboutModal/examples/AboutModalWithoutProductName.tsx +19 -19
- package/src/components/Content/Content.tsx +6 -6
- package/src/components/Content/__tests__/Content.test.tsx +194 -20
- package/src/components/Content/__tests__/__snapshots__/Content.test.tsx.snap +1 -1
- package/src/components/Content/examples/Content.md +13 -13
- package/src/components/Content/examples/ContentBody.tsx +12 -10
- package/src/components/Content/examples/ContentDescriptionList.tsx +9 -11
- package/src/components/Content/examples/ContentHeadings.tsx +7 -7
- package/src/components/Content/examples/ContentOrderedList.tsx +10 -10
- package/src/components/Content/examples/ContentPlainList.tsx +22 -18
- package/src/components/Content/examples/ContentUnorderedList.tsx +12 -12
- package/src/components/Content/examples/ContentVisited.tsx +23 -23
- package/src/components/Content/examples/ContentWrapper.tsx +7 -7
- package/src/components/Content/index.ts +0 -3
- package/src/components/DataList/examples/DataListWidthModifiers.tsx +10 -12
- package/src/components/Icon/examples/IconInline.tsx +10 -12
- package/src/components/Modal/examples/ModalCustomHeader.tsx +4 -6
- package/src/components/Slider/examples/SliderActions.tsx +2 -2
- package/src/components/Slider/examples/SliderContinuous.tsx +3 -3
- package/src/components/Slider/examples/SliderDisabled.tsx +2 -2
- package/src/components/Slider/examples/SliderDiscrete.tsx +14 -14
- package/src/components/Spinner/examples/SpinnerInline.tsx +10 -12
- package/src/demos/Banner.md +14 -25
- package/src/demos/CardView/examples/CardView.tsx +5 -6
- package/src/demos/DashboardWrapper.tsx +6 -7
- package/src/demos/DataList/examples/DataListBasic.tsx +17 -20
- package/src/demos/DataList/examples/DataListExpandableControlInToolbar.tsx +7 -9
- package/src/demos/DescriptionList/examples/DescriptionListBasic.tsx +6 -8
- package/src/demos/JumpLinks.md +3 -3
- package/src/demos/NotificationDrawer/examples/NotificationDrawerBasic.tsx +7 -8
- package/src/demos/NotificationDrawer/examples/NotificationDrawerGrouped.tsx +7 -8
- package/src/demos/RTL/examples/PaginatedTable.jsx +5 -7
- package/src/demos/RTL/examples/PaginatedTable.tsx +5 -7
- package/src/demos/examples/AlertGroup/AlertGroupToastWithNotificationDrawer.tsx +14 -15
- package/src/demos/examples/BackToTop/BackToTopNameDemo.tsx +7 -8
- package/src/demos/examples/DashboardWrapper.js +6 -7
- package/src/demos/examples/JumpLinks/JumpLinksWithDrawer.js +3 -3
- package/src/demos/examples/Masthead/MastheadWithHorizontalNav.tsx +9 -13
- package/src/demos/examples/Masthead/MastheadWithUtilitiesAndUserDropdownMenu.tsx +5 -6
- package/src/demos/examples/Nav/NavDefault.tsx +8 -9
- package/src/demos/examples/Nav/NavExpandable.tsx +8 -9
- package/src/demos/examples/Nav/NavGrouped.tsx +8 -9
- package/src/demos/examples/Nav/NavHorizontal.tsx +7 -8
- package/src/demos/examples/Nav/NavHorizontalWithSubnav.tsx +7 -8
- package/src/demos/examples/Nav/NavManual.tsx +7 -8
- package/src/demos/examples/Nav/NavWithSubnav.tsx +8 -9
- package/src/demos/examples/Page/PageContextSelector.tsx +5 -6
- package/src/demos/examples/Page/PageStickySectionBreadcrumb.tsx +5 -6
- package/src/demos/examples/Page/PageStickySectionGroup.tsx +5 -6
- package/src/demos/examples/Page/PageStickySectionGroupAlternate.tsx +5 -6
- package/src/demos/examples/PrimaryDetail/PrimaryDetailCardView.tsx +10 -14
- package/src/demos/examples/PrimaryDetail/PrimaryDetailContentPadding.tsx +7 -8
- package/src/demos/examples/PrimaryDetail/PrimaryDetailDataListInCard.tsx +8 -10
- package/src/demos/examples/PrimaryDetail/PrimaryDetailFullPage.tsx +7 -8
- package/src/demos/examples/PrimaryDetail/PrimaryDetailInlineModifier.tsx +7 -8
- package/src/demos/examples/PrimaryDetail/PrimaryDetailSimpleListInCard.tsx +8 -10
- package/src/demos/examples/Tabs/ModalTabs.tsx +5 -6
- package/src/demos/examples/Tabs/NestedUnindentedTabs.tsx +4 -5
- package/src/demos/examples/Wizard/InModalWithDrawerInformationalStep.tsx +4 -6
- package/src/demos/examples/Wizard/InPageWithDrawer.tsx +5 -6
- package/src/demos/examples/Wizard/InPageWithDrawerInformationalStep.tsx +8 -9
- package/dist/esm/components/Content/TextContent.d.ts +0 -11
- package/dist/esm/components/Content/TextContent.d.ts.map +0 -1
- package/dist/esm/components/Content/TextContent.js +0 -10
- package/dist/esm/components/Content/TextContent.js.map +0 -1
- package/dist/esm/components/Content/TextList.d.ts +0 -18
- package/dist/esm/components/Content/TextList.d.ts.map +0 -1
- package/dist/esm/components/Content/TextList.js +0 -22
- package/dist/esm/components/Content/TextList.js.map +0 -1
- package/dist/esm/components/Content/TextListItem.d.ts +0 -16
- package/dist/esm/components/Content/TextListItem.d.ts.map +0 -1
- package/dist/esm/components/Content/TextListItem.js +0 -22
- package/dist/esm/components/Content/TextListItem.js.map +0 -1
- package/dist/js/components/Content/TextContent.d.ts +0 -11
- package/dist/js/components/Content/TextContent.d.ts.map +0 -1
- package/dist/js/components/Content/TextContent.js +0 -14
- package/dist/js/components/Content/TextContent.js.map +0 -1
- package/dist/js/components/Content/TextList.d.ts +0 -18
- package/dist/js/components/Content/TextList.d.ts.map +0 -1
- package/dist/js/components/Content/TextList.js +0 -26
- package/dist/js/components/Content/TextList.js.map +0 -1
- package/dist/js/components/Content/TextListItem.d.ts +0 -16
- package/dist/js/components/Content/TextListItem.d.ts.map +0 -1
- package/dist/js/components/Content/TextListItem.js +0 -26
- package/dist/js/components/Content/TextListItem.js.map +0 -1
- package/src/components/Content/TextContent.tsx +0 -25
- package/src/components/Content/TextList.tsx +0 -43
- package/src/components/Content/TextListItem.tsx +0 -40
- package/src/components/Content/__tests__/Generated/TextContent.test.tsx +0 -13
- package/src/components/Content/__tests__/Generated/TextList.test.tsx +0 -13
- package/src/components/Content/__tests__/Generated/TextListItem.test.tsx +0 -13
- package/src/components/Content/__tests__/Generated/__snapshots__/TextContent.test.tsx.snap +0 -11
- package/src/components/Content/__tests__/Generated/__snapshots__/TextList.test.tsx.snap +0 -11
- package/src/components/Content/__tests__/Generated/__snapshots__/TextListItem.test.tsx.snap +0 -11
- package/src/components/Content/__tests__/TextContent.test.tsx +0 -48
- package/src/components/Content/__tests__/TextList.test.tsx +0 -52
- package/src/components/Content/__tests__/TextListItem.test.tsx +0 -47
- package/src/components/Content/__tests__/__snapshots__/TextContent.test.tsx.snap +0 -11
- package/src/components/Content/__tests__/__snapshots__/TextList.test.tsx.snap +0 -11
- package/src/components/Content/__tests__/__snapshots__/TextListItem.test.tsx.snap +0 -11
- package/src/components/Text/examples/Text.md +0 -8
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import {
|
|
3
3
|
Card,
|
|
4
4
|
CardBody,
|
|
5
|
+
Content,
|
|
5
6
|
Gallery,
|
|
6
7
|
GalleryItem,
|
|
7
8
|
Nav,
|
|
@@ -11,9 +12,7 @@ import {
|
|
|
11
12
|
PageSection,
|
|
12
13
|
PageSidebar,
|
|
13
14
|
PageSidebarBody,
|
|
14
|
-
SkipToContent
|
|
15
|
-
TextContent,
|
|
16
|
-
Text
|
|
15
|
+
SkipToContent
|
|
17
16
|
} from '@patternfly/react-core';
|
|
18
17
|
import { DashboardBreadcrumb } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
19
18
|
import { DashboardHeader } from '@patternfly/react-core/dist/js/demos/DashboardHeader';
|
|
@@ -72,13 +71,13 @@ export const NavDefault: React.FunctionComponent = () => {
|
|
|
72
71
|
mainContainerId={pageId}
|
|
73
72
|
>
|
|
74
73
|
<PageSection>
|
|
75
|
-
<
|
|
76
|
-
<
|
|
77
|
-
<
|
|
78
|
-
Body text should be
|
|
74
|
+
<Content>
|
|
75
|
+
<h1>Main title</h1>
|
|
76
|
+
<p>
|
|
77
|
+
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br />
|
|
79
78
|
of its relative line height of 1.5.
|
|
80
|
-
</
|
|
81
|
-
</
|
|
79
|
+
</p>
|
|
80
|
+
</Content>
|
|
82
81
|
</PageSection>
|
|
83
82
|
<PageSection>
|
|
84
83
|
<Gallery hasGutter>
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import {
|
|
3
3
|
Card,
|
|
4
4
|
CardBody,
|
|
5
|
+
Content,
|
|
5
6
|
Gallery,
|
|
6
7
|
GalleryItem,
|
|
7
8
|
Nav,
|
|
@@ -12,9 +13,7 @@ import {
|
|
|
12
13
|
PageSection,
|
|
13
14
|
PageSidebar,
|
|
14
15
|
PageSidebarBody,
|
|
15
|
-
SkipToContent
|
|
16
|
-
TextContent,
|
|
17
|
-
Text
|
|
16
|
+
SkipToContent
|
|
18
17
|
} from '@patternfly/react-core';
|
|
19
18
|
import { DashboardBreadcrumb } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
20
19
|
import { DashboardHeader } from '@patternfly/react-core/dist/js/demos/DashboardHeader';
|
|
@@ -98,13 +97,13 @@ export const NavExpandableDemo: React.FunctionComponent = () => {
|
|
|
98
97
|
mainContainerId={pageId}
|
|
99
98
|
>
|
|
100
99
|
<PageSection>
|
|
101
|
-
<
|
|
102
|
-
<
|
|
103
|
-
<
|
|
104
|
-
Body text should be
|
|
100
|
+
<Content>
|
|
101
|
+
<h1>Main title</h1>
|
|
102
|
+
<p>
|
|
103
|
+
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br />
|
|
105
104
|
of its relative line height of 1.5.
|
|
106
|
-
</
|
|
107
|
-
</
|
|
105
|
+
</p>
|
|
106
|
+
</Content>
|
|
108
107
|
</PageSection>
|
|
109
108
|
<PageSection>
|
|
110
109
|
<Gallery hasGutter>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import {
|
|
3
|
+
Content,
|
|
3
4
|
Nav,
|
|
4
5
|
NavGroup,
|
|
5
6
|
NavItem,
|
|
@@ -7,9 +8,7 @@ import {
|
|
|
7
8
|
PageSection,
|
|
8
9
|
PageSidebar,
|
|
9
10
|
PageSidebarBody,
|
|
10
|
-
SkipToContent
|
|
11
|
-
TextContent,
|
|
12
|
-
Text
|
|
11
|
+
SkipToContent
|
|
13
12
|
} from '@patternfly/react-core';
|
|
14
13
|
import { DashboardHeader } from '@patternfly/react-core/dist/js/demos/DashboardHeader';
|
|
15
14
|
|
|
@@ -80,13 +79,13 @@ export const NavGrouped: React.FunctionComponent = () => {
|
|
|
80
79
|
mainContainerId={pageId}
|
|
81
80
|
>
|
|
82
81
|
<PageSection>
|
|
83
|
-
<
|
|
84
|
-
<
|
|
85
|
-
<
|
|
86
|
-
Body text should be
|
|
82
|
+
<Content>
|
|
83
|
+
<h1>Main title</h1>
|
|
84
|
+
<p>
|
|
85
|
+
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br />
|
|
87
86
|
of its relative line height of 1.5.
|
|
88
|
-
</
|
|
89
|
-
</
|
|
87
|
+
</p>
|
|
88
|
+
</Content>
|
|
90
89
|
</PageSection>
|
|
91
90
|
<PageSection>Section 1</PageSection>
|
|
92
91
|
<PageSection>Section 2</PageSection>
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
ButtonVariant,
|
|
7
7
|
Card,
|
|
8
8
|
CardBody,
|
|
9
|
+
Content,
|
|
9
10
|
Divider,
|
|
10
11
|
Dropdown,
|
|
11
12
|
DropdownGroup,
|
|
@@ -24,8 +25,6 @@ import {
|
|
|
24
25
|
Page,
|
|
25
26
|
PageSection,
|
|
26
27
|
SkipToContent,
|
|
27
|
-
TextContent,
|
|
28
|
-
Text,
|
|
29
28
|
Toolbar,
|
|
30
29
|
ToolbarContent,
|
|
31
30
|
ToolbarGroup,
|
|
@@ -216,13 +215,13 @@ export const NavHorizontal: React.FunctionComponent = () => {
|
|
|
216
215
|
mainContainerId={pageId}
|
|
217
216
|
>
|
|
218
217
|
<PageSection>
|
|
219
|
-
<
|
|
220
|
-
<
|
|
221
|
-
<
|
|
222
|
-
Body text should be
|
|
218
|
+
<Content>
|
|
219
|
+
<h1>Main title</h1>
|
|
220
|
+
<p>
|
|
221
|
+
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br />
|
|
223
222
|
of its relative line height of 1.5.
|
|
224
|
-
</
|
|
225
|
-
</
|
|
223
|
+
</p>
|
|
224
|
+
</Content>
|
|
226
225
|
</PageSection>
|
|
227
226
|
<PageSection>
|
|
228
227
|
<Gallery hasGutter>
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
ButtonVariant,
|
|
7
7
|
Card,
|
|
8
8
|
CardBody,
|
|
9
|
+
Content,
|
|
9
10
|
Divider,
|
|
10
11
|
Dropdown,
|
|
11
12
|
DropdownGroup,
|
|
@@ -27,8 +28,6 @@ import {
|
|
|
27
28
|
PageSectionTypes,
|
|
28
29
|
PageToggleButton,
|
|
29
30
|
SkipToContent,
|
|
30
|
-
TextContent,
|
|
31
|
-
Text,
|
|
32
31
|
Toolbar,
|
|
33
32
|
ToolbarContent,
|
|
34
33
|
ToolbarGroup,
|
|
@@ -271,13 +270,13 @@ export const NavHorizontalWithSubnav: React.FunctionComponent = () => {
|
|
|
271
270
|
{DashboardBreadcrumb}
|
|
272
271
|
</PageSection>
|
|
273
272
|
<PageSection>
|
|
274
|
-
<
|
|
275
|
-
<
|
|
276
|
-
<
|
|
277
|
-
Body text should be
|
|
273
|
+
<Content>
|
|
274
|
+
<h1>Main title</h1>
|
|
275
|
+
<p>
|
|
276
|
+
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br />
|
|
278
277
|
of it’s relative line height of 1.5.
|
|
279
|
-
</
|
|
280
|
-
</
|
|
278
|
+
</p>
|
|
279
|
+
</Content>
|
|
281
280
|
</PageSection>
|
|
282
281
|
<PageSection>
|
|
283
282
|
<Gallery hasGutter>
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
ButtonVariant,
|
|
7
7
|
Card,
|
|
8
8
|
CardBody,
|
|
9
|
+
Content,
|
|
9
10
|
Divider,
|
|
10
11
|
Dropdown,
|
|
11
12
|
DropdownGroup,
|
|
@@ -28,8 +29,6 @@ import {
|
|
|
28
29
|
PageSidebarBody,
|
|
29
30
|
PageToggleButton,
|
|
30
31
|
SkipToContent,
|
|
31
|
-
TextContent,
|
|
32
|
-
Text,
|
|
33
32
|
Toolbar,
|
|
34
33
|
ToolbarContent,
|
|
35
34
|
ToolbarGroup,
|
|
@@ -247,13 +246,13 @@ export const NavManual: React.FunctionComponent = () => {
|
|
|
247
246
|
mainContainerId={pageId}
|
|
248
247
|
>
|
|
249
248
|
<PageSection>
|
|
250
|
-
<
|
|
251
|
-
<
|
|
252
|
-
<
|
|
253
|
-
Body text should be
|
|
249
|
+
<Content>
|
|
250
|
+
<h1>Main title</h1>
|
|
251
|
+
<p>
|
|
252
|
+
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br />
|
|
254
253
|
of its relative line height of 1.5.
|
|
255
|
-
</
|
|
256
|
-
</
|
|
254
|
+
</p>
|
|
255
|
+
</Content>
|
|
257
256
|
</PageSection>
|
|
258
257
|
<PageSection>
|
|
259
258
|
<Gallery hasGutter>
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import {
|
|
3
3
|
Card,
|
|
4
4
|
CardBody,
|
|
5
|
+
Content,
|
|
5
6
|
Gallery,
|
|
6
7
|
GalleryItem,
|
|
7
8
|
Nav,
|
|
@@ -12,9 +13,7 @@ import {
|
|
|
12
13
|
PageSectionTypes,
|
|
13
14
|
PageSidebar,
|
|
14
15
|
PageSidebarBody,
|
|
15
|
-
SkipToContent
|
|
16
|
-
TextContent,
|
|
17
|
-
Text
|
|
16
|
+
SkipToContent
|
|
18
17
|
} from '@patternfly/react-core';
|
|
19
18
|
import { DashboardBreadcrumb } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
20
19
|
import { DashboardHeader } from '@patternfly/react-core/dist/js/demos/DashboardHeader';
|
|
@@ -116,13 +115,13 @@ export const NavWithSubnav: React.FunctionComponent = () => {
|
|
|
116
115
|
{DashboardBreadcrumb}
|
|
117
116
|
</PageSection>
|
|
118
117
|
<PageSection>
|
|
119
|
-
<
|
|
120
|
-
<
|
|
121
|
-
<
|
|
122
|
-
Body text should be
|
|
118
|
+
<Content>
|
|
119
|
+
<h1>Main title</h1>
|
|
120
|
+
<p>
|
|
121
|
+
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br />
|
|
123
122
|
of it’s relative line height of 1.5.
|
|
124
|
-
</
|
|
125
|
-
</
|
|
123
|
+
</p>
|
|
124
|
+
</Content>
|
|
126
125
|
</PageSection>
|
|
127
126
|
<PageSection>
|
|
128
127
|
<Gallery hasGutter>
|
|
@@ -31,8 +31,7 @@ import {
|
|
|
31
31
|
PageSidebarBody,
|
|
32
32
|
PageToggleButton,
|
|
33
33
|
SkipToContent,
|
|
34
|
-
|
|
35
|
-
TextContent,
|
|
34
|
+
Content,
|
|
36
35
|
Toolbar,
|
|
37
36
|
ToolbarContent,
|
|
38
37
|
ToolbarGroup,
|
|
@@ -298,10 +297,10 @@ export const PageStickySectionBreadcrumb: React.FunctionComponent = () => {
|
|
|
298
297
|
isBreadcrumbWidthLimited
|
|
299
298
|
>
|
|
300
299
|
<PageSection isWidthLimited>
|
|
301
|
-
<
|
|
302
|
-
<
|
|
303
|
-
<
|
|
304
|
-
</
|
|
300
|
+
<Content>
|
|
301
|
+
<Content component="h1">Main title</Content>
|
|
302
|
+
<Content component="p">This is a full page demo.</Content>
|
|
303
|
+
</Content>
|
|
305
304
|
</PageSection>
|
|
306
305
|
<PageSection isWidthLimited>
|
|
307
306
|
<Gallery hasGutter>
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
ButtonVariant,
|
|
9
9
|
Card,
|
|
10
10
|
CardBody,
|
|
11
|
+
Content,
|
|
11
12
|
Divider,
|
|
12
13
|
Dropdown,
|
|
13
14
|
DropdownGroup,
|
|
@@ -31,8 +32,6 @@ import {
|
|
|
31
32
|
PageSidebarBody,
|
|
32
33
|
PageToggleButton,
|
|
33
34
|
SkipToContent,
|
|
34
|
-
Text,
|
|
35
|
-
TextContent,
|
|
36
35
|
Toolbar,
|
|
37
36
|
ToolbarContent,
|
|
38
37
|
ToolbarGroup,
|
|
@@ -270,10 +269,10 @@ export const PageStickySectionBreadcrumb: React.FunctionComponent = () => {
|
|
|
270
269
|
}}
|
|
271
270
|
>
|
|
272
271
|
<PageSection isWidthLimited>
|
|
273
|
-
<
|
|
274
|
-
<
|
|
275
|
-
<
|
|
276
|
-
</
|
|
272
|
+
<Content>
|
|
273
|
+
<h1>Main title</h1>
|
|
274
|
+
<p>This is a full page demo.</p>
|
|
275
|
+
</Content>
|
|
277
276
|
</PageSection>
|
|
278
277
|
<PageSection isWidthLimited>
|
|
279
278
|
<Gallery hasGutter>
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
ButtonVariant,
|
|
9
9
|
Card,
|
|
10
10
|
CardBody,
|
|
11
|
+
Content,
|
|
11
12
|
Divider,
|
|
12
13
|
Dropdown,
|
|
13
14
|
DropdownGroup,
|
|
@@ -31,8 +32,6 @@ import {
|
|
|
31
32
|
PageSidebarBody,
|
|
32
33
|
PageToggleButton,
|
|
33
34
|
SkipToContent,
|
|
34
|
-
Text,
|
|
35
|
-
TextContent,
|
|
36
35
|
Toolbar,
|
|
37
36
|
ToolbarContent,
|
|
38
37
|
ToolbarGroup,
|
|
@@ -266,10 +265,10 @@ export const PageStickySectionGroup: React.FunctionComponent = () => {
|
|
|
266
265
|
isBreadcrumbGrouped
|
|
267
266
|
additionalGroupedContent={
|
|
268
267
|
<PageSection isWidthLimited>
|
|
269
|
-
<
|
|
270
|
-
<
|
|
271
|
-
<
|
|
272
|
-
</
|
|
268
|
+
<Content>
|
|
269
|
+
<h1>Main title</h1>
|
|
270
|
+
<p>This is a full page demo.</p>
|
|
271
|
+
</Content>
|
|
273
272
|
</PageSection>
|
|
274
273
|
}
|
|
275
274
|
groupProps={{
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
ButtonVariant,
|
|
9
9
|
Card,
|
|
10
10
|
CardBody,
|
|
11
|
+
Content,
|
|
11
12
|
Divider,
|
|
12
13
|
Dropdown,
|
|
13
14
|
DropdownGroup,
|
|
@@ -33,8 +34,6 @@ import {
|
|
|
33
34
|
PageSidebarBody,
|
|
34
35
|
PageToggleButton,
|
|
35
36
|
SkipToContent,
|
|
36
|
-
Text,
|
|
37
|
-
TextContent,
|
|
38
37
|
Toolbar,
|
|
39
38
|
ToolbarContent,
|
|
40
39
|
ToolbarGroup,
|
|
@@ -266,10 +265,10 @@ export const PageStickySectionGroupAlternate: React.FunctionComponent = () => {
|
|
|
266
265
|
</Breadcrumb>
|
|
267
266
|
</PageBreadcrumb>
|
|
268
267
|
<PageSection isWidthLimited>
|
|
269
|
-
<
|
|
270
|
-
<
|
|
271
|
-
<
|
|
272
|
-
</
|
|
268
|
+
<Content>
|
|
269
|
+
<h1>Main title</h1>
|
|
270
|
+
<p>This is a full page demo.</p>
|
|
271
|
+
</Content>
|
|
273
272
|
</PageSection>{' '}
|
|
274
273
|
</PageGroup>
|
|
275
274
|
<PageSection>
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
CardHeader,
|
|
7
7
|
CardBody,
|
|
8
8
|
CardTitle,
|
|
9
|
+
Content,
|
|
9
10
|
Divider,
|
|
10
11
|
Drawer,
|
|
11
12
|
DrawerActions,
|
|
@@ -24,14 +25,11 @@ import {
|
|
|
24
25
|
MenuToggle,
|
|
25
26
|
MenuToggleCheckbox,
|
|
26
27
|
PageSection,
|
|
27
|
-
PageSectionVariants,
|
|
28
28
|
Pagination,
|
|
29
29
|
Progress,
|
|
30
30
|
Select,
|
|
31
31
|
SelectList,
|
|
32
32
|
SelectOption,
|
|
33
|
-
TextContent,
|
|
34
|
-
Text,
|
|
35
33
|
Title,
|
|
36
34
|
Toolbar,
|
|
37
35
|
ToolbarFilter,
|
|
@@ -573,11 +571,9 @@ export const PrimaryDetailCardView: React.FunctionComponent = () => {
|
|
|
573
571
|
</Button>
|
|
574
572
|
</FlexItem>
|
|
575
573
|
<FlexItem>
|
|
576
|
-
<
|
|
577
|
-
<
|
|
578
|
-
|
|
579
|
-
</Text>
|
|
580
|
-
</TextContent>
|
|
574
|
+
<Content>
|
|
575
|
+
<small className="pf-v6-u-color-200 pf-v6-u-font-family-text">Provided by Red Hat</small>
|
|
576
|
+
</Content>
|
|
581
577
|
</FlexItem>
|
|
582
578
|
</Flex>
|
|
583
579
|
</CardTitle>
|
|
@@ -620,11 +616,11 @@ export const PrimaryDetailCardView: React.FunctionComponent = () => {
|
|
|
620
616
|
|
|
621
617
|
return (
|
|
622
618
|
<DashboardWrapper mainContainerId="main-content-card-view-default-nav" breadcrumb={null}>
|
|
623
|
-
<PageSection
|
|
624
|
-
<
|
|
625
|
-
<
|
|
626
|
-
<
|
|
627
|
-
</
|
|
619
|
+
<PageSection>
|
|
620
|
+
<Content>
|
|
621
|
+
<h1>Projects</h1>
|
|
622
|
+
<p>This is a demo that showcases Patternfly cards.</p>
|
|
623
|
+
</Content>
|
|
628
624
|
</PageSection>
|
|
629
625
|
<PageSection isFilled padding={{ default: 'noPadding' }}>
|
|
630
626
|
<Toolbar id="card-view-data-toolbar-group-types" clearAllFilters={onDelete}>
|
|
@@ -634,7 +630,7 @@ export const PrimaryDetailCardView: React.FunctionComponent = () => {
|
|
|
634
630
|
</PageSection>
|
|
635
631
|
<PageSection isFilled padding={{ default: 'noPadding' }}>
|
|
636
632
|
<Drawer isExpanded={isDrawerExpanded} className={'pf-m-inline-on-2xl'}>
|
|
637
|
-
<DrawerContent panelContent={panelContent}
|
|
633
|
+
<DrawerContent panelContent={panelContent}>
|
|
638
634
|
<DrawerContentBody hasPadding>{drawerContent}</DrawerContentBody>
|
|
639
635
|
</DrawerContent>
|
|
640
636
|
</Drawer>
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import {
|
|
3
3
|
Button,
|
|
4
4
|
ButtonVariant,
|
|
5
|
+
Content,
|
|
5
6
|
DataList,
|
|
6
7
|
DataListAction,
|
|
7
8
|
DataListCell,
|
|
@@ -30,8 +31,6 @@ import {
|
|
|
30
31
|
Progress,
|
|
31
32
|
Stack,
|
|
32
33
|
StackItem,
|
|
33
|
-
Text,
|
|
34
|
-
TextContent,
|
|
35
34
|
TextInput,
|
|
36
35
|
Title,
|
|
37
36
|
Select,
|
|
@@ -419,13 +418,13 @@ export const PrimaryDetailContentPadding: React.FunctionComponent = () => {
|
|
|
419
418
|
return (
|
|
420
419
|
<DashboardWrapper>
|
|
421
420
|
<PageSection>
|
|
422
|
-
<
|
|
423
|
-
<
|
|
424
|
-
<
|
|
425
|
-
Body text should be
|
|
421
|
+
<Content>
|
|
422
|
+
<h1>Main title</h1>
|
|
423
|
+
<p>
|
|
424
|
+
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br />
|
|
426
425
|
of it's relative line height of 1.5.
|
|
427
|
-
</
|
|
428
|
-
</
|
|
426
|
+
</p>
|
|
427
|
+
</Content>
|
|
429
428
|
</PageSection>
|
|
430
429
|
<Divider component="div" />
|
|
431
430
|
<PageSection padding={{ default: 'noPadding' }}>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import {
|
|
3
3
|
Card,
|
|
4
|
+
Content,
|
|
4
5
|
DataList,
|
|
5
6
|
DataListCell,
|
|
6
7
|
DataListItem,
|
|
@@ -25,10 +26,7 @@ import {
|
|
|
25
26
|
FlexItem,
|
|
26
27
|
MenuToggle,
|
|
27
28
|
PageSection,
|
|
28
|
-
PageSectionVariants,
|
|
29
29
|
Progress,
|
|
30
|
-
Text,
|
|
31
|
-
TextContent,
|
|
32
30
|
Title
|
|
33
31
|
} from '@patternfly/react-core';
|
|
34
32
|
import { DashboardWrapper } from '@patternfly/react-core/src/demos/DashboardWrapper';
|
|
@@ -183,14 +181,14 @@ export const PrimaryDetailDataListInCard: React.FunctionComponent = () => {
|
|
|
183
181
|
|
|
184
182
|
return (
|
|
185
183
|
<DashboardWrapper>
|
|
186
|
-
<PageSection
|
|
187
|
-
<
|
|
188
|
-
<
|
|
189
|
-
<
|
|
190
|
-
Body text should be
|
|
184
|
+
<PageSection>
|
|
185
|
+
<Content>
|
|
186
|
+
<h1>Main title</h1>
|
|
187
|
+
<p>
|
|
188
|
+
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br />
|
|
191
189
|
of it’s relative line height of 1.5.
|
|
192
|
-
</
|
|
193
|
-
</
|
|
190
|
+
</p>
|
|
191
|
+
</Content>
|
|
194
192
|
</PageSection>
|
|
195
193
|
<Divider component="div" />
|
|
196
194
|
<PageSection>
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import {
|
|
3
3
|
Button,
|
|
4
4
|
ButtonVariant,
|
|
5
|
+
Content,
|
|
5
6
|
DataList,
|
|
6
7
|
DataListAction,
|
|
7
8
|
DataListCell,
|
|
@@ -30,8 +31,6 @@ import {
|
|
|
30
31
|
Progress,
|
|
31
32
|
Stack,
|
|
32
33
|
StackItem,
|
|
33
|
-
Text,
|
|
34
|
-
TextContent,
|
|
35
34
|
TextInput,
|
|
36
35
|
Title,
|
|
37
36
|
Select,
|
|
@@ -419,13 +418,13 @@ export const PrimaryDetailFullPage: React.FunctionComponent = () => {
|
|
|
419
418
|
return (
|
|
420
419
|
<DashboardWrapper mainContainerId="main-content-page-layout-default-nav">
|
|
421
420
|
<PageSection>
|
|
422
|
-
<
|
|
423
|
-
<
|
|
424
|
-
<
|
|
425
|
-
Body text should be
|
|
421
|
+
<Content>
|
|
422
|
+
<h1>Main title</h1>
|
|
423
|
+
<p>
|
|
424
|
+
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br />
|
|
426
425
|
of it's relative line height of 1.5.
|
|
427
|
-
</
|
|
428
|
-
</
|
|
426
|
+
</p>
|
|
427
|
+
</Content>
|
|
429
428
|
</PageSection>
|
|
430
429
|
<Divider component="div" />
|
|
431
430
|
<PageSection padding={{ default: 'noPadding' }}>
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import {
|
|
3
3
|
Button,
|
|
4
4
|
ButtonVariant,
|
|
5
|
+
Content,
|
|
5
6
|
DataList,
|
|
6
7
|
DataListAction,
|
|
7
8
|
DataListCell,
|
|
@@ -30,8 +31,6 @@ import {
|
|
|
30
31
|
Progress,
|
|
31
32
|
Stack,
|
|
32
33
|
StackItem,
|
|
33
|
-
Text,
|
|
34
|
-
TextContent,
|
|
35
34
|
TextInput,
|
|
36
35
|
Title,
|
|
37
36
|
Select,
|
|
@@ -419,13 +418,13 @@ export const PrimaryDetailInlineModifier: React.FunctionComponent = () => {
|
|
|
419
418
|
return (
|
|
420
419
|
<DashboardWrapper>
|
|
421
420
|
<PageSection>
|
|
422
|
-
<
|
|
423
|
-
<
|
|
424
|
-
<
|
|
425
|
-
Body text should be
|
|
421
|
+
<Content>
|
|
422
|
+
<h1>Main title</h1>
|
|
423
|
+
<p>
|
|
424
|
+
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br />
|
|
426
425
|
of it's relative line height of 1.5.
|
|
427
|
-
</
|
|
428
|
-
</
|
|
426
|
+
</p>
|
|
427
|
+
</Content>
|
|
429
428
|
</PageSection>
|
|
430
429
|
<Divider component="div" />
|
|
431
430
|
<PageSection padding={{ default: 'noPadding' }}>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import {
|
|
3
3
|
Card,
|
|
4
|
+
Content,
|
|
4
5
|
Divider,
|
|
5
6
|
Drawer,
|
|
6
7
|
DrawerActions,
|
|
@@ -13,13 +14,10 @@ import {
|
|
|
13
14
|
Flex,
|
|
14
15
|
FlexItem,
|
|
15
16
|
PageSection,
|
|
16
|
-
PageSectionVariants,
|
|
17
17
|
Progress,
|
|
18
18
|
SimpleList,
|
|
19
19
|
SimpleListGroup,
|
|
20
20
|
SimpleListItem,
|
|
21
|
-
Text,
|
|
22
|
-
TextContent,
|
|
23
21
|
Title
|
|
24
22
|
} from '@patternfly/react-core';
|
|
25
23
|
import { DashboardWrapper } from '@patternfly/react-core/src/demos/DashboardWrapper';
|
|
@@ -92,14 +90,14 @@ export const PrimaryDetailSimpleListInCard: React.FunctionComponent = () => {
|
|
|
92
90
|
|
|
93
91
|
return (
|
|
94
92
|
<DashboardWrapper>
|
|
95
|
-
<PageSection
|
|
96
|
-
<
|
|
97
|
-
<
|
|
98
|
-
<
|
|
99
|
-
Body text should be
|
|
93
|
+
<PageSection>
|
|
94
|
+
<Content>
|
|
95
|
+
<h1>Main title</h1>
|
|
96
|
+
<p>
|
|
97
|
+
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br />
|
|
100
98
|
of it’s relative line height of 1.5.
|
|
101
|
-
</
|
|
102
|
-
</
|
|
99
|
+
</p>
|
|
100
|
+
</Content>
|
|
103
101
|
</PageSection>
|
|
104
102
|
<Divider component="div" />
|
|
105
103
|
<PageSection>
|