carbon-react 104.47.0 → 104.48.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,21 +1,11 @@
1
1
  import styled from "styled-components";
2
- import baseTheme from "../../../../style/themes/base";
3
2
  const SidebarHeaderStyle = styled.div`
4
- background-color: ${({
5
- theme
6
- }) => theme.colors.white};
7
- box-shadow: inset 0 -1px 0 0 ${({
8
- theme
9
- }) => theme.disabled.border};
3
+ background-color: var(--colorsUtilityMajor025);
4
+ box-shadow: inset 0 -1px 0 0 var(--colorsUtilityMajor100);
10
5
  box-sizing: border-box;
11
6
  width: 100%;
12
- color: ${({
13
- theme
14
- }) => theme.text.color};
7
+ color: var(--colorsActionMinorYin090);
15
8
  transition: all 0.2s ease;
16
9
  padding: 27px 32px 32px 32px;
17
10
  `;
18
- SidebarHeaderStyle.defaultProps = {
19
- theme: baseTheme
20
- };
21
11
  export default SidebarHeaderStyle;
@@ -7,27 +7,16 @@ exports.default = void 0;
7
7
 
8
8
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
9
 
10
- var _base = _interopRequireDefault(require("../../../../style/themes/base"));
11
-
12
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
11
 
14
12
  const SidebarHeaderStyle = _styledComponents.default.div`
15
- background-color: ${({
16
- theme
17
- }) => theme.colors.white};
18
- box-shadow: inset 0 -1px 0 0 ${({
19
- theme
20
- }) => theme.disabled.border};
13
+ background-color: var(--colorsUtilityMajor025);
14
+ box-shadow: inset 0 -1px 0 0 var(--colorsUtilityMajor100);
21
15
  box-sizing: border-box;
22
16
  width: 100%;
23
- color: ${({
24
- theme
25
- }) => theme.text.color};
17
+ color: var(--colorsActionMinorYin090);
26
18
  transition: all 0.2s ease;
27
19
  padding: 27px 32px 32px 32px;
28
20
  `;
29
- SidebarHeaderStyle.defaultProps = {
30
- theme: _base.default
31
- };
32
21
  var _default = SidebarHeaderStyle;
33
22
  exports.default = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "104.47.0",
3
+ "version": "104.48.0",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "engineStrict": true,
6
6
  "engines": {