@ng-formworks/material 18.0.0 → 18.4.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
|
@@ -6,15 +6,16 @@ This module is a dependency of the [ng-formworks project][npm_core_ver] and is m
|
|
|
6
6
|
|
|
7
7
|
If you are unfamiliar with with the ng-formworks project, it is highly recommended to
|
|
8
8
|
first have a look at the [@ng-formworks pages][npm_core_ver] for examples, demos, options and documentation.
|
|
9
|
+
Before installing also have a look at the Angular/ng-formworks [version compatibility table][npm_core_ver#versions]
|
|
9
10
|
|
|
10
11
|
```shell
|
|
11
|
-
npm install @ng-formworks/core
|
|
12
|
+
npm install @ng-formworks/core @ng-formworks/cssframework @ng-formworks/material
|
|
12
13
|
```
|
|
13
14
|
|
|
14
15
|
With YARN, run the following:
|
|
15
16
|
|
|
16
17
|
```shell
|
|
17
|
-
yarn add @ng-formworks/core
|
|
18
|
+
yarn add @ng-formworks/core @ng-formworks/cssframework @ng-formworks/material
|
|
18
19
|
```
|
|
19
20
|
|
|
20
21
|
include the themes scss in your applications sass file(typically "styles.scss" under "src" folder -see angular docs for more details)
|
|
@@ -71,6 +72,10 @@ Where `schema` is a valid JSON schema object, and `onSubmit` calls a function to
|
|
|
71
72
|
The possible values for this framework are:
|
|
72
73
|
|
|
73
74
|
* `material_default` for the default theme.
|
|
75
|
+
* `azure-blue` for the azure & blue theme.
|
|
76
|
+
* `rose-red` for the rose & red theme.
|
|
77
|
+
* `cyan-orange` for the cyan & orange theme.
|
|
78
|
+
* `magenta-violet` for the magenta & violet theme.
|
|
74
79
|
* `indigo-pink` for the indigo & pink theme.
|
|
75
80
|
* `purple-green` for the purple & green theme.
|
|
76
81
|
* `deeppurple-amber` for the deep purple & amber theme.
|
|
@@ -130,4 +135,5 @@ Run `ng build @ng-formworks/material` to build the project. The build artifacts
|
|
|
130
135
|
|
|
131
136
|
Run `ng test @ng-formworks/material` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
132
137
|
|
|
133
|
-
[npm_core_ver]:https://www.npmjs.com/package/@ng-formworks/core
|
|
138
|
+
[npm_core_ver]:https://www.npmjs.com/package/@ng-formworks/core
|
|
139
|
+
[npm_core_ver#versions]:https://www.npmjs.com/package/@ng-formworks/core#versions
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "./widgets/flex-layout-root.component";
|
|
4
4
|
import * as i2 from "./widgets/flex-layout-section.component";
|
|
@@ -52,7 +52,7 @@ import * as i45 from "@ng-formworks/cssframework";
|
|
|
52
52
|
* MatSidenavModule, MatSnackBarModule, MatSortModule, MatTableModule,
|
|
53
53
|
* ,
|
|
54
54
|
*/
|
|
55
|
-
export declare const ANGULAR_MATERIAL_MODULES: (typeof
|
|
55
|
+
export declare const ANGULAR_MATERIAL_MODULES: (typeof MatButtonModule)[];
|
|
56
56
|
export declare class MaterialDesignFrameworkModule {
|
|
57
57
|
constructor();
|
|
58
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialDesignFrameworkModule, never>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-formworks/material",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.4.0",
|
|
4
4
|
"description": "Angular ng-formworks - JSON Schema Form builder using Angular Material UI",
|
|
5
5
|
"author": "https://github.com/zahmo/ng-formworks/graphs/contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"private": false,
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"lodash-es": "~4.17.21",
|
|
43
|
-
"@ng-formworks/core": "~18.
|
|
44
|
-
"@ng-formworks/cssframework": "~18.
|
|
43
|
+
"@ng-formworks/core": "~18.4.0",
|
|
44
|
+
"@ng-formworks/cssframework": "~18.4.0",
|
|
45
45
|
"tslib": "^2.7.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|