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

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-rc38",
4
+ "version": "2.7.3-rc39",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -80,7 +80,6 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
80
80
  matError: MatError;
81
81
  constructor(dateAdapter: MomentDateAdapter, translate: TranslateService, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective, defaultOptions?: MatFormFieldDefaultOptions);
82
82
  ngOnInit(): void;
83
- _getDisplayedMessages(): 'error' | 'hint';
84
83
  ngAfterViewInit(): void;
85
84
  ngOnDestroy(): void;
86
85
  writeValue(value: any): void;
@@ -101,7 +100,7 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
101
100
  protected _onBlur(): void;
102
101
  protected _checkIfTouched(): void;
103
102
  protected _preventEvent(event?: Event): void;
104
- private updatePattern;
103
+ private updateTranslations;
105
104
  private onFormChange;
106
105
  private emitChange;
107
106
  private updateTabIndex;
@@ -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-rc38",
5
+ "version": "2.7.3-rc39",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{
@@ -67,10 +67,6 @@
67
67
  --mat-select-trigger-text-line-height: inherit;
68
68
  }
69
69
 
70
- // Badge
71
- .mdc-tab .mat-badge-content {
72
- padding-left: 2px;
73
- }
74
70
  .mat-badge-primary .mat-badge-content {
75
71
  background-color: var(--ion-color-tertiary);
76
72
  color: var(--ion-color-tertiary-contrast);
@@ -360,11 +360,11 @@
360
360
  // Suffix
361
361
  .mat-mdc-form-field-icon-suffix {
362
362
  white-space: nowrap;
363
+ padding: 0;
363
364
 
364
365
  .mat-mdc-icon-button {
365
- width: 24px;
366
- height: 24px;
367
- padding: 2px 0 0 0;
366
+ --mdc-icon-button-state-layer-size: 24px;
367
+ padding: 0;
368
368
 
369
369
  ion-icon, .mat-icon {
370
370
  $font-size: calculateRem(18px);
@@ -373,7 +373,7 @@
373
373
  }
374
374
 
375
375
  .mat-mdc-button-touch-target {
376
- width: 24px;
376
+ width: var(--mdc-icon-button-state-layer-size);
377
377
  }
378
378
  }
379
379
 
@@ -439,6 +439,19 @@
439
439
  height: calc(var(--mat-row-height) - 2px);
440
440
  }
441
441
 
442
+ mat-date-time-field {
443
+ ion-col.hour {
444
+ --max-width: var(--min-width) !important;
445
+ }
446
+ }
447
+
448
+ mat-latlong-field {
449
+ ion-col.sign {
450
+ --min-width: 35px !important;
451
+ --max-width: 45px !important;
452
+ }
453
+ }
454
+
442
455
  .mat-mdc-cell > .ion-text-nowrap {
443
456
  width: 100%;
444
457
  overflow: hidden;
@@ -35,3 +35,4 @@
35
35
  .mat-mdc-tab-group.mat-mdc-tab-disabled-visible .mat-mdc-tab-disabled {
36
36
  display: inherit;
37
37
  }
38
+