carbon-react 104.36.0 → 104.37.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,7 +1,6 @@
1
1
  import styled, { css } from "styled-components";
2
2
  import PropTypes from "prop-types";
3
3
  import StyledIcon from "../icon/icon.style";
4
- import baseTheme from "../../style/themes/base";
5
4
  import { StyledHeadingTitle } from "../heading/heading.style";
6
5
  export const StyledConfirmButtons = styled.div`
7
6
  margin-top: 48px;
@@ -22,12 +21,12 @@ export const StyledConfirmHeading = styled.div`
22
21
  ${({
23
22
  type
24
23
  }) => type === "warning" && css`
25
- color: ${baseTheme.colors.warning};
24
+ color: var(--colorsSemanticCaution500);
26
25
  `}
27
26
  ${({
28
27
  type
29
28
  }) => type === "error" && css`
30
- color: ${baseTheme.colors.error};
29
+ color: var(--colorsSemanticNegative500);
31
30
  `}
32
31
  }
33
32
  `;
@@ -11,8 +11,6 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
 
12
12
  var _icon = _interopRequireDefault(require("../icon/icon.style"));
13
13
 
14
- var _base = _interopRequireDefault(require("../../style/themes/base"));
15
-
16
14
  var _heading = require("../heading/heading.style");
17
15
 
18
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -41,12 +39,12 @@ const StyledConfirmHeading = _styledComponents.default.div`
41
39
  ${({
42
40
  type
43
41
  }) => type === "warning" && (0, _styledComponents.css)`
44
- color: ${_base.default.colors.warning};
42
+ color: var(--colorsSemanticCaution500);
45
43
  `}
46
44
  ${({
47
45
  type
48
46
  }) => type === "error" && (0, _styledComponents.css)`
49
- color: ${_base.default.colors.error};
47
+ color: var(--colorsSemanticNegative500);
50
48
  `}
51
49
  }
52
50
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "104.36.0",
3
+ "version": "104.37.0",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "engineStrict": true,
6
6
  "engines": {