@softheon/armature 17.5.3 → 17.5.4

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.
@@ -256,6 +256,10 @@ mat-button-toggle-group {
256
256
  letter-spacing: 0.05em !important;
257
257
  text-align: center !important;
258
258
  color: black !important;
259
+ // remove selected check indicator
260
+ .mat-pseudo-checkbox {
261
+ display: none!important;
262
+ }
259
263
  }
260
264
 
261
265
  .mat-button-toggle-button {
@@ -377,11 +381,11 @@ button.mat-mdc-button {
377
381
  font-size: 16px !important;
378
382
  line-height: 24px !important;
379
383
  letter-spacing: 0.05em !important;
380
- text-transform: uppercase !important;
384
+ text-transform: uppercase !important;
381
385
 
382
386
 
383
387
  &.fixed-width {
384
- width: 200px !important; // Use this is to match specific sizing
388
+ width: 200px !important; // Use this is to match specific sizing
385
389
  }
386
390
 
387
391
  &.full-width {
@@ -393,7 +397,7 @@ button.mat-mdc-button {
393
397
  color: mat.get-color-from-palette($arm-primary, 500);
394
398
 
395
399
  &:hover {
396
- background-color: mat.get-color-from-palette($arm-primary, 50);
400
+ background-color: mat.get-color-from-palette($arm-primary, 500);
397
401
  }
398
402
 
399
403
  &:focus {
@@ -520,7 +524,7 @@ button.mat-mdc-button {
520
524
  color: mat.get-color-from-palette($arm-primary, 500);
521
525
 
522
526
  &:hover {
523
- background-color: mat.get-color-from-palette($arm-primary, 50);
527
+ background-color: mat.get-color-from-palette($arm-primary, 500);
524
528
  }
525
529
 
526
530
  &:focus {
@@ -634,6 +638,8 @@ button.mat-mdc-button {
634
638
  min-width: 56px !important;
635
639
  font-size: 26px !important;
636
640
  }
641
+ // Secondary Button Styles
642
+
637
643
  }
638
644
 
639
645
  button.mat-mdc-unelevated-button {
@@ -641,8 +647,9 @@ button.mat-mdc-unelevated-button {
641
647
  --mdc-filled-button-label-text-color: none !important;
642
648
  --mat-filled-button-ripple-color: rgba(255, 255, 255, 0.1)!important;
643
649
 
650
+
644
651
  &.sof-flat-button {
645
- padding: 0px 24px !important;
652
+ padding: 0px 24px !important;
646
653
  height: 48px !important;
647
654
  border-radius: 6px !important;
648
655
  font-family: Poppins !important;
@@ -651,7 +658,8 @@ button.mat-mdc-unelevated-button {
651
658
  font-size: 16px !important;
652
659
  line-height: 24px !important;
653
660
  letter-spacing: 0.05em !important;
654
- text-transform: uppercase !important;
661
+ text-transform: uppercase !important;
662
+
655
663
 
656
664
  &.fixed-width {
657
665
  width: 200px !important; // Use this is to match specific sizing
@@ -666,27 +674,24 @@ button.mat-mdc-unelevated-button {
666
674
  &.mat-primary {
667
675
  background: mat.get-color-from-palette($arm-primary, 500);
668
676
  color: map-get($arm-primary, contrast, 500);
669
-
670
- &:hover {
677
+
678
+ &:hover{
671
679
  background-color: mat.get-color-from-palette($arm-primary, 700);
672
680
  color: map-get($arm-primary, contrast, 700);
673
681
  }
674
-
682
+
675
683
  &:focus {
676
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
684
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
677
685
  outline-offset: 2px !important;
678
686
  }
679
687
  }
680
-
681
688
  &.mat-accent {
682
689
  background: mat.get-color-from-palette($arm-accent, 500);
683
690
  color: map-get($arm-accent, contrast, 500);
684
-
685
691
  &:hover {
686
692
  background-color: mat.get-color-from-palette($arm-accent, 700);
687
693
  color: map-get($arm-accent, contrast, 700);
688
694
  }
689
-
690
695
  &:focus {
691
696
  outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
692
697
  outline-offset: 2px !important;
@@ -703,7 +708,7 @@ button.mat-mdc-unelevated-button {
703
708
  }
704
709
 
705
710
  &:focus {
706
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
711
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
707
712
  outline-offset: 2px !important;
708
713
  }
709
714
  }
@@ -718,7 +723,7 @@ button.mat-mdc-unelevated-button {
718
723
  }
719
724
 
720
725
  &:focus {
721
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
726
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
722
727
  outline-offset: 2px !important;
723
728
  }
724
729
  }
@@ -733,7 +738,7 @@ button.mat-mdc-unelevated-button {
733
738
  }
734
739
 
735
740
  &:focus {
736
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
741
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
737
742
  outline-offset: 2px !important;
738
743
  }
739
744
  }
@@ -748,7 +753,7 @@ button.mat-mdc-unelevated-button {
748
753
  }
749
754
 
750
755
  &:focus {
751
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
756
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
752
757
  outline-offset: 2px !important;
753
758
  }
754
759
  }
@@ -810,17 +815,15 @@ button.mat-mdc-unelevated-button {
810
815
  background: mat.get-color-from-palette($arm-primary, 500);
811
816
  color: map-get($arm-primary, contrast, 500);
812
817
 
818
+ &:focus {
819
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
820
+ outline-offset: 2px !important;
821
+ }
813
822
  &:hover {
814
823
  background-color: mat.get-color-from-palette($arm-primary, 700);
815
824
  color: map-get($arm-primary, contrast, 700);
816
825
  }
817
-
818
- &:focus {
819
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
820
- outline-offset: 2px !important;
821
- }
822
826
  }
823
-
824
827
  &.mat-accent {
825
828
  background: mat.get-color-from-palette($arm-accent, 500);
826
829
  color: map-get($arm-accent, contrast, 500);
@@ -844,9 +847,8 @@ button.mat-mdc-unelevated-button {
844
847
  background-color: mat.get-color-from-palette($arm-warn, 700);
845
848
  color: map-get($arm-warn, contrast, 700);
846
849
  }
847
-
848
- &:focus {
849
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
850
+ &:focus {
851
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
850
852
  outline-offset: 2px !important;
851
853
  }
852
854
  }
@@ -859,9 +861,8 @@ button.mat-mdc-unelevated-button {
859
861
  background-color: mat.get-color-from-palette($arm-success, 700);
860
862
  color: map-get($arm-success, contrast, 700);
861
863
  }
862
-
863
- &:focus {
864
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
864
+ &:focus {
865
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
865
866
  outline-offset: 2px !important;
866
867
  }
867
868
  }
@@ -874,9 +875,8 @@ button.mat-mdc-unelevated-button {
874
875
  background-color: mat.get-color-from-palette($arm-error, 700);
875
876
  color: map-get($arm-error, contrast, 700);
876
877
  }
877
-
878
- &:focus {
879
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
878
+ &:focus {
879
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
880
880
  outline-offset: 2px !important;
881
881
  }
882
882
  }
@@ -889,9 +889,8 @@ button.mat-mdc-unelevated-button {
889
889
  background-color: mat.get-color-from-palette($arm-info, 700);
890
890
  color: map-get($arm-info, contrast, 700);
891
891
  }
892
-
893
- &:focus {
894
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
892
+ &:focus {
893
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
895
894
  outline-offset: 2px !important;
896
895
  }
897
896
  }
@@ -904,9 +903,8 @@ button.mat-mdc-unelevated-button {
904
903
  background-color: mat.get-color-from-palette($arm-neutral, 700);
905
904
  color: map-get($arm-neutral, contrast, 700);
906
905
  }
907
-
908
- &:focus {
909
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
906
+ &:focus {
907
+ outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
910
908
  outline-offset: 2px !important;
911
909
  }
912
910
  }
@@ -914,7 +912,7 @@ button.mat-mdc-unelevated-button {
914
912
 
915
913
  &:disabled {
916
914
  background: #f7f7f7 !important;
917
- color: rgba(0, 0, 0, 0.6) !important;
915
+ color:rgba(0, 0, 0, 0.6) !important;
918
916
  opacity: 1 !important;
919
917
  }
920
918
  }
@@ -960,7 +958,7 @@ button.mat-mdc-outlined-button {
960
958
  text-transform: uppercase !important;
961
959
 
962
960
  &.fixed-width {
963
- width: 200px !important; // Use this is to match specific sizing
961
+ width: 200px !important; // Use this is to match specific sizing
964
962
  }
965
963
 
966
964
  &.full-width {
@@ -1088,7 +1086,7 @@ button.mat-mdc-outlined-button {
1088
1086
  text-transform: uppercase !important;
1089
1087
 
1090
1088
  &.fixed-width {
1091
- width: 200px !important; // Use this is to match specific sizing
1089
+ width: 200px !important; // Use this is to match specific sizing
1092
1090
  }
1093
1091
 
1094
1092
  &.full-width {
@@ -1468,7 +1466,7 @@ button.mat-mdc-outlined-button {
1468
1466
  height: 48px !important;
1469
1467
  width: 48px !important;
1470
1468
  min-width: 48px !important;
1471
- font-size: 26px !important;
1469
+ font-size: 24px !important;
1472
1470
  }
1473
1471
 
1474
1472
  &.sof-stroked-icon-button[size="large"],
@@ -1480,6 +1478,197 @@ button.mat-mdc-outlined-button {
1480
1478
  }
1481
1479
  }
1482
1480
 
1481
+ // Button Redesign
1482
+
1483
+ button.sof-button-v2{
1484
+ display: flex;
1485
+ justify-content: center;
1486
+ align-items: center;
1487
+ padding:8px!important;
1488
+ height: 40px !important;
1489
+ border-radius: 8px !important;
1490
+ font-family: Poppins !important;
1491
+ font-style: normal !important;
1492
+ font-weight: 500 !important;
1493
+ font-size: 16px !important;
1494
+ line-height: normal !important;
1495
+ letter-spacing: 0.05em !important;
1496
+ text-transform: capitalize !important;
1497
+ &.mat-button-focus-overlay{
1498
+ pointer-events: none !important;
1499
+ }
1500
+ &.mat-mdc-unelevated-button span.mdc-button__label.mdc-button__label{
1501
+ display: flex;
1502
+ align-items: center;
1503
+ justify-content: space-evenly !important;
1504
+ width: 100% !important;
1505
+ }
1506
+ &.fixed-width {
1507
+ width: 120px !important; // Use this is to match specific sizing
1508
+ }
1509
+
1510
+ &.full-width {
1511
+ width: 100% !important; // Use this is button width will take size of flex percentage
1512
+ }
1513
+ &:enabled{
1514
+ &.mat-primary{
1515
+ color:white;
1516
+
1517
+ &:hover{
1518
+ background-color: mat.get-color-from-palette($arm-primary, 500);
1519
+ }
1520
+ &:focus{
1521
+ outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1522
+ outline-offset: 2px !important;
1523
+ }
1524
+
1525
+ }
1526
+ &.mat-secondary{
1527
+ background: #FAFAFA !important;
1528
+ color: var(--primary-color-contrast-50-parts);
1529
+ &:hover{
1530
+ background-color: #FAFAFA !important;
1531
+ }
1532
+ &:focus{
1533
+ outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1534
+ outline-offset: 2px !important;
1535
+ }
1536
+
1537
+ }
1538
+ &.mat-tertiary{
1539
+ color: var(--primary-color-contrast-50-parts);
1540
+ background: none !important;
1541
+ &:hover{
1542
+ background-color: mat.get-color-from-palette($arm-primary, 500);
1543
+ }
1544
+ &:focus{
1545
+ outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1546
+ outline-offset: 2px !important;
1547
+ }
1548
+ }
1549
+ &.mat-error{
1550
+ background: mat.get-color-from-palette($arm-error, 900);
1551
+ color: map-get($arm-error, contrast, 900);
1552
+
1553
+ &:hover {
1554
+ background-color: mat.get-color-from-palette($arm-error, 700);
1555
+ color: map-get($arm-error, contrast, 700);
1556
+ }
1557
+
1558
+ &:focus {
1559
+ outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1560
+ outline-offset: 2px !important;
1561
+ }
1562
+ }
1563
+
1564
+ }
1565
+
1566
+ &:disabled {
1567
+ background: #f7f7f7 !important;
1568
+ color:rgba(0, 0, 0, 0.6) !important;
1569
+ opacity: 1 !important;
1570
+ &:hover{
1571
+ background-color: mat.get-color-from-palette($arm-primary, 500);
1572
+ }
1573
+ &:focus{
1574
+ outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1575
+ outline-offset: 2px !important;
1576
+ }
1577
+ }
1578
+
1579
+ }
1580
+ button.soft-button-icon-v2{
1581
+ display: flex !important;
1582
+ padding: 8px 16px !important;
1583
+ border-radius: 8px !important;
1584
+ height: 40px !important;
1585
+ justify-content: center !important;
1586
+ align-items: center !important;
1587
+ gap: 8px !important;
1588
+ flex: 1 0 0 !important;
1589
+
1590
+ &.mat-mdc-unelevated-button span.mdc-button__label.mdc-button__label{
1591
+ display: flex;
1592
+ align-items: center;
1593
+ font-size: 24px;
1594
+ }
1595
+
1596
+
1597
+ &.fixed-width {
1598
+ max-width: 36px !important; // Use this is to match specific sizing
1599
+ }
1600
+ &.full-width {
1601
+ width: 100% !important; // Use this is button width will take size of flex percentage
1602
+ }
1603
+ &:enabled{
1604
+ &.mat-primary{
1605
+ color:white;
1606
+ border-radius: 8px !important;
1607
+
1608
+ &:hover{
1609
+ background-color: mat.get-color-from-palette($arm-primary, 500);
1610
+ }
1611
+ &:focus{
1612
+ outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1613
+ outline-offset: 2px !important;
1614
+ }
1615
+
1616
+ }
1617
+ &.mat-secondary{
1618
+ background: #FAFAFA !important;
1619
+ color: var(--primary-color-contrast-50-parts);
1620
+ &:hover{
1621
+ background-color: mat.get-color-from-palette($arm-primary, 500);
1622
+ }
1623
+ &:focus{
1624
+ outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1625
+ outline-offset: 2px !important;
1626
+ }
1627
+
1628
+ }
1629
+ &.mat-tertiary{
1630
+ color: var(--primary-color-contrast-50-parts);
1631
+ background: none !important;
1632
+ &:hover{
1633
+ background-color: mat.get-color-from-palette($arm-primary, 500);
1634
+ }
1635
+ &:focus{
1636
+ outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1637
+ outline-offset: 2px !important;
1638
+ }
1639
+ }
1640
+ &.mat-error{
1641
+ background: mat.get-color-from-palette($arm-error, 900);
1642
+ color: map-get($arm-error, contrast, 900);
1643
+
1644
+ &:hover {
1645
+ background-color: mat.get-color-from-palette($arm-error, 700);
1646
+ color: map-get($arm-error, contrast, 700);
1647
+ }
1648
+
1649
+ &:focus {
1650
+ outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1651
+ outline-offset: 2px !important;
1652
+ }
1653
+ }
1654
+ }
1655
+
1656
+ &:disabled {
1657
+ background: #f7f7f7 !important;
1658
+ color:rgba(0, 0, 0, 0.6) !important;
1659
+ opacity: 1 !important;
1660
+
1661
+ &:hover{
1662
+ background-color: mat.get-color-from-palette($arm-primary, 500);
1663
+ }
1664
+ &:focus{
1665
+ outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1666
+ outline-offset: 2px !important;
1667
+ }
1668
+ }
1669
+ }
1670
+
1671
+
1483
1672
  mat-card {
1484
1673
  &.mat-mdc-card.item-list {
1485
1674
  box-shadow: 0px 1px 7px rgb(166 159 159 / 25%) !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softheon/armature",
3
- "version": "17.5.3",
3
+ "version": "17.5.4",
4
4
  "dependencies": {
5
5
  "tslib": "^2.5.0"
6
6
  },