@patternfly/documentation-framework 6.0.0-alpha.58 → 6.0.0-alpha.59

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.59 (2024-07-11)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * css clean up - esp sidenavlayout.css ([#4129](https://github.com/patternfly/patternfly-org/issues/4129)) ([fc9d721](https://github.com/patternfly/patternfly-org/commit/fc9d721d9d4a1a14ab0bb2d66d1c68fb2d90ca7c))
12
+
13
+
14
+
15
+
16
+
6
17
  # 6.0.0-alpha.58 (2024-07-11)
7
18
 
8
19
  **Note:** Version bump only for package @patternfly/documentation-framework
@@ -27,7 +27,7 @@
27
27
  .ws-preview__thumbnail-link::before,
28
28
  .ws-preview__thumbnail-link::after {
29
29
  position: absolute;
30
- z-index: 500;
30
+ z-index: var(--pf-t--global--z-index--sm);
31
31
  transition: .2s;
32
32
  opacity: 0;
33
33
  }
@@ -19,6 +19,10 @@
19
19
  box-shadow: var(--pf-t--global--box-shadow--sm--bottom)
20
20
  }
21
21
 
22
+ .ws-toc .pf-v6-c-jump-links__toggle {
23
+ background-color: var(--pf-t--global--background--color--secondary--default);
24
+ }
25
+
22
26
  /* Mobile jumplinks */
23
27
  @media (max-width: 1450px) {
24
28
  .ws-toc.pf-m-expanded .pf-v6-c-jump-links__main {
@@ -8,43 +8,8 @@
8
8
  flex: 1;
9
9
  }
10
10
 
11
- .ws-switcher-divider {
12
- padding: 0 var(--pf-t--global--spacer--md);
13
- }
14
-
15
- @media (min-width: 1200px) {
16
- .ws-page-sidebar {
17
- box-shadow: none !important;
18
- }
19
- }
20
-
21
- .ws-page-sidebar > .pf-v6-c-page__sidebar-body {
22
- padding-top: var(--pf-t--global--spacer--md);
23
- }
24
-
25
11
  /* Search */
26
12
  #algolia-autocomplete-listbox-0 {
27
13
  /* Fix search results overflowing page */
28
14
  min-width: 480px !important;
29
15
  }
30
- .ws-global-search.pf-v6-c-input-group {
31
- /* remove white background on dark Masthead */
32
- --pf-v6-c-input-group--BackgroundColor: none;
33
- }
34
-
35
- /* For tiny (200px) viewports */
36
- .ws-masthead .pf-v6-c-toolbar__item {
37
- min-width: 0;
38
- }
39
-
40
- .ws-masthead .pf-v6-c-switch {
41
- align-items: center;
42
- /* --pf-v6-c-switch__input--not-checked__label--Color: var(--pf-v6-global--Color--100); */
43
- /* --pf-v6-c-switch__input--checked__label--Color: var(--pf-v6-global--Color--100); */
44
- }
45
-
46
- .ws-masthead .pf-v6-c-toggle-group {
47
- /* --pf-v6-c-toggle-group__button--m-selected--BackgroundColor: var(--pf-v6-global--palette--blue-400); */
48
- --pf-v6-c-toggle-group__button--focus--BackgroundColor: transparent;
49
- --pf-v6-c-toggle-group__button--hover--BackgroundColor: transparent;
50
- }
@@ -163,7 +163,7 @@ const HeaderTools = ({
163
163
  </DropdownList>
164
164
  </DropdownGroup>
165
165
  )}
166
- <Divider key="divider1" className="ws-switcher-divider"/>
166
+ <Divider key="divider1"/>
167
167
  <DropdownGroup key="Alpha preview version" label="Alpha preview version">
168
168
  <DropdownList>
169
169
  <DropdownItem
@@ -177,7 +177,7 @@ const HeaderTools = ({
177
177
  </DropdownItem>
178
178
  </DropdownList>
179
179
  </DropdownGroup>
180
- <Divider key="divider2" className="ws-switcher-divider"/>
180
+ <Divider key="divider2"/>
181
181
  <DropdownGroup key="Previous versions" label="Previous versions">
182
182
  <DropdownList>
183
183
  <DropdownItem
@@ -263,10 +263,7 @@ export const SideNavLayout = ({ children, groupedRoutes, navOpen: navOpenProp })
263
263
  }, []);
264
264
 
265
265
  const SideBar = (
266
- <PageSidebar
267
- className="ws-page-sidebar"
268
- theme="light"
269
- >
266
+ <PageSidebar>
270
267
  <PageSidebarBody>
271
268
  <SideNav navItems={sideNavItems} groupedRoutes={groupedRoutes} />
272
269
  </PageSidebarBody>
@@ -274,7 +271,7 @@ export const SideNavLayout = ({ children, groupedRoutes, navOpen: navOpenProp })
274
271
  );
275
272
 
276
273
  const masthead = (
277
- <Masthead className="ws-masthead">
274
+ <Masthead>
278
275
  <MastheadToggle>
279
276
  <PageToggleButton variant="plain" aria-label="Global navigation">
280
277
  <BarsIcon />
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.58",
4
+ "version": "6.0.0-alpha.59",
5
5
  "author": "Red Hat",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -13,7 +13,7 @@
13
13
  "@babel/preset-env": "^7.24.3",
14
14
  "@babel/preset-react": "^7.24.1",
15
15
  "@mdx-js/util": "1.6.16",
16
- "@patternfly/ast-helpers": "^1.4.0-alpha.47",
16
+ "@patternfly/ast-helpers": "^1.4.0-alpha.48",
17
17
  "@reach/router": "npm:@gatsbyjs/reach-router@1.3.9",
18
18
  "autoprefixer": "9.8.6",
19
19
  "babel-loader": "^9.1.3",
@@ -80,5 +80,5 @@
80
80
  "react": "^17.0.0 || ^18.0.0",
81
81
  "react-dom": "^17.0.0 || ^18.0.0"
82
82
  },
83
- "gitHead": "4f9777453769c49e169610d97596bb1714689a54"
83
+ "gitHead": "96fb4d85450d4108a9197a11d7c15717a2c05a1b"
84
84
  }