@atlaskit/editor-plugin-breakout 6.1.3 → 6.1.4

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-breakout
2
2
 
3
+ ## 6.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 6.1.3
4
10
 
5
11
  ### Patch Changes
@@ -18,6 +18,8 @@ var _disableNativeDragPreview = require("@atlaskit/pragmatic-drag-and-drop/eleme
18
18
  var _preventUnhandled = require("@atlaskit/pragmatic-drag-and-drop/prevent-unhandled");
19
19
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
20
20
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
21
+ // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
22
+
21
23
  var getNodeName = function getNodeName(nodeName) {
22
24
  if (nodeName === 'layoutSection') {
23
25
  return 'layout';
@@ -92,6 +94,8 @@ var createPragmaticResizer = exports.createPragmaticResizer = function createPra
92
94
  tooltipContainer.classList.add('pm-breakout-resize-handle-rail-wrapper');
93
95
  handle.appendChild(tooltipContainer);
94
96
  handle.appendChild(handleHitBox);
97
+
98
+ // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
95
99
  var key = (0, _v.default)();
96
100
  nodeViewPortalProviderAPI.render(function () {
97
101
  return /*#__PURE__*/_react.default.createElement(RailWithTooltip, {
@@ -1,5 +1,6 @@
1
1
  import React, { useLayoutEffect, useState } from 'react';
2
2
  import { bind } from 'bind-event-listener';
3
+ // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
3
4
  import uuid from 'uuid/v4';
4
5
  import { breakoutMessages as messages } from '@atlaskit/editor-common/messages';
5
6
  import { fg } from '@atlaskit/platform-feature-flags';
@@ -80,6 +81,8 @@ export const createPragmaticResizer = ({
80
81
  tooltipContainer.classList.add('pm-breakout-resize-handle-rail-wrapper');
81
82
  handle.appendChild(tooltipContainer);
82
83
  handle.appendChild(handleHitBox);
84
+
85
+ // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
83
86
  const key = uuid();
84
87
  nodeViewPortalProviderAPI.render(() => /*#__PURE__*/React.createElement(RailWithTooltip, {
85
88
  rail: rail,
@@ -2,6 +2,7 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import React, { useLayoutEffect, useState } from 'react';
4
4
  import { bind } from 'bind-event-listener';
5
+ // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
5
6
  import uuid from 'uuid/v4';
6
7
  import { breakoutMessages as messages } from '@atlaskit/editor-common/messages';
7
8
  import { fg } from '@atlaskit/platform-feature-flags';
@@ -83,6 +84,8 @@ export var createPragmaticResizer = function createPragmaticResizer(_ref2) {
83
84
  tooltipContainer.classList.add('pm-breakout-resize-handle-rail-wrapper');
84
85
  handle.appendChild(tooltipContainer);
85
86
  handle.appendChild(handleHitBox);
87
+
88
+ // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
86
89
  var key = uuid();
87
90
  nodeViewPortalProviderAPI.render(function () {
88
91
  return /*#__PURE__*/React.createElement(RailWithTooltip, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-breakout",
3
- "version": "6.1.3",
3
+ "version": "6.1.4",
4
4
  "description": "Breakout plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  "@atlaskit/editor-plugin-editor-disabled": "^6.1.0",
35
35
  "@atlaskit/editor-plugin-editor-viewmode": "^8.0.0",
36
36
  "@atlaskit/editor-plugin-guideline": "^6.0.0",
37
- "@atlaskit/editor-plugin-interaction": "^9.0.0",
37
+ "@atlaskit/editor-plugin-interaction": "^10.0.0",
38
38
  "@atlaskit/editor-plugin-user-intent": "^4.0.0",
39
39
  "@atlaskit/editor-plugin-width": "^7.0.0",
40
40
  "@atlaskit/editor-prosemirror": "7.0.0",
@@ -43,9 +43,9 @@
43
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
44
44
  "@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
45
45
  "@atlaskit/theme": "^21.0.0",
46
- "@atlaskit/tmp-editor-statsig": "^13.18.0",
47
- "@atlaskit/tokens": "^7.0.0",
48
- "@atlaskit/tooltip": "^20.6.0",
46
+ "@atlaskit/tmp-editor-statsig": "^13.32.0",
47
+ "@atlaskit/tokens": "^8.0.0",
48
+ "@atlaskit/tooltip": "^20.8.0",
49
49
  "@babel/runtime": "^7.0.0",
50
50
  "@emotion/react": "^11.7.1",
51
51
  "bind-event-listener": "^3.0.0",
@@ -53,7 +53,7 @@
53
53
  "uuid": "^3.1.0"
54
54
  },
55
55
  "peerDependencies": {
56
- "@atlaskit/editor-common": "^110.18.0",
56
+ "@atlaskit/editor-common": "^110.24.0",
57
57
  "react": "^18.2.0",
58
58
  "react-dom": "^18.2.0",
59
59
  "react-intl-next": "npm:react-intl@^5.18.1"