@atlaskit/editor-plugin-selection-toolbar 11.3.6 → 11.3.7

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-plugin-selection-toolbar
2
2
 
3
+ ## 11.3.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 11.3.6
4
10
 
5
11
  ### Patch Changes
@@ -19,33 +19,33 @@ var PageVisibilityWatcher = exports.PageVisibilityWatcher = function PageVisibil
19
19
  }
20
20
  var refreshPrefrerence = /*#__PURE__*/function () {
21
21
  var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
22
- var _api$selectionToolbar, _api$selectionToolbar2;
23
- return _regenerator.default.wrap(function _callee$(_context) {
22
+ var _api$selectionToolbar, _api$selectionToolbar2, _t;
23
+ return _regenerator.default.wrap(function (_context) {
24
24
  while (1) switch (_context.prev = _context.next) {
25
25
  case 0:
26
26
  if (!(document.visibilityState === 'visible')) {
27
- _context.next = 10;
27
+ _context.next = 5;
28
28
  break;
29
29
  }
30
30
  _context.prev = 1;
31
- _context.next = 4;
31
+ _context.next = 2;
32
32
  return userPreferencesProvider.loadPreferences();
33
- case 4:
34
- _context.next = 9;
33
+ case 2:
34
+ _context.next = 4;
35
35
  break;
36
- case 6:
37
- _context.prev = 6;
38
- _context.t0 = _context["catch"](1);
39
- (0, _monitoring.logException)(_context.t0, {
36
+ case 3:
37
+ _context.prev = 3;
38
+ _t = _context["catch"](1);
39
+ (0, _monitoring.logException)(_t, {
40
40
  location: 'editor-plugin-selection-toolbar/PageVisibilityWatcher'
41
41
  });
42
- case 9:
42
+ case 4:
43
43
  api === null || api === void 0 || (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.actions) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar2 = _api$selectionToolbar.refreshToolbarDocking) === null || _api$selectionToolbar2 === void 0 || _api$selectionToolbar2.call(_api$selectionToolbar);
44
- case 10:
44
+ case 5:
45
45
  case "end":
46
46
  return _context.stop();
47
47
  }
48
- }, _callee, null, [[1, 6]]);
48
+ }, _callee, null, [[1, 3]]);
49
49
  }));
50
50
  return function refreshPrefrerence() {
51
51
  return _ref2.apply(this, arguments);
@@ -12,33 +12,33 @@ export var PageVisibilityWatcher = function PageVisibilityWatcher(_ref) {
12
12
  }
13
13
  var refreshPrefrerence = /*#__PURE__*/function () {
14
14
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
15
- var _api$selectionToolbar, _api$selectionToolbar2;
16
- return _regeneratorRuntime.wrap(function _callee$(_context) {
15
+ var _api$selectionToolbar, _api$selectionToolbar2, _t;
16
+ return _regeneratorRuntime.wrap(function (_context) {
17
17
  while (1) switch (_context.prev = _context.next) {
18
18
  case 0:
19
19
  if (!(document.visibilityState === 'visible')) {
20
- _context.next = 10;
20
+ _context.next = 5;
21
21
  break;
22
22
  }
23
23
  _context.prev = 1;
24
- _context.next = 4;
24
+ _context.next = 2;
25
25
  return userPreferencesProvider.loadPreferences();
26
- case 4:
27
- _context.next = 9;
26
+ case 2:
27
+ _context.next = 4;
28
28
  break;
29
- case 6:
30
- _context.prev = 6;
31
- _context.t0 = _context["catch"](1);
32
- logException(_context.t0, {
29
+ case 3:
30
+ _context.prev = 3;
31
+ _t = _context["catch"](1);
32
+ logException(_t, {
33
33
  location: 'editor-plugin-selection-toolbar/PageVisibilityWatcher'
34
34
  });
35
- case 9:
35
+ case 4:
36
36
  api === null || api === void 0 || (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.actions) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar2 = _api$selectionToolbar.refreshToolbarDocking) === null || _api$selectionToolbar2 === void 0 || _api$selectionToolbar2.call(_api$selectionToolbar);
37
- case 10:
37
+ case 5:
38
38
  case "end":
39
39
  return _context.stop();
40
40
  }
41
- }, _callee, null, [[1, 6]]);
41
+ }, _callee, null, [[1, 3]]);
42
42
  }));
43
43
  return function refreshPrefrerence() {
44
44
  return _ref2.apply(this, arguments);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-selection-toolbar",
3
- "version": "11.3.6",
3
+ "version": "11.3.7",
4
4
  "description": "@atlaskit/editor-plugin-selection-toolbar for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -39,19 +39,19 @@
39
39
  "@atlaskit/editor-plugin-user-intent": "^8.2.0",
40
40
  "@atlaskit/editor-plugin-user-preferences": "^8.2.0",
41
41
  "@atlaskit/editor-prosemirror": "^7.3.0",
42
- "@atlaskit/editor-toolbar": "^1.7.0",
42
+ "@atlaskit/editor-toolbar": "^1.8.0",
43
43
  "@atlaskit/editor-toolbar-model": "^0.5.0",
44
44
  "@atlaskit/icon": "^35.3.0",
45
45
  "@atlaskit/icon-lab": "^6.12.0",
46
46
  "@atlaskit/menu": "^8.5.0",
47
47
  "@atlaskit/platform-feature-flags": "^1.1.0",
48
- "@atlaskit/tmp-editor-statsig": "^84.0.0",
49
- "@atlaskit/tokens": "^13.0.0",
48
+ "@atlaskit/tmp-editor-statsig": "^85.0.0",
49
+ "@atlaskit/tokens": "^13.1.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "bind-event-listener": "^3.0.0"
52
52
  },
53
53
  "peerDependencies": {
54
- "@atlaskit/editor-common": "^114.47.0",
54
+ "@atlaskit/editor-common": "^114.50.0",
55
55
  "react": "^18.2.0",
56
56
  "react-dom": "^18.2.0",
57
57
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"