@php $wrap_base_class = 'lqd-table-wrap w-full max-w-full overflow-x-auto'; $base_class = 'lqd-table w-full text-start overflow-x-auto [-webkit-overflow-scrolling:touch] max-w-full'; $head_base_class = 'lqd-table-head border-b text-start text-4xs leading-tight uppercase tracking-wider font-medium text-label transition-border'; $body_base_class = '[&_tr:not(:last-child)]:border-b'; $foot_base_class = 'lqd-table-foot'; $variations = [ 'variant' => [ 'none' => 'lqd-table-variant-none shadow-none p-0', 'solid' => 'lqd-table-solid rounded-xl bg-table-background pt-1', 'outline' => 'lqd-table-outline rounded-xl border border-table-border pt-1', 'shadow' => 'lqd-table-shadow rounded-xl shadow-table bg-table-background pt-1', 'plain' => 'lqd-table-plain', 'outline-shadow' => 'lqd-table-outline-shadow rounded-xl border border-table-border pt-1 shadow-table bg-table-background', ], ]; $variant = isset($variations['variant'][$variant]) ? $variations['variant'][$variant] : $variations['variant'][Theme::getSetting('defaultVariations.table.variant', 'outline')]; @endphp