Skip to content

Commit c09b2eb

Browse files
committed
Release v2.0.0
Breaking changes: - Enabled Ivy in the compiled library - The minimum supported version of Angular is set to 16 Resolved the issue: - Add support for angular 13 #59
1 parent f8ef761 commit c09b2eb

File tree

4 files changed

+43
-21
lines changed

4 files changed

+43
-21
lines changed

Diff for: README.md

+13-6
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
![](https://badgen.net/badge/icon/typescript?icon=typescript&label&color=99aabb)
66
![](https://img.shields.io/github/license/AlexMiniApps/angular-code-input?color=00ccbb)
77

8-
Robust and <b>tested</b> code (number/chars) input component for Angular 7 - 12, 14+ projects.<br />
9-
Ionic 4, 5 + is supported, can be used in iOS and Android.<br />
8+
Robust and <b>tested</b> code (number/chars) input component for Angular 7 - 16+ projects.<br />
9+
Ionic 4 - 7+ is supported, can be used in iOS and Android.<br />
1010
<b>Clipboard</b> events are supported.
1111

12-
<img src="https://github.com/AlexMiniApps/angular-code-input/blob/master/star.jpg" alt="Star"/> Star it to inspire us to build the best component! <img src="https://github.com/AlexMiniApps/angular-code-input/blob/master/star.jpg" alt="Star"/>
12+
Star it to inspire us to build the best component! <img src="https://github.com/AlexMiniApps/angular-code-input/blob/master/star.jpg" alt="Star"/>
1313

1414
Preview
1515

@@ -19,8 +19,8 @@ Preview
1919

2020
## Supported platforms
2121

22-
<b>Angular</b> 7, 8, 9, 10, 11, 12, 14 +<br />
23-
<b>Ionic</b> 4, 5 +<br />
22+
<b>Angular</b> 7 - 16+<br />
23+
<b>Ionic</b> 4 - 7+<br />
2424
Mobile browsers and WebViews on: <b>Android</b> and <b>iOS</b><br />
2525
Desktop browsers: <b>Chrome, Firefox, Safari, Edge v.79 +</b><br />
2626
Other browsers: <b>Edge v.41 - 44</b> (without code hidden feature)
@@ -29,6 +29,13 @@ Other browsers: <b>Edge v.41 - 44</b> (without code hidden feature)
2929

3030
$ npm install --save angular-code-input
3131

32+
Choose the version corresponding to your Angular version:
33+
34+
| Angular | angular-code-input |
35+
|------------|--------------------|
36+
| 16+ | 2.x+ |
37+
| 7-15 | 1.x+ |
38+
3239
## Usage
3340

3441
Import `CodeInputModule` in your app module or page module:
@@ -67,7 +74,7 @@ Include the component on page template HTML:
6774
[codeLength]="5"
6875
(codeChanged)="onCodeChanged($event)"
6976
(codeCompleted)="onCodeCompleted($event)">
70-
</code-input>
77+
</code-input>
7178
```
7279

7380
Inside a page script:

Diff for: angular-code-input/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# 2.0.0 (15.06.2023)
2+
**Breaking changes**:
3+
- Enabled Ivy in the compiled library
4+
- The minimum supported version of Angular is set to **16**
5+
6+
**Note:** Resolved the issue:
7+
- Add support for angular 13 [#59](https://github.com/AlexMiniApps/angular-code-input/issues/59)
8+
19
# 1.6.0 (11.11.2021)
210
**Note:** Fixed issues and implemented cool features:
311
- Always uppercase keyboard [#51](https://github.com/AlexMiniApps/angular-code-input/issues/51)

Diff for: angular-code-input/README.md

+18-11
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
![](https://badgen.net/badge/icon/typescript?icon=typescript&label&color=99aabb)
66
![](https://img.shields.io/github/license/AlexMiniApps/angular-code-input?color=00ccbb)
77

8-
Robust and <b>tested</b> code (number/chars) input component for Angular 7 - 12+ projects.<br />
9-
Ionic 4, 5 + is supported, can be used in iOS and Android.<br />
8+
Robust and <b>tested</b> code (number/chars) input component for Angular 7 - 16+ projects.<br />
9+
Ionic 4 - 7+ is supported, can be used in iOS and Android.<br />
1010
<b>Clipboard</b> events are supported.
1111

12-
<img src="https://github.com/AlexMiniApps/angular-code-input/blob/master/star.jpg" alt="Star"/> Star it to inspire us to build the best component! <img src="https://github.com/AlexMiniApps/angular-code-input/blob/master/star.jpg" alt="Star"/>
12+
Star it to inspire us to build the best component! <img src="https://github.com/AlexMiniApps/angular-code-input/blob/master/star.jpg" alt="Star"/>
1313

1414
Preview
1515

@@ -19,8 +19,8 @@ Preview
1919

2020
## Supported platforms
2121

22-
<b>Angular</b> 7, 8, 9, 10, 11, 12 +<br />
23-
<b>Ionic</b> 4, 5 +<br />
22+
<b>Angular</b> 7 - 16+<br />
23+
<b>Ionic</b> 4 - 7+<br />
2424
Mobile browsers and WebViews on: <b>Android</b> and <b>iOS</b><br />
2525
Desktop browsers: <b>Chrome, Firefox, Safari, Edge v.79 +</b><br />
2626
Other browsers: <b>Edge v.41 - 44</b> (without code hidden feature)
@@ -29,6 +29,13 @@ Other browsers: <b>Edge v.41 - 44</b> (without code hidden feature)
2929

3030
$ npm install --save angular-code-input
3131

32+
Choose the version corresponding to your Angular version:
33+
34+
| Angular | angular-code-input |
35+
|------------|--------------------|
36+
| 16+ | 2.x+ |
37+
| 7-15 | 1.x+ |
38+
3239
## Usage
3340

3441
Import `CodeInputModule` in your app module or page module:
@@ -67,19 +74,19 @@ Include the component on page template HTML:
6774
[codeLength]="5"
6875
(codeChanged)="onCodeChanged($event)"
6976
(codeCompleted)="onCodeCompleted($event)">
70-
</code-input>
77+
</code-input>
7178
```
7279

7380
Inside a page script:
7481

7582
```ts
7683
// this called every time when user changed the code
77-
onCodeChanged(code: string) {
78-
}
84+
onCodeChanged(code: string) {
85+
}
7986

80-
// this called only if user entered full code
81-
onCodeCompleted(code: string) {
82-
}
87+
// this called only if user entered full code
88+
onCodeCompleted(code: string) {
89+
}
8390
```
8491

8592
## Configuration

Diff for: angular-code-input/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-code-input",
3-
"version": "1.7.0",
4-
"description": "Code or pin code input for Angular 7 - 12, 14 + / Ionic 4, 5 + projects",
3+
"version": "2.0.0",
4+
"description": "Code or pin code input for Angular 7 - 16+ / Ionic 4 - 7+ projects",
55
"keywords": [
66
"angular",
77
"pincode",
@@ -23,7 +23,7 @@
2323
"url": "https://github.com/AlexMiniApps/angular-code-input/issues"
2424
},
2525
"peerDependencies": {
26-
"@angular/common": ">=7.2.0",
27-
"@angular/core": ">=7.2.0"
26+
"@angular/common": ">=16.0.0",
27+
"@angular/core": ">=16.0.0"
2828
}
2929
}

0 commit comments

Comments
 (0)