Skip to content

Commit 37067b0

Browse files
authored
Upgrade to 1.12 for astro. (#4719)
1 parent e0a2466 commit 37067b0

File tree

9 files changed

+422
-65
lines changed

9 files changed

+422
-65
lines changed
File renamed without changes.
File renamed without changes.

packages/site/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"init:docs": "patternfly-doc-core init"
1414
},
1515
"dependencies": {
16-
"@patternfly/patternfly-doc-core": "^1.9.0",
16+
"@patternfly/patternfly-doc-core": "^1.12.0",
1717
"astro": "^5.7.13"
1818
},
1919
"devDependencies": {
File renamed without changes.

packages/site/src/content/get-started/release-notes-data.js renamed to packages/site/src/content/get-started/release-notes-data.jsx

File renamed without changes.

packages/site/src/content/get-started/release-notes-table.js renamed to packages/site/src/content/get-started/release-notes-table.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import {
3434
import FilterIcon from "@patternfly/react-icons/dist/esm/icons/filter-icon";
3535
import SearchIcon from "@patternfly/react-icons/dist/esm/icons/search-icon";
3636

37-
import { releaseNotes } from "./release-notes-data.js";
37+
import { releaseNotes } from "./release-notes-data.jsx";
3838

3939
export const ReleaseNotesTable = () => {
4040
// Row expand/collapse

packages/site/src/content/get-started/release-notes.md renamed to packages/site/src/content/get-started/release-notes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ section: get-started
77

88
## PatternFly 6 React breaking changes
99

10-
import { ReleaseNotesTable } from './release-notes-table.js';
10+
import { ReleaseNotesTable } from './release-notes-table.jsx';
1111

1212
This resource organizes the PatternFly 5 to PatternFly 6 change log in a table that allows for searching, filtering, and sorting.
1313
Note that this table does not contain a completely comprehensive list of changes, as it does not include information about dependency bumps and documentation updates.

packages/site/src/content/get-started/upgrade.mdx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ title: Upgrade to PatternFly 6
55
section: get-started
66
---
77
import { Alert, Button, Divider } from '@patternfly/react-core';
8-
import ArrowRightIcon from '@patternfly/react-icons/dist/esm/icons/arrow-right-icon';
9-
10-
<Alert variant="info" isInline title="Are you ready for PatternFly 6?"> To ensure your product is ready for PatternFly 6, [complete the PatternFly 5 upgrade process](https://v5-archive.patternfly.org/get-started/upgrade) first to address any necessary changes from our previous release.</Alert>
118

129
PatternFly 6 introduces the exciting new features and functionality outlined [our release highlights](/get-started/release-highlights). For a detailed breakdown on the work that went into this release, you can view [the PatternFly 6 major release notes](/get-started/upgrade/release-notes).
1310

@@ -17,7 +14,6 @@ In the following sections, this upgrade guide outlines steps required to migrate
1714
1. [Upgrade steps](#how-to-upgrade): Step-by-step instructions for upgrading.
1815
1. [Help resources](#get-help): Easy-access links to get help from the PatternFly team.
1916

20-
<Divider />
2117

2218
## Notable changes
2319

@@ -45,7 +41,6 @@ To install Victory packages, you can either:
4541
- Install the single "victory" package to cover all features.
4642
- Install specific packages, based on your product's features (such as "victory-core" or "victory-tooltip").
4743

48-
<Divider />
4944

5045
## How to upgrade
5146

@@ -186,17 +181,16 @@ If you have previously implemented any breakpoint logic based on a pixel value,
186181
- **Cause:** The React Testing Library query can't find the menu options if the Popper menu is set to `aria-disabled` after a selection is made. This error only seems to occur in unit tests&mdash;not browsers.
187182
- **Fix:** Pass in the `{hidden: true}` option or change select's `appendTo` to `inline`.
188183

189-
<Divider />
190184

191185
## Get help
192186

193187
If you need support as you upgrade, the PatternFly team is here to help! Since this upgrade includes significant visual changes, please contact us with questions about styles or concerns with your UI. We'll always do our best to answer your questions, double-check your work, and connect you with the right people quickly.
194188

195-
<Button variant="link" icon={<ArrowRightIcon />} iconPosition="end" isInline component="a" href="https://join.slack.com/t/patternfly/shared_invite/zt-1npmqswgk-bF2R1E2rglV8jz5DNTezMQ" target="_blank">
189+
<Button variant="link" iconPosition="end" isInline component="a" href="https://join.slack.com/t/patternfly/shared_invite/zt-1npmqswgk-bF2R1E2rglV8jz5DNTezMQ" target="_blank">
196190
Reach out to us on Slack
197191
</Button>
198192

199-
<Button variant="link" icon={<ArrowRightIcon />} iconPosition="end" isInline component="a" href="https://github.com/orgs/patternfly/discussions" target="_blank">
193+
<Button variant="link" iconPosition="end" isInline component="a" href="https://github.com/orgs/patternfly/discussions" target="_blank">
200194
Ask a question in GitHub Discussions
201195
</Button>
202196

0 commit comments

Comments
 (0)