@patternfly/documentation-framework 6.0.0-alpha.19 → 6.0.0-alpha.20

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.0.0-alpha.20 (2024-04-03)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * dark theme use v6 classname ([54cdb71](https://github.com/patternfly/patternfly-org/commit/54cdb717052eb00da735b0c7db6a82db4ef5f9de))
12
+
13
+
14
+
15
+
16
+
6
17
  # 6.0.0-alpha.19 (2024-04-02)
7
18
 
8
19
 
@@ -170,7 +170,7 @@ export const Example = ({
170
170
  <Flex direction={{ default: 'column' }} gap={{ default: 'gapLg' }} className="ws-full-page-utils pf-v6-m-dir-ltr ">
171
171
  {hasDarkThemeSwitcher && (
172
172
  <Switch id="ws-example-theme-switch" label="Dark theme" defaultChecked={false} onChange={() =>
173
- document.querySelector('html').classList.toggle('pf-v5-theme-dark')} />
173
+ document.querySelector('html').classList.toggle('pf-v6-theme-dark')} />
174
174
  )}
175
175
  {hasRTLSwitcher && (
176
176
  <Switch id="ws-example-rtl-switch" label="RTL" defaultChecked={false} onChange={() => {
@@ -73,7 +73,7 @@ const HeaderTools = ({
73
73
 
74
74
  const toggleDarkTheme = (_evt, selected) => {
75
75
  const darkThemeToggleClicked = !selected === isDarkTheme
76
- document.querySelector('html').classList.toggle('pf-v5-theme-dark', darkThemeToggleClicked);
76
+ document.querySelector('html').classList.toggle('pf-v6-theme-dark', darkThemeToggleClicked);
77
77
  setIsDarkTheme(darkThemeToggleClicked);
78
78
  };
79
79
 
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.0.0-alpha.19",
4
+ "version": "6.0.0-alpha.20",
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.4.0-alpha.8",
20
+ "@patternfly/ast-helpers": "^1.4.0-alpha.9",
21
21
  "@reach/router": "npm:@gatsbyjs/reach-router@1.3.9",
22
22
  "autoprefixer": "9.8.6",
23
23
  "babel-loader": "9.1.2",
@@ -84,5 +84,5 @@
84
84
  "react": "^17.0.0 || ^18.0.0",
85
85
  "react-dom": "^17.0.0 || ^18.0.0"
86
86
  },
87
- "gitHead": "f9fc947253b8fe3aaf14fb16e4a33a6679756715"
87
+ "gitHead": "a06055917e0eeee9d882798615c826b5b5d9a0d9"
88
88
  }