carbon-react 104.43.1 → 104.44.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.
@@ -41,7 +41,7 @@ const StyledAdvancedColorPickerPreview = styled.div`
41
41
  `;
42
42
  const DialogStyle = styled(Dialog)`
43
43
  ${DialogContentStyle} {
44
- padding: 18px 18px 18px 17px;
44
+ padding: var(--spacing200);
45
45
  }
46
46
 
47
47
  ${DialogInnerContentStyle} {
@@ -72,7 +72,7 @@ const DialogStyle = styled(Dialog)`
72
72
  }
73
73
 
74
74
  [data-component="icon"] {
75
- color: var(--colorsActionMinorYin065);
75
+ color: var(--colorsActionMinor500);
76
76
  }
77
77
  `;
78
78
  export { StyledAdvancedColorPickerWrapper, StyledAdvancedColorPickerCell, StyledAdvancedColorPickerPreview, DialogStyle };
@@ -6,9 +6,7 @@ export const StyledSettingsRow = styled.div`
6
6
  ${margin}
7
7
 
8
8
  clear: both;
9
- color: ${({
10
- theme
11
- }) => theme.palette.slateTint(20)};
9
+ color: var(--colorsUtilityYin055);
12
10
  display: flex;
13
11
  font-size: 14px;
14
12
  justify-content: space-between;
@@ -18,9 +16,7 @@ export const StyledSettingsRow = styled.div`
18
16
  ${({
19
17
  hasDivider
20
18
  }) => hasDivider && css`
21
- border-bottom: 1px solid ${({
22
- theme
23
- }) => theme.palette.slateTint(90)};
19
+ border-bottom: 1px solid var(--colorsUtilityMajor050);
24
20
  padding-bottom: 30px;
25
21
  `}
26
22
 
@@ -29,9 +25,7 @@ export const StyledSettingsRow = styled.div`
29
25
  }
30
26
 
31
27
  ${StyledHeadingTitle} {
32
- color: ${({
33
- theme
34
- }) => theme.palette.slate};
28
+ color: var(--colorsUtilityYin090);
35
29
  font-size: 15px;
36
30
  font-weight: bold;
37
31
  line-height: 18px;
@@ -18,7 +18,7 @@ const StyledSimpleColorInput = styled(SimpleColorInput)`
18
18
 
19
19
  &:focus + ${StyledColorSampleBox} {
20
20
  box-shadow: inset 0px 0px 0px var(--borderWidth200)
21
- var(--colorsActionMajorYang100);
21
+ var(--colorsUtilityYang100);
22
22
  border: 2px solid var(--colorsSemanticFocus500);
23
23
  }
24
24
  `;
@@ -10,8 +10,8 @@ const getIconColor = color => {
10
10
  greenMultiplier = 587,
11
11
  blueMultiplier = 114;
12
12
  const contrast = (Math.round(r * redMultiplier) + Math.round(g * greenMultiplier) + Math.round(b * blueMultiplier)) / 1000;
13
- if (contrast < 128) return "var(--colorsActionMajorYang100)";
14
- return "var(--colorsActionMajorYin090)";
13
+ if (contrast < 128) return "var(--colorsUtilityYang100)";
14
+ return "var(--colorsUtilityYin090)";
15
15
  };
16
16
 
17
17
  const StyledTickIcon = styled(Icon)`
@@ -72,7 +72,7 @@ const StyledAdvancedColorPickerPreview = _styledComponents.default.div`
72
72
  exports.StyledAdvancedColorPickerPreview = StyledAdvancedColorPickerPreview;
73
73
  const DialogStyle = (0, _styledComponents.default)(_dialog2.default)`
74
74
  ${_dialog.DialogContentStyle} {
75
- padding: 18px 18px 18px 17px;
75
+ padding: var(--spacing200);
76
76
  }
77
77
 
78
78
  ${_dialog.DialogInnerContentStyle} {
@@ -103,7 +103,7 @@ const DialogStyle = (0, _styledComponents.default)(_dialog2.default)`
103
103
  }
104
104
 
105
105
  [data-component="icon"] {
106
- color: var(--colorsActionMinorYin065);
106
+ color: var(--colorsActionMinor500);
107
107
  }
108
108
  `;
109
109
  exports.DialogStyle = DialogStyle;
@@ -23,9 +23,7 @@ const StyledSettingsRow = _styledComponents.default.div`
23
23
  ${_styledSystem.margin}
24
24
 
25
25
  clear: both;
26
- color: ${({
27
- theme
28
- }) => theme.palette.slateTint(20)};
26
+ color: var(--colorsUtilityYin055);
29
27
  display: flex;
30
28
  font-size: 14px;
31
29
  justify-content: space-between;
@@ -35,9 +33,7 @@ const StyledSettingsRow = _styledComponents.default.div`
35
33
  ${({
36
34
  hasDivider
37
35
  }) => hasDivider && (0, _styledComponents.css)`
38
- border-bottom: 1px solid ${({
39
- theme
40
- }) => theme.palette.slateTint(90)};
36
+ border-bottom: 1px solid var(--colorsUtilityMajor050);
41
37
  padding-bottom: 30px;
42
38
  `}
43
39
 
@@ -46,9 +42,7 @@ const StyledSettingsRow = _styledComponents.default.div`
46
42
  }
47
43
 
48
44
  ${_heading.StyledHeadingTitle} {
49
- color: ${({
50
- theme
51
- }) => theme.palette.slate};
45
+ color: var(--colorsUtilityYin090);
52
46
  font-size: 15px;
53
47
  font-weight: bold;
54
48
  line-height: 18px;
@@ -30,7 +30,7 @@ const StyledSimpleColorInput = (0, _styledComponents.default)(_input.Input)`
30
30
 
31
31
  &:focus + ${_colorSampleBox.default} {
32
32
  box-shadow: inset 0px 0px 0px var(--borderWidth200)
33
- var(--colorsActionMajorYang100);
33
+ var(--colorsUtilityYang100);
34
34
  border: 2px solid var(--colorsSemanticFocus500);
35
35
  }
36
36
  `;
@@ -25,8 +25,8 @@ const getIconColor = color => {
25
25
  greenMultiplier = 587,
26
26
  blueMultiplier = 114;
27
27
  const contrast = (Math.round(r * redMultiplier) + Math.round(g * greenMultiplier) + Math.round(b * blueMultiplier)) / 1000;
28
- if (contrast < 128) return "var(--colorsActionMajorYang100)";
29
- return "var(--colorsActionMajorYin090)";
28
+ if (contrast < 128) return "var(--colorsUtilityYang100)";
29
+ return "var(--colorsUtilityYin090)";
30
30
  };
31
31
 
32
32
  const StyledTickIcon = (0, _styledComponents.default)(_icon.default)`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "104.43.1",
3
+ "version": "104.44.0",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "engineStrict": true,
6
6
  "engines": {