ngx-nz-formly 0.0.7 → 0.0.8

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.
Files changed (2) hide show
  1. package/README.md +24 -1
  2. package/package.json +5 -11
package/README.md CHANGED
@@ -38,6 +38,30 @@ $ npm install @angular/forms @ngx-formly/core --save
38
38
  $ npm insatll ngx-mask --save
39
39
  ```
40
40
 
41
+ ### Install Bootstrap (Optional)
42
+
43
+ If you want to find the final demo more clearly and beautiful, install ``bootstrap``, too.
44
+
45
+ ```bash
46
+ $ npm insatll bootstrap --save
47
+ ```
48
+
49
+ Then add following lines to ``angular.json``
50
+
51
+ ```
52
+ {
53
+ "styles": [
54
+ ...
55
+ "node_modules/bootstrap/dist/css/bootstrap.min.css",
56
+ "src/styles.css"
57
+ ],
58
+ "scripts": [
59
+ ...
60
+ "node_modules/bootstrap/dist/js/bootstrap.min.js"
61
+ ]
62
+ }
63
+ ```
64
+
41
65
  ### Install ngx-nz-formly
42
66
 
43
67
  ```bash
@@ -75,7 +99,6 @@ able to have your formly with Ant Design.
75
99
  add below html code to your ``app.component.html``
76
100
 
77
101
  ```html
78
-
79
102
  <formly-form
80
103
  [form]="form"
81
104
  [fields]="fields"
package/package.json CHANGED
@@ -1,30 +1,24 @@
1
1
  {
2
2
  "name": "ngx-nz-formly",
3
- "version": "0.0.7",
4
- "description": "awesome ngx nz formly",
3
+ "version": "0.0.8",
4
+ "description": "awesome ngx-nz-formly",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^16.2.0",
7
7
  "@angular/core": "^16.2.0",
8
8
  "@ngx-formly/core": "6",
9
- "@ngx-formly/ng-zorro-antd": "6",
10
- "bootstrap": "^5.2.3",
11
9
  "ng-zorro-antd": "^16.1.0",
12
- "ngx-mask": "^13.1.3",
13
- "rxjs": "~7.5.0"
10
+ "ngx-mask": "^13.1.3"
14
11
  },
15
12
  "keywords": [
16
13
  "nz",
17
14
  "ng",
18
- "ng2",
19
15
  "zorro",
20
16
  "formly",
21
17
  "angular",
22
18
  "nz-formly",
23
- "ng2-nz-formly",
24
19
  "ngx-nz-formly",
25
20
  "angular-formly",
26
- "ant-design-formly",
27
- "ng2formly"
21
+ "ant-design-formly"
28
22
  ],
29
23
  "author": "sajjadbayat",
30
24
  "homepage": "https://github.com/sajjadBayat32/ngx-nz-formly",
@@ -53,4 +47,4 @@
53
47
  "default": "./fesm2022/ngx-nz-formly.mjs"
54
48
  }
55
49
  }
56
- }
50
+ }