From 09c6b41dacf233f8b3b695cf81e956c966be303c Mon Sep 17 00:00:00 2001 From: Titani Date: Tue, 21 Nov 2023 15:14:07 -0500 Subject: [PATCH 1/4] chore(deps): update v6 core deps --- packages/react-core/package.json | 2 +- packages/react-docs/package.json | 2 +- packages/react-icons/package.json | 2 +- packages/react-styles/package.json | 2 +- packages/react-tokens/package.json | 2 +- yarn.lock | 8 ++++---- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/react-core/package.json b/packages/react-core/package.json index 01a5da22af8..7da5820aa7b 100644 --- a/packages/react-core/package.json +++ b/packages/react-core/package.json @@ -54,7 +54,7 @@ "tslib": "^2.5.0" }, "devDependencies": { - "@patternfly/patternfly": "6.0.0-alpha.12", + "@patternfly/patternfly": "6.0.0-alpha.19", "@rollup/plugin-commonjs": "^25.0.0", "@rollup/plugin-node-resolve": "^15.0.2", "@rollup/plugin-replace": "^5.0.2", diff --git a/packages/react-docs/package.json b/packages/react-docs/package.json index 0ed720f61b7..0fadc788158 100644 --- a/packages/react-docs/package.json +++ b/packages/react-docs/package.json @@ -23,7 +23,7 @@ "test:a11y": "patternfly-a11y --config patternfly-a11y.config" }, "dependencies": { - "@patternfly/patternfly": "6.0.0-alpha.12", + "@patternfly/patternfly": "6.0.0-alpha.19", "@patternfly/react-charts": "^8.0.0-alpha.2", "@patternfly/react-code-editor": "^6.0.0-alpha.2", "@patternfly/react-core": "^6.0.0-alpha.2", diff --git a/packages/react-icons/package.json b/packages/react-icons/package.json index 4c040d25031..93b361a7ab2 100644 --- a/packages/react-icons/package.json +++ b/packages/react-icons/package.json @@ -33,7 +33,7 @@ "@fortawesome/free-brands-svg-icons": "^5.14.0", "@fortawesome/free-regular-svg-icons": "^5.14.0", "@fortawesome/free-solid-svg-icons": "^5.14.0", - "@patternfly/patternfly": "6.0.0-alpha.12", + "@patternfly/patternfly": "6.0.0-alpha.19", "fs-extra": "^11.1.1", "glob": "^7.1.2", "rimraf": "^2.6.2", diff --git a/packages/react-styles/package.json b/packages/react-styles/package.json index 86279befdd0..fedd5b9b84e 100644 --- a/packages/react-styles/package.json +++ b/packages/react-styles/package.json @@ -19,7 +19,7 @@ "clean": "rimraf dist css" }, "devDependencies": { - "@patternfly/patternfly": "6.0.0-alpha.12", + "@patternfly/patternfly": "6.0.0-alpha.19", "camel-case": "^3.0.0", "css": "^2.2.3", "fs-extra": "^11.1.1", diff --git a/packages/react-tokens/package.json b/packages/react-tokens/package.json index 7d0fef13592..c97c63c0029 100644 --- a/packages/react-tokens/package.json +++ b/packages/react-tokens/package.json @@ -29,7 +29,7 @@ "clean": "rimraf dist" }, "devDependencies": { - "@patternfly/patternfly": "6.0.0-alpha.12", + "@patternfly/patternfly": "6.0.0-alpha.19", "css": "^2.2.3", "fs-extra": "^11.1.1", "glob": "^7.1.2", diff --git a/yarn.lock b/yarn.lock index eb524e3a35e..5a3ebc413b6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3925,10 +3925,10 @@ puppeteer-cluster "^0.23.0" xmldoc "^1.1.2" -"@patternfly/patternfly@6.0.0-alpha.12": - version "6.0.0-alpha.12" - resolved "https://registry.yarnpkg.com/@patternfly/patternfly/-/patternfly-6.0.0-alpha.12.tgz#99ac69ae0a41b43cf1a78a109facae935001f2d1" - integrity sha512-8oUTBLXmdzVidxWvkXS2fCUYi4vmbgDBCdFmur8i4T4ssa+qH+0NZLN4kCPfVkgNY7RVcL6ISs1GIP6du6UacQ== +"@patternfly/patternfly@6.0.0-alpha.19": + version "6.0.0-alpha.19" + resolved "https://registry.yarnpkg.com/@patternfly/patternfly/-/patternfly-6.0.0-alpha.19.tgz#0dfc68628997a08b2f3b13f05302d65024a85c3b" + integrity sha512-v7LUfyKrWJN929i5+OsItypUUcKLnJegWPJYrNSBumZXaUEFQkrMRwH4zN+RzbvuoqEXdYqJ/6hlh8QM5FIbjw== "@pkgjs/parseargs@^0.11.0": version "0.11.0" From ee979012e9ea9d4f850c969f153073588302b507 Mon Sep 17 00:00:00 2001 From: Titani Date: Mon, 4 Dec 2023 10:33:13 -0500 Subject: [PATCH 2/4] update to ver 28 --- packages/react-core/package.json | 2 +- .../components/ExpandableSection/ExpandableSection.tsx | 3 +-- .../ExpandableSection/ExpandableSectionToggle.tsx | 3 +-- packages/react-docs/package.json | 2 +- packages/react-icons/package.json | 2 +- packages/react-styles/package.json | 2 +- packages/react-tokens/package.json | 2 +- yarn.lock | 8 ++++---- 8 files changed, 11 insertions(+), 13 deletions(-) diff --git a/packages/react-core/package.json b/packages/react-core/package.json index 7da5820aa7b..6cec1ee8f06 100644 --- a/packages/react-core/package.json +++ b/packages/react-core/package.json @@ -54,7 +54,7 @@ "tslib": "^2.5.0" }, "devDependencies": { - "@patternfly/patternfly": "6.0.0-alpha.19", + "@patternfly/patternfly": "6.0.0-alpha.28", "@rollup/plugin-commonjs": "^25.0.0", "@rollup/plugin-node-resolve": "^15.0.2", "@rollup/plugin-replace": "^5.0.2", diff --git a/packages/react-core/src/components/ExpandableSection/ExpandableSection.tsx b/packages/react-core/src/components/ExpandableSection/ExpandableSection.tsx index 1ac95089bbb..377573088f7 100644 --- a/packages/react-core/src/components/ExpandableSection/ExpandableSection.tsx +++ b/packages/react-core/src/components/ExpandableSection/ExpandableSection.tsx @@ -244,7 +244,7 @@ class ExpandableSection extends React.Component )} - {toggleContent || computedToggleText} + {toggleContent || computedToggleText} ); @@ -254,7 +254,6 @@ class ExpandableSection extends React.Component )} - {children} + {children} ); diff --git a/packages/react-docs/package.json b/packages/react-docs/package.json index 0fadc788158..ccf71df4a11 100644 --- a/packages/react-docs/package.json +++ b/packages/react-docs/package.json @@ -23,7 +23,7 @@ "test:a11y": "patternfly-a11y --config patternfly-a11y.config" }, "dependencies": { - "@patternfly/patternfly": "6.0.0-alpha.19", + "@patternfly/patternfly": "6.0.0-alpha.28", "@patternfly/react-charts": "^8.0.0-alpha.2", "@patternfly/react-code-editor": "^6.0.0-alpha.2", "@patternfly/react-core": "^6.0.0-alpha.2", diff --git a/packages/react-icons/package.json b/packages/react-icons/package.json index 93b361a7ab2..e4f60930d98 100644 --- a/packages/react-icons/package.json +++ b/packages/react-icons/package.json @@ -33,7 +33,7 @@ "@fortawesome/free-brands-svg-icons": "^5.14.0", "@fortawesome/free-regular-svg-icons": "^5.14.0", "@fortawesome/free-solid-svg-icons": "^5.14.0", - "@patternfly/patternfly": "6.0.0-alpha.19", + "@patternfly/patternfly": "6.0.0-alpha.28", "fs-extra": "^11.1.1", "glob": "^7.1.2", "rimraf": "^2.6.2", diff --git a/packages/react-styles/package.json b/packages/react-styles/package.json index fedd5b9b84e..06f03c3fca7 100644 --- a/packages/react-styles/package.json +++ b/packages/react-styles/package.json @@ -19,7 +19,7 @@ "clean": "rimraf dist css" }, "devDependencies": { - "@patternfly/patternfly": "6.0.0-alpha.19", + "@patternfly/patternfly": "6.0.0-alpha.28", "camel-case": "^3.0.0", "css": "^2.2.3", "fs-extra": "^11.1.1", diff --git a/packages/react-tokens/package.json b/packages/react-tokens/package.json index c97c63c0029..2775649bdad 100644 --- a/packages/react-tokens/package.json +++ b/packages/react-tokens/package.json @@ -29,7 +29,7 @@ "clean": "rimraf dist" }, "devDependencies": { - "@patternfly/patternfly": "6.0.0-alpha.19", + "@patternfly/patternfly": "6.0.0-alpha.28", "css": "^2.2.3", "fs-extra": "^11.1.1", "glob": "^7.1.2", diff --git a/yarn.lock b/yarn.lock index 5a3ebc413b6..fc6468db63e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3925,10 +3925,10 @@ puppeteer-cluster "^0.23.0" xmldoc "^1.1.2" -"@patternfly/patternfly@6.0.0-alpha.19": - version "6.0.0-alpha.19" - resolved "https://registry.yarnpkg.com/@patternfly/patternfly/-/patternfly-6.0.0-alpha.19.tgz#0dfc68628997a08b2f3b13f05302d65024a85c3b" - integrity sha512-v7LUfyKrWJN929i5+OsItypUUcKLnJegWPJYrNSBumZXaUEFQkrMRwH4zN+RzbvuoqEXdYqJ/6hlh8QM5FIbjw== +"@patternfly/patternfly@6.0.0-alpha.28": + version "6.0.0-alpha.28" + resolved "https://registry.yarnpkg.com/@patternfly/patternfly/-/patternfly-6.0.0-alpha.28.tgz#5c3d0b0b1c712d8f2b9bcc05d3b6545f8f46a9ce" + integrity sha512-10vNDFHjtSRIfTbAnZqed2jbhXA6K4o9ijT8lGrxiSTq4qxRHNcTnNoV9oX328wvvdao052xv6HDYwvgwlvBiA== "@pkgjs/parseargs@^0.11.0": version "0.11.0" From 9d391f4cfa38e4e3b76d0ca7d6887559497e7a0e Mon Sep 17 00:00:00 2001 From: Titani Date: Mon, 4 Dec 2023 11:19:50 -0500 Subject: [PATCH 3/4] updatd snapshots --- .../__tests__/__snapshots__/ExpandableSection.test.tsx.snap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-core/src/components/ExpandableSection/__tests__/__snapshots__/ExpandableSection.test.tsx.snap b/packages/react-core/src/components/ExpandableSection/__tests__/__snapshots__/ExpandableSection.test.tsx.snap index d87bc00aaa6..dc3045c3a8e 100644 --- a/packages/react-core/src/components/ExpandableSection/__tests__/__snapshots__/ExpandableSection.test.tsx.snap +++ b/packages/react-core/src/components/ExpandableSection/__tests__/__snapshots__/ExpandableSection.test.tsx.snap @@ -3,7 +3,7 @@ exports[`Detached ExpandableSection renders successfully 1`] = `