From 6246c61cf730efdd7ce3eed7fd8cff8a4440b5c9 Mon Sep 17 00:00:00 2001 From: logonoff Date: Wed, 21 May 2025 18:43:21 -0400 Subject: [PATCH] chore(deps): replace clsx with @patternfly/react-styles --- cypress/component/MultiContentCard.cy.tsx | 10 +- package-lock.json | 91 +++++++++++-------- packages/module/package.json | 4 +- .../MultiContentCard/MultiContentCard.md | 2 +- .../MultiContentCardExample.tsx | 10 +- ...ltiContentCardExpandableActionsExample.tsx | 4 +- ...ltiContentCardExpandableDividerExample.tsx | 10 +- .../MultiContentCardExpandableExample.tsx | 10 +- ...tentCardExpandableSingleDividerExample.tsx | 10 +- packages/module/src/Ansible/Ansible.tsx | 10 +- .../module/src/CloseButton/CloseButton.tsx | 4 +- packages/module/src/ErrorStack/ErrorStack.tsx | 6 +- .../__snapshots__/MissingPage.test.tsx.snap | 2 - .../MultiContentCard.test.tsx.snap | 23 ----- .../ResponsiveActions.test.tsx.snap | 2 - .../module/src/ServiceCard/ServiceCard.tsx | 4 +- packages/module/src/Shortcut/Shortcut.tsx | 20 ++-- .../src/StaleDataWarning/StaleDataWarning.tsx | 13 ++- .../Status/__snapshots__/Status.test.tsx.snap | 4 - packages/module/src/TagCount/TagCount.tsx | 12 +-- .../__snapshots__/TagCount.test.tsx.snap | 4 - .../UnauthorizedAccess.test.tsx.snap | 5 - .../UnavailableContent.test.tsx.snap | 4 - .../__snapshots__/WarningModal.test.tsx.snap | 3 - 24 files changed, 116 insertions(+), 151 deletions(-) diff --git a/cypress/component/MultiContentCard.cy.tsx b/cypress/component/MultiContentCard.cy.tsx index f1c7b6c5..93e625ff 100644 --- a/cypress/component/MultiContentCard.cy.tsx +++ b/cypress/component/MultiContentCard.cy.tsx @@ -14,7 +14,7 @@ import { } from '@patternfly/react-core'; import { ArrowRightIcon, BellIcon, CogIcon, LockIcon } from '@patternfly/react-icons'; import { createUseStyles } from 'react-jss'; -import clsx from 'clsx'; +import { css } from '@patternfly/react-styles'; const useStyles = createUseStyles({ action: { @@ -35,7 +35,7 @@ export const MultiContentCardExample: FunctionComponent = () => { Getting Started - + @@ -47,7 +47,7 @@ export const MultiContentCardExample: FunctionComponent = () => { - +