@deque/cauldron-styles 6.6.1 → 6.7.0-canary.0fa62fa5

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.
Files changed (2) hide show
  1. package/dist/index.css +29 -11
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -267,7 +267,6 @@ button,
267
267
 
268
268
  a {
269
269
  color: var(--link-text-color);
270
- font-weight: var(--font-weight-medium);
271
270
  }
272
271
 
273
272
  p {
@@ -1238,6 +1237,7 @@ textarea.Field--has-error:focus:hover,
1238
1237
  button.Link {
1239
1238
  cursor: pointer;
1240
1239
  font-size: inherit;
1240
+ font-weight: var(--font-weight-normal);
1241
1241
  }
1242
1242
 
1243
1243
  .Button--primary:focus,
@@ -1567,6 +1567,7 @@ button.Link {
1567
1567
  --icon-button-background-color-error-disabled: var(
1568
1568
  --button-background-color-error-disabled
1569
1569
  );
1570
+ --icon-button-icon-size: var(--icon-size);
1570
1571
  }
1571
1572
 
1572
1573
  .IconButton {
@@ -1593,8 +1594,8 @@ a.IconButton {
1593
1594
  }
1594
1595
 
1595
1596
  .IconButton .Icon {
1596
- height: var(--space-small);
1597
- width: var(--space-small);
1597
+ height: calc(var(--icon-button-icon-size) - 8px);
1598
+ width: calc(var(--icon-button-icon-size) - 8px);
1598
1599
  pointer-events: none;
1599
1600
  }
1600
1601
 
@@ -1623,6 +1624,11 @@ a.IconButton {
1623
1624
  width: var(--icon-button-large-height);
1624
1625
  }
1625
1626
 
1627
+ .IconButton--large .Icon {
1628
+ height: var(--icon-button-icon-size);
1629
+ width: var(--icon-button-icon-size);
1630
+ }
1631
+
1626
1632
  .IconButton--secondary:is([aria-disabled='true'], [disabled]),
1627
1633
  .IconButton--secondary:is([aria-disabled='true'], [disabled]):active {
1628
1634
  color: var(--icon-button-text-color-disabled);
@@ -2020,8 +2026,6 @@ a.IconButton {
2020
2026
  .Link {
2021
2027
  text-decoration: underline;
2022
2028
  color: var(--link-text-color);
2023
- font-weight: var(--font-weight-medium);
2024
- display: inline-block;
2025
2029
  padding: var(--space-quarter);
2026
2030
  background: transparent;
2027
2031
  vertical-align: baseline;
@@ -2037,12 +2041,11 @@ a.IconButton {
2037
2041
  outline-offset: 0;
2038
2042
  }
2039
2043
 
2040
- p .Link {
2041
- margin: 0 2px;
2042
- display: inline;
2043
- text-decoration: underline;
2044
- color: var(--link-text-color);
2045
- font-weight: var(--font-weight-normal);
2044
+ .Link:has(.Icon) {
2045
+ display: inline-flex;
2046
+ align-items: center;
2047
+ gap: var(--space-half);
2048
+ flex-wrap: wrap;
2046
2049
  }
2047
2050
 
2048
2051
  :root {
@@ -3200,6 +3203,15 @@ button.TooltipTabstop {
3200
3203
  --code-border-color: var(--stroke-dark);
3201
3204
  }
3202
3205
 
3206
+ .Code__Header {
3207
+ display: flex;
3208
+ justify-content: space-between;
3209
+ align-items: center;
3210
+ margin-bottom: var(--space-smallest);
3211
+ font-weight: var(--font-weight-medium);
3212
+ font-size: var(--text-size-body);
3213
+ }
3214
+
3203
3215
  .Code.hljs {
3204
3216
  display: block;
3205
3217
  padding: var(--space-smaller);
@@ -4993,18 +5005,24 @@ button.Accordion__trigger {
4993
5005
  --notice-border-color: var(--accent-dark);
4994
5006
  --notice-link-hover-color: var(--accent-medium);
4995
5007
  --notice-icon-size: 1rem;
5008
+ --notice-info-border-color: var(--accent-primary-disabled);
5009
+ --notice-caution-border-color: var(--accent-warning);
5010
+ --notice-danger-border-color: var(--accent-error-disabled);
4996
5011
  }
4997
5012
 
4998
5013
  .Notice--info {
4999
5014
  --notice-background-color: var(--notice-info-color);
5015
+ --notice-border-color: var(--notice-info-border-color);
5000
5016
  }
5001
5017
 
5002
5018
  .Notice--caution {
5003
5019
  --notice-background-color: var(--notice-caution-color);
5020
+ --notice-border-color: var(--notice-caution-border-color);
5004
5021
  }
5005
5022
 
5006
5023
  .Notice--danger {
5007
5024
  --notice-background-color: var(--notice-danger-color);
5025
+ --notice-border-color: var(--notice-danger-border-color);
5008
5026
  }
5009
5027
 
5010
5028
  .Notice {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "6.6.1",
3
+ "version": "6.7.0-canary.0fa62fa5",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",