@ng-modular-forms/material 0.8.0 → 0.8.1
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 +11 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -30,9 +30,19 @@ npm install @ng-modular-forms/material
|
|
|
30
30
|
```
|
|
31
31
|
Note: This will also install <a href="https://www.npmjs.com/package/@ng-modular-forms/core">@ng-modular-forms/core</a>.
|
|
32
32
|
|
|
33
|
+
## Styles Setup
|
|
34
|
+
Add the global styles to your application's angular.json file under the styles array:
|
|
35
|
+
|
|
36
|
+
```json
|
|
37
|
+
"styles": [
|
|
38
|
+
"src/styles.css",
|
|
39
|
+
"node_modules/@ng-modular-forms/material/styles/form-controls.css"
|
|
40
|
+
]
|
|
41
|
+
```
|
|
42
|
+
|
|
33
43
|
## Example
|
|
34
44
|
|
|
35
|
-
```
|
|
45
|
+
```typescript
|
|
36
46
|
import { MatInputTextComponent } from "@ng-modular-forms/material";
|
|
37
47
|
|
|
38
48
|
@Component({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-modular-forms/material",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "Reusable Angular Material form controls with typed reactive forms, built-in ControlValueAccessor support, and enterprise-ready form patterns.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@angular/material": ">=19.0.0 <22.0.0",
|
|
43
43
|
"@angular/cdk": ">=19.0.0 <22.0.0",
|
|
44
44
|
"rxjs": ">=7 <8",
|
|
45
|
-
"@ng-modular-forms/core": "^0.8.
|
|
45
|
+
"@ng-modular-forms/core": "^0.8.1"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"tslib": "^2.6.0"
|