@patternfly/documentation-framework 6.0.0-alpha.12 → 6.0.0-alpha.13

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,14 @@
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.13 (2024-03-21)
7
+
8
+ **Note:** Version bump only for package @patternfly/documentation-framework
9
+
10
+
11
+
12
+
13
+
6
14
  # 6.0.0-alpha.12 (2024-02-27)
7
15
 
8
16
  **Note:** Version bump only for package @patternfly/documentation-framework
@@ -4,7 +4,7 @@
4
4
  --pf-v6-c-nav--m-light__link--focus--BackgroundColor: var(--pf-v6-global--BackgroundColor--light-200);
5
5
  --pf-v6-c-nav--m-light__link--m-current--BackgroundColor: var(--pf-v6-global--BackgroundColor--light-200);
6
6
  --pf-v6-c-nav--m-light__link--active--BackgroundColor: var(--pf-v6-global--BackgroundColor--light-200);
7
- --pf-v6-c-nav__link--m-current--BackgroundColor: var(--pf-v6-global--BackgroundColor--200);
7
+ --pf-v6-c-nav__link--m-current--BackgroundColor: var(--pf-t--global--background--color--action--plain--alt--clicked);
8
8
  }
9
9
 
10
10
  .ws-side-nav-list .pf-v6-c-nav__item.pf-m-expandable::before {
@@ -2,7 +2,7 @@
2
2
  align-self: flex-start;
3
3
  position: sticky;
4
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-v6-global--BackgroundColor--200);
5
+ background-color: var(--pf-t--global--background--color--primary--default);
6
6
  z-index: 501;
7
7
  margin-block-start: calc(var(--pf-v6-c-page__main-section--PaddingTop) * -1);
8
8
  margin-block-end: var(--pf-v6-global--spacer--md);
@@ -29,7 +29,7 @@
29
29
  .ws-toc .pf-v6-c-jump-links__header {
30
30
  position: sticky;
31
31
  top: 0;
32
- background-color: var(--pf-v6-global--BackgroundColor--200);
32
+ background-color: var(--pf-t--global--background--color--primary--default);
33
33
  z-index: 2;
34
34
  }
35
35
  }
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.12",
4
+ "version": "6.0.0-alpha.13",
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.1",
20
+ "@patternfly/ast-helpers": "^1.4.0-alpha.2",
21
21
  "@reach/router": "npm:@gatsbyjs/reach-router@1.3.9",
22
22
  "autoprefixer": "9.8.6",
23
23
  "babel-loader": "9.1.2",
@@ -87,5 +87,5 @@
87
87
  "react": "^17.0.0 || ^18.0.0",
88
88
  "react-dom": "^17.0.0 || ^18.0.0"
89
89
  },
90
- "gitHead": "25bff486fb56b1d13d79a23562854849559acb3f"
90
+ "gitHead": "33226a015c82b30314a5beab79278617b75bb837"
91
91
  }
@@ -47,6 +47,7 @@ module.exports = (_env, argv) => {
47
47
  /react-[\w-]+\\src\\.*\\examples/, // fix for Windows
48
48
  /react-[\w-]+\/patternfly-docs\/.*\/examples/, //fixes for extensions
49
49
  /react-[\w-]+\\patternfly-docs\\.*\\examples/,
50
+ path.resolve(__dirname, '../../../../node_modules/@patternfly/design-tokens/patternfly-docs/content')
50
51
  ].concat(includePaths.map(path => new RegExp(path))),
51
52
  exclude: [
52
53
  path.resolve(__dirname, '../../node_modules'), // Temporarily compile theme using webpack for development
package/templates/mdx.css CHANGED
@@ -38,7 +38,7 @@
38
38
 
39
39
  .ws-code {
40
40
  display: inline-block;
41
- background-color: var(--pf-v6-global--BackgroundColor--100);
41
+ background-color: var(--pf-t--global--background--color--secondary--default);
42
42
  padding: 1px var(--pf-v6-global--spacer--sm);
43
43
  border: var(--pf-v6-global--BorderWidth--sm) solid var(--pf-v6-global--BorderColor--300);
44
44
  white-space: pre-wrap;
@@ -50,6 +50,11 @@
50
50
  margin-bottom: var(--pf-v6-c-content--MarginBottom);
51
51
  }
52
52
 
53
+ .ws-image {
54
+ text-align: center;
55
+ width: "600px";
56
+ }
57
+
53
58
  /* Table styles */
54
59
  /* Undo patternfly reset to respect MD table styles */
55
60
  .ws-table td[align="center"],
@@ -68,6 +73,7 @@
68
73
  table-layout: fixed;
69
74
  width: 100%;
70
75
  }
76
+
71
77
  .ws-table td > code,
72
78
  .ws-table th > code,
73
79
  .ws-table tr > code {