41 lines
1.4 KiB
PHP
Executable File
41 lines
1.4 KiB
PHP
Executable File
<?php
|
|
if (!function_exists('__daaa9501a88d6b8fd078d59fa3df78a6')):
|
|
function __daaa9501a88d6b8fd078d59fa3df78a6($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
|
$__env = $__blaze->env;
|
|
$__slots['slot'] ??= new \Illuminate\View\ComponentSlot('');
|
|
if (($__data['attributes'] ?? null) instanceof \Illuminate\View\ComponentAttributeBag) { $__data = $__data + $__data['attributes']->all(); unset($__data['attributes']); }
|
|
extract($__slots, EXTR_SKIP); unset($__slots);
|
|
extract($__data, EXTR_SKIP);
|
|
$attributes = \Livewire\Blaze\Runtime\BlazeAttributeBag::make($__data, $__bound, $__keys);
|
|
unset($__data, $__bound, $__keys);
|
|
ob_start();
|
|
?>
|
|
|
|
|
|
<?php
|
|
$__defaults = [
|
|
'size' => 'base',
|
|
];
|
|
$size ??= $attributes['size'] ?? $__defaults['size']; unset($attributes['size']);
|
|
unset($__defaults);
|
|
?>
|
|
|
|
<?php
|
|
$classes = Flux::classes()
|
|
->add(match ($size) {
|
|
'xl' => 'text-lg',
|
|
'lg' => 'text-base',
|
|
default => 'text-sm',
|
|
'sm' => 'text-xs',
|
|
})
|
|
->add('[:where(&)]:text-zinc-500 [:where(&)]:dark:text-white/70')
|
|
;
|
|
?>
|
|
|
|
<div <?php echo e($attributes->class($classes)); ?> data-flux-subheading>
|
|
<?php echo e($slot); ?>
|
|
|
|
</div>
|
|
<?php
|
|
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
|
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/subheading.blade.php ENDPATH**/ ?>
|