Skip to content

Commit 9b75609

Browse files
committed
upgraded ng-cli version to 11.2.12
1 parent ebe09cd commit 9b75609

File tree

5 files changed

+67
-12
lines changed

5 files changed

+67
-12
lines changed

changelog.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# Changelog
22

3+
## [1.0.7] - 05/05/2021
4+
### Updated
5+
6+
- Updated the Angular builder;
7+
- Updated the Angular CLI;
8+
- Update Angular Material;
9+
10+
###Updated packages
11+
@angular/animations: 10.2.5 -> 11.2.12
12+
@angular/cdk: 9.2.4 -> 11.2.11
13+
@angular/common: 10.2.5 -> 11.2.12
14+
@angular/compiler: 10.2.5 -> 11.2.12
15+
@angular/core: 10.2.5 -> 11.2.12
16+
@angular/forms: 10.2.5 -> 11.2.12
17+
@angular/material: 9.2.4 -> 11.2.11
18+
@angular/platform-browser: 10.2.5 -> 11.2.12
19+
@angular/platform-browser-dynamic: 10.2.5 -> 11.2.12
20+
@angular/router: 10.2.5 -> 11.2.12
21+
@angular-devkit/build-angular: 0.1002.3 -> 0.1102.11
22+
@angular/cli: 10.2.3 -> 11.2.11
23+
@angular/compiler-cli: 10.2.5 -> 11.2.12
24+
@angular/language-service: 10.2.5 -> 11.2.12
25+
@types/jasmine: 3.5.14 -> 3.6.0
26+
codelyzer: 5.1.2 -> 6.0.0
27+
typescript: 4.0.7 -> 4.1.5
28+
329
## [1.0.6]
430

531
### Fixed

package-lock.json

Lines changed: 11 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-material-admin",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve",
@@ -12,12 +12,12 @@
1212
"dependencies": {
1313
"@agm/core": "^1.1.0",
1414
"@angular/animations": "^11.2.12",
15-
"@angular/cdk": "^9.2.4",
15+
"@angular/cdk": "^11.2.11",
1616
"@angular/common": "~11.2.12",
1717
"@angular/compiler": "~11.2.12",
1818
"@angular/core": "~11.2.12",
1919
"@angular/forms": "~11.2.12",
20-
"@angular/material": "^9.2.4",
20+
"@angular/material": "^11.2.11",
2121
"@angular/platform-browser": "~11.2.12",
2222
"@angular/platform-browser-dynamic": "~11.2.12",
2323
"@angular/router": "~11.2.12",

src/app/modules/auth/pipes/year.pipe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { DatePipe } from '@angular/common';
55
name: 'year'
66
})
77
export class YearPipe extends DatePipe implements PipeTransform {
8-
transform(date: Date): string {
8+
transform(date: Date): any {
99
return super.transform(date, 'y');
1010
}
1111
}

src/custom-theme.scss

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,31 @@ $ama-radio-button-theme: ama-light-theme($ama-primary, $ama-accent, $ama-warn, $
260260
/** Chip **/
261261
/**********************************/
262262

263+
@mixin custom-mat-chips-color($foreground, $background) {
264+
background-color: $background;
265+
color: $foreground;
266+
267+
.mat-chip-remove {
268+
color: $foreground;
269+
opacity: 0.4;
270+
}
271+
}
272+
273+
@mixin _mat-theme-elevation($zValue, $theme, $opacity: $mat-elevation-opacity) {
274+
$foreground: map-get($theme, foreground);
275+
$elevation-color: map-get($foreground, elevation);
276+
$elevation-color-or-default: if($elevation-color == null, $mat-elevation-color, $elevation-color);
277+
278+
@include mat-elevation($zValue, $elevation-color-or-default, $opacity);
279+
}
280+
281+
@mixin mat-chips-theme-color($palette) {
282+
@include custom-mat-chips-color(mat-color($palette, default-contrast), mat-color($palette));
283+
284+
.mat-ripple-element {
285+
@include _mat-chips-ripple-background($palette, default-contrast, 0.1);
286+
}
287+
}
263288

264289
$ama-chip-theme: ama-light-theme($ama-primary, $ama-accent, $ama-warn, $ama-success, $ama-info, $ama-primary-light);
265290

@@ -277,7 +302,7 @@ $ama-chip-theme: ama-light-theme($ama-primary, $ama-accent, $ama-warn, $ama-succ
277302
$unselected-foreground: mat-color($foreground, text);
278303

279304
.mat-chip.mat-standard-chip {
280-
@include mat-chips-color($unselected-foreground, $unselected-background);
305+
@include custom-mat-chips-color($unselected-foreground, $unselected-background);
281306

282307
&:not(.mat-chip-disabled) {
283308
&:active {

0 commit comments

Comments
 (0)