@jetbrains/ring-ui-built 6.0.53 → 6.0.54

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.
@@ -159,22 +159,24 @@ var SmartProfile = /*#__PURE__*/function (_PureComponent) {
159
159
  _context.next = 4;
160
160
  return _this.props.auth.login();
161
161
  case 4:
162
- _context.next = 8;
162
+ _context.next = 9;
163
163
  break;
164
164
  case 6:
165
165
  _context.prev = 6;
166
166
  _context.t0 = _context["catch"](1);
167
- case 8:
168
- _context.prev = 8;
167
+ // eslint-disable-next-line no-console
168
+ console.debug('Profile login errored', _context.t0);
169
+ case 9:
170
+ _context.prev = 9;
169
171
  _this.setState({
170
172
  loading: false
171
173
  });
172
- return _context.finish(8);
173
- case 11:
174
+ return _context.finish(9);
175
+ case 12:
174
176
  case "end":
175
177
  return _context.stop();
176
178
  }
177
- }, _callee, null, [[1, 6, 8, 11]]);
179
+ }, _callee, null, [[1, 6, 9, 12]]);
178
180
  })));
179
181
  _defineProperty(_this, "logout", function () {
180
182
  return _this.props.auth.logout();
@@ -93,7 +93,9 @@ function showAuthDialog() {
93
93
  show: true
94
94
  }));
95
95
  return function () {
96
- reactRoot.unmount();
96
+ renderLoginDialog(_objectSpread2(_objectSpread2({}, props), {}, {
97
+ show: false
98
+ }));
97
99
  };
98
100
  }
99
101
 
@@ -48,7 +48,7 @@ var Shortcuts = /*#__PURE__*/function () {
48
48
  });
49
49
  _defineProperty(this, "_defaultFilter", function (e, element, key) {
50
50
  // if the element or its parents have the class "ring-js-shortcuts" then no need to stop
51
- if (element === document || !(element instanceof HTMLElement) || key == null || element.matches(_this.ALLOW_SHORTCUTS_SELECTOR) || (element.dataset.enabledShortcuts != null ? element.dataset.enabledShortcuts.split(',').includes(key) : element.closest(_this.ALLOW_SHORTCUTS_SELECTOR) != null)) {
51
+ if (element === document || !(element instanceof HTMLElement) || key == null || element.matches(_this.ALLOW_SHORTCUTS_SELECTOR) || element.closest(_this.ALLOW_SHORTCUTS_SELECTOR) != null || element.dataset.enabledShortcuts != null && element.dataset.enabledShortcuts.split(',').includes(key)) {
52
52
  return false;
53
53
  }
54
54
  var elementContentEditableAttribute = element.contentEditable;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetbrains/ring-ui-built",
3
- "version": "6.0.53",
3
+ "version": "6.0.54",
4
4
  "description": "JetBrains UI library",
5
5
  "author": "JetBrains",
6
6
  "license": "Apache-2.0",