@sumaris-net/ngx-components 2.7.3-rc13 → 2.7.3-rc15

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-rc13",
4
+ "version": "2.7.3-rc15",
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-rc13",
5
+ "version": "2.7.3-rc15",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{
@@ -57,7 +57,13 @@
57
57
  }
58
58
  .mat-mdc-option {
59
59
  --mat-option-label-text-tracking: normal;
60
- --mat-option-label-text-size: 16px;
60
+ --mat-option-label-text-size: 14px;
61
+ }
62
+ .mat-mdc-select {
63
+ --mat-select-trigger-text-font: inherit;
64
+ --mat-select-trigger-text-tracking: normal;
65
+ --mat-select-trigger-text-size: inherit;
66
+ --mat-select-disabled-trigger-text-color: inherit;
61
67
  }
62
68
 
63
69
  // Badge
@@ -135,13 +135,23 @@ form.form-container {
135
135
  --mdc-filled-text-field-container-color: #{$app-form-field-background-color};
136
136
  --mdc-filled-text-field-disabled-container-color: #{$app-form-field-background-color};
137
137
  --mat-form-field-state-layer-color: #{$app-form-field-focus-background-color};
138
- @include font-size(16px);
138
+ --mat-form-field-container-height: 45px;
139
+ --mat-form-field-container-text-size: 14px;
140
+ --mat-form-field-filled-label-display: block;
141
+ --mat-form-field-container-vertical-padding: 16px;
142
+ --mat-form-field-filled-with-label-container-padding-top: 16px;
143
+ --mat-form-field-filled-with-label-container-padding-bottom: 0px;
144
+ --mdc-filled-text-field-label-text-tracking: normal;
145
+ --mat-select-trigger-text-size: var(--mat-form-field-container-text-size);
146
+
147
+ @include font-size(14px);
139
148
 
140
149
  .mat-form-field-disabled,
141
150
  .mat-mdc-input-element:disabled {
142
151
  color: #{$app-form-color-disabled} !important;
143
152
  }
144
153
 
154
+ // TODO BLA: voir si utile ?
145
155
  .mat-form-field-disabled {
146
156
  .mat-mdc-form-field-infix{
147
157
  min-height: 41px;
@@ -300,9 +310,6 @@ ion-grid.form-container {
300
310
  }
301
311
 
302
312
  mat-form-field {
303
- //mat-error {
304
- // text-align: right;
305
- //}
306
313
 
307
314
  .mat-paginator-page-size-select {
308
315
  @include font-size-important(14px);
@@ -156,6 +156,7 @@
156
156
  }
157
157
  }
158
158
 
159
+ .mat-mdc-cell-date,
159
160
  .mat-cell-date {
160
161
  min-width: 128px;
161
162
  max-width: 128px;
@@ -166,6 +167,7 @@
166
167
  }
167
168
  }
168
169
 
170
+ .mat-mdc-cell-date-time,
169
171
  .mat-cell-date-time {
170
172
  min-width: 145px;
171
173
  max-width: 180px;
@@ -190,9 +192,11 @@
190
192
  }
191
193
 
192
194
  .mat-mdc-cell.computed mat-form-field,
195
+ .mat-mdc-cell-computed,
193
196
  .mat-cell-computed,
194
197
  .mat-mdc-cell ion-text.computed,
195
198
  .mat-mdc-cell.calculated mat-form-field,
199
+ .mat-mdc-cell-calculated,
196
200
  .mat-cell-calculated {
197
201
  color: var(--ion-color-primary-tint);
198
202
  font-style: italic;
@@ -202,6 +206,7 @@
202
206
  .mat-mdc-row {
203
207
 
204
208
  // Disabled row
209
+ &.mat-mdc-row-disabled *,
205
210
  &.mat-row-disabled * {
206
211
  color: inherit;
207
212
  cursor: pointer;
@@ -209,10 +214,11 @@
209
214
  pointer-events: unset !important;
210
215
  }
211
216
 
217
+ &.mat-mdc-row-disabled:hover,
212
218
  &.mat-row-disabled:hover {
213
219
  background-color: var(--ion-color-light);
214
220
 
215
- .mat-cell {
221
+ .mat-mdc-cell {
216
222
  color: var(--ion-color-light-contrast);
217
223
  }
218
224
  }
@@ -225,7 +231,7 @@
225
231
  background-color: var(--ion-color-secondary100);
226
232
  }
227
233
 
228
- .mat-cell {
234
+ .mat-mdc-cell {
229
235
  color: var(--ion-color-secondary100-contrast);
230
236
  }
231
237
 
@@ -281,6 +287,7 @@
281
287
  width: 100%;
282
288
  --mat-form-field-container-text-size: 14px;
283
289
  --mdc-filled-text-field-label-text-size: var(--mat-form-field-container-text-size);
290
+ --mat-select-trigger-text-size: var(--mat-form-field-container-text-size);
284
291
  --mat-mdc-form-field-height: calc(var(--mat-row-height) - 2px);
285
292
  // TODO
286
293
  // use -- active- boder : 0;
@@ -429,7 +436,7 @@
429
436
  padding-top: 0.4em;
430
437
  }
431
438
 
432
- .mat-cell > .ion-text-nowrap {
439
+ .mat-mdc-cell > .ion-text-nowrap {
433
440
  width: 100%;
434
441
  overflow: hidden;
435
442
  text-overflow: ellipsis;
@@ -437,17 +444,17 @@
437
444
  }
438
445
 
439
446
  /* Show when hover row */
440
- .mat-cell .visible-hover-row {
447
+ .mat-mdc-cell .visible-hover-row {
441
448
  visibility: hidden;
442
449
  }
443
450
 
444
451
  &:hover {
445
- .mat-cell .visible-hover-row {
452
+ .mat-mdc-cell .visible-hover-row {
446
453
  visibility: visible;
447
454
  }
448
455
  }
449
456
 
450
- .mat-cell .avatar {
457
+ .mat-mdc-cell .avatar {
451
458
  color: #d9d9d9;
452
459
  background-color: #f8f8f8;
453
460
  border: solid 1px #d9d9d9;
@@ -490,7 +497,7 @@
490
497
  }
491
498
 
492
499
  .mat-mdc-paginator {
493
- --mat-paginator-container-size: #{$app-paginator-height};
500
+ --mat-paginator-container-size: var(--app-paginator-height, #{$app-paginator-height});
494
501
  --mat-paginator-container-background-color: whitesmoke;
495
502
  overflow-y: hidden;
496
503