diff --git a/packages/react-core/package.json b/packages/react-core/package.json index 9acfa5e1763..6550f4b94f1 100644 --- a/packages/react-core/package.json +++ b/packages/react-core/package.json @@ -54,7 +54,7 @@ "tslib": "^2.5.0" }, "devDependencies": { - "@patternfly/patternfly": "5.0.0-alpha.46", + "@patternfly/patternfly": "5.0.0-alpha.53", "@rollup/plugin-commonjs": "^24.1.0", "@rollup/plugin-node-resolve": "^15.0.2", "@rollup/plugin-replace": "^5.0.2", diff --git a/packages/react-core/src/components/AboutModal/AboutModal.tsx b/packages/react-core/src/components/AboutModal/AboutModal.tsx index f6e208d13ef..537a5220c58 100644 --- a/packages/react-core/src/components/AboutModal/AboutModal.tsx +++ b/packages/react-core/src/components/AboutModal/AboutModal.tsx @@ -8,7 +8,7 @@ import { AboutModalBox } from './AboutModalBox'; import { Modal, ModalVariant } from '../Modal'; import { GenerateId } from '../../helpers/GenerateId/GenerateId'; // eslint-disable-next-line camelcase -import c_about_modal_box_BackgroundImage from '@patternfly/react-tokens/dist/esm/c_about_modal_box_BackgroundImage'; +// import c_about_modal_box_BackgroundImage from '@patternfly/react-tokens/dist/esm/c_about_modal_box_BackgroundImage'; export interface AboutModalProps extends React.HTMLProps { /** Content rendered inside the about modal */ @@ -48,7 +48,7 @@ export const AboutModal: React.FunctionComponent = ({ onClose = (_e): any => undefined, productName, trademark, - backgroundImageSrc, + // backgroundImageSrc, brandImageSrc, brandImageAlt, hasNoContentContainer = false, @@ -89,13 +89,13 @@ export const AboutModal: React.FunctionComponent = ({ hasNoBodyWrapper > diff --git a/packages/react-core/src/components/BackgroundImage/BackgroundImage.tsx b/packages/react-core/src/components/BackgroundImage/BackgroundImage.tsx index 6cebe3f367a..fedd8a298c2 100644 --- a/packages/react-core/src/components/BackgroundImage/BackgroundImage.tsx +++ b/packages/react-core/src/components/BackgroundImage/BackgroundImage.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import { css } from '@patternfly/react-styles'; import styles from '@patternfly/react-styles/css/components/BackgroundImage/background-image'; // eslint-disable-next-line camelcase -import c_background_image_BackgroundImage from '@patternfly/react-tokens/dist/esm/c_background_image_BackgroundImage'; +// import c_background_image_BackgroundImage from '@patternfly/react-tokens/dist/esm/c_background_image_BackgroundImage'; export interface BackgroundImageProps extends Omit, 'src'> { /** Additional classes added to the background image. */ @@ -13,14 +13,14 @@ export interface BackgroundImageProps extends Omit = ({ className, - src, + // src, ...props }: BackgroundImageProps) => (
`; @@ -13,7 +13,7 @@ exports[`allows passing in a single string as the image src 1`] = `
`; diff --git a/packages/react-core/src/components/Chip/ChipGroup.tsx b/packages/react-core/src/components/Chip/ChipGroup.tsx index 242a45ce706..2d30dc40332 100644 --- a/packages/react-core/src/components/Chip/ChipGroup.tsx +++ b/packages/react-core/src/components/Chip/ChipGroup.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import styles from '@patternfly/react-styles/css/components/ChipGroup/chip-group'; +import styles from '@patternfly/react-styles/css/components/Chip/chip-group'; import { css } from '@patternfly/react-styles'; import { Button } from '../Button'; import { Chip } from './Chip'; diff --git a/packages/react-core/src/components/Label/Label.tsx b/packages/react-core/src/components/Label/Label.tsx index 9cd2891103f..0eb2d7ecfb2 100644 --- a/packages/react-core/src/components/Label/Label.tsx +++ b/packages/react-core/src/components/Label/Label.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import { useState } from 'react'; import styles from '@patternfly/react-styles/css/components/Label/label'; -import labelGrpStyles from '@patternfly/react-styles/css/components/LabelGroup/label-group'; +import labelGrpStyles from '@patternfly/react-styles/css/components/Label/label-group'; import { Button } from '../Button'; import { Tooltip, TooltipPosition } from '../Tooltip'; import { css } from '@patternfly/react-styles'; diff --git a/packages/react-core/src/components/Label/LabelGroup.tsx b/packages/react-core/src/components/Label/LabelGroup.tsx index 0583838e8a2..5ca4f2267b0 100644 --- a/packages/react-core/src/components/Label/LabelGroup.tsx +++ b/packages/react-core/src/components/Label/LabelGroup.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import styles from '@patternfly/react-styles/css/components/LabelGroup/label-group'; +import styles from '@patternfly/react-styles/css/components/Label/label-group'; import labelStyles from '@patternfly/react-styles/css/components/Label/label'; import { css } from '@patternfly/react-styles'; import { Button } from '../Button'; diff --git a/packages/react-core/src/components/LoginPage/__tests__/__snapshots__/LoginPage.test.tsx.snap b/packages/react-core/src/components/LoginPage/__tests__/__snapshots__/LoginPage.test.tsx.snap index 8e35e02296c..36fa6013445 100644 --- a/packages/react-core/src/components/LoginPage/__tests__/__snapshots__/LoginPage.test.tsx.snap +++ b/packages/react-core/src/components/LoginPage/__tests__/__snapshots__/LoginPage.test.tsx.snap @@ -4,7 +4,7 @@ exports[`check loginpage example against snapshot 1`] = `