Skip to content

Commit ef3cabf

Browse files
authored
Merge pull request #20 from creativetimofficial/feature/v1.5.0
Feature/1.5.0
2 parents 9f26e15 + dedd5ad commit ef3cabf

10 files changed

Lines changed: 48 additions & 41 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ package-lock.json
3333
npm-debug.log
3434
testem.log
3535
/typings
36+
/.angular
3637

3738
# e2e
3839
/e2e/*.js

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [1.5.0] - 2022-12-22
2+
### Updates
3+
- update to Angular 14
4+
- update all dependencies to match Angular 14 version
5+
6+
17
## [1.4.0] - 2020-12-14
28
### Updates
39
- update to Angular 11

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# [Paper Kit 2 Angular - Free Bootstrap 4 UI Kit](https://demos.creative-tim.com/paper-kit-2-angular/)
22

3-
![version](https://img.shields.io/badge/version-1.4.0-blue.svg) [![license][license-badge]][LICENSE] [![GitHub issues open](https://img.shields.io/github/issues/creativetimofficial/paper-kit-2-angular.svg?maxAge=2592000)](https://github.com/creativetimofficial/paper-kit-2-angular/issues?q=is%3Aopen+is%3Aissue) [![GitHub closed issues](https://img.shields.io/github/issues-closed-raw/creativetimofficial/paper-kit-2-angular.svg?maxAge=259200)](https://github.com/creativetimofficial/paper-kit-2-angular/issues?q=is%3Aissue+is%3Aclosed) [![Chat](https://img.shields.io/badge/chat-on%20discord-7289da.svg)](https://discord.gg/E4aHAQy)
3+
![version](https://img.shields.io/badge/version-1.5.0-blue.svg) [![license][license-badge]][LICENSE] [![GitHub issues open](https://img.shields.io/github/issues/creativetimofficial/paper-kit-2-angular.svg?maxAge=2592000)](https://github.com/creativetimofficial/paper-kit-2-angular/issues?q=is%3Aopen+is%3Aissue) [![GitHub closed issues](https://img.shields.io/github/issues-closed-raw/creativetimofficial/paper-kit-2-angular.svg?maxAge=259200)](https://github.com/creativetimofficial/paper-kit-2-angular/issues?q=is%3Aissue+is%3Aclosed) [![Chat](https://img.shields.io/badge/chat-on%20discord-7289da.svg)](https://discord.gg/E4aHAQy)
44
![Paper Kit 2 Angular](https://s3.amazonaws.com/creativetim_bucket/products/65/original/opt_pk2_angular_thumbnail.jpg "Paper Kit 2 Angular Free")
55

66
Paper Kit 2 Angular is a free Bootstrap 4 UI Kit with pale colors, beautiful typography built for Angular 7.

documentation/tutorial-components.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<div class="content">
5555
<div class="motto text-center">
5656
<h2 class="title-uppercase text-center">Tutorial and Components</h2>
57-
<h3 class="text-center">Documentation v1.4.0</h3>
57+
<h3 class="text-center">Documentation v1.5.0</h3>
5858
<br/>
5959
<a href="https://pk2-angular.creative-tim.com/documentation/tutorial?ref=pk2-angular-free-doc" class="btn btn-danger btn-round">View documentation</a>
6060
</div>

package.json

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "paper-kit-2-angular",
3-
"version": "1.4.0",
3+
"version": "1.5.0",
44
"license": "MIT",
55
"repository": {
66
"type": "git",
@@ -16,16 +16,15 @@
1616
"install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm start"
1717
},
1818
"dependencies": {
19-
"@angular/animations": "11.0.4",
20-
"@angular/common": "11.0.4",
21-
"@angular/compiler": "11.0.4",
22-
"@angular/core": "11.0.4",
23-
"@angular/forms": "11.0.4",
24-
"@angular/http": "7.2.16",
25-
"@angular/localize": "^11.0.4",
26-
"@angular/platform-browser": "11.0.4",
27-
"@angular/platform-browser-dynamic": "11.0.4",
28-
"@angular/router": "11.0.4",
19+
"@angular/animations": "^14.2.0",
20+
"@angular/common": "^14.2.0",
21+
"@angular/compiler": "^14.2.0",
22+
"@angular/core": "^14.2.0",
23+
"@angular/forms": "^14.2.0",
24+
"@angular/platform-browser": "^14.2.0",
25+
"@angular/platform-browser-dynamic": "^14.2.0",
26+
"@angular/router": "^14.2.0",
27+
"@angular/localize": "^14.2.0",
2928
"@ng-bootstrap/ng-bootstrap": "6.0.0",
3029
"bootstrap": "4.5.3",
3130
"core-js": "3.8.1",
@@ -34,29 +33,31 @@
3433
"ng2-nouislider": "1.8.2",
3534
"nouislider": "14.6.3",
3635
"popper.js": "1.16.1",
37-
"rxjs": "6.6.3",
38-
"rxjs-compat": "6.6.3",
39-
"zone.js": "0.11.3"
36+
"rxjs": "~7.5.0",
37+
"tslib": "^2.3.0",
38+
"zone.js": "~0.11.4"
4039
},
4140
"devDependencies": {
42-
"@angular-devkit/build-angular": "0.1100.4",
43-
"@angular/cli": "11.0.4",
44-
"@angular/compiler-cli": "11.0.4",
45-
"@angular/language-service": "11.0.4",
46-
"@types/jasmine": "3.6.2",
47-
"@types/node": "14.14.12",
48-
"codelyzer": "6.0.1",
49-
"jasmine-core": "3.6.0",
50-
"jasmine-spec-reporter": "6.0.0",
51-
"karma": "5.2.3",
52-
"karma-chrome-launcher": "3.1.0",
53-
"karma-cli": "2.0.0",
54-
"karma-coverage-istanbul-reporter": "3.0.3",
55-
"karma-jasmine": "4.0.1",
56-
"karma-jasmine-html-reporter": "1.5.4",
41+
"@angular-devkit/build-angular": "^14.2.7",
42+
"@angular/cli": "~14.2.7",
43+
"@angular/compiler-cli": "^14.2.0",
44+
"@types/bootstrap": "5.0.1",
45+
"@types/chartist": "0.11.0",
46+
"@angular/language-service": "14.2.0",
47+
"@types/jasmine": "~4.0.0",
48+
"@types/jasminewd2": "~2.0.10",
49+
"@types/node": "^17.0.21",
50+
"codelyzer": "6.0.2",
51+
"jasmine-core": "~4.4.0",
52+
"jasmine-spec-reporter": "~7.0.0",
53+
"karma": "~6.4.0",
54+
"karma-chrome-launcher": "~3.1.0",
55+
"karma-coverage": "~2.2.0",
56+
"karma-coverage-istanbul-reporter": "~3.0.3",
57+
"karma-jasmine": "~5.1.0",
58+
"karma-jasmine-html-reporter": "~2.0.0",
5759
"protractor": "7.0.0",
58-
"ts-node": "9.1.1",
59-
"tslint": "6.1.3",
60-
"typescript": "4.0.3"
60+
"ts-node": "~10.9.1",
61+
"typescript": "~4.7.2"
6162
}
6263
}

src/app/app.component.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import { Component, OnInit, Inject, Renderer2, ElementRef, ViewChild } from '@angular/core';
22
import { Router, NavigationEnd } from '@angular/router';
3-
import { Subscription } from 'rxjs/Subscription';
4-
import 'rxjs/add/operator/filter';
53
import { DOCUMENT } from '@angular/common';
64
import { LocationStrategy, PlatformLocation, Location } from '@angular/common';
75
import { NavbarComponent } from './shared/navbar/navbar.component';
6+
import { filter, Subscription } from 'rxjs';
87

98
@Component({
109
selector: 'app-root',
@@ -18,7 +17,7 @@ export class AppComponent implements OnInit {
1817
constructor( private renderer : Renderer2, private router: Router, @Inject(DOCUMENT,) private document: any, private element : ElementRef, public location: Location) {}
1918
ngOnInit() {
2019
var navbar : HTMLElement = this.element.nativeElement.children[0].children[0];
21-
this._router = this.router.events.filter(event => event instanceof NavigationEnd).subscribe((event: NavigationEnd) => {
20+
this._router = this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe((event: NavigationEnd) => {
2221
if (window.outerWidth > 991) {
2322
window.document.children[0].scrollTop = 0;
2423
}else{

src/assets/css/demo.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
33
=========================================================
4-
* Paper Kit 2 Angular - v1.4.0
4+
* Paper Kit 2 Angular - v1.5.0
55
=========================================================
66
77
* Product Page: https://www.creative-tim.com/product/paper-kit-2-angular

src/assets/sass/paper-kit.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
33
=========================================================
4-
* Paper Kit 2 Angular - v1.4.0
4+
* Paper Kit 2 Angular - v1.5.0
55
=========================================================
66
77
* Product Page: https://www.creative-tim.com/product/paper-kit-2-angular

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!--
22
33
=========================================================
4-
* Paper Kit 2 Angular - v1.4.0
4+
* Paper Kit 2 Angular - v1.5.0
55
=========================================================
66
77
* Product Page: https://www.creative-tim.com/product/paper-kit-2-angular

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
33
=========================================================
4-
* Paper Kit 2 Angular - v1.4.0
4+
* Paper Kit 2 Angular - v1.5.0
55
=========================================================
66
77
* Product Page: https://www.creative-tim.com/product/paper-kit-2-angular

0 commit comments

Comments
 (0)