@sumaris-net/ngx-components 2.7.3-rc1 → 2.7.3-rc10
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/menu/menu.component.mjs +3 -3
- package/esm2022/src/app/core/menu/testing/menu-other.testing.mjs +3 -3
- package/esm2022/src/app/core/menu/testing/menu.testing.mjs +3 -3
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +2 -2
- package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +3 -3
- package/esm2022/src/app/shared/material/chips/material.chips.mjs +2 -2
- package/fesm2022/sumaris-net.ngx-components.mjs +10 -10
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/material/chips/material.chips.d.ts +1 -1
- package/src/assets/manifest.json +1 -1
- package/src/theme/_material.scss +6 -1
- package/src/theme/_mixins.scss +1 -1
- package/src/theme/_ngx-components.scss +45 -178
- package/src/theme/_ngx-components.table.scss +7 -0
- package/src/theme/_ngx-components.tabs.scss +37 -0
- package/src/theme/_theme.scss +1 -0
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import { ControlValueAccessor, FormGroupDirective, UntypedFormControl } from '@a
|
|
|
3
3
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
4
|
import { InputElement } from '../../inputs';
|
|
5
5
|
import { SuggestFn } from '../../services/entity-service.class';
|
|
6
|
-
import { DisplayFn, EqualsFn
|
|
6
|
+
import { AppFloatLabelType, DisplayFn, EqualsFn } from '../../form/field.model';
|
|
7
7
|
import { ThemePalette } from '@angular/material/core';
|
|
8
8
|
import { MatAutocompleteFieldConfig } from '../autocomplete/material.autocomplete.config';
|
|
9
9
|
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
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-rc10",
|
|
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
|
@@ -50,8 +50,13 @@
|
|
|
50
50
|
--mdc-typography-button-letter-spacing: normal;
|
|
51
51
|
--mdc-text-button-label-text-tracking: normal;
|
|
52
52
|
}
|
|
53
|
+
.mat-mdc-menu-item {
|
|
54
|
+
--mat-menu-item-label-text-tracking: normal;
|
|
55
|
+
--mat-menu-item-label-text-size: 14px;
|
|
56
|
+
--mat-menu-item-icon-color: #0000008a;
|
|
57
|
+
}
|
|
53
58
|
|
|
54
|
-
// Badge
|
|
59
|
+
// Badge
|
|
55
60
|
.mdc-tab .mat-badge-content {
|
|
56
61
|
padding-left: 2px;
|
|
57
62
|
}
|
package/src/theme/_mixins.scss
CHANGED
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
|
|
109
109
|
--app-table-header-height: #{$app-table-header-height};
|
|
110
110
|
--app-toolbar-height: #{$app-toolbar-height};
|
|
111
|
-
|
|
111
|
+
--app-paginator-height: #{$app-paginator-height};
|
|
112
112
|
--app-form-buttons-bar-height: #{$app-form-buttons-bar-height};
|
|
113
113
|
--app-footer-height: var(--app-form-buttons-bar-height);
|
|
114
114
|
--mat-tab-link-height: #{$mat-tab-link-height};
|
|
@@ -384,191 +384,74 @@ mat-option:not(:last-of-type) {
|
|
|
384
384
|
min-width: var(--min-width) !important;
|
|
385
385
|
max-width: var(--max-width) !important;
|
|
386
386
|
}
|
|
387
|
-
.mat-autocomplete-panel {
|
|
388
|
-
--min-width:
|
|
387
|
+
.mat-mdc-autocomplete-panel {
|
|
388
|
+
--min-width: 200px;
|
|
389
389
|
--max-width: calc(min(100%, 100vw - 64px));
|
|
390
390
|
min-width: var(--min-width) !important;
|
|
391
391
|
max-width: var(--max-width) !important;
|
|
392
392
|
width: var(--max-width) !important;
|
|
393
393
|
}
|
|
394
394
|
|
|
395
|
-
.mat-autocomplete-panel-medium-size .mat-autocomplete-panel,
|
|
396
|
-
.mat-autocomplete-panel-medium-size.mat-autocomplete-panel,
|
|
397
|
-
.min-width-medium .mat-autocomplete-panel,
|
|
398
|
-
.min-width-medium.mat-autocomplete-panel
|
|
395
|
+
.mat-mdc-autocomplete-panel-medium-size .mat-mdc-autocomplete-panel,
|
|
396
|
+
.mat-mdc-autocomplete-panel-medium-size.mat-mdc-autocomplete-panel,
|
|
397
|
+
.min-width-medium .mat-mdc-autocomplete-panel,
|
|
398
|
+
.min-width-medium.mat-mdc-autocomplete-panel,
|
|
399
|
+
.min-width-medium.mat-mdc-select-panel {
|
|
399
400
|
--min-width: 300px;
|
|
400
401
|
}
|
|
401
|
-
.mat-autocomplete-panel-large-size .mat-autocomplete-panel,
|
|
402
|
-
.mat-autocomplete-panel.mat-autocomplete-panel-large-size,
|
|
403
|
-
.min-width-large .mat-autocomplete-panel,
|
|
404
|
-
.min-width-large.mat-autocomplete-panel
|
|
402
|
+
.mat-mdc-autocomplete-panel-large-size .mat-mdc-autocomplete-panel,
|
|
403
|
+
.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-panel-large-size,
|
|
404
|
+
.min-width-large .mat-mdc-autocomplete-panel,
|
|
405
|
+
.min-width-large.mat-mdc-autocomplete-panel,
|
|
406
|
+
.min-width-large.mat-mdc-select-panel{
|
|
405
407
|
--min-width: 400px;
|
|
406
408
|
}
|
|
407
|
-
.mat-autocomplete-panel-xlarge-size .mat-autocomplete-panel,
|
|
408
|
-
.mat-autocomplete-panel-xlarge-size.mat-autocomplete-panel
|
|
409
|
+
.mat-mdc-autocomplete-panel-xlarge-size .mat-mdc-autocomplete-panel,
|
|
410
|
+
.mat-mdc-autocomplete-panel-xlarge-size.mat-mdc-autocomplete-panel,
|
|
411
|
+
.mat-mdc-autocomplete-panel-xlarge-size.mat-mdc-select-panel {
|
|
409
412
|
--min-width: 450px;
|
|
410
413
|
}
|
|
411
414
|
.mat-select-panel.min-width-80vw,
|
|
412
415
|
.mat-mdc-select-panel.min-width-80vw,
|
|
413
|
-
.min-width-80vw .mat-autocomplete-panel,
|
|
414
|
-
.min-width-80vw.mat-autocomplete-panel {
|
|
416
|
+
.min-width-80vw .mat-mdc-autocomplete-panel,
|
|
417
|
+
.min-width-80vw.mat-mdc-autocomplete-panel {
|
|
415
418
|
--min-width: 80vw;
|
|
416
419
|
}
|
|
417
420
|
|
|
418
|
-
.mat-autocomplete-panel-center .mat-autocomplete-panel,
|
|
419
|
-
.mat-autocomplete-panel-center.mat-autocomplete-panel {
|
|
421
|
+
.mat-mdc-autocomplete-panel-center .mat-mdc-autocomplete-panel,
|
|
422
|
+
.mat-mdc-autocomplete-panel-center.mat-mdc-autocomplete-panel {
|
|
420
423
|
margin-left: calc(var(--min-width, 200px) / -2 + 50%) !important;
|
|
421
424
|
}
|
|
422
425
|
|
|
423
|
-
.mat-autocomplete-panel-full-size .mat-autocomplete-panel,
|
|
424
|
-
.mat-autocomplete-panel-full-size.mat-autocomplete-panel {
|
|
426
|
+
.mat-mdc-autocomplete-panel-full-size .mat-mdc-autocomplete-panel,
|
|
427
|
+
.mat-mdc-autocomplete-panel-full-size.mat-mdc-autocomplete-panel {
|
|
425
428
|
--min-width: calc(100vw - 64px);
|
|
426
429
|
--max-width: calc(100vw - 64px);
|
|
427
430
|
position: fixed;
|
|
428
431
|
left: 32px;
|
|
429
432
|
}
|
|
430
433
|
|
|
431
|
-
.mat-select-panel,
|
|
432
434
|
.mat-mdc-select-panel,
|
|
433
|
-
.mat-autocomplete-panel {
|
|
435
|
+
.mat-mdc-autocomplete-panel {
|
|
434
436
|
/* when multiple selection enable */
|
|
435
437
|
mat-pseudo-checkbox {
|
|
436
438
|
margin-left: 8px;
|
|
437
439
|
}
|
|
440
|
+
|
|
441
|
+
padding: 0 !important;
|
|
438
442
|
}
|
|
439
443
|
|
|
440
444
|
ion-list,
|
|
441
|
-
.mat-
|
|
442
|
-
.mat-menu-panel,
|
|
443
|
-
.mat-autocomplete-panel {
|
|
444
|
-
|
|
445
|
+
.mat-mdc-menu-panel {
|
|
445
446
|
&.ion-list-popover {
|
|
446
447
|
padding: 0 !important;
|
|
447
448
|
}
|
|
448
|
-
|
|
449
|
-
/* Avoid bad display, when opening panel for the first time */
|
|
450
|
-
&.ng-trigger-transformPanel {
|
|
451
|
-
ion-searchbar.mat-select-header,
|
|
452
|
-
ion-searchbar.mat-autocomplete-header {
|
|
453
|
-
visibility: visible;
|
|
454
|
-
display: flex;
|
|
455
|
-
opacity: 1;
|
|
456
|
-
transition: opacity 0.3s ease-in-out;
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
mat-option.mat-select-searchbar,
|
|
461
|
-
mat-option.mat-autocomplete-searchbar
|
|
462
|
-
{
|
|
463
|
-
padding: 0 !important;
|
|
464
|
-
height: 58px !important;
|
|
465
|
-
background-color: var(--ion-color-secondary100) !important;
|
|
466
|
-
|
|
467
|
-
/* hide pseudo checkbox, in the searchbar*/
|
|
468
|
-
mat-pseudo-checkbox {
|
|
469
|
-
visibility: hidden;
|
|
470
|
-
display: none;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
&.mat-select-searchbar-sticky {
|
|
474
|
-
z-index: 1001;
|
|
475
|
-
/* Set header as sticky*/
|
|
476
|
-
position: -webkit-sticky;
|
|
477
|
-
position: sticky;
|
|
478
|
-
top: 0;
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
ion-row.ion-list-header,
|
|
483
|
-
ion-row.mat-select-header,
|
|
484
|
-
ion-row.mat-menu-header,
|
|
485
|
-
ion-row.mat-autocomplete-header {
|
|
486
|
-
&.multiple {
|
|
487
|
-
/* Offset due to mat-pseudo-checkbox */
|
|
488
|
-
padding-left: 32px;
|
|
489
|
-
}
|
|
490
|
-
&.column {
|
|
491
|
-
/* Set header as sticky*/
|
|
492
|
-
position: -webkit-sticky;
|
|
493
|
-
position: sticky;
|
|
494
|
-
top: 0;
|
|
495
|
-
z-index: 1001;
|
|
496
|
-
background-color: var(--ion-color-secondary);
|
|
497
|
-
border-bottom: 1px solid #{$app-select-option-border-color};
|
|
498
|
-
color: var(--ion-color-secondary-contrast);
|
|
499
|
-
line-height: 20px;
|
|
500
|
-
@include font-size(12px);
|
|
501
|
-
font-weight: 500;
|
|
502
|
-
height: 20px;
|
|
503
|
-
ion-col {
|
|
504
|
-
white-space: nowrap;
|
|
505
|
-
text-overflow: ellipsis;
|
|
506
|
-
}
|
|
507
|
-
&.mat-select-searchbar-sticky {
|
|
508
|
-
/* offset because of the searchbar height */
|
|
509
|
-
top: 58px;
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
ion-row.ion-list-footer,
|
|
516
|
-
ion-row.mat-select-footer,
|
|
517
|
-
ion-row.mat-menu-footer,
|
|
518
|
-
ion-row.mat-autocomplete-footer,
|
|
519
|
-
mat-option.mat-autocomplete-footer {
|
|
520
|
-
/* Set footer as sticky*/
|
|
521
|
-
position: -webkit-sticky;
|
|
522
|
-
position: sticky;
|
|
523
|
-
bottom: 0;
|
|
524
|
-
z-index: 1001;
|
|
525
|
-
border-top: 1px solid #{$app-select-option-border-color};
|
|
526
|
-
background-color: whitesmoke;
|
|
527
|
-
color: var(--ion-color-medium);
|
|
528
|
-
@include font-size(12px);
|
|
529
|
-
font-weight: 500;
|
|
530
|
-
height: 20px;
|
|
531
|
-
line-height: 20px;
|
|
532
|
-
|
|
533
|
-
ion-col {
|
|
534
|
-
white-space: nowrap;
|
|
535
|
-
text-overflow: ellipsis;
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
ion-row {
|
|
540
|
-
--ion-grid-column-padding: 0;
|
|
541
|
-
|
|
542
|
-
ion-col {
|
|
543
|
-
--ion-padding-start: 8px;
|
|
544
|
-
padding: 0 !important;
|
|
545
|
-
padding-left: var(--ion-padding-start) !important;
|
|
546
|
-
text-overflow: ellipsis;
|
|
547
|
-
overflow: hidden;
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
.odd {
|
|
554
|
-
background: var(--ion-light-color-shade, $light);
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
.mat-option[no-padding],
|
|
558
|
-
mat-option[no-padding] {
|
|
559
|
-
padding: 0 !important;
|
|
560
|
-
}
|
|
561
449
|
}
|
|
562
450
|
|
|
451
|
+
ion-list,
|
|
452
|
+
.mat-mdc-menu-panel,
|
|
563
453
|
.mat-mdc-select-panel,
|
|
564
|
-
.mat-mdc-autocomplete-panel
|
|
565
|
-
//ion-list,
|
|
566
|
-
//.mat-menu-panel,
|
|
567
|
-
{
|
|
568
|
-
|
|
569
|
-
//&.ion-list-popover {
|
|
570
|
-
padding: 0 !important;
|
|
571
|
-
//}
|
|
454
|
+
.mat-mdc-autocomplete-panel {
|
|
572
455
|
|
|
573
456
|
/* Avoid bad display, when opening panel for the first time */
|
|
574
457
|
&.ng-trigger-transformPanel {
|
|
@@ -581,12 +464,17 @@ ion-list,
|
|
|
581
464
|
}
|
|
582
465
|
}
|
|
583
466
|
|
|
584
|
-
mat-option.mat-select-searchbar,
|
|
585
|
-
mat-option.mat-autocomplete-searchbar
|
|
467
|
+
.mat-mdc-option.mat-select-searchbar,
|
|
468
|
+
.mat-mdc-option.mat-autocomplete-searchbar
|
|
586
469
|
{
|
|
587
470
|
padding: 0 !important;
|
|
588
471
|
height: 58px !important;
|
|
589
472
|
background-color: var(--ion-color-secondary100) !important;
|
|
473
|
+
pointer-events: inherit !important;
|
|
474
|
+
|
|
475
|
+
.mdc-list-item__primary-text {
|
|
476
|
+
opacity: 1 !important;
|
|
477
|
+
}
|
|
590
478
|
|
|
591
479
|
/* hide pseudo checkbox, in the searchbar*/
|
|
592
480
|
mat-pseudo-checkbox {
|
|
@@ -671,6 +559,7 @@ ion-list,
|
|
|
671
559
|
padding-left: var(--ion-padding-start) !important;
|
|
672
560
|
text-overflow: ellipsis;
|
|
673
561
|
overflow: hidden;
|
|
562
|
+
white-space: nowrap;
|
|
674
563
|
}
|
|
675
564
|
|
|
676
565
|
|
|
@@ -680,12 +569,14 @@ ion-list,
|
|
|
680
569
|
background: var(--ion-light-color-shade, $light);
|
|
681
570
|
}
|
|
682
571
|
|
|
572
|
+
.mat-mdc-option[no-padding],
|
|
683
573
|
.mat-option[no-padding],
|
|
684
574
|
mat-option[no-padding] {
|
|
685
575
|
padding: 0 !important;
|
|
686
576
|
}
|
|
687
577
|
}
|
|
688
578
|
|
|
579
|
+
|
|
689
580
|
mat-expansion-panel {
|
|
690
581
|
|
|
691
582
|
&.filter-panel {
|
|
@@ -838,36 +729,12 @@ mat-button-toggle.mat-button-toggle-checked.mat-button-toggle-disabled {
|
|
|
838
729
|
color: white;
|
|
839
730
|
}
|
|
840
731
|
|
|
841
|
-
// --------------------------------------------------
|
|
842
|
-
// Material tab group
|
|
843
|
-
// --------------------------------------------------
|
|
844
|
-
|
|
845
|
-
// --- Allow to hide headers
|
|
846
|
-
mat-tab-group.mat-tab-group-header-hidden .mat-mdc-tab-header {
|
|
847
|
-
display: none;
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
// --- Allow to hide header's pagination
|
|
851
|
-
mat-tab-group.mat-tab-group-header-pagination-hidden .mat-tab-header-pagination {
|
|
852
|
-
display: none;
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
// --- Allow to hide disabled headers
|
|
856
|
-
mat-tab-group.mat-tab-disabled-hidden .mat-tab-disabled {
|
|
857
|
-
display: none;
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
// --- Allow to show disabled headers
|
|
861
|
-
mat-tab-group.mat-tab-disabled-visible .mat-tab-disabled {
|
|
862
|
-
display: inherit;
|
|
863
|
-
}
|
|
864
|
-
|
|
865
732
|
// --------------------------------------------------
|
|
866
733
|
// Material menu
|
|
867
734
|
// --------------------------------------------------
|
|
868
735
|
|
|
869
736
|
|
|
870
|
-
.mat-menu-panel {
|
|
737
|
+
.mat-mdc-menu-panel {
|
|
871
738
|
|
|
872
739
|
// Max width = 400px
|
|
873
740
|
&.mat-menu-size-400 {
|
|
@@ -884,31 +751,31 @@ mat-tab-group.mat-tab-disabled-visible .mat-tab-disabled {
|
|
|
884
751
|
|
|
885
752
|
// No padding
|
|
886
753
|
&.ion-no-padding {
|
|
887
|
-
.mat-menu-content {
|
|
754
|
+
.mat-mdc-menu-content {
|
|
888
755
|
padding: 0 !important;
|
|
889
756
|
}
|
|
890
757
|
}
|
|
891
758
|
|
|
892
759
|
// Small menu item (e.g. for actions on a table row)
|
|
893
|
-
&.mat-menu-small-
|
|
894
|
-
.mat-menu-item.mat-menu-item-small-height
|
|
760
|
+
&.mat-mdc-menu-item-small-height .mat-mdc-menu-item,
|
|
761
|
+
.mat-mdc-menu-item.mat-mdc-menu-item-small-height
|
|
895
762
|
{
|
|
896
763
|
padding: 0 8px;
|
|
897
764
|
height: 35px;
|
|
898
765
|
line-height: 35px;
|
|
899
766
|
}
|
|
900
767
|
// Reduce the font size, on label just inside a mat-menu (e.g. see trips.page.html)
|
|
901
|
-
.mat-menu-content > ion-label {
|
|
768
|
+
.mat-mdc-menu-content > ion-label {
|
|
902
769
|
@include font-size(12px);
|
|
903
770
|
}
|
|
904
771
|
|
|
905
|
-
.mat-menu-content ion-item > ion-icon[slot="start"] {
|
|
772
|
+
.mat-mdc-menu-content ion-item > ion-icon[slot="start"] {
|
|
906
773
|
margin-right: 16px;
|
|
907
774
|
vertical-align: middle;
|
|
908
775
|
}
|
|
909
776
|
|
|
910
777
|
// Menu title (e.g. see extraction map)
|
|
911
|
-
.mat-menu-item.mat-menu-title {
|
|
778
|
+
.mat-mdc-menu-item.mat-mdc-menu-title {
|
|
912
779
|
padding: 0 8px;
|
|
913
780
|
height: 27px;
|
|
914
781
|
line-height: 27px;
|
|
@@ -551,6 +551,13 @@
|
|
|
551
551
|
// }
|
|
552
552
|
// }
|
|
553
553
|
//}
|
|
554
|
+
|
|
555
|
+
// Restore border on last row
|
|
556
|
+
.mdc-data-table__row:last-child .mat-mdc-cell {
|
|
557
|
+
border-bottom-color: var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12)) !important;
|
|
558
|
+
border-bottom-width: var(--mat-table-row-item-outline-width, 1px) !important;
|
|
559
|
+
border-bottom-style: solid !important;
|
|
560
|
+
}
|
|
554
561
|
}
|
|
555
562
|
|
|
556
563
|
.mat-mdc-paginator {
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// --------------------------------------------------
|
|
2
|
+
// Material tab group/link
|
|
3
|
+
// --------------------------------------------------
|
|
4
|
+
|
|
5
|
+
// -- Keep Angular 14 tab style
|
|
6
|
+
.mat-mdc-tab-label-container, .mat-mdc-tab-link-container {
|
|
7
|
+
--mat-tab-header-divider-color: rgba(0,0,0,.12) !important;
|
|
8
|
+
--mat-tab-header-divider-height: 1px !important;
|
|
9
|
+
}
|
|
10
|
+
.mat-mdc-tab-group, .mat-mdc-tab-nav-bar {
|
|
11
|
+
--mat-tab-header-active-label-text-color: #000000de !important;
|
|
12
|
+
--mat-tab-header-active-focus-label-text-color: #000000de !important;
|
|
13
|
+
--mat-tab-header-active-hover-label-text-color: #000000de !important;
|
|
14
|
+
}
|
|
15
|
+
.mat-mdc-tab-header {
|
|
16
|
+
--mat-tab-header-label-text-tracking: 0.0178571429em !important;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// --- Allow to hide headers
|
|
20
|
+
.mat-mdc-tab-group.mat-mdc-tab-group-header-hidden .mat-mdc-tab-header {
|
|
21
|
+
display: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// --- Allow to hide header's pagination
|
|
25
|
+
.mat-mdc-tab-group.mat-mdc-tab-group-header-pagination-hidden .mat-mdc-tab-header-pagination {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// --- Allow to hide disabled headers
|
|
30
|
+
.mat-mdc-tab-group.mat-mdc-tab-disabled-hidden .mat-mdc-tab-disabled {
|
|
31
|
+
display: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// --- Allow to show disabled headers
|
|
35
|
+
.mat-mdc-tab-group.mat-mdc-tab-disabled-visible .mat-mdc-tab-disabled {
|
|
36
|
+
display: inherit;
|
|
37
|
+
}
|
package/src/theme/_theme.scss
CHANGED