@deque/cauldron-styles 5.5.0-canary.720bc9bd → 5.5.1-canary.0e6e408c
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/dist/index.css +94 -72
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -470,8 +470,7 @@ button.Link {
|
|
|
470
470
|
|
|
471
471
|
.Button--primary:focus:before,
|
|
472
472
|
.Button--secondary:focus:before,
|
|
473
|
-
.Button--error:focus:before
|
|
474
|
-
.Button--tag:focus:before {
|
|
473
|
+
.Button--error:focus:before {
|
|
475
474
|
box-shadow: 0 0 1px 2px var(--button-focus-ring-color, --focus);
|
|
476
475
|
}
|
|
477
476
|
|
|
@@ -1456,7 +1455,17 @@ ul.semantic-only {
|
|
|
1456
1455
|
--field-background-color-disabled: #f7f7f7;
|
|
1457
1456
|
--field-required-text-color: var(--gray-60);
|
|
1458
1457
|
--field-label-text-color: var(--gray-90);
|
|
1458
|
+
--field-label-error-text-color: var(--error);
|
|
1459
1459
|
--field-label-description-text-color: var(--gray-60);
|
|
1460
|
+
--field-icon-inactive-color: var(--gray-90);
|
|
1461
|
+
--field-icon-active-color: rgba(60, 122, 174, 0.25);
|
|
1462
|
+
--field-icon-error-active-color: rgba(217, 50, 81, 0.25);
|
|
1463
|
+
--field-icon-checked-color: var(--accent-primary);
|
|
1464
|
+
--field-icon-checked-disabled-color: var(--accent-primary-dsiabled, #78a6d8);
|
|
1465
|
+
--field-icon-unchecked-disabled-color: var(--gray-40);
|
|
1466
|
+
--field-icon-focus-color: var(--focus-light);
|
|
1467
|
+
--field-error-text-color: var(--error);
|
|
1468
|
+
--field-error-border-color: var(--error);
|
|
1460
1469
|
--input-min-width: 250px;
|
|
1461
1470
|
}
|
|
1462
1471
|
|
|
@@ -1472,7 +1481,16 @@ ul.semantic-only {
|
|
|
1472
1481
|
--field-background-color-disabled: #5d676f;
|
|
1473
1482
|
--field-required-text-color: var(--white);
|
|
1474
1483
|
--field-label-text-color: var(--white);
|
|
1475
|
-
--field-label-description-text-color:
|
|
1484
|
+
--field-label-description-text-color: var(--accent-light);
|
|
1485
|
+
--field-icon-inactive-color: var(--white);
|
|
1486
|
+
--field-icon-active-color: rgba(212, 221, 224, 0.25);
|
|
1487
|
+
--field-icon-error-active-color: rgba(254, 109, 107, 0.25);
|
|
1488
|
+
--field-icon-checked-color: var(--accent-light);
|
|
1489
|
+
--field-icon-checked-disabled-color: var(--stroke-dark);
|
|
1490
|
+
--field-icon-unchecked-disabled-color: var(--stroke-dark);
|
|
1491
|
+
--field-icon-focus-color: var(--focus-dark);
|
|
1492
|
+
--field-error-text-color: var(--error);
|
|
1493
|
+
--field-error-border-color: var(--error);
|
|
1476
1494
|
}
|
|
1477
1495
|
|
|
1478
1496
|
input,
|
|
@@ -1560,6 +1578,10 @@ textarea.Field--has-error,
|
|
|
1560
1578
|
color: var(--field-border-color-error);
|
|
1561
1579
|
}
|
|
1562
1580
|
|
|
1581
|
+
.Icon--checkbox-unchecked.Checkbox__overlay:active.Field--has-error:not(.Checkbox__overlay--disabled) {
|
|
1582
|
+
background-color: var(--field-icon-error-active-color);
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1563
1585
|
input.Field--has-error:hover,
|
|
1564
1586
|
select.Field--has-error:hover,
|
|
1565
1587
|
textarea.Field--has-error:hover,
|
|
@@ -1600,11 +1622,14 @@ textarea.Field--has-error:focus:hover,
|
|
|
1600
1622
|
}
|
|
1601
1623
|
|
|
1602
1624
|
.Error {
|
|
1603
|
-
color: var(--error);
|
|
1625
|
+
color: var(--field-error-text-color);
|
|
1626
|
+
border-top: 1px solid var(--field-error-border-color);
|
|
1604
1627
|
text-align: left;
|
|
1605
|
-
font-size: var(--text-size-smallest);
|
|
1606
1628
|
font-weight: var(--font-weight-normal);
|
|
1607
|
-
|
|
1629
|
+
font-size: var(--text-size-smallest);
|
|
1630
|
+
margin-top: var(--space-half);
|
|
1631
|
+
margin-left: calc(var(--icon-size) + 2px + var(--space-half));
|
|
1632
|
+
padding: var(--space-half) 0;
|
|
1608
1633
|
}
|
|
1609
1634
|
|
|
1610
1635
|
.Field {
|
|
@@ -1622,14 +1647,27 @@ textarea.Field--has-error:focus:hover,
|
|
|
1622
1647
|
margin-bottom: 0;
|
|
1623
1648
|
}
|
|
1624
1649
|
|
|
1650
|
+
.Checkbox__wrap,
|
|
1651
|
+
.Radio__wrap {
|
|
1652
|
+
margin-bottom: var(--space-smallest);
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
.Checkbox__wrap:last-of-type,
|
|
1656
|
+
.Radio__wrap:last-of-type {
|
|
1657
|
+
margin-bottom: 0;
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
.Radio--inline .Radio__wrap {
|
|
1661
|
+
margin-bottom: 0;
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1625
1664
|
.Checkbox,
|
|
1626
1665
|
.Radio {
|
|
1627
1666
|
box-sizing: border-box;
|
|
1628
1667
|
position: relative;
|
|
1629
|
-
margin-bottom: 0;
|
|
1630
1668
|
flex-direction: row-reverse;
|
|
1631
1669
|
justify-content: flex-end;
|
|
1632
|
-
flex-wrap:
|
|
1670
|
+
flex-wrap: nowrap;
|
|
1633
1671
|
}
|
|
1634
1672
|
|
|
1635
1673
|
.Radio--inline {
|
|
@@ -1639,19 +1677,15 @@ textarea.Field--has-error:focus:hover,
|
|
|
1639
1677
|
gap: var(--space-small);
|
|
1640
1678
|
}
|
|
1641
1679
|
|
|
1642
|
-
.Checkbox
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
.Checkbox + .Checkbox,
|
|
1647
|
-
.Radio + .Radio {
|
|
1648
|
-
margin-top: var(--space-smallest);
|
|
1680
|
+
.Checkbox + .Field__labelDescription,
|
|
1681
|
+
.Radio + .Field__labelDescription {
|
|
1682
|
+
margin-top: var(--space-half);
|
|
1683
|
+
margin-bottom: var(--space-small);
|
|
1649
1684
|
}
|
|
1650
1685
|
|
|
1651
|
-
.Checkbox .
|
|
1652
|
-
.Radio .
|
|
1686
|
+
.Checkbox__wrap:last-of-type .Checkbox + .Field__labelDescription,
|
|
1687
|
+
.Radio__wrap:last-of-type .Radio + .Field__labelDescription {
|
|
1653
1688
|
margin-bottom: 0;
|
|
1654
|
-
padding-bottom: 0;
|
|
1655
1689
|
}
|
|
1656
1690
|
|
|
1657
1691
|
.Field__label {
|
|
@@ -1659,9 +1693,28 @@ textarea.Field--has-error:focus:hover,
|
|
|
1659
1693
|
align-items: center;
|
|
1660
1694
|
text-align: left;
|
|
1661
1695
|
color: var(--field-label-text-color);
|
|
1696
|
+
margin-bottom: var(--space-half);
|
|
1662
1697
|
font-size: var(--text-size-small);
|
|
1663
1698
|
font-weight: var(--font-weight-medium);
|
|
1664
|
-
|
|
1699
|
+
cursor: default;
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
.Field__label + .Checkbox__wrap {
|
|
1703
|
+
margin-top: var(--space-half);
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
.Field__label + [role^='radiogroup'] {
|
|
1707
|
+
margin-top: var(--space-smallest);
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
.Checkbox__label,
|
|
1711
|
+
.Radio__label {
|
|
1712
|
+
display: flex;
|
|
1713
|
+
align-items: center;
|
|
1714
|
+
text-align: left;
|
|
1715
|
+
color: var(--field-label-text-color);
|
|
1716
|
+
font-size: var(--text-size-small);
|
|
1717
|
+
font-weight: var(--font-weight-normal);
|
|
1665
1718
|
cursor: default;
|
|
1666
1719
|
}
|
|
1667
1720
|
|
|
@@ -1681,7 +1734,7 @@ textarea.Field--has-error:focus:hover,
|
|
|
1681
1734
|
}
|
|
1682
1735
|
|
|
1683
1736
|
.Field__label--has-error .Field__required-text {
|
|
1684
|
-
color: var(--error);
|
|
1737
|
+
color: var(--field-label-error-text-color);
|
|
1685
1738
|
}
|
|
1686
1739
|
|
|
1687
1740
|
.Field__label--inline {
|
|
@@ -1726,20 +1779,14 @@ textarea.Field--has-error:focus:hover,
|
|
|
1726
1779
|
font-size: var(--text-size-small);
|
|
1727
1780
|
font-weight: var(--font-weight-normal);
|
|
1728
1781
|
line-height: 1;
|
|
1782
|
+
margin-top: var(--space-half);
|
|
1729
1783
|
margin-left: calc(24px + 2px + var(--space-half));
|
|
1730
1784
|
cursor: default;
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
.Icon + .Error {
|
|
1734
|
-
flex-basis: 100%;
|
|
1735
|
-
margin-top: var(--space-smallest);
|
|
1785
|
+
display: flex;
|
|
1736
1786
|
}
|
|
1737
1787
|
|
|
1738
1788
|
.Field__labelDescription + .Error {
|
|
1739
|
-
|
|
1740
|
-
margin-left: calc(24px + 2px + var(--space-half));
|
|
1741
|
-
padding: 4px 0;
|
|
1742
|
-
margin-top: 4px;
|
|
1789
|
+
margin-top: var(--space-smallest);
|
|
1743
1790
|
}
|
|
1744
1791
|
|
|
1745
1792
|
.Radio__overlay,
|
|
@@ -1747,9 +1794,13 @@ textarea.Field--has-error:focus:hover,
|
|
|
1747
1794
|
border: 1px solid transparent;
|
|
1748
1795
|
box-sizing: border-box;
|
|
1749
1796
|
cursor: pointer;
|
|
1750
|
-
|
|
1751
|
-
color: #333;
|
|
1797
|
+
color: var(--field-icon-inactive-color);
|
|
1752
1798
|
margin-right: var(--space-half);
|
|
1799
|
+
align-self: flex-start;
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
.Checkbox__overlay {
|
|
1803
|
+
border-radius: 5px;
|
|
1753
1804
|
}
|
|
1754
1805
|
|
|
1755
1806
|
.Radio__overlay {
|
|
@@ -1763,7 +1814,7 @@ textarea.Field--has-error:focus:hover,
|
|
|
1763
1814
|
|
|
1764
1815
|
.Radio__overlay:active:not(.Radio__overlay--disabled),
|
|
1765
1816
|
.Checkbox__overlay:active:not(.Checkbox__overlay--disabled) {
|
|
1766
|
-
background-color:
|
|
1817
|
+
background-color: var(--field-icon-active-color);
|
|
1767
1818
|
}
|
|
1768
1819
|
|
|
1769
1820
|
.Radio input[type='radio'] {
|
|
@@ -1778,17 +1829,22 @@ textarea.Field--has-error:focus:hover,
|
|
|
1778
1829
|
|
|
1779
1830
|
.Checkbox__overlay.Checkbox__overlay--focused,
|
|
1780
1831
|
.Radio__overlay.Radio__overlay--focused {
|
|
1781
|
-
|
|
1782
|
-
box-shadow: inset 0 0 0 1px var(--focus), 0 0 4px 2px var(--focus-glow);
|
|
1832
|
+
box-shadow: 0 0 0 2px var(--field-icon-focus-color);
|
|
1783
1833
|
}
|
|
1784
1834
|
|
|
1785
|
-
.Radio__overlay.Icon--radio-checked
|
|
1786
|
-
|
|
1835
|
+
.Radio__overlay.Icon--radio-checked,
|
|
1836
|
+
.Checkbox__overlay.Icon--checkbox-checked {
|
|
1837
|
+
color: var(--field-icon-checked-color);
|
|
1787
1838
|
}
|
|
1788
1839
|
|
|
1789
1840
|
.Radio__overlay--disabled.Icon--radio-checked,
|
|
1841
|
+
.Checkbox__overlay--disabled.Icon--checkbox-checked {
|
|
1842
|
+
color: var(--field-icon-checked-disabled-color);
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1845
|
+
.Checkbox__overlay--disabled.Icon--checkbox-unchecked,
|
|
1790
1846
|
.Radio__overlay--disabled.Icon--radio-unchecked {
|
|
1791
|
-
color:
|
|
1847
|
+
color: var(--field-icon-unchecked-disabled-color);
|
|
1792
1848
|
}
|
|
1793
1849
|
|
|
1794
1850
|
.Field__label:hover ~ .Radio__overlay:not(.Radio__overlay--disabled),
|
|
@@ -1806,45 +1862,11 @@ textarea.Field--has-error:focus:hover,
|
|
|
1806
1862
|
appearance: none;
|
|
1807
1863
|
}
|
|
1808
1864
|
|
|
1809
|
-
.Checkbox__overlay.Icon--checkbox-checked {
|
|
1810
|
-
color: #3c7aae;
|
|
1811
|
-
}
|
|
1812
|
-
|
|
1813
|
-
.Checkbox__overlay--disabled.Icon--checkbox-checked,
|
|
1814
|
-
.Checkbox__overlay--disabled.Icon--checkbox-unchecked {
|
|
1815
|
-
color: #ccc;
|
|
1816
|
-
}
|
|
1817
|
-
|
|
1818
1865
|
.Field__label:hover ~ .Checkbox__overlay:not(.Checkbox__overlay--disabled),
|
|
1819
1866
|
.Checkbox__overlay:hover:not(.Checkbox__overlay--disabled) {
|
|
1820
1867
|
border: 1px solid currentColor;
|
|
1821
1868
|
}
|
|
1822
1869
|
|
|
1823
|
-
/* Dark Theme */
|
|
1824
|
-
|
|
1825
|
-
.cauldron--theme-dark {
|
|
1826
|
-
--field-label-text-color: var(--white);
|
|
1827
|
-
}
|
|
1828
|
-
|
|
1829
|
-
.cauldron--theme-dark .Radio__overlay,
|
|
1830
|
-
.cauldron--theme-dark .Checkbox__overlay {
|
|
1831
|
-
color: var(--white);
|
|
1832
|
-
}
|
|
1833
|
-
|
|
1834
|
-
.cauldron--theme-dark .Checkbox__overlay.Icon--checkbox-checked {
|
|
1835
|
-
color: var(--accent-light);
|
|
1836
|
-
}
|
|
1837
|
-
|
|
1838
|
-
.cauldron--theme-dark .Checkbox__overlay.Field--has-error {
|
|
1839
|
-
color: var(--accent-danger);
|
|
1840
|
-
}
|
|
1841
|
-
|
|
1842
|
-
.cauldron--theme-dark .Radio__overlay--disabled,
|
|
1843
|
-
.cauldron--theme-dark .Checkbox__overlay--disabled.Icon--checkbox-checked,
|
|
1844
|
-
.cauldron--theme-dark .Checkbox__overlay--disabled.Icon--checkbox-unchecked {
|
|
1845
|
-
color: #4c99a9;
|
|
1846
|
-
}
|
|
1847
|
-
|
|
1848
1870
|
:root {
|
|
1849
1871
|
--link-text-color: var(--gray-90);
|
|
1850
1872
|
--link-text-color-hover: #3873a3;
|
|
@@ -3441,7 +3463,7 @@ button.TooltipTabstop {
|
|
|
3441
3463
|
--tag-text-color: var(--white);
|
|
3442
3464
|
--tag-label-text-color: var(--accent-light);
|
|
3443
3465
|
--tag-background-color: var(--accent-medium);
|
|
3444
|
-
--tag-border-color: var(--
|
|
3466
|
+
--tag-border-color: var(--stroke-dark);
|
|
3445
3467
|
}
|
|
3446
3468
|
|
|
3447
3469
|
.Tag {
|
package/package.json
CHANGED