carbon-react 103.1.0 → 103.2.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.
@@ -1,5 +1,5 @@
1
1
  export const StyledBadgeWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export const StyledButton: import("styled-components").StyledComponent<typeof Button, any, import("../button").ButtonDefaultProps, never>;
2
+ export const StyledButton: import("styled-components").StyledComponent<typeof Button, any, {}, never>;
3
3
  export const StyledCrossIcon: import("styled-components").StyledComponent<typeof Icon, any, {}, never>;
4
4
  export const StyledCounter: import("styled-components").StyledComponent<"div", any, {}, never>;
5
5
  import Button from "../button";
@@ -37,9 +37,7 @@ const StyledButton = (0, _styledComponents.default)(_button.default)`
37
37
  top: -11px;
38
38
  right: -11px;
39
39
  margin-right: 0;
40
- background: ${({
41
- theme
42
- }) => theme.colors.white};
40
+ background: var(--colorsActionMajorYang100);
43
41
 
44
42
  ::-moz-focus-inner {
45
43
  border: none;
@@ -47,9 +45,7 @@ const StyledButton = (0, _styledComponents.default)(_button.default)`
47
45
 
48
46
  &:hover,
49
47
  &:focus {
50
- background: ${({
51
- theme
52
- }) => theme.colors.primary};
48
+ background: var(--colorsActionMajor500);
53
49
  border: none;
54
50
  ${StyledCounter} {
55
51
  display: none;
@@ -63,9 +59,7 @@ const StyledButton = (0, _styledComponents.default)(_button.default)`
63
59
 
64
60
  :before {
65
61
  font-size: 16px;
66
- color: ${({
67
- theme
68
- }) => theme.colors.white};
62
+ color: var(--colorsActionMajorYang100);
69
63
  }
70
64
  }
71
65
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "103.1.0",
3
+ "version": "103.2.0",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "engineStrict": true,
6
6
  "engines": {