carbon-react 102.10.1 → 102.10.2

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.
@@ -325,10 +325,8 @@ const StyledTabTitle = _styledComponents.default.button`
325
325
  alternateStyling,
326
326
  error,
327
327
  warning,
328
- info,
329
- isInSidebar
328
+ info
330
329
  }) => isTabSelected && (0, _styledComponents.css)`
331
- ${!isInSidebar && "z-index: 1;"}
332
330
  color: ${theme.text.color};
333
331
  background-color: ${theme.colors.white};
334
332
 
@@ -350,7 +348,7 @@ const StyledTabTitle = _styledComponents.default.button`
350
348
  }) => `
351
349
  &:focus {
352
350
  outline: ${isInSidebar ? "none;" : `2px solid ${theme.colors.focus};`}
353
- z-index: 1;
351
+ z-index: 2;
354
352
  }
355
353
  `}
356
354
 
@@ -494,7 +492,7 @@ const StyledLayoutWrapper = _styledComponents.default.div`
494
492
  exports.StyledLayoutWrapper = StyledLayoutWrapper;
495
493
  const StyledSelectedIndicator = _styledComponents.default.div`
496
494
  position: absolute;
497
- z-index: 5;
495
+ z-index: 1;
498
496
 
499
497
  ${({
500
498
  position,
@@ -249,16 +249,7 @@ const Tabs = ({
249
249
  noRightBorder: ["no right side", "no sides"].includes(borders),
250
250
  customLayout: customLayout,
251
251
  isInSidebar: isInSidebar,
252
- align: align,
253
- onFocus: () => {
254
- if (!hasTabStop(tabId)) {
255
- setTabStopId(tabId);
256
- }
257
-
258
- if (!isTabSelected(tabId)) {
259
- updateVisibleTab(tabId);
260
- }
261
- }
252
+ align: align
262
253
  });
263
254
 
264
255
  return tabTitle;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "102.10.1",
3
+ "version": "102.10.2",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "engineStrict": true,
6
6
  "engines": {