@patternfly/documentation-framework 6.9.3 → 6.9.4

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,17 @@
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.9.4 (2025-04-23)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **example:** keeps example content from overflowing content area ([#4550](https://github.com/patternfly/patternfly-org/issues/4550)) ([8a4b648](https://github.com/patternfly/patternfly-org/commit/8a4b648a46aa710608557ce920e8070bf251d5ef))
12
+
13
+
14
+
15
+
16
+
6
17
  ## 6.9.3 (2025-04-16)
7
18
 
8
19
  **Note:** Version bump only for package @patternfly/documentation-framework
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.9.3",
4
+ "version": "6.9.4",
5
5
  "author": "Red Hat",
6
6
  "license": "MIT",
7
7
  "bin": {
@@ -12,7 +12,7 @@
12
12
  "@babel/preset-env": "^7.24.3",
13
13
  "@babel/preset-react": "^7.24.1",
14
14
  "@mdx-js/util": "1.6.16",
15
- "@patternfly/ast-helpers": "^1.4.0-alpha.176",
15
+ "@patternfly/ast-helpers": "^1.4.0-alpha.177",
16
16
  "@reach/router": "npm:@gatsbyjs/reach-router@1.3.9",
17
17
  "autoprefixer": "9.8.6",
18
18
  "babel-loader": "^9.1.3",
@@ -79,5 +79,5 @@
79
79
  "react": "^17.0.0 || ^18.0.0",
80
80
  "react-dom": "^17.0.0 || ^18.0.0"
81
81
  },
82
- "gitHead": "1109d62bf5d18909b7df84ecc53ffd4cda7010d3"
82
+ "gitHead": "ab21444cc7401c409d4b2fe55bf201527ac853b1"
83
83
  }
package/templates/mdx.css CHANGED
@@ -23,3 +23,7 @@ p.pf-v6-c-content--p.ws-p {
23
23
  .ws-back-to-top {
24
24
  z-index: var(--pf-t--global--z-index--2xl);
25
25
  }
26
+
27
+ .ws-example-page-wrapper {
28
+ max-width: min(100%, 825px);
29
+ }
package/templates/mdx.js CHANGED
@@ -110,7 +110,7 @@ const MDXChildTemplate = ({ Component, source, toc = [], index = 0, id }) => {
110
110
  const ChildComponent = () => (
111
111
  <div className={source !== 'landing-pages' ? 'pf-v6-l-flex' : ''}>
112
112
  {toc.length > 1 && <TableOfContents items={toc} />}
113
- <Stack hasGutter style={{ ...(source !== 'landing-pages' && { maxWidth: '825px' }) }}>
113
+ <Stack hasGutter className={(source !== 'landing-pages' && 'ws-example-page-wrapper')}>
114
114
  {InlineAlerts}
115
115
  <Component />
116
116
  {functionDocumentation.length > 0 && (