@softheon/armature 17.15.8 → 17.15.10

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.
@@ -1491,6 +1491,7 @@ button.mat-mdc-button
1491
1491
  .mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{
1492
1492
  background: none !important;
1493
1493
  }
1494
+
1494
1495
  button.sof-button-v2{
1495
1496
 
1496
1497
  display: flex;
@@ -1506,6 +1507,14 @@ button.sof-button-v2{
1506
1507
  line-height: normal !important;
1507
1508
  letter-spacing: 0px !important;
1508
1509
  text-transform: capitalize !important;
1510
+
1511
+ &.fixed-width {
1512
+ width: 200px !important; // Use this is to match specific sizing
1513
+ }
1514
+
1515
+ &.full-width {
1516
+ width: 100% !important; // Use this is button width will take size of flex percentage
1517
+ }
1509
1518
 
1510
1519
  &.mat-mdc-unelevated-button span.mdc-button__label.mdc-button__label{
1511
1520
  display: flex;
@@ -1515,88 +1524,86 @@ button.sof-button-v2{
1515
1524
  font-size: 20px;
1516
1525
  }
1517
1526
  }
1518
- &.mat-mdc-unelevated-button span.mdc-button__label{
1519
- display: flex;
1520
- align-items: center;
1521
- justify-content: center !important;
1522
- width: 100% !important;
1523
- i{
1524
- margin-right: 8px !important;
1525
- }
1526
- }
1527
- &.full-width {
1528
- width: 100% !important; // Use this is button width will take size of flex percentage
1529
- }
1530
- &:enabled{
1531
- &.mat-primary{
1532
- background: mat.get-color-from-palette($arm-primary, 500);
1533
- color: map-get($arm-primary, contrast, 900);
1534
- &:hover{
1535
- background-color: var(--primary-color-500-parts);
1527
+ &.mat-mdc-unelevated-button span.mdc-button__label{
1528
+ display: flex;
1529
+ align-items: center;
1530
+ justify-content: center !important;
1531
+ width: 100% !important;
1532
+ i{
1533
+ margin-right: 8px !important;
1536
1534
  }
1537
- &:focus{
1538
- outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1539
- outline-offset: 2px !important;
1540
- }
1541
1535
  }
1542
- &.mat-secondary{
1543
- background: #FAFAFA !important;
1544
- color: var(--primary-color-contrast-50-parts);
1545
- &:hover{
1546
- background-color: #FAFAFA !important;
1536
+ &:enabled{
1537
+ &.mat-primary{
1538
+ background: mat.get-color-from-palette($arm-primary, 500);
1539
+ color: map-get($arm-primary, contrast, 900);
1540
+ &:hover{
1541
+ background-color: var(--primary-color-500-parts);
1542
+ }
1543
+ &:focus{
1544
+ outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1545
+ outline-offset: 2px !important;
1546
+ }
1547
1547
  }
1548
- &:focus{
1549
- outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1550
- outline-offset: 2px !important;
1548
+ &.mat-secondary{
1549
+ background: #FAFAFA !important;
1550
+ color: var(--primary-color-contrast-50-parts);
1551
+ &:hover{
1552
+ background-color: #FAFAFA !important;
1553
+ }
1554
+ &:focus{
1555
+ outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1556
+ outline-offset: 2px !important;
1557
+ }
1558
+ }
1559
+ &.mat-tertiary{
1560
+ color: var(--primary-color-contrast-50-parts);
1561
+ background: none !important;
1562
+ &:hover{
1563
+ background-color: transparent !important;
1564
+ }
1565
+ &:focus{
1566
+ outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1567
+ outline-offset: 2px !important;
1568
+ }
1569
+ }
1570
+ &.mat-error{
1571
+ background: mat.get-color-from-palette($arm-error, 900);
1572
+ color: map-get($arm-error, contrast, 900);
1573
+ &:hover {
1574
+ background-color: mat.get-color-from-palette($arm-error, 700);
1575
+ color: map-get($arm-error, contrast, 700);
1576
+ }
1577
+ &:focus {
1578
+ outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1579
+ outline-offset: 2px !important;
1580
+ }
1551
1581
  }
1552
1582
  }
1553
- &.mat-tertiary{
1554
- color: var(--primary-color-contrast-50-parts);
1555
- background: none !important;
1583
+ &:disabled {
1584
+ background:#fafafa!important;
1585
+ color:rgba(0, 0, 0, 0.6) !important;
1586
+ opacity: 1 !important;
1556
1587
  &:hover{
1557
- background-color: transparent !important;
1588
+ background-color: mat.get-color-from-palette($arm-primary, 500);
1558
1589
  }
1559
1590
  &:focus{
1560
1591
  outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1561
1592
  outline-offset: 2px !important;
1562
1593
  }
1563
1594
  }
1564
- &.mat-error{
1565
- background: mat.get-color-from-palette($arm-error, 900);
1566
- color: map-get($arm-error, contrast, 900);
1567
- &:hover {
1568
- background-color: mat.get-color-from-palette($arm-error, 700);
1569
- color: map-get($arm-error, contrast, 700);
1570
- }
1571
- &:focus {
1572
- outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1573
- outline-offset: 2px !important;
1574
- }
1595
+ &.no-hover-effect.mat-button.mat-primary .mat-button-focus-overlay ,
1596
+ .no-hover-effect.mat-button.mat-secondary .mat-button-focus-overlay,
1597
+ .no-hover-effect.mat-button.mat-tertiary .mat-button-focus-overlay,
1598
+ .no-hover-effect.mat-button.mat-error .mat-button-focus-overlay,
1599
+ .no-hover-effect.mat-button.mat-accent .mat-button-focus-overlay,
1600
+ .no-hover-effect.mat-button.mat-warn .mat-button-focus-overlay
1601
+ {
1602
+ background-color: transparent;
1575
1603
  }
1576
- }
1577
- &:disabled {
1578
- background:#fafafa!important;
1579
- color:rgba(0, 0, 0, 0.6) !important;
1580
- opacity: 1 !important;
1581
- &:hover{
1582
- background-color: mat.get-color-from-palette($arm-primary, 500);
1583
- }
1584
- &:focus{
1585
- outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1586
- outline-offset: 2px !important;
1587
- }
1588
- }
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
1604
  }
1598
- }
1599
- button.soft-button-icon-v2{
1605
+
1606
+ button.sof-button-icon-v2{
1600
1607
  display: flex !important;
1601
1608
  padding: 8px!important;
1602
1609
  border-radius: 8px !important;