diff --git a/angular.json b/angular.json index 988421e..18e4e25 100644 --- a/angular.json +++ b/angular.json @@ -27,6 +27,7 @@ } ], "styles": [ + "@angular/material/prebuilt-themes/azure-blue.css", "src/styles.css" ], "scripts": [] @@ -85,6 +86,7 @@ } ], "styles": [ + "@angular/material/prebuilt-themes/azure-blue.css", "src/styles.css" ], "scripts": [] diff --git a/bun.lockb b/bun.lockb index 50b6aa8..ac56349 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index e205d2d..de55a03 100644 --- a/package.json +++ b/package.json @@ -10,22 +10,25 @@ }, "private": true, "dependencies": { - "@angular/animations": "^18.2.13", - "@angular/common": "^18.2.13", - "@angular/compiler": "^18.2.13", - "@angular/core": "^18.2.13", - "@angular/forms": "^18.2.13", - "@angular/platform-browser": "^18.2.13", - "@angular/platform-browser-dynamic": "^18.2.13", - "@angular/router": "^18.2.13", + "@angular/animations": "^19.0.4", + "@angular/cdk": "19.0.3", + "@angular/common": "^19.0.4", + "@angular/compiler": "^19.0.4", + "@angular/core": "^19.0.4", + "@angular/forms": "^19.0.4", + "@angular/material": "19.0.3", + "@angular/platform-browser": "^19.0.4", + "@angular/platform-browser-dynamic": "^19.0.4", + "@angular/router": "^19.0.4", "rxjs": "~7.8.1", + "tailwind": "4.0.0", "tslib": "^2.8.1", - "zone.js": "~0.14.10" + "zone.js": "~0.15.0" }, "devDependencies": { - "@angular-devkit/build-angular": "^18.2.12", - "@angular/cli": "^18.2.12", - "@angular/compiler-cli": "^18.2.13", + "@angular-devkit/build-angular": "^19.0.5", + "@angular/cli": "^19.0.5", + "@angular/compiler-cli": "^19.0.4", "@types/jasmine": "~5.1.5", "jasmine-core": "~5.2.0", "karma": "~6.4.4", @@ -35,4 +38,4 @@ "karma-jasmine-html-reporter": "~2.1.0", "typescript": "~5.5.4" } -} +} \ No newline at end of file diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 593c1d8..1f55f42 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -4,11 +4,10 @@ import { RouterOutlet } from '@angular/router'; import {EmployeeListComponent} from "./employee-list/employee-list.component"; @Component({ - selector: 'app-root', - standalone: true, - imports: [CommonModule, EmployeeListComponent], - templateUrl: './app.component.html', - styleUrl: './app.component.css' + selector: 'app-root', + imports: [CommonModule, EmployeeListComponent], + templateUrl: './app.component.html', + styleUrl: './app.component.css' }) export class AppComponent { title = 'lf10StarterNew'; diff --git a/src/app/app.config.ts b/src/app/app.config.ts index bbc46f2..bbb5610 100644 --- a/src/app/app.config.ts +++ b/src/app/app.config.ts @@ -3,7 +3,8 @@ import { provideRouter } from '@angular/router'; import { routes } from './app.routes'; import {provideHttpClient, withInterceptorsFromDi} from "@angular/common/http"; +import { provideAnimationsAsync } from '@angular/platform-browser/animations/async'; export const appConfig: ApplicationConfig = { - providers: [provideRouter(routes), provideHttpClient(withInterceptorsFromDi())] + providers: [provideRouter(routes), provideHttpClient(withInterceptorsFromDi()), provideAnimationsAsync()] }; diff --git a/src/app/employee-list/employee-list.component.ts b/src/app/employee-list/employee-list.component.ts index 2d3a597..983cb98 100644 --- a/src/app/employee-list/employee-list.component.ts +++ b/src/app/employee-list/employee-list.component.ts @@ -5,11 +5,10 @@ import {HttpClient, HttpHeaders} from "@angular/common/http"; import {Employee} from "../Employee"; @Component({ - selector: 'app-employee-list', - standalone: true, - imports: [CommonModule], - templateUrl: './employee-list.component.html', - styleUrl: './employee-list.component.css' + selector: 'app-employee-list', + imports: [CommonModule], + templateUrl: './employee-list.component.html', + styleUrl: './employee-list.component.css' }) export class EmployeeListComponent { bearer = 'eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICIzUFQ0dldiNno5MnlQWk1EWnBqT1U0RjFVN0lwNi1ELUlqQWVGczJPbGU0In0.eyJleHAiOjE3MzM5MTQ5MjgsImlhdCI6MTczMzkxMTMyOCwianRpIjoiMjNhYzMwMmUtYmYxNS00OTRmLWJhYTItNjIzODllYWZkMmZhIiwiaXNz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--git a/src/index.html b/src/index.html index dfd88fd..625b64b 100644 --- a/src/index.html +++ b/src/index.html @@ -6,8 +6,10 @@ + + - + diff --git a/src/styles.css b/src/styles.css index 90d4ee0..7e7239a 100644 --- a/src/styles.css +++ b/src/styles.css @@ -1 +1,4 @@ /* You can add global styles to this file, and also import other style files */ + +html, body { height: 100%; } +body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }