diff --git a/src/lib/components/furniture/BurgerMenu.svelte b/src/lib/components/furniture/BurgerMenu.svelte index 77e1644..e242179 100644 --- a/src/lib/components/furniture/BurgerMenu.svelte +++ b/src/lib/components/furniture/BurgerMenu.svelte @@ -446,13 +446,6 @@ border-bottom: 1px solid var(--border-secondary); } - &.active h3 { - color: var(--color-primary); - background-color: rgba(var(--color-primary-rgb), 0.1); - padding: var(--spacing-xs) var(--spacing-sm); - border-radius: var(--radius-md); - border-bottom-color: var(--color-primary); - } } .menu-group { diff --git a/src/lib/components/global/GlobalSearch.svelte b/src/lib/components/global/GlobalSearch.svelte index 0c138b9..3a9b7cf 100644 --- a/src/lib/components/global/GlobalSearch.svelte +++ b/src/lib/components/global/GlobalSearch.svelte @@ -133,7 +133,7 @@ {#if isOpen} -
+
{ if (e.key === 'Escape') close(); }} role="button" tabindex="-1" aria-label="Close search">
e.stopPropagation()}>
diff --git a/src/lib/components/tools/CAABuilder.svelte b/src/lib/components/tools/CAABuilder.svelte index 2d94da7..3eee438 100644 --- a/src/lib/components/tools/CAABuilder.svelte +++ b/src/lib/components/tools/CAABuilder.svelte @@ -867,10 +867,6 @@ color: var(--color-success); } - &.warning { - color: var(--color-warning); - } - &.error { color: var(--color-error); } diff --git a/src/lib/components/tools/DSGenerator.svelte b/src/lib/components/tools/DSGenerator.svelte index 777a6fe..5ab8a1c 100644 --- a/src/lib/components/tools/DSGenerator.svelte +++ b/src/lib/components/tools/DSGenerator.svelte @@ -88,7 +88,7 @@ activeExampleIndex = -1; error = null; dsRecords = []; - if (isValid) { + if (isValid()) { generateDS(); } } @@ -99,7 +99,7 @@ } else { selectedDigestTypes = [...selectedDigestTypes, type]; } - if (isValid) { + if (isValid()) { generateDS(); } } @@ -255,7 +255,7 @@
- {DS_DIGEST_TYPES[ds.digestType]} + {DS_DIGEST_TYPES[ds.digestType as keyof typeof DS_DIGEST_TYPES]} Key Tag: {ds.keyTag}
@@ -272,7 +272,7 @@
- {fingerprintTypeDescriptions[fingerprintType]} + {fingerprintTypeDescriptions[fingerprintType as keyof typeof fingerprintTypeDescriptions]}
diff --git a/src/lib/components/tools/SVCBHTTPSBuilder.svelte b/src/lib/components/tools/SVCBHTTPSBuilder.svelte index 77a8479..e93588d 100644 --- a/src/lib/components/tools/SVCBHTTPSBuilder.svelte +++ b/src/lib/components/tools/SVCBHTTPSBuilder.svelte @@ -371,8 +371,8 @@
diff --git a/src/lib/components/tools/SubnetPlanner.svelte b/src/lib/components/tools/SubnetPlanner.svelte index d23e829..fab1d8f 100644 --- a/src/lib/components/tools/SubnetPlanner.svelte +++ b/src/lib/components/tools/SubnetPlanner.svelte @@ -194,7 +194,7 @@ } /* Generate tooltip text for visualization segments */ - function getSegmentTooltip(item: { cidr: string; name?: string }, type: 'allocated' | 'leftover'): string { + function getSegmentTooltip(item: { cidr: string; name?: string; start?: bigint; end?: bigint }, type: 'allocated' | 'leftover'): string { if (type === 'allocated' && item.name) { const size = item.start && item.end ? (item.end - item.start + 1n).toLocaleString() : 'Unknown'; return `${item.name}\n${item.cidr}\nSize: ${size} addresses`; diff --git a/src/lib/components/tools/SupernetCalculator.svelte b/src/lib/components/tools/SupernetCalculator.svelte index 869ae77..95d4cd5 100644 --- a/src/lib/components/tools/SupernetCalculator.svelte +++ b/src/lib/components/tools/SupernetCalculator.svelte @@ -157,7 +157,6 @@
@@ -251,7 +250,7 @@ @@ -308,7 +307,7 @@ @@ -327,7 +326,7 @@ @@ -346,7 +345,7 @@ @@ -367,7 +366,7 @@ @@ -386,7 +385,7 @@ @@ -511,7 +510,7 @@ font-weight: 600; font-size: var(--font-size-sm); flex-shrink: 0; - margin-top: 1.5rem; // Align with input labels + margin-top: 1.5rem; /* Align with input labels */ } .network-inputs-row { @@ -851,7 +850,7 @@ border-radius: var(--radius-sm); border: 1px solid var(--border-primary); flex: 1; - min-width: 0; // Allow text to wrap/truncate + min-width: 0; /* Allow text to wrap/truncate */ font-size: var(--font-size-sm); &.binary-mask { diff --git a/src/lib/components/tools/TLSAGenerator.svelte b/src/lib/components/tools/TLSAGenerator.svelte index d3a1323..169b502 100644 --- a/src/lib/components/tools/TLSAGenerator.svelte +++ b/src/lib/components/tools/TLSAGenerator.svelte @@ -1,4 +1,4 @@ -