@patternfly/documentation-framework 6.36.0 → 6.36.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 +11 -0
- package/hooks/useTheme.js +2 -2
- package/package.json +3 -3
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.36.1 (2026-02-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **theme switch:** change unified theme class name ([#4934](https://github.com/patternfly/patternfly-org/issues/4934)) ([1caa470](https://github.com/patternfly/patternfly-org/commit/1caa470c123ecaacb36cb732eae844616717fc9b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# 6.36.0 (2026-02-16)
|
|
7
18
|
|
|
8
19
|
|
package/hooks/useTheme.js
CHANGED
|
@@ -15,7 +15,7 @@ const CONTRAST_MODES = {
|
|
|
15
15
|
|
|
16
16
|
const THEME_VARIANT_MODES = {
|
|
17
17
|
DEFAULT: 'theme-default',
|
|
18
|
-
UNIFIED: 'theme-
|
|
18
|
+
UNIFIED: 'theme-redhat'
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
export const THEME_TYPES = {
|
|
@@ -190,7 +190,7 @@ const themeVariantManager = new ThemeManager({
|
|
|
190
190
|
storageKey: 'theme-variant-preference',
|
|
191
191
|
modes: THEME_VARIANT_MODES,
|
|
192
192
|
defaultMode: THEME_VARIANT_MODES.DEFAULT,
|
|
193
|
-
cssClass: 'pf-v6-theme-
|
|
193
|
+
cssClass: 'pf-v6-theme-redhat',
|
|
194
194
|
classEnabledMode: THEME_VARIANT_MODES.UNIFIED,
|
|
195
195
|
mediaQueryString: '(prefers-color-scheme: dark)' // Not used for variant, but required
|
|
196
196
|
});
|
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.36.
|
|
4
|
+
"version": "6.36.1",
|
|
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.343",
|
|
16
16
|
"@reach/router": "npm:@gatsbyjs/reach-router@1.3.9",
|
|
17
17
|
"@rspack/core": "^1.5.6",
|
|
18
18
|
"@rspack/dev-server": "^1.1.4",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"http-cache-semantics": ">=4.1.1",
|
|
93
93
|
"nanoid": "3.3.8"
|
|
94
94
|
},
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "c51df5b7c4db53d8270141f4e0a1dc8f39cd0ba1"
|
|
96
96
|
}
|