Skip to content

Commit 4e95499

Browse files
authored
Merge pull request #201 from evwilkin/chore/bump-6.28-alpha
chore(deps): update patternfly deps to v6 alphas
2 parents b239493 + ab30bc8 commit 4e95499

File tree

5 files changed

+14
-20
lines changed

5 files changed

+14
-20
lines changed

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": "6.0.0-alpha.7",
83-
"@patternfly/react-icons": "6.0.0-alpha.5",
84-
"@patternfly/react-styles": "6.0.0-alpha.5",
82+
"@patternfly/react-core": "6.0.0-alpha.28",
83+
"@patternfly/react-icons": "6.0.0-alpha.11",
84+
"@patternfly/react-styles": "6.0.0-alpha.11",
8585
"@storybook/builder-webpack5": "^7.5.3",
8686
"react": "^18",
8787
"react-dom": "^18",

src/app/AppLayout/AppLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const AppLayout: React.FunctionComponent<IAppLayout> = ({ children }) => {
8888
);
8989

9090
const Navigation = (
91-
<Nav id="nav-primary-simple" theme="light">
91+
<Nav id="nav-primary-simple">
9292
<NavList id="nav-list-simple">
9393
{routes.map(
9494
(route, idx) => route.label && (!route.routes ? renderNavItem(route, idx) : renderNavGroup(route, idx))

src/app/NotFound/NotFound.tsx

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import {
55
EmptyState,
66
EmptyStateBody,
77
EmptyStateFooter,
8-
EmptyStateHeader,
9-
EmptyStateIcon,
108
PageSection,
119
} from '@patternfly/react-core';
1210
import { useHistory } from 'react-router-dom';
@@ -24,14 +22,13 @@ const NotFound: React.FunctionComponent = () => {
2422

2523
return (
2624
<PageSection>
27-
<EmptyState variant="full">
28-
<EmptyStateHeader titleText="404 Page not found" icon={<EmptyStateIcon icon={ExclamationTriangleIcon} />} headingLevel="h1" />
29-
<EmptyStateBody>
30-
We didn&apos;t find a page that matches the address you navigated to.
31-
</EmptyStateBody><EmptyStateFooter>
32-
<GoHomeBtn />
33-
</EmptyStateFooter></EmptyState>
34-
</PageSection>
25+
<EmptyState titleText="404 Page not found" variant="full" icon={ExclamationTriangleIcon} >
26+
<EmptyStateBody>
27+
We didn&apos;t find a page that matches the address you navigated to.
28+
</EmptyStateBody><EmptyStateFooter>
29+
<GoHomeBtn />
30+
</EmptyStateFooter></EmptyState>
31+
</PageSection>
3532
)
3633
};
3734

src/app/Support/Support.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ import {
66
EmptyStateActions,
77
EmptyStateBody,
88
EmptyStateFooter,
9-
EmptyStateHeader,
10-
EmptyStateIcon,
119
EmptyStateVariant,
1210
PageSection,
1311
Text,
@@ -22,8 +20,7 @@ export interface ISupportProps {
2220
// eslint-disable-next-line prefer-const
2321
let Support: React.FunctionComponent<ISupportProps> = () => (
2422
<PageSection>
25-
<EmptyState variant={EmptyStateVariant.full}>
26-
<EmptyStateHeader titleText="Empty State (Stub Support Module)" icon={<EmptyStateIcon icon={CubesIcon} />} headingLevel="h1" />
23+
<EmptyState variant={EmptyStateVariant.full} titleText="Empty State (Stub Support Module)" icon={CubesIcon} >
2724
<EmptyStateBody>
2825
<TextContent>
2926
<Text component="p">

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ exports[`App tests should render default App component 1`] = `
155155
>
156156
<nav
157157
aria-label="Global"
158-
class="pf-v5-c-nav pf-m-light"
158+
class="pf-v5-c-nav"
159159
data-ouia-component-id="OUIA-Generated-Nav-1"
160160
data-ouia-component-type="PF5/Nav"
161161
data-ouia-safe="true"
@@ -194,7 +194,7 @@ exports[`App tests should render default App component 1`] = `
194194
</a>
195195
</li>
196196
<li
197-
class="pf-v5-c-nav__item pf-m-expandable"
197+
class="pf-v5-c-nav__item"
198198
data-ouia-component-id="OUIA-Generated-NavExpandable-1"
199199
data-ouia-component-type="PF5/NavExpandable"
200200
data-ouia-safe="true"

0 commit comments

Comments
 (0)