@ng-formworks/material 18.5.2 → 19.5.2

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 (30) hide show
  1. package/assets/material-design-themes.scss +10 -5
  2. package/fesm2022/ng-formworks-material.mjs +94 -88
  3. package/fesm2022/ng-formworks-material.mjs.map +1 -1
  4. package/package.json +5 -7
  5. package/esm2022/lib/material-design-cssframework.mjs +0 -23
  6. package/esm2022/lib/material-design-framework.component.mjs +0 -119
  7. package/esm2022/lib/material-design-framework.module.mjs +0 -117
  8. package/esm2022/lib/material-design.framework.mjs +0 -62
  9. package/esm2022/lib/widgets/flex-layout-root.component.mjs +0 -71
  10. package/esm2022/lib/widgets/flex-layout-section.component.mjs +0 -344
  11. package/esm2022/lib/widgets/material-add-reference.component.mjs +0 -63
  12. package/esm2022/lib/widgets/material-button-group.component.mjs +0 -86
  13. package/esm2022/lib/widgets/material-button.component.mjs +0 -76
  14. package/esm2022/lib/widgets/material-checkbox.component.mjs +0 -164
  15. package/esm2022/lib/widgets/material-checkboxes.component.mjs +0 -126
  16. package/esm2022/lib/widgets/material-chip-list.component.mjs +0 -32
  17. package/esm2022/lib/widgets/material-datepicker.component.mjs +0 -133
  18. package/esm2022/lib/widgets/material-file.component.mjs +0 -32
  19. package/esm2022/lib/widgets/material-input.component.mjs +0 -146
  20. package/esm2022/lib/widgets/material-number.component.mjs +0 -137
  21. package/esm2022/lib/widgets/material-one-of.component.mjs +0 -32
  22. package/esm2022/lib/widgets/material-radios.component.mjs +0 -118
  23. package/esm2022/lib/widgets/material-select.component.mjs +0 -177
  24. package/esm2022/lib/widgets/material-slider.component.mjs +0 -88
  25. package/esm2022/lib/widgets/material-stepper.component.mjs +0 -32
  26. package/esm2022/lib/widgets/material-tabs.component.mjs +0 -91
  27. package/esm2022/lib/widgets/material-textarea.component.mjs +0 -126
  28. package/esm2022/lib/widgets/public_api.mjs +0 -52
  29. package/esm2022/ng-formworks-material.mjs +0 -5
  30. package/esm2022/public_api.mjs +0 -8
@@ -1,7 +1,8 @@
1
1
  /* see https://material.angular.io/guide/theming */
2
2
 
3
3
  @use '@angular/material' as mat;
4
- @include mat.core();
4
+ @include mat.elevation-classes();
5
+ @include mat.app-background();
5
6
  $indigo-primary: mat.m2-define-palette(mat.$m2-indigo-palette, 500);
6
7
  $green-accent: mat.m2-define-palette(mat.$m2-green-palette, A200, A100, A400);
7
8
  $red-warn: mat.m2-define-palette(mat.$m2-red-palette);
@@ -20,7 +21,8 @@ $indigo-pink-accent: $pink-accent;
20
21
  $indigo-pink-warn: $red-warn;
21
22
  $indigo-pink-theme: mat.m2-define-light-theme(( color: ( primary: $indigo-pink-primary, accent: $indigo-pink-accent, warn:$indigo-pink-warn), typography: $typography, density: $density));
22
23
  .indigo-pink {
23
- @include mat.core-theme($indigo-pink-theme);
24
+ @include mat.elevation-classes();
25
+ @include mat.app-background();
24
26
  @include mat.all-component-themes($indigo-pink-theme);
25
27
  @include mat.button-color($indigo-pink-theme);
26
28
  }
@@ -33,7 +35,8 @@ $purple-green-accent: $green-accent;
33
35
  $purple-green-warn: $red-warn;
34
36
  $purple-green-theme: mat.m2-define-dark-theme(( color: ( primary: $purple-green-primary, accent: $purple-green-accent, warn:$purple-green-warn)));
35
37
  .purple-green {
36
- @include mat.core-color($purple-green-theme);
38
+ @include mat.elevation-classes();
39
+ @include mat.app-background();
37
40
  @include mat.all-component-colors($purple-green-theme);
38
41
  @include mat.button-color($purple-green-theme);
39
42
  }
@@ -46,7 +49,8 @@ $deeppurple-amber-accent: $amber-accent;
46
49
  $deeppurple-amber-warn: $red-warn;
47
50
  $deeppurple-amber-theme: mat.m2-define-light-theme(( color: ( primary: $deeppurple-amber-primary, accent: $deeppurple-amber-accent, warn:$deeppurple-amber-warn)));
48
51
  .deeppurple-amber {
49
- @include mat.core-color($deeppurple-amber-theme);
52
+ @include mat.elevation-classes();
53
+ @include mat.app-background();
50
54
  @include mat.all-component-colors($deeppurple-amber-theme);
51
55
  @include mat.button-color($deeppurple-amber-theme);
52
56
  }
@@ -59,7 +63,8 @@ $pink-bluegrey-accent: $bluegrey-accent;
59
63
  $pink-bluegrey-warn: $red-warn;
60
64
  $pink-bluegrey-theme: mat.m2-define-dark-theme(( color: ( primary: $pink-bluegrey-primary, accent: $pink-bluegrey-accent, warn:$pink-bluegrey-warn)));
61
65
  .pink-bluegrey {
62
- @include mat.core-color($pink-bluegrey-theme);
66
+ @include mat.elevation-classes();
67
+ @include mat.app-background();
63
68
  @include mat.all-component-colors($pink-bluegrey-theme);
64
69
  @include mat.button-color($pink-bluegrey-theme);
65
70
  }