Includes changes to the stepper and wizard components to enhance their functionality and simplify the state management. The most important changes involve adding a new isComplete property to the StepProps interface, removing the completed property from StepperProps, and updating the wizard state management to use a new action type.
Stepper Component Updates:
Added isComplete property to StepProps and removed completed property from StepperProps.
Updated the Stepper component to use the isComplete property for determining step completion status.
Wizard Component Updates:
Replaced the ADD_COMPLETED_STEP action type with ON_COMPLETE and removed the completed property from the state.
Updated the Wizard component to use the new ON_COMPLETE action type and pass the isComplete property to the Step components.
Description
Includes changes to the
stepper
andwizard
components to enhance their functionality and simplify the state management. The most important changes involve adding a newisComplete
property to theStepProps
interface, removing thecompleted
property fromStepperProps
, and updating the wizard state management to use a new action type.Stepper Component Updates:
isComplete
property toStepProps
and removedcompleted
property fromStepperProps
.Stepper
component to use theisComplete
property for determining step completion status.Wizard Component Updates:
Replaced the
ADD_COMPLETED_STEP
action type withON_COMPLETE
and removed thecompleted
property from the state.Updated the
Wizard
component to use the newON_COMPLETE
action type and pass theisComplete
property to theStep
components.