Skip to content

Commit 58f0db9

Browse files
authored
chore: update angular to 19 (#3280)
* chore: update angular packages to 19 versions * chore: update angular firebase to 19 versions * chore: update angular eslint to 19 versions * chore: update angular cdk to 19 versions * chore: update @schematics/angular to 19 versions * chore: update angular to 19 versions in framework packages * chore: update angular to 19 versions packages-smoke * chore: update @angular-eslint/schematics to 19 versions in packages-smoke * chore: update typescript in packages-smoke * chore: update @schematics/angular to 19v in packages-smoke * chore: update @angular/cdk to 19v in packages-smoke * chore: update app.module.ts in packages-smoke
1 parent 6b53c71 commit 58f0db9

File tree

528 files changed

+14337
-16904
lines changed

Some content is hidden

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

528 files changed

+14337
-16904
lines changed

.github/workflows/deploy-docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v3
1414
- uses: actions/setup-node@v3
1515
with:
16-
node-version: 18.19.0
16+
node-version: 18.19.1
1717
cache: 'npm'
1818
- run: npm ci
1919
- run: npm run docs:gh-pages

.github/workflows/pr-check.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- uses: actions/setup-node@v3
1313
with:
14-
node-version: 18.19.0
14+
node-version: 18.19.1
1515
cache: 'npm'
1616
- run: npm ci
1717
- run: npm run build:packages
@@ -27,7 +27,7 @@ jobs:
2727
- uses: actions/checkout@v3
2828
- uses: actions/setup-node@v3
2929
with:
30-
node-version: 18.19.0
30+
node-version: 18.19.1
3131
cache: 'npm'
3232
- run: |
3333
npm ci
@@ -40,7 +40,7 @@ jobs:
4040
- uses: actions/checkout@v3
4141
- uses: actions/setup-node@v3
4242
with:
43-
node-version: 18.19.0
43+
node-version: 18.19.1
4444
- run: npm ci
4545
- run: npm run docs:build
4646
build-playground:
@@ -50,7 +50,7 @@ jobs:
5050
- uses: actions/checkout@v3
5151
- uses: actions/setup-node@v3
5252
with:
53-
node-version: 18.19.0
53+
node-version: 18.19.1
5454
- run: npm ci
5555
- uses: actions/download-artifact@v2
5656
with:
@@ -104,7 +104,7 @@ jobs:
104104
- uses: actions/checkout@v3
105105
- uses: actions/setup-node@v3
106106
with:
107-
node-version: 18.19.0
107+
node-version: 18.19.1
108108
- run: npm ci
109109
- uses: actions/download-artifact@v2
110110
with:
@@ -136,7 +136,7 @@ jobs:
136136
- uses: actions/checkout@v3
137137
- uses: actions/setup-node@v3
138138
with:
139-
node-version: 18.19.0
139+
node-version: 18.19.1
140140
- uses: actions/download-artifact@v2
141141
with:
142142
name: built-packages

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.19.0
1+
18.19.1

angular.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -90,21 +90,21 @@
9090
"builder": "@angular-devkit/build-angular:dev-server",
9191
"configurations": {
9292
"production": {
93-
"browserTarget": "playground:build:production"
93+
"buildTarget": "playground:build:production"
9494
},
9595
"production-wp": {
96-
"browserTarget": "playground:build:production-wp"
96+
"buildTarget": "playground:build:production-wp"
9797
},
9898
"development": {
99-
"browserTarget": "playground:build:development"
99+
"buildTarget": "playground:build:development"
100100
}
101101
},
102102
"defaultConfiguration": "development"
103103
},
104104
"extract-i18n": {
105105
"builder": "@angular-devkit/build-angular:extract-i18n",
106106
"options": {
107-
"browserTarget": "playground:build"
107+
"buildTarget": "playground:build"
108108
}
109109
},
110110
"test": {
@@ -279,18 +279,18 @@
279279
"builder": "@angular-devkit/build-angular:dev-server",
280280
"configurations": {
281281
"production": {
282-
"browserTarget": "docs:build:production"
282+
"buildTarget": "docs:build:production"
283283
},
284284
"development": {
285-
"browserTarget": "docs:build:development"
285+
"buildTarget": "docs:build:development"
286286
}
287287
},
288288
"defaultConfiguration": "development"
289289
},
290290
"extract-i18n": {
291291
"builder": "@angular-devkit/build-angular:extract-i18n",
292292
"options": {
293-
"browserTarget": "docs:build"
293+
"buildTarget": "docs:build"
294294
}
295295
},
296296
"test": {

docs/app/@theme/components/color-swatch/color-swatch.directive.ts

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { Directive, ElementRef, AfterViewInit } from '@angular/core';
22

33
@Directive({
44
selector: '[ngdColorSwatch]',
5+
standalone: false
56
})
67
export class NgdColorSwatchDirective implements AfterViewInit {
78

docs/app/@theme/components/components-promo/components-promo.component.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import { Component } from '@angular/core';
22

33
@Component({
4-
selector: 'ngd-components-promo',
5-
template: `
4+
selector: 'ngd-components-promo',
5+
template: `
66
<h2>{{ title }}</h2>
77
<p>{{ description }}</p>
88
`,
9-
styleUrls: ['./components-promo.component.scss'],
9+
styleUrls: ['./components-promo.component.scss'],
10+
standalone: false
1011
})
1112
export class NgdComponentsPromoComponent {
1213
title = 'Angular UI components';

docs/app/@theme/components/description/description.directive.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import { AfterViewInit, Directive, ElementRef } from '@angular/core';
22
import * as marked from 'marked';
33

44
@Directive({
5-
selector: '[ngdDescription]',
5+
selector: '[ngdDescription]',
6+
standalone: false
67
})
78
export class NgdDescriptionDirective implements AfterViewInit {
89

Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import { Component } from '@angular/core';
22

33
@Component({
4-
selector: 'ngd-eva',
5-
styleUrls: ['./eva.components.scss'],
6-
templateUrl: './eva.component.html',
4+
selector: 'ngd-eva',
5+
styleUrls: ['./eva.components.scss'],
6+
templateUrl: './eva.component.html',
7+
standalone: false
78
})
89
export class NgdEvaComponent {}
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import { ChangeDetectionStrategy, Component } from '@angular/core';
22

33
@Component({
4-
selector: 'ngd-footer',
5-
styleUrls: ['./footer.component.scss'],
6-
templateUrl: './footer.component.html',
7-
changeDetection: ChangeDetectionStrategy.OnPush,
4+
selector: 'ngd-footer',
5+
styleUrls: ['./footer.component.scss'],
6+
templateUrl: './footer.component.html',
7+
changeDetection: ChangeDetectionStrategy.OnPush,
8+
standalone: false
89
})
910
export class NgdFooterComponent {
1011
}

docs/app/@theme/components/for-business/for-business.component.ts

+6-5
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import { NbDialogService } from '@nebular/theme';
1010
import { NgdHubspotFormDialogComponent } from '../hubspot-form-dialog/hubspot-form-dialog.component';
1111

1212
@Component({
13-
selector: 'ngd-for-business',
14-
template: `
13+
selector: 'ngd-for-business',
14+
template: `
1515
<div class="left">
1616
<h2 [attr.id]="headingId" class="heading h1 text-control">Nebular for business</h2>
1717
<button (click)="openDialog()" class="submit" nbButton status="control">Submit your request</button>
@@ -28,9 +28,10 @@ import { NgdHubspotFormDialogComponent } from '../hubspot-form-dialog/hubspot-fo
2828
</ul>
2929
</div>
3030
`,
31-
exportAs: 'ngdForBusiness',
32-
styleUrls: ['./for-business.component.scss'],
33-
changeDetection: ChangeDetectionStrategy.OnPush,
31+
exportAs: 'ngdForBusiness',
32+
styleUrls: ['./for-business.component.scss'],
33+
changeDetection: ChangeDetectionStrategy.OnPush,
34+
standalone: false
3435
})
3536
export class NgdForBusinessComponent {
3637
readonly headingId: string = 'ngd-for-business-heading';

docs/app/@theme/components/fragment-target/fragment-target.directive.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import { NgdVisibilityService } from '../../../@theme/services';
88
const OBSERVER_OPTIONS = { rootMargin: '-100px 0px 0px' };
99

1010
@Directive({
11-
selector: '[ngdFragment]',
11+
selector: '[ngdFragment]',
12+
standalone: false
1213
})
1314
export class NgdFragmentTargetDirective implements OnInit, OnDestroy {
1415

docs/app/@theme/components/header/header.component.ts

+5-4
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import { map, startWith } from 'rxjs/operators';
66
import { NgdVersionService, Version } from '../../services';
77

88
@Component({
9-
selector: 'ngd-header',
10-
styleUrls: ['./header.component.scss'],
11-
template: `
9+
selector: 'ngd-header',
10+
styleUrls: ['./header.component.scss'],
11+
template: `
1212
<div class="section left">
1313
<button *ngIf="sidebarTag" class="sidebar-toggle" (click)="toggleSidebar()">
1414
<nb-icon icon="menu-2"></nb-icon>
@@ -40,7 +40,8 @@ import { NgdVersionService, Version } from '../../services';
4040
</iframe>
4141
</div>
4242
`,
43-
changeDetection: ChangeDetectionStrategy.OnPush,
43+
changeDetection: ChangeDetectionStrategy.OnPush,
44+
standalone: false
4445
})
4546
export class NgdHeaderComponent implements OnInit {
4647

docs/app/@theme/components/hero/hero.component.ts

+5-4
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import { NbDialogService } from '@nebular/theme';
1010
import { NgdHubspotFormDialogComponent } from '../hubspot-form-dialog/hubspot-form-dialog.component';
1111

1212
@Component({
13-
selector: 'ngd-hero',
14-
styleUrls: ['./hero.component.scss'],
15-
template: `
13+
selector: 'ngd-hero',
14+
styleUrls: ['./hero.component.scss'],
15+
template: `
1616
<div class="block">
1717
<h1>Nebular: Customizable Angular UI Kit</h1>
1818
<p class="hero-promo">
@@ -66,7 +66,8 @@ import { NgdHubspotFormDialogComponent } from '../hubspot-form-dialog/hubspot-fo
6666
</div>
6767
</div>
6868
`,
69-
changeDetection: ChangeDetectionStrategy.OnPush,
69+
changeDetection: ChangeDetectionStrategy.OnPush,
70+
standalone: false
7071
})
7172
export class NgdHeroComponent {
7273

docs/app/@theme/components/hubspot-cta/akveo-services-banner.component.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { Component, ElementRef, Inject, Input, OnInit, ViewChild } from '@angula
22
import { NB_DOCUMENT, NB_WINDOW } from '@nebular/theme';
33

44
@Component({
5-
selector: 'ngd-akveo-services-banner',
6-
template: `
5+
selector: 'ngd-akveo-services-banner',
6+
template: `
77
<span #wrapper class="hs-cta-wrapper" id="hs-cta-wrapper-{{ctaId}}">
88
<span class="hs-cta-node hs-cta-{{ctaId}}" id="hs-cta-{{ctaId}}">
99
<a href="https://cta-redirect.hubspot.com/cta/redirect/2452262/{{ctaId}}" target="_blank">
@@ -17,7 +17,8 @@ import { NB_DOCUMENT, NB_WINDOW } from '@nebular/theme';
1717
</span>
1818
</span>
1919
`,
20-
styleUrls: ['akveo-services-banner.component.scss'],
20+
styleUrls: ['akveo-services-banner.component.scss'],
21+
standalone: false
2122
})
2223

2324
export class AkveoServicesBanner implements OnInit {

docs/app/@theme/components/hubspot-form-dialog/hubspot-form-dialog.component.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { NB_WINDOW, NbDialogRef } from '@nebular/theme';
1010
let formContainerUniqueId = 0;
1111

1212
@Component({
13-
template: `
13+
template: `
1414
<nb-card>
1515
<nb-card-header>
1616
<span>{{ title }}</span>
@@ -23,7 +23,8 @@ let formContainerUniqueId = 0;
2323
</nb-card-body>
2424
</nb-card>
2525
`,
26-
styleUrls: ['./hubspot-form-dialog.component.scss'],
26+
styleUrls: ['./hubspot-form-dialog.component.scss'],
27+
standalone: false
2728
})
2829
export class NgdHubspotFormDialogComponent implements OnInit, AfterViewInit {
2930

docs/app/@theme/components/icon-card/icon-card.component.ts

+5-4
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@ import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
22
import { SafeHtml } from '@angular/platform-browser';
33

44
@Component({
5-
selector: 'ngd-icon-card',
6-
styleUrls: ['./icon-card.component.scss'],
7-
template: `
5+
selector: 'ngd-icon-card',
6+
styleUrls: ['./icon-card.component.scss'],
7+
template: `
88
<div class="icon">
99
<img [src]="icon" />
1010
</div>
1111
<h2>{{ title }}</h2>
1212
<p>{{ description }}</p>
1313
`,
14-
changeDetection: ChangeDetectionStrategy.OnPush,
14+
changeDetection: ChangeDetectionStrategy.OnPush,
15+
standalone: false
1516
})
1617
export class NgdIconCardComponent {
1718

docs/app/@theme/components/page-tabs/page-tabs.component.ts

+5-4
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import { ActivatedRoute } from '@angular/router';
1010
import { Observable, of as observableOf, combineLatest, Subject } from 'rxjs';
1111

1212
@Component({
13-
selector: 'ngd-page-tabs',
14-
styleUrls: ['./page-tabs.component.scss'],
15-
template: `
13+
selector: 'ngd-page-tabs',
14+
styleUrls: ['./page-tabs.component.scss'],
15+
template: `
1616
<a *ngFor="let item of items$ | async" [class.selected]="item.selected" [routerLink]="['../', item.tab]">
1717
<div class="text-container">
1818
<nb-icon [icon]="item.icon"></nb-icon>
@@ -21,7 +21,8 @@ import { Observable, of as observableOf, combineLatest, Subject } from 'rxjs';
2121
<i class="line"></i>
2222
</a>
2323
`,
24-
changeDetection: ChangeDetectionStrategy.OnPush,
24+
changeDetection: ChangeDetectionStrategy.OnPush,
25+
standalone: false
2526
})
2627
export class NgdPageTabsComponent implements OnDestroy {
2728

docs/app/@theme/components/page-toc/page-toc.component.ts

+5-4
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import { ActivatedRoute } from '@angular/router';
1010
import { combineLatest, Subject, Observable } from 'rxjs';
1111

1212
@Component({
13-
selector: 'ngd-page-toc',
14-
styleUrls: ['./page-toc.component.scss'],
15-
template: `
13+
selector: 'ngd-page-toc',
14+
styleUrls: ['./page-toc.component.scss'],
15+
template: `
1616
<ng-container *ngIf="items?.length > 0">
1717
<h4>Overview</h4>
1818
<ul>
@@ -22,7 +22,8 @@ import { combineLatest, Subject, Observable } from 'rxjs';
2222
</ul>
2323
</ng-container>
2424
`,
25-
changeDetection: ChangeDetectionStrategy.OnPush,
25+
changeDetection: ChangeDetectionStrategy.OnPush,
26+
standalone: false
2627
})
2728
export class NgdPageTocComponent implements OnDestroy {
2829

docs/app/@theme/components/search/search.component.ts

+5-4
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ import { AfterViewInit, ChangeDetectionStrategy, Component, Inject } from '@angu
22
import { NB_WINDOW } from '@nebular/theme';
33

44
@Component({
5-
selector: 'ngd-search',
6-
styleUrls: ['./search.component.scss'],
7-
template: `
5+
selector: 'ngd-search',
6+
styleUrls: ['./search.component.scss'],
7+
template: `
88
<nb-icon icon="search-outline"></nb-icon>
99
<input type="text" nbInput id="doc-search" placeholder="Start typing...">
1010
`,
11-
changeDetection: ChangeDetectionStrategy.OnPush,
11+
changeDetection: ChangeDetectionStrategy.OnPush,
12+
standalone: false
1213
})
1314
export class NgdSearchComponent implements AfterViewInit {
1415

0 commit comments

Comments
 (0)