From 9b5696c8019f0c5fdcf992c5cb3d22f514b9d367 Mon Sep 17 00:00:00 2001 From: Leonardo Cavone Date: Tue, 28 Oct 2025 09:47:22 +0100 Subject: [PATCH] angular v19.2.18 --- projects/demo/src/app/app.component.html | 58 +++++++++++++++++++ projects/demo/src/app/app.component.scss | 36 ++++++++++-- projects/demo/src/app/app.component.ts | 4 +- .../dragover-styling-full-tree.component.ts | 2 +- .../src/app/fulltree/fulltree.component.ts | 2 +- 5 files changed, 93 insertions(+), 9 deletions(-) diff --git a/projects/demo/src/app/app.component.html b/projects/demo/src/app/app.component.html index 9722f07a..5f0efd19 100644 --- a/projects/demo/src/app/app.component.html +++ b/projects/demo/src/app/app.component.html @@ -4,6 +4,64 @@

{{ title }}

A simple yet powerful tree component for Angular.
View events in Dev Console.
+
diff --git a/projects/demo/src/app/app.component.scss b/projects/demo/src/app/app.component.scss index c6bbb365..98c0bb8e 100644 --- a/projects/demo/src/app/app.component.scss +++ b/projects/demo/src/app/app.component.scss @@ -2,7 +2,7 @@ position: sticky; top: 0; background: purple; - height: 110px; + height: 155px; z-index: 2; } @@ -28,14 +28,40 @@ line-height: 35px; } +.header .nav { + line-height: 35px; + height: 45px; + background-color: #111; +} + +.header .nav ul { + list-style-type: none; + margin: 0; + padding: 0; + display: flex; +} + +.header .nav ul li a { + display: block; + color: white; + text-decoration: none; + padding: 5px 8px; + white-space: nowrap; +} + +.header .nav ul li a:hover { + text-decoration: underline; + cursor: pointer; +} + section { font-size: 0.875rem; display: flex; - flex-direction: row; + align-items: center; + justify-content: center; } section article { - flex: 1; - display: flex; - margin: 10px; + margin-top: 10px; + width: 90%; } diff --git a/projects/demo/src/app/app.component.ts b/projects/demo/src/app/app.component.ts index e08962ac..bd308ca6 100644 --- a/projects/demo/src/app/app.component.ts +++ b/projects/demo/src/app/app.component.ts @@ -1,11 +1,11 @@ import { Component } from '@angular/core'; -import { RouterOutlet } from '@angular/router'; +import { RouterLink, RouterLinkActive, RouterOutlet } from '@angular/router'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'], - imports: [RouterOutlet] + imports: [RouterOutlet, RouterLink, RouterLinkActive] }) export class AppComponent { title = 'Angular Tree Component'; diff --git a/projects/demo/src/app/dragover-styling/dragover-styling-full-tree.component.ts b/projects/demo/src/app/dragover-styling/dragover-styling-full-tree.component.ts index 335982da..a4d1c2b6 100644 --- a/projects/demo/src/app/dragover-styling/dragover-styling-full-tree.component.ts +++ b/projects/demo/src/app/dragover-styling/dragover-styling-full-tree.component.ts @@ -37,7 +37,7 @@ const actionMapping: IActionMapping = { placeholder="filter nodes" /> -
+
-
+