- Updated tab-panel component to use Tailwind for styling and transitions. - Refactored table-row component to implement Tailwind classes for hover effects and borders. - Converted table-td component to utilize Tailwind for alignment and text styles. - Changed table-th component to apply Tailwind for header styling and sorting indicators. - Revised table component to adopt Tailwind for layout, borders, and responsive design. - Enhanced tabs component with Tailwind for navigation styles and transitions. - Updated toggle component to use Tailwind for switch styles and accessibility. - Refactored tooltip component to implement Tailwind for positioning and styling. - Added visual enhancements to app.css for improved UI interactions and animations.
31 lines
710 B
PHP
31 lines
710 B
PHP
{{--
|
|
Table Data Cell Component - LucentUI Theme
|
|
Migrated from AdminLTE to Tailwind
|
|
--}}
|
|
|
|
@props([
|
|
'align' => 'start',
|
|
'nowrap' => false,
|
|
'muted' => false,
|
|
'strong' => false,
|
|
])
|
|
|
|
@php
|
|
$alignClasses = [
|
|
'start' => 'text-left',
|
|
'center' => 'text-center',
|
|
'end' => 'text-right',
|
|
];
|
|
$alignClass = $alignClasses[$align] ?? $alignClasses['start'];
|
|
@endphp
|
|
|
|
<td {{ $attributes->class([
|
|
'px-5 py-3.5 text-sm text-secondary dark:text-gray-300 align-middle',
|
|
$alignClass,
|
|
'whitespace-nowrap' => $nowrap,
|
|
'text-secondary/80 dark:text-gray-400' => $muted,
|
|
'font-medium text-primary dark:text-gray-100' => $strong,
|
|
]) }}>
|
|
{{ $slot }}
|
|
</td>
|