@softheon/armature 17.16.4 → 17.17.0

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.
Files changed (38) hide show
  1. package/ag-grid-components/package.json +3 -0
  2. package/ag-grid-components/src/sof-table/sof-table.component.d.ts +2 -2
  3. package/assets/styles/_variables.scss +2 -0
  4. package/assets/styles/sof-styles.scss +273 -198
  5. package/esm2022/ag-grid-components/src/sof-table/sof-table.component.mjs +7 -7
  6. package/esm2022/lib/alert-banner/alert-banner.module.mjs +2 -1
  7. package/esm2022/lib/alert-banner/components/alert-banner/alert-banner.component.mjs +2 -3
  8. package/esm2022/lib/base-components/base-component-api.mjs +1 -3
  9. package/esm2022/lib/base-components/base-component.module.mjs +1 -5
  10. package/esm2022/lib/forms/components/sof-address/sof-address.component.mjs +5 -2
  11. package/esm2022/lib/header/components/sof-header-portal/sof-header-portal.component.mjs +137 -0
  12. package/esm2022/lib/header/components/sof-header-portal/user-initials-pipe/user-initials.pipe.mjs +22 -0
  13. package/esm2022/lib/header/header-api.mjs +3 -1
  14. package/esm2022/lib/navigation/components/navigation/navigation.component.mjs +2 -2
  15. package/esm2022/lib/navigation/components/sof-breadcrumbs/sof-breadcrumbs-hierarchy/sof-breadcrumbs-hierarchy.component.mjs +8 -4
  16. package/esm2022/lib/navigation/components/sof-breadcrumbs/sof-breadcrumbs-history/sof-breadcrumbs-history.component.mjs +8 -4
  17. package/esm2022/lib/navigation/components/sof-navigation-panel/sof-nav-panel.component.mjs +54 -24
  18. package/esm2022/lib/navigation/navigation.module.mjs +1 -9
  19. package/fesm2022/softheon-armature-ag-grid-components.mjs +6 -6
  20. package/fesm2022/softheon-armature-ag-grid-components.mjs.map +1 -1
  21. package/fesm2022/softheon-armature.mjs +329 -176
  22. package/fesm2022/softheon-armature.mjs.map +1 -1
  23. package/lib/alert-banner/alert-banner.module.d.ts +1 -0
  24. package/lib/alert-banner/components/alert-banner/alert-banner.component.d.ts +1 -0
  25. package/lib/base-components/base-component-api.d.ts +0 -2
  26. package/lib/base-components/base-component.module.d.ts +25 -26
  27. package/lib/forms/components/sof-address/sof-address.component.d.ts +4 -1
  28. package/lib/header/components/sof-header-portal/sof-header-portal.component.d.ts +73 -0
  29. package/lib/header/components/sof-header-portal/user-initials-pipe/user-initials.pipe.d.ts +10 -0
  30. package/lib/header/header-api.d.ts +2 -0
  31. package/lib/navigation/components/navigation/navigation.component.d.ts +1 -0
  32. package/lib/navigation/components/sof-breadcrumbs/sof-breadcrumbs-hierarchy/sof-breadcrumbs-hierarchy.component.d.ts +1 -1
  33. package/lib/navigation/components/sof-breadcrumbs/sof-breadcrumbs-history/sof-breadcrumbs-history.component.d.ts +1 -1
  34. package/lib/navigation/components/sof-navigation-panel/sof-nav-panel.component.d.ts +28 -13
  35. package/lib/navigation/navigation.module.d.ts +21 -23
  36. package/package.json +1 -1
  37. package/esm2022/lib/base-components/sof-links/sof-link.component.mjs +0 -27
  38. package/lib/base-components/sof-links/sof-link.component.d.ts +0 -14
@@ -7,11 +7,11 @@
7
7
 
8
8
  // Theme pallets
9
9
  $main-theme: mat.define-light-theme((color: (primary: mat.define-palette($arm-primary),
10
- accent: mat.define-palette($arm-accent)),
10
+ accent: mat.define-palette($arm-accent)),
11
11
  typography: mat.define-typography-config(),
12
12
  density: 0));
13
13
  $main-theme-dark: mat.define-dark-theme((color: (primary: mat.define-palette($arm-primary),
14
- accent: mat.define-palette($arm-accent)),
14
+ accent: mat.define-palette($arm-accent)),
15
15
  typography: mat.define-typography-config(),
16
16
  density: 0));
17
17
 
@@ -107,6 +107,7 @@ h4 {
107
107
  line-height: 24px;
108
108
  letter-spacing: normal;
109
109
 
110
+ // this does nothing ...
110
111
  @media only screen and (max-width: $screen-sm-end) {
111
112
  font-size: 16px;
112
113
  }
@@ -256,9 +257,10 @@ mat-button-toggle-group {
256
257
  letter-spacing: 0.05em !important;
257
258
  text-align: center !important;
258
259
  color: black !important;
260
+
259
261
  // remove selected check indicator
260
262
  .mat-pseudo-checkbox {
261
- display: none!important;
263
+ display: none !important;
262
264
  }
263
265
  }
264
266
 
@@ -369,7 +371,7 @@ mat-button-toggle-group {
369
371
  button.mat-mdc-button {
370
372
  --mat-mdc-button-persistent-ripple-color: none !important;
371
373
  --mdc-text-button-label-text-color: none !important;
372
- --mat-text-button-ripple-color: rgba(0, 0, 0, 0.05)!important;
374
+ --mat-text-button-ripple-color: rgba(0, 0, 0, 0.05) !important;
373
375
 
374
376
  &.sof-button {
375
377
  padding: 0px 24px !important;
@@ -381,11 +383,11 @@ button.mat-mdc-button {
381
383
  font-size: 16px !important;
382
384
  line-height: 24px !important;
383
385
  letter-spacing: 0.05em !important;
384
- text-transform: uppercase !important;
386
+ text-transform: uppercase !important;
385
387
 
386
388
 
387
389
  &.fixed-width {
388
- width: 200px !important; // Use this is to match specific sizing
390
+ width: 200px !important; // Use this is to match specific sizing
389
391
  }
390
392
 
391
393
  &.full-width {
@@ -638,17 +640,19 @@ button.mat-mdc-button {
638
640
  min-width: 56px !important;
639
641
  font-size: 26px !important;
640
642
  }
641
- // Secondary Button Styles
643
+
644
+ // Secondary Button Styles
642
645
 
643
646
  }
647
+
644
648
  button.mat-mdc-unelevated-button {
645
649
  --mat-mdc-button-persistent-ripple-color: none !important;
646
650
  --mdc-filled-button-label-text-color: none !important;
647
- --mat-filled-button-ripple-color: rgba(255, 255, 255, 0.1)!important;
651
+ --mat-filled-button-ripple-color: rgba(255, 255, 255, 0.1) !important;
648
652
 
649
653
 
650
654
  &.sof-flat-button {
651
- padding: 0px 24px !important;
655
+ padding: 0px 24px !important;
652
656
  height: 48px !important;
653
657
  border-radius: 6px !important;
654
658
  font-family: Poppins !important;
@@ -657,8 +661,8 @@ button.mat-mdc-unelevated-button {
657
661
  font-size: 16px !important;
658
662
  line-height: 24px !important;
659
663
  letter-spacing: 0.05em !important;
660
- text-transform: uppercase !important;
661
-
664
+ text-transform: uppercase !important;
665
+
662
666
 
663
667
  &.fixed-width {
664
668
  width: 200px !important; // Use this is to match specific sizing
@@ -673,24 +677,27 @@ button.mat-mdc-unelevated-button {
673
677
  &.mat-primary {
674
678
  background: mat.get-color-from-palette($arm-primary, 500);
675
679
  color: map-get($arm-primary, contrast, 500);
676
-
677
- &:hover{
680
+
681
+ &:hover {
678
682
  background-color: mat.get-color-from-palette($arm-primary, 700);
679
683
  color: map-get($arm-primary, contrast, 700);
680
684
  }
681
-
685
+
682
686
  &:focus {
683
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
687
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
684
688
  outline-offset: 2px !important;
685
689
  }
686
690
  }
691
+
687
692
  &.mat-accent {
688
693
  background: mat.get-color-from-palette($arm-accent, 500);
689
694
  color: map-get($arm-accent, contrast, 500);
695
+
690
696
  &:hover {
691
697
  background-color: mat.get-color-from-palette($arm-accent, 700);
692
698
  color: map-get($arm-accent, contrast, 700);
693
699
  }
700
+
694
701
  &:focus {
695
702
  outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
696
703
  outline-offset: 2px !important;
@@ -707,7 +714,7 @@ button.mat-mdc-unelevated-button {
707
714
  }
708
715
 
709
716
  &:focus {
710
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
717
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
711
718
  outline-offset: 2px !important;
712
719
  }
713
720
  }
@@ -722,7 +729,7 @@ button.mat-mdc-unelevated-button {
722
729
  }
723
730
 
724
731
  &:focus {
725
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
732
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
726
733
  outline-offset: 2px !important;
727
734
  }
728
735
  }
@@ -737,7 +744,7 @@ button.mat-mdc-unelevated-button {
737
744
  }
738
745
 
739
746
  &:focus {
740
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
747
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
741
748
  outline-offset: 2px !important;
742
749
  }
743
750
  }
@@ -752,7 +759,7 @@ button.mat-mdc-unelevated-button {
752
759
  }
753
760
 
754
761
  &:focus {
755
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
762
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
756
763
  outline-offset: 2px !important;
757
764
  }
758
765
  }
@@ -815,14 +822,16 @@ button.mat-mdc-unelevated-button {
815
822
  color: map-get($arm-primary, contrast, 500);
816
823
 
817
824
  &:focus {
818
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
825
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
819
826
  outline-offset: 2px !important;
820
827
  }
828
+
821
829
  &:hover {
822
830
  background-color: mat.get-color-from-palette($arm-primary, 700);
823
831
  color: map-get($arm-primary, contrast, 700);
824
832
  }
825
833
  }
834
+
826
835
  &.mat-accent {
827
836
  background: mat.get-color-from-palette($arm-accent, 500);
828
837
  color: map-get($arm-accent, contrast, 500);
@@ -846,8 +855,9 @@ button.mat-mdc-unelevated-button {
846
855
  background-color: mat.get-color-from-palette($arm-warn, 700);
847
856
  color: map-get($arm-warn, contrast, 700);
848
857
  }
849
- &:focus {
850
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
858
+
859
+ &:focus {
860
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
851
861
  outline-offset: 2px !important;
852
862
  }
853
863
  }
@@ -860,8 +870,9 @@ button.mat-mdc-unelevated-button {
860
870
  background-color: mat.get-color-from-palette($arm-success, 700);
861
871
  color: map-get($arm-success, contrast, 700);
862
872
  }
863
- &:focus {
864
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
873
+
874
+ &:focus {
875
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
865
876
  outline-offset: 2px !important;
866
877
  }
867
878
  }
@@ -874,8 +885,9 @@ button.mat-mdc-unelevated-button {
874
885
  background-color: mat.get-color-from-palette($arm-error, 700);
875
886
  color: map-get($arm-error, contrast, 700);
876
887
  }
877
- &:focus {
878
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
888
+
889
+ &:focus {
890
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
879
891
  outline-offset: 2px !important;
880
892
  }
881
893
  }
@@ -888,8 +900,9 @@ button.mat-mdc-unelevated-button {
888
900
  background-color: mat.get-color-from-palette($arm-info, 700);
889
901
  color: map-get($arm-info, contrast, 700);
890
902
  }
891
- &:focus {
892
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
903
+
904
+ &:focus {
905
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
893
906
  outline-offset: 2px !important;
894
907
  }
895
908
  }
@@ -902,8 +915,9 @@ button.mat-mdc-unelevated-button {
902
915
  background-color: mat.get-color-from-palette($arm-neutral, 700);
903
916
  color: map-get($arm-neutral, contrast, 700);
904
917
  }
905
- &:focus {
906
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
918
+
919
+ &:focus {
920
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
907
921
  outline-offset: 2px !important;
908
922
  }
909
923
  }
@@ -911,7 +925,7 @@ button.mat-mdc-unelevated-button {
911
925
 
912
926
  &:disabled {
913
927
  background: #f7f7f7 !important;
914
- color:rgba(0, 0, 0, 0.6) !important;
928
+ color: rgba(0, 0, 0, 0.6) !important;
915
929
  opacity: 1 !important;
916
930
  }
917
931
  }
@@ -937,10 +951,11 @@ button.mat-mdc-unelevated-button {
937
951
  font-size: 26px !important;
938
952
  }
939
953
  }
954
+
940
955
  button.mat-mdc-outlined-button {
941
956
  --mat-mdc-button-persistent-ripple-color: none !important;
942
957
  --mdc-outlined-button-label-text-color: none !important;
943
- --mat-outlined-button-ripple-color: rgba(0, 0, 0, 0.05)!important;
958
+ --mat-outlined-button-ripple-color: rgba(0, 0, 0, 0.05) !important;
944
959
 
945
960
  &.sof-stroked-button {
946
961
  padding: 0px 24px !important;
@@ -956,7 +971,7 @@ button.mat-mdc-outlined-button {
956
971
  text-transform: uppercase !important;
957
972
 
958
973
  &.fixed-width {
959
- width: 200px !important; // Use this is to match specific sizing
974
+ width: 200px !important; // Use this is to match specific sizing
960
975
  }
961
976
 
962
977
  &.full-width {
@@ -1084,7 +1099,7 @@ button.mat-mdc-outlined-button {
1084
1099
  text-transform: uppercase !important;
1085
1100
 
1086
1101
  &.fixed-width {
1087
- width: 200px !important; // Use this is to match specific sizing
1102
+ width: 200px !important; // Use this is to match specific sizing
1088
1103
  }
1089
1104
 
1090
1105
  &.full-width {
@@ -1475,29 +1490,30 @@ button.mat-mdc-outlined-button {
1475
1490
  font-size: 26px !important;
1476
1491
  }
1477
1492
  }
1493
+
1478
1494
  // Button Redesign
1479
1495
 
1480
- button.mat-mdc-button
1481
- .mat-mdc-button-ripple,
1482
- .mat-mdc-button
1483
- .mat-mdc-button-persistent-ripple,
1496
+ button.mat-mdc-button .mat-mdc-button-ripple,
1497
+ .mat-mdc-button .mat-mdc-button-persistent-ripple,
1484
1498
  .mat-mdc-button .mat-mdc-button-persistent-ripple::before,
1485
- .mat-mdc-unelevated-button .mat-mdc-button-ripple,
1486
- .mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,
1487
- .mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,
1488
- .mat-mdc-raised-button .mat-mdc-button-ripple, .mat-mdc-raised-button .mat-mdc-button-persistent-ripple,
1489
- .mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,
1490
- .mat-mdc-outlined-button .mat-mdc-button-ripple, .mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,
1491
- .mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{
1499
+ .mat-mdc-unelevated-button .mat-mdc-button-ripple,
1500
+ .mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,
1501
+ .mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,
1502
+ .mat-mdc-raised-button .mat-mdc-button-ripple,
1503
+ .mat-mdc-raised-button .mat-mdc-button-persistent-ripple,
1504
+ .mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,
1505
+ .mat-mdc-outlined-button .mat-mdc-button-ripple,
1506
+ .mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,
1507
+ .mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before {
1492
1508
  background: none !important;
1493
1509
  }
1494
1510
 
1495
- button.sof-button-v2{
1496
-
1511
+ button.sof-button-v2 {
1512
+
1497
1513
  display: flex;
1498
1514
  justify-content: center;
1499
1515
  align-items: center;
1500
- padding:8px !important;
1516
+ padding: 8px !important;
1501
1517
  height: 40px !important;
1502
1518
  border-radius: 8px !important;
1503
1519
  font-family: Poppins !important;
@@ -1506,198 +1522,238 @@ button.sof-button-v2{
1506
1522
  font-size: 16px !important;
1507
1523
  line-height: normal !important;
1508
1524
  letter-spacing: 0px !important;
1509
- text-transform: capitalize !important;
1510
-
1525
+ text-transform: capitalize !important;
1526
+
1511
1527
  &.fixed-width {
1512
- width: 200px !important; // Use this is to match specific sizing
1528
+ width: 200px !important; // Use this is to match specific sizing
1513
1529
  }
1514
1530
 
1515
1531
  &.full-width {
1516
- width: 100% !important; // Use this is button width will take size of flex percentage
1532
+ width: 100% !important; // Use this is button width will take size of flex percentage
1517
1533
  }
1518
1534
 
1519
- &.mat-mdc-unelevated-button span.mdc-button__label.mdc-button__label{
1535
+ &.mat-mdc-unelevated-button span.mdc-button__label.mdc-button__label {
1520
1536
  display: flex;
1521
1537
  align-items: center;
1522
1538
  font-size: 16px;
1523
- i{
1539
+
1540
+ i {
1524
1541
  font-size: 20px;
1525
1542
  }
1526
1543
  }
1527
- &.mat-mdc-unelevated-button span.mdc-button__label{
1544
+
1545
+ &.mat-mdc-unelevated-button span.mdc-button__label {
1528
1546
  display: flex;
1529
1547
  align-items: center;
1530
1548
  justify-content: center !important;
1531
1549
  width: 100% !important;
1532
- i{
1550
+
1551
+ i {
1533
1552
  margin-right: 8px !important;
1534
1553
  }
1535
1554
  }
1536
- &:enabled{
1537
- &.mat-primary{
1555
+
1556
+ &:enabled {
1557
+ &.mat-primary {
1538
1558
  background: mat.get-color-from-palette($arm-primary, 500);
1539
1559
  color: map-get($arm-primary, contrast, 900);
1540
- &:hover{
1560
+
1561
+ &:hover {
1541
1562
  background-color: var(--primary-color-500-parts);
1542
1563
  }
1543
- &:focus{
1564
+
1565
+ &:focus {
1544
1566
  outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1545
1567
  outline-offset: 2px !important;
1546
- }
1568
+ }
1547
1569
  }
1548
- &.mat-secondary{
1570
+
1571
+ &.mat-secondary {
1549
1572
  background: #FAFAFA !important;
1550
1573
  color: var(--primary-color-contrast-50-parts);
1551
- &:hover{
1574
+
1575
+ &:hover {
1552
1576
  background-color: #FAFAFA !important;
1553
1577
  }
1554
- &:focus{
1578
+
1579
+ &:focus {
1555
1580
  outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1556
1581
  outline-offset: 2px !important;
1557
1582
  }
1558
1583
  }
1559
- &.mat-tertiary{
1584
+
1585
+ &.mat-tertiary {
1560
1586
  color: var(--primary-color-contrast-50-parts);
1561
- background: none !important;
1562
- &:hover{
1587
+ background: none !important;
1588
+
1589
+ &:hover {
1563
1590
  background-color: transparent !important;
1564
1591
  }
1565
- &:focus{
1592
+
1593
+ &:focus {
1566
1594
  outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1567
1595
  outline-offset: 2px !important;
1568
- }
1596
+ }
1569
1597
  }
1570
- &.mat-error{
1598
+
1599
+ &.mat-error {
1571
1600
  background: mat.get-color-from-palette($arm-error, 900);
1572
1601
  color: map-get($arm-error, contrast, 900);
1602
+
1573
1603
  &:hover {
1574
1604
  background-color: mat.get-color-from-palette($arm-error, 700);
1575
1605
  color: map-get($arm-error, contrast, 700);
1576
1606
  }
1607
+
1577
1608
  &:focus {
1578
1609
  outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1579
1610
  outline-offset: 2px !important;
1580
1611
  }
1581
1612
  }
1582
1613
  }
1614
+
1583
1615
  &:disabled {
1584
- background:#fafafa!important;
1585
- color:rgba(0, 0, 0, 0.6) !important;
1616
+ background: #fafafa !important;
1617
+ color: rgba(0, 0, 0, 0.6) !important;
1586
1618
  opacity: 1 !important;
1587
- &:hover{
1619
+
1620
+ &:hover {
1588
1621
  background-color: mat.get-color-from-palette($arm-primary, 500);
1589
1622
  }
1590
- &:focus{
1623
+
1624
+ &:focus {
1591
1625
  outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1592
1626
  outline-offset: 2px !important;
1593
- }
1627
+ }
1594
1628
  }
1595
- &.no-hover-effect.mat-button.mat-primary .mat-button-focus-overlay ,
1629
+
1630
+ // have not seen this (.no-hover-effect) class? remove if not needed,
1631
+ // also need to disable ripple effects globally
1632
+ &.no-hover-effect.mat-button.mat-primary .mat-button-focus-overlay,
1596
1633
  .no-hover-effect.mat-button.mat-secondary .mat-button-focus-overlay,
1597
1634
  .no-hover-effect.mat-button.mat-tertiary .mat-button-focus-overlay,
1598
1635
  .no-hover-effect.mat-button.mat-error .mat-button-focus-overlay,
1599
1636
  .no-hover-effect.mat-button.mat-accent .mat-button-focus-overlay,
1600
- .no-hover-effect.mat-button.mat-warn .mat-button-focus-overlay
1601
- {
1637
+ .no-hover-effect.mat-button.mat-warn .mat-button-focus-overlay {
1602
1638
  background-color: transparent;
1603
1639
  }
1604
1640
  }
1605
1641
 
1606
- button.sof-button-icon-v2{
1642
+ button.sof-button-icon-v2 {
1607
1643
  display: flex !important;
1608
- padding: 8px!important;
1644
+ padding: 8px !important;
1609
1645
  border-radius: 8px !important;
1610
1646
  height: 40px !important;
1611
1647
  justify-content: center !important;
1612
1648
  align-items: center !important;
1613
1649
  gap: 8px !important;
1614
- max-width: 36px !important;
1615
- &.mat-mdc-unelevated-button span.mdc-button__label.mdc-button__label{
1650
+ max-width: 36px !important;
1651
+
1652
+ &.mat-mdc-unelevated-button span.mdc-button__label.mdc-button__label {
1616
1653
  display: flex;
1617
1654
  align-items: center;
1618
1655
  font-size: 24px;
1619
-
1656
+
1620
1657
  }
1621
- &.mdc-button{
1658
+
1659
+ &.mdc-button {
1622
1660
  min-width: 40px;
1623
1661
  }
1624
-
1662
+
1625
1663
  &.full-width {
1626
1664
  width: 100% !important; // Use this is button width will take size of flex percentage
1627
1665
  }
1628
- &:enabled{
1629
- &.mat-primary{
1666
+
1667
+ &:enabled {
1668
+ &.mat-primary {
1630
1669
  background: mat.get-color-from-palette($arm-primary, 500);
1631
1670
  color: map-get($arm-error, contrast, 900);
1671
+
1632
1672
  &:hover {
1633
- background-color: mat.get-color-from-palette($arm-primary, 500) !important;
1673
+ background-color: mat.get-color-from-palette($arm-primary, 500) !important;
1634
1674
  color: map-get($arm-error, contrast, 700);
1635
1675
  }
1676
+
1636
1677
  &:focus {
1637
1678
  outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1638
1679
  outline-offset: 2px !important;
1639
1680
  }
1640
1681
  }
1641
- &.mat-secondary{
1682
+
1683
+ &.mat-secondary {
1642
1684
  background-color: #FAFAFA !important;
1643
1685
  color: var(--primary-color-contrast-50-parts);
1644
- &:hover{
1645
- background-color: #FAFAFA !important;
1646
- color: var(--primary-color-contrast-50-parts) !important;
1647
- }
1648
- &:focus{
1686
+
1687
+ &:hover {
1688
+ background-color: #FAFAFA !important;
1689
+ color: var(--primary-color-contrast-50-parts) !important;
1690
+ }
1691
+
1692
+ &:focus {
1649
1693
  outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1650
1694
  outline-offset: 2px !important;
1651
1695
  }
1652
1696
  }
1653
- &.mat-tertiary{
1697
+
1698
+ &.mat-tertiary {
1654
1699
  color: var(--primary-color-contrast-50-parts);
1655
- background: transparent !important;
1656
- &:focus{
1700
+ background: transparent !important;
1701
+
1702
+ &:focus {
1657
1703
  outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1658
1704
  outline-offset: 2px !important;
1659
1705
  }
1660
1706
  }
1661
- &.mat-error{
1707
+
1708
+ &.mat-error {
1662
1709
  background: mat.get-color-from-palette($arm-error, 900);
1663
1710
  color: map-get($arm-error, contrast, 900);
1711
+
1664
1712
  &:hover {
1665
1713
  background-color: mat.get-color-from-palette($arm-error, 700);
1666
1714
  color: map-get($arm-error, contrast, 700);
1667
1715
  }
1716
+
1668
1717
  &:focus {
1669
1718
  outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1670
1719
  outline-offset: 2px !important;
1671
1720
  }
1672
1721
  }
1673
- }
1674
- &:disabled {
1722
+ }
1723
+
1724
+ &:disabled {
1675
1725
  background: #fafafa !important;
1676
- color:rgba(0, 0, 0, 0.6) !important;
1726
+ color: rgba(0, 0, 0, 0.6) !important;
1677
1727
  opacity: 1 !important;
1678
- &:hover{
1728
+
1729
+ &:hover {
1679
1730
  background-color: mat.get-color-from-palette($arm-primary, 500);
1680
1731
  }
1681
- &:focus{
1732
+
1733
+ &:focus {
1682
1734
  outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1683
1735
  outline-offset: 2px !important;
1684
- }
1736
+ }
1685
1737
  }
1686
1738
  }
1687
- .cdk-overlay-connected-position-bounding-box{
1739
+
1740
+ // this could be bad ... see if this effects all material overlays ...
1741
+ .cdk-overlay-connected-position-bounding-box {
1688
1742
  margin-top: 10px !important;
1689
1743
  margin-bottom: 10px !important;
1690
1744
  }
1691
1745
 
1746
+ // if this is just for utility buttons ... add a custom class so does not effect all menu's ...
1692
1747
  .mat-mdc-menu-panel {
1693
1748
  background-color: $surface-color-level-one-light !important;
1694
- box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.10) !important;
1749
+ box-shadow: 0px 4px 8px 0px mat.get-color-from-palette($arm-neutral, A300) !important;
1750
+ border-radius: 8px !important;
1695
1751
  }
1696
1752
 
1697
- .mat-mdc-menu-item-text{
1698
- font-weight: 500 !important;
1753
+ .mat-mdc-menu-item-text {
1754
+ font-weight: 500 !important;
1699
1755
  color: rgba(0, 0, 0, 0.87) !important;
1700
- font-family: Poppins !important;
1756
+ font-family: Poppins !important;
1701
1757
  }
1702
1758
 
1703
1759
  button.button-icon-utility {
@@ -1705,10 +1761,10 @@ button.button-icon-utility {
1705
1761
  justify-content: center !important;
1706
1762
  align-items: center !important;
1707
1763
  gap: 8px !important;
1708
- padding: 0px!important;
1764
+ padding: 0px !important;
1709
1765
  border-radius: 4px !important;
1710
1766
  height: 24px !important;
1711
- width: 24px !important;
1767
+ width: 24px !important;
1712
1768
 
1713
1769
  &.mat-mdc-unelevated-button span.mdc-button__label.mdc-button__label {
1714
1770
  display: flex;
@@ -1719,7 +1775,7 @@ button.button-icon-utility {
1719
1775
  &.mdc-button {
1720
1776
  min-width: 24px;
1721
1777
  }
1722
-
1778
+
1723
1779
  &.full-width {
1724
1780
  width: 100% !important; // Use this is button width will take size of flex percentage
1725
1781
  }
@@ -1749,12 +1805,12 @@ button.button-icon-utility {
1749
1805
  background-color: #FAFAFA !important;
1750
1806
  color: #146EF6 !important;
1751
1807
 
1752
- &:hover{
1808
+ &:hover {
1753
1809
  background-color: #F5F5F5 !important;
1754
1810
  color: #146EF6 !important;
1755
1811
  }
1756
1812
 
1757
- &:focus{
1813
+ &:focus {
1758
1814
  background-color: #E9E9E9 !important;
1759
1815
  }
1760
1816
  }
@@ -1763,43 +1819,43 @@ button.button-icon-utility {
1763
1819
  color: #146EF6 !important;
1764
1820
  background: transparent !important;
1765
1821
 
1766
- &:focus{
1822
+ &:focus {
1767
1823
  background-color: rgba(20, 110, 246, 0.08) !important;
1768
1824
  }
1769
1825
 
1770
- &:hover{
1826
+ &:hover {
1771
1827
  background-color: rgba(20, 110, 246, 0.04) !important;
1772
1828
  }
1773
1829
  }
1774
1830
 
1775
1831
  &.mat-contained {
1776
1832
  color: #146EF6 !important;
1777
- background: none !important;
1778
- border: 2px solid #146EF6 !important;
1833
+ background: none !important;
1834
+ border: 2px solid #146EF6 !important;
1779
1835
 
1780
1836
  &:focus {
1781
- border: 3px solid mat.get-color-from-palette($arm-primary, 700) !important;
1837
+ border: 3px solid mat.get-color-from-palette($arm-primary, 700) !important;
1782
1838
  color: map-get($arm-error, contrast, 700);
1783
1839
  background-color: rgba(20, 110, 246, 0.08) !important;
1784
1840
  }
1785
1841
 
1786
1842
  &:hover {
1787
- background-color:rgba(20, 110, 246, 0.04)!important;
1843
+ background-color: rgba(20, 110, 246, 0.04) !important;
1788
1844
  }
1789
1845
  }
1790
1846
 
1791
1847
  &.mat-contained-error {
1792
- color:rgba(215, 36, 26, 1) !important;
1793
- background: none !important;
1794
- border: 2px solid rgba(215, 36, 26, 1) !important;
1848
+ color: rgba(215, 36, 26, 1) !important;
1849
+ background: none !important;
1850
+ border: 2px solid rgba(215, 36, 26, 1) !important;
1795
1851
 
1796
- &:focus{
1797
- border: 3px solid mat.get-color-from-palette($arm-error, 700) !important;
1852
+ &:focus {
1853
+ border: 3px solid mat.get-color-from-palette($arm-error, 700) !important;
1798
1854
  color: map-get($arm-error, contrast, 700);
1799
- background-color:rgba(215, 36, 26, 0.08) !important;
1855
+ background-color: rgba(215, 36, 26, 0.08) !important;
1800
1856
  }
1801
1857
 
1802
- &:hover{
1858
+ &:hover {
1803
1859
  background-color: rgba(215, 36, 26, 0.04) !important;
1804
1860
  }
1805
1861
  }
@@ -1828,7 +1884,7 @@ button.button-icon-utility {
1828
1884
  }
1829
1885
 
1830
1886
  &:focus {
1831
- background-color:rgba(233, 233, 233, 1) !important;
1887
+ background-color: rgba(233, 233, 233, 1) !important;
1832
1888
  }
1833
1889
  }
1834
1890
 
@@ -1848,44 +1904,52 @@ button.button-icon-utility {
1848
1904
  }
1849
1905
 
1850
1906
  &:disabled {
1851
- &.mat-primary{
1907
+ &.mat-primary {
1852
1908
  background-color: #FAFAFA !important;
1853
1909
  }
1854
- &.mat-secondary{
1910
+
1911
+ &.mat-secondary {
1855
1912
  background-color: transparent !important;
1856
1913
  }
1857
- &.mat-contained{
1858
- background-color: transparent !important;
1914
+
1915
+ &.mat-contained {
1916
+ background-color: transparent !important;
1859
1917
  border: 2px solid rgba(0, 0, 0, 0.38) !important;
1860
- color:rgba(0, 0, 0, 0.38) !important ;
1918
+ color: rgba(0, 0, 0, 0.38) !important;
1861
1919
  }
1862
- &.mat-contained-error{
1863
- background-color: transparent !important;
1920
+
1921
+ &.mat-contained-error {
1922
+ background-color: transparent !important;
1864
1923
  border: 3px solid rgba(0, 0, 0, 0.38) !important;
1865
- color:rgba(0, 0, 0, 0.38) !important;
1924
+ color: rgba(0, 0, 0, 0.38) !important;
1866
1925
  }
1867
- &.mat-tertiary{
1926
+
1927
+ &.mat-tertiary {
1868
1928
  background-color: transparent !important;
1869
1929
  }
1870
- &.mat-error{
1930
+
1931
+ &.mat-error {
1871
1932
  background: rgba(250, 250, 250, 1) !important;
1872
1933
  }
1873
- &.mat-error-primary{
1934
+
1935
+ &.mat-error-primary {
1874
1936
  background: rgba(250, 250, 250, 1) !important;
1875
-
1937
+
1876
1938
  }
1877
- &.mat-error-tertiary{
1939
+
1940
+ &.mat-error-tertiary {
1878
1941
  background: rgba(250, 250, 250, 1) !important;
1879
-
1942
+
1880
1943
  }
1881
- &.mat-error-secondary{
1944
+
1945
+ &.mat-error-secondary {
1882
1946
  background: rgba(250, 250, 250, 1) !important;
1883
1947
  }
1884
1948
  }
1885
1949
  }
1886
1950
 
1887
- button .mat-badge-content{
1888
- background-color: #333333 !important;
1951
+ button .mat-badge-content {
1952
+ background-color: #333333 !important;
1889
1953
  }
1890
1954
 
1891
1955
  mat-card {
@@ -1945,7 +2009,7 @@ mat-card {
1945
2009
  font-weight: 100 !important;
1946
2010
  font-family: Poppins !important;
1947
2011
  line-height: normal !important;
1948
- background-color: #333333!important;
2012
+ background-color: #333333 !important;
1949
2013
  border-radius: 4px !important;
1950
2014
  text-align: center !important;
1951
2015
  position: relative;
@@ -1953,14 +2017,17 @@ mat-card {
1953
2017
  padding-right: 4px !important;
1954
2018
  padding-bottom: 0px !important;
1955
2019
  padding-top: 1px !important;
2020
+
1956
2021
  &::after {
1957
2022
  width: 0;
1958
2023
  height: 0;
1959
2024
  content: '';
1960
2025
  position: absolute;
1961
2026
  }
2027
+
1962
2028
  &.below {
1963
2029
  overflow: initial;
2030
+
1964
2031
  &:after {
1965
2032
  top: -0.5rem;
1966
2033
  right: calc(50% - 0.3rem);
@@ -1975,6 +2042,7 @@ mat-card {
1975
2042
  &.above {
1976
2043
  overflow: initial;
1977
2044
  margin-bottom: 1.25rem;
2045
+
1978
2046
  &:after {
1979
2047
  bottom: -0.5rem;
1980
2048
  right: calc(50% - 0.3rem);
@@ -1989,9 +2057,10 @@ mat-card {
1989
2057
  &.right {
1990
2058
  overflow: initial;
1991
2059
  margin-left: 0.75rem;
2060
+
1992
2061
  &:after {
1993
2062
  left: -0.40rem;
1994
- top: calc(50% - 0.50rem);
2063
+ top: calc(50% - 0.50rem);
1995
2064
  transform: rotate(270deg);
1996
2065
  border-left: 0.3rem solid transparent;
1997
2066
  border-right: 0.3rem solid transparent;
@@ -2003,9 +2072,10 @@ mat-card {
2003
2072
  &.left {
2004
2073
  overflow: initial;
2005
2074
  margin-right: 0.75rem;
2075
+
2006
2076
  &:after {
2007
2077
  right: -0.40rem;
2008
- top: calc(50% - 0.50rem) ;
2078
+ top: calc(50% - 0.50rem);
2009
2079
  transform: rotate(90deg);
2010
2080
  border-left: 0.3rem solid transparent;
2011
2081
  border-right: 0.3rem solid transparent;
@@ -2043,7 +2113,9 @@ mat-form-field.sof-form-field {
2043
2113
  border-left: none !important;
2044
2114
  }
2045
2115
 
2046
- .mdc-notched-outline__leading, .mdc-notched-outline__notch, .mdc-notched-outline__trailing {
2116
+ .mdc-notched-outline__leading,
2117
+ .mdc-notched-outline__notch,
2118
+ .mdc-notched-outline__trailing {
2047
2119
  border-width: 2px !important;
2048
2120
  }
2049
2121
 
@@ -3328,66 +3400,66 @@ mat-slide-toggle.sof-slide-toggle {
3328
3400
 
3329
3401
  /** Calendar Settings */
3330
3402
 
3331
- .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
3332
- color: rgba(0, 0, 0, 0.38) !important;
3333
- }
3403
+ .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
3404
+ color: rgba(0, 0, 0, 0.38) !important;
3405
+ }
3334
3406
 
3335
- .mat-calendar-previous-button,
3336
- .mat-calendar-next-button,
3337
- .mat-calendar-period-button {
3338
- color: #000000 !important;
3339
- font-weight: 600 !important;
3340
- font-size: 14px !important;
3341
- letter-spacing: 0px !important;
3342
- }
3407
+ .mat-calendar-previous-button,
3408
+ .mat-calendar-next-button,
3409
+ .mat-calendar-period-button {
3410
+ color: #000000 !important;
3411
+ font-weight: 600 !important;
3412
+ font-size: 14px !important;
3413
+ letter-spacing: 0px !important;
3414
+ }
3343
3415
 
3344
- .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
3345
- background-color: mat.get-color-from-palette($arm-primary, 500) !important;
3346
- color: white;
3347
- }
3416
+ .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
3417
+ background-color: mat.get-color-from-palette($arm-primary, 500) !important;
3418
+ color: white;
3419
+ }
3348
3420
 
3349
- body .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
3350
- color: white;
3351
- }
3421
+ body .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
3422
+ color: white;
3423
+ }
3352
3424
 
3353
- .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
3354
- border: none;
3355
- }
3425
+ .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
3426
+ border: none;
3427
+ }
3356
3428
 
3357
- body .mat-calendar-body-today.mat-calendar-body-selected {
3358
- box-shadow: none;
3359
- }
3429
+ body .mat-calendar-body-today.mat-calendar-body-selected {
3430
+ box-shadow: none;
3431
+ }
3360
3432
 
3361
- .mat-calendar-body-in-range::before {
3362
- background: mat.get-color-from-palette($arm-primary, 50) !important;
3363
- }
3433
+ .mat-calendar-body-in-range::before {
3434
+ background: mat.get-color-from-palette($arm-primary, 50) !important;
3435
+ }
3364
3436
 
3365
- .mat-calendar-body-selected {
3366
- background-color: mat.get-color-from-palette($arm-primary, 500) !important;
3367
- border: none;
3368
- }
3437
+ .mat-calendar-body-selected {
3438
+ background-color: mat.get-color-from-palette($arm-primary, 500) !important;
3439
+ border: none;
3440
+ }
3369
3441
 
3370
- .mat-datepicker-content {
3371
- border-radius: 10px !important;
3372
- }
3442
+ .mat-datepicker-content {
3443
+ border-radius: 10px !important;
3444
+ }
3373
3445
 
3374
- .mat-calendar-previous-button.mat-button-disabled,
3375
- .mat-calendar-next-button.mat-button-disabled {
3376
- color: rgba(0, 0, 0, 0.54) !important;
3377
- }
3446
+ .mat-calendar-previous-button.mat-button-disabled,
3447
+ .mat-calendar-next-button.mat-button-disabled {
3448
+ color: rgba(0, 0, 0, 0.54) !important;
3449
+ }
3378
3450
 
3379
- .mat-calendar-table-header th {
3380
- font-size: 14px !important;
3381
- line-height: 30px;
3382
- color: rgba(0, 0, 0, 0.6) !important;
3383
- }
3451
+ .mat-calendar-table-header th {
3452
+ font-size: 14px !important;
3453
+ line-height: 30px;
3454
+ color: rgba(0, 0, 0, 0.6) !important;
3455
+ }
3384
3456
 
3385
- .mat-calendar-table-header-divider {
3386
- position: absolute !important;
3387
- left: 20px;
3388
- width: -webkit-fill-available;
3389
- right: 20px;
3390
- }
3457
+ .mat-calendar-table-header-divider {
3458
+ position: absolute !important;
3459
+ left: 20px;
3460
+ width: -webkit-fill-available;
3461
+ right: 20px;
3462
+ }
3391
3463
 
3392
3464
  /** text emphasis classes (per design) */
3393
3465
 
@@ -3395,14 +3467,17 @@ mat-slide-toggle.sof-slide-toggle {
3395
3467
  .text-high-emphasis {
3396
3468
  color: $text-high-emphasis;
3397
3469
  }
3470
+
3398
3471
  [text-medium-emphasis],
3399
3472
  .text-medium-emphasis {
3400
3473
  color: $text-medium-emphasis;
3401
3474
  }
3475
+
3402
3476
  [text-low-emphasis],
3403
3477
  .text-low-emphasis {
3404
3478
  color: $text-low-emphasis;
3405
3479
  }
3480
+
3406
3481
  [text-inverse],
3407
3482
  .text-inverse {
3408
3483
  color: $text-inverse;