@softheon/armature 17.5.7 → 17.5.8

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.
@@ -641,7 +641,6 @@ button.mat-mdc-button {
641
641
  // Secondary Button Styles
642
642
 
643
643
  }
644
-
645
644
  button.mat-mdc-unelevated-button {
646
645
  --mat-mdc-button-persistent-ripple-color: none !important;
647
646
  --mdc-filled-button-label-text-color: none !important;
@@ -938,7 +937,6 @@ button.mat-mdc-unelevated-button {
938
937
  font-size: 26px !important;
939
938
  }
940
939
  }
941
-
942
940
  button.mat-mdc-outlined-button {
943
941
  --mat-mdc-button-persistent-ripple-color: none !important;
944
942
  --mdc-outlined-button-label-text-color: none !important;
@@ -1477,14 +1475,28 @@ button.mat-mdc-outlined-button {
1477
1475
  font-size: 26px !important;
1478
1476
  }
1479
1477
  }
1480
-
1481
1478
  // Button Redesign
1482
1479
 
1480
+ button.mat-mdc-button
1481
+ .mat-mdc-button-ripple,
1482
+ .mat-mdc-button
1483
+ .mat-mdc-button-persistent-ripple,
1484
+ .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{
1492
+ background: none !important;
1493
+ }
1483
1494
  button.sof-button-v2{
1495
+
1484
1496
  display: flex;
1485
1497
  justify-content: center;
1486
1498
  align-items: center;
1487
- padding:8px!important;
1499
+ padding:8px !important;
1488
1500
  height: 40px !important;
1489
1501
  border-radius: 8px !important;
1490
1502
  font-family: Poppins !important;
@@ -1492,36 +1504,40 @@ button.sof-button-v2{
1492
1504
  font-weight: 500 !important;
1493
1505
  font-size: 16px !important;
1494
1506
  line-height: normal !important;
1495
- letter-spacing: 0.05em !important;
1507
+ letter-spacing: 0px !important;
1496
1508
  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{
1509
+
1510
+ &.mat-mdc-unelevated-button span.mdc-button__label.mdc-button__label{
1511
+ display: flex;
1512
+ align-items: center;
1513
+ font-size: 16px;
1514
+ i{
1515
+ font-size: 20px;
1516
+ }
1517
+ }
1518
+ &.mat-mdc-unelevated-button span.mdc-button__label{
1501
1519
  display: flex;
1502
1520
  align-items: center;
1503
- justify-content: space-evenly !important;
1521
+ justify-content: center !important;
1504
1522
  width: 100% !important;
1523
+ i{
1524
+ margin-right: 8px !important;
1525
+ }
1505
1526
  }
1506
- &.fixed-width {
1507
- width: 120px !important; // Use this is to match specific sizing
1508
- }
1509
-
1510
- &.full-width {
1527
+ &.full-width {
1511
1528
  width: 100% !important; // Use this is button width will take size of flex percentage
1512
- }
1513
- &:enabled{
1529
+ }
1530
+ &:enabled{
1514
1531
  &.mat-primary{
1515
- color:white;
1516
-
1532
+ background: mat.get-color-from-palette($arm-primary, 500);
1533
+ color: map-get($arm-primary, contrast, 900);
1517
1534
  &:hover{
1518
- background-color: mat.get-color-from-palette($arm-primary, 500);
1535
+ background-color: var(--primary-color-500-parts);
1519
1536
  }
1520
1537
  &:focus{
1521
1538
  outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1522
1539
  outline-offset: 2px !important;
1523
- }
1524
-
1540
+ }
1525
1541
  }
1526
1542
  &.mat-secondary{
1527
1543
  background: #FAFAFA !important;
@@ -1533,13 +1549,12 @@ button.sof-button-v2{
1533
1549
  outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1534
1550
  outline-offset: 2px !important;
1535
1551
  }
1536
-
1537
1552
  }
1538
1553
  &.mat-tertiary{
1539
1554
  color: var(--primary-color-contrast-50-parts);
1540
1555
  background: none !important;
1541
1556
  &:hover{
1542
- background-color: mat.get-color-from-palette($arm-primary, 500);
1557
+ background-color: transparent !important;
1543
1558
  }
1544
1559
  &:focus{
1545
1560
  outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
@@ -1549,22 +1564,18 @@ button.sof-button-v2{
1549
1564
  &.mat-error{
1550
1565
  background: mat.get-color-from-palette($arm-error, 900);
1551
1566
  color: map-get($arm-error, contrast, 900);
1552
-
1553
1567
  &:hover {
1554
1568
  background-color: mat.get-color-from-palette($arm-error, 700);
1555
1569
  color: map-get($arm-error, contrast, 700);
1556
1570
  }
1557
-
1558
1571
  &:focus {
1559
1572
  outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1560
1573
  outline-offset: 2px !important;
1561
1574
  }
1562
1575
  }
1563
-
1564
1576
  }
1565
-
1566
- &:disabled {
1567
- background: #f7f7f7 !important;
1577
+ &:disabled {
1578
+ background:#fafafa!important;
1568
1579
  color:rgba(0, 0, 0, 0.6) !important;
1569
1580
  opacity: 1 !important;
1570
1581
  &:hover{
@@ -1575,89 +1586,88 @@ button.sof-button-v2{
1575
1586
  outline-offset: 2px !important;
1576
1587
  }
1577
1588
  }
1578
-
1589
+ &.no-hover-effect.mat-button.mat-primary .mat-button-focus-overlay ,
1590
+ .no-hover-effect.mat-button.mat-secondary .mat-button-focus-overlay,
1591
+ .no-hover-effect.mat-button.mat-tertiary .mat-button-focus-overlay,
1592
+ .no-hover-effect.mat-button.mat-error .mat-button-focus-overlay,
1593
+ .no-hover-effect.mat-button.mat-accent .mat-button-focus-overlay,
1594
+ .no-hover-effect.mat-button.mat-warn .mat-button-focus-overlay
1595
+ {
1596
+ background-color: transparent;
1597
+ }
1579
1598
  }
1580
1599
  button.soft-button-icon-v2{
1581
1600
  display: flex !important;
1582
- padding: 8px 16px !important;
1601
+ padding: 8px!important;
1583
1602
  border-radius: 8px !important;
1584
1603
  height: 40px !important;
1585
1604
  justify-content: center !important;
1586
1605
  align-items: center !important;
1587
1606
  gap: 8px !important;
1588
- flex: 1 0 0 !important;
1589
-
1607
+ max-width: 36px !important;
1590
1608
  &.mat-mdc-unelevated-button span.mdc-button__label.mdc-button__label{
1591
1609
  display: flex;
1592
1610
  align-items: center;
1593
1611
  font-size: 24px;
1612
+
1613
+ }
1614
+ &.mdc-button{
1615
+ min-width: 40px;
1594
1616
  }
1595
1617
 
1596
-
1597
- &.fixed-width {
1598
- max-width: 36px !important; // Use this is to match specific sizing
1599
- }
1600
- &.full-width {
1618
+ &.full-width {
1601
1619
  width: 100% !important; // Use this is button width will take size of flex percentage
1602
1620
  }
1603
1621
  &:enabled{
1604
1622
  &.mat-primary{
1605
- color:white;
1606
- border-radius: 8px !important;
1607
-
1608
- &:hover{
1609
- background-color: mat.get-color-from-palette($arm-primary, 500);
1623
+ background: mat.get-color-from-palette($arm-primary, 500);
1624
+ color: map-get($arm-error, contrast, 900);
1625
+ &:hover {
1626
+ background-color: mat.get-color-from-palette($arm-primary, 500) !important;
1627
+ color: map-get($arm-error, contrast, 700);
1610
1628
  }
1611
- &:focus{
1629
+ &:focus {
1612
1630
  outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1613
1631
  outline-offset: 2px !important;
1614
1632
  }
1615
-
1616
1633
  }
1617
1634
  &.mat-secondary{
1618
- background: #FAFAFA !important;
1635
+ background-color: #FAFAFA !important;
1619
1636
  color: var(--primary-color-contrast-50-parts);
1620
- &:hover{
1621
- background-color: mat.get-color-from-palette($arm-primary, 500);
1622
- }
1637
+ &:hover{
1638
+ background-color: #FAFAFA !important;
1639
+ color: var(--primary-color-contrast-50-parts) !important;
1640
+ }
1623
1641
  &:focus{
1624
1642
  outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1625
1643
  outline-offset: 2px !important;
1626
1644
  }
1627
-
1628
1645
  }
1629
1646
  &.mat-tertiary{
1630
1647
  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
- }
1648
+ background: transparent !important;
1635
1649
  &:focus{
1636
1650
  outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1637
1651
  outline-offset: 2px !important;
1638
1652
  }
1639
1653
  }
1640
1654
  &.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
- }
1655
+ background: mat.get-color-from-palette($arm-error, 900);
1656
+ color: map-get($arm-error, contrast, 900);
1657
+ &:hover {
1658
+ background-color: mat.get-color-from-palette($arm-error, 700);
1659
+ color: map-get($arm-error, contrast, 700);
1660
+ }
1661
+ &:focus {
1662
+ outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1663
+ outline-offset: 2px !important;
1664
+ }
1653
1665
  }
1654
1666
  }
1655
-
1656
1667
  &:disabled {
1657
- background: #f7f7f7 !important;
1668
+ background: #fafafa !important;
1658
1669
  color:rgba(0, 0, 0, 0.6) !important;
1659
1670
  opacity: 1 !important;
1660
-
1661
1671
  &:hover{
1662
1672
  background-color: mat.get-color-from-palette($arm-primary, 500);
1663
1673
  }
@@ -1667,8 +1677,6 @@ button.soft-button-icon-v2{
1667
1677
  }
1668
1678
  }
1669
1679
  }
1670
-
1671
-
1672
1680
  mat-card {
1673
1681
  &.mat-mdc-card.item-list {
1674
1682
  box-shadow: 0px 1px 7px rgb(166 159 159 / 25%) !important;
@@ -1678,7 +1686,6 @@ mat-card {
1678
1686
  padding: 0px !important;
1679
1687
  }
1680
1688
  }
1681
-
1682
1689
  .mat-mdc-dialog-title {
1683
1690
  font-family: Merriweather, serif !important;
1684
1691
  font-style: normal !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softheon/armature",
3
- "version": "17.5.7",
3
+ "version": "17.5.8",
4
4
  "dependencies": {
5
5
  "tslib": "^2.5.0"
6
6
  },