@patternfly/documentation-framework 6.0.0-alpha.4 → 6.0.0-alpha.41

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +811 -0
  2. package/app.js +2 -5
  3. package/components/autoLinkHeader/autoLinkHeader.css +2 -2
  4. package/components/autoLinkHeader/autoLinkHeader.js +5 -4
  5. package/components/cssVariables/cssVariables.css +4 -4
  6. package/components/cssVariables/cssVariables.js +6 -6
  7. package/components/example/example.css +29 -29
  8. package/components/example/example.js +122 -56
  9. package/components/example/exampleToolbar.js +3 -2
  10. package/components/footer/footer.css +16 -16
  11. package/components/footer/footer.js +16 -16
  12. package/components/gdprBanner/gdprBanner.css +2 -2
  13. package/components/gdprBanner/gdprBanner.js +4 -4
  14. package/components/inlineAlert/inlineAlert.js +1 -1
  15. package/components/propsTable/propsTable.js +3 -3
  16. package/components/sectionGallery/sectionDataListLayout.js +3 -3
  17. package/components/sectionGallery/sectionGallery.css +12 -12
  18. package/components/sectionGallery/sectionGalleryToolbar.js +1 -1
  19. package/components/sideNav/sideNav.js +3 -4
  20. package/components/tableOfContents/tableOfContents.css +23 -24
  21. package/layouts/sideNavLayout/sideNavLayout.css +14 -14
  22. package/layouts/sideNavLayout/sideNavLayout.js +80 -28
  23. package/package.json +13 -20
  24. package/pages/404/404.css +2 -2
  25. package/pages/404/index.js +4 -2
  26. package/routes.js +3 -1
  27. package/scripts/md/parseMD.js +20 -18
  28. package/scripts/md/styled-tags.js +22 -14
  29. package/scripts/webpack/webpack.base.config.js +7 -18
  30. package/scripts/writeScreenshots.js +2 -2
  31. package/templates/mdx.css +28 -229
  32. package/templates/mdx.js +22 -16
  33. package/templates/patternfly-docs/patternfly-docs.source.js +8 -8
  34. package/versions.json +36 -11
  35. package/components/sideNav/sideNav.css +0 -21
  36. package/pages/global-css-variables.md +0 -109
  37. package/pages/img/component-variable-mapping.png +0 -0
@@ -13,15 +13,15 @@ export const Footer = () => (
13
13
  sm={12}
14
14
  md={6}
15
15
  mdOffset={1}
16
- className="pf-v5-u-mb-lg pf-v5-u-mb-0-on-sm"
16
+ className="pf-v6-u-mb-lg pf-v6-u-mb-0-on-sm"
17
17
  >
18
- <Grid className="pf-v5-u-py-xl">
18
+ <Grid className="pf-v6-u-py-xl">
19
19
  <GridItem
20
20
  sm={6}
21
21
  md={4}
22
- className="pf-v5-u-ml-md pf-v5-u-ml-0-on-md pf-v5-u-mb-xl pf-v5-u-mb-0-on-md"
22
+ className="pf-v6-u-ml-md pf-v6-u-ml-0-on-md pf-v6-u-mb-xl pf-v6-u-mb-0-on-md"
23
23
  >
24
- <p className="pf-v5-c-title ws-org-pfsite-footer-menu-list-title">
24
+ <p className="pf-v6-c-title ws-org-pfsite-footer-menu-list-title">
25
25
  QUICKLINKS
26
26
  </p>
27
27
  <nav aria-label="Quick Links">
@@ -29,7 +29,7 @@ export const Footer = () => (
29
29
  <li className="ws-org-pfsite-footer-menu-list-item">
30
30
  <Link
31
31
  className="ws-org-pfsite-footer-menu-link"
32
- to={"/get-started/about"}
32
+ to={"/get-started/about-patternfly"}
33
33
  aria-label="Get started with PatternFly 4"
34
34
  >
35
35
  Get started
@@ -68,9 +68,9 @@ export const Footer = () => (
68
68
  <GridItem
69
69
  sm={6}
70
70
  md={4}
71
- className="pf-v5-u-mt-lg pf-v5-u-mt-0-on-sm pf-v5-u-ml-md pf-v5-u-ml-0-on-md pf-v5-u-mb-xl pf-v5-u-mb-0-on-md"
71
+ className="pf-v6-u-mt-lg pf-v6-u-mt-0-on-sm pf-v6-u-ml-md pf-v6-u-ml-0-on-md pf-v6-u-mb-xl pf-v6-u-mb-0-on-md"
72
72
  >
73
- <p className="pf-v5-c-title ws-org-pfsite-footer-menu-list-title">
73
+ <p className="pf-v6-c-title ws-org-pfsite-footer-menu-list-title">
74
74
  CONTRIBUTE
75
75
  </p>
76
76
  <nav aria-label="Contribute">
@@ -109,7 +109,7 @@ export const Footer = () => (
109
109
  <GridItem
110
110
  sm={6}
111
111
  md={4}
112
- className="pf-v5-u-mt-lg pf-v5-u-mt-0-on-md pf-v5-u-ml-md pf-v5-u-ml-0-on-md"
112
+ className="pf-v6-u-mt-lg pf-v6-u-mt-0-on-md pf-v6-u-ml-md pf-v6-u-ml-0-on-md"
113
113
  >
114
114
  <p className="ws-org-pfsite-footer-menu-list-title">
115
115
  STAY IN TOUCH
@@ -139,9 +139,9 @@ export const Footer = () => (
139
139
  <li className="ws-org-pfsite-footer-menu-list-item">
140
140
  <Link
141
141
  className="ws-org-pfsite-footer-menu-link"
142
- to="//redhat.com/mailman/listinfo/patternfly"
142
+ to="https://www.redhat.com/dynamic-form/instance/934b1674-bc8a-4a13-8c9d-d19abcceb263"
143
143
  target="top"
144
- aria-label="Join the PatternFly 4 mailing list"
144
+ aria-label="Join the PatternFly mailing list"
145
145
  >
146
146
  Mailing list
147
147
  </Link>
@@ -162,10 +162,10 @@ export const Footer = () => (
162
162
  </Grid>
163
163
  </GridItem>
164
164
  <GridItem sm={12} md={4}>
165
- <Grid className="pf-v5-u-pt-xl ws-org-pfsite-l-footer-column">
166
- <GridItem className="pf-v5-u-px-xl">
165
+ <Grid className="pf-v6-u-pt-xl ws-org-pfsite-l-footer-column">
166
+ <GridItem className="pf-v6-u-px-xl">
167
167
  <Link
168
- className="pf-v5-c-page__header-brand-link pf-v5-c-brand ws-org-pfsite-footer-menu-about-logo pf-v5-u-pb-md"
168
+ className="pf-v6-c-page__header-brand-link pf-v6-c-brand ws-org-pfsite-footer-menu-about-logo pf-v6-u-pb-md"
169
169
  to="/"
170
170
  >
171
171
  <Brand
@@ -185,7 +185,7 @@ export const Footer = () => (
185
185
  product experiences—the open source way.
186
186
  </Text>
187
187
  </GridItem>
188
- <GridItem className="ws-org-pfsite-footer-menu-social-links pf-v5-u-px-xl">
188
+ <GridItem className="ws-org-pfsite-footer-menu-social-links pf-v6-u-px-xl">
189
189
  <Link
190
190
  to="//github.com/patternfly"
191
191
  target="top"
@@ -209,7 +209,7 @@ export const Footer = () => (
209
209
  key="footer-2"
210
210
  className="ws-org-pfsite-l-footer-dark pf-m-no-fill"
211
211
  >
212
- <Grid className="pf-v5-u-py-xl-on-sm pf-v5-u-py-0-on-md pf-v5-u-align-items-center">
212
+ <Grid className="pf-v6-u-py-xl-on-sm pf-v6-u-py-0-on-md pf-v6-u-align-items-center">
213
213
  <GridItem md={2} mdOffset={1}>
214
214
  <Link
215
215
  to="//www.redhat.com"
@@ -228,7 +228,7 @@ export const Footer = () => (
228
228
  Copyright &copy; 2014-{new Date().getFullYear()} Red Hat, Inc.
229
229
  </span>
230
230
  </GridItem>
231
- <GridItem md={4} lg={5} className="pf-v5-u-ml-xl-on-xl">
231
+ <GridItem md={4} lg={5} className="pf-v6-u-ml-xl-on-xl">
232
232
  <Link
233
233
  to="//www.redhat.com/en/about/privacy-policy"
234
234
  target="top"
@@ -9,6 +9,6 @@
9
9
  #ws-gdpr-banner {
10
10
  max-width: 95vw;
11
11
  flex-wrap: nowrap;
12
- background: var(--pf-v5-global--BackgroundColor--100);
13
- border: var(--pf-v5-global--BorderWidth--sm) solid var(--pf-v5-global--Color--100);
12
+ /* background: var(--pf-v6-global--BackgroundColor--100); */
13
+ /* border: var(--pf-v6-global--BorderWidth--sm) solid var(--pf-v6-global--Color--100); */
14
14
  }
@@ -6,16 +6,16 @@ import './gdprBanner.css';
6
6
  export const GdprBanner = () => {
7
7
  const initialBannerOpen = typeof window !== 'undefined' && window.localStorage && !localStorage.getItem('gdpr-banner-closed');
8
8
  const [ isBannerOpen, setBannerOpen ] = React.useState(initialBannerOpen);
9
-
9
+
10
10
  const closeBanner = () => {
11
11
  localStorage.setItem('gdpr-banner-closed', 'true');
12
12
  setBannerOpen(false);
13
13
  }
14
14
 
15
15
  return !isBannerOpen ? null : (
16
- <section aria-label="Cookies on PatternFly" className="ws-gdpr-banner-container pf-v5-l-flex">
17
- <div id="ws-gdpr-banner" className="pf-v5-l-flex pf-v5-u-py-md pf-m-align-items-center">
18
- <p id="ws-gdpr-banner-text" className="pf-v5-u-ml-xl">
16
+ <section aria-label="Cookies on PatternFly" className="ws-gdpr-banner-container pf-v6-l-flex">
17
+ <div id="ws-gdpr-banner" className="pf-v6-l-flex pf-v6-u-py-md pf-m-align-items-center">
18
+ <p id="ws-gdpr-banner-text" className="pf-v6-u-ml-xl">
19
19
  We use cookies on our websites to deliver our online services.
20
20
  Details about how we use cookies and how you may disable them are set out in our <a href="//www.redhat.com/en/about/privacy-policy">Privacy Statement</a>.
21
21
  By using this website you agree to our use of cookies.
@@ -9,7 +9,7 @@ export const InlineAlert = ({
9
9
  <Alert
10
10
  variant={variant}
11
11
  title={title}
12
- className="pf-v5-u-my-md"
12
+ className="pf-v6-u-my-md"
13
13
  style={{ marginBottom: '1rem' }}
14
14
  isInline
15
15
  component="h2"
@@ -18,9 +18,9 @@ import accessibleStyles from "@patternfly/react-styles/css/utilities/Accessibili
18
18
  export const PropsTable = ({ title, description, rows, allPropComponents }) => (
19
19
  <React.Fragment>
20
20
  <AutoLinkHeader size="h3">{title}</AutoLinkHeader>
21
- <Table className="pf-v5-u-mt-md pf-v5-u-mb-lg" variant="compact" aria-label={title} gridBreakPoint="grid-lg">
21
+ <Table className="pf-v6-u-mt-md pf-v6-u-mb-lg" variant="compact" aria-label={title} gridBreakPoint="grid-lg">
22
22
  <Caption>
23
- {description && <div className="pf-v5-u-mb-md">{description}</div>}
23
+ {description && <div className="pf-v6-u-mb-md">{description}</div>}
24
24
  <div>
25
25
  <span className="ws-prop-required">*</span>required
26
26
  </div>
@@ -64,7 +64,7 @@ export const PropsTable = ({ title, description, rows, allPropComponents }) => (
64
64
  {row.beta && (
65
65
  <Badge
66
66
  key={`${row.name}-${idx}`}
67
- className="ws-beta-badge pf-v5-u-ml-sm"
67
+ className="ws-beta-badge pf-v6-u-ml-sm"
68
68
  >
69
69
  Beta
70
70
  </Badge>
@@ -7,7 +7,7 @@ export const SectionDataListLayout = ({ galleryItems, layoutView, hasListText, h
7
7
  if (layoutView !== 'list') {
8
8
  return null;
9
9
  }
10
-
10
+
11
11
  return (
12
12
  <DataList onSelectDataListItem={() => {}}>
13
13
  {galleryItems.map(({ idx, slug, illustration, itemName, title, isBeta, isDeprecated, isDemo, id, galleryItemsData }) => (
@@ -23,7 +23,7 @@ export const SectionDataListLayout = ({ galleryItems, layoutView, hasListText, h
23
23
  </DataListCell>
24
24
  ),
25
25
  <DataListCell width={5} key="text-description">
26
- <Split className={ hasListText ? "pf-v5-u-mb-md" : null }>
26
+ <Split className={ hasListText ? "pf-v6-u-mb-md" : null }>
27
27
  <SplitItem isFilled>
28
28
  <TextContent>
29
29
  <Text component={TextVariants.h2}>
@@ -32,7 +32,7 @@ export const SectionDataListLayout = ({ galleryItems, layoutView, hasListText, h
32
32
  </span>
33
33
  </Text>
34
34
  </TextContent>
35
- </SplitItem>
35
+ </SplitItem>
36
36
  <SplitItem>
37
37
  {isBeta && (<Label color="blue" isCompact>Beta</Label>)}
38
38
  {!isBeta && isDeprecated && (<Label color="grey" isCompact>Deprecated</Label>)}
@@ -8,7 +8,7 @@
8
8
 
9
9
  .ws-section-gallery {
10
10
  /* top placement */
11
- margin-top: calc(var(--pf-v5-c-page__main-section--PaddingTop) * -1);
11
+ margin-top: calc(var(--pf-v6-c-page__main-section--PaddingTop) * -1);
12
12
  }
13
13
 
14
14
  * + .ws-section-gallery {
@@ -17,22 +17,22 @@
17
17
  }
18
18
 
19
19
  /* Toolbar styles */
20
- .ws-section-gallery .pf-v5-c-toolbar {
21
- margin-left: calc(var(--pf-v5-c-page__main-section--PaddingLeft) * -1);
22
- border-bottom: var(--pf-v5-c-page__sidebar--m-light--BorderRightWidth) solid var(--pf-v5-c-page__sidebar--m-light--BorderRightColor);
23
- margin-bottom: var(--pf-v5-global--spacer--md);
24
- width: calc(100% + var(--pf-v5-c-page__main-section--PaddingLeft) + var(--pf-v5-c-page__main-section--PaddingRight));
20
+ .ws-section-gallery .pf-v6-c-toolbar {
21
+ margin-left: calc(var(--pf-v6-c-page__main-section--PaddingLeft) * -1);
22
+ border-bottom: var(--pf-v6-c-page__sidebar--m-light--BorderRightWidth) solid var(--pf-v6-c-page__sidebar--m-light--BorderRightColor);
23
+ margin-bottom: var(--pf-t--global--spacer--md);
24
+ width: calc(100% + var(--pf-v6-c-page__main-section--PaddingLeft) + var(--pf-v6-c-page__main-section--PaddingRight));
25
25
  /* avoid hoverable data list items overlapping toolbar */
26
- z-index: calc(var(--pf-v5-global--ZIndex--xs) + 2);
26
+ /* z-index: calc(var(--pf-v6-global--ZIndex--xs) + 2); */
27
27
  }
28
28
 
29
29
  /* Match toolbar left-padding to gallery left-padding */
30
- .ws-section-gallery .pf-v5-c-toolbar .pf-v5-c-toolbar__content {
31
- --pf-v5-c-toolbar__content--PaddingLeft: var(--pf-v5-c-page__main-section--PaddingLeft);
30
+ .ws-section-gallery .pf-v6-c-toolbar .pf-v6-c-toolbar__content {
31
+ --pf-v6-c-toolbar__content--PaddingLeft: var(--pf-v6-c-page__main-section--PaddingLeft);
32
32
  }
33
33
 
34
34
  /* Avoid toolbar wrap on smaller screens */
35
- .ws-section-gallery .pf-v5-c-toolbar__content-section {
35
+ .ws-section-gallery .pf-v6-c-toolbar__content-section {
36
36
  flex-wrap: nowrap;
37
37
  }
38
38
 
@@ -43,11 +43,11 @@
43
43
  }
44
44
 
45
45
  /* Ensure same height for all cards in a gallery row */
46
- .ws-section-gallery .pf-v5-c-card {
46
+ .ws-section-gallery .pf-v6-c-card {
47
47
  height: 100%;
48
48
  }
49
49
 
50
50
  /* Limit width for data list view only */
51
- .ws-section-gallery .pf-v5-c-data-list {
51
+ .ws-section-gallery .pf-v6-c-data-list {
52
52
  max-width: 956px;
53
53
  }
@@ -30,7 +30,7 @@ export const SectionGalleryToolbar = ({
30
30
  </ToggleGroup>
31
31
  </ToolbarItem>
32
32
  </ToolbarGroup>
33
- <ToolbarItem variant="pagination" spacer={{default: 'spacerMd', md: 'spacerNone'}} style={{'--pf-v5-c-toolbar__item--MinWidth': "max-content"}}>
33
+ <ToolbarItem variant="pagination" spacer={{default: 'spacerMd', md: 'spacerNone'}} style={{'--pf-v6-c-toolbar__item--MinWidth': "max-content"}}>
34
34
  <Text component={TextVariants.small}>{ galleryItems.length }{ countText }</Text>
35
35
  </ToolbarItem>
36
36
  </ToolbarContent>
@@ -19,14 +19,14 @@ const NavItem = ({ text, href, isDeprecated, isBeta, isDemo }) => {
19
19
  return (
20
20
  <PageContextConsumer key={href + text}>
21
21
  {({onSidebarToggle, isSidebarOpen }) => (
22
- <li key={href + text} className="pf-v5-c-nav__item" onClick={() => isMobileView && onSidebarToggle && onSidebarToggle()}>
22
+ <li key={href + text} className="pf-v6-c-nav__item" onClick={() => isMobileView && onSidebarToggle && onSidebarToggle()}>
23
23
  <Link
24
24
  to={href}
25
25
  getProps={({ isCurrent, href, location }) => {
26
26
  const { pathname } = location;
27
27
  return {
28
28
  className: css(
29
- 'pf-v5-c-nav__link',
29
+ 'pf-v6-c-nav__link',
30
30
  (isCurrent || pathname.startsWith(href + '/')) && 'pf-m-current'
31
31
  )
32
32
  }}
@@ -67,7 +67,6 @@ const ExpandableNav = ({groupedRoutes, location, section, subsection = null}) =>
67
67
  key={capitalize(currentSection.replace(/-/g, ' '))}
68
68
  isActive={isActive}
69
69
  isExpanded={isActive}
70
- className="ws-side-nav-group"
71
70
  onClick={(event) => {
72
71
  // Don't bubble click event up, avoids subsection triggering duplicate analtics
73
72
  event.stopPropagation();
@@ -96,7 +95,7 @@ const ExpandableNav = ({groupedRoutes, location, section, subsection = null}) =>
96
95
  source.source === "react-deprecated" || source.source === "html-deprecated")
97
96
  && !navObj.sources.some(source => source.source === "react" || source.source === "html")
98
97
  ),
99
- isBeta: navObj.sources.some(source => source.beta),
98
+ isBeta: navObj.sources.some(source => source.beta && source.source !== 'react-next' && source.source !== 'react-templates'),
100
99
  isDemo: navObj.sources.some(source => (
101
100
  source.source === "react-demos" || source.source === "html-demos")
102
101
  && !navObj.sources.some(source => source.source === "react" || source.source === "html")
@@ -1,45 +1,44 @@
1
1
  .ws-toc {
2
2
  align-self: flex-start;
3
3
  position: sticky;
4
- width: calc(100% + var(--pf-v5-c-page__main-section--PaddingLeft) + var(--pf-v5-c-page__main-section--PaddingRight));
5
- background-color: var(--pf-v5-global--BackgroundColor--200);
4
+ width: calc(100% + var(--pf-v6-c-page__main-section--PaddingLeft) + var(--pf-v6-c-page__main-section--PaddingRight));
5
+ background-color: var(--pf-t--global--background--color--primary--default);
6
6
  z-index: 501;
7
- margin-block-start: calc(var(--pf-v5-c-page__main-section--PaddingTop) * -1);
8
- margin-block-end: var(--pf-v5-global--spacer--md);
9
- margin-inline-start: calc(var(--pf-v5-c-page__main-section--PaddingLeft) * -1);
10
- margin-inline-end: calc(var(--pf-v5-c-page__main-section--PaddingRight) * -2);
11
- padding-block-start: var(--pf-v5-global--spacer--md);
12
- padding-block-end: var(--pf-v5-global--spacer--md);
13
- padding-inline-start: var(--pf-v5-global--spacer--md);
7
+ margin-block-start: calc(var(--pf-v6-c-page__main-section--PaddingTop) * -1);
8
+ margin-block-end: var(--pf-t--global--spacer--md);
9
+ margin-inline-start: calc(var(--pf-v6-c-page__main-section--PaddingLeft) * -1);
10
+ margin-inline-end: calc(var(--pf-v6-c-page__main-section--PaddingRight) * -2);
11
+ padding-block-start: var(--pf-t--global--spacer--md);
12
+ padding-block-end: var(--pf-t--global--spacer--md);
13
+ padding-inline-start: var(--pf-t--global--spacer--md);
14
14
  padding-inline-end: 0;
15
- box-shadow: var(--pf-v5-global--BoxShadow--lg-bottom);
15
+ /* box-shadow: var(--pf-v6-global--BoxShadow--lg-bottom); */
16
16
  }
17
17
 
18
18
  .ws-toc.pf-m-expanded {
19
- box-shadow: var(--pf-v5-global--BoxShadow--sm-bottom)
19
+ /* box-shadow: var(--pf-v6-global--BoxShadow--sm-bottom) */
20
20
  }
21
21
 
22
22
  /* Mobile jumplinks */
23
23
  @media (max-width: 1450px) {
24
- .ws-toc.pf-m-expanded .pf-v5-c-jump-links__main {
24
+ .ws-toc.pf-m-expanded .pf-v6-c-jump-links__main {
25
25
  max-height: 65vh;
26
- overflow: auto;
27
26
  }
28
-
29
- .ws-toc .pf-v5-c-jump-links__header {
27
+
28
+ .ws-toc .pf-v6-c-jump-links__header {
30
29
  position: sticky;
31
30
  top: 0;
32
- background-color: var(--pf-v5-global--BackgroundColor--200);
31
+ background-color: var(--pf-t--global--background--color--primary--default);
33
32
  z-index: 2;
34
33
  }
35
34
  }
36
35
 
37
- .ws-toc .pf-v5-c-jump-links__main {
36
+ .ws-toc .pf-v6-c-jump-links__main {
38
37
  scrollbar-width: none;
39
38
  }
40
39
 
41
40
  /* Hide TOC scrollbar Chrome, Safari & Opera */
42
- .ws-toc .pf-v5-c-jump-links__main::-webkit-scrollbar {
41
+ .ws-toc .pf-v6-c-jump-links__main::-webkit-scrollbar {
43
42
  display: none;
44
43
  }
45
44
 
@@ -52,7 +51,7 @@
52
51
  -ms-overflow-style: none;
53
52
  scrollbar-width: none;
54
53
  order: 1;
55
- padding: 0 var(--pf-v5-global--spacer--lg) var(--pf-v5-global--spacer--lg) var(--pf-v5-global--spacer--2xl);
54
+ padding: 0 var(--pf-t--global--spacer--lg) var(--pf-t--global--spacer--lg) var(--pf-t--global--spacer--2xl);
56
55
  flex-grow: 1;
57
56
  background: none;
58
57
  margin: 0;
@@ -65,18 +64,18 @@
65
64
  }
66
65
 
67
66
  /* .ws-toc-link { */
68
- .ws-toc-item .pf-v5-c-jump-links__link {
67
+ .ws-toc-item .pf-v6-c-jump-links__link {
69
68
  position: relative;
70
69
  display: block;
71
- color: var(--ws-toc-link--Color, var(--pf-v5-global--Color--300));
72
- font-size: var(--pf-v5-global--FontSize--sm);
70
+ /* color: var(--ws-toc-link--Color, var(--pf-v6-global--Color--300)); */
71
+ /* font-size: var(--pf-v6-global--FontSize--sm); */
73
72
  margin: -4px 0;
74
73
  }
75
74
 
76
- .ws-toc-sublist > .ws-toc-item:first-child .pf-v5-c-jump-links__link {
75
+ .ws-toc-sublist > .ws-toc-item:first-child .pf-v6-c-jump-links__link {
77
76
  margin-top: 0;
78
77
  }
79
78
 
80
- .ws-toc-item.pf-m-current .pf-v5-c-jump-links__link::before {
79
+ .ws-toc-item.pf-m-current .pf-v6-c-jump-links__link::before {
81
80
  z-index: 1;
82
81
  }
@@ -1,5 +1,5 @@
1
1
  /* Page layout */
2
- /* tells .pf-v5-c-page to consume the available space left over from the banners/footers */
2
+ /* tells .pf-v6-c-page to consume the available space left over from the banners/footers */
3
3
  #ws-router {
4
4
  display: flex;
5
5
  flex-direction: column;
@@ -9,7 +9,7 @@
9
9
  }
10
10
 
11
11
  .ws-switcher-divider {
12
- padding: 0 var(--pf-v5-global--spacer--md);
12
+ padding: 0 var(--pf-t--global--spacer--md);
13
13
  }
14
14
 
15
15
  @media (min-width: 1200px) {
@@ -18,8 +18,8 @@
18
18
  }
19
19
  }
20
20
 
21
- .ws-page-sidebar > .pf-v5-c-page__sidebar-body {
22
- padding-top: var(--pf-v5-global--spacer--md);
21
+ .ws-page-sidebar > .pf-v6-c-page__sidebar-body {
22
+ padding-top: var(--pf-t--global--spacer--md);
23
23
  }
24
24
 
25
25
  /* Search */
@@ -27,24 +27,24 @@
27
27
  /* Fix search results overflowing page */
28
28
  min-width: 480px !important;
29
29
  }
30
- .ws-global-search.pf-v5-c-input-group {
30
+ .ws-global-search.pf-v6-c-input-group {
31
31
  /* remove white background on dark Masthead */
32
- --pf-v5-c-input-group--BackgroundColor: none;
32
+ --pf-v6-c-input-group--BackgroundColor: none;
33
33
  }
34
34
 
35
35
  /* For tiny (200px) viewports */
36
- .ws-masthead .pf-v5-c-toolbar__item {
36
+ .ws-masthead .pf-v6-c-toolbar__item {
37
37
  min-width: 0;
38
38
  }
39
39
 
40
- .ws-masthead .pf-v5-c-switch {
40
+ .ws-masthead .pf-v6-c-switch {
41
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);
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
44
  }
45
45
 
46
- .ws-masthead .pf-v5-c-toggle-group {
47
- --pf-v5-c-toggle-group__button--m-selected--BackgroundColor: var(--pf-v5-global--palette--blue-400);
48
- --pf-v5-c-toggle-group__button--focus--BackgroundColor: transparent;
49
- --pf-v5-c-toggle-group__button--hover--BackgroundColor: transparent;
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
50
  }