@sumaris-net/ngx-components 2.7.3-rc37 → 2.7.3-rc38

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "2.7.3-rc37",
4
+ "version": "2.7.3-rc38",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -2,7 +2,7 @@
2
2
  "name": "ngx-sumaris-components",
3
3
  "short_name": "ngx-sumaris-components",
4
4
  "manifest_version": 1,
5
- "version": "2.7.3-rc37",
5
+ "version": "2.7.3-rc38",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{
@@ -271,6 +271,12 @@ form.form-container {
271
271
  }
272
272
  }
273
273
 
274
+ .mat-mdc-form-field-subscript-wrapper {
275
+ mat-hint {
276
+ --color: rgb(115,115,115);
277
+ color: var(--color);
278
+ }
279
+ }
274
280
 
275
281
  /* -- Computed field -- */
276
282
 
@@ -12,21 +12,22 @@
12
12
  .mat-mdc-table {
13
13
  min-width: calc(100% - 1px);
14
14
  border-collapse: separate;
15
+ --mat-table-row-item-label-text-size: 14px;
16
+ --mat-table-row-item-label-text-tracking: normal;
15
17
  --mat-row-height: #{$app-table-row-height};
16
18
  --mat-row-max-height: #{$app-table-row-max-height};
17
19
  --mat-cell-horizontal-padding: #{$app-table-cell-horizontal-padding};
18
20
  --mat-cell-padding-top: calc(var(--mat-row-height) * 0.5 - 14px);
19
21
 
20
- --mdc-checkbox-state-layer-size: 20px;
21
22
  --mdc-typography-body1-font-size: 14px;
22
- --mat-table-row-item-label-text-tracking: normal;
23
- --mat-form-field-container-text-tracking: normal;
24
23
  --mdc-typography-body1-letter-spacing: normal;
25
- --mat-table-row-item-label-text-size: 14px;
26
24
 
25
+ --mat-form-field-container-text-tracking: normal;
26
+ --mat-form-field-state-layer-color: transparent;
27
+ --mat-form-field-subscript-text-size: 10px;
28
+ --mdc-checkbox-state-layer-size: 20px;
27
29
  --mdc-filled-text-field-container-color: transparent;
28
30
  --mdc-filled-text-field-disabled-container-color: transparent;
29
- --mat-form-field-state-layer-color: transparent;
30
31
 
31
32
  .mat-mdc-header-cell {
32
33
  color: var(--ion-color-primary);
@@ -390,13 +391,6 @@
390
391
  }
391
392
  }
392
393
 
393
- .mat-mdc-form-field-subscript-wrapper,
394
- .mat-mdc-form-field-subscript-wrapper.mat-mdc-form-field-bottom-align {
395
- margin-top: -1.5rem;
396
- text-align: right;
397
- pointer-events: none;
398
- }
399
-
400
394
  // FIXME: in table, required indicator is only inside the float label
401
395
  .mat-mdc-floating-label {
402
396
  display: none;
@@ -408,13 +402,19 @@
408
402
  color: rgba(0, 0, 0, 0.6) !important;
409
403
  -webkit-text-fill-color: rgba(0, 0, 0, 0.6) !important;
410
404
  }
411
-
412
- mat-error {
413
- font-size: 10px;
414
- }
415
-
416
405
  } // .mat-mdc-form-field
417
406
 
407
+ .mat-mdc-form-field-subscript-wrapper,
408
+ .mat-mdc-form-field-subscript-wrapper.mat-mdc-form-field-bottom-align {
409
+ margin-top: -1.5rem;
410
+ text-align: right;
411
+ pointer-events: none;
412
+
413
+ mat-error,
414
+ mat-hint {
415
+ font-size: var(--mat-form-field-subscript-text-size);
416
+ }
417
+ }
418
418
 
419
419
  .mat-boolean-field-radio.mat-mdc-form-field-appearance-fill .mat-mdc-form-field-infix,
420
420
  .mat-boolean-field-radio .mat-mdc-form-field-infix {
@@ -437,17 +437,8 @@
437
437
  mat-date-time-field,
438
438
  mat-latlong-field {
439
439
  height: calc(var(--mat-row-height) - 2px);
440
- .mat-mdc-form-field-subscript-wrapper {
441
- margin-top: -1.5rem;
442
- text-align: right;
443
- pointer-events: none;
444
- }
445
- mat-error {
446
- font-size: 10px;
447
- }
448
440
  }
449
441
 
450
-
451
442
  .mat-mdc-cell > .ion-text-nowrap {
452
443
  width: 100%;
453
444
  overflow: hidden;