@jetbrains/ring-ui-built 6.0.70 → 6.0.71
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.
@@ -188,8 +188,8 @@ var Dialog = /*#__PURE__*/function (_PureComponent) {
|
|
188
188
|
closeButtonTitle = _this$props4.closeButtonTitle,
|
189
189
|
dense = _this$props4.dense;
|
190
190
|
_this$props4.shortcutOptions;
|
191
|
-
var native = _this$props4.native
|
192
|
-
_this$props4.modal;
|
191
|
+
var native = _this$props4.native,
|
192
|
+
modal = _this$props4.modal;
|
193
193
|
_this$props4.preventBodyScroll;
|
194
194
|
var restProps = _objectWithoutProperties(_this$props4, _excluded);
|
195
195
|
var classes = classNames(modules_5e9b8c03.container, className);
|
@@ -233,6 +233,7 @@ var Dialog = /*#__PURE__*/function (_PureComponent) {
|
|
233
233
|
return /*#__PURE__*/jsx("dialog", {
|
234
234
|
className: classNames(modules_5e9b8c03.nativeDialog, className),
|
235
235
|
ref: this.nativeDialog,
|
236
|
+
"data-rg-modal-dialog-container": modal ? '' : undefined,
|
236
237
|
children: /*#__PURE__*/jsx(PopupTarget, {
|
237
238
|
id: this.uid,
|
238
239
|
className: modules_5e9b8c03.popupTarget,
|
@@ -262,6 +263,7 @@ var Dialog = /*#__PURE__*/function (_PureComponent) {
|
|
262
263
|
return /*#__PURE__*/jsxs(TabTrap, _objectSpread2(_objectSpread2({
|
263
264
|
trapDisabled: !trapFocus,
|
264
265
|
"data-test": joinDataTestAttributes('ring-dialog-container', dataTest),
|
266
|
+
"data-rg-modal-dialog-container": "",
|
265
267
|
ref: _this2.dialogRef,
|
266
268
|
className: classes,
|
267
269
|
role: "presentation"
|