@sumaris-net/ngx-components 2.7.3-rc10 → 2.7.3-rc11
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 +3 -3
- package/fesm2022/sumaris-net.ngx-components.mjs +2 -2
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/manifest.json +1 -1
- package/src/theme/_material.scss +4 -0
- package/src/theme/_ngx-components.table.scss +13 -84
package/package.json
CHANGED
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-rc11",
|
|
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
|
@@ -217,10 +217,11 @@
|
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
+
&.mat-mdc-row-selected,
|
|
220
221
|
&.mat-row-selected {
|
|
221
222
|
background-color: var(--ion-color-secondary100);
|
|
222
223
|
|
|
223
|
-
&:not(.mat-row-error):hover {
|
|
224
|
+
&:not(.mat-mdc-row-error):not(.mat-row-error):hover {
|
|
224
225
|
background-color: var(--ion-color-secondary100);
|
|
225
226
|
}
|
|
226
227
|
|
|
@@ -228,6 +229,7 @@
|
|
|
228
229
|
color: var(--ion-color-secondary100-contrast);
|
|
229
230
|
}
|
|
230
231
|
|
|
232
|
+
&.mat-mdc-row-disabled:hover,
|
|
231
233
|
&.mat-row-disabled:hover {
|
|
232
234
|
background-color: var(--ion-color-secondary100-shade) !important;
|
|
233
235
|
}
|
|
@@ -235,9 +237,8 @@
|
|
|
235
237
|
}
|
|
236
238
|
|
|
237
239
|
// Dirty row
|
|
240
|
+
&.mat-mdc-row-dirty,
|
|
238
241
|
&.mat-row-dirty {
|
|
239
|
-
//border-left: 3px solid var(--ion-color-primary-tint);
|
|
240
|
-
|
|
241
242
|
// Resize the dirty icon (in the 'actions' column)
|
|
242
243
|
.mat-column-actions mat-icon.dirty-icon,
|
|
243
244
|
.mat-column-actions ion-icon.dirty-icon {
|
|
@@ -246,10 +247,12 @@
|
|
|
246
247
|
}
|
|
247
248
|
|
|
248
249
|
// Error row
|
|
250
|
+
&.mat-mdc-row-error,
|
|
249
251
|
&.mat-row-error {
|
|
250
252
|
//border-left: 3px solid var(--ion-color-danger-tint) !important;
|
|
251
253
|
background-color: var(--ion-color-warning-tint);
|
|
252
254
|
|
|
255
|
+
&.mat-mdc-row-disabled:hover,
|
|
253
256
|
&.mat-row-disabled:hover {
|
|
254
257
|
background-color: var(--ion-color-warning-shade) !important;
|
|
255
258
|
}
|
|
@@ -458,100 +461,26 @@
|
|
|
458
461
|
|
|
459
462
|
/* Special case to have small row */
|
|
460
463
|
&.compact .mat-mdc-row,
|
|
464
|
+
.mat-mdc-row.mat-mdc-row-small,
|
|
461
465
|
.mat-mdc-row.mat-row-small {
|
|
462
466
|
min-height: inherit;
|
|
463
467
|
--mat-row-height: 33px;
|
|
464
468
|
--mat-row-max-height: 33px;
|
|
465
469
|
}
|
|
466
470
|
|
|
467
|
-
.mat-mdc-row.mat-row-small .mat-cell,
|
|
468
|
-
.mat-mdc-row .mat-cell.mat-row-small
|
|
471
|
+
.mat-mdc-row.mat-mdc-row-small .mat-mdc-cell,
|
|
472
|
+
.mat-mdc-row .mat-mdc-cell.mat-mdc-row-small,
|
|
473
|
+
.mat-mdc-row.mat-row-small .mat-mdc-cell,
|
|
474
|
+
.mat-mdc-row .mat-mdc-cell.mat-row-small {
|
|
469
475
|
line-height: 15px;
|
|
470
476
|
@include font-size(12px);
|
|
471
477
|
}
|
|
472
478
|
|
|
473
|
-
.mat-row-height-auto
|
|
479
|
+
.mat-mdc-row-height-auto,
|
|
480
|
+
.mat-row-height-auto {
|
|
474
481
|
max-height: unset !important;
|
|
475
482
|
}
|
|
476
483
|
|
|
477
|
-
// Make smaller row
|
|
478
|
-
// NOTE : useless on angular 15
|
|
479
|
-
//&.compact {
|
|
480
|
-
// --mat-row-height: 33px;
|
|
481
|
-
//
|
|
482
|
-
// // TODO test it ! then remove is not need
|
|
483
|
-
// .mat-mdc-row {
|
|
484
|
-
//
|
|
485
|
-
// ion-label {
|
|
486
|
-
// display: inline-block;
|
|
487
|
-
// margin-top: 5px;
|
|
488
|
-
// width: 100%;
|
|
489
|
-
// overflow: hidden;
|
|
490
|
-
// white-space: nowrap;
|
|
491
|
-
// text-overflow: ellipsis;
|
|
492
|
-
// }
|
|
493
|
-
//
|
|
494
|
-
// .mat-badge-content {
|
|
495
|
-
// top: -2px;
|
|
496
|
-
// }
|
|
497
|
-
//
|
|
498
|
-
// .mat-icon-button {
|
|
499
|
-
// height: 32px;
|
|
500
|
-
// width: 32px;
|
|
501
|
-
// line-height: 32px;
|
|
502
|
-
// }
|
|
503
|
-
//
|
|
504
|
-
// .mat-mdc-form-field-underline {
|
|
505
|
-
// bottom: 6px !important;
|
|
506
|
-
// }
|
|
507
|
-
//
|
|
508
|
-
// .mat-mdc-form-field {
|
|
509
|
-
//
|
|
510
|
-
// .mat-mdc-form-field-wrapper {
|
|
511
|
-
// max-height: 32px;
|
|
512
|
-
//
|
|
513
|
-
// .mat-mdc-form-field-flex {
|
|
514
|
-
//
|
|
515
|
-
// .mat-mdc-form-field-infix {
|
|
516
|
-
// max-height: 32px;
|
|
517
|
-
// padding-top: 0;
|
|
518
|
-
// border-top-width: 10px;
|
|
519
|
-
//
|
|
520
|
-
// .mat-mdc-form-field-label-wrapper {
|
|
521
|
-
//
|
|
522
|
-
// .mat-mdc-form-field-label {
|
|
523
|
-
// top: 12px;
|
|
524
|
-
// }
|
|
525
|
-
// }
|
|
526
|
-
//
|
|
527
|
-
// .mat-checkbox {
|
|
528
|
-
// display: block;
|
|
529
|
-
// position: absolute;
|
|
530
|
-
// top: -2px;
|
|
531
|
-
//
|
|
532
|
-
// .mat-checkbox-ripple {
|
|
533
|
-
// height: 32px;
|
|
534
|
-
// width: 32px;
|
|
535
|
-
// left: calc(50% - 16px);
|
|
536
|
-
// top: calc(50% - 16px);
|
|
537
|
-
// }
|
|
538
|
-
// }
|
|
539
|
-
// }
|
|
540
|
-
// }
|
|
541
|
-
//
|
|
542
|
-
// // make click on mat-error transfer to input
|
|
543
|
-
// //.mat-mdc-form-field-subscript-wrapper {
|
|
544
|
-
// // pointer-events: none;
|
|
545
|
-
// //}
|
|
546
|
-
//
|
|
547
|
-
// mat-error {
|
|
548
|
-
// margin-top: 10px;
|
|
549
|
-
// }
|
|
550
|
-
// }
|
|
551
|
-
// }
|
|
552
|
-
// }
|
|
553
|
-
//}
|
|
554
|
-
|
|
555
484
|
// Restore border on last row
|
|
556
485
|
.mdc-data-table__row:last-child .mat-mdc-cell {
|
|
557
486
|
border-bottom-color: var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12)) !important;
|