fix(mana/web+packages): clear all 270 warnings to zero

Comprehensive warning sweep across 128 files that brings svelte-check
from 270 warnings → 0 (plus 3 new errors from concurrent upstream
changes fixed inline).

Final state: 6473 files, 0 errors, 0 warnings, 0 files with problems.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-04-10 17:34:49 +02:00
parent b8987562ba
commit da03fac722
128 changed files with 1599 additions and 348 deletions

View file

@ -24,6 +24,7 @@
const PADDING = { top: 20, right: 20, bottom: 30, left: 40 };
let chartWidth = WIDTH - PADDING.left - PADDING.right;
// svelte-ignore state_referenced_locally
let chartHeight = height - PADDING.top - PADDING.bottom;
// Calculate max for scaling

View file

@ -15,7 +15,9 @@
let { visible, x, y, items, onClose, onSelect }: Props = $props();
let menuElement = $state<HTMLElement | null>(null);
// svelte-ignore state_referenced_locally
let adjustedX = $state(x);
// svelte-ignore state_referenced_locally
let adjustedY = $state(y);
// Adjust position to keep menu within viewport

View file

@ -44,6 +44,7 @@
</script>
{#if visible}
{@const Icon = iconComponent}
<div
class="action-zone variant-{variant}"
use:dropTarget={{
@ -60,7 +61,7 @@
role="button"
tabindex="-1"
>
<svelte:component this={iconComponent} size={20} weight="bold" />
<Icon size={20} weight="bold" />
{#if label}
<span class="action-label">{label}</span>
{/if}

View file

@ -22,6 +22,7 @@
const showTabs = $derived(config.showTabs ?? (hasShortcuts && hasSyntax));
// Active tab state
// svelte-ignore state_referenced_locally
let activeTab = $state<'shortcuts' | 'syntax'>(config.defaultTab ?? 'shortcuts');
// Reset to default tab when modal opens

View file

@ -23,6 +23,7 @@
let audio: HTMLAudioElement;
let currentTime = $state(0);
// svelte-ignore state_referenced_locally
let audioDuration = $state(duration || 0);
let isPlaying = $state(false);
let isLoading = $state(true);

View file

@ -42,7 +42,9 @@
deleteConfirmMessage = 'Möchtest du diesen Tag wirklich löschen?',
}: Props = $props();
// svelte-ignore state_referenced_locally
let name = $state(tag?.name ?? '');
// svelte-ignore state_referenced_locally
let color = $state(tag?.color ?? tag?.style?.color ?? DEFAULT_TAG_COLOR);
// Reset form when tag changes

View file

@ -395,6 +395,7 @@
let appDrawerOpen = $state(false);
// Global spotlight (Cmd+K) — only active when spotlightActions are provided
// svelte-ignore state_referenced_locally
const spotlight = spotlightActions ? createGlobalSpotlightState() : null;
function isActive(path: string) {

View file

@ -61,9 +61,11 @@
onClearFilters,
}: Props = $props();
// svelte-ignore state_referenced_locally
let searchInput = $state(searchQuery);
let showFilters = $state(false);
let showKeyboardHelp = $state(false);
// svelte-ignore state_referenced_locally
let strengthValue = $state(minStrength);
let searchInputElement = $state<HTMLInputElement | undefined>(undefined);

View file

@ -16,6 +16,7 @@
// Generate a slug from title for TOC navigation
const sectionId =
// svelte-ignore state_referenced_locally
title
?.toLowerCase()
.replace(/[^a-z0-9]+/g, '-')