@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/esm2022/src/app/core/table/testing/table.testing.mjs +18 -8
- package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +18 -22
- package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +3 -3
- package/esm2022/src/app/shared/material/latlong/material.latlong.mjs +2 -2
- package/esm2022/src/app/shared/pipes/maskito.pipe.mjs +37 -16
- package/fesm2022/sumaris-net.ngx-components.mjs +73 -45
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/material/datetime/material.datetime.d.ts +1 -2
- package/src/assets/manifest.json +1 -1
- package/src/theme/_material.scss +0 -4
- package/src/theme/_ngx-components.table.scss +17 -4
- package/src/theme/_ngx-components.tabs.scss +1 -0
package/package.json
CHANGED
|
@@ -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
|
|
103
|
+
private updateTranslations;
|
|
105
104
|
private onFormChange;
|
|
106
105
|
private emitChange;
|
|
107
106
|
private updateTabIndex;
|
package/src/assets/manifest.json
CHANGED
|
@@ -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-
|
|
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": [{
|
package/src/theme/_material.scss
CHANGED
|
@@ -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
|
-
|
|
366
|
-
|
|
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:
|
|
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;
|