Skip to content

Commit

Permalink
Ngx pass code - Angular 17 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
dineeek authored Oct 12, 2024
1 parent 6ab33e9 commit 81ad34b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint-test-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
node-version: 20

- name: Install pnpm
uses: pnpm/action-setup@v2.2.2
uses: pnpm/action-setup@v4.0.0
id: pnpm-install
with:
version: 7
version: latest
run_install: false

- name: Get pnpm store directory
Expand Down
10 changes: 5 additions & 5 deletions apps/playground/src/app/demos/pass-code/pass-code.component.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div class="showcase">
<span class="showcase__title">Text code</span>
<span class="demo__case__title">Text code - required + upercase</span>
<ngx-pass-code
[formControl]="textCodeControl"
type="text"
[length]="4"
[length]="5"
[uppercase]="true"
[autofocus]="true"
></ngx-pass-code>
Expand All @@ -26,7 +26,7 @@
</div>

<div class="showcase">
<span class="showcase__title">Numbers only code</span>
<span class="showcase__title">Numbers code</span>
<ngx-pass-code
[length]="5"
[autoblur]="true"
Expand All @@ -52,10 +52,10 @@
</div>

<div class="showcase">
<span class="showcase__title">Password code (hidden)</span>
<span class="showcase__title">Password (hidden) code</span>

<ngx-pass-code
[length]="6"
[length]="7"
type="password"
[formControl]="passwordCodeControl"
></ngx-pass-code>
Expand Down
4 changes: 4 additions & 0 deletions libs/ngx-pass-code/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ Small code improvements.
### 1.1.2 - 20.02.2023

Small code refactoring. Code cleanup.

### 1.2.0 - 12.10.2024

Angular 17 migration.
8 changes: 5 additions & 3 deletions libs/ngx-pass-code/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"name": "ngx-pass-code",
"version": "1.1.2",
"version": "1.2.0",
"peerDependencies": {
"@angular/common": "^12.0.0",
"@angular/core": "^12.0.0"
"@angular/common": "17.3.10",
"@angular/core": "17.3.10",
"@angular/forms": "17.3.10",
"rxjs": "7.8.1"
},
"dependencies": {
"tslib": "^2.3.0"
Expand Down

0 comments on commit 81ad34b

Please sign in to comment.