@patternfly/documentation-framework 2.0.0-alpha.39 → 2.0.0-alpha.40

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
+ # 2.0.0-alpha.40 (2023-05-15)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **docs:** use correct theme class on full page dark theme switcher ([#3532](https://github.com/patternfly/patternfly-org/issues/3532)) ([0008236](https://github.com/patternfly/patternfly-org/commit/0008236da2b105fd1789db2263323c59780b5194))
12
+
13
+
14
+
15
+
16
+
6
17
  # 2.0.0-alpha.39 (2023-05-11)
7
18
 
8
19
  **Note:** Version bump only for package @patternfly/documentation-framework
@@ -130,6 +130,6 @@
130
130
  box-shadow: var(--pf-v5-global--BoxShadow--sm);
131
131
  }
132
132
 
133
- .pf-theme-dark .ws-theme-switch-full-page::before {
133
+ .pf-v5-theme-dark .ws-theme-switch-full-page::before {
134
134
  background-color: var(--pf-v5-global--BackgroundColor--300);
135
135
  }
@@ -157,7 +157,7 @@ export const Example = ({
157
157
  {hasDarkThemeSwitcher && (
158
158
  <div className="ws-theme-switch-full-page">
159
159
  <Switch id="ws-theme-switch" label="Dark theme" defaultChecked={false} onChange={() =>
160
- document.querySelector('html').classList.toggle('pf-theme-dark')} />
160
+ document.querySelector('html').classList.toggle('pf-v5-theme-dark')} />
161
161
  </div>
162
162
  )}
163
163
  </div>
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": "2.0.0-alpha.39",
4
+ "version": "2.0.0-alpha.40",
5
5
  "author": "Red Hat",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -91,5 +91,5 @@
91
91
  "react": "^17.0.0 || ^18.0.0",
92
92
  "react-dom": "^17.0.0 || ^18.0.0"
93
93
  },
94
- "gitHead": "04c88cea007f85574c122887f6cc9fd1de5cdc5c"
94
+ "gitHead": "a6d6c988bf8a67e3dd2716ceeed67fb97c7fce0a"
95
95
  }