carbon-react 104.37.0 → 104.38.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.
@@ -6,9 +6,7 @@ const StyledHr = styled.hr`
6
6
  width: inherit;
7
7
  border: 0;
8
8
  height: 1px;
9
- background: ${({
10
- theme
11
- }) => theme.hr.background};
9
+ background: var(--colorsUtilityMajor100);
12
10
  `;
13
11
  StyledHr.defaultProps = {
14
12
  theme: baseTheme
@@ -1,17 +1,11 @@
1
1
  import styled from "styled-components";
2
2
  import { StyledAccordionContentContainer, StyledAccordionContent } from "../../../accordion/accordion.style";
3
- import baseTheme from "../../../../style/themes/base";
4
3
  const StyledContentContainer = styled(StyledAccordionContentContainer)`
5
- background-color: ${({
6
- theme
7
- }) => theme.tileSelect.hoverBackground};
4
+ background-color: var(--colorsActionMinor050);
8
5
  `;
9
6
  const StyledContent = styled(StyledAccordionContent)`
10
7
  padding: 24px;
11
8
  position: relative;
12
9
  z-index: 200;
13
10
  `;
14
- StyledContentContainer.defaultProps = {
15
- theme: baseTheme
16
- };
17
11
  export { StyledContentContainer, StyledContent };
@@ -18,9 +18,7 @@ const StyledHr = _styledComponents.default.hr`
18
18
  width: inherit;
19
19
  border: 0;
20
20
  height: 1px;
21
- background: ${({
22
- theme
23
- }) => theme.hr.background};
21
+ background: var(--colorsUtilityMajor100);
24
22
  `;
25
23
  StyledHr.defaultProps = {
26
24
  theme: _base.default
@@ -9,14 +9,10 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
9
9
 
10
10
  var _accordion = require("../../../accordion/accordion.style");
11
11
 
12
- var _base = _interopRequireDefault(require("../../../../style/themes/base"));
13
-
14
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
13
 
16
14
  const StyledContentContainer = (0, _styledComponents.default)(_accordion.StyledAccordionContentContainer)`
17
- background-color: ${({
18
- theme
19
- }) => theme.tileSelect.hoverBackground};
15
+ background-color: var(--colorsActionMinor050);
20
16
  `;
21
17
  exports.StyledContentContainer = StyledContentContainer;
22
18
  const StyledContent = (0, _styledComponents.default)(_accordion.StyledAccordionContent)`
@@ -24,7 +20,4 @@ const StyledContent = (0, _styledComponents.default)(_accordion.StyledAccordionC
24
20
  position: relative;
25
21
  z-index: 200;
26
22
  `;
27
- exports.StyledContent = StyledContent;
28
- StyledContentContainer.defaultProps = {
29
- theme: _base.default
30
- };
23
+ exports.StyledContent = StyledContent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "104.37.0",
3
+ "version": "104.38.0",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "engineStrict": true,
6
6
  "engines": {