carbon-react 95.1.1 → 95.1.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.
@@ -282,8 +282,15 @@ const Tabs = ({
282
282
  tab = child;
283
283
  }
284
284
  });
285
- return tab ? /*#__PURE__*/(0, _react.cloneElement)(tab, {
286
- isTabSelected: isTabSelected(tab.props.tabId)
285
+ return tab ? /*#__PURE__*/(0, _react.cloneElement)(tab, { ...tab.props,
286
+ role: "tabpanel",
287
+ position,
288
+ isTabSelected: isTabSelected(tab.props.tabId),
289
+ key: `${tab.props.tabId}-tab`,
290
+ ariaLabelledby: `${tab.props.tabId}-tab`,
291
+ updateErrors,
292
+ updateWarnings,
293
+ updateInfos
287
294
  }) : null;
288
295
  };
289
296
  /** Builds all tabs where non selected tabs have class of hidden */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "95.1.1",
3
+ "version": "95.1.2",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "engineStrict": true,
6
6
  "engines": {