Skip to content

Commit 8876d05

Browse files
authored
fix: Dataview v5 update (#4436)
* Added react data view to patternfly org (#4429) * feat: Added data view to the documentaion site. * fixed path force source. * Updated the examples path. * fix: Updated to released version of the software. * Rebase. * Updated with review comments.
1 parent db3c9dd commit 8876d05

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

packages/documentation-site/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"@patternfly/react-user-feedback": "5.0.0",
2828
"@patternfly/react-component-groups": "5.5.3",
2929
"@patternfly/react-virtualized-extension": "5.0.0",
30+
"@patternfly/react-data-view": "5.8.0",
3031
"react": "^17.0.0 || ^18.0.0",
3132
"react-dom": "^17.0.0 || ^18.0.0",
3233
"showdown": "^2.1.0"

packages/documentation-site/patternfly-docs/patternfly-docs.source.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,21 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => {
198198
sourceMD(path.join(logViewerContentBase, "/**/examples/*.md"), "react");
199199
sourceMD(path.join(logViewerContentBase, "/**/demos/*.md"), "react-demos");
200200

201+
// Data view extension
202+
const reactDataViewPath = require
203+
.resolve("@patternfly/react-data-view/package.json")
204+
.replace("package.json", "src");
205+
206+
const reactDataViewContentBase = require
207+
.resolve("@patternfly/react-data-view/package.json")
208+
.replace(
209+
"package.json",
210+
"patternfly-docs/content/extensions/data-view"
211+
);
212+
213+
sourceProps(path.join(reactDataViewPath, "/**/*.tsx"), reactPropsIgnore);
214+
sourceMD(path.join(reactDataViewContentBase, "/examples/**/*.md"), "react");
215+
201216
// User feedback extension
202217
const reactUserFeedbackPath = require
203218
.resolve("@patternfly/react-user-feedback/package.json")

yarn.lock

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2571,6 +2571,17 @@
25712571
clsx "^2.1.1"
25722572
react-jss "^10.10.0"
25732573

2574+
"@patternfly/react-component-groups@^5.5.2":
2575+
version "5.5.8"
2576+
resolved "https://registry.yarnpkg.com/@patternfly/react-component-groups/-/react-component-groups-5.5.8.tgz#3cf9d190901e60f0fc339aed13d199ad3350ab9f"
2577+
integrity sha512-v31FyvzewWiLVMOR8S4GgD1S+ZWqBPEawPkJG6Ja4BpF5dFJeke6lUovdEPTs4NQEUtBytF6Tsww38XGL6NaaA==
2578+
dependencies:
2579+
"@patternfly/react-core" "^5.4.1"
2580+
"@patternfly/react-icons" "^5.4.0"
2581+
"@patternfly/react-table" "^5.4.1"
2582+
clsx "^2.1.1"
2583+
react-jss "^10.10.0"
2584+
25742585
"@patternfly/react-console@5.1.0":
25752586
version "5.1.0"
25762587
resolved "https://registry.yarnpkg.com/@patternfly/react-console/-/react-console-5.1.0.tgz#3b51662433486599480ecaba14af140b05947b33"
@@ -2632,6 +2643,18 @@
26322643
react-dropzone "^14.2.3"
26332644
tslib "^2.6.3"
26342645

2646+
"@patternfly/react-data-view@5.8.0":
2647+
version "5.8.0"
2648+
resolved "https://registry.yarnpkg.com/@patternfly/react-data-view/-/react-data-view-5.8.0.tgz#7d568a62d0ce577d258aa39a1537e6ee372a28f5"
2649+
integrity sha512-+GDaWmr19t71q83yiamFPnyxeak0I70gTxWmkD/tQEnE/m6+5MZy+jtJ1lsT5BFPXNvwweEwfaXwiFzPTxTV3w==
2650+
dependencies:
2651+
"@patternfly/react-component-groups" "^5.5.2"
2652+
"@patternfly/react-core" "^5.4.1"
2653+
"@patternfly/react-icons" "^5.4.0"
2654+
"@patternfly/react-table" "^5.4.1"
2655+
clsx "^2.1.1"
2656+
react-jss "^10.10.0"
2657+
26352658
"@patternfly/react-docs@6.4.12":
26362659
version "6.4.12"
26372660
resolved "https://registry.yarnpkg.com/@patternfly/react-docs/-/react-docs-6.4.12.tgz#4f9bccf1a4ad8f1e8a276a7562ea01771e581e4a"

0 commit comments

Comments
 (0)