carbon-react 104.44.0 → 104.45.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.
@@ -27,30 +27,25 @@ const StyledDetailContent = styled.div`
27
27
  `}
28
28
  `;
29
29
  const StyledDetailIcon = styled(Icon)`
30
- ${({
31
- theme
32
- }) => css`
33
- position: absolute;
34
- color: ${theme.palette.slateTint(50)};
30
+ position: absolute;
31
+ color: var(--colorsUtilityYin065);
32
+ height: ${iconSize};
33
+ width: ${iconSize};
34
+ top: -1px;
35
+ vertical-align: top;
36
+
37
+ // StyledSvgIcon
38
+ span {
35
39
  height: ${iconSize};
36
40
  width: ${iconSize};
37
- top: -1px;
38
- vertical-align: top;
39
-
40
- // StyledSvgIcon
41
- span {
42
- height: ${iconSize};
43
- width: ${iconSize};
44
- vertical-align: middle;
45
- }
46
- `}
41
+ vertical-align: middle;
42
+ }
47
43
  `;
48
44
  const StyledDetailFootnote = styled.div`
49
45
  ${({
50
- hasIcon,
51
- theme
46
+ hasIcon
52
47
  }) => css`
53
- color: ${theme.palette.slateTint(20)};
48
+ color: var(--colorsUtilityYin055);
54
49
  font-size: 13px;
55
50
  position: relative;
56
51
  margin-top: -2px;
@@ -63,10 +58,4 @@ const StyledDetailFootnote = styled.div`
63
58
  StyledDetail.defaultProps = {
64
59
  theme: baseTheme
65
60
  };
66
- StyledDetailIcon.defaultProps = {
67
- theme: baseTheme
68
- };
69
- StyledDetailFootnote.defaultProps = {
70
- theme: baseTheme
71
- };
72
61
  export { StyledDetail, StyledDetailContent, StyledDetailIcon, StyledDetailFootnote };
@@ -46,31 +46,26 @@ const StyledDetailContent = _styledComponents.default.div`
46
46
  `;
47
47
  exports.StyledDetailContent = StyledDetailContent;
48
48
  const StyledDetailIcon = (0, _styledComponents.default)(_icon.default)`
49
- ${({
50
- theme
51
- }) => (0, _styledComponents.css)`
52
- position: absolute;
53
- color: ${theme.palette.slateTint(50)};
49
+ position: absolute;
50
+ color: var(--colorsUtilityYin065);
51
+ height: ${iconSize};
52
+ width: ${iconSize};
53
+ top: -1px;
54
+ vertical-align: top;
55
+
56
+ // StyledSvgIcon
57
+ span {
54
58
  height: ${iconSize};
55
59
  width: ${iconSize};
56
- top: -1px;
57
- vertical-align: top;
58
-
59
- // StyledSvgIcon
60
- span {
61
- height: ${iconSize};
62
- width: ${iconSize};
63
- vertical-align: middle;
64
- }
65
- `}
60
+ vertical-align: middle;
61
+ }
66
62
  `;
67
63
  exports.StyledDetailIcon = StyledDetailIcon;
68
64
  const StyledDetailFootnote = _styledComponents.default.div`
69
65
  ${({
70
- hasIcon,
71
- theme
66
+ hasIcon
72
67
  }) => (0, _styledComponents.css)`
73
- color: ${theme.palette.slateTint(20)};
68
+ color: var(--colorsUtilityYin055);
74
69
  font-size: 13px;
75
70
  position: relative;
76
71
  margin-top: -2px;
@@ -83,10 +78,4 @@ const StyledDetailFootnote = _styledComponents.default.div`
83
78
  exports.StyledDetailFootnote = StyledDetailFootnote;
84
79
  StyledDetail.defaultProps = {
85
80
  theme: _themes.baseTheme
86
- };
87
- StyledDetailIcon.defaultProps = {
88
- theme: _themes.baseTheme
89
- };
90
- StyledDetailFootnote.defaultProps = {
91
- theme: _themes.baseTheme
92
81
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "104.44.0",
3
+ "version": "104.45.0",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "engineStrict": true,
6
6
  "engines": {