carbon-react 95.1.0 → 95.1.1

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.
@@ -90,7 +90,7 @@ const StyledTitleContent = _styledComponents.default.div`
90
90
  ${size === "large" && position === "left" && (0, _styledComponents.css)`
91
91
  font-size: 16px;
92
92
  padding: 22px 24px;
93
- ${!isTabSelected && !alternateStyling && (error || warning || info) && `margin-right: -2px;`}
93
+ ${!isTabSelected && !alternateStyling && error && `margin-right: -2px;`}
94
94
  `}
95
95
 
96
96
  ${size === "default" && (0, _styledComponents.css)`
@@ -99,7 +99,7 @@ const StyledTitleContent = _styledComponents.default.div`
99
99
  padding-bottom: 8px;
100
100
  `}
101
101
 
102
- ${position === "left" && !isTabSelected && !alternateStyling && (error || warning || info) && `margin-right: -2px;`}
102
+ ${position === "left" && !isTabSelected && !alternateStyling && error && `margin-right: -2px;`}
103
103
  `}
104
104
  `}
105
105
 
@@ -370,21 +370,23 @@ const StyledTabTitle = _styledComponents.default.li`
370
370
  alternateStyling,
371
371
  error,
372
372
  warning,
373
- info
373
+ info,
374
+ isInSidebar
374
375
  }) => position === "left" && (0, _styledComponents.css)`
375
376
  background-color: transparent;
376
377
  border-bottom: 0px;
377
378
 
379
+ ${!isInSidebar && (0, _styledComponents.css)`
380
+ border-right: ${alternateStyling ? "1px" : "2px"} solid
381
+ ${theme.tab.background};
382
+ `}
383
+
378
384
  ${!borders && (0, _styledComponents.css)`
379
385
  ${StyledTitleContent} {
380
386
  border-bottom: none;
381
387
  }
382
388
  `}
383
389
 
384
- ${!alternateStyling && (0, _styledComponents.css)`
385
- border-right: 2px solid ${theme.tab.background};
386
- `}
387
-
388
390
  display: block;
389
391
  height: auto;
390
392
  margin-left: 0px;
@@ -397,6 +399,10 @@ const StyledTabTitle = _styledComponents.default.li`
397
399
  ${alternateStyling && `border-right-color: ${theme.tab.background};`}
398
400
  }
399
401
 
402
+ ${(warning || info) && (0, _styledComponents.css)`
403
+ border-right: none;
404
+ `}
405
+
400
406
  ${({
401
407
  isTabSelected
402
408
  }) => isTabSelected && (0, _styledComponents.css)`
@@ -75,11 +75,10 @@ const StyledTabsHeaderList = _styledComponents.default.ul`
75
75
 
76
76
  ${({
77
77
  position,
78
- noRightBorder,
79
- theme
78
+ noRightBorder
80
79
  }) => position === "left" && (0, _styledComponents.css)`
81
80
  flex-direction: column;
82
- box-shadow: inset ${computeLineWidth} 0px 0px 0px ${theme.tab.background};
81
+ box-shadow: none;
83
82
 
84
83
  ${noRightBorder && (0, _styledComponents.css)`
85
84
  box-shadow: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "95.1.0",
3
+ "version": "95.1.1",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "engineStrict": true,
6
6
  "engines": {