diff --git a/packages/documentation-framework/components/autoLinkHeader/autoLinkHeader.js b/packages/documentation-framework/components/autoLinkHeader/autoLinkHeader.js
index 3398e63014..a4aee3b57a 100644
--- a/packages/documentation-framework/components/autoLinkHeader/autoLinkHeader.js
+++ b/packages/documentation-framework/components/autoLinkHeader/autoLinkHeader.js
@@ -1,5 +1,5 @@
import React from 'react';
-import { Flex, FlexItem, Text } from '@patternfly/react-core';
+import { Flex, FlexItem, Content } from '@patternfly/react-core';
import LinkIcon from '@patternfly/react-icons/dist/esm/icons/link-icon';
import { Link } from '../link/link';
import { slugger } from '../../helpers/slugger';
@@ -17,7 +17,7 @@ export const AutoLinkHeader = ({
return (
-
{children}
-
+
{metaText && {metaText}}
diff --git a/packages/documentation-framework/components/footer/footer.js b/packages/documentation-framework/components/footer/footer.js
index 46e5eff030..df275c2b55 100644
--- a/packages/documentation-framework/components/footer/footer.js
+++ b/packages/documentation-framework/components/footer/footer.js
@@ -1,5 +1,5 @@
import React from "react";
-import {Brand, Grid, GridItem, List, PageSection, Text} from "@patternfly/react-core";
+import {Brand, Grid, GridItem, List, PageSection, Content} from "@patternfly/react-core";
import {Link} from "@patternfly/documentation-framework/components";
import {GithubIcon, TwitterIcon} from "@patternfly/react-icons";
import redhatLogo from "./RHLogo.png";
@@ -176,14 +176,14 @@ export const Footer = () => (
-
+
PatternFly is an open source design system built to drive
consistency and unify teams. From documentation and components
to code examples and tutorials, PatternFly is a place where
design and development can thrive. We’re on a mission to help
teams build consistent, accessible, and scalable enterprise
product experiences—the open source way.
-
+
{
@@ -22,10 +22,10 @@ export const TextSummary = ({ id, itemsData }) => {
}
return (
-
-
+
+
-
-
+
+
)
};
diff --git a/packages/documentation-framework/components/sectionGallery/sectionDataListLayout.js b/packages/documentation-framework/components/sectionGallery/sectionDataListLayout.js
index 7cc2670313..39cf6267be 100644
--- a/packages/documentation-framework/components/sectionGallery/sectionDataListLayout.js
+++ b/packages/documentation-framework/components/sectionGallery/sectionDataListLayout.js
@@ -7,9 +7,8 @@ import {
DataListCell,
Split,
SplitItem,
- TextContent,
- Text,
- TextVariants,
+ Content,
+ ContentVariants,
Label,
} from '@patternfly/react-core';
import { Link } from '../link/link';
@@ -58,11 +57,11 @@ export const SectionDataListLayout = ({
-
-
+
+ {title}
-
-
+
+
{isBeta && (
diff --git a/packages/documentation-framework/components/sectionGallery/sectionGalleryToolbar.js b/packages/documentation-framework/components/sectionGallery/sectionGalleryToolbar.js
index 4a39cc3673..32d7aa1fab 100644
--- a/packages/documentation-framework/components/sectionGallery/sectionGalleryToolbar.js
+++ b/packages/documentation-framework/components/sectionGallery/sectionGalleryToolbar.js
@@ -6,8 +6,8 @@ import {
ToolbarContent,
ToolbarGroup,
ToolbarItem,
- Text,
- TextVariants,
+ Content,
+ ContentVariants,
ToggleGroup,
ToggleGroupItem,
} from '@patternfly/react-core';
@@ -63,10 +63,10 @@ export const SectionGalleryToolbar = ({
spacer={{ default: 'spacerMd', md: 'spacerNone' }}
style={{ '--pf-v6-c-toolbar__item--MinWidth': 'max-content' }}
>
-
+
{galleryItems.length}
{countText}
-
+
diff --git a/packages/documentation-framework/templates/mdx.js b/packages/documentation-framework/templates/mdx.js
index afb50d4a53..4f27c3c4d7 100644
--- a/packages/documentation-framework/templates/mdx.js
+++ b/packages/documentation-framework/templates/mdx.js
@@ -1,7 +1,6 @@
import React from 'react';
-import { PageSection, Title, Tooltip, PageSectionVariants, Button, BackToTop, Flex, FlexItem, PageGroup, Page, Text, TextContent, Label, Stack, StackItem } from '@patternfly/react-core';
+import { PageSection, Title, Tooltip, PageSectionVariants, Button, BackToTop, Flex, FlexItem, PageGroup, Content, Label, Stack, StackItem } from '@patternfly/react-core';
import { css } from '@patternfly/react-styles';
-import ExternalLinkAltIcon from '@patternfly/react-icons/dist/esm/icons/external-link-alt-icon';
import { Router, useLocation } from '@reach/router';
import { CSSVariables, PropsTable, TableOfContents, Link, AutoLinkHeader, InlineAlert } from '../components';
import { capitalize, getTitle, slugger, trackEvent } from '../helpers';
@@ -249,7 +248,7 @@ export const MDXTemplate = ({
variant={!isSinglePage ? PageSectionVariants.light : ""}
isWidthLimited
>
-
+
@@ -289,7 +288,7 @@ export const MDXTemplate = ({
{isComponent && summary && ()}
-
+
{ showTabs && (
diff --git a/packages/documentation-site/patternfly-docs/content/design-guidelines/components/content/content.md b/packages/documentation-site/patternfly-docs/content/design-guidelines/components/content/content.md
new file mode 100644
index 0000000000..f70d47033d
--- /dev/null
+++ b/packages/documentation-site/patternfly-docs/content/design-guidelines/components/content/content.md
@@ -0,0 +1,8 @@
+---
+id: Content
+section: components
+---
+
+## Usage
+
+Content can be used anywhere in your designs and can take on different formats. Read [PatternFly’s typography page](/design-foundations/typography) for more guidelines on how to use content in your UIs, and the different styles available.
diff --git a/packages/documentation-site/patternfly-docs/content/design-guidelines/components/text/text.md b/packages/documentation-site/patternfly-docs/content/design-guidelines/components/text/text.md
deleted file mode 100644
index 1bfbc83752..0000000000
--- a/packages/documentation-site/patternfly-docs/content/design-guidelines/components/text/text.md
+++ /dev/null
@@ -1,8 +0,0 @@
----
-id: Text
-section: components
----
-
-## Usage
-
-Text can be used anywhere in your designs and can take on different formats. Read [PatternFly’s typography page](/design-foundations/typography) for more guidelines on how to use text in your UIs, and the different styles available.
diff --git a/packages/documentation-site/patternfly-docs/content/design-guidelines/styles/colors-for-charts/colors-grid.js b/packages/documentation-site/patternfly-docs/content/design-guidelines/styles/colors-for-charts/colors-grid.js
index 7df78ad51e..c7c9067899 100644
--- a/packages/documentation-site/patternfly-docs/content/design-guidelines/styles/colors-for-charts/colors-grid.js
+++ b/packages/documentation-site/patternfly-docs/content/design-guidelines/styles/colors-for-charts/colors-grid.js
@@ -1,5 +1,5 @@
import React from 'react';
-import { Grid, GridItem, Flex, FlexItem, Text } from '@patternfly/react-core';
+import { Grid, GridItem, Flex, FlexItem, Content } from '@patternfly/react-core';
import '@patternfly/patternfly/patternfly-charts.css';
const colorFamilies = [
@@ -41,7 +41,7 @@ const ColorFamily = ({color, computedStyles}) => {
return (
- {color} family
+ {color} family
{entries}
diff --git a/packages/documentation-site/patternfly-docs/content/get-started/release-notes-data.js b/packages/documentation-site/patternfly-docs/content/get-started/release-notes-data.js
index 5805db6340..b64270f92d 100644
--- a/packages/documentation-site/patternfly-docs/content/get-started/release-notes-data.js
+++ b/packages/documentation-site/patternfly-docs/content/get-started/release-notes-data.js
@@ -1,5 +1,5 @@
import React from "react";
-import { CodeBlock, CodeBlockCode, TextContent, Text, TextList, TextListItem, TextVariants } from '@patternfly/react-core';
+import { CodeBlock, CodeBlockCode, Content, ContentVariants } from '@patternfly/react-core';
import {
Table,
Tbody,
@@ -40,33 +40,33 @@ export const releaseNotes = [
description: "Deprecated various properties.",
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/9092",
details: (
-
- Deprecated the following properties:
-
- isSelectableRaised
- isDisabledRaised
- hasSelectableInput
- selectableInputAriaLabel
- selectableInputAriaLabel
-
-
+
+ Deprecated the following properties:
+
+ isSelectableRaised
+ isDisabledRaised
+ hasSelectableInput
+ selectableInputAriaLabel
+ selectableInputAriaLabel
+
+
We recommend using our new implementation of clickable and selectable cards instead. Codemods will raise a warning, but can provide fixes when using the `isSelectableRaised` or `isDisabledRaised` properties.
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -77,21 +77,21 @@ export const releaseNotes = [
repo: "React",
fixedWithCodeMod: true,
details:(
-
- Codemods will make the following updates:
- Example in
+
+ Codemods will make the following updates:
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
)
}, {
component: "Card",
@@ -100,9 +100,9 @@ export const releaseNotes = [
repo: "React",
fixedWithCodeMod: true,
details:(
-
- Codemods will make the following updates:
- Example in
+
+ Codemods will make the following updates:
+ Example in
{` handler(id)} />
@@ -112,7 +112,7 @@ function handler2(id) {};
`}
- Example out
+ Example out
{` handler(id)} />
@@ -122,7 +122,7 @@ function handler2(_event, id) {};
`}
-
+
)
}, {
component: "Card",
@@ -137,9 +137,9 @@ function handler2(_event, id) {};
repo: "React",
fixedWithCodeMod: true,
details: (
-
- Codemods will make the following updates:
- Example in
+
+ Codemods will make the following updates:
+ Example in
{`
@@ -148,7 +148,7 @@ function handler2(_event, id) {};
`}
- Example out
+ Example out
{`>, hasNoOffset: true, className: "test"}} >
@@ -157,7 +157,7 @@ function handler2(_event, id) {};
`}
-
+
)
}, {
component: "Sidebar",
@@ -496,20 +496,20 @@ function handler2(_event, id) {};
description: (<>Replaced the isVertical flag with the orientation property that can define verticality on different breakpoints.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8199",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -519,8 +519,8 @@ function handler2(_event, id) {};
description: (<>The onResize property in DrawerPanelContent to take the event as its first parameter. Handlers may require an update.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8736",
details: (
-
- Example in
+
+ Example in
{` onChange(checked)} />
@@ -532,7 +532,7 @@ function handler2(_event, id) {};
`}
- Example out
+ Example out
{` onChange(checked)} />
@@ -544,7 +544,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -554,42 +554,42 @@ function handler2(_event, id) {};
description: (<>Deprecated the current implementation of dropdown.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8835",
details: (
-
- In order to continue using this deprecated implementation, the import path must be updated to our deprecated package and specifiers must be aliased. However, we suggest updating to our newer implementation of dropdown.
+
+ In order to continue using this deprecated implementation, the import path must be updated to our deprecated package and specifiers must be aliased. However, we suggest updating to our newer implementation of dropdown.
The following imports will be affected by this deprecation:
-
-
- BadgeToggle
- Dropdown
- DropdownPosition
- DropdownDirection
- DropdownContext
- DropdownArrowContext
- DropdownGroup
- DropdownItem
- DropdownMenu
- DropdownSeparator
- DropdownToggle
- DropdownToggleAction
- DropdownToggleCheckbox
- DropdownWithContext
- KebabToggle
-
- Example in
+
+
+ BadgeToggle
+ Dropdown
+ DropdownPosition
+ DropdownDirection
+ DropdownContext
+ DropdownArrowContext
+ DropdownGroup
+ DropdownItem
+ DropdownMenu
+ DropdownSeparator
+ DropdownToggle
+ DropdownToggleAction
+ DropdownToggleCheckbox
+ DropdownWithContext
+ KebabToggle
+
+ Example in
{`import { Dropdown, DropdownPosition, Button } from '@patternfly/react-core';`}
- Example out
+ Example out
{`import { Button } from '@patternfly/react-core';
import { Dropdown, DropdownPosition } from '@patternfly/react-core/deprecated';`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -599,20 +599,20 @@ function handler2(_event, id) {};
description: (<>Removed the isHovered property from DropdownItem.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8179",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -622,20 +622,20 @@ function handler2(_event, id) {};
description: (<>Removed the openedOnEnter property from DropdownMenu.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8179",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -646,20 +646,20 @@ function handler2(_event, id) {};
description: (<>Replaced the deprecated isPrimary property "primary" value on the toggleVariant property from DropdownToggle>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8179",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -669,8 +669,8 @@ function handler2(_event, id) {};
description: (<>Updated onChange property from DropdownToggleCheckbox so that the event parameter is included as the first parameter. Handlers may need to be updated.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8787",
details: (
-
- Example in
+
+ Example in
{` handler(id)} />
@@ -679,7 +679,7 @@ function handler2(_event, id) {};
`}
- Example out
+ Example out
{` handler(id)} />
@@ -688,7 +688,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -698,8 +698,8 @@ function handler2(_event, id) {};
description: (<>The onAvailableOptionsSearchInputChanged, onChosenOptionsSearchInputChanged and onListChange properties now take event as the first parameter. Handlers may need to be updated.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8793",
details: (
-
- Example in
+
+ Example in
{` handler(id)} />
@@ -723,7 +723,7 @@ function handler2(_event, id) {};
`}
- Example out
+ Example out
{` handler(id)} />
@@ -747,7 +747,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -757,8 +757,8 @@ function handler2(_event, id) {};
description: (<>Updated the onSelect and clearSelection properties on EditableSelectInputCell to take event as the first parameter. Handlers may need to be updated.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/9057",
details: (
-
- Example in
+
+ Example in
{` onSelectHandler(value)} clearSelection={(row, cell) => clearSelectionHandler(row, cell)} />
@@ -771,7 +771,7 @@ function handler2(_event, id) {};
`}
- Example out
+ Example out
{` onSelectHandler(value)} clearSelection={(_event, row, cell) => clearSelectionHandler(row, cell)} />
@@ -784,7 +784,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -794,8 +794,8 @@ function handler2(_event, id) {};
description: (<>Replaced the EmptyStatePrimary and EmptyStateSecondaryActions components with EmptyStateActions.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8737",
details: (
-
- Example in
+
+ Example in
{`import { EmptyStatePrimary as Primary, EmptyStateSecondaryActions } from '@patternfly/react-core';
@@ -805,7 +805,7 @@ function handler2(_event, id) {};
>`}
- Example out
+ Example out
{`import { EmptyStateActions } from '@patternfly/react-core';
@@ -815,7 +815,7 @@ function handler2(_event, id) {};
>`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -828,8 +828,8 @@ function handler2(_event, id) {};
Added the EmptyStateFooter component. It should wrap the content which follows after EmptyStateBody inside EmptyState.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8737",
details: (
-
- Example in
+
+ Example in
{` import { EmptyState, EmptyStateActions, EmptyStateBody, EmptyStateIcon, Title } from '@patternfly/react-core';
@@ -851,7 +851,7 @@ function handler2(_event, id) {};
`}
- Example out
+ Example out
{`import { EmptyState, EmptyStateActions, EmptyStateBody, EmptyStateIcon, EmptyStateHeader, EmptyStateFooter, } from '@patternfly/react-core';
@@ -870,7 +870,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -887,22 +887,22 @@ function handler2(_event, id) {};
description: (<>Removed the variant property from EmtpyStateIcon. Replaced the component property with the icon property.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8737",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -912,8 +912,8 @@ function handler2(_event, id) {};
description: (<>Renamed the EmptyStateVariant enum and property values "small" to "sm" and "large" to "lg".>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8737",
details: (
-
- Example in
+
+ Example in
{`const myVariant = EmptyStateVariant.small;
@@ -922,7 +922,7 @@ function handler2(_event, id) {};
`}
- Example out
+ Example out
{`const myVariant = EmptyStateVariant.sm;
@@ -931,7 +931,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -941,20 +941,20 @@ function handler2(_event, id) {};
description: (<>Renamed the large property value of displaySize to lg.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8212",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -964,8 +964,8 @@ function handler2(_event, id) {};
description: (<>Updated the onToggle property so that the event parameter is the first parameter. Handlers may require an update.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8880",
details: (
-
- Example in
+
+ Example in
{` handler(id)} />
@@ -975,7 +975,7 @@ function handler2(_event, id) {};
`}
- Example out
+ Example out
{` handler(id)} />
@@ -985,7 +985,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -995,8 +995,8 @@ function handler2(_event, id) {};
description: (<>Updated the onTextChange property for FileUploadField and FileUpload so that the event parameter is the first parameter. Handlers may require an update.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8955",
details: (
-
- Example in
+
+ Example in
{` textHandler(text)} />
@@ -1011,7 +1011,7 @@ function handler2(_event, id) {};
`}
- Example out
+ Example out
{` textHandler(text)} />
@@ -1026,7 +1026,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1036,8 +1036,8 @@ function handler2(_event, id) {};
description: (<>Updated the onDataChange, onReadFailed, onReadFinished, and onReadStarted properties so that the event parameter is the first parameter. Handlers may require an update.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8960",
details: (
-
- Example in
+
+ Example in
{`;`}
- Example out
+ Example out
{`;`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1113,20 +1113,20 @@ function handler2(_event, id) {};
description: (<>Removed the deprecated onChange property. This rule will remove the property and suggest replacing it with the onFileInputChange, onTextChange, onDataChange, and onClearClick properties as needed.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8155",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{` `}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1136,14 +1136,14 @@ function handler2(_event, id) {};
description: (<>Some properties have been removed from a few form control components.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/9132",
details: (
-
- Affected components - properties:
-
- FormSelect - isIconSprite
- TextArea - isIconSprite, isReadOnly
- TextInput - isIconSprite, isReadOnly, iconVariant, customIconUrl, customIconDimensions
-
- Example in
+
+ Affected components - properties:
+
+ FormSelect - isIconSprite
+ TextArea - isIconSprite, isReadOnly
+ TextInput - isIconSprite, isReadOnly, iconVariant, customIconUrl, customIconDimensions
+
+ Example in
{`
@@ -1154,7 +1154,7 @@ function handler2(_event, id) {};
- Example out
+ Example out
{`
@@ -1165,7 +1165,7 @@ function handler2(_event, id) {};
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1175,24 +1175,24 @@ function handler2(_event, id) {};
description: (<>Changed the markup for several form control components. Selectors may need to be updated.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/9132",
details: (
-
- Affected components:
-
- FormSelect
- TextArea
- TextInput
- TimePicker
- ClipboardCopy
- DatePicker
- FileUpload
- LoginPage
- NumberInput
- SearchInput
- Slider - only when the isInputVisible property is passed in
- TreeViewSearch
- Select - only the deprecated implementation with the hasInlineFilter property passed in
-
-
+
+ Affected components:
+
+ FormSelect
+ TextArea
+ TextInput
+ TimePicker
+ ClipboardCopy
+ DatePicker
+ FileUpload
+ LoginPage
+ NumberInput
+ SearchInput
+ Slider - only when the isInputVisible property is passed in
+ TreeViewSearch
+ Select - only the deprecated implementation with the hasInlineFilter property passed in
+
+
),
repo: "React",
fixedWithCodeMod: false
@@ -1202,8 +1202,8 @@ function handler2(_event, id) {};
description: (<>Removed the helper text related properties from FormGroup: helperText, helperTextInvalid, validated, helperTextIcon, helperTextInvalidIcon, and isHelperTextBeforeField. The FormHelperText, HelperText, and HelperTextItem components should now be used directly as part of children instead of these properties. This rule will throw an error but not make any changes.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8810",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{`
@@ -1243,7 +1243,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: false
@@ -1253,20 +1253,20 @@ function handler2(_event, id) {};
description: (<>Removed functionality from FormHelperText, which will instead be covered by HelperText and HelperTextItem. This rule will remove the isError, isHidden, icon, and component properties if present. The HelperText and HelperTextItem components should now be used directly as part of children instead of these properties.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8810",
details: (
-
- Example in
+
+ Example in
{`} component="div" />`}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1276,8 +1276,8 @@ function handler2(_event, id) {};
description: (<>Updated the onChange property so that the event parameter is the first parameter. Handlers may require an update.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8998",
details: (
-
- Example in
+
+ Example in
{` handler(id)} />
@@ -1288,7 +1288,7 @@ function handler2(_event, id) {};
`}
- Example out
+ Example out
{` handler(id)} />
@@ -1299,7 +1299,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1309,20 +1309,20 @@ function handler2(_event, id) {};
description: (<>Renamed the hasCheck property for the next implementation of SelectOption to hasCheckbox.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8403",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1332,20 +1332,20 @@ function handler2(_event, id) {};
description: (<>Renamed the hasCheck property on MenuItem to hasCheckbox.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8403",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1355,20 +1355,20 @@ function handler2(_event, id) {};
description: (<>Renamed the hasCheck property to hasCheckbox.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8403",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1385,8 +1385,8 @@ function handler2(_event, id) {};
description: (<>pull request #9176 affects this as well as #9074. Added the InputGroupItem component, which must wrap all non-InputGroupText children passed to an InputGroup. The InputGroupItem component may need to have the isFill, isBox, and/or isPlain properties adjusted to retain styling.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/9074",
details: (
-
- Example in
+
+ Example in
{`
@@ -1399,7 +1399,7 @@ function handler2(_event, id) {};
`}
- Example out
+ Example out
{`
@@ -1412,7 +1412,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1422,20 +1422,20 @@ function handler2(_event, id) {};
description: (<>Removed the variant property on InputGroupText.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/9147",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1450,20 +1450,20 @@ function handler2(_event, id) {};
description: (<>Renamed the AccordionExpandedContentBody component to AccordionExpandableContentBody.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8525",
details: (
-
- Example in
+
+ Example in
{`Body`}
- Example out
+ Example out
{`Body`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1472,20 +1472,20 @@ function handler2(_event, id) {};
description: (<>Renamed the large property value of the displaySize property to lg.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8206",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1494,21 +1494,21 @@ function handler2(_event, id) {};
description: (<>Removed the aria-label property.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8649",
details: (
-
- The aria-label property should not be used on an Alert as it is not well supported by assistive technologies.
- Example in
+
+ The aria-label property should not be used on an Alert as it is not well supported by assistive technologies.
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1517,20 +1517,20 @@ function handler2(_event, id) {};
description: (<>Replaced the titleHeadingLevel property with component.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8518",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1539,21 +1539,21 @@ function handler2(_event, id) {};
description: (<>Deprecated the ApplicationLauncher components.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8836",
details: (
-
- Codemods will update import and export paths to our deprecated directory, but we recommend replacing it with our new Dropdown or Select implementation.
- Example in
+
+ Codemods will update import and export paths to our deprecated directory, but we recommend replacing it with our new Dropdown or Select implementation.
+ Example in
{`import { ApplicationLauncher } from '@patternfly/react-core';`}
- Example out
+ Example out
{`import { ApplicationLauncher } from '@patternfly/react-core/deprecated';`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1562,9 +1562,9 @@ function handler2(_event, id) {};
description: (<>Updated callback properties to include the event parameter as the first parameter.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8756",
details: (
-
- The onFavorite and onSearch propertiesnow take event as the first parameter. Handlers may need to be updated.
- Example in
+
+ The onFavorite and onSearch propertiesnow take event as the first parameter. Handlers may need to be updated.
+ Example in
{` handler(id)} onSearch={(text) => searchHandler(text)}/>
@@ -1576,7 +1576,7 @@ function searchHandler2(text) {};
`}
- Example out
+ Example out
{` handler(id)} onSearch={(_event, text) => searchHandler(text)}/>
@@ -1588,7 +1588,7 @@ function searchHandler2(_event, text) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1603,9 +1603,9 @@ function searchHandler2(_event, text) {};
description: (<>Removed the filter property and updated the src property.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8931",
details: (
-
- The filter was removed. The src property's type was updated to just a string and will no longer accept a BackgroundImageSrcMap object. Codemods will not update the src properety, but will raise an error if its value is not a string.
- Example in
+
+ The filter was removed. The src property's type was updated to just a string and will no longer accept a BackgroundImageSrcMap object. Codemods will not update the src properety, but will raise an error if its value is not a string.
+ Example in
{`} src={{xs: 'file/path'}} />
@@ -1614,7 +1614,7 @@ const srcPath = {xs: 'file/path'};
`}
- Example out
+ Example out
{`// An error is raised for the src prop
@@ -1625,7 +1625,7 @@ const srcPath = {xs: 'file/path'};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1634,20 +1634,20 @@ const srcPath = {xs: 'file/path'};
description: (<>Removed the BackgroundImageSrcMap interface.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8931",
details: (
-
- Example in
+
+ Example in
{`const backgroundImgSrcObj: BackgroundImageSrcMap = {};`}
- Example out
+ Example out
{`const backgroundImgSrcObj = {};`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1656,27 +1656,27 @@ const srcPath = {xs: 'file/path'};
description: (<>Updated the variant property's type.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8808",
details: (
-
- The default value is still valid, but the following values have been replaced with color values:
-
- info to blue
- danger to red
- success to green
- warning to gold
-
- Example in
+
+ The default value is still valid, but the following values have been replaced with color values:
+
+ info to blue
+ danger to red
+ success to green
+ warning to gold
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1685,23 +1685,23 @@ const srcPath = {xs: 'file/path'};
description: (<>Replaced the isSmall and isLarge properties with the size property.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8144",
details: (
-
- The size property accepts either sm or lg as a value.
- Example in
+
+ The size property accepts either sm or lg as a value.
+ Example in
{`
`}
- Example out
+ Example out
{`
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1710,23 +1710,23 @@ const srcPath = {xs: 'file/path'};
description: (<>Replaced the isSmall and isLarge properties with the size property.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8144",
details: (
-
- The size property accepts either sm or lg as a value.
- Example in
+
+ The size property accepts either sm or lg as a value.
+ Example in
{`
`}
- Example out
+ Example out
{`
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1735,9 +1735,9 @@ const srcPath = {xs: 'file/path'};
description: (<>Updated callback properties to include the event parameter as the first parameter.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8753",
details: (
-
- Updated the onChange and onMonthChange properties to take event as the first parameter. Handlers may need to be updated.
- Example in
+
+ Updated the onChange and onMonthChange properties to take event as the first parameter. Handlers may need to be updated.
+ Example in
{` handler(date)} onMonthChange={(newDate) => handler(newDate)} />
@@ -1750,7 +1750,7 @@ function handler2(newDate, event) {};
`}
- Example out
+ Example out
{` handler(date)} onMonthChange={(_event, newDate) => handler(newDate)} />
@@ -1763,7 +1763,7 @@ function handler2(_event, newDate) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1772,21 +1772,21 @@ function handler2(_event, newDate) {};
description: (<>Removed the getResizeObserver function from @patternfly/react-charts.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8533",
details: (
-
- The @patternfly/react-core implementation should be used instead, which accepts a third parameter, useRequestAnimationFrame.
- Example in
+
+ The @patternfly/react-core implementation should be used instead, which accepts a third parameter, useRequestAnimationFrame.
+ Example in
{`import { getResizeObserver } from "@patternfly/react-charts";`}
- Example out
+ Example out
{`import { getResizeObserver } from "@patternfly/react-core";`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1801,20 +1801,20 @@ function handler2(_event, newDate) {};
description: (<>Removed ChartThemeVariant from @patternfly/react-charts.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8590",
details: (
-
- Example in
+
+ Example in
{`import { Chart, ChartThemeVariant } from '@patternfly/react-charts';`}
- Example out
+ Example out
{`import { Chart } from '@patternfly/react-charts';`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1823,21 +1823,21 @@ function handler2(_event, newDate) {};
description: (<>Removed dark theme objects from @patternfly/react-charts.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8590",
details: (
-
- Example in
+
+ Example in
{`import { DarkBlueColorTheme, DarkCyanColorTheme, DarkGoldColorTheme, DarkGrayColorTheme, DarkGreenColorTheme, DarkMultiColorOrderedTheme, DarkMultiColorUnorderedTheme,
DarkOrangeColorTheme, DarkPurpleColorTheme, ChartLegend } from '@patternfly/react-charts';`}
- Example out
+ Example out
{`import { ChartLegend } from '@patternfly/react-charts';`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1846,8 +1846,8 @@ DarkOrangeColorTheme, DarkPurpleColorTheme, ChartLegend } from '@patternfly/reac
description: (<>Removed themeVariant properties from all components and the getCustomTheme function in @patternfly/react-charts.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8590",
details: (
-
- Example in
+
+ Example in
{`import { Chart, ChartThemeColor, getCustomTheme } from '@patternfly/react-charts';
@@ -1860,7 +1860,7 @@ return (
);`}
- Example out
+ Example out
{`import { Chart, ChartThemeColor, getCustomTheme } from '@patternfly/react-charts';
@@ -1873,7 +1873,7 @@ return (
);`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1882,37 +1882,37 @@ return (
description: (<>Removed various exports from @patternfly/react-charts.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8869",
details: (
-
- The following are no longer exported:
-
- ChartAreaSortOrder
- ChartDonutLabelPosition
- ChartDonutSortOrder
- ChartDonutThresholdSortOrder
- ChartDonutUtilizationLabelPosition
- ChartDonutUtilizationSortOrder
- ChartGroupSortOrder
- ChartLabelPlacement
- ChartLegendOrientation
- ChartLegendRowGutter
- ChartLineSortOrder
- ChartPieLabelPosition
- ChartPieSortOrder
- ChartScatterSortOrder
- ChartDonutThresholdDonutOrientation
- ChartDonutThresholdLabelOrientation
- ChartDonutThresholdLabelPosition
- ChartLegendPosition
- ChartDonutSubTitlePosition
- ChartDonutThresholdSubTitlePosition
- ChartDonutUtilizationLegendOrientation
- ChartDonutUtilizationLegendPosition
- ChartDonutUtilizationSubTitlePosition
- ChartLabelDirection
- ChartPieLegendPosition
- ChartVoronoiDimension
-
-
+
+ The following are no longer exported:
+
+ ChartAreaSortOrder
+ ChartDonutLabelPosition
+ ChartDonutSortOrder
+ ChartDonutThresholdSortOrder
+ ChartDonutUtilizationLabelPosition
+ ChartDonutUtilizationSortOrder
+ ChartGroupSortOrder
+ ChartLabelPlacement
+ ChartLegendOrientation
+ ChartLegendRowGutter
+ ChartLineSortOrder
+ ChartPieLabelPosition
+ ChartPieSortOrder
+ ChartScatterSortOrder
+ ChartDonutThresholdDonutOrientation
+ ChartDonutThresholdLabelOrientation
+ ChartDonutThresholdLabelPosition
+ ChartLegendPosition
+ ChartDonutSubTitlePosition
+ ChartDonutThresholdSubTitlePosition
+ ChartDonutUtilizationLegendOrientation
+ ChartDonutUtilizationLegendPosition
+ ChartDonutUtilizationSubTitlePosition
+ ChartLabelDirection
+ ChartPieLegendPosition
+ ChartVoronoiDimension
+
+
),
repo: "React",
fixedWithCodeMod: false
@@ -1927,8 +1927,8 @@ return (
description: (<>Updated onChange property so that the event parameter is the first parameter.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8750",
details: (
-
- Example in
+
+ Example in
{` handler(id)} />
@@ -1939,7 +1939,7 @@ function handler2(id, event) {};
`}
- Example out
+ Example out
{` handler(id)} />
@@ -1950,7 +1950,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1959,8 +1959,8 @@ function handler2(_event, id) {};
description: (<>Updated onChange property so that the event parameter is the first parameter.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8747",
details: (
-
- Example in
+
+ Example in
{` handleChange(text)} />
@@ -1970,7 +1970,7 @@ function handleChange2(text) {};
`}
- Example out
+ Example out
{` handleChange(text)} />
@@ -1980,7 +1980,7 @@ function handleChange2(_event, text) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -1989,22 +1989,22 @@ function handleChange2(_event, text) {};
description: (<>Removed the PopoverPosition type for the position property.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8226",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -2013,20 +2013,20 @@ function handleChange2(_event, text) {};
description: (<>Removed the switchDelay property.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8619",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -2035,28 +2035,28 @@ function handleChange2(_event, text) {};
description: (<>Removed various deprecated properties from CodeEditorControl. Codemods will suggest using the tooltipProps property instead.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8624",
details: (
-
- The following deprecated properties were removed:
-
- entryDelay
- exitDelay
- maxWidth
- position
- toolTipText
-
- Example in
+
+ The following deprecated properties were removed:
+
+ entryDelay
+ exitDelay
+ maxWidth
+ position
+ toolTipText
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -2089,21 +2089,21 @@ function handleChange2(_event, text) {};
description: (<>Deprecated the ContextSelector components.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8840",
details: (
-
- Codemods will update import and export paths to our deprecated directory, but we recommend replacing it with our new Dropdown or Select implementation.:
- Example in
+
+ Codemods will update import and export paths to our deprecated directory, but we recommend replacing it with our new Dropdown or Select implementation.:
+ Example in
{`import { ContextSelector, ContextSelectorItem } from '@patternfly/react-core';`}
- Example out
+ Example out
{`import { ContextSelector, ContextSelectorItem } from '@patternfly/react-core/deprecated';`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -2112,8 +2112,8 @@ function handleChange2(_event, text) {};
description: (<>Replaced the selectableRow property with onSelectableRowChange, which also takes the event parameter as its first parameter.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8827",
details: (
-
- Example in
+
+ Example in
{`
- Example out
+ Example out
{` handler(id)} />
@@ -2135,7 +2135,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -2144,29 +2144,29 @@ function handler2(_event, id) {};
description: (<>Removed various deprecated properties.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8388",
details: (
-
- The following deprecated properties were removed:
-
- onDragFinish
- onDragStart
- onDragMove
- onDragCancel
- itemOrder
-
- In addition to removing these properties, Codemods will suggest instead using the DragDrop component.
- Example in
+
+ The following deprecated properties were removed:
+
+ onDragFinish
+ onDragStart
+ onDragMove
+ onDragCancel
+ itemOrder
+
+ In addition to removing these properties, Codemods will suggest instead using the DragDrop component.
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -2175,8 +2175,8 @@ function handler2(_event, id) {};
description: (<>Updated the onSelectDataListItem property to include the event parameter as the first parameter.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8756",
details: (
-
- Example in
+
+ Example in
{` onSelect(id)} />
@@ -2188,7 +2188,7 @@ function toggle2(id) {};
`}
- Example out
+ Example out
{` onSelect(id)} />
@@ -2200,7 +2200,7 @@ function toggle2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -2209,8 +2209,8 @@ function toggle2(_event, id) {};
description: (<>Updated the onChange property for the DataListCheck component to include the event parameter as the first parameter.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8756",
details: (
-
- Example in
+
+ Example in
{` onChange(checked)} />
@@ -2222,7 +2222,7 @@ function onChange2(checked) {};
`}
- Example out
+ Example out
{` onChange(checked)} />
@@ -2234,7 +2234,7 @@ function onChange2(_event, checked) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -2273,16 +2273,16 @@ function onChange2(_event, checked) {};
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8771",
details: (
-
- Example in
+
+ Example in{``}
- Example out
+ Example out{``}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -2297,15 +2297,15 @@ function onChange2(_event, checked) {};
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8996",
details: (
-
-
+
+
The onChangeUsername,{" "}
onChangePassword, and{" "}
onChangeRememberMe properties now take{" "}
event as the first parameter. Handlers
may require an update.
-
- Example in
+
+ Example in
{` handler(id)} />
@@ -2330,7 +2330,7 @@ function rememberMeHandler2(id, event) {};
`}
- Example out
+ Example out{` handler(id)} />
handler(id, event)} />
@@ -2353,7 +2353,7 @@ const rememberMeHandler1 = (_event, id) => {};
function rememberMeHandler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -2371,8 +2371,8 @@ function rememberMeHandler2(_event, id) {};
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8931",
details: (
-
- Example in
+
+ Example in
{`
@@ -2381,7 +2381,7 @@ const srcPath = {xs: 'file/path'};
`}
- Example out
+ Example out{`// An error is raised for the backgroundImgSrc prop
@@ -2390,7 +2390,7 @@ const srcPath = {xs: 'file/path'};
// An error is raised for the backgroundImgSrc prop
`}
-
+
),
repo: "React",
fixedWithCodeMod: false,
@@ -2407,22 +2407,22 @@ const srcPath = {xs: 'file/path'};
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8655",
details: (
-
-
+
+
Explicitly declared component properties will remain unchanged, but if
it is not specified a default will be added.
-
- Example in
+
+ Example in{``}
- Example out
+ Example out{``}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -2437,14 +2437,14 @@ const srcPath = {xs: 'file/path'};
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8649",
details: (
-
-
+
+
If you are also using MenuGroup with a{" "}
label property passed to it, an{" "}
aria-label on MenuList is not
necessary.
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -2514,21 +2514,21 @@ const srcPath = {xs: 'file/path'};
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8820",
details: (
-
- Example in
+
+ Example in
{`
`}
- Example out
+ Example out
{` `}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -2556,8 +2556,8 @@ const srcPath = {xs: 'file/path'};
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8931",
details: (
-
- Example in
+
+ Example in
{` handler(id)} />
@@ -2567,7 +2567,7 @@ function handler2(id) {};
`}
- Example out
+ Example out
{` handler(id)} />
@@ -2577,7 +2577,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -2597,8 +2597,8 @@ function handler2(_event, id) {};
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8997",
details: (
-
- Example in
+
+ Example in
{` handler(id)} />
@@ -2614,7 +2614,7 @@ function toggleHandler2(id) {};
`}
- Example out
+ Example out{` handler(id)} />
const handler1 = (_event, id) => {};
@@ -2628,7 +2628,7 @@ const toggleHandler1 = (_event, id) => {};
function toggleHandler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -2650,23 +2650,23 @@ function toggleHandler2(_event, id) {};
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8835",
details: (
-
-
+
+
This rule will update import and/or export paths.
-
- Example in
+
+ Example in
{`import { Dropdown } from '@patternfly/react-core/next';`}
- Example out
+ Example out
{`import { Dropdown /* data- Codemods */ } from '@patternfly/react-core';`}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -2681,23 +2681,23 @@ function toggleHandler2(_event, id) {};
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8825",
details: (
-
-
+
+
This rule will update import and/or export paths.
-
- Example in
+
+ Example in
{`import { Select } from '@patternfly/react-core/next';`}
- Example out
+ Example out
{`import { Select /* data- Codemods */ } from '@patternfly/react-core';`}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -2712,23 +2712,23 @@ function toggleHandler2(_event, id) {};
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8821",
details: (
-
-
+
+
This rule will update import and/or export paths.
-
- Example in
+
+ Example in
{`import { Wizard } from '@patternfly/react-core/next';`}
- Example out
+ Example out
{`import { Wizard /* data- Codemods */ } from '@patternfly/react-core';`}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -2744,8 +2744,8 @@ function toggleHandler2(_event, id) {};
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8626",
details: (
-
- Example in
+
+ Example in
{`
@@ -2754,7 +2754,7 @@ function toggleHandler2(_event, id) {};
`}
- Example out
+ Example out
{`
@@ -2763,7 +2763,7 @@ function toggleHandler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -2778,16 +2778,16 @@ function toggleHandler2(_event, id) {};
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8715",
details: (
-
- Example in
+
+ Example in{``}
- Example out
+ Example out{``}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -2811,8 +2811,8 @@ function toggleHandler2(_event, id) {};
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8667",
details: (
-
- Example in
+
+ Example in
{` onToggle(isOpen)} />
@@ -2824,7 +2824,7 @@ function toggleDropdown(isOpen) {};
`}
- Example out
+ Example out
{` onToggle(isOpen)} />
@@ -2836,7 +2836,7 @@ function toggleDropdown(_event, isOpen) {};
>`}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -2850,20 +2850,20 @@ function toggleDropdown(_event, isOpen) {};
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8798",
details: (
-
- Example in
+
+ Example in
{`import { OptionsMenu, OptionsMenuToggle } from '@patternfly/react-core';`}
- Example out
+ Example out
{`import { OptionsMenu, OptionsMenuToggle } from '@patternfly/react-core/deprecated';`}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -2891,20 +2891,20 @@ function toggleDropdown(_event, isOpen) {};
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8359",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -2945,22 +2945,22 @@ function toggleDropdown(_event, isOpen) {};
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8942",
details: (
-
- Example in
+
+ Example in
{` {}} />`}
- Example out
+ Example out
{` {}} />`}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -2976,8 +2976,8 @@ function toggleDropdown(_event, isOpen) {};
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/9011",
details: (
-
- Example in
+
+ Example in
{` onChange({obj})} />
@@ -2989,7 +2989,7 @@ function toggleDropdown(_event, isOpen) {};
`}
- Example out
+ Example out
{` onChange({obj})} />
@@ -3001,7 +3001,7 @@ function toggleDropdown(_event, isOpen) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -3015,13 +3015,13 @@ function toggleDropdown(_event, isOpen) {};
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8854",
details: (
-
-
+
+
Codemods will update import and export paths to our deprecated
directory, but we recommend replacing it with{" "}
Masthead and its related imports.
-
- Example in
+
+ Example in
{`import { Button,
@@ -3032,7 +3032,7 @@ function toggleDropdown(_event, isOpen) {};
} from "@patternfly/react-core";`}
- Example out
+ Example out
{`import {
@@ -3046,7 +3046,7 @@ import {
} from '@patternfly/react-core/deprecated';`}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -3061,22 +3061,22 @@ import {
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8655",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -3092,14 +3092,14 @@ import {
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8942",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{`
@@ -3109,7 +3109,7 @@ import {
`}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -3138,51 +3138,51 @@ import {
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8624",
details: (
-
-
+
+
The following deprecated properties were renamed and/or removed:
-
-
-
+
+
+ defaultToFullPage:{" "}
isLastFullPageShown
-
-
+
+ perPageComponenet: removed
-
-
+
+
The following sub-properties of Pagination's "title" property were renamed:
-
+ currPage:{" "}
currPageAriaLabel
-
-
+
+ paginationTitle:{" "}
paginationAriaLabel
-
-
+
+ toFirstPage:{" "}
toFirstPageAriaLabel
-
-
+
+ toLastPage:{" "}
toLastPageAriaLabel
-
-
+
+ toNextPage:{" "}
toNextPageAriaLabel
-
-
+
+ toPreviousPage:{" "}
toPreviousPageAriaLabel
-
-
+
+ optionsToggle:{" "}
optionsToggleAriaLabel
-
-
- Example in
+
+
+ Example in
{``}
- Example out
+ Example out{``}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -3230,22 +3230,22 @@ import {
),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8134",
details: (
-
- Example in
+
+ Example in
{`import { Pagination, ToggleTemplateProps } from '@patternfly/react-core';
} />`}
- Example out
+ Example out
{`import { Pagination, PaginationToggleTemplateProps } from '@patternfly/react-core';
} />`}
-
+
),
repo: "React",
fixedWithCodeMod: true,
@@ -3402,15 +3402,15 @@ import {
description: (<>Removed the boundary and tippyProps properties and updated removed parameters from various callback properties.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8201",
details: (
-
- The shouldClose property's first parameter was removed, and all parameters were removed from the onHidden, onHide, onMount, onShow, and onShown properties.
- Example in
+
+ The shouldClose property's first parameter was removed, and all parameters were removed from the onHidden, onHide, onMount, onShow, and onShown properties.
+ Example in
{` {/* ... */}} onHidden={(tip) => {/* ... */}} onHide={(tip) => {/* ... */}} onMount={(tip) => {/* ... */}} onShow={(tip) => {/* ... */}} onShown={(tip) => {/* ... */}} />`}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3444,8 +3444,8 @@ import {
description: (<>Updated the shouldClose and shouldOpen callback properties so that the event parameter is the first parameter.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/9054",
details: (
-
- Example in
+
+ Example in
{` openHandler(fn)} shouldClose={(fn2) => closeHandler(fn2)} />
@@ -3458,7 +3458,7 @@ function closeHandler2(fn, event) {};
`}
- Example out
+ Example out
{` openHandler(fn)} shouldClose={(_event, fn2) => closeHandler(fn2)} />
@@ -3471,7 +3471,7 @@ function closeHandler2(event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3480,20 +3480,20 @@ function closeHandler2(event, id) {};
description: (<>Removed the popperMatchesTriggerWidth property. The width, minWidth, and maxWidth properties should be used instead to modify the Popper width.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8724",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3502,8 +3502,8 @@ function closeHandler2(event, id) {};
description: (<>Updated the onChange callback property so that the event parameter is the first parameter.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8965",
details: (
-
- Example in
+
+ Example in
{` handler(checked)} />
@@ -3514,7 +3514,7 @@ function handler2(checked, event) {};
`}
- Example out
+ Example out
{` handler(checked)} />
@@ -3525,7 +3525,7 @@ function handler2(_event, checked) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3554,30 +3554,30 @@ function handler2(_event, checked) {};
repo: "React",
fixedWithCodeMod: false,
details: (
-
- To change the default size or color on an icon, it is recommended to wrap the icon in a Icon React component.
- If the icon used the noVerticalAlign prop in PatternFly 4, the same style can be achieved by wrapping the icon in a Icon React component and using the isInline prop.
-
+
+ To change the default size or color on an icon, it is recommended to wrap the icon in a Icon React component.
+ If the icon used the noVerticalAlign prop in PatternFly 4, the same style can be achieved by wrapping the icon in a Icon React component and using the isInline prop.
+
)
}, {
component: "Application launcher",
description: (<>Removed the removeFindDomNode property as it is now the default behavior.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8316",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3586,20 +3586,20 @@ function handler2(_event, checked) {};
description: (<>Removed the removeFindDomNode property as it is now the default behavior.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8371",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3608,20 +3608,20 @@ function handler2(_event, checked) {};
description: (<>Removed the removeFindDomNode property as it is now the default behavior.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8371",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3630,20 +3630,20 @@ function handler2(_event, checked) {};
description: (<>Removed the removeFindDomNode property as it is now the default behavior.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8316",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3652,20 +3652,20 @@ function handler2(_event, checked) {};
description: (<>Removed the removeFindDomNode property from the deprecated implementation as it is now the default behavior.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8316",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3674,20 +3674,20 @@ function handler2(_event, checked) {};
description: (<>Removed the removeFindDomNode property from the NavItem component as it is now the default behavior.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8316",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3696,20 +3696,20 @@ function handler2(_event, checked) {};
description: (<>Removed the removeFindDomNode property as it is now the default behavior.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8316",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3718,20 +3718,20 @@ function handler2(_event, checked) {};
description: (<>Removed the removeFindDomNode property as it is now the default behavior.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8316",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3740,20 +3740,20 @@ function handler2(_event, checked) {};
description: (<>Removed the removeFindDomNode property as it is now the default behavior.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8316",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3762,20 +3762,20 @@ function handler2(_event, checked) {};
description: (<>Removed the removeFindDomNode property from the deprecated implementation as it is now the default behavior.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8316",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3784,20 +3784,20 @@ function handler2(_event, checked) {};
description: (<>Removed the removeFindDomNode property from the OverflowTab component as it is now the default behavior.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8316",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3806,20 +3806,20 @@ function handler2(_event, checked) {};
description: (<>Removed the removeFindDomNode property as it is now the default behavior.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8316",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3828,20 +3828,20 @@ function handler2(_event, checked) {};
description: (<>Removed the removeFindDomNode property as it is now the default behavior.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8316",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3898,15 +3898,15 @@ function handler2(_event, checked) {};
description: (<>Deprecated the Select components and replaced them with a newer implementation.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8825",
details: (
-
- Codemods will update import and export paths to our deprecated directory, but we recommend replacing it with our new Select implementation.
- Example in
+
+ Codemods will update import and export paths to our deprecated directory, but we recommend replacing it with our new Select implementation.
+ Example in
{`import { Button, Select, SelectOption, SelectVariant, SelectDirection, SelectGroup } from "@patternfly/react-core";`}
- Example out
+ Example out
{`import {
@@ -3921,7 +3921,7 @@ import {
} from '@patternfly/react-core/deprecated';`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3930,20 +3930,20 @@ import {
description: (<>Renamed the itemId property for the new implementation of SelectOption to value.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8825",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3952,20 +3952,20 @@ import {
description: (<>Renamed the itemId property for the new implementation of DropdownItem to value.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8825",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -3980,20 +3980,20 @@ import {
description: (<>Removed the isCurrent property, which should be replaced with the isActive property.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8132",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4002,8 +4002,8 @@ import {
description: (<>Updated the onChange callback property so that the event parameter is the first parameter.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8970",
details: (
-
- Example in
+
+ Example in
{` handler(value)} />
@@ -4013,7 +4013,7 @@ function handler2(value) {};
`}
- Example out
+ Example out
{` handler(value)} />
@@ -4023,7 +4023,7 @@ function handler2(_event, value) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4032,20 +4032,20 @@ function handler2(_event, value) {};
description: (<>Removed the isSVG property as the component now uses an SVG exclusively.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8616",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4054,8 +4054,8 @@ function handler2(_event, value) {};
description: (<>Updated the onChange callback property so that the event parameter is the first parameter.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/9037",
details: (
-
- Example in
+
+ Example in
{` handler(id)} />
@@ -4066,7 +4066,7 @@ function handler2(id, event) {};
`}
- Example out
+ Example out
{` handler(id)} />
@@ -4077,7 +4077,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4086,20 +4086,20 @@ function handler2(_event, id) {};
description: (<>Renamed the isHoverable property to isClickable. Codemods will provide a fix when the property is passed to the Tr component of our composable implementation, but will otherwise only raise an error for our deprecated implementation.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/9083",
details: (
-
- Example in
+
+ Example in
{`
`}
- Example out
+ Example out
{`
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4108,9 +4108,9 @@ function handler2(_event, id) {};
description: (<>Renamed the TableComposable component to just Table.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8892",
details: (
-
- The fix provided by Codemods will insert a /* data- Codemods */ comment after the import specifier. This should only be removed once Codemods is no longer being ran as it prevents other fixes from overwriting this update.
- Example in
+
+ The fix provided by Codemods will insert a /* data- Codemods */ comment after the import specifier. This should only be removed once Codemods is no longer being ran as it prevents other fixes from overwriting this update.
+ Example in
{`import { TableComposable } from '@patternfly/react-table';
@@ -4118,7 +4118,7 @@ function handler2(_event, id) {};
`}
- Example out
+ Example out
{`import { Table /* data- Codemods */ } from '@patternfly/react-table';
@@ -4126,7 +4126,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4135,15 +4135,15 @@ function handler2(_event, id) {};
description: (<>Deprecated the Table components, which should be replaced with the composable implementation.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8892",
details: (
-
- Codemods will update import and export paths to our deprecated directory, but we recommend replacing it with our composable implementation.
- Example in
+
+ Codemods will update import and export paths to our deprecated directory, but we recommend replacing it with our composable implementation.
+ Example in
{`import { Table, TableBody, TableHeader, TableProps } from "@patternfly/react-table";`}
- Example out
+ Example out
{`import {
@@ -4154,7 +4154,7 @@ function handler2(_event, id) {};
} from '@patternfly/react-table/deprecated';`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4163,13 +4163,13 @@ function handler2(_event, id) {};
description: (<>Updated the ActionsColumn to use the new implementation of Dropdown. This applies to both the deprecated and composable implementations.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8629",
details: (
-
- The following changes were also made:
-
- The toggle passed to the ActionsColumn must be a MenuToggle component
- Removed the dropdownPosition, dropdownDirection, and menuAppendTo properties, which should be replaced with the popperProps property
-
-
+
+ The following changes were also made:
+
+ The toggle passed to the ActionsColumn must be a MenuToggle component
+ Removed the dropdownPosition, dropdownDirection, and menuAppendTo properties, which should be replaced with the popperProps property
+
+
),
repo: "React",
fixedWithCodeMod: false
@@ -4184,20 +4184,20 @@ function handler2(_event, id) {};
description: (<>Removed the deprecated hasSelectableRowCaption property from our composable implementation.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8352",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4206,8 +4206,8 @@ function handler2(_event, id) {};
description: (<>Updated the onToggle callback property so that the event parameter is the first parameter.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/9059",
details: (
-
- Example in
+
+ Example in
{` handler(id)} />
@@ -4217,7 +4217,7 @@ function handler2(id) {};
`}
- Example out
+ Example out
{` handler(id)} />
@@ -4227,7 +4227,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4236,8 +4236,8 @@ function handler2(_event, id) {};
description: (<>Renamed the hasBorderBottom property to hasNoBorderBottom.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8517",
details: (
-
- Example in
+
+ Example in
{`
@@ -4246,7 +4246,7 @@ function handler2(_event, id) {};
`}
- Example out
+ Example out
{`
@@ -4255,7 +4255,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4264,20 +4264,20 @@ function handler2(_event, id) {};
description: (<>Removed the hasSecondaryBorderBottom property.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8517",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4293,9 +4293,9 @@ function handler2(_event, id) {};
// TODO: Update to include both pull requests for this codemod
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8861",
details: (
-
- This change affects the TdSelectType interface used within the select property, and the TdActionsType interface used within the actions property.
- Example in
+
+ This change affects the TdSelectType interface used within the select property, and the TdActionsType interface used within the actions property.
+ Example in
{`let myObj = { disable: true };
@@ -4313,7 +4313,7 @@ const obj = { disable };
>;`}
- Example out
+ Example out
{`let myObj = { isDisabled: true };
@@ -4331,7 +4331,7 @@ const obj = { isDisabled };
>;`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4340,8 +4340,8 @@ const obj = { isDisabled };
description: (<>Updated the onChange callback property so that the event parameter is the first parameter.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/9061",
details: (
-
- Example in
+
+ Example in
{`
- Example out
+ Example out
{`
handler(id)} />
@@ -4363,7 +4363,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4372,8 +4372,8 @@ function handler2(_event, id) {};
description: (<>Updated the onChange callback property so that the event parameter is the first parameter.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/9061",
details: (
-
- Example in
+
+ Example in
{` handler(id)} />
@@ -4384,7 +4384,7 @@ function handler2(id, event) {};
`}
- Example out
+ Example out
{` handler(id)} />
@@ -4395,7 +4395,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4404,20 +4404,20 @@ function handler2(_event, id) {};
description: (<>Removed the deprecated isPrimary property from the deprecated Toggle component. Codemods will replace the property with a "primary" value on the toggleVariant property.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8179",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4426,8 +4426,8 @@ function handler2(_event, id) {};
description: (<>Updated the onChange callback property on the ToggleGroupItem component so that the event parameter is the first parameter.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/9067",
details: (
-
- Example in
+
+ Example in
{` handler(id)} />
@@ -4438,7 +4438,7 @@ function handler2(id, event) {};
`}
- Example out
+ Example out
{` handler(id)} />
@@ -4449,7 +4449,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4458,21 +4458,21 @@ function handler2(_event, id) {};
description: (<>Removed the deprecated visiblity property, which should be replaced with the correctly spelled visibility property.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8212",
details: (
-
- This change affects the ToolbarContent, ToolbarGroup, ToolbarItem, and ToolbarToggleGroup components.
- Example in
+
+ This change affects the ToolbarContent, ToolbarGroup, ToolbarItem, and ToolbarToggleGroup components.
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4481,9 +4481,9 @@ function handler2(_event, id) {};
description: (<>Removed the alignment property from the ToolbarContent, ToolbarGroup, and ToolbarItem components.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8563",
details: (
-
- Codemods will replace the property with align for the ToolbarItem and ToolbarGroup components.
- Example in
+
+ Codemods will replace the property with align for the ToolbarItem and ToolbarGroup components.
+ Example in
{`
@@ -4491,7 +4491,7 @@ function handler2(_event, id) {};
`}
- Example out
+ Example out
{`
@@ -4499,7 +4499,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4514,20 +4514,20 @@ function handler2(_event, id) {};
description: (<>Removed the boundary, tippyProps, and isAppLauncher properties.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8231",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4536,8 +4536,8 @@ function handler2(_event, id) {};
description: (<>Renamed the default value for the variant property to custom. This change also affects the AlertVariant enum and AlertIcon component.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8924",
details: (
-
- Example in
+
+ Example in
{`const alertVariantOption = AlertVariant.default;
@@ -4546,7 +4546,7 @@ function handler2(_event, id) {};
`}
- Example out
+ Example out
{`const alertVariantOption = AlertVariant.custom;
@@ -4555,7 +4555,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4564,20 +4564,20 @@ function handler2(_event, id) {};
description: (<>Renamed the default value for the variant property to custom for the NotificationDrawerListItemHeader component.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8924",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4586,8 +4586,8 @@ function handler2(_event, id) {};
description: (<>Renamed the default value for the titleIconVariant property to custom. This change also affects the ModalContent component.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8924",
details: (
-
- Example in
+
+ Example in
{`const variantOption = "default";
@@ -4595,7 +4595,7 @@ function handler2(_event, id) {};
`}
- Example out
+ Example out
{`const variantOption = "custom";
@@ -4603,7 +4603,7 @@ function handler2(_event, id) {};
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4612,20 +4612,20 @@ function handler2(_event, id) {};
description: (<>Renamed the default value for the alertSeverityVariant property to custom.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8924",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4634,20 +4634,20 @@ function handler2(_event, id) {};
description: (<>Renamed the reference property to triggerRef.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8733",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4656,20 +4656,20 @@ function handler2(_event, id) {};
description: (<>Renamed the reference property to triggerRef.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8733",
details: (
-
- Example in
+
+ Example in
{``}
- Example out
+ Example out
{``}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -4678,22 +4678,22 @@ function handler2(_event, id) {};
description: (<>Deprecated the Wizard components and replaced them with a newer implementation.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/8821",
details: (
-
- Codemods will update import and export paths to our deprecated directory, but we recommend replacing it with our new Wizard implementation.
- Example in
+
+ Codemods will update import and export paths to our deprecated directory, but we recommend replacing it with our new Wizard implementation.
+ Example in
{`import { Wizard, Button } from '@patternfly/react-core';`}
- Example out
+ Example out
{`import { Button } from '@patternfly/react-core';
import { Wizard } from '@patternfly/react-core/deprecated';`}
-
+
),
repo: "React",
fixedWithCodeMod: true
@@ -5026,7 +5026,7 @@ import { Wizard } from '@patternfly/react-core/deprecated';`}
},
{
component: "Popover",
- description: (<>Reverted default value of popover appendTo prop so it is now () => document.body.>),
+ description: (<>Reverted default value of popover appendTo prop so it is now () ={'>'} document.body.>),
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/9252",
repo: "React",
fixedWithCodeMod: false
@@ -5113,8 +5113,8 @@ import { Wizard } from '@patternfly/react-core/deprecated';`}
description: <>The tooltip property has been removed from ActionsColumn's item prop interface. Instead a content property should be passed into the tooltipProps property of the items interface.>,
pullRequestURL: "https://github.com/patternfly/patternfly-react/pull/9382",
details: (
-
- Example in
+
+ Example in
{`
@@ -5127,7 +5127,7 @@ const actionItems = () => [{tooltip: "test"}];
`}
- Example out
+ Example out
{`
@@ -5140,7 +5140,7 @@ const actionItems = () => [{tooltipProps: { content: "test" }}];
`}
-
+
),
repo: "React",
fixedWithCodeMod: true
diff --git a/packages/documentation-site/patternfly-docs/content/get-started/release-notes-table.js b/packages/documentation-site/patternfly-docs/content/get-started/release-notes-table.js
index c4d8cf6e8a..3d57df7057 100644
--- a/packages/documentation-site/patternfly-docs/content/get-started/release-notes-table.js
+++ b/packages/documentation-site/patternfly-docs/content/get-started/release-notes-table.js
@@ -12,8 +12,7 @@ import {
ToolbarGroup,
ToolbarFilter,
ToolbarContent,
- TextList,
- TextListItem,
+ Content,
Bullseye,
EmptyState,
EmptyStateFooter,
@@ -308,17 +307,17 @@ export const ReleaseNotesTable = () => {
#{row.pullRequestURL.match(/(\d+)/)[0]}
) : (
-
+
{row.pullRequestURL.map((url) => (
-
#{url.match(/(\d+)/)[0]}
-
+
))}
-
+
)}
diff --git a/packages/documentation-site/patternfly-docs/content/training/react/fundamentals.md b/packages/documentation-site/patternfly-docs/content/training/react/fundamentals.md
index ca17c95c66..19be846d64 100644
--- a/packages/documentation-site/patternfly-docs/content/training/react/fundamentals.md
+++ b/packages/documentation-site/patternfly-docs/content/training/react/fundamentals.md
@@ -84,24 +84,24 @@ Add a `TimesIcon` so that the card can be closed.
## Step 3. Build out the `CardTitle`
### Step 3.1
-Add the text component with a variant inside of the ``. The text component can wrap any static HTML content that is placed on the page to provide correct formatting when using standard HTML tags. The text component comes in several variations, such as `h1`, `p`, `a`, `small`, `blockquote`, and `pre`.
-Use the ‘p’ variation, which is specified with `component={TextVariants.p}`.
+Add the content component with a variant inside of the ``. The content component can wrap any static HTML content that is placed on the page to provide correct formatting when using standard HTML tags. The content component comes in several variations, such as `h1`, `p`, `a`, `small`, `blockquote`, and `pre`.
+Use the ‘p’ variation, which is specified with `component="p"`.
Add the following code inside the `CardTitle` component:
-{`
-PatternFly\n`}
+{`
+PatternFly\n`}
### Step 3.2
-Add a subhead below the text added in Step 3.1. `TextContent` is used to wrap `Text` components and provides text with extra spacing and styling.
-Add the following code inside of the Text component that is inside of the `CardTitle`:
+Add a subhead below the content added in Step 3.1. `Content` without component prop is used to wrap html elements and provides them with extra spacing and styling.
+Add the following code bellow the Text component that is inside of the `CardTitle`:
-{`
-
+{`
+
Provided by Red Hat
-\n`}
+\n`}
diff --git a/packages/documentation-site/patternfly-docs/content/training/trainingCard/trainingCard.js b/packages/documentation-site/patternfly-docs/content/training/trainingCard/trainingCard.js
index 5d761802ac..2afc7d0dad 100644
--- a/packages/documentation-site/patternfly-docs/content/training/trainingCard/trainingCard.js
+++ b/packages/documentation-site/patternfly-docs/content/training/trainingCard/trainingCard.js
@@ -1,9 +1,8 @@
import React from 'react';
-import { Card, CardTitle, CardHeader, CardBody, CardFooter, Button, Text, Flex, FlexItem, Stack } from '@patternfly/react-core';
+import { Card, CardTitle, CardHeader, CardBody, CardFooter, Button, Content, Flex, Stack } from '@patternfly/react-core';
import ArrowRightIcon from '@patternfly/react-icons/dist/esm/icons/arrow-right-icon';
import CubesIcon from '@patternfly/react-icons/dist/esm/icons/cubes-icon';
import ClockIcon from '@patternfly/react-icons/dist/esm/icons/clock-icon';
-import RunningIcon from '@patternfly/react-icons/dist/esm/icons/running-icon';
import PuzzlePieceIcon from '@patternfly/react-icons/dist/esm/icons/puzzle-piece-icon';
import ChartBarIcon from '@patternfly/react-icons/dist/esm/icons/chart-bar-icon';
import { Link } from '@patternfly/documentation-framework/components/link/link';
@@ -41,12 +40,12 @@ export const TrainingCard = ({
-
+
{time}
-
+
{description}
diff --git a/packages/documentation-site/patternfly-docs/pages/home.js b/packages/documentation-site/patternfly-docs/pages/home.js
index 86800a39b1..0a56325676 100644
--- a/packages/documentation-site/patternfly-docs/pages/home.js
+++ b/packages/documentation-site/patternfly-docs/pages/home.js
@@ -14,10 +14,9 @@ import {
FlexItem,
Grid,
PageSection,
- PageSectionVariants,
Title,
- Text,
- TextVariants,
+ Content,
+ ContentVariants,
} from '@patternfly/react-core';
import ArrowRightIcon from '@patternfly/react-icons/dist/esm/icons/arrow-right-icon';
import ExternalLinkAltIcon from '@patternfly/react-icons/dist/esm/icons/external-link-alt-icon';
@@ -186,17 +185,17 @@ const HomePage = () => (
>
{' '}
Design and build better product experiences in the
-
+
{' '}
open{' '}
-
+
with PatternFly
-
+
PatternFly is an open source design system that enables teams to
create consistent and scalable enterprise products. PatternFly is
sponsored and maintained by Red Hat, but is open to all.
-
+