Skip to content

Commit d313ebc

Browse files
Merge pull request #178 from wise-king-sullyman/pull-in-pf-alphas
chore(deps): update patternfly deps to v6 alphas
2 parents 5229262 + ed089f1 commit d313ebc

File tree

4 files changed

+51
-51
lines changed

4 files changed

+51
-51
lines changed

package-lock.json

Lines changed: 45 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@
7979
"webpack-merge": "^5.9.0"
8080
},
8181
"dependencies": {
82-
"@patternfly/react-core": "^5.0.0",
83-
"@patternfly/react-icons": "^5.0.0",
84-
"@patternfly/react-styles": "^5.0.0",
82+
"@patternfly/react-core": "6.0.0-alpha.2",
83+
"@patternfly/react-icons": "6.0.0-alpha.2",
84+
"@patternfly/react-styles": "6.0.0-alpha.2",
8585
"@storybook/builder-webpack5": "^7.0.27",
8686
"react": "^18",
8787
"react-dom": "^18",

src/app/AppLayout/AppLayout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const AppLayout: React.FunctionComponent<IAppLayout> = ({ children }) => {
6363
);
6464

6565
const Navigation = (
66-
<Nav id="nav-primary-simple" theme="dark">
66+
<Nav id="nav-primary-simple" theme="light">
6767
<NavList id="nav-list-simple">
6868
{routes.map(
6969
(route, idx) => route.label && (!route.routes ? renderNavItem(route, idx) : renderNavGroup(route, idx))
@@ -73,7 +73,7 @@ const AppLayout: React.FunctionComponent<IAppLayout> = ({ children }) => {
7373
);
7474

7575
const Sidebar = (
76-
<PageSidebar theme="dark" >
76+
<PageSidebar>
7777
<PageSidebarBody>
7878
{Navigation}
7979
</PageSidebarBody>

src/app/__snapshots__/app.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ exports[`App tests should render default App component 1`] = `
7474
>
7575
<nav
7676
aria-label="Global"
77-
class="pf-v5-c-nav"
77+
class="pf-v5-c-nav pf-m-light"
7878
data-ouia-component-id="OUIA-Generated-Nav-1"
7979
data-ouia-component-type="PF5/Nav"
8080
data-ouia-safe="true"

0 commit comments

Comments
 (0)