Skip to content

Commit

Permalink
fix: Dataview v5 update (#4436)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
dlabaj authored Jan 29, 2025
1 parent db3c9dd commit 8876d05
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/documentation-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"@patternfly/react-user-feedback": "5.0.0",
"@patternfly/react-component-groups": "5.5.3",
"@patternfly/react-virtualized-extension": "5.0.0",
"@patternfly/react-data-view": "5.8.0",
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0",
"showdown": "^2.1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,21 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => {
sourceMD(path.join(logViewerContentBase, "/**/examples/*.md"), "react");
sourceMD(path.join(logViewerContentBase, "/**/demos/*.md"), "react-demos");

// Data view extension
const reactDataViewPath = require
.resolve("@patternfly/react-data-view/package.json")
.replace("package.json", "src");

const reactDataViewContentBase = require
.resolve("@patternfly/react-data-view/package.json")
.replace(
"package.json",
"patternfly-docs/content/extensions/data-view"
);

sourceProps(path.join(reactDataViewPath, "/**/*.tsx"), reactPropsIgnore);
sourceMD(path.join(reactDataViewContentBase, "/examples/**/*.md"), "react");

// User feedback extension
const reactUserFeedbackPath = require
.resolve("@patternfly/react-user-feedback/package.json")
Expand Down
23 changes: 23 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2571,6 +2571,17 @@
clsx "^2.1.1"
react-jss "^10.10.0"

"@patternfly/react-component-groups@^5.5.2":
version "5.5.8"
resolved "https://registry.yarnpkg.com/@patternfly/react-component-groups/-/react-component-groups-5.5.8.tgz#3cf9d190901e60f0fc339aed13d199ad3350ab9f"
integrity sha512-v31FyvzewWiLVMOR8S4GgD1S+ZWqBPEawPkJG6Ja4BpF5dFJeke6lUovdEPTs4NQEUtBytF6Tsww38XGL6NaaA==
dependencies:
"@patternfly/react-core" "^5.4.1"
"@patternfly/react-icons" "^5.4.0"
"@patternfly/react-table" "^5.4.1"
clsx "^2.1.1"
react-jss "^10.10.0"

"@patternfly/[email protected]":
version "5.1.0"
resolved "https://registry.yarnpkg.com/@patternfly/react-console/-/react-console-5.1.0.tgz#3b51662433486599480ecaba14af140b05947b33"
Expand Down Expand Up @@ -2632,6 +2643,18 @@
react-dropzone "^14.2.3"
tslib "^2.6.3"

"@patternfly/[email protected]":
version "5.8.0"
resolved "https://registry.yarnpkg.com/@patternfly/react-data-view/-/react-data-view-5.8.0.tgz#7d568a62d0ce577d258aa39a1537e6ee372a28f5"
integrity sha512-+GDaWmr19t71q83yiamFPnyxeak0I70gTxWmkD/tQEnE/m6+5MZy+jtJ1lsT5BFPXNvwweEwfaXwiFzPTxTV3w==
dependencies:
"@patternfly/react-component-groups" "^5.5.2"
"@patternfly/react-core" "^5.4.1"
"@patternfly/react-icons" "^5.4.0"
"@patternfly/react-table" "^5.4.1"
clsx "^2.1.1"
react-jss "^10.10.0"

"@patternfly/[email protected]":
version "6.4.12"
resolved "https://registry.yarnpkg.com/@patternfly/react-docs/-/react-docs-6.4.12.tgz#4f9bccf1a4ad8f1e8a276a7562ea01771e581e4a"
Expand Down

0 comments on commit 8876d05

Please sign in to comment.