carbon-react 142.11.1 → 142.11.3

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.
@@ -187,7 +187,8 @@ const Dialog = /*#__PURE__*/forwardRef(({
187
187
  }, contentPadding, {
188
188
  backgroundColor: greyBackground ? "var(--colorsUtilityMajor025)" : "var(--colorsUtilityYang100)"
189
189
  }), dialogTitle(), closeIcon(), /*#__PURE__*/React.createElement(StyledDialogContent, _extends({}, contentPadding, {
190
- "data-role": "dialog-content"
190
+ "data-role": "dialog-content",
191
+ tabIndex: -1
191
192
  }), /*#__PURE__*/React.createElement(StyledDialogInnerContent, _extends({
192
193
  "data-role": "dialog-inner-content",
193
194
  ref: innerContentRef
@@ -50,7 +50,8 @@ export const Form = ({
50
50
  "data-role": "form-content",
51
51
  className: stickyFooter ? "sticky" : "",
52
52
  stickyFooter: stickyFooter,
53
- isInModal: isInModal
53
+ isInModal: isInModal,
54
+ tabIndex: -1
54
55
  }, /*#__PURE__*/React.createElement(FormSpacingProvider, {
55
56
  marginBottom: formSpacing[fieldSpacing]
56
57
  }, children)), !fullWidthButtons && renderFooter && /*#__PURE__*/React.createElement(StyledFormFooter, _extends({
@@ -18,7 +18,7 @@ const StyledTabs = styled.div`
18
18
  }
19
19
 
20
20
  ${StyledTab} {
21
- width: auto;
21
+ width: ${`calc(100% - ${headerWidth})`};
22
22
  }
23
23
  `}
24
24
 
@@ -196,7 +196,8 @@ const Dialog = exports.Dialog = /*#__PURE__*/(0, _react.forwardRef)(({
196
196
  }, contentPadding, {
197
197
  backgroundColor: greyBackground ? "var(--colorsUtilityMajor025)" : "var(--colorsUtilityYang100)"
198
198
  }), dialogTitle(), closeIcon(), /*#__PURE__*/_react.default.createElement(_dialog.StyledDialogContent, _extends({}, contentPadding, {
199
- "data-role": "dialog-content"
199
+ "data-role": "dialog-content",
200
+ tabIndex: -1
200
201
  }), /*#__PURE__*/_react.default.createElement(_dialog.StyledDialogInnerContent, _extends({
201
202
  "data-role": "dialog-inner-content",
202
203
  ref: innerContentRef
@@ -59,7 +59,8 @@ const Form = ({
59
59
  "data-role": "form-content",
60
60
  className: stickyFooter ? "sticky" : "",
61
61
  stickyFooter: stickyFooter,
62
- isInModal: isInModal
62
+ isInModal: isInModal,
63
+ tabIndex: -1
63
64
  }, /*#__PURE__*/_react.default.createElement(_formSpacingProvider.default, {
64
65
  marginBottom: _form2.formSpacing[fieldSpacing]
65
66
  }, children)), !fullWidthButtons && renderFooter && /*#__PURE__*/_react.default.createElement(_form.StyledFormFooter, _extends({
@@ -27,7 +27,7 @@ const StyledTabs = _styledComponents.default.div`
27
27
  }
28
28
 
29
29
  ${_tab.default} {
30
- width: auto;
30
+ width: ${`calc(100% - ${headerWidth})`};
31
31
  }
32
32
  `}
33
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "142.11.1",
3
+ "version": "142.11.3",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "files": [
6
6
  "lib",