@sumaris-net/ngx-components 2.3.7-rc3 → 2.3.7-rc6

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/doc/changelog.md CHANGED
@@ -510,3 +510,7 @@ Observables: function `waitFor()`, `waitForTrue()`, `watForFalse()`, `firstNotNi
510
510
 
511
511
  # 2.2.8
512
512
  - [fix] Table actions column: add CSS variable to set column width, min-width and max-width
513
+
514
+ # 2.3.7
515
+ - [fix] Mat form field: use inherit font size (do not force font-size, in the theme)
516
+ - [fix] MatDateShort: fix behaviour for Angular 14
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "2.3.7-rc3",
4
+ "version": "2.3.7-rc6",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -158,23 +158,25 @@ form.form-container {
158
158
  mat-icon[matPrefix],
159
159
  .mat-form-field-prefix ion-icon,
160
160
  .mat-form-field-prefix .mat-icon {
161
- $font-size: calculateRem(18px);
161
+ $font-size: calculateRem(24px);
162
+ $margin-vertical: calculateRem(5px);
162
163
  font-size: $font-size;
163
- line-height: $font-size;
164
+ line-height: 1.125;
164
165
  height: $font-size;
165
- margin-left: 5px;
166
- margin-right: 5px;
167
- margin-bottom: calc(1rem - $font-size);
166
+ width: $font-size;
167
+ margin-left: $margin-vertical;
168
+ margin-right: $margin-vertical;
169
+ margin-bottom: calc(calc(1rem - $font-size) / 2);
168
170
  }
169
171
 
170
172
  ion-icon[matSuffix],
171
173
  mat-icon[matSuffix],
172
174
  .mat-form-field-suffix ion-icon,
173
175
  .mat-form-field-suffix .mat-icon {
174
- //width: 0.8em !important;
175
176
 
176
177
  &.large {
177
- font-size: 150%;
178
+ $font-size: calculateRem(24px);
179
+ font-size: $font-size;
178
180
  line-height: 1.125;
179
181
  }
180
182
  }