complete story 9.11 with qa tests

This commit is contained in:
Naser Mansour
2026-01-03 02:57:43 +02:00
parent c96f31c702
commit 5a19903e30
8 changed files with 789 additions and 24 deletions
@@ -0,0 +1,30 @@
@props([
'animated' => true,
'size' => 'md',
])
@php
$sizes = [
'sm' => 'h-4 w-4',
'md' => 'h-6 w-6',
'lg' => 'h-8 w-8',
'xl' => 'h-12 w-12',
];
$sizeClass = $sizes[$size] ?? $sizes['md'];
@endphp
<svg
{{ $attributes->merge(['class' => $sizeClass . ' text-success ' . ($animated ? 'checkmark-animated' : '')]) }}
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
aria-hidden="true"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M5 13l4 4L19 7"
/>
</svg>