Skip to content

Commit 4be66a9

Browse files
authored
Merge pull request #112 from creativetimofficial/feature/v2.6.0
Feature/v2.6.0
2 parents dfc5dec + 472a6ef commit 4be66a9

19 files changed

+104
-63
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [2.6.0] - 2021-07-15
2+
### Updates
3+
- update to Angular 12
4+
- update all dependencies to match Angular 12 version
5+
6+
When you build and serve your app it is possible that some warnings to appear on your terminal. Those will NOT affect your product.
7+
18
## [2.5.0] - 2020-10-07
29
### Updates
310
- update to Angular 10

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,4 +245,4 @@ Instagram: <https://www.instagram.com/CreativeTimOfficial>
245245

246246
[CHANGELOG]: ./CHANGELOG.md
247247

248-
[version-badge]: https://img.shields.io/badge/version-2.5.0-blue.svg
248+
[version-badge]: https://img.shields.io/badge/version-2.6.0-blue.svg

angular.json

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,16 @@
4343
},
4444
"configurations": {
4545
"production": {
46-
"optimization": true,
46+
"optimization": {
47+
"scripts": true,
48+
"styles": {
49+
"minify": false,
50+
"inlineCritical": false
51+
},
52+
"fonts": true
53+
},
4754
"outputHashing": "all",
4855
"sourceMap": false,
49-
"extractCss": true,
5056
"namedChunks": false,
5157
"aot": true,
5258
"extractLicenses": true,
@@ -58,7 +64,19 @@
5864
"with": "src/environments/environment.prod.ts"
5965
}
6066
]
61-
}
67+
},
68+
"development": {
69+
"buildOptimizer": false,
70+
"optimization": {
71+
"scripts": true,
72+
"styles": {
73+
"minify": false,
74+
"inlineCritical": true
75+
},
76+
"fonts": true
77+
},
78+
"outputHashing": "all",
79+
}
6280
}
6381
},
6482
"serve": {
@@ -69,8 +87,12 @@
6987
"configurations": {
7088
"production": {
7189
"browserTarget": "material-dashboard-angular:build:production"
90+
},
91+
"development": {
92+
"browserTarget": "material-dashboard-angular:build:development"
7293
}
73-
}
94+
},
95+
"defaultConfiguration": "production"
7496
},
7597
"extract-i18n": {
7698
"builder": "@angular-devkit/build-angular:extract-i18n",

documentation/css/material-dashboard.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*!
22

33
=========================================================
4-
* Material Dashboard - v2.0.0
4+
* Material Dashboard - v2.6.0
55
=========================================================
66

77
* Product Page: http://www.creative-tim.com/product/now-ui-dashboard
8-
* Copyright 2018 Creative Tim (http://www.creative-tim.com)
8+
* Copyright 2021 Creative Tim (http://www.creative-tim.com)
99
* Licensed under MIT (https://github.com/creativetimofficial/material-dashboard/blob/master/LICENSE.md)
1010

1111
* Designed by www.invisionapp.com Coded by www.creative-tim.com

documentation/tutorial-components.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
<h1>Material Dashboard Angular
111111
</h1>
112112

113-
<h3 class="title">Documentation v2.5.0</h3>
113+
<h3 class="title">Documentation v2.6.0</h3>
114114
<br/>
115115
<a href="https://demos.creative-tim.com/material-dashboard-angular2/documentation/tutorial" class="btn btn-white btn-round">View documentation</a>
116116
</div>

package.json

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "material-dashboard-angular",
3-
"version": "2.5.0",
3+
"version": "2.6.0",
44
"license": "MIT",
55
"scripts": {
66
"ng": "ng",
@@ -18,61 +18,62 @@
1818
"private": true,
1919
"dependencies": {
2020
"@agm/core": "^1.1.0",
21-
"@angular/animations": "10.1.4",
22-
"@angular/cdk": "10.2.4",
23-
"@angular/common": "10.1.4",
24-
"@angular/compiler": "10.1.4",
25-
"@angular/core": "10.1.4",
26-
"@angular/forms": "10.1.4",
27-
"@angular/material": "10.2.4",
28-
"@angular/platform-browser": "10.1.4",
29-
"@angular/platform-browser-dynamic": "10.1.4",
30-
"@angular/platform-server": "10.1.4",
31-
"@angular/router": "10.1.4",
32-
"ajv": "6.12.5",
21+
"@angular/animations": "12.1.2",
22+
"@angular/cdk": "12.1.2",
23+
"@angular/common": "12.1.2",
24+
"@angular/compiler": "12.1.2",
25+
"@angular/core": "12.1.2",
26+
"@angular/forms": "12.1.2",
27+
"@angular/material": "12.1.2",
28+
"@angular/platform-browser": "12.1.2",
29+
"@angular/platform-browser-dynamic": "12.1.2",
30+
"@angular/platform-server": "12.1.2",
31+
"@angular/router": "12.1.2",
32+
"ajv": "8.6.1",
3333
"arrive": "2.4.1",
3434
"bootstrap": "4.5.2",
3535
"bootstrap-material-design": "4.1.3",
3636
"bootstrap-notify": "3.1.3",
3737
"chartist": "0.11.4",
3838
"classlist.js": "1.1.20150312",
39-
"core-js": "3.6.5",
40-
"eslint": "^7.10.0",
39+
"core-js": "3.15.2",
40+
"eslint": "^7.30.0",
4141
"express": "4.17.1",
42-
"googleapis": "61.0.0",
42+
"googleapis": "81.0.0",
4343
"hammerjs": "2.0.8",
44-
"jquery": "3.5.1",
44+
"jquery": "3.6.0",
4545
"moment": "2.29.1",
4646
"perfect-scrollbar": "1.5.0",
4747
"popper.js": "1.16.1",
4848
"rxjs": "6.6.3",
4949
"rxjs-compat": "6.6.3",
5050
"web-animations-js": "2.3.2",
51-
"zone.js": "0.11.1"
51+
"zone.js": "0.11.4"
5252
},
5353
"devDependencies": {
54-
"@angular-devkit/build-angular": "0.1001.4",
55-
"@angular/cli": "10.1.4",
56-
"@angular/compiler-cli": "10.1.4",
57-
"@angular/language-service": "10.1.4",
54+
"@angular-devkit/build-angular": "12.1.2",
55+
"@angular/cli": "12.1.2",
56+
"@angular/compiler-cli": "12.1.2",
57+
"@angular/language-service": "12.1.2",
5858
"@types/bootstrap": "4.5.0",
59-
"@types/chartist": "0.11.0",
60-
"@types/googlemaps": "3.39.14",
61-
"@types/jasmine": "3.5.14",
62-
"@types/jquery": "3.5.2",
63-
"@types/node": "14.11.5",
64-
"codelyzer": "6.0.1",
65-
"jasmine-core": "3.6.0",
66-
"jasmine-spec-reporter": "6.0.0",
67-
"karma": "5.2.3",
59+
"@types/chartist": "0.11.1",
60+
"@types/googlemaps": "3.43.3",
61+
"@types/jasmine": "3.8.1",
62+
"@types/jquery": "3.5.6",
63+
"@types/node": "16.3.2",
64+
"codelyzer": "6.0.2",
65+
"jasmine-core": "3.8.0",
66+
"jasmine-spec-reporter": "7.0.0",
67+
"karma": "6.3.4",
6868
"karma-chrome-launcher": "3.1.0",
6969
"karma-cli": "2.0.0",
7070
"karma-coverage-istanbul-reporter": "3.0.3",
7171
"karma-jasmine": "4.0.1",
72-
"karma-jasmine-html-reporter": "1.5.4",
72+
"karma-jasmine-html-reporter": "1.7.0",
7373
"protractor": "7.0.0",
74-
"ts-node": "9.0.0",
74+
"sass": "1.32.13",
75+
"ts-node": "10.1.0",
7576
"tslint": "6.1.3",
76-
"typescript": "4.0.3"
77+
"typescript": "4.3.5"
7778
}
7879
}

src/app/app.routing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const routes: Routes =[
1515
component: AdminLayoutComponent,
1616
children: [{
1717
path: '',
18-
loadChildren: './layouts/admin-layout/admin-layout.module#AdminLayoutModule'
18+
loadChildren: () => import('./layouts/admin-layout/admin-layout.module').then(m => m.AdminLayoutModule)
1919
}]
2020
}
2121
];

src/app/icons/icons.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
<div class="card-header card-header-danger">
66
<h4 class="card-title">Material Design Icons</h4>
77
<p class="card-category">Handcrafted by our friends from
8-
<a target="_blank" href="https://design.google.com/icons/">Google</a>
8+
<a target="_blank" href="https://fonts.google.com/icons">Google</a>
99
</p>
1010
</div>
1111
<div class="row">
1212
<div class="col-md-12">
1313
<div class="card-body">
1414
<div class="iframe-container d-none d-lg-block">
15-
<iframe src="https://design.google.com/icons/">
15+
<iframe src="https://material.io/design/iconography/system-icons.html#grid-and-keyline-shapes">
1616
<p>Your browser does not support iframes.</p>
1717
</iframe>
1818
</div>
1919
<div class="col-md-12 d-none d-sm-block d-md-block d-lg-none d-block d-sm-none text-center ml-auto mr-auto">
2020
<h5>The icons are visible on Desktop mode inside an iframe. Since the iframe is not working on Mobile and Tablets please visit the icons on their original page on Google. Check the
21-
<a href="https://design.google.com/icons/" target="_blank">Material Icons</a>
21+
<a href="https://fonts.google.com/icons" target="_blank">Material Icons</a>
2222
</h5>
2323
</div>
2424
</div>

src/assets/css/demo.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*!
22
33
=========================================================
4-
* Material Dashboard Angular - v2.4.0
4+
* Material Dashboard Angular - v2.6.0
55
=========================================================
66
77
* Product Page: https://www.creative-tim.com/product/material-dashboard-angular2
8-
* Copyright 2019 Creative Tim (https://www.creative-tim.com)
8+
* Copyright 2021 Creative Tim (https://www.creative-tim.com)
99
* Licensed under MIT (https://github.com/creativetimofficial/material-dashboard-angular2/blob/master/LICENSE.md)
1010
1111
* Coded by Creative Tim

src/assets/scss/core/_dropdown.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use "sass:math";
2+
13
// Menus https://www.google.com/design/spec/components/menus.html#menus-specs
24
// Dropdown buttons (mobile and desktop) https://www.google.com/design/spec/components/buttons.html#buttons-dropdown-buttons
35

@@ -90,7 +92,7 @@
9092
text-decoration: none;
9193

9294
font-size: .8125rem;
93-
border-radius: $border-radius / 2;
95+
border-radius: math.div($border-radius, 2);
9496
margin: 0 $bmd-dropdown-margin-y;
9597
@include transitions($fast-transition-time, $transition-linear);
9698

0 commit comments

Comments
 (0)