Skip to content

Commit d9fc3aa

Browse files
jfcerepkurcxpkurc
authored
feat!: update to angular 19 (#558)
* feat!: update to angular 19 (#557) Co-authored-by: pkurc <[email protected]> * Adjustments to match newly created Angular 19 project * Fix type-check commands --------- Co-authored-by: pkurcx <[email protected]> Co-authored-by: pkurc <[email protected]>
1 parent 0cbe035 commit d9fc3aa

22 files changed

+2037
-1890
lines changed

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ trim_trailing_whitespace = true
1010

1111
[*.ts]
1212
quote_type = single
13+
ij_typescript_use_double_quotes = false
1314

1415
[*.md]
1516
max_line_length = off

demo/src/app/app.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import { isTheme, Theme } from './app.models';
1717
templateUrl: './app.component.html',
1818
styleUrls: ['./app.component.scss'],
1919
changeDetection: ChangeDetectionStrategy.OnPush,
20-
standalone: true,
2120
imports: [
2221
FlexModule,
2322
MatButtonModule,

demo/src/app/bindings/bindings.component.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import { ScrollspyNavLayoutComponent } from '@shared/scrollspy-nav-layout';
1313
templateUrl: './bindings.component.html',
1414
styleUrls: ['./bindings.component.scss'],
1515
changeDetection: ChangeDetectionStrategy.OnPush,
16-
standalone: true,
1716
imports: [
1817
AsyncPipe,
1918
FlexModule,
@@ -33,7 +32,7 @@ export default class BindingsComponent implements OnInit {
3332

3433
// variable-binding
3534
markdown =
36-
`### Markdown example
35+
`### Markdown example
3736
---
3837
This is an **example** where we bind a variable to the \`markdown\` component that is also bound to a textarea.
3938
@@ -50,7 +49,7 @@ public markdown = "# Markdown";
5049

5150
// pipe
5251
typescriptMarkdown =
53-
`import { Component } from '@angular/core';
52+
`import { Component } from '@angular/core';
5453
5554
@Component({
5655
selector: 'markdown-demo',

demo/src/app/cheat-sheet/cheat-sheet.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { ScrollspyNavLayoutComponent } from '@shared/scrollspy-nav-layout';
99
templateUrl: './cheat-sheet.component.html',
1010
styleUrls: ['./cheat-sheet.component.scss'],
1111
changeDetection: ChangeDetectionStrategy.OnPush,
12-
standalone: true,
1312
imports: [
1413
AsyncPipe,
1514
MarkdownComponent,

demo/src/app/get-started/get-started.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { ScrollspyNavLayoutComponent } from '@shared/scrollspy-nav-layout';
77
templateUrl: './get-started.component.html',
88
styleUrls: ['./get-started.component.scss'],
99
changeDetection: ChangeDetectionStrategy.OnPush,
10-
standalone: true,
1110
imports: [
1211
MarkdownComponent,
1312
ScrollspyNavLayoutComponent,

demo/src/app/plugins/plugins.component.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import { ScrollspyNavLayoutComponent } from '@shared/scrollspy-nav-layout';
1313
templateUrl: './plugins.component.html',
1414
styleUrls: ['./plugins.component.scss'],
1515
changeDetection: ChangeDetectionStrategy.OnPush,
16-
standalone: true,
1716
imports: [
1817
FlexModule,
1918
FormsModule,
@@ -39,7 +38,7 @@ export default class PluginsComponent implements OnInit {
3938
emojiMarkdown = '# I :heart: ngx-markdown';
4039

4140
katexMarkdown =
42-
`#### \`katex\` directive example
41+
`#### \`katex\` directive example
4342
4443
\`\`\`latex
4544
f(x) = \\int_{-\\infty}^\\infty \\hat f(\\xi) e^{2 \\pi i \\xi x} d\\xi
@@ -48,7 +47,7 @@ f(x) = \\int_{-\\infty}^\\infty \\hat f(\\xi) e^{2 \\pi i \\xi x} d\\xi
4847
$f(x) = \\int_{-\\infty}^\\infty \\hat f(\\xi) e^{2 \\pi i \\xi x} d\\xi$`;
4948

5049
mermaidMarkdown =
51-
`\`\`\`mermaid
50+
`\`\`\`mermaid
5251
graph TD;
5352
A-->B;
5453
A-->C;

demo/src/app/rerender/rerender.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { ScrollspyNavLayoutComponent } from '@shared/scrollspy-nav-layout';
1111
templateUrl: './rerender.component.html',
1212
styleUrls: ['./rerender.component.scss'],
1313
changeDetection: ChangeDetectionStrategy.OnPush,
14-
standalone: true,
1514
imports: [
1615
FlexModule,
1716
FormsModule,

demo/src/app/shared/clipboard-button/clipboard-button.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { MatSnackBar } from '@angular/material/snack-bar';
77
templateUrl: './clipboard-button.component.html',
88
styleUrls: ['./clipboard-button.component.scss'],
99
changeDetection: ChangeDetectionStrategy.OnPush,
10-
standalone: true,
1110
imports: [MatButtonModule],
1211
})
1312
export class ClipboardButtonComponent {

demo/src/app/shared/scrollspy-nav-layout/scrollspy-nav-layout.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import { ZOOM_ANIMATION } from './scrollspy-nav-layout.animation';
1414
templateUrl: './scrollspy-nav-layout.component.html',
1515
styleUrls: ['./scrollspy-nav-layout.component.scss'],
1616
changeDetection: ChangeDetectionStrategy.OnPush,
17-
standalone: true,
1817
imports: [
1918
ExtendedModule,
2019
FlexModule,

demo/src/app/shared/scrollspy-nav/scrollspy-nav.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import { first } from 'rxjs/operators';
1818
templateUrl: './scrollspy-nav.component.html',
1919
styleUrls: ['./scrollspy-nav.component.scss'],
2020
changeDetection: ChangeDetectionStrategy.OnPush,
21-
standalone: true,
2221
imports: [
2322
NgFor,
2423
RouterLink,

0 commit comments

Comments
 (0)