carbon-react 142.11.1 → 142.11.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.
|
@@ -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({
|
|
@@ -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({
|