ngx-form-draft 1.0.3 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ngx-form-draft
2
2
 
3
- Zero-dependency Angular form draft auto-save and restore. Works with any Angular version ≥12.
3
+ Zero-dependency Angular form draft auto-save and restore. Works with Angular 14+.
4
4
 
5
5
  ## Features
6
6
 
@@ -12,24 +12,17 @@ Zero-dependency Angular form draft auto-save and restore. Works with any Angular
12
12
  - 7-day draft expiration
13
13
  - Zero external dependencies
14
14
 
15
+ ## Requirements
16
+
17
+ - Angular 14 or higher
18
+ - TypeScript 4.7+
19
+
15
20
  ## Installation
16
21
 
17
22
  ```bash
18
23
  npm install ngx-form-draft
19
24
  ```
20
25
 
21
- ### Angular 12 Users
22
-
23
- If you're using Angular 12, enable Ivy in your `tsconfig.json`:
24
-
25
- ```json
26
- {
27
- "angularCompilerOptions": {
28
- "enableIvy": true
29
- }
30
- }
31
- ```
32
-
33
26
  ## Usage
34
27
 
35
28
  ### 1. Import the module
package/dist/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ngx-form-draft
2
2
 
3
- Zero-dependency Angular form draft auto-save and restore. Works with any Angular version ≥12.
3
+ Zero-dependency Angular form draft auto-save and restore. Works with Angular 14+.
4
4
 
5
5
  ## Features
6
6
 
@@ -12,24 +12,17 @@ Zero-dependency Angular form draft auto-save and restore. Works with any Angular
12
12
  - 7-day draft expiration
13
13
  - Zero external dependencies
14
14
 
15
+ ## Requirements
16
+
17
+ - Angular 14 or higher
18
+ - TypeScript 4.7+
19
+
15
20
  ## Installation
16
21
 
17
22
  ```bash
18
23
  npm install ngx-form-draft
19
24
  ```
20
25
 
21
- ### Angular 12 Users
22
-
23
- If you're using Angular 12, enable Ivy in your `tsconfig.json`:
24
-
25
- ```json
26
- {
27
- "angularCompilerOptions": {
28
- "enableIvy": true
29
- }
30
- }
31
- ```
32
-
33
26
  ## Usage
34
27
 
35
28
  ### 1. Import the module
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-form-draft",
3
- "version": "1.0.3",
3
+ "version": "2.0.0",
4
4
  "description": "Auto-save and restore Angular form drafts with zero dependencies",
5
5
  "main": "dist/bundles/ngx-form-draft.umd.js",
6
6
  "module": "fesm2015/ngx-form-draft.mjs",
@@ -18,10 +18,10 @@
18
18
  },
19
19
  "homepage": "https://github.com/neokyuubi/ngx-form-draft#readme",
20
20
  "peerDependencies": {
21
- "@angular/core": ">=12.0.0",
22
- "@angular/common": ">=12.0.0",
23
- "@angular/forms": ">=12.0.0",
24
- "@angular/animations": ">=12.0.0",
21
+ "@angular/core": ">=14.0.0",
22
+ "@angular/common": ">=14.0.0",
23
+ "@angular/forms": ">=14.0.0",
24
+ "@angular/animations": ">=14.0.0",
25
25
  "rxjs": ">=6.0.0"
26
26
  },
27
27
  "keywords": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-form-draft",
3
- "version": "1.0.3",
3
+ "version": "2.0.0",
4
4
  "description": "Auto-save and restore Angular form drafts with zero dependencies",
5
5
  "main": "dist/bundles/ngx-form-draft.umd.js",
6
6
  "module": "dist/fesm2015/ngx-form-draft.js",
@@ -18,10 +18,10 @@
18
18
  },
19
19
  "homepage": "https://github.com/neokyuubi/ngx-form-draft#readme",
20
20
  "peerDependencies": {
21
- "@angular/core": ">=12.0.0",
22
- "@angular/common": ">=12.0.0",
23
- "@angular/forms": ">=12.0.0",
24
- "@angular/animations": ">=12.0.0",
21
+ "@angular/core": ">=14.0.0",
22
+ "@angular/common": ">=14.0.0",
23
+ "@angular/forms": ">=14.0.0",
24
+ "@angular/animations": ">=14.0.0",
25
25
  "rxjs": ">=6.0.0",
26
26
  "tslib": "^2.0.0"
27
27
  },