@simplybusiness/mobius 10.5.0 → 10.6.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 10.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 6e1076a: Add primary button theming tokens for border color and hover content color
8
+
3
9
  ## 10.5.0
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@simplybusiness/mobius",
3
3
  "license": "UNLICENSED",
4
- "version": "10.5.0",
4
+ "version": "10.6.0",
5
5
  "description": "Core library of Mobius react components",
6
6
  "repository": {
7
7
  "type": "git",
@@ -48,14 +48,23 @@
48
48
  &:where(.--variant-primary) {
49
49
  --button-content-color: var(--button-primary-content-color);
50
50
  background: var(--button-primary-color);
51
+ border-color: var(--button-primary-border-color);
51
52
  font-variation-settings: var(--button-primary-font-variation);
52
53
 
53
54
  &:where(:active) {
55
+ --button-content-color: var(
56
+ --button-primary-hover-content-color,
57
+ var(--button-primary-content-color)
58
+ );
54
59
  background: var(--button-primary-hover-color);
55
60
  }
56
61
 
57
62
  @media (hover: hover) {
58
63
  &:where(:hover) {
64
+ --button-content-color: var(
65
+ --button-primary-hover-content-color,
66
+ var(--button-primary-content-color)
67
+ );
59
68
  background: var(--button-primary-hover-color);
60
69
  }
61
70
  }
@@ -67,6 +76,7 @@
67
76
  &:where(.--is-disabled) {
68
77
  --button-content-color: var(--color-text-light);
69
78
  background: var(--color-background-medium);
79
+ border-color: transparent;
70
80
  cursor: not-allowed;
71
81
  }
72
82
  }