@deque/cauldron-styles 6.7.0-canary.8a8fa5dc → 6.7.0-canary.8f276b61

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 +8 -2
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "6.7.0-canary.8a8fa5dc",
3
+ "version": "6.7.0-canary.8f276b61",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",