diff --git a/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard-footer.tsx b/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard-footer.tsx index 702d37b085..30d8d58cfb 100644 --- a/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard-footer.tsx +++ b/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard-footer.tsx @@ -1,16 +1,12 @@ import { Button, - StepCounter, Tooltip, TooltipContent, TooltipTrigger, WizardNext, WizardPrevious, } from '@openops/components/ui'; -import { - BenchmarkCreationResult, - BenchmarkWizardStepResponse, -} from '@openops/shared'; +import { BenchmarkCreationResult } from '@openops/shared'; import { t } from 'i18next'; import { WizardPhase } from '../use-benchmark-wizard-navigation'; @@ -18,7 +14,6 @@ import { ViewBenchmarkWorkflowsButton } from './view-benchmark-workflows-button' interface BenchmarkWizardFooterProps { wizardPhase: WizardPhase; - currentStepResponse: BenchmarkWizardStepResponse | null; benchmarkCreationResult: BenchmarkCreationResult | null; isNextDisabled: boolean; handleNextFromInitial: () => Promise; @@ -29,7 +24,6 @@ interface BenchmarkWizardFooterProps { export const BenchmarkWizardFooter = ({ wizardPhase, - currentStepResponse, benchmarkCreationResult, isNextDisabled, handleNextFromInitial, @@ -59,12 +53,6 @@ export const BenchmarkWizardFooter = ({ return ( <> - {currentStepResponse && ( - - )} ; - -export default meta; - -type Story = StoryObj; - -/** - * Default step counter showing "2/5" format - */ -export const Default: Story = {}; diff --git a/packages/ui-components/src/stories/wizard/wizard.stories.tsx b/packages/ui-components/src/stories/wizard/wizard.stories.tsx index e44ec2b548..f2c5756417 100644 --- a/packages/ui-components/src/stories/wizard/wizard.stories.tsx +++ b/packages/ui-components/src/stories/wizard/wizard.stories.tsx @@ -8,7 +8,6 @@ import { SelectForm, SelectOption, StepBody, - StepCounter, StepDescription, StepTitle, Wizard, @@ -400,7 +399,6 @@ const WizardExample = () => { ) : (
)} - diff --git a/packages/ui-components/src/ui/step-counter/index.ts b/packages/ui-components/src/ui/step-counter/index.ts deleted file mode 100644 index ca5ac7622c..0000000000 --- a/packages/ui-components/src/ui/step-counter/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { StepCounter } from './step-counter'; diff --git a/packages/ui-components/src/ui/step-counter/step-counter.tsx b/packages/ui-components/src/ui/step-counter/step-counter.tsx deleted file mode 100644 index b2102dde0e..0000000000 --- a/packages/ui-components/src/ui/step-counter/step-counter.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import * as React from 'react'; - -import { cn } from '../../lib/cn'; - -interface StepCounterProps extends React.HTMLAttributes { - current: number; - total: number; -} - -const StepCounter = React.forwardRef( - ({ className, current, total, ...props }, ref) => { - return ( -
- - {current}/{total} - -
- ); - }, -); -StepCounter.displayName = 'StepCounter'; - -export { StepCounter };