@patternfly/react-docs 5.103.34 → 6.0.0-alpha.1

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/RELEASE-NOTES.md CHANGED
@@ -3,77 +3,6 @@ id: Release notes
3
3
  section: developer-resources
4
4
  ---
5
5
 
6
- ## 2022.16 release notes (2022-12-13)
7
- - [@patternfly/react-catalog-view-extension@4.93.15](https://www.npmjs.com/package/@patternfly/react-catalog-view-extension/v/4.93.15)
8
- - [@patternfly/react-charts@6.94.15](https://www.npmjs.com/package/@patternfly/react-charts/v/6.94.15)
9
- - [@patternfly/react-code-editor@4.82.82](https://www.npmjs.com/package/@patternfly/react-code-editor/v/4.82.82)
10
- - [@patternfly/react-core@4.267.6](https://www.npmjs.com/package/@patternfly/react-core/v/4.267.6)
11
- - [@patternfly/react-icons@4.93.3](https://www.npmjs.com/package/@patternfly/react-icons/v/4.93.3)
12
- - [@patternfly/react-inline-edit-extension@4.86.85](https://www.npmjs.com/package/@patternfly/react-inline-edit-extension/v/4.86.85)
13
- - [@patternfly/react-log-viewer@4.87.77](https://www.npmjs.com/package/@patternfly/react-log-viewer/v/4.87.77)
14
- - [@patternfly/react-styles@4.92.3](https://www.npmjs.com/package/@patternfly/react-styles/v/4.92.3)
15
- - [@patternfly/react-table@4.112.6](https://www.npmjs.com/package/@patternfly/react-table/v/4.112.6)
16
- - [@patternfly/react-tokens@4.94.3](https://www.npmjs.com/package/@patternfly/react-tokens/v/4.94.3)
17
- - [@patternfly/react-topology@4.90.38](https://www.npmjs.com/package/@patternfly/react-topology/v/4.90.38)
18
- - [@patternfly/react-virtualized-extension@4.88.82](https://www.npmjs.com/package/@patternfly/react-virtualized-extension/v/4.88.82)
19
-
20
- ### Components
21
- - **Badge:**
22
- - Added `pf-screen-reader` for screen reader text ([#8361](https://github.com/patternfly/patternfly-react/pull/8361))
23
- - **Calendar month:**
24
- - Provided explicit guidance for labeling an inline calendar month ([#8375](https://github.com/patternfly/patternfly-react/pull/8375))
25
- - **Clipboard copy:**
26
- - Added `removeFindDomNode` ([#8371](https://github.com/patternfly/patternfly-react/pull/8371))
27
- - **Dropdown:**
28
- - Added `itemId` to `DropdownItem` props to the next version of the dropdown ([#8356](https://github.com/patternfly/patternfly-react/pull/8356))
29
- - **Menu:**
30
- - Added drilldown filter demo, also added flag to support demo and fix some keyboard interaction ([#8405](https://github.com/patternfly/patternfly-react/pull/8405))
31
- - Removed `li` wrapper from breadcrumb example ([#8433](https://github.com/patternfly/patternfly-react/pull/8433))
32
- - Updated breadcrumb drilldown example ([#8385](https://github.com/patternfly/patternfly-react/pull/8385))
33
- - **Navigation:**
34
- - Fixed navigation flyout accessibility ([#8279](https://github.com/patternfly/patternfly-react/pull/8279))
35
- - **Pagination:**
36
- - Added support for insets ([#8412](https://github.com/patternfly/patternfly-react/pull/8412))
37
- - Fixed filter not applying in sticky example ([#8133](https://github.com/patternfly/patternfly-react/pull/8133))
38
- - **Panel:**
39
- - Updated component unit tests to meet new RTL standards ([#8346](https://github.com/patternfly/patternfly-react/pull/8346))
40
- - **Search input:**
41
- - Updated advanced search menu to allow spaces in search form field values ([#8372](https://github.com/patternfly/patternfly-react/pull/8372))
42
- - **Sidebar:**
43
- - Updated tests to new react testing library standards ([#8342](https://github.com/patternfly/patternfly-react/pull/8342))
44
- - **Tabs:**
45
- - Converted examples to TypeScript ([#8337](https://github.com/patternfly/patternfly-react/pull/8337))
46
- - **Time picker:**
47
- - Removed redundant `onBlur` callback ([#8366](https://github.com/patternfly/patternfly-react/pull/8366))
48
- - **Tooltip:**
49
- - Converted examples to TypeScript ([#8052](https://github.com/patternfly/patternfly-react/pull/8052))
50
- - **Truncate:**
51
- - Added `removeFindDomNode` ([#8371](https://github.com/patternfly/patternfly-react/pull/8371))
52
- - **Navigation:**
53
- - Fixed navigation flyout accessibility ([#8279](https://github.com/patternfly/patternfly-react/pull/8279))
54
- - **Wizard:**
55
- - Allowed for async function types for navigation & `isCollapsible` wizard step prop for the next version of the wizard ([#8332](https://github.com/patternfly/patternfly-react/pull/8332))
56
- - Converted examples to TypeScript ([#8287](https://github.com/patternfly/patternfly-react/pull/8287))
57
-
58
- ### Access console extension
59
- - Prevented running initialization code more than once ([#8374](https://github.com/patternfly/patternfly-react/pull/8374))
60
-
61
- ### Table
62
- - Updated composable table custom row wrapper example ([#8365](https://github.com/patternfly/patternfly-react/pull/8365))
63
- - Added sticky modifiers to `Td` ([#8391](https://github.com/patternfly/patternfly-react/pull/8391))
64
- - Removed `hasSelectableRowCaption` prop ([#8352](https://github.com/patternfly/patternfly-react/pull/8352))
65
- - Create "deprecated" subpaths in `react-table` ([#8381](https://github.com/patternfly/patternfly-react/pull/8381))
66
-
67
-
68
-
69
- ### Other
70
- - **Chore:**
71
- - Stopped shipping mock files ([#8396](https://github.com/patternfly/patternfly-react/pull/8396))
72
- - Removed package exports and replaced subpaths script ([#8438](https://github.com/patternfly/patternfly-react/pull/8438))
73
- - Fixed react-core subpath exports ([#8341](https://github.com/patternfly/patternfly-react/pull/8341))
74
- - **Dependencies:**
75
- - Update dependency @patternfly/documentation-framework to v1.2.70 ([#8427](https://github.com/patternfly/patternfly-react/pull/8427))
76
-
77
6
  ## 2022.15 release notes (2022-11-17)
78
7
  - [@patternfly/react-catalog-view-extension@4.93.0](https://www.npmjs.com/package/@patternfly/react-catalog-view-extension/v/4.93.0)
79
8
  - [@patternfly/react-charts@6.94.12](https://www.npmjs.com/package/@patternfly/react-charts/v/6.94.12)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly/react-docs",
3
3
  "description": "PatternFly React Docs",
4
- "version": "5.103.34",
4
+ "version": "6.0.0-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public",
7
7
  "tag": "prerelease-v4"
@@ -22,22 +22,17 @@
22
22
  "test:a11y": "patternfly-a11y --config patternfly-a11y.config"
23
23
  },
24
24
  "dependencies": {
25
- "@patternfly/patternfly": "4.222.4",
26
- "@patternfly/react-catalog-view-extension": "^4.93.23",
27
- "@patternfly/react-charts": "^6.94.15",
28
- "@patternfly/react-code-editor": "^4.82.90",
29
- "@patternfly/react-core": "^4.267.14",
30
- "@patternfly/react-icons": "^4.93.3",
31
- "@patternfly/react-inline-edit-extension": "^4.86.94",
32
- "@patternfly/react-log-viewer": "^4.87.85",
33
- "@patternfly/react-styles": "^4.92.3",
34
- "@patternfly/react-table": "^4.112.15",
35
- "@patternfly/react-tokens": "^4.94.3",
36
- "@patternfly/react-topology": "^4.91.2",
37
- "@patternfly/react-virtualized-extension": "^4.88.90"
25
+ "@patternfly/patternfly": "5.0.0-alpha.3",
26
+ "@patternfly/react-charts": "^7.0.0-alpha.1",
27
+ "@patternfly/react-code-editor": "^5.0.0-alpha.1",
28
+ "@patternfly/react-core": "^5.0.0-alpha.1",
29
+ "@patternfly/react-icons": "^5.0.0-alpha.1",
30
+ "@patternfly/react-styles": "^5.0.0-alpha.1",
31
+ "@patternfly/react-table": "^5.0.0-alpha.1",
32
+ "@patternfly/react-tokens": "^5.0.0-alpha.1"
38
33
  },
39
34
  "devDependencies": {
40
- "@patternfly/documentation-framework": "1.3.7",
35
+ "@patternfly/documentation-framework": "1.2.70",
41
36
  "@patternfly/patternfly-a11y": "4.3.1",
42
37
  "rimraf": "^2.6.3",
43
38
  "shx": "^0.3.2"
@@ -49,5 +44,5 @@
49
44
  "last 2 versions",
50
45
  "not ie <= 11"
51
46
  ],
52
- "gitHead": "78ca8826733b66a1221df2bb670ab45c9d2dd816"
47
+ "gitHead": "5204f0b671c8030ea8b9c1b80f653a4a2985d883"
53
48
  }
@@ -10,7 +10,18 @@ async function waitFor(page) {
10
10
  }
11
11
 
12
12
  const urls = Object.keys(fullscreenRoutes)
13
- .map(key => (fullscreenRoutes[key].isFullscreenOnly ? key : fullscreenRoutes[key].path.replace(/\/react$/, '')))
13
+ .map(key => {
14
+ if (fullscreenRoutes[key].isFullscreenOnly) {
15
+ return key;
16
+ } else {
17
+ const path = fullscreenRoutes[key].path;
18
+ if (path.match(/\/demos\/.*\/react-demos$/g)) {
19
+ return path.replace(/\/react-demos$/, '');
20
+ } else {
21
+ return path.replace(/\/react$/, '');
22
+ }
23
+ }
24
+ })
14
25
  .reduce((result, item) => (result.includes(item) ? result : [...result, item]), []);
15
26
 
16
27
  module.exports = {
@@ -11,7 +11,6 @@ module.exports = {
11
11
  { section: 'charts' },
12
12
  { section: 'components' },
13
13
  { section: 'demos' },
14
- { section: 'extensions' },
15
14
  { section: 'layouts' }
16
15
  ],
17
16
  topNavItems: [{ text: 'Icons', path: '/icons' }],
@@ -16,26 +16,12 @@ module.exports = (baseSourceMD, sourceProps) => {
16
16
  const reactCodeEditorPath = require
17
17
  .resolve('@patternfly/react-code-editor/package.json')
18
18
  .replace('package.json', 'src');
19
- const reactCatalogViewPath = require
20
- .resolve('@patternfly/react-catalog-view-extension/package.json')
21
- .replace('package.json', 'src');
22
- const reactVirtualizedPath = require
23
- .resolve('@patternfly/react-virtualized-extension/package.json')
24
- .replace('package.json', 'src');
25
- const reactConsolePath = require.resolve('@patternfly/react-console/package.json').replace('package.json', 'src');
26
- const reactLogViewerPath = require
27
- .resolve('@patternfly/react-log-viewer/package.json')
28
- .replace('package.json', 'src');
29
19
  const reactPropsIgnore = '**/*.test.tsx';
30
20
 
31
21
  sourceProps(path.join(reactCorePath, '/**/*.tsx'), reactPropsIgnore);
32
22
  sourceProps(path.join(reactTablePath, '/**/*.tsx'), reactPropsIgnore);
33
23
  sourceProps(path.join(reactChartsPath, '/**/*.tsx'), reactPropsIgnore);
34
24
  sourceProps(path.join(reactCodeEditorPath, '/**/*.tsx'), reactPropsIgnore);
35
- sourceProps(path.join(reactCatalogViewPath, '/**/*.tsx'), reactPropsIgnore);
36
- sourceProps(path.join(reactVirtualizedPath, '/**/*.tsx'), reactPropsIgnore);
37
- sourceProps(path.join(reactConsolePath, '/**/*.tsx'), reactPropsIgnore);
38
- sourceProps(path.join(reactLogViewerPath, '/**/*.tsx'), reactPropsIgnore);
39
25
 
40
26
  // React MD
41
27
  sourceMD(path.join(reactCorePath, '/components/**/examples/*.md'), 'react');
@@ -54,22 +40,9 @@ module.exports = (baseSourceMD, sourceProps) => {
54
40
  // Charts MD (no demos yet)
55
41
  sourceMD(path.join(reactChartsPath, '/**/examples/*.md'), 'react');
56
42
 
57
- // Catalog view MD
58
- sourceMD(path.join(reactCatalogViewPath, '/**/examples/*.md'), 'react');
59
-
60
- // Virtualized MD
61
- sourceMD(path.join(reactVirtualizedPath, '/**/examples/*.md'), 'react');
62
-
63
- // Consoles MD
64
- sourceMD(path.join(reactConsolePath, '/**/examples/*.md'), 'react');
65
-
66
43
  // Code Editor MD
67
44
  sourceMD(path.join(reactCodeEditorPath, '/**/examples/*.md'), 'react');
68
45
 
69
- // Log viewer MD
70
- sourceMD(path.join(reactLogViewerPath, '/**/examples/*.md'), 'react');
71
- sourceMD(path.join(reactLogViewerPath, '/**/demos/*.md'), 'react-demos');
72
-
73
46
  // Release notes
74
47
  sourceMD(require.resolve('@patternfly/react-docs/RELEASE-NOTES.md'), 'react');
75
48