@patternfly/documentation-framework 5.1.1 → 5.1.3
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.1.3 (2023-08-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @patternfly/documentation-framework
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## 5.1.2 (2023-08-09)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* clean up h2 and dark theme switcher styles ([#3690](https://github.com/patternfly/patternfly-org/issues/3690)) ([8319c0c](https://github.com/patternfly/patternfly-org/commit/8319c0ccecb018f72b277e070e4ccab1896f6cab))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## 5.1.1 (2023-08-09)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @patternfly/documentation-framework
|
|
@@ -36,3 +36,9 @@
|
|
|
36
36
|
.ws-masthead .pf-v5-c-toolbar__item {
|
|
37
37
|
min-width: 0;
|
|
38
38
|
}
|
|
39
|
+
|
|
40
|
+
.ws-masthead .pf-v5-c-switch {
|
|
41
|
+
align-items: center;
|
|
42
|
+
--pf-v5-c-switch__input--not-checked__label--Color: var(--pf-v5-global--Color--100);
|
|
43
|
+
--pf-v5-c-switch__input--checked__label--Color: var(--pf-v5-global--Color--100);
|
|
44
|
+
}
|
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.1.
|
|
4
|
+
"version": "5.1.3",
|
|
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.1.
|
|
20
|
+
"@patternfly/ast-helpers": "^1.1.3",
|
|
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": "
|
|
90
|
+
"gitHead": "07f44ec1c8a33f5ae4d559dde30e7a5a8fb118c3"
|
|
91
91
|
}
|
|
@@ -27,7 +27,7 @@ const clientConfig = async (env, argv) => {
|
|
|
27
27
|
return {
|
|
28
28
|
output: {
|
|
29
29
|
path: argv.output ? path.resolve(argv.output) : path.resolve('public'),
|
|
30
|
-
filename: '[name].[contenthash].bundle.js'
|
|
30
|
+
filename: 'js/[name].[contenthash].bundle.js'
|
|
31
31
|
},
|
|
32
32
|
devServer: {
|
|
33
33
|
hot: true,
|
|
@@ -85,7 +85,7 @@ const clientConfig = async (env, argv) => {
|
|
|
85
85
|
exclude: reactCSSRegex,
|
|
86
86
|
use: [
|
|
87
87
|
{
|
|
88
|
-
loader: MiniCssExtractPlugin.loader
|
|
88
|
+
loader: MiniCssExtractPlugin.loader
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
loader: 'css-loader'
|
|
@@ -117,8 +117,8 @@ const clientConfig = async (env, argv) => {
|
|
|
117
117
|
'process.env.PRERENDER': false,
|
|
118
118
|
}),
|
|
119
119
|
new MiniCssExtractPlugin(!isProd ? {} : {
|
|
120
|
-
filename: '[name].[contenthash].css',
|
|
121
|
-
chunkFilename: '[name].[contenthash].css',
|
|
120
|
+
filename: 'css/[name].[contenthash].css',
|
|
121
|
+
chunkFilename: 'css/[name].[contenthash].css',
|
|
122
122
|
}),
|
|
123
123
|
new CopyPlugin({
|
|
124
124
|
patterns: [
|
package/templates/mdx.css
CHANGED
|
@@ -191,8 +191,7 @@
|
|
|
191
191
|
margin-bottom: var(--pf-v5-c-content--h2--MarginBottom);
|
|
192
192
|
font-size: var(--pf-v5-c-content--h2--FontSize);
|
|
193
193
|
font-weight: var(--pf-v5-c-content--h2--FontWeight);
|
|
194
|
-
line-height: var(--pf-v5-c-content--h2--LineHeight);
|
|
195
|
-
.ws-h2:not(:first-child) {
|
|
194
|
+
line-height: var(--pf-v5-c-content--h2--LineHeight);
|
|
196
195
|
margin-top: var(--pf-v5-c-content--h2--MarginTop); }
|
|
197
196
|
.ws-h3 {
|
|
198
197
|
margin-bottom: var(--pf-v5-c-content--h3--MarginBottom);
|