@atlaskit/editor-slack-transformer 3.7.4 → 4.0.0
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 +22 -0
- package/dist/cjs/index.js +1 -2
- package/dist/cjs/serializer.js +17 -16
- package/dist/cjs/util.js +2 -0
- package/dist/es2019/serializer.js +7 -1
- package/dist/es2019/util.js +2 -0
- package/dist/esm/index.js +1 -2
- package/dist/esm/serializer.js +17 -16
- package/dist/esm/util.js +2 -0
- package/example-helpers/ToolsDrawer.tsx +2 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlaskit/editor-slack-transformer
|
|
2
2
|
|
|
3
|
+
## 4.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
|
|
8
|
+
[`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
|
|
9
|
+
This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the
|
|
10
|
+
status of only supporting React 18 going forward. No explicit breaking change to React support has
|
|
11
|
+
been made in this release, but this is to signify going forward, breaking changes for React 16 or
|
|
12
|
+
React 17 may come via non-major semver releases.
|
|
13
|
+
|
|
14
|
+
Please refer this community post for more details:
|
|
15
|
+
https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
|
|
16
|
+
|
|
17
|
+
## 3.8.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- [#105322](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105322)
|
|
22
|
+
[`8876083532adc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8876083532adc) -
|
|
23
|
+
Bumped editor-prosemirror version to 7.0.0
|
|
24
|
+
|
|
3
25
|
## 3.7.4
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/dist/cjs/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var SlackTransformer = exports.SlackTransformer = /*#__PURE__*/function () {
|
|
|
15
15
|
// @ts-expect-error - Our node definitions are not compatible with prosemirror-markdown types
|
|
16
16
|
(0, _defineProperty2.default)(this, "serializer", new _serializer.MarkdownSerializer(_serializer.nodes, _serializer.marks));
|
|
17
17
|
}
|
|
18
|
-
(0, _createClass2.default)(SlackTransformer, [{
|
|
18
|
+
return (0, _createClass2.default)(SlackTransformer, [{
|
|
19
19
|
key: "encode",
|
|
20
20
|
value: function encode(node) {
|
|
21
21
|
return this.serializer.serialize(node);
|
|
@@ -26,5 +26,4 @@ var SlackTransformer = exports.SlackTransformer = /*#__PURE__*/function () {
|
|
|
26
26
|
throw new Error('This is not implemented yet');
|
|
27
27
|
}
|
|
28
28
|
}]);
|
|
29
|
-
return SlackTransformer;
|
|
30
29
|
}();
|
package/dist/cjs/serializer.js
CHANGED
|
@@ -7,37 +7,35 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.nodes = exports.marks = exports.MarkdownSerializerState = exports.MarkdownSerializer = void 0;
|
|
8
8
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
9
9
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
10
|
-
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
|
11
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
12
10
|
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
13
11
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
12
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
14
13
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
15
14
|
var _markdown = require("@atlaskit/editor-prosemirror/markdown");
|
|
16
15
|
var _util = require("./util");
|
|
17
16
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
18
17
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19
|
-
function
|
|
18
|
+
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
20
19
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
21
20
|
var MarkdownSerializerState = exports.MarkdownSerializerState = /*#__PURE__*/function (_PMMarkdownSerializer) {
|
|
22
|
-
(0, _inherits2.default)(MarkdownSerializerState, _PMMarkdownSerializer);
|
|
23
|
-
var _super = _createSuper(MarkdownSerializerState);
|
|
24
21
|
function MarkdownSerializerState(nodes, marks) {
|
|
25
22
|
var _this;
|
|
26
23
|
(0, _classCallCheck2.default)(this, MarkdownSerializerState);
|
|
27
24
|
// @ts-ignore-next-line
|
|
28
|
-
_this =
|
|
25
|
+
_this = _callSuper(this, MarkdownSerializerState, [nodes, marks, {}]);
|
|
29
26
|
/**
|
|
30
27
|
* Defines the internal variables used in the markdown serializer
|
|
31
28
|
* @see https://github.com/ProseMirror/prosemirror-markdown/blob/master/src/to_markdown.ts#L172
|
|
32
29
|
*/
|
|
33
|
-
(0, _defineProperty2.default)(
|
|
34
|
-
(0, _defineProperty2.default)(
|
|
35
|
-
(0, _defineProperty2.default)(
|
|
30
|
+
(0, _defineProperty2.default)(_this, "delim", '');
|
|
31
|
+
(0, _defineProperty2.default)(_this, "out", '');
|
|
32
|
+
(0, _defineProperty2.default)(_this, "closed", null);
|
|
36
33
|
_this.nodes = nodes;
|
|
37
34
|
_this.marks = marks;
|
|
38
35
|
return _this;
|
|
39
36
|
}
|
|
40
|
-
(0,
|
|
37
|
+
(0, _inherits2.default)(MarkdownSerializerState, _PMMarkdownSerializer);
|
|
38
|
+
return (0, _createClass2.default)(MarkdownSerializerState, [{
|
|
41
39
|
key: "atBlank",
|
|
42
40
|
value:
|
|
43
41
|
/**
|
|
@@ -45,6 +43,8 @@ var MarkdownSerializerState = exports.MarkdownSerializerState = /*#__PURE__*/fun
|
|
|
45
43
|
* @see https://github.com/ProseMirror/prosemirror-markdown/blob/master/src/to_markdown.ts#L241
|
|
46
44
|
*/
|
|
47
45
|
function atBlank() {
|
|
46
|
+
// Ignored via go/ees005
|
|
47
|
+
// eslint-disable-next-line require-unicode-regexp
|
|
48
48
|
return /(^|\n)$/.test(this.out);
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -62,6 +62,8 @@ var MarkdownSerializerState = exports.MarkdownSerializerState = /*#__PURE__*/fun
|
|
|
62
62
|
}
|
|
63
63
|
if (size > 1) {
|
|
64
64
|
var delimMin = this.delim;
|
|
65
|
+
// Ignored via go/ees005
|
|
66
|
+
// eslint-disable-next-line require-unicode-regexp
|
|
65
67
|
var trim = /\s+$/.exec(delimMin);
|
|
66
68
|
if (trim) {
|
|
67
69
|
delimMin = delimMin.slice(0, delimMin.length - trim[0].length);
|
|
@@ -89,16 +91,14 @@ var MarkdownSerializerState = exports.MarkdownSerializerState = /*#__PURE__*/fun
|
|
|
89
91
|
});
|
|
90
92
|
}
|
|
91
93
|
}]);
|
|
92
|
-
return MarkdownSerializerState;
|
|
93
94
|
}(_markdown.MarkdownSerializerState);
|
|
94
95
|
var MarkdownSerializer = exports.MarkdownSerializer = /*#__PURE__*/function (_PMMarkdownSerializer2) {
|
|
95
|
-
(0, _inherits2.default)(MarkdownSerializer, _PMMarkdownSerializer2);
|
|
96
|
-
var _super2 = _createSuper(MarkdownSerializer);
|
|
97
96
|
function MarkdownSerializer() {
|
|
98
97
|
(0, _classCallCheck2.default)(this, MarkdownSerializer);
|
|
99
|
-
return
|
|
98
|
+
return _callSuper(this, MarkdownSerializer, arguments);
|
|
100
99
|
}
|
|
101
|
-
(0,
|
|
100
|
+
(0, _inherits2.default)(MarkdownSerializer, _PMMarkdownSerializer2);
|
|
101
|
+
return (0, _createClass2.default)(MarkdownSerializer, [{
|
|
102
102
|
key: "serialize",
|
|
103
103
|
value: function serialize(content) {
|
|
104
104
|
var state = new MarkdownSerializerState(this.nodes, this.marks);
|
|
@@ -106,7 +106,6 @@ var MarkdownSerializer = exports.MarkdownSerializer = /*#__PURE__*/function (_PM
|
|
|
106
106
|
return state.out === "\u200C" ? '' : state.out; // Return empty string if editor only contains a zero-non-width character
|
|
107
107
|
}
|
|
108
108
|
}]);
|
|
109
|
-
return MarkdownSerializer;
|
|
110
109
|
}(_markdown.MarkdownSerializer);
|
|
111
110
|
/**
|
|
112
111
|
* Stubs for unsupported nodes
|
|
@@ -397,6 +396,8 @@ var marks = exports.marks = _objectSpread({
|
|
|
397
396
|
expelEnclosingWhitespace: true
|
|
398
397
|
},
|
|
399
398
|
link: {
|
|
399
|
+
// Ignored via go/ees005
|
|
400
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
400
401
|
open: function open(_state, mark) {
|
|
401
402
|
return '<' + mark.attrs.href + '|';
|
|
402
403
|
},
|
package/dist/cjs/util.js
CHANGED
|
@@ -10,6 +10,8 @@ exports.escapeMarkdown = void 0;
|
|
|
10
10
|
*
|
|
11
11
|
*/
|
|
12
12
|
var escapeMarkdown = exports.escapeMarkdown = function escapeMarkdown(str) {
|
|
13
|
+
// Ignored via go/ees005
|
|
14
|
+
// eslint-disable-next-line require-unicode-regexp
|
|
13
15
|
return str.replace(/[`*_~&<>]/g, function (matched) {
|
|
14
16
|
switch (matched) {
|
|
15
17
|
case '&':
|
|
@@ -7,6 +7,8 @@ export class MarkdownSerializerState extends PMMarkdownSerializerState {
|
|
|
7
7
|
* @see https://github.com/ProseMirror/prosemirror-markdown/blob/master/src/to_markdown.ts#L241
|
|
8
8
|
*/
|
|
9
9
|
atBlank() {
|
|
10
|
+
// Ignored via go/ees005
|
|
11
|
+
// eslint-disable-next-line require-unicode-regexp
|
|
10
12
|
return /(^|\n)$/.test(this.out);
|
|
11
13
|
}
|
|
12
14
|
|
|
@@ -21,7 +23,9 @@ export class MarkdownSerializerState extends PMMarkdownSerializerState {
|
|
|
21
23
|
}
|
|
22
24
|
if (size > 1) {
|
|
23
25
|
let delimMin = this.delim;
|
|
24
|
-
|
|
26
|
+
// Ignored via go/ees005
|
|
27
|
+
// eslint-disable-next-line require-unicode-regexp
|
|
28
|
+
const trim = /\s+$/.exec(delimMin);
|
|
25
29
|
if (trim) {
|
|
26
30
|
delimMin = delimMin.slice(0, delimMin.length - trim[0].length);
|
|
27
31
|
}
|
|
@@ -347,6 +351,8 @@ export const marks = {
|
|
|
347
351
|
expelEnclosingWhitespace: true
|
|
348
352
|
},
|
|
349
353
|
link: {
|
|
354
|
+
// Ignored via go/ees005
|
|
355
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
350
356
|
open(_state, mark) {
|
|
351
357
|
return '<' + mark.attrs.href + '|';
|
|
352
358
|
},
|
package/dist/es2019/util.js
CHANGED
package/dist/esm/index.js
CHANGED
|
@@ -8,7 +8,7 @@ export var SlackTransformer = /*#__PURE__*/function () {
|
|
|
8
8
|
// @ts-expect-error - Our node definitions are not compatible with prosemirror-markdown types
|
|
9
9
|
_defineProperty(this, "serializer", new MarkdownSerializer(nodes, marks));
|
|
10
10
|
}
|
|
11
|
-
_createClass(SlackTransformer, [{
|
|
11
|
+
return _createClass(SlackTransformer, [{
|
|
12
12
|
key: "encode",
|
|
13
13
|
value: function encode(node) {
|
|
14
14
|
return this.serializer.serialize(node);
|
|
@@ -19,5 +19,4 @@ export var SlackTransformer = /*#__PURE__*/function () {
|
|
|
19
19
|
throw new Error('This is not implemented yet');
|
|
20
20
|
}
|
|
21
21
|
}]);
|
|
22
|
-
return SlackTransformer;
|
|
23
22
|
}();
|
package/dist/esm/serializer.js
CHANGED
|
@@ -1,36 +1,34 @@
|
|
|
1
1
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
2
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
|
-
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
|
|
4
|
-
import _inherits from "@babel/runtime/helpers/inherits";
|
|
5
3
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
6
4
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
5
|
+
import _inherits from "@babel/runtime/helpers/inherits";
|
|
7
6
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
8
7
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
9
8
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10
|
-
function
|
|
9
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
10
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
12
11
|
import { MarkdownSerializer as PMMarkdownSerializer, MarkdownSerializerState as PMMarkdownSerializerState } from '@atlaskit/editor-prosemirror/markdown';
|
|
13
12
|
import { escapeMarkdown } from './util';
|
|
14
13
|
export var MarkdownSerializerState = /*#__PURE__*/function (_PMMarkdownSerializer) {
|
|
15
|
-
_inherits(MarkdownSerializerState, _PMMarkdownSerializer);
|
|
16
|
-
var _super = _createSuper(MarkdownSerializerState);
|
|
17
14
|
function MarkdownSerializerState(nodes, marks) {
|
|
18
15
|
var _this;
|
|
19
16
|
_classCallCheck(this, MarkdownSerializerState);
|
|
20
17
|
// @ts-ignore-next-line
|
|
21
|
-
_this =
|
|
18
|
+
_this = _callSuper(this, MarkdownSerializerState, [nodes, marks, {}]);
|
|
22
19
|
/**
|
|
23
20
|
* Defines the internal variables used in the markdown serializer
|
|
24
21
|
* @see https://github.com/ProseMirror/prosemirror-markdown/blob/master/src/to_markdown.ts#L172
|
|
25
22
|
*/
|
|
26
|
-
_defineProperty(
|
|
27
|
-
_defineProperty(
|
|
28
|
-
_defineProperty(
|
|
23
|
+
_defineProperty(_this, "delim", '');
|
|
24
|
+
_defineProperty(_this, "out", '');
|
|
25
|
+
_defineProperty(_this, "closed", null);
|
|
29
26
|
_this.nodes = nodes;
|
|
30
27
|
_this.marks = marks;
|
|
31
28
|
return _this;
|
|
32
29
|
}
|
|
33
|
-
|
|
30
|
+
_inherits(MarkdownSerializerState, _PMMarkdownSerializer);
|
|
31
|
+
return _createClass(MarkdownSerializerState, [{
|
|
34
32
|
key: "atBlank",
|
|
35
33
|
value:
|
|
36
34
|
/**
|
|
@@ -38,6 +36,8 @@ export var MarkdownSerializerState = /*#__PURE__*/function (_PMMarkdownSerialize
|
|
|
38
36
|
* @see https://github.com/ProseMirror/prosemirror-markdown/blob/master/src/to_markdown.ts#L241
|
|
39
37
|
*/
|
|
40
38
|
function atBlank() {
|
|
39
|
+
// Ignored via go/ees005
|
|
40
|
+
// eslint-disable-next-line require-unicode-regexp
|
|
41
41
|
return /(^|\n)$/.test(this.out);
|
|
42
42
|
}
|
|
43
43
|
|
|
@@ -55,6 +55,8 @@ export var MarkdownSerializerState = /*#__PURE__*/function (_PMMarkdownSerialize
|
|
|
55
55
|
}
|
|
56
56
|
if (size > 1) {
|
|
57
57
|
var delimMin = this.delim;
|
|
58
|
+
// Ignored via go/ees005
|
|
59
|
+
// eslint-disable-next-line require-unicode-regexp
|
|
58
60
|
var trim = /\s+$/.exec(delimMin);
|
|
59
61
|
if (trim) {
|
|
60
62
|
delimMin = delimMin.slice(0, delimMin.length - trim[0].length);
|
|
@@ -82,16 +84,14 @@ export var MarkdownSerializerState = /*#__PURE__*/function (_PMMarkdownSerialize
|
|
|
82
84
|
});
|
|
83
85
|
}
|
|
84
86
|
}]);
|
|
85
|
-
return MarkdownSerializerState;
|
|
86
87
|
}(PMMarkdownSerializerState);
|
|
87
88
|
export var MarkdownSerializer = /*#__PURE__*/function (_PMMarkdownSerializer2) {
|
|
88
|
-
_inherits(MarkdownSerializer, _PMMarkdownSerializer2);
|
|
89
|
-
var _super2 = _createSuper(MarkdownSerializer);
|
|
90
89
|
function MarkdownSerializer() {
|
|
91
90
|
_classCallCheck(this, MarkdownSerializer);
|
|
92
|
-
return
|
|
91
|
+
return _callSuper(this, MarkdownSerializer, arguments);
|
|
93
92
|
}
|
|
94
|
-
|
|
93
|
+
_inherits(MarkdownSerializer, _PMMarkdownSerializer2);
|
|
94
|
+
return _createClass(MarkdownSerializer, [{
|
|
95
95
|
key: "serialize",
|
|
96
96
|
value: function serialize(content) {
|
|
97
97
|
var state = new MarkdownSerializerState(this.nodes, this.marks);
|
|
@@ -99,7 +99,6 @@ export var MarkdownSerializer = /*#__PURE__*/function (_PMMarkdownSerializer2) {
|
|
|
99
99
|
return state.out === "\u200C" ? '' : state.out; // Return empty string if editor only contains a zero-non-width character
|
|
100
100
|
}
|
|
101
101
|
}]);
|
|
102
|
-
return MarkdownSerializer;
|
|
103
102
|
}(PMMarkdownSerializer);
|
|
104
103
|
|
|
105
104
|
/**
|
|
@@ -391,6 +390,8 @@ export var marks = _objectSpread({
|
|
|
391
390
|
expelEnclosingWhitespace: true
|
|
392
391
|
},
|
|
393
392
|
link: {
|
|
393
|
+
// Ignored via go/ees005
|
|
394
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
394
395
|
open: function open(_state, mark) {
|
|
395
396
|
return '<' + mark.attrs.href + '|';
|
|
396
397
|
},
|
package/dist/esm/util.js
CHANGED
|
@@ -23,6 +23,8 @@ import { SlackTransformer } from '../src';
|
|
|
23
23
|
import { content } from './styles';
|
|
24
24
|
|
|
25
25
|
const rejectedPromise = Promise.reject(new Error('Simulated provider rejection'));
|
|
26
|
+
// Ignored via go/ees005
|
|
27
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
26
28
|
const pendingPromise = new Promise<any>(() => {});
|
|
27
29
|
|
|
28
30
|
const providers = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-slack-transformer",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Editor Slack transformer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -30,21 +30,21 @@
|
|
|
30
30
|
"runReact18": true
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@atlaskit/editor-prosemirror": "
|
|
33
|
+
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
34
34
|
"@babel/runtime": "^7.0.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"react": "^
|
|
37
|
+
"react": "^18.2.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@atlaskit/activity": "^1.0.1",
|
|
41
|
-
"@atlaskit/editor-core": "^
|
|
42
|
-
"@atlaskit/editor-test-helpers": "^
|
|
43
|
-
"@atlaskit/emoji": "^
|
|
44
|
-
"@atlaskit/mention": "^
|
|
45
|
-
"@atlaskit/theme": "^
|
|
46
|
-
"@atlaskit/tokens": "^
|
|
47
|
-
"@atlaskit/util-data-test": "^
|
|
41
|
+
"@atlaskit/editor-core": "^204.0.0",
|
|
42
|
+
"@atlaskit/editor-test-helpers": "^22.0.0",
|
|
43
|
+
"@atlaskit/emoji": "^68.0.0",
|
|
44
|
+
"@atlaskit/mention": "^24.0.0",
|
|
45
|
+
"@atlaskit/theme": "^17.0.0",
|
|
46
|
+
"@atlaskit/tokens": "^4.0.0",
|
|
47
|
+
"@atlaskit/util-data-test": "^18.0.0",
|
|
48
48
|
"@emotion/react": "^11.7.1",
|
|
49
49
|
"typescript": "~5.4.2"
|
|
50
50
|
},
|