@igo2/sdg-core 1.0.0-next.68 → 1.0.0-next.70

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igo2/sdg-core",
3
- "version": "1.0.0-next.68",
3
+ "version": "1.0.0-next.70",
4
4
  "license": "LiLiQ-R",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,10 +19,14 @@
19
19
 
20
20
  @mixin density($theme) {
21
21
  .mdc-button {
22
- --mdc-text-button-container-height: 56px;
23
- --mdc-outlined-button-container-height: 56px;
24
- --mdc-protected-button-container-height: 56px;
25
- --mdc-filled-button-container-height: 56px;
22
+ @include mat.button-overrides(
23
+ (
24
+ filled-container-height: 56px,
25
+ outlined-container-height: 56px,
26
+ protected-container-height: 56px,
27
+ text-container-height: 56px
28
+ )
29
+ );
26
30
  min-width: calc(56px * 2) !important;
27
31
  }
28
32
 
@@ -57,17 +61,20 @@
57
61
 
58
62
  @mixin typography($theme) {
59
63
  .mdc-button {
60
- --mdc-text-button-label-text-weight: bold;
61
- --mdc-outlined-button-label-text-weight: bold;
62
- --mdc-protected-button-label-text-weight: bold;
63
- --mdc-filled-button-label-text-weight: bold;
64
-
65
64
  $font-size: mat.m2-font-size(typography.$typography, body-1);
66
65
 
67
- --mdc-filled-button-label-text-size: $font-size;
68
- --mdc-text-button-label-text-size: $font-size;
69
- --mdc-outlined-button-label-text-size: $font-size;
70
- --mdc-protected-button-label-text-size: $font-size;
66
+ @include mat.button-overrides(
67
+ (
68
+ filled-label-text-size: $font-size,
69
+ filled-label-text-weight: bold,
70
+ outlined-label-text-size: $font-size,
71
+ outlined-label-text-weight: bold,
72
+ protected-label-text-size: $font-size,
73
+ protected-label-text-weight: bold,
74
+ text-label-text-size: $font-size,
75
+ text-label-text-weight: bold
76
+ )
77
+ );
71
78
 
72
79
  line-height: mat.m2-line-height(typography.$typography, body-1) !important;
73
80
  }