@php $id = $getId(); $isContained = $getContainer()->getParentComponent()->isContained(); $activeStepClasses = \Illuminate\Support\Arr::toCssClasses([ 'fi-active', 'p-6' => $isContained, 'mt-6' => ! $isContained, ]); $inactiveStepClasses = 'invisible h-0 overflow-y-hidden p-0'; @endphp