@deque/cauldron-styles 6.4.2-canary.79991621 → 6.4.2-canary.812a7af6
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 +129 -27
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -166,7 +166,6 @@
|
|
|
166
166
|
--font-weight-light: 300;
|
|
167
167
|
--font-weight-normal: 400;
|
|
168
168
|
--font-weight-medium: 500;
|
|
169
|
-
--font-weight-semi-bold: 600;
|
|
170
169
|
--font-weight-bold: 700;
|
|
171
170
|
--font-weight-ultra-bold: 900;
|
|
172
171
|
|
|
@@ -1165,13 +1164,15 @@ textarea.Field--has-error:focus:hover,
|
|
|
1165
1164
|
--button-background-color-error-active: var(--accent-error-active);
|
|
1166
1165
|
--button-outline-color-error: var(--error);
|
|
1167
1166
|
|
|
1167
|
+
--button-text-size: var(--text-size-body);
|
|
1168
|
+
--button-thin-text-size: var(--text-size-body-small);
|
|
1168
1169
|
--button-text-color-dark: var(--gray-90);
|
|
1169
1170
|
--button-text-color-light: #fff;
|
|
1170
1171
|
--button-text-color-disabled: var(--disabled);
|
|
1171
1172
|
--button-focus-ring-color: var(--focus-light);
|
|
1172
1173
|
--button-thin-height: var(--target-size-minimum);
|
|
1173
1174
|
|
|
1174
|
-
--button-height:
|
|
1175
|
+
--button-height: 2.25rem;
|
|
1175
1176
|
}
|
|
1176
1177
|
|
|
1177
1178
|
.Button--primary,
|
|
@@ -1181,18 +1182,18 @@ textarea.Field--has-error:focus:hover,
|
|
|
1181
1182
|
.Button--error {
|
|
1182
1183
|
border-radius: 3px;
|
|
1183
1184
|
border: 1px solid transparent;
|
|
1184
|
-
font-size: var(--text-size
|
|
1185
|
+
font-size: var(--button-text-size);
|
|
1185
1186
|
box-sizing: border-box;
|
|
1186
|
-
padding: 0
|
|
1187
|
+
padding: 0 var(--space-small);
|
|
1187
1188
|
position: relative;
|
|
1188
1189
|
text-align: center;
|
|
1189
1190
|
min-height: var(--button-height);
|
|
1190
|
-
min-width:
|
|
1191
|
+
min-width: 6.25rem;
|
|
1191
1192
|
display: inline-grid;
|
|
1192
1193
|
grid-auto-flow: column;
|
|
1193
1194
|
align-items: center;
|
|
1194
1195
|
justify-items: center;
|
|
1195
|
-
gap:
|
|
1196
|
+
gap: var(--space-smallest);
|
|
1196
1197
|
}
|
|
1197
1198
|
|
|
1198
1199
|
.Button--tag {
|
|
@@ -1343,7 +1344,7 @@ button.Link {
|
|
|
1343
1344
|
.DefinitionButton button {
|
|
1344
1345
|
background-color: transparent;
|
|
1345
1346
|
color: var(--text-color-base);
|
|
1346
|
-
font-weight: var(--font-weight-
|
|
1347
|
+
font-weight: var(--font-weight-medium);
|
|
1347
1348
|
border-bottom: 1px dotted;
|
|
1348
1349
|
display: inline-block;
|
|
1349
1350
|
margin: 0 2px;
|
|
@@ -1357,9 +1358,9 @@ button.Link {
|
|
|
1357
1358
|
|
|
1358
1359
|
.Button--thin {
|
|
1359
1360
|
min-height: var(--button-thin-height);
|
|
1360
|
-
min-width:
|
|
1361
|
-
font-size: var(--text-size
|
|
1362
|
-
padding: 0
|
|
1361
|
+
min-width: 6.25rem;
|
|
1362
|
+
font-size: var(--button-thin-text-size);
|
|
1363
|
+
padding: 0 var(--space-small);
|
|
1363
1364
|
}
|
|
1364
1365
|
|
|
1365
1366
|
[class*='Button--'] + [class*='Button--'] {
|
|
@@ -1499,6 +1500,8 @@ button.Link {
|
|
|
1499
1500
|
--button-background-color-error-active
|
|
1500
1501
|
);
|
|
1501
1502
|
|
|
1503
|
+
--icon-button-text-color-disabled: var(--button-text-color-disabled);
|
|
1504
|
+
|
|
1502
1505
|
/* Deprecated variables */
|
|
1503
1506
|
--icon-button-content-color-light-disabled: #ccc;
|
|
1504
1507
|
--icon-button-background-color-light: #dadada;
|
|
@@ -1574,11 +1577,16 @@ a.IconButton {
|
|
|
1574
1577
|
|
|
1575
1578
|
.IconButton--secondary:is([aria-disabled='true'], [disabled]),
|
|
1576
1579
|
.IconButton--secondary:is([aria-disabled='true'], [disabled]):active {
|
|
1577
|
-
color: var(--disabled);
|
|
1580
|
+
color: var(--icon-button-text-color-disabled);
|
|
1578
1581
|
background-color: var(--button-background-color-secondary-disabled);
|
|
1579
1582
|
cursor: default;
|
|
1580
1583
|
}
|
|
1581
1584
|
|
|
1585
|
+
.IconButton--tertiary:is([aria-disabled='true'], [disabled]),
|
|
1586
|
+
.IconButton--tertiary:is([aria-disabled='true'], [disabled]):active {
|
|
1587
|
+
color: var(--icon-button-text-color-disabled);
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1582
1590
|
.IconButton--primary:is([aria-disabled='true'], [disabled]),
|
|
1583
1591
|
.IconButton--primary:is([aria-disabled='true'], [disabled]):active {
|
|
1584
1592
|
background-color: var(--button-background-color-primary-disabled);
|
|
@@ -1609,19 +1617,32 @@ a.IconButton {
|
|
|
1609
1617
|
background-color: var(--icon-button-background-color-primary-active);
|
|
1610
1618
|
}
|
|
1611
1619
|
|
|
1612
|
-
.IconButton--secondary
|
|
1620
|
+
.IconButton--secondary,
|
|
1621
|
+
.IconButton--tertiary,
|
|
1622
|
+
.IconButton--tertiary:is(:active) {
|
|
1613
1623
|
border: 1px solid var(--icon-button-border-color-secondary);
|
|
1614
1624
|
background-color: var(--icon-button-background-color-secondary);
|
|
1615
1625
|
color: var(--icon-button-secondary-color);
|
|
1616
1626
|
}
|
|
1617
1627
|
|
|
1618
|
-
.IconButton--secondary:not([disabled]):not(
|
|
1619
|
-
|
|
1620
|
-
|
|
1628
|
+
.IconButton--secondary:not([disabled]):not([aria-disabled='true']):hover:before,
|
|
1629
|
+
.IconButton--tertiary:not([disabled]):not([aria-disabled='true']):is(
|
|
1630
|
+
:hover
|
|
1631
|
+
):before {
|
|
1621
1632
|
box-shadow: 0 0 0 1px var(--icon-button-outline-color-secondary);
|
|
1622
1633
|
}
|
|
1623
1634
|
|
|
1624
|
-
.IconButton--
|
|
1635
|
+
.IconButton--tertiary:is(
|
|
1636
|
+
:not(:hover, :focus, :active),
|
|
1637
|
+
[disabled],
|
|
1638
|
+
[aria-disabled='true']
|
|
1639
|
+
) {
|
|
1640
|
+
border-color: transparent;
|
|
1641
|
+
background-color: transparent;
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
.IconButton--secondary:active,
|
|
1645
|
+
.IconButton--tertiary:active {
|
|
1625
1646
|
background-color: var(--icon-button-background-color-secondary-active);
|
|
1626
1647
|
}
|
|
1627
1648
|
|
|
@@ -1673,7 +1694,8 @@ a.IconButton {
|
|
|
1673
1694
|
border: 2px solid var(--icon-button-border-color-primary);
|
|
1674
1695
|
}
|
|
1675
1696
|
|
|
1676
|
-
.cauldron--theme-dark .IconButton--secondary
|
|
1697
|
+
.cauldron--theme-dark .IconButton--secondary,
|
|
1698
|
+
.cauldron--theme-dark .IconButton--tertiary {
|
|
1677
1699
|
border-width: 2px;
|
|
1678
1700
|
}
|
|
1679
1701
|
|
|
@@ -1692,6 +1714,7 @@ a.IconButton {
|
|
|
1692
1714
|
|
|
1693
1715
|
.cauldron--theme-dark .IconButton--primary:active,
|
|
1694
1716
|
.cauldron--theme-dark .IconButton--secondary:active,
|
|
1717
|
+
.cauldron--theme-dark .IconButton--tertiary:active,
|
|
1695
1718
|
.cauldron--theme-dark .IconButton--error:active {
|
|
1696
1719
|
color: var(--icon-button-active-color);
|
|
1697
1720
|
}
|
|
@@ -1712,6 +1735,10 @@ a.IconButton {
|
|
|
1712
1735
|
.cauldron--theme-dark
|
|
1713
1736
|
.IconButton--secondary:not([disabled]):not(
|
|
1714
1737
|
[aria-disabled='true']
|
|
1738
|
+
):hover:before,
|
|
1739
|
+
.cauldron--theme-dark
|
|
1740
|
+
.IconButton--tertiary:not([disabled]):not(
|
|
1741
|
+
[aria-disabled='true']
|
|
1715
1742
|
):hover:before {
|
|
1716
1743
|
box-shadow: 0 0 0 1px var(--icon-button-outline-shadow-color),
|
|
1717
1744
|
0 0 0 2px var(--icon-button-outline-color-secondary);
|
|
@@ -1728,6 +1755,11 @@ a.IconButton {
|
|
|
1728
1755
|
0 0 0 4px var(--button-focus-ring-color, --focus);
|
|
1729
1756
|
}
|
|
1730
1757
|
|
|
1758
|
+
.cauldron--theme-dark
|
|
1759
|
+
.IconButton--tertiary:is([disabled], [aria-disabled='true']) {
|
|
1760
|
+
color: #74818b;
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1731
1763
|
:root {
|
|
1732
1764
|
--dialog-background-color: #fff;
|
|
1733
1765
|
--dialog-border-color: var(--gray-40);
|
|
@@ -4503,17 +4535,20 @@ fieldset.Panel {
|
|
|
4503
4535
|
}
|
|
4504
4536
|
|
|
4505
4537
|
.Breadcrumb__Link {
|
|
4506
|
-
font-weight: 400;
|
|
4507
4538
|
padding: 0;
|
|
4508
4539
|
display: inline;
|
|
4509
4540
|
}
|
|
4510
4541
|
|
|
4511
4542
|
.Breadcrumb__Item {
|
|
4512
|
-
font-weight:
|
|
4543
|
+
font-weight: var(--font-weight-medium);
|
|
4513
4544
|
color: var(--link-text-color);
|
|
4514
4545
|
display: inline;
|
|
4515
4546
|
}
|
|
4516
4547
|
|
|
4548
|
+
.Breadcrumb__Item:last-child {
|
|
4549
|
+
font-weight: var(--font-weight-normal);
|
|
4550
|
+
}
|
|
4551
|
+
|
|
4517
4552
|
:root {
|
|
4518
4553
|
--two-column-panel-border-color: var(--gray-40);
|
|
4519
4554
|
--two-column-panel-background-color: #fff;
|
|
@@ -4902,7 +4937,7 @@ button.Accordion__trigger {
|
|
|
4902
4937
|
--notice-background-color: var(--notice-info-color);
|
|
4903
4938
|
--notice-border-color: var(--accent-dark);
|
|
4904
4939
|
--notice-link-hover-color: var(--accent-medium);
|
|
4905
|
-
--notice-icon-size:
|
|
4940
|
+
--notice-icon-size: 1rem;
|
|
4906
4941
|
}
|
|
4907
4942
|
|
|
4908
4943
|
.Notice--info {
|
|
@@ -4918,20 +4953,35 @@ button.Accordion__trigger {
|
|
|
4918
4953
|
}
|
|
4919
4954
|
|
|
4920
4955
|
.Notice {
|
|
4921
|
-
display:
|
|
4922
|
-
|
|
4956
|
+
display: grid;
|
|
4957
|
+
grid-template-columns: auto 1fr;
|
|
4958
|
+
gap: var(--space-small);
|
|
4959
|
+
padding: var(--space-large);
|
|
4960
|
+
align-items: start;
|
|
4961
|
+
border-radius: 4px;
|
|
4923
4962
|
border: 1px solid var(--notice-border-color);
|
|
4924
4963
|
background-color: var(--notice-background-color);
|
|
4925
4964
|
color: var(--notice-text-color);
|
|
4926
|
-
|
|
4927
|
-
|
|
4965
|
+
}
|
|
4966
|
+
|
|
4967
|
+
.Notice--condensed {
|
|
4968
|
+
grid-template-columns: 1fr;
|
|
4969
|
+
padding: var(--space-small);
|
|
4970
|
+
gap: var(--space-smallest);
|
|
4971
|
+
}
|
|
4972
|
+
|
|
4973
|
+
.Notice__content {
|
|
4974
|
+
grid-column: 2;
|
|
4975
|
+
}
|
|
4976
|
+
|
|
4977
|
+
.Notice--condensed .Notice__content {
|
|
4978
|
+
grid-column: 1;
|
|
4928
4979
|
}
|
|
4929
4980
|
|
|
4930
4981
|
.Notice .Notice__title,
|
|
4931
4982
|
.Notice .Notice__title > :is(h1, h2, h3, h4, h5, h6) {
|
|
4932
4983
|
display: flex;
|
|
4933
4984
|
align-items: flex-start;
|
|
4934
|
-
font-size: var(--text-size-small);
|
|
4935
4985
|
font-weight: var(--notice-title-font-weight);
|
|
4936
4986
|
margin: 0;
|
|
4937
4987
|
padding: 0;
|
|
@@ -4939,7 +4989,7 @@ button.Accordion__trigger {
|
|
|
4939
4989
|
color: var(--notice-title-text-color);
|
|
4940
4990
|
}
|
|
4941
4991
|
|
|
4942
|
-
.Notice .
|
|
4992
|
+
.Notice .Notice__content {
|
|
4943
4993
|
margin-top: var(--space-smallest);
|
|
4944
4994
|
}
|
|
4945
4995
|
|
|
@@ -4958,7 +5008,6 @@ button.Accordion__trigger {
|
|
|
4958
5008
|
.Notice button.Link,
|
|
4959
5009
|
.Notice a.Link {
|
|
4960
5010
|
color: var(--accent-dark);
|
|
4961
|
-
font-size: var(--text-size-small);
|
|
4962
5011
|
font-weight: var(--font-weight-light);
|
|
4963
5012
|
text-decoration: underline;
|
|
4964
5013
|
}
|
|
@@ -4979,6 +5028,15 @@ button.Accordion__trigger {
|
|
|
4979
5028
|
margin-bottom: var(--space-smallest);
|
|
4980
5029
|
}
|
|
4981
5030
|
|
|
5031
|
+
.Notice ul {
|
|
5032
|
+
margin: var(--space-smallest) 0;
|
|
5033
|
+
padding-left: var(--space-small);
|
|
5034
|
+
}
|
|
5035
|
+
|
|
5036
|
+
.Notice li {
|
|
5037
|
+
margin-bottom: var(--space-smallest);
|
|
5038
|
+
}
|
|
5039
|
+
|
|
4982
5040
|
:root {
|
|
4983
5041
|
--combobox-listbox-border-color: var(--gray-40);
|
|
4984
5042
|
--combobox-listbox-background-color: #fff;
|
|
@@ -5422,3 +5480,47 @@ button.Accordion__trigger {
|
|
|
5422
5480
|
-webkit-box-orient: vertical;
|
|
5423
5481
|
white-space: normal;
|
|
5424
5482
|
}
|
|
5483
|
+
|
|
5484
|
+
:root {
|
|
5485
|
+
--badge-text-color: var(--gray-90);
|
|
5486
|
+
--badge-background-color: transparent;
|
|
5487
|
+
--badge-border-color: var(--gray-30);
|
|
5488
|
+
|
|
5489
|
+
--badge-height: var(--button-height);
|
|
5490
|
+
--badge-small-height: 1.5rem;
|
|
5491
|
+
|
|
5492
|
+
--badge-font-size: 1rem;
|
|
5493
|
+
}
|
|
5494
|
+
|
|
5495
|
+
.cauldron--theme-dark {
|
|
5496
|
+
--badge-text-color: var(--white);
|
|
5497
|
+
--badge-background-color: var(--accent-medium);
|
|
5498
|
+
--badge-border-color: var(--stroke-dark);
|
|
5499
|
+
}
|
|
5500
|
+
|
|
5501
|
+
.Badge {
|
|
5502
|
+
color: var(--badge-text-color);
|
|
5503
|
+
background-color: var(--badge-background-color);
|
|
5504
|
+
border: 1px solid var(--badge-border-color);
|
|
5505
|
+
display: inline-flex;
|
|
5506
|
+
justify-content: center;
|
|
5507
|
+
align-items: center;
|
|
5508
|
+
padding: 0 var(--space-small) 0 var(--space-smaller);
|
|
5509
|
+
min-height: var(--badge-height);
|
|
5510
|
+
border-radius: var(--badge-height);
|
|
5511
|
+
font-size: var(--badge-font-size);
|
|
5512
|
+
}
|
|
5513
|
+
|
|
5514
|
+
.Badge--small {
|
|
5515
|
+
border-radius: var(--badge-small-height);
|
|
5516
|
+
min-height: var(--badge-small-height);
|
|
5517
|
+
}
|
|
5518
|
+
|
|
5519
|
+
.Badge__Label {
|
|
5520
|
+
margin-right: 3px;
|
|
5521
|
+
font-weight: var(--font-weight-medium);
|
|
5522
|
+
}
|
|
5523
|
+
|
|
5524
|
+
.Badge .Icon {
|
|
5525
|
+
margin: 0 var(--space-half) 0 -4px;
|
|
5526
|
+
}
|
package/package.json
CHANGED