@patternfly/documentation-framework 5.3.21 → 5.3.23

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 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.3.23 (2024-01-19)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * avoid applying beta tags to nav items for next components ([#3868](https://github.com/patternfly/patternfly-org/issues/3868)) ([169c96f](https://github.com/patternfly/patternfly-org/commit/169c96f55b1bfdcb9859dbab27b88f5a180f48ba))
12
+
13
+
14
+
15
+
16
+
17
+ ## 5.3.22 (2024-01-16)
18
+
19
+ **Note:** Version bump only for package @patternfly/documentation-framework
20
+
21
+
22
+
23
+
24
+
6
25
  ## 5.3.21 (2024-01-16)
7
26
 
8
27
 
@@ -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),
99
+ isBeta: navObj.sources.some(source => source.beta && source.source !== 'react-next'),
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.3.21",
4
+ "version": "5.3.23",
5
5
  "author": "Red Hat",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -17,7 +17,7 @@
17
17
  "@babel/plugin-transform-react-jsx": "7.17.12",
18
18
  "@babel/preset-env": "7.18.2",
19
19
  "@mdx-js/util": "1.6.16",
20
- "@patternfly/ast-helpers": "^1.3.21",
20
+ "@patternfly/ast-helpers": "^1.3.23",
21
21
  "@reach/router": "npm:@gatsbyjs/reach-router@1.3.9",
22
22
  "autoprefixer": "9.8.6",
23
23
  "babel-loader": "9.1.2",
@@ -87,5 +87,5 @@
87
87
  "react": "^17.0.0 || ^18.0.0",
88
88
  "react-dom": "^17.0.0 || ^18.0.0"
89
89
  },
90
- "gitHead": "f265c4a12fcfbe624f83c00f483ff2734fb3f089"
90
+ "gitHead": "f78a9b66f56c186a5afcfd22d01c16131b30d355"
91
91
  }
package/templates/mdx.js CHANGED
@@ -152,7 +152,7 @@ export const MDXTemplate = ({
152
152
  componentsData
153
153
  }) => {
154
154
  const isDeprecated = sources.some(source => source.source === "react-deprecated" || source.source === "html-deprecated") && !sources.some(source => source.source === "react" || source.source === "html");
155
- const isBeta = sources.some(source => source.beta)
155
+ const isBeta = sources.some(source => source.beta && source.source !== 'react-next')
156
156
  const isDemo = sources.some(source => source.source === "react-demos" || source.source === "html-demos") && !sources.some(source => source.source === "react" || source.source === "html");
157
157
  // Build obj mapping source names to text displayed on tabs
158
158
  const tabNames = sources.reduce((acc, curSrc) => {