@sumaris-net/ngx-components 2.7.3-rc29 → 2.7.3-rc30
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/services/config/core.config.mjs +7 -1
- package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +3 -3
- package/esm2022/src/app/shared/material/latlong/material.latlong.mjs +3 -6
- package/fesm2022/sumaris-net.ngx-components.mjs +10 -7
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/services/config/core.config.d.ts +1 -0
- package/src/app/shared/material/latlong/material.latlong.d.ts +0 -1
- package/src/assets/manifest.json +1 -1
- package/src/theme/_mixins.scss +5 -3
- package/src/theme/_ngx-components.globals.scss +7 -4
- package/src/theme/_ngx-components.scss +3 -5
- package/src/theme/_ngx-components.table.scss +6 -6
package/package.json
CHANGED
|
@@ -24,6 +24,7 @@ export declare const CORE_CONFIG_OPTIONS: Readonly<{
|
|
|
24
24
|
COLOR_WARNING: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
25
25
|
COLOR_ACCENT: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
26
26
|
COLOR_DANGER: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
27
|
+
FORM_FIELD_BACKGROUND_COLOR: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
27
28
|
ANDROID_INSTALL_URL: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
28
29
|
DB_TIMEZONE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
29
30
|
ACCOUNT_READONLY: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
@@ -48,7 +48,6 @@ export declare class MatLatLongField implements OnInit, OnDestroy, ControlValueA
|
|
|
48
48
|
matError: MatError;
|
|
49
49
|
constructor(formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective, defaultOptions?: MatFormFieldDefaultOptions);
|
|
50
50
|
ngOnInit(): void;
|
|
51
|
-
_getDisplayedMessages(): 'error' | 'hint';
|
|
52
51
|
ngOnDestroy(): void;
|
|
53
52
|
writeValue(obj: any): void;
|
|
54
53
|
registerOnChange(fn: any): void;
|
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-rc30",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|
package/src/theme/_mixins.scss
CHANGED
|
@@ -98,21 +98,23 @@
|
|
|
98
98
|
--ion-grid-column-padding: #{$ion-grid-column-padding};
|
|
99
99
|
--ion-padding: #{$ion-padding};
|
|
100
100
|
--ion-margin: #{$ion-margin};
|
|
101
|
+
--ion-toolbar-height: #{$ion-toolbar-height};
|
|
101
102
|
|
|
102
103
|
--expansion-panel-padding: var(--ion-padding);
|
|
103
104
|
--expansion-panel-header-padding: var(--ion-padding);
|
|
104
105
|
|
|
105
106
|
--mat-toolbar-height: #{$mat-toolbar-height-desktop};
|
|
106
107
|
--mat-paginator-height: mat.$paginator-height;
|
|
107
|
-
--
|
|
108
|
+
--mat-tab-link-height: #{$mat-tab-link-height};
|
|
109
|
+
--mat-tab-bar-height: #{$mat-tab-bar-height};
|
|
108
110
|
|
|
109
111
|
--app-table-header-height: #{$app-table-header-height};
|
|
110
112
|
--app-toolbar-height: #{$app-toolbar-height};
|
|
111
113
|
--app-paginator-height: #{$app-paginator-height};
|
|
112
114
|
--app-form-buttons-bar-height: #{$app-form-buttons-bar-height};
|
|
113
115
|
--app-footer-height: var(--app-form-buttons-bar-height);
|
|
114
|
-
--
|
|
115
|
-
--
|
|
116
|
+
--app-form-field-background-color: #{$app-form-field-background-color};
|
|
117
|
+
--app-form-field-disabled-background-color: #{$app-form-field-disabled-background-color};
|
|
116
118
|
}
|
|
117
119
|
|
|
118
120
|
@mixin css-variables-to-root-mobile() {
|
|
@@ -16,7 +16,10 @@ $app-form-buttons-bar-height: 56px !default;
|
|
|
16
16
|
$app-select-option-border-color: rgba(0, 0, 0, 0.12) !default;
|
|
17
17
|
$app-table-border-color: rgba(0, 0, 0, 0.08) !default;
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
$app-form-field-
|
|
22
|
-
|
|
19
|
+
// Form's field background
|
|
20
|
+
$app-form-field-background-color: rgb(245,245,245) !default;
|
|
21
|
+
$app-form-field-disabled-background-color: #fafafa !default;
|
|
22
|
+
|
|
23
|
+
// Form fields background : transparent
|
|
24
|
+
//$app-form-field-background-color: transparent !default;
|
|
25
|
+
//$app-form-field-disabled-background-color: transparent !default;
|
|
@@ -134,9 +134,9 @@ form.form-container {
|
|
|
134
134
|
color: #{$app-form-color};
|
|
135
135
|
@include font-size(16px);
|
|
136
136
|
|
|
137
|
-
--mdc-filled-text-field-container-color:
|
|
138
|
-
--mdc-filled-text-field-disabled-container-color:
|
|
139
|
-
--mat-form-field-state-layer-color:
|
|
137
|
+
--mdc-filled-text-field-container-color: var(--app-form-field-background-color);
|
|
138
|
+
--mdc-filled-text-field-disabled-container-color: var(--app-form-field-disabled-background-color);
|
|
139
|
+
--mat-form-field-state-layer-color: var(--app-form-field-focus-background-color);
|
|
140
140
|
--mat-form-field-container-height: 45px;
|
|
141
141
|
--mat-form-field-container-text-size: inherit;
|
|
142
142
|
--mat-form-field-filled-label-display: block;
|
|
@@ -146,7 +146,6 @@ form.form-container {
|
|
|
146
146
|
--mdc-filled-text-field-label-text-tracking: normal;
|
|
147
147
|
--mat-select-trigger-text-size: var(--mat-form-field-container-text-size);
|
|
148
148
|
|
|
149
|
-
|
|
150
149
|
.mat-form-field-disabled,
|
|
151
150
|
.mat-mdc-input-element:disabled {
|
|
152
151
|
color: #{$app-form-color-disabled} !important;
|
|
@@ -869,7 +868,6 @@ ngx-material-timepicker-content {
|
|
|
869
868
|
|
|
870
869
|
.mat-mdc-form-field-type-mat-chip-grid {
|
|
871
870
|
.mat-mdc-form-field-infix {
|
|
872
|
-
padding-bottom: 5px !important;
|
|
873
871
|
--mdc-chip-container-height: 24px !important;
|
|
874
872
|
}
|
|
875
873
|
}
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
|
|
20
20
|
--mdc-checkbox-state-layer-size: 20px;
|
|
21
21
|
--mdc-typography-body1-font-size: 14px;
|
|
22
|
-
--mat-table-row-item-label-text-tracking:
|
|
23
|
-
--mat-form-field-container-text-tracking:
|
|
24
|
-
--mdc-typography-body1-letter-spacing:
|
|
22
|
+
--mat-table-row-item-label-text-tracking: normal;
|
|
23
|
+
--mat-form-field-container-text-tracking: normal;
|
|
24
|
+
--mdc-typography-body1-letter-spacing: normal;
|
|
25
25
|
--mat-table-row-item-label-text-size: 14px;
|
|
26
26
|
|
|
27
|
-
--mdc-filled-text-field-container-color:
|
|
28
|
-
--mdc-filled-text-field-disabled-container-color:
|
|
29
|
-
--mat-form-field-state-layer-color:
|
|
27
|
+
--mdc-filled-text-field-container-color: transparent;
|
|
28
|
+
--mdc-filled-text-field-disabled-container-color: transparent;
|
|
29
|
+
--mat-form-field-state-layer-color: transparent;
|
|
30
30
|
|
|
31
31
|
.mat-mdc-header-cell {
|
|
32
32
|
color: var(--ion-color-primary);
|