You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add latest changes to release notes and add a few extra note to upgrade guide (#3640)
* docs: add latest changes to release notes and add a few extra note to upgrade guide
* update per comments
* update per PR comments
* Uppercase select in deprecated table list
Co-authored-by: Evan <evan.wilkinson@gmail.com>
---------
Co-authored-by: Evan <evan.wilkinson@gmail.com>
Co-authored-by: Evan <evan.wilkinson@redhat.com>
**Note:** To understand how our new composable menus can be used to replace deprecated components, [view our custom menus examples](/components/menus/custom-menus).
description: (<>Fixed dark theme chart var prefix from <codeclassName='ws-code'>pf-v5-c-chart</code> to <codeclassName='ws-code'>pf-v5-chart</code>.</>),
description: <>Re-introduced a CSS var override in the button's <codeclassName='ws-code'>pf-t-dark</code> placeholder that sets the primary button background.</>,
description: (<>Updated the OUIA <codeclassName='ws-code'>data-ouia-component-type</code> prefix from <codeclassName='ws-code'>PF4</code> to <codeclassName='ws-code'>PF5</code>.</>),
description: (<>Reverted default value of popover <codeclassName='ws-code'>appendTo</code> prop so it is now <codeclassName='ws-code'>() =>document.body</code>.</>),
description: (<>Updated <codeclassName='ws-code'>alignItems</code> and <codeclassName='ws-code'>alignSelf</code> on <codeclassName='ws-code'>ToolbarContent</code>, <codeclassName='ws-code'>ToolbarGroup</code> and <codeclassName='ws-code'>ToolbarItem</code> to have values <codeclassName='ws-code'>start</code>, <codeclassName='ws-code'>center</code>, and <codeclassName='ws-code'>baseline</code>.</>),
Copy file name to clipboardExpand all lines: packages/documentation-site/patternfly-docs/content/get-started/upgrade.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,3 +92,28 @@ PatternFly 5 brings a new implementation to the following components, which can
92
92
- [Select](/components/menus/select)
93
93
- [Dropdown ](/components/menus/dropdown)
94
94
- [Wizard](/components/wizard)
95
+
96
+
## Other notes
97
+
98
+
As you upgrade to PatternFly 5, keep in mind the following considerations:
99
+
100
+
101
+
When updating the react-topology package, note that the topology styles have been removed from their previous home in @patternfly/react-styles and now need to be imported directly from [react-topology.](https://github.com/patternfly/react-topology)
| `import styles from '@patternfly/react-styles/css/components/Topology/topology-components';` | `import styles from '@patternfly/react-topology/dist/js/css/topology-components';` |
108
+
109
+
</div>
110
+
111
+
In general, though PatternFly ships a `src` directory in it's npm package, it is not advised to import components from a `src` directory. Instead, when importing via absolute paths, import components from `dist` directories.
0 commit comments