@patternfly/react-docs 7.0.0-alpha.63 → 7.0.0-alpha.65
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 +12 -0
- package/package.json +14 -16
- package/patternfly-a11y.config.js +12 -7
- package/patternfly-docs/patternfly-docs.source.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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
|
+
# [7.0.0-alpha.65](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-docs@7.0.0-alpha.64...@patternfly/react-docs@7.0.0-alpha.65) (2024-05-31)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **build:** Test ci ([#10487](https://github.com/patternfly/patternfly-react/issues/10487)) ([8fbd30b](https://github.com/patternfly/patternfly-react/commit/8fbd30b5202c9a12d21cdc6cde5500b799bbc9f8))
|
|
11
|
+
|
|
12
|
+
# [7.0.0-alpha.64](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-docs@7.0.0-alpha.63...@patternfly/react-docs@7.0.0-alpha.64) (2024-05-23)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- **Toolbar:** updated spacer props to gap ([#10418](https://github.com/patternfly/patternfly-react/issues/10418)) ([29578a2](https://github.com/patternfly/patternfly-react/commit/29578a2f937456c07fb9c2d8f8ae23a1ad0b2b34))
|
|
17
|
+
|
|
6
18
|
# [7.0.0-alpha.63](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-docs@7.0.0-alpha.62...@patternfly/react-docs@7.0.0-alpha.63) (2024-05-23)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @patternfly/react-docs
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-docs",
|
|
3
3
|
"description": "PatternFly React Docs",
|
|
4
|
-
"version": "7.0.0-alpha.
|
|
4
|
+
"version": "7.0.0-alpha.65",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
7
7
|
"tag": "alpha"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"scripts": {
|
|
16
16
|
"analyze": "yarn build:docs --analyze",
|
|
17
17
|
"build:docs": "pf-docs-framework build all",
|
|
18
|
-
"clean": "rimraf
|
|
18
|
+
"clean": "rimraf cache public static/assets static/base.css src/generated",
|
|
19
19
|
"develop": "yarn start",
|
|
20
20
|
"start": "pf-docs-framework start",
|
|
21
21
|
"serve": "pf-docs-framework serve public",
|
|
@@ -23,22 +23,20 @@
|
|
|
23
23
|
"test:a11y": "patternfly-a11y --config patternfly-a11y.config"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@patternfly/patternfly": "6.0.0-alpha.
|
|
27
|
-
"@patternfly/react-charts": "^8.0.0-alpha.
|
|
28
|
-
"@patternfly/react-code-editor": "^6.0.0-alpha.
|
|
29
|
-
"@patternfly/react-core": "^6.0.0-alpha.
|
|
30
|
-
"@patternfly/react-drag-drop": "^6.0.0-alpha.
|
|
31
|
-
"@patternfly/react-icons": "^6.0.0-alpha.
|
|
32
|
-
"@patternfly/react-styles": "^6.0.0-alpha.
|
|
33
|
-
"@patternfly/react-table": "^6.0.0-alpha.
|
|
34
|
-
"@patternfly/react-templates": "^6.0.0-alpha.
|
|
35
|
-
"@patternfly/react-tokens": "^6.0.0-alpha.
|
|
26
|
+
"@patternfly/patternfly": "6.0.0-alpha.139",
|
|
27
|
+
"@patternfly/react-charts": "^8.0.0-alpha.23",
|
|
28
|
+
"@patternfly/react-code-editor": "^6.0.0-alpha.61",
|
|
29
|
+
"@patternfly/react-core": "^6.0.0-alpha.61",
|
|
30
|
+
"@patternfly/react-drag-drop": "^6.0.0-alpha.43",
|
|
31
|
+
"@patternfly/react-icons": "^6.0.0-alpha.23",
|
|
32
|
+
"@patternfly/react-styles": "^6.0.0-alpha.23",
|
|
33
|
+
"@patternfly/react-table": "^6.0.0-alpha.61",
|
|
34
|
+
"@patternfly/react-templates": "^6.0.0-alpha.11",
|
|
35
|
+
"@patternfly/react-tokens": "^6.0.0-alpha.23"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@patternfly/documentation-framework": "^6.0.0-alpha.28",
|
|
39
|
-
"@patternfly/patternfly-a11y": "4.3.1"
|
|
40
|
-
"rimraf": "^2.6.3",
|
|
41
|
-
"shx": "^0.3.4"
|
|
39
|
+
"@patternfly/patternfly-a11y": "4.3.1"
|
|
42
40
|
},
|
|
43
41
|
"keywords": [
|
|
44
42
|
"gatsby"
|
|
@@ -47,5 +45,5 @@
|
|
|
47
45
|
"last 2 versions",
|
|
48
46
|
"not ie <= 11"
|
|
49
47
|
],
|
|
50
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "7b22ff230948cf8b4142e0f8d7a3d4b76835026f"
|
|
51
49
|
}
|
|
@@ -10,7 +10,7 @@ async function waitFor(page) {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
const urls = Object.keys(fullscreenRoutes)
|
|
13
|
-
.map(key => {
|
|
13
|
+
.map((key) => {
|
|
14
14
|
if (fullscreenRoutes[key].isFullscreenOnly) {
|
|
15
15
|
return key;
|
|
16
16
|
} else {
|
|
@@ -21,14 +21,16 @@ const urls = Object.keys(fullscreenRoutes)
|
|
|
21
21
|
return path.replace(/\/react-demos$/, '');
|
|
22
22
|
} else {
|
|
23
23
|
// some demos have been moved to the component section, so their default tab has a trailing 'react-demos'
|
|
24
|
-
if (path.match(/\/components\/.*\/react-demos$/g)){
|
|
25
|
-
if (
|
|
24
|
+
if (path.match(/\/components\/.*\/react-demos$/g)) {
|
|
25
|
+
if (
|
|
26
|
+
path.includes('/application-launcher/') ||
|
|
26
27
|
path.includes('/context-selector/') ||
|
|
27
28
|
path.includes('/date-and-time-picker/') ||
|
|
28
29
|
path.includes('/password-generator/') ||
|
|
29
30
|
path.includes('/password-strength/') ||
|
|
30
31
|
path.includes('/custom-menus/') ||
|
|
31
|
-
path.includes('/options-menu/')
|
|
32
|
+
path.includes('/options-menu/')
|
|
33
|
+
) {
|
|
32
34
|
return path.replace(/\/react-demos$/, '');
|
|
33
35
|
}
|
|
34
36
|
}
|
|
@@ -48,7 +50,7 @@ module.exports = {
|
|
|
48
50
|
url: '/',
|
|
49
51
|
label: 'home fullscreen nav expanded',
|
|
50
52
|
viewportDimensions: { width: 1920, height: 1080 },
|
|
51
|
-
afterNav: async page => {
|
|
53
|
+
afterNav: async (page) => {
|
|
52
54
|
await page.click('button#nav-toggle');
|
|
53
55
|
}
|
|
54
56
|
},
|
|
@@ -66,7 +68,7 @@ module.exports = {
|
|
|
66
68
|
url: '/',
|
|
67
69
|
label: 'home mobile nav expanded',
|
|
68
70
|
viewportDimensions: { width: 400, height: 900 },
|
|
69
|
-
afterNav: async page => {
|
|
71
|
+
afterNav: async (page) => {
|
|
70
72
|
await page.click('button#nav-toggle');
|
|
71
73
|
}
|
|
72
74
|
},
|
|
@@ -91,7 +93,10 @@ module.exports = {
|
|
|
91
93
|
'color-contrast',
|
|
92
94
|
'landmark-no-duplicate-main',
|
|
93
95
|
'landmark-main-is-top-level',
|
|
94
|
-
'scrollable-region-focusable'
|
|
96
|
+
'scrollable-region-focusable',
|
|
97
|
+
'link-in-text-block',
|
|
98
|
+
// temporarily enable this rule that has started failing test in v6 branch.
|
|
99
|
+
'aria-required-children'
|
|
95
100
|
].join(','),
|
|
96
101
|
ignoreIncomplete: true
|
|
97
102
|
};
|
|
@@ -18,7 +18,7 @@ module.exports = (baseSourceMD, sourceProps) => {
|
|
|
18
18
|
.replace('package.json', 'src');
|
|
19
19
|
const reactDragDropPath = require.resolve('@patternfly/react-drag-drop/package.json').replace('package.json', 'src');
|
|
20
20
|
const reactTemplatesPath = require.resolve('@patternfly/react-templates/package.json').replace('package.json', 'src');
|
|
21
|
-
const reactPropsIgnore = '
|
|
21
|
+
const reactPropsIgnore = ['/**/examples/**', '/**/__mocks__/**', '/**/__tests__/**', '/**/*.test.tsx'];
|
|
22
22
|
|
|
23
23
|
sourceProps(path.join(reactCorePath, '/**/*.tsx'), reactPropsIgnore);
|
|
24
24
|
sourceProps(path.join(reactTablePath, '/**/*.tsx'), reactPropsIgnore);
|