@patternfly/documentation-framework 6.0.0-alpha.63 → 6.0.0-alpha.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/components/autoLinkHeader/autoLinkHeader.js +3 -3
- package/components/footer/footer.js +3 -3
- package/components/sectionGallery/TextSummary.js +5 -5
- package/components/sectionGallery/sectionDataListLayout.js +6 -7
- package/components/sectionGallery/sectionGalleryToolbar.js +4 -4
- package/package.json +6 -6
- package/templates/mdx.js +3 -3
- package/versions.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 6.0.0-alpha.65 (2024-07-25)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @patternfly/documentation-framework
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# 6.0.0-alpha.64 (2024-07-22)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @patternfly/documentation-framework
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# 6.0.0-alpha.63 (2024-07-19)
|
|
7
23
|
|
|
8
24
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Flex, FlexItem,
|
|
2
|
+
import { Flex, FlexItem, Content } from '@patternfly/react-core';
|
|
3
3
|
import LinkIcon from '@patternfly/react-icons/dist/esm/icons/link-icon';
|
|
4
4
|
import { Link } from '../link/link';
|
|
5
5
|
import { slugger } from '../../helpers/slugger';
|
|
@@ -17,7 +17,7 @@ export const AutoLinkHeader = ({
|
|
|
17
17
|
return (
|
|
18
18
|
<Flex alignItems={{ default: 'alignItemsCenter'}} spaceItems={{ default: "spaceItemsSm" }}>
|
|
19
19
|
<FlexItem>
|
|
20
|
-
<
|
|
20
|
+
<Content
|
|
21
21
|
id={slug}
|
|
22
22
|
component={headingLevel}
|
|
23
23
|
className={css('ws-heading', className)}
|
|
@@ -27,7 +27,7 @@ export const AutoLinkHeader = ({
|
|
|
27
27
|
<LinkIcon className="ws-heading-anchor-icon" style={{ verticalAlign: 'middle' }} />
|
|
28
28
|
</Link>
|
|
29
29
|
{children}
|
|
30
|
-
</
|
|
30
|
+
</Content>
|
|
31
31
|
</FlexItem>
|
|
32
32
|
{metaText && <FlexItem>{metaText}</FlexItem>}
|
|
33
33
|
</Flex>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {Brand, Grid, GridItem, List, PageSection,
|
|
2
|
+
import {Brand, Grid, GridItem, List, PageSection, Content} from "@patternfly/react-core";
|
|
3
3
|
import {Link} from "@patternfly/documentation-framework/components";
|
|
4
4
|
import {GithubIcon, TwitterIcon} from "@patternfly/react-icons";
|
|
5
5
|
import redhatLogo from "./RHLogo.png";
|
|
@@ -176,14 +176,14 @@ export const Footer = () => (
|
|
|
176
176
|
<source srcSet={logo} />
|
|
177
177
|
</Brand>
|
|
178
178
|
</Link>
|
|
179
|
-
<
|
|
179
|
+
<Content component="p" className="ws-org-pfsite-footer-menu-about-description">
|
|
180
180
|
PatternFly is an open source design system built to drive
|
|
181
181
|
consistency and unify teams. From documentation and components
|
|
182
182
|
to code examples and tutorials, PatternFly is a place where
|
|
183
183
|
design and development can thrive. We’re on a mission to help
|
|
184
184
|
teams build consistent, accessible, and scalable enterprise
|
|
185
185
|
product experiences—the open source way.
|
|
186
|
-
</
|
|
186
|
+
</Content>
|
|
187
187
|
</GridItem>
|
|
188
188
|
<GridItem className="ws-org-pfsite-footer-menu-social-links pf-v6-u-px-xl">
|
|
189
189
|
<Link
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { convertToReactComponent } from "@patternfly/ast-helpers";
|
|
3
|
-
import {
|
|
3
|
+
import { Content } from "@patternfly/react-core";
|
|
4
4
|
|
|
5
5
|
// convert summary text from string to jsx, remove links
|
|
6
6
|
export const SummaryComponent = ({ id, itemsData }) => {
|
|
@@ -22,10 +22,10 @@ export const TextSummary = ({ id, itemsData }) => {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
return (
|
|
25
|
-
<
|
|
26
|
-
<
|
|
25
|
+
<Content>
|
|
26
|
+
<Content component="p">
|
|
27
27
|
<SummaryComponent id={id} itemsData={itemsData} />
|
|
28
|
-
</
|
|
29
|
-
</
|
|
28
|
+
</Content>
|
|
29
|
+
</Content>
|
|
30
30
|
)
|
|
31
31
|
};
|
|
@@ -7,9 +7,8 @@ import {
|
|
|
7
7
|
DataListCell,
|
|
8
8
|
Split,
|
|
9
9
|
SplitItem,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
TextVariants,
|
|
10
|
+
Content,
|
|
11
|
+
ContentVariants,
|
|
13
12
|
Label,
|
|
14
13
|
} from '@patternfly/react-core';
|
|
15
14
|
import { Link } from '../link/link';
|
|
@@ -58,11 +57,11 @@ export const SectionDataListLayout = ({
|
|
|
58
57
|
<DataListCell width={5} key="text-description">
|
|
59
58
|
<Split className={hasListText ? 'pf-v6-u-mb-md' : null}>
|
|
60
59
|
<SplitItem isFilled>
|
|
61
|
-
<
|
|
62
|
-
<
|
|
60
|
+
<Content>
|
|
61
|
+
<Content component={ContentVariants.h2}>
|
|
63
62
|
<span>{title}</span>
|
|
64
|
-
</
|
|
65
|
-
</
|
|
63
|
+
</Content>
|
|
64
|
+
</Content>
|
|
66
65
|
</SplitItem>
|
|
67
66
|
<SplitItem>
|
|
68
67
|
{isBeta && (
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
ToolbarContent,
|
|
7
7
|
ToolbarGroup,
|
|
8
8
|
ToolbarItem,
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
Content,
|
|
10
|
+
ContentVariants,
|
|
11
11
|
ToggleGroup,
|
|
12
12
|
ToggleGroupItem,
|
|
13
13
|
} from '@patternfly/react-core';
|
|
@@ -63,10 +63,10 @@ export const SectionGalleryToolbar = ({
|
|
|
63
63
|
spacer={{ default: 'spacerMd', md: 'spacerNone' }}
|
|
64
64
|
style={{ '--pf-v6-c-toolbar__item--MinWidth': 'max-content' }}
|
|
65
65
|
>
|
|
66
|
-
<
|
|
66
|
+
<Content component={ContentVariants.small}>
|
|
67
67
|
{galleryItems.length}
|
|
68
68
|
{countText}
|
|
69
|
-
</
|
|
69
|
+
</Content>
|
|
70
70
|
</ToolbarItem>
|
|
71
71
|
</ToolbarContent>
|
|
72
72
|
</Toolbar>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/documentation-framework",
|
|
3
3
|
"description": "A framework to build documentation for PatternFly.",
|
|
4
|
-
"version": "6.0.0-alpha.
|
|
4
|
+
"version": "6.0.0-alpha.65",
|
|
5
5
|
"author": "Red Hat",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"private": false,
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"@babel/preset-env": "^7.24.3",
|
|
14
14
|
"@babel/preset-react": "^7.24.1",
|
|
15
15
|
"@mdx-js/util": "1.6.16",
|
|
16
|
-
"@patternfly/ast-helpers": "^1.4.0-alpha.
|
|
16
|
+
"@patternfly/ast-helpers": "^1.4.0-alpha.54",
|
|
17
17
|
"@reach/router": "npm:@gatsbyjs/reach-router@1.3.9",
|
|
18
18
|
"autoprefixer": "9.8.6",
|
|
19
19
|
"babel-loader": "^9.1.3",
|
|
@@ -74,11 +74,11 @@
|
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"@patternfly/patternfly": "6.0.0-alpha.181",
|
|
77
|
-
"@patternfly/react-code-editor": "6.0.0-alpha.
|
|
78
|
-
"@patternfly/react-core": "6.0.0-alpha.
|
|
79
|
-
"@patternfly/react-table": "6.0.0-alpha.
|
|
77
|
+
"@patternfly/react-code-editor": "6.0.0-alpha.89",
|
|
78
|
+
"@patternfly/react-core": "6.0.0-alpha.89",
|
|
79
|
+
"@patternfly/react-table": "6.0.0-alpha.90",
|
|
80
80
|
"react": "^17.0.0 || ^18.0.0",
|
|
81
81
|
"react-dom": "^17.0.0 || ^18.0.0"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "9b3df81e01bdf370d9a3075905ba1b8dfc6ae127"
|
|
84
84
|
}
|
package/templates/mdx.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { PageSection, Title, Tooltip, PageSectionVariants, Button, BackToTop, Flex, FlexItem, PageGroup, Page,
|
|
2
|
+
import { PageSection, Title, Tooltip, PageSectionVariants, Button, BackToTop, Flex, FlexItem, PageGroup, Page, Content, Label, Stack, StackItem } from '@patternfly/react-core';
|
|
3
3
|
import { css } from '@patternfly/react-styles';
|
|
4
4
|
import ExternalLinkAltIcon from '@patternfly/react-icons/dist/esm/icons/external-link-alt-icon';
|
|
5
5
|
import { Router, useLocation } from '@reach/router';
|
|
@@ -249,7 +249,7 @@ export const MDXTemplate = ({
|
|
|
249
249
|
variant={!isSinglePage ? PageSectionVariants.light : ""}
|
|
250
250
|
isWidthLimited
|
|
251
251
|
>
|
|
252
|
-
<
|
|
252
|
+
<Content>
|
|
253
253
|
<Flex alignItems={{ default: 'alignItemsCenter'}}>
|
|
254
254
|
<FlexItem>
|
|
255
255
|
<Title headingLevel='h1' size='4xl' id="ws-page-title">
|
|
@@ -289,7 +289,7 @@ export const MDXTemplate = ({
|
|
|
289
289
|
</FlexItem>
|
|
290
290
|
</Flex>
|
|
291
291
|
{isComponent && summary && (<SummaryComponent />)}
|
|
292
|
-
</
|
|
292
|
+
</Content>
|
|
293
293
|
</PageSection>
|
|
294
294
|
{ showTabs && (
|
|
295
295
|
<PageSection id="ws-sticky-nav-tabs" stickyOnBreakpoint={{'default':'top'}} type="tabs">
|
package/versions.json
CHANGED
|
@@ -8,21 +8,21 @@
|
|
|
8
8
|
"@patternfly/patternfly": "6.0.0-alpha.139",
|
|
9
9
|
"@patternfly/react-catalog-view-extension": "6.0.0-alpha.4",
|
|
10
10
|
"@patternfly/react-charts": "8.0.0-alpha.23",
|
|
11
|
-
"@patternfly/react-code-editor": "6.0.0-alpha.
|
|
11
|
+
"@patternfly/react-code-editor": "6.0.0-alpha.89",
|
|
12
12
|
"@patternfly/react-component-groups": "6.0.0-alpha.3",
|
|
13
|
-
"@patternfly/react-core": "6.0.0-alpha.
|
|
14
|
-
"@patternfly/react-drag-drop": "6.0.0-alpha.
|
|
13
|
+
"@patternfly/react-core": "6.0.0-alpha.89",
|
|
14
|
+
"@patternfly/react-drag-drop": "6.0.0-alpha.71",
|
|
15
15
|
"@patternfly/react-icons": "6.0.0-alpha.23",
|
|
16
16
|
"@patternfly/react-log-viewer": "6.0.0-alpha.2",
|
|
17
17
|
"@patternfly/react-styles": "6.0.0-alpha.23",
|
|
18
|
-
"@patternfly/react-table": "6.0.0-alpha.
|
|
18
|
+
"@patternfly/react-table": "6.0.0-alpha.90",
|
|
19
19
|
"@patternfly/react-tokens": "6.0.0-alpha.23",
|
|
20
20
|
"@patternfly/react-topology": "6.0.0-alpha.1",
|
|
21
21
|
"@patternfly/react-user-feedback": "6.0.0-alpha.1",
|
|
22
22
|
"@patternfly/react-console": "6.0.0-alpha.1",
|
|
23
23
|
"@patternfly/quickstarts": "5.1.0",
|
|
24
24
|
"@patternfly/react-virtualized-extension": "6.0.0-alpha.1",
|
|
25
|
-
"@patternfly/react-templates": "6.0.0-alpha.
|
|
25
|
+
"@patternfly/react-templates": "6.0.0-alpha.39"
|
|
26
26
|
}
|
|
27
27
|
},{
|
|
28
28
|
"name": "5.2.0",
|