Skip to content

Commit 60cdf26

Browse files
authored
Merge pull request #140 from coreui/dev-vnext
v2.4.0
2 parents 11194e5 + fce5b23 commit 60cdf26

File tree

9 files changed

+105
-59
lines changed

9 files changed

+105
-59
lines changed

CHANGELOG.md

+30
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
## [angular](./README.md) version `changelog`
22

3+
###### `v2.4.0`
4+
- fix(sidebar): navItems reassignment bug #126, #42
5+
- refactor(default-layout): use `cui-breadcrumb` instead of deprecated `app-breadcrumb` (migrate when ready)
6+
- fix(polyfills.ts): ie issues add `core-js/es7/array` and `core-js/es7/object`
7+
- update: `@angular/animations` to `^7.2.5`
8+
- update: `@angular/common` to `^7.2.5`
9+
- update: `@angular/compiler` to `^7.2.5`
10+
- update: `@angular/core` to `^7.2.5`
11+
- update: `@angular/forms` to `^7.2.5`
12+
- update: `@angular/http` to `^7.2.5`
13+
- update: `@angular/platform-browser` to `^7.2.5`
14+
- update: `@angular/platform-browser-dynamic` to `^7.2.5`
15+
- update: `@angular/router` to `^7.2.5`
16+
- update: `@coreui/angular` to `^2.4.1`
17+
- update: `bootstrap` to `^4.3.1`
18+
- update: `core-js` to `^2.6.5`
19+
- update: `moment` to `^2.24.0`
20+
- update: `ngx-bootstrap` to `^3.2.0`
21+
- update: `rxjs` to `^6.4.0`
22+
- update: `tsickle` to `^0.34.3`
23+
- update: `zone.js` to `^0.8.29`
24+
- update: `@angular-devkit/build-angular` to `^0.13.2`
25+
- update: `@angular/cli` to `^7.3.2`
26+
- update: `@angular/compiler-cli` to `^7.2.5`
27+
- update: `@angular/language-service` to `^7.2.5`
28+
- update: `@types/jasmine` to `^3.3.9`
29+
- update: `@types/node` to `^10.12.26`
30+
- update: `karma` to `^4.0.0`
31+
- update: `karma-coverage-istanbul-reporter` to `^2.0.5`
32+
333
###### `v2.2.4`
434
- refactor(colors): use 'DOCUMENT' of '@angular/common'
535
- refactor(default-layout): use 'DOCUMENT' of '@angular/common' #133 - thanks @damingerdai

e2e/app.po.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ export class CoreUIPage {
66
}
77

88
getParagraphText() {
9-
return element(by.tagName('footer')).getText();
9+
return element(by.className('app-footer')).getText();
1010
}
1111
}

package.json

+27-27
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/coreui-free-angular-admin-template",
3-
"version": "2.2.4",
3+
"version": "2.4.0",
44
"description": "CoreUI Free Angular 2+ Admin Template",
55
"author": {
66
"name": "Łukasz Holeczek",
@@ -27,54 +27,54 @@
2727
},
2828
"private": true,
2929
"dependencies": {
30-
"@angular/animations": "^7.2.1",
31-
"@angular/common": "^7.2.1",
32-
"@angular/compiler": "^7.2.1",
33-
"@angular/core": "^7.2.1",
34-
"@angular/forms": "^7.2.1",
35-
"@angular/http": "^7.2.1",
36-
"@angular/platform-browser": "^7.2.1",
37-
"@angular/platform-browser-dynamic": "^7.2.1",
38-
"@angular/router": "^7.2.1",
39-
"@coreui/angular": "^2.2.4",
30+
"@angular/animations": "^7.2.5",
31+
"@angular/common": "^7.2.5",
32+
"@angular/compiler": "^7.2.5",
33+
"@angular/core": "^7.2.5",
34+
"@angular/forms": "^7.2.5",
35+
"@angular/http": "^7.2.5",
36+
"@angular/platform-browser": "^7.2.5",
37+
"@angular/platform-browser-dynamic": "^7.2.5",
38+
"@angular/router": "^7.2.5",
39+
"@coreui/angular": "^2.4.1",
4040
"@coreui/coreui": "^2.1.6",
4141
"@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.2.0",
4242
"@coreui/icons": "0.3.0",
43-
"bootstrap": "^4.2.1",
43+
"bootstrap": "^4.3.1",
4444
"chart.js": "^2.7.3",
45-
"core-js": "^2.6.2",
45+
"core-js": "^2.6.5",
4646
"flag-icon-css": "^3.2.1",
4747
"font-awesome": "^4.7.0",
48-
"moment": "^2.23.0",
48+
"moment": "^2.24.0",
4949
"mutationobserver-shim": "^0.3.3",
5050
"ng2-charts": "^1.6.0",
51-
"ngx-bootstrap": "^3.1.4",
51+
"ngx-bootstrap": "^3.2.0",
5252
"ngx-perfect-scrollbar": "^7.2.0",
53-
"rxjs": "^6.3.3",
53+
"rxjs": "^6.4.0",
5454
"simple-line-icons": "^2.4.1",
5555
"ts-helpers": "^1.1.2",
56-
"tsickle": "^0.34.0",
56+
"tsickle": "^0.34.3",
5757
"tslib": "^1.9.0",
58-
"zone.js": "^0.8.28"
58+
"zone.js": "^0.8.29"
5959
},
6060
"devDependencies": {
61-
"@angular-devkit/build-angular": "^0.12.2",
62-
"@angular/cli": "^7.2.2",
63-
"@angular/compiler-cli": "^7.2.1",
64-
"@angular/language-service": "^7.2.1",
65-
"@types/jasmine": "^3.3.7",
61+
"@angular-devkit/build-angular": "^0.13.2",
62+
"@angular/cli": "^7.3.2",
63+
"@angular/compiler-cli": "^7.2.5",
64+
"@angular/language-service": "^7.2.5",
65+
"@types/jasmine": "^3.3.9",
6666
"@types/jasminewd2": "^2.0.6",
67-
"@types/node": "^10.12.18",
67+
"@types/node": "^11.9.4",
6868
"codelyzer": "^4.5.0",
6969
"jasmine-core": "^3.3.0",
7070
"jasmine-spec-reporter": "^4.2.1",
71-
"karma": "^3.1.4",
71+
"karma": "^4.0.0",
7272
"karma-chrome-launcher": "^2.2.0",
73-
"karma-coverage-istanbul-reporter": "^2.0.4",
73+
"karma-coverage-istanbul-reporter": "^2.0.5",
7474
"karma-jasmine": "^2.0.1",
7575
"karma-jasmine-html-reporter": "^1.4.0",
7676
"protractor": "^5.4.2",
77-
"ts-node": "^7.0.1",
77+
"ts-node": "^8.0.2",
7878
"tslint": "^5.12.1",
7979
"typescript": "~3.2.4"
8080
},

src/app/_nav.ts

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ export interface NavData {
99
attributes?: object;
1010
divider?: boolean;
1111
class?: string;
12+
label?: any;
13+
wrapper?: any;
1214
}
1315

1416
export const navItems: NavData[] = [

src/app/containers/default-layout/default-layout.component.html

+15-3
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
<!-- Main content -->
5656
<main class="main">
5757
<!-- Breadcrumb -->
58-
<ol class="breadcrumb">
59-
<app-breadcrumb></app-breadcrumb>
58+
<!-- breaking change 'cui-breadcrumb' -->
59+
<cui-breadcrumb>
6060
<!-- Breadcrumb Menu-->
6161
<li class="breadcrumb-menu d-md-down-none">
6262
<div class="btn-group" role="group" aria-label="Button group with nested dropdown">
@@ -65,7 +65,19 @@
6565
<a class="btn" href="#"><i class="icon-settings"></i> &nbsp;Settings</a>
6666
</div>
6767
</li>
68-
</ol>
68+
</cui-breadcrumb>
69+
<!-- deprecation warning for 'app-breadcrumb' -->
70+
<!--<ol class="breadcrumb">-->
71+
<!--<app-breadcrumb></app-breadcrumb>-->
72+
<!--&lt;!&ndash; Breadcrumb Menu&ndash;&gt;-->
73+
<!--<li class="breadcrumb-menu d-md-down-none">-->
74+
<!--<div class="btn-group" role="group" aria-label="Button group with nested dropdown">-->
75+
<!--<a class="btn" href="#"><i class="icon-speech"></i></a>-->
76+
<!--<a class="btn" [routerLink]="['/dashboard']"><i class="icon-graph"></i> &nbsp;Dashboard</a>-->
77+
<!--<a class="btn" href="#"><i class="icon-settings"></i> &nbsp;Settings</a>-->
78+
<!--</div>-->
79+
<!--</li>-->
80+
<!--</ol>-->
6981
<div class="container-fluid">
7082
<router-outlet></router-outlet>
7183
</div><!-- /.container-fluid -->

src/app/containers/default-layout/default-layout.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Component, OnDestroy, Inject } from '@angular/core';
22
import { DOCUMENT } from '@angular/common';
3-
import { navItems } from './../../_nav';
3+
import { navItems } from '../../_nav';
44

55

66
@Component({

src/app/views/dashboard/dashboard.component.html

+26-26
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
<div class="animated fadeIn">
22
<div class="row">
3+
<div class="col-sm-6 col-lg-3">
4+
<div class="card text-white bg-info">
5+
<div class="card-body pb-0">
6+
<button type="button" class="btn btn-transparent p-0 float-right">
7+
<i class="icon-location-pin"></i>
8+
</button>
9+
<div class="text-value">9.823</div>
10+
<div>Members online</div>
11+
</div>
12+
<div class="chart-wrapper mt-3 mx-3" style="height:70px;">
13+
<canvas baseChart class="chart"
14+
[datasets]="lineChart2Data"
15+
[labels]="lineChart2Labels"
16+
[options]="lineChart2Options"
17+
[colors]="lineChart2Colours"
18+
[legend]="lineChart2Legend"
19+
[chartType]="lineChart2Type"></canvas>
20+
</div>
21+
</div>
22+
</div><!--/.col-->
323
<div class="col-sm-6 col-lg-3">
424
<div class="card text-white bg-primary">
525
<div class="card-body pb-0">
@@ -19,32 +39,12 @@
1939
</div>
2040
<div class="chart-wrapper mt-3 mx-3" style="height:70px;">
2141
<canvas baseChart class="chart"
22-
[datasets]="lineChart1Data"
23-
[labels]="lineChart1Labels"
24-
[options]="lineChart1Options"
25-
[colors]="lineChart1Colours"
26-
[legend]="lineChart1Legend"
27-
[chartType]="lineChart1Type"></canvas>
28-
</div>
29-
</div>
30-
</div><!--/.col-->
31-
<div class="col-sm-6 col-lg-3">
32-
<div class="card text-white bg-info">
33-
<div class="card-body pb-0">
34-
<button type="button" class="btn btn-transparent p-0 float-right">
35-
<i class="icon-location-pin"></i>
36-
</button>
37-
<div class="text-value">9.823</div>
38-
<div>Members online</div>
39-
</div>
40-
<div class="chart-wrapper mt-3 mx-3" style="height:70px;">
41-
<canvas baseChart class="chart"
42-
[datasets]="lineChart2Data"
43-
[labels]="lineChart2Labels"
44-
[options]="lineChart2Options"
45-
[colors]="lineChart2Colours"
46-
[legend]="lineChart2Legend"
47-
[chartType]="lineChart2Type"></canvas>
42+
[datasets]="lineChart1Data"
43+
[labels]="lineChart1Labels"
44+
[options]="lineChart1Options"
45+
[colors]="lineChart1Colours"
46+
[legend]="lineChart1Legend"
47+
[chartType]="lineChart1Type"></canvas>
4848
</div>
4949
</div>
5050
</div><!--/.col-->

src/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
* CoreUI - Free Angular Admin Template
3-
* @version v2.2.1
3+
* @version v2.4.0
44
* @link https://coreui.io/angular/
55
* Copyright (c) 2018 creativeLabs Łukasz Holeczek
66
* Licensed under MIT (https://coreui.io/license)

src/polyfills.ts

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ import 'core-js/es6/regexp';
3333
import 'core-js/es6/map';
3434
import 'core-js/es6/weak-map';
3535
import 'core-js/es6/set';
36+
import "core-js/es7/array";
37+
import "core-js/es7/object";
3638

3739
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
3840
// import 'classlist.js'; // Run `npm install --save classlist.js`.

0 commit comments

Comments
 (0)