Skip to content

Commit 22b54e2

Browse files
committed
feat: bump to lastest alpha2 - tests failing
1 parent 5315ff9 commit 22b54e2

File tree

6 files changed

+35
-41
lines changed

6 files changed

+35
-41
lines changed

package-lock.json

Lines changed: 24 additions & 24 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
@@ -72,9 +72,9 @@
7272
"webpack-merge": "^5.10.0"
7373
},
7474
"dependencies": {
75-
"@patternfly/react-core": "5.3.3",
76-
"@patternfly/react-icons": "5.3.2",
77-
"@patternfly/react-styles": "5.3.1",
75+
"@patternfly/react-core": "6.0.0-alpha.64",
76+
"@patternfly/react-icons": "6.0.0-alpha.24",
77+
"@patternfly/react-styles": "6.0.0-alpha.24",
7878
"react": "^18",
7979
"react-dom": "^18",
8080
"sirv-cli": "^2.0.2"

src/app/AppLayout/AppLayout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ interface IAppLayout {
2424

2525
const AppLayout: React.FunctionComponent<IAppLayout> = ({ children }) => {
2626
const [sidebarOpen, setSidebarOpen] = React.useState(true);
27-
const Header = (
27+
const masthead = (
2828
<Masthead>
2929
<MastheadToggle>
3030
<Button variant="plain" onClick={() => setSidebarOpen(!sidebarOpen)} aria-label="Global navigation">
@@ -119,7 +119,7 @@ const AppLayout: React.FunctionComponent<IAppLayout> = ({ children }) => {
119119
return (
120120
<Page
121121
mainContainerId={pageId}
122-
header={Header}
122+
masthead={masthead}
123123
sidebar={sidebarOpen && Sidebar}
124124
skipToContent={PageSkipToContent}>
125125
{children}

src/app/NotFound/NotFound.tsx

Lines changed: 1 addition & 4 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,8 +22,7 @@ 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" />
25+
<EmptyState titleText="404 Page not found" variant="full" icon={ExclamationTriangleIcon} >
2926
<EmptyStateBody>
3027
We didn&apos;t find a page that matches the address you navigated to.
3128
</EmptyStateBody><EmptyStateFooter>

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/app.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ body,
44
height: 100%;
55
}
66

7-
.pf-v5-c-content {
8-
--pf-v5-c-content--small--Color: var(--pf-v5-global--palette--green-500); /* changes all <small> color to --pf-v5-global--palette--green-500 */
9-
--pf-v5-c-content--blockquote--BorderLeftColor: var(--pf-v5-global--palette--cyan-600); /* changes all <blockquote> left border color to --pf-v5-global--palette--cyan-600 */
10-
--pf-v5-c-content--hr--BackgroundColor: var(--pf-v5-global--palette--gold-500); /* changes a <hr> color to --pf-v5-global--palette--gold-500 */
7+
.pf-v6-c-content {
8+
--pf-v6-c-content--small--Color: red; /* changes all <small> color to --pf-v5-global--palette--green-500 */
9+
--pf-v6-c-content--blockquote--BorderLeftColor: purple; /* changes all <blockquote> left border color to --pf-v5-global--palette--cyan-600 */
10+
--pf-v6-c-content--hr--BackgroundColor: yellow; /* changes a <hr> color to --pf-v5-global--palette--gold-500 */
1111
}

0 commit comments

Comments
 (0)