Skip to content

Commit 8f0c8d9

Browse files
authored
Merge pull request #5 from Lissy93/feat/new-lookps-for-dns
Feat/new lookps for dns
2 parents 2ec3de9 + 5d37883 commit 8f0c8d9

75 files changed

Lines changed: 20297 additions & 35 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22.20.0

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "networking-toolbox",
33
"private": true,
4-
"version": "1.0.1",
4+
"version": "1.1.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite dev",
@@ -16,7 +16,7 @@
1616
"build:node": "DEPLOY_ENV='node' npm run build",
1717
"build:static": "DEPLOY_ENV='static' npm run build",
1818
"test": "vitest",
19-
"test:coverage": "vitest --coverage",
19+
"test:coverage": "vitest run --coverage",
2020
"test:api": "vitest run --config tests/vitest.api.config.ts",
2121
"test:e2e": "playwright test"
2222
},

src/lib/components/furniture/TopNav.svelte

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
<script lang="ts">
22
import { page } from '$app/stores';
3-
import { TOP_NAV, SUB_NAV, isActive, type NavItem, type NavGroup, isGroupWithActiveItem, isGroupWithActiveSubDropdown } from '$lib/constants/nav';
3+
import {
4+
TOP_NAV,
5+
SUB_NAV,
6+
isActive,
7+
type NavItem,
8+
type NavGroup,
9+
isGroupWithActiveItem,
10+
isGroupWithActiveSubDropdown,
11+
} from '$lib/constants/nav';
412
import Icon from '$lib/components/global/Icon.svelte';
513
import { navbarDisplay } from '$lib/stores/navbarDisplay';
614
import { bookmarks } from '$lib/stores/bookmarks';
@@ -301,7 +309,7 @@
301309
flex-shrink: 0;
302310
}
303311
304-
&:hover,
312+
&:hover,
305313
&.dropdown-open {
306314
color: var(--text-primary);
307315
background: var(--surface-hover);
@@ -439,27 +447,27 @@
439447
padding-top: var(--spacing-xs);
440448
border-top: 1px solid var(--border-secondary);
441449
}
442-
450+
443451
&:has(+ .dropdown-link) {
444452
margin-bottom: var(--spacing-xs);
445453
padding-bottom: var(--spacing-xs);
446454
border-bottom: 1px solid var(--border-secondary);
447455
}
448-
449-
&.has-secondary,
450-
&.active {
456+
457+
&.has-secondary,
458+
&.active {
451459
.group-title {
452460
padding: var(--spacing-sm) var(--spacing-md);
453461
border-radius: var(--radius-md);
454462
}
455463
}
456-
464+
457465
&.has-secondary {
458466
cursor: pointer;
459-
467+
460468
.group-title {
461469
transition: background-color 0.15s ease;
462-
470+
463471
&:hover {
464472
background: var(--surface-hover);
465473
}
@@ -478,7 +486,7 @@
478486
color: var(--color-primary);
479487
background: color-mix(in srgb, var(--color-primary), transparent 95%);
480488
}
481-
}
489+
}
482490
}
483491
484492
.group-title {

src/lib/components/global/ToolCard.svelte

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,18 @@
6767
on:click={toggleBookmark}
6868
aria-label={isBookmarked ? 'Remove bookmark' : 'Add bookmark'}
6969
>
70-
<div class="bookmark-icon">
71-
{#if isBookmarked}
72-
{#if isHovered}
73-
<Icon name="bookmark-remove" size="sm" />
70+
<div class="bookmark-icon">
71+
{#if isBookmarked}
72+
{#if isHovered}
73+
<Icon name="bookmark-remove" size="sm" />
74+
{:else}
75+
<Icon name="bookmarks" size="sm" />
76+
{/if}
7477
{:else}
75-
<Icon name="bookmarks" size="sm" />
78+
<Icon name="bookmark-add" size="md" />
7679
{/if}
77-
{:else}
78-
<Icon name="bookmark-add" size="md" />
79-
{/if}
80-
<!-- <Icon name={isBookmarked ? 'bookmark-remove' : 'bookmark-add'} size="sm" /> -->
81-
</div>
80+
<!-- <Icon name={isBookmarked ? 'bookmark-remove' : 'bookmark-add'} size="sm" /> -->
81+
</div>
8282
</button>
8383
{/if}
8484
</div>
@@ -214,7 +214,7 @@
214214
width: fit-content;
215215
height: fit-content;
216216
}
217-
217+
218218
&.bookmarked {
219219
color: var(--text-secondary);
220220
opacity: 1;

src/lib/components/tools/IPv6SolicitedNode.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267
for="ipv6-input"
268268
use:tooltip={'Enter a valid IPv6 unicast address (not multicast) to calculate its solicited-node multicast address'}
269269
>
270-
<Icon name="globe-2" size="sm" />
270+
<Icon name="globe" size="sm" />
271271
IPv6 Unicast Address
272272
</label>
273273
<input
@@ -298,7 +298,7 @@
298298
<div class="result-main">
299299
<div class="result-item">
300300
<div class="result-label">
301-
<Icon name="globe-2" size="sm" />
301+
<Icon name="globe" size="sm" />
302302
Unicast Address
303303
</div>
304304
<div class="result-content">

src/lib/components/tools/PTRSweepPlanner.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
</div>
177177
</div>
178178
<div class="overview-item">
179-
<Icon name="list-checks" size="sm" />
179+
<Icon name="list-check" size="sm" />
180180
<div>
181181
<strong>Gap Analysis:</strong> Identify missing PTRs, extra PTRs, and generate remediation plans.
182182
</div>
@@ -447,7 +447,7 @@
447447
{#if namingPattern.trim() && results.analysis.patternMatches < results.analysis.totalAddresses - results.analysis.missingPTRs.length}
448448
<div class="action-item">
449449
<div class="action-header">
450-
<Icon name="edit-3" size="sm" />
450+
<Icon name="edit" size="sm" />
451451
<span>Fix Naming Pattern Violations</span>
452452
</div>
453453
<div class="action-description">

src/lib/constants/icon-map.ts

Lines changed: 44 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)