Symbole: alle Lucide-Symbole lokal verfügbar
All checks were successful
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 2m35s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 2m37s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 2m41s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 2m52s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 3m56s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 4m2s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 4m21s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 4m5s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m10s

- Vollständiger Satz (1.854 Symbole + Aliase älterer Namen) in
  resources/icons/svg.php (Admin) und resources/js/lib/icon-set.js
  (Portal, wird nur bei Bedarf geladen)
- Kuratierte 66 mit deutscher Bezeichnung bleiben im Hauptpaket und
  stehen in Auswahlfeldern vorne; die Suche findet alle
- AppIcon-Komponente für Menü, Schnellzugriffe und Pagebuilder;
  Symbolfeld im Pagebuilder mit Suche

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-26 14:50:13 +00:00
parent 23c36d28b5
commit c71131d054
151 changed files with 4621 additions and 512 deletions

View file

@ -18,7 +18,7 @@ import BrandLogo from '@/components/BrandLogo.vue';
import NotificationBell from '@/components/NotificationBell.vue';
import PersonAvatar from '@/components/PersonAvatar.vue';
import NavLink from '@/components/nav/NavLink.vue';
import { icons } from '@/lib/icons';
import AppIcon from '@/components/AppIcon.vue';
import { useThemePreference } from '@/composables/useThemePreference';
defineProps({
@ -124,7 +124,7 @@ const themeOptions = [
:class="item.active && !item.children.some((c) => c.active) ? 'bg-brand-soft text-brand-soft-foreground' : 'text-foreground/80 hover:bg-accent'"
@click="mobileNavOpen = false"
>
<component :is="icons[item.icon]" v-if="icons[item.icon]" class="size-[18px] opacity-80" />{{ item.label }}
<AppIcon v-if="item.icon" :name="item.icon" class="size-[18px] opacity-80" />{{ item.label }}
</NavLink>
<p v-else class="px-3 pt-3 pb-1 text-xs font-semibold tracking-wide text-muted-foreground uppercase">{{ item.label }}</p>
<div v-if="item.children.length" class="mb-1 ml-3 grid gap-0.5 border-l pl-2">
@ -136,7 +136,7 @@ const themeOptions = [
:class="child.active ? 'bg-brand-soft font-medium text-brand-soft-foreground' : 'text-foreground/75 hover:bg-accent'"
@click="mobileNavOpen = false"
>
<component :is="icons[child.icon]" v-if="icons[child.icon]" class="size-4 opacity-70" />{{ child.label }}
<AppIcon v-if="child.icon" :name="child.icon" class="size-4 opacity-70" />{{ child.label }}
</NavLink>
</div>
</template>
@ -152,7 +152,7 @@ const themeOptions = [
<!-- Unsichtbare Kopie zum Messen der Breiten -->
<ul ref="navMeasure" class="pointer-events-none invisible absolute flex gap-1" aria-hidden="true">
<li v-for="item in navigation" :key="item.key" class="flex items-center gap-1.5 px-3 text-sm font-medium whitespace-nowrap">
<component :is="icons[item.icon]" v-if="icons[item.icon]" class="size-4" />{{ item.label }}<ChevronDown v-if="item.children.length" class="size-4" />
<AppIcon v-if="item.icon" :name="item.icon" class="size-4" />{{ item.label }}<ChevronDown v-if="item.children.length" class="size-4" />
</li>
</ul>
<ul class="flex h-full items-stretch gap-1">
@ -162,7 +162,7 @@ const themeOptions = [
class="relative flex items-center gap-1.5 px-3 text-sm font-medium whitespace-nowrap transition-colors outline-none"
:class="item.active ? 'text-foreground' : 'text-foreground/70 hover:text-foreground'"
>
<component :is="icons[item.icon]" v-if="icons[item.icon]" class="size-4 opacity-80" />{{ item.label }} <ChevronDown class="size-4 opacity-70" />
<AppIcon v-if="item.icon" :name="item.icon" class="size-4 opacity-80" />{{ item.label }} <ChevronDown class="size-4 opacity-70" />
<span v-if="item.active" class="nav-underline absolute inset-x-3 bottom-0 h-[3px] rounded-t-full bg-brand" />
</DropdownMenuTrigger>
<DropdownMenuContent align="start" class="min-w-56">
@ -174,7 +174,7 @@ const themeOptions = [
</template>
<DropdownMenuItem v-for="child in item.children" :key="child.key" as-child>
<NavLink :item="child" :class="child.active ? 'font-semibold text-brand-text' : ''">
<component :is="icons[child.icon]" v-if="icons[child.icon]" class="size-4 text-muted-foreground" />{{ child.label }}
<AppIcon v-if="child.icon" :name="child.icon" class="size-4 text-muted-foreground" />{{ child.label }}
</NavLink>
</DropdownMenuItem>
</DropdownMenuContent>
@ -186,7 +186,7 @@ const themeOptions = [
:class="item.active ? 'text-foreground' : 'text-foreground/70 hover:text-foreground'"
:aria-current="item.active ? 'page' : undefined"
>
<component :is="icons[item.icon]" v-if="icons[item.icon]" class="size-4 opacity-80" />{{ item.label }}
<AppIcon v-if="item.icon" :name="item.icon" class="size-4 opacity-80" />{{ item.label }}
<span v-if="item.active" class="nav-underline absolute inset-x-3 bottom-0 h-[3px] rounded-t-full bg-brand" />
</NavLink>
</li>
@ -207,13 +207,13 @@ const themeOptions = [
<DropdownMenuItem v-if="item.href" as-child><NavLink :item="item">Übersicht</NavLink></DropdownMenuItem>
<DropdownMenuItem v-for="child in item.children" :key="child.key" as-child>
<NavLink :item="child" :class="child.active ? 'font-semibold text-brand-text' : ''">
<component :is="icons[child.icon]" v-if="icons[child.icon]" class="size-4 text-muted-foreground" />{{ child.label }}
<AppIcon v-if="child.icon" :name="child.icon" class="size-4 text-muted-foreground" />{{ child.label }}
</NavLink>
</DropdownMenuItem>
</template>
<DropdownMenuItem v-else as-child>
<NavLink :item="item" :class="item.active ? 'font-semibold text-brand-text' : ''">
<component :is="icons[item.icon]" v-if="icons[item.icon]" class="size-4 text-muted-foreground" />{{ item.label }}
<AppIcon v-if="item.icon" :name="item.icon" class="size-4 text-muted-foreground" />{{ item.label }}
</NavLink>
</DropdownMenuItem>
</template>