Skip to content

Commit 8096f42

Browse files
committed
chore: sync with branch v5.0
2 parents 40f7429 + 6eefbb5 commit 8096f42

File tree

83 files changed

+656
-308
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+656
-308
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
### [@coreui/angular](https://coreui.io/angular/) changelog
22

3+
4+
---
5+
6+
#### `5.0.3`
7+
8+
- chore(dependencies): update
9+
- test: add missing tests, refactor
10+
311
---
412

513
#### `5.0.2`

package-lock.json

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

package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "coreui-angular-dev",
3-
"version": "5.0.2",
3+
"version": "5.0.3",
44
"description": "CoreUI Components Library for Angular",
55
"copyright": "Copyright 2024 creativeLabs Łukasz Holeczek",
66
"license": "MIT",
@@ -36,16 +36,16 @@
3636
},
3737
"private": true,
3838
"dependencies": {
39-
"@angular/animations": "^17.3.4",
40-
"@angular/cdk": "^17.3.4",
41-
"@angular/common": "^17.3.4",
42-
"@angular/compiler": "^17.3.4",
43-
"@angular/core": "^17.3.4",
44-
"@angular/forms": "^17.3.4",
45-
"@angular/localize": "^17.3.4",
46-
"@angular/platform-browser": "^17.3.4",
47-
"@angular/platform-browser-dynamic": "^17.3.4",
48-
"@angular/router": "^17.3.4",
39+
"@angular/animations": "^17.3.5",
40+
"@angular/cdk": "^17.3.5",
41+
"@angular/common": "^17.3.5",
42+
"@angular/compiler": "^17.3.5",
43+
"@angular/core": "^17.3.5",
44+
"@angular/forms": "^17.3.5",
45+
"@angular/localize": "^17.3.5",
46+
"@angular/platform-browser": "^17.3.5",
47+
"@angular/platform-browser-dynamic": "^17.3.5",
48+
"@angular/router": "^17.3.5",
4949
"@coreui/chartjs": "^4.0.0",
5050
"@coreui/icons": "^3.0.1",
5151
"@popperjs/core": "~2.11.8",
@@ -56,20 +56,20 @@
5656
"zone.js": "~0.14.4"
5757
},
5858
"devDependencies": {
59-
"@angular-devkit/build-angular": "^17.3.4",
59+
"@angular-devkit/build-angular": "^17.3.5",
6060
"@angular-eslint/builder": "^17.3.0",
6161
"@angular-eslint/eslint-plugin": "^17.3.0",
6262
"@angular-eslint/eslint-plugin-template": "^17.3.0",
6363
"@angular-eslint/schematics": "^17.3.0",
6464
"@angular-eslint/template-parser": "^17.3.0",
65-
"@angular/cli": "^17.3.4",
66-
"@angular/compiler-cli": "^17.3.4",
67-
"@angular/language-service": "^17.3.4",
65+
"@angular/cli": "^17.3.5",
66+
"@angular/compiler-cli": "^17.3.5",
67+
"@angular/language-service": "^17.3.5",
6868
"@types/jasmine": "^5.1.4",
6969
"@types/lodash-es": "^4.17.12",
7070
"@types/node": "^20.12.7",
71-
"@typescript-eslint/eslint-plugin": "^7.6.0",
72-
"@typescript-eslint/parser": "^7.6.0",
71+
"@typescript-eslint/eslint-plugin": "^7.7.0",
72+
"@typescript-eslint/parser": "^7.7.0",
7373
"eslint": "^8.57.0",
7474
"jasmine-core": "^5.1.2",
7575
"karma": "^6.4.3",
@@ -79,7 +79,7 @@
7979
"karma-jasmine-html-reporter": "^2.1.0",
8080
"ng-packagr": "^17.3.0",
8181
"prettier": "^3.2.5",
82-
"typescript": "~5.3.3"
82+
"typescript": "~5.4.2"
8383
},
8484
"keywords": [
8585
"angular",

projects/coreui-angular-chartjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/angular-chartjs",
3-
"version": "5.0.2",
3+
"version": "5.0.3",
44
"description": "Angular wrapper component for Chart.js",
55
"copyright": "Copyright 2024 creativeLabs Łukasz Holeczek",
66
"license": "MIT",

projects/coreui-angular-chartjs/src/lib/chartjs.component.spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ describe('ChartjsComponent', () => {
4040
component = fixture.componentInstance;
4141
component.data = undefined;
4242
component.type = 'line';
43+
component.wrapper = true;
4344
});
4445

4546
it('chart should create', fakeAsync(() => {
@@ -83,4 +84,9 @@ describe('ChartjsComponent', () => {
8384
expect(component.chart?.config?.data.labels?.length).toBe(5);
8485
expect(component.chart?.config?.data.datasets[1]?.data.length).toBe(5);
8586
}));
87+
88+
it('should have css classes', () => {
89+
fixture.detectChanges();
90+
expect(fixture.nativeElement).toHaveClass('chart-wrapper');
91+
});
8692
});

projects/coreui-angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/angular",
3-
"version": "5.0.2",
3+
"version": "5.0.3",
44
"description": "CoreUI Components Library for Angular",
55
"copyright": "Copyright 2024 creativeLabs Łukasz Holeczek",
66
"license": "MIT",

projects/coreui-angular/src/lib/accordion/accordion-item/accordion-item.component.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,8 @@ describe('AccordionItemComponent', () => {
2525
it('should create', () => {
2626
expect(component).toBeTruthy();
2727
});
28+
29+
it('should have css classes', () => {
30+
expect(fixture.nativeElement).toHaveClass('accordion-item');
31+
});
2832
});

projects/coreui-angular/src/lib/accordion/accordion/accordion.component.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ describe('AccordionComponent', () => {
2222
it('should create', () => {
2323
expect(component).toBeTruthy();
2424
});
25+
26+
it('should have css classes', () => {
27+
expect(fixture.nativeElement).toHaveClass('accordion');
28+
});
2529
});

projects/coreui-angular/src/lib/alert/alert.component.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,8 @@ describe('AlertComponent', () => {
2323
it('should create', () => {
2424
expect(component).toBeTruthy();
2525
});
26+
27+
it('should have css classes', () => {
28+
expect(fixture.nativeElement).toHaveClass('alert');
29+
});
2630
});

projects/coreui-angular/src/lib/avatar/avatar.component.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ describe('AvatarComponent', () => {
2222
it('should create', () => {
2323
expect(component).toBeTruthy();
2424
});
25+
26+
it('should have css classes', () => {
27+
expect(fixture.nativeElement).toHaveClass('avatar');
28+
});
2529
});

0 commit comments

Comments
 (0)