@props([ 'text' => null, 'percent' => null, 'columns' => 4, 'size' => 'sm', 'positive' => false, 'use_well' => 'true', 'color' => null, 'warning_icon' => false, 'warning_label' => null, ])
{!! ($use_well=='true') ? '
' : '' !!}
@if ($warning_icon) {{-- Icon is aria-hidden via , so the sibling sr-only span carries the semantic for screen readers. Caller supplies warning_label with the context-specific string (e.g. "Overdue") so the component stays generic. --}} {{ $warning_label }} @endif {{ $text }} {{ $slot }} {{ round($percent) }}%
{!! ($use_well=='true') ? '
' : '' !!}