@patternfly/documentation-framework 5.9.1 → 5.10.1
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 +19 -0
- package/components/cssVariables/cssVariables.js +1 -1
- package/components/sideNav/sideNav.js +1 -1
- package/package.json +7 -7
- package/templates/mdx.js +1 -1
- package/versions.json +26 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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
|
+
## 5.10.1 (2024-04-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @patternfly/documentation-framework
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# 5.10.0 (2024-04-02)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **Templates:** add to org site ([#3947](https://github.com/patternfly/patternfly-org/issues/3947)) ([a869dee](https://github.com/patternfly/patternfly-org/commit/a869dee87cc39296df9226f3fc1d780dce893a54))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## 5.9.1 (2024-04-02)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @patternfly/documentation-framework
|
|
@@ -96,7 +96,7 @@ const ExpandableNav = ({groupedRoutes, location, section, subsection = null}) =>
|
|
|
96
96
|
source.source === "react-deprecated" || source.source === "html-deprecated")
|
|
97
97
|
&& !navObj.sources.some(source => source.source === "react" || source.source === "html")
|
|
98
98
|
),
|
|
99
|
-
isBeta: navObj.sources.some(source => source.beta && source.source !== 'react-next'),
|
|
99
|
+
isBeta: navObj.sources.some(source => source.beta && source.source !== 'react-next' && source.source !== 'react-templates'),
|
|
100
100
|
isDemo: navObj.sources.some(source => (
|
|
101
101
|
source.source === "react-demos" || source.source === "html-demos")
|
|
102
102
|
&& !navObj.sources.some(source => source.source === "react" || source.source === "html")
|
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": "5.
|
|
4
|
+
"version": "5.10.1",
|
|
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.
|
|
16
|
+
"@patternfly/ast-helpers": "^1.10.1",
|
|
17
17
|
"@reach/router": "npm:@gatsbyjs/reach-router@1.3.9",
|
|
18
18
|
"autoprefixer": "9.8.6",
|
|
19
19
|
"babel-loader": "^9.1.3",
|
|
@@ -73,12 +73,12 @@
|
|
|
73
73
|
"webpack-merge": "5.8.0"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
|
-
"@patternfly/patternfly": "5.
|
|
77
|
-
"@patternfly/react-code-editor": "5.
|
|
78
|
-
"@patternfly/react-core": "5.
|
|
79
|
-
"@patternfly/react-table": "5.
|
|
76
|
+
"@patternfly/patternfly": "5.3.0-prerelease.5",
|
|
77
|
+
"@patternfly/react-code-editor": "5.3.0-prerelease.27",
|
|
78
|
+
"@patternfly/react-core": "5.3.0-prerelease.25",
|
|
79
|
+
"@patternfly/react-table": "5.3.0-prerelease.27",
|
|
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": "23f308e598dae740ddcecb1e8808c90f05051981"
|
|
84
84
|
}
|
package/templates/mdx.js
CHANGED
|
@@ -158,7 +158,7 @@ export const MDXTemplate = ({
|
|
|
158
158
|
componentsData
|
|
159
159
|
}) => {
|
|
160
160
|
const isDeprecated = sources.some(source => source.source === "react-deprecated" || source.source === "html-deprecated") && !sources.some(source => source.source === "react" || source.source === "html");
|
|
161
|
-
const isBeta = sources.some(source => source.beta && source.source !== 'react-next')
|
|
161
|
+
const isBeta = sources.some(source => source.beta && source.source !== 'react-next' && source.source !== 'react-templates');
|
|
162
162
|
const isDemo = sources.some(source => source.source === "react-demos" || source.source === "html-demos") && !sources.some(source => source.source === "react" || source.source === "html");
|
|
163
163
|
// Build obj mapping source names to text displayed on tabs
|
|
164
164
|
const tabNames = sources.reduce((acc, curSrc) => {
|
package/versions.json
CHANGED
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Releases": [
|
|
3
|
+
{
|
|
4
|
+
"name": "5.3.0",
|
|
5
|
+
"date": "2024-04-02",
|
|
6
|
+
"latest": true,
|
|
7
|
+
"versions": {
|
|
8
|
+
"@patternfly/patternfly": "5.3.0-prerelease.5",
|
|
9
|
+
"@patternfly/react-charts": "7.3.0-prerelease.6",
|
|
10
|
+
"@patternfly/react-code-editor": "5.3.0-prerelease.27",
|
|
11
|
+
"@patternfly/react-core": "5.3.0-prerelease.25",
|
|
12
|
+
"@patternfly/react-icons": "5.3.0-prerelease.3",
|
|
13
|
+
"@patternfly/react-styles": "5.3.0-prerelease.3",
|
|
14
|
+
"@patternfly/react-table": "5.3.0-prerelease.27",
|
|
15
|
+
"@patternfly/react-drag-drop": "5.3.0-prerelease.25",
|
|
16
|
+
"@patternfly/react-tokens": "5.3.0-prerelease.3",
|
|
17
|
+
"@patternfly/react-catalog-view-extension": "5.0.0",
|
|
18
|
+
"@patternfly/react-component-groups": "5.1.0",
|
|
19
|
+
"@patternfly/react-console": "5.0.0",
|
|
20
|
+
"@patternfly/react-log-viewer": "5.2.0",
|
|
21
|
+
"@patternfly/react-topology": "5.3.0-prerelease.11",
|
|
22
|
+
"@patternfly/react-user-feedback": "5.0.0",
|
|
23
|
+
"@patternfly/react-virtualized-extension": "5.0.0",
|
|
24
|
+
"@patternfly/quickstarts": "5.3.0-prerelease.1",
|
|
25
|
+
"@patternfly/react-templates": "1.0.0-prerelease.8"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
3
28
|
{
|
|
4
29
|
"name": "5.2.2",
|
|
5
30
|
"date": "2024-03-12",
|
|
6
|
-
"
|
|
31
|
+
"hidden": true,
|
|
7
32
|
"versions": {
|
|
8
33
|
"@patternfly/patternfly": "5.2.1",
|
|
9
34
|
"@patternfly/react-charts": "7.2.2",
|