🎨 Add new Flux icons: implement multiple reusable icon components (e.g., hand-raised, hand-thumb-up, heart, hashtag, home) with variant support for improved UI consistency.

This commit is contained in:
HolgerHatGarKeineNode
2026-01-23 23:00:02 +01:00
parent 578e4f13fc
commit b30fec150c
792 changed files with 307541 additions and 117 deletions

View File

@@ -0,0 +1,35 @@
@aware(['axis' => 'x', 'position' => null ])
@props([
'format' => null,
])
@php
$format = is_array($format) ? \Illuminate\Support\Js::encode($format) : $format;
@endphp
@if ($axis === 'x')
<template name="tick-label" @if ($format) format="{{ $format }}" @endif>
<g>
<text {{ $attributes->merge([
'class' => '[:where(&)]:text-xs [:where(&)]:text-zinc-400 [:where(&)]:font-medium [:where(&)]:dark:text-zinc-300',
'text-anchor' => 'middle',
'fill' => 'currentColor',
'dominant-baseline' => $position === 'top' ? 'text-after-edge' : 'text-before-edge',
'dy' => $position === 'top' ? '-1em' : '1em',
]) }}><slot></slot></text>
</g>
</template>
@else
<template name="tick-label" @if ($format) format="{{ $format }}" @endif>
<g>
<text {{ $attributes->merge([
'class' => '[:where(&)]:text-xs [:where(&)]:text-zinc-400 [:where(&)]:dark:text-zinc-300',
'dominant-baseline' => 'central',
'fill' => 'currentColor',
'text-anchor' => $position === 'right' ? 'start' : 'end',
'dx' => $position === 'right' ? '1em' : '-1em',
]) }}><slot></slot></text>
</g>
</template>
@endif