Chore: Upgrade to Laravel 12 + remove Mary and Jetstream dependencies (#141)

* docs: remove requirement for setting APP_KEY manually

* optimize date picker

* clean up modals

* spot light working

* reorganization

* add lazy load

* wip

* remove filament

* styling
This commit is contained in:
hackerESQ
2025-09-26 17:41:28 -05:00
committed by GitHub
parent 910d426ad4
commit e6f38d9481
146 changed files with 5443 additions and 3909 deletions
@@ -0,0 +1,33 @@
@props([
'id' => null,
'name' => null,
'label' => null,
])
@php
$name = Str::of($name);
$icon = $name->contains('.') ? $name->replace('.', '-') : "heroicon-{$name}";
// Remove `w-*` and `h-*` classes, because it applies only for icon
$labelClasses = Str::replaceMatches('/(w-\w*)|(h-\w*)/', '', $attributes->get('class') ?? '');
@endphp
@if(strlen($label ?? '') > 0)
<div class="inline-flex items-center gap-1">
@endif
<x-icon :name="$icon"
{{
$attributes->class([
'inline',
'w-5 h-5' => !Str::contains($attributes->get('class') ?? '', ['w-', 'h-'])
])
}}
/>
@if(strlen($label ?? '') > 0)
<div class="{{ $labelClasses }}">
{{ $label }}
</div>
</div>
@endif