Skip to content

Commit 3213de9

Browse files
committed
chore: update Angular and Material to v18
1 parent 14dc7cb commit 3213de9

File tree

3 files changed

+2721
-2928
lines changed

3 files changed

+2721
-2928
lines changed

package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -23,36 +23,36 @@
2323
},
2424
"private": true,
2525
"dependencies": {
26-
"@acrodata/gui": "^1.0.0",
27-
"@angular/animations": "^17.3.0",
28-
"@angular/cdk": "^17.3.0",
29-
"@angular/common": "^17.3.0",
30-
"@angular/compiler": "^17.3.0",
31-
"@angular/core": "^17.3.0",
32-
"@angular/forms": "^17.3.0",
33-
"@angular/material": "^17.3.0",
34-
"@angular/platform-browser": "^17.3.0",
35-
"@angular/platform-browser-dynamic": "^17.3.0",
36-
"@angular/router": "^17.3.0",
26+
"@acrodata/gui": "^2.0.0",
27+
"@angular/animations": "^18.2.8",
28+
"@angular/cdk": "^18.2.8",
29+
"@angular/common": "^18.2.8",
30+
"@angular/compiler": "^18.2.8",
31+
"@angular/core": "^18.2.8",
32+
"@angular/forms": "^18.2.8",
33+
"@angular/material": "^18.2.8",
34+
"@angular/platform-browser": "^18.2.8",
35+
"@angular/platform-browser-dynamic": "^18.2.8",
36+
"@angular/router": "^18.2.8",
3737
"@codemirror/language-data": "^6.5.1",
3838
"@codemirror/merge": "^6.6.2",
3939
"@codemirror/theme-one-dark": "^6.1.2",
40-
"@ng-matero/extensions": "^17.3.0",
40+
"@ng-matero/extensions": "^18.2.0",
4141
"codemirror": "^6.0.1",
4242
"lodash-es": "^4.17.21",
4343
"rxjs": "~7.8.0",
4444
"tslib": "^2.3.0",
45-
"zone.js": "~0.14.0"
45+
"zone.js": "~0.14.10"
4646
},
4747
"devDependencies": {
48-
"@angular-devkit/build-angular": "^17.3.0",
49-
"@angular-eslint/builder": "^17.5.0",
50-
"@angular-eslint/eslint-plugin": "^17.5.0",
51-
"@angular-eslint/eslint-plugin-template": "^17.5.0",
52-
"@angular-eslint/schematics": "^17.5.0",
53-
"@angular-eslint/template-parser": "^17.5.0",
54-
"@angular/cli": "^17.3.0",
55-
"@angular/compiler-cli": "^17.3.0",
48+
"@angular-devkit/build-angular": "^18.2.8",
49+
"@angular-eslint/builder": "^18.3.1",
50+
"@angular-eslint/eslint-plugin": "^18.3.1",
51+
"@angular-eslint/eslint-plugin-template": "^18.3.1",
52+
"@angular-eslint/schematics": "^18.3.1",
53+
"@angular-eslint/template-parser": "^18.3.1",
54+
"@angular/cli": "^18.2.8",
55+
"@angular/compiler-cli": "^18.2.8",
5656
"@commitlint/cli": "^19.3.0",
5757
"@commitlint/config-conventional": "^19.2.0",
5858
"@types/jasmine": "~5.1.0",
@@ -70,7 +70,7 @@
7070
"karma-jasmine": "~5.1.0",
7171
"karma-jasmine-html-reporter": "~2.1.0",
7272
"lint-staged": "^15.2.0",
73-
"ng-packagr": "^17.3.0",
73+
"ng-packagr": "^18.2.1",
7474
"prettier": "^3.2.0",
7575
"stylelint": "^16.5.0",
7676
"stylelint-config-recommended-scss": "^14.0.0",

projects/dev-app/src/styles.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
@include mat.core();
66

7-
$primary: mat.define-palette(mat.$indigo-palette, 500);
8-
$accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
9-
$theme: mat.define-light-theme(
7+
$primary: mat.m2-define-palette(mat.$m2-indigo-palette, 500);
8+
$accent: mat.m2-define-palette(mat.$m2-pink-palette, A200, A100, A400);
9+
$theme: mat.m2-define-light-theme(
1010
(
1111
color: (
1212
primary: $primary,
1313
accent: $accent,
1414
),
15-
typography: mat.define-typography-config(),
15+
typography: mat.m2-define-typography-config(),
1616
density: 0,
1717
)
1818
);

0 commit comments

Comments
 (0)