@patternfly/documentation-framework 6.28.8 → 6.28.10
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
|
+
## 6.28.10 (2025-10-31)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @patternfly/documentation-framework
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## 6.28.9 (2025-10-28)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **docs-framework:** update webpack to handle all images the same way ([#4843](https://github.com/patternfly/patternfly-org/issues/4843)) ([26cbb75](https://github.com/patternfly/patternfly-org/commit/26cbb7559e71bfaff0cf01c9afc378f48624abf9))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## 6.28.8 (2025-10-22)
|
|
7
26
|
|
|
8
27
|
|
|
@@ -108,6 +108,8 @@ export const Example = ({
|
|
|
108
108
|
// absolute url to hosted file
|
|
109
109
|
sourceLink = ''
|
|
110
110
|
}) => {
|
|
111
|
+
|
|
112
|
+
|
|
111
113
|
if (isFullscreenPreview) {
|
|
112
114
|
isFullscreen = false;
|
|
113
115
|
}
|
|
@@ -264,6 +266,11 @@ export const Example = ({
|
|
|
264
266
|
);
|
|
265
267
|
const metaText = hasMetaText && tooltips;
|
|
266
268
|
|
|
269
|
+
const thumbnailDimensions = {
|
|
270
|
+
width: "800",
|
|
271
|
+
height: "450"
|
|
272
|
+
}
|
|
273
|
+
|
|
267
274
|
return (
|
|
268
275
|
<Stack hasGutter>
|
|
269
276
|
<StackItem>
|
|
@@ -281,7 +288,7 @@ export const Example = ({
|
|
|
281
288
|
target="_blank"
|
|
282
289
|
aria-label={`Open fullscreen ${title} example`}
|
|
283
290
|
>
|
|
284
|
-
<img src={thumbnail
|
|
291
|
+
<img src={thumbnail} width={thumbnailDimensions.width} height={thumbnailDimensions.height} alt={`${title} screenshot`} />
|
|
285
292
|
</a>
|
|
286
293
|
</div>
|
|
287
294
|
) : (
|
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.28.
|
|
4
|
+
"version": "6.28.10",
|
|
5
5
|
"author": "Red Hat",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bin": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@babel/preset-env": "7.27.1",
|
|
13
13
|
"@babel/preset-react": "^7.24.1",
|
|
14
14
|
"@mdx-js/util": "1.6.16",
|
|
15
|
-
"@patternfly/ast-helpers": "^1.4.0-alpha.
|
|
15
|
+
"@patternfly/ast-helpers": "^1.4.0-alpha.304",
|
|
16
16
|
"@reach/router": "npm:@gatsbyjs/reach-router@1.3.9",
|
|
17
17
|
"autoprefixer": "10.4.19",
|
|
18
18
|
"babel-loader": "^9.1.3",
|
|
@@ -54,7 +54,6 @@
|
|
|
54
54
|
"remark-mdxjs": "2.0.0-next.8",
|
|
55
55
|
"remark-parse": "8.0.3",
|
|
56
56
|
"remark-squeeze-paragraphs": "4.0.0",
|
|
57
|
-
"responsive-loader": "3.1.2",
|
|
58
57
|
"sharp": "0.33.0",
|
|
59
58
|
"style-to-object": "0.3.0",
|
|
60
59
|
"to-vfile": "6.1.0",
|
|
@@ -95,5 +94,5 @@
|
|
|
95
94
|
"http-cache-semantics": ">=4.1.1",
|
|
96
95
|
"nanoid": "3.3.8"
|
|
97
96
|
},
|
|
98
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "2013328591350abd081bc0c793af7c4b8d4e3adc"
|
|
99
98
|
}
|
|
@@ -72,18 +72,7 @@ module.exports = (_env, argv) => {
|
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
|
-
test: /\.(png|jpe?g|webp)$/,
|
|
76
|
-
use: {
|
|
77
|
-
loader: 'responsive-loader',
|
|
78
|
-
options: {
|
|
79
|
-
adapter: require('responsive-loader/sharp'),
|
|
80
|
-
name: '[name].[contenthash].[ext]',
|
|
81
|
-
outputPath: 'images/'
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
test: /\.(gif|svg)$/,
|
|
75
|
+
test: /\.(gif|svg|png|jpe?g|webp)$/,
|
|
87
76
|
type: 'asset/resource',
|
|
88
77
|
dependency: { not: ['url'] },
|
|
89
78
|
generator: {
|