@atlaskit/editor-jira-transformer 8.1.23 → 8.1.26
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 +52 -0
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/schema.js +11 -11
- package/dist/cjs/utils.js +14 -12
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/schema.js +1 -1
- package/dist/es2019/utils.js +2 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/schema.js +1 -1
- package/dist/esm/utils.js +2 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/schema.d.ts +1 -1
- package/package.json +12 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,57 @@
|
|
|
1
1
|
# @atlaskit/editor-jira-transformer
|
|
2
2
|
|
|
3
|
+
## 8.1.26
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
8
|
+
|
|
9
|
+
## 8.1.25
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`b29ce16dad8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b29ce16dad8) - [ED-14606] Move bitbucket schema, confluence schema, jira schema, and default schema from @atlaskit/adf-schema to their own entry points. These new entry points are as follows
|
|
14
|
+
|
|
15
|
+
@atlaskit/adf-schema/schema-bitbucket for:
|
|
16
|
+
|
|
17
|
+
- bitbucketSchema
|
|
18
|
+
|
|
19
|
+
@atlaskit/adf-schema/schema-confluence for:
|
|
20
|
+
|
|
21
|
+
- confluenceSchema
|
|
22
|
+
- confluenceSchemaWithMediaSingle
|
|
23
|
+
|
|
24
|
+
@atlaskit/adf-schema/schema-jira for:
|
|
25
|
+
|
|
26
|
+
- default as createJIRASchema
|
|
27
|
+
- isSchemaWithLists
|
|
28
|
+
- isSchemaWithMentions
|
|
29
|
+
- isSchemaWithEmojis
|
|
30
|
+
- isSchemaWithLinks
|
|
31
|
+
- isSchemaWithAdvancedTextFormattingMarks
|
|
32
|
+
- isSchemaWithCodeBlock
|
|
33
|
+
- isSchemaWithBlockQuotes
|
|
34
|
+
- isSchemaWithMedia
|
|
35
|
+
- isSchemaWithSubSupMark
|
|
36
|
+
- isSchemaWithTextColor
|
|
37
|
+
- isSchemaWithTables
|
|
38
|
+
|
|
39
|
+
@atlaskit/adf-schema/schema-default for:
|
|
40
|
+
|
|
41
|
+
- defaultSchema
|
|
42
|
+
- getSchemaBasedOnStage
|
|
43
|
+
- defaultSchemaConfig
|
|
44
|
+
|
|
45
|
+
This change also includes codemods in @atlaskit/adf-schema to update these entry points. It also introduces a new util function "changeImportEntryPoint" to @atlaskit/codemod-utils to handle this scenario.
|
|
46
|
+
|
|
47
|
+
- Updated dependencies
|
|
48
|
+
|
|
49
|
+
## 8.1.24
|
|
50
|
+
|
|
51
|
+
### Patch Changes
|
|
52
|
+
|
|
53
|
+
- Updated dependencies
|
|
54
|
+
|
|
3
55
|
## 8.1.23
|
|
4
56
|
|
|
5
57
|
### Patch Changes
|
package/dist/cjs/index.js
CHANGED
|
@@ -19,7 +19,7 @@ var _fixDoc = _interopRequireDefault(require("./fix-doc"));
|
|
|
19
19
|
|
|
20
20
|
var _utils = require("./utils");
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _schemaJira = require("@atlaskit/adf-schema/schema-jira");
|
|
23
23
|
|
|
24
24
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
25
25
|
|
|
@@ -147,7 +147,7 @@ var JIRATransformer = /*#__PURE__*/function () {
|
|
|
147
147
|
return this.encodeHardBreak();
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
if ((0,
|
|
150
|
+
if ((0, _schemaJira.isSchemaWithLists)(this.schema)) {
|
|
151
151
|
if (node.type.name === bulletList.name) {
|
|
152
152
|
return this.encodeBulletList(node);
|
|
153
153
|
} else if (node.type.name === orderedList.name) {
|
|
@@ -157,23 +157,23 @@ var JIRATransformer = /*#__PURE__*/function () {
|
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
if ((0,
|
|
160
|
+
if ((0, _schemaJira.isSchemaWithMentions)(this.schema) && node.type.name === mention.name) {
|
|
161
161
|
return this.encodeMention(node, this.customEncoders.mention);
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
if ((0,
|
|
164
|
+
if ((0, _schemaJira.isSchemaWithEmojis)(this.schema) && node.type.name === emoji.name) {
|
|
165
165
|
return this.encodeEmoji(node);
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
if ((0,
|
|
168
|
+
if ((0, _schemaJira.isSchemaWithCodeBlock)(this.schema) && node.type.name === codeBlock.name) {
|
|
169
169
|
return this.encodeCodeBlock(node);
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
if ((0,
|
|
172
|
+
if ((0, _schemaJira.isSchemaWithBlockQuotes)(this.schema) && node.type.name === blockquote.name) {
|
|
173
173
|
return this.encodeBlockQuote(node);
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
if ((0,
|
|
176
|
+
if ((0, _schemaJira.isSchemaWithMedia)(this.schema)) {
|
|
177
177
|
if (node.type.name === mediaGroup.name) {
|
|
178
178
|
return this.encodeMediaGroup(node);
|
|
179
179
|
} else if (node.type.name === mediaSingle.name) {
|
|
@@ -183,7 +183,7 @@ var JIRATransformer = /*#__PURE__*/function () {
|
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
if ((0,
|
|
186
|
+
if ((0, _schemaJira.isSchemaWithTables)(this.schema) && node.type.name === table.name) {
|
|
187
187
|
return this.encodeTable(node);
|
|
188
188
|
}
|
|
189
189
|
|
package/dist/cjs/schema.js
CHANGED
|
@@ -6,62 +6,62 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "isSchemaWithAdvancedTextFormattingMarks", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function get() {
|
|
9
|
-
return
|
|
9
|
+
return _schemaJira.isSchemaWithAdvancedTextFormattingMarks;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "isSchemaWithBlockQuotes", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function get() {
|
|
15
|
-
return
|
|
15
|
+
return _schemaJira.isSchemaWithBlockQuotes;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "isSchemaWithCodeBlock", {
|
|
19
19
|
enumerable: true,
|
|
20
20
|
get: function get() {
|
|
21
|
-
return
|
|
21
|
+
return _schemaJira.isSchemaWithCodeBlock;
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "isSchemaWithLinks", {
|
|
25
25
|
enumerable: true,
|
|
26
26
|
get: function get() {
|
|
27
|
-
return
|
|
27
|
+
return _schemaJira.isSchemaWithLinks;
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "isSchemaWithLists", {
|
|
31
31
|
enumerable: true,
|
|
32
32
|
get: function get() {
|
|
33
|
-
return
|
|
33
|
+
return _schemaJira.isSchemaWithLists;
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "isSchemaWithMedia", {
|
|
37
37
|
enumerable: true,
|
|
38
38
|
get: function get() {
|
|
39
|
-
return
|
|
39
|
+
return _schemaJira.isSchemaWithMedia;
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "isSchemaWithMentions", {
|
|
43
43
|
enumerable: true,
|
|
44
44
|
get: function get() {
|
|
45
|
-
return
|
|
45
|
+
return _schemaJira.isSchemaWithMentions;
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "isSchemaWithSubSupMark", {
|
|
49
49
|
enumerable: true,
|
|
50
50
|
get: function get() {
|
|
51
|
-
return
|
|
51
|
+
return _schemaJira.isSchemaWithSubSupMark;
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "isSchemaWithTables", {
|
|
55
55
|
enumerable: true,
|
|
56
56
|
get: function get() {
|
|
57
|
-
return
|
|
57
|
+
return _schemaJira.isSchemaWithTables;
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "isSchemaWithTextColor", {
|
|
61
61
|
enumerable: true,
|
|
62
62
|
get: function get() {
|
|
63
|
-
return
|
|
63
|
+
return _schemaJira.isSchemaWithTextColor;
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
66
|
|
|
67
|
-
var
|
|
67
|
+
var _schemaJira = require("@atlaskit/adf-schema/schema-jira");
|
package/dist/cjs/utils.js
CHANGED
|
@@ -10,6 +10,8 @@ exports.ensureInline = void 0;
|
|
|
10
10
|
|
|
11
11
|
var _adfSchema = require("@atlaskit/adf-schema");
|
|
12
12
|
|
|
13
|
+
var _schemaJira = require("@atlaskit/adf-schema/schema-jira");
|
|
14
|
+
|
|
13
15
|
var _prosemirrorModel = require("prosemirror-model");
|
|
14
16
|
|
|
15
17
|
var _emojiHelper = require("./emojiHelper");
|
|
@@ -87,7 +89,7 @@ function convert(content, node, schema) {
|
|
|
87
89
|
switch (tag) {
|
|
88
90
|
// Marks
|
|
89
91
|
case 'DEL':
|
|
90
|
-
if (!(0,
|
|
92
|
+
if (!(0, _schemaJira.isSchemaWithAdvancedTextFormattingMarks)(schema)) {
|
|
91
93
|
return null;
|
|
92
94
|
}
|
|
93
95
|
|
|
@@ -100,7 +102,7 @@ function convert(content, node, schema) {
|
|
|
100
102
|
return addMarks(content, [schema.marks.em.create()]);
|
|
101
103
|
|
|
102
104
|
case 'TT':
|
|
103
|
-
if (!(0,
|
|
105
|
+
if (!(0, _schemaJira.isSchemaWithAdvancedTextFormattingMarks)(schema)) {
|
|
104
106
|
return null;
|
|
105
107
|
}
|
|
106
108
|
|
|
@@ -108,7 +110,7 @@ function convert(content, node, schema) {
|
|
|
108
110
|
|
|
109
111
|
case 'SUB':
|
|
110
112
|
case 'SUP':
|
|
111
|
-
if (!(0,
|
|
113
|
+
if (!(0, _schemaJira.isSchemaWithSubSupMark)(schema)) {
|
|
112
114
|
return null;
|
|
113
115
|
}
|
|
114
116
|
|
|
@@ -121,7 +123,7 @@ function convert(content, node, schema) {
|
|
|
121
123
|
return addMarks(content, [schema.marks.underline.create()]);
|
|
122
124
|
|
|
123
125
|
case 'FONT':
|
|
124
|
-
if (!(0,
|
|
126
|
+
if (!(0, _schemaJira.isSchemaWithTextColor)(schema)) {
|
|
125
127
|
return null;
|
|
126
128
|
}
|
|
127
129
|
|
|
@@ -132,14 +134,14 @@ function convert(content, node, schema) {
|
|
|
132
134
|
// Nodes
|
|
133
135
|
|
|
134
136
|
case 'A':
|
|
135
|
-
if (node.className === 'user-hover' && (0,
|
|
137
|
+
if (node.className === 'user-hover' && (0, _schemaJira.isSchemaWithMentions)(schema)) {
|
|
136
138
|
return schema.nodes.mention.createChecked({
|
|
137
139
|
id: node.getAttribute('rel'),
|
|
138
140
|
text: node.textContent
|
|
139
141
|
});
|
|
140
142
|
}
|
|
141
143
|
|
|
142
|
-
if (node.className.match('jira-issue-macro-key') || !content || !(0,
|
|
144
|
+
if (node.className.match('jira-issue-macro-key') || !content || !(0, _schemaJira.isSchemaWithLinks)(schema)) {
|
|
143
145
|
return null;
|
|
144
146
|
}
|
|
145
147
|
|
|
@@ -181,7 +183,7 @@ function convert(content, node, schema) {
|
|
|
181
183
|
} else if (node.className.match('code-')) {
|
|
182
184
|
// Removing spans with syntax highlighting from JIRA
|
|
183
185
|
return null;
|
|
184
|
-
} else if (isMedia(node) && (0,
|
|
186
|
+
} else if (isMedia(node) && (0, _schemaJira.isSchemaWithMedia)(schema)) {
|
|
185
187
|
var dataNode = node.querySelector('[data-media-services-id]');
|
|
186
188
|
|
|
187
189
|
if (dataNode && dataNode instanceof HTMLElement) {
|
|
@@ -270,7 +272,7 @@ function convert(content, node, schema) {
|
|
|
270
272
|
fragmentArray.push(paragraph.createChecked({}, contentArray));
|
|
271
273
|
}
|
|
272
274
|
|
|
273
|
-
if ((0,
|
|
275
|
+
if ((0, _schemaJira.isSchemaWithMedia)(schema) && mediaArray.length) {
|
|
274
276
|
var mediaNodeType = isMediaSingle(node.firstElementChild) ? mediaSingle : mediaGroup;
|
|
275
277
|
fragmentArray.push(mediaNodeType.createChecked({}, mediaArray));
|
|
276
278
|
}
|
|
@@ -286,7 +288,7 @@ function convert(content, node, schema) {
|
|
|
286
288
|
} // lists
|
|
287
289
|
|
|
288
290
|
|
|
289
|
-
if ((0,
|
|
291
|
+
if ((0, _schemaJira.isSchemaWithLists)(schema)) {
|
|
290
292
|
switch (tag) {
|
|
291
293
|
case 'UL':
|
|
292
294
|
return schema.nodes.bulletList.createChecked({}, content);
|
|
@@ -301,7 +303,7 @@ function convert(content, node, schema) {
|
|
|
301
303
|
} // code block
|
|
302
304
|
|
|
303
305
|
|
|
304
|
-
if ((0,
|
|
306
|
+
if ((0, _schemaJira.isSchemaWithCodeBlock)(schema)) {
|
|
305
307
|
switch (tag) {
|
|
306
308
|
case 'DIV':
|
|
307
309
|
if (node.className === 'codeContent panelContent' || node.className.match('preformattedContent')) {
|
|
@@ -327,13 +329,13 @@ function convert(content, node, schema) {
|
|
|
327
329
|
}
|
|
328
330
|
}
|
|
329
331
|
|
|
330
|
-
if ((0,
|
|
332
|
+
if ((0, _schemaJira.isSchemaWithBlockQuotes)(schema) && tag === 'BLOCKQUOTE') {
|
|
331
333
|
var blockquoteContent = content && content.content.length ? content : schema.nodes.paragraph.createChecked();
|
|
332
334
|
return schema.nodes.blockquote.createChecked({}, blockquoteContent);
|
|
333
335
|
} // table
|
|
334
336
|
|
|
335
337
|
|
|
336
|
-
if ((0,
|
|
338
|
+
if ((0, _schemaJira.isSchemaWithTables)(schema)) {
|
|
337
339
|
switch (tag) {
|
|
338
340
|
case 'TABLE':
|
|
339
341
|
return schema.nodes.table.createChecked({}, content);
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Fragment, Node as PMNode } from 'prosemirror-model';
|
|
|
2
2
|
import parseHtml from './parse-html';
|
|
3
3
|
import fixDoc from './fix-doc';
|
|
4
4
|
import { bfsOrder, convert, ensureBlocks } from './utils';
|
|
5
|
-
import { isSchemaWithLists, isSchemaWithMentions, isSchemaWithEmojis, isSchemaWithCodeBlock, isSchemaWithBlockQuotes, isSchemaWithMedia, isSchemaWithTables } from '@atlaskit/adf-schema';
|
|
5
|
+
import { isSchemaWithLists, isSchemaWithMentions, isSchemaWithEmojis, isSchemaWithCodeBlock, isSchemaWithBlockQuotes, isSchemaWithMedia, isSchemaWithTables } from '@atlaskit/adf-schema/schema-jira';
|
|
6
6
|
export class JIRATransformer {
|
|
7
7
|
constructor(schema, customEncoders, mediaContextInfo) {
|
|
8
8
|
this.schema = schema;
|
package/dist/es2019/schema.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { isSchemaWithLists, isSchemaWithMentions, isSchemaWithLinks, isSchemaWithAdvancedTextFormattingMarks, isSchemaWithSubSupMark, isSchemaWithCodeBlock, isSchemaWithBlockQuotes, isSchemaWithMedia, isSchemaWithTextColor, isSchemaWithTables } from '@atlaskit/adf-schema';
|
|
1
|
+
export { isSchemaWithLists, isSchemaWithMentions, isSchemaWithLinks, isSchemaWithAdvancedTextFormattingMarks, isSchemaWithSubSupMark, isSchemaWithCodeBlock, isSchemaWithBlockQuotes, isSchemaWithMedia, isSchemaWithTextColor, isSchemaWithTables } from '@atlaskit/adf-schema/schema-jira';
|
package/dist/es2019/utils.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { normalizeHexColor } from '@atlaskit/adf-schema';
|
|
2
|
+
import { isSchemaWithLists, isSchemaWithMentions, isSchemaWithLinks, isSchemaWithAdvancedTextFormattingMarks, isSchemaWithCodeBlock, isSchemaWithBlockQuotes, isSchemaWithMedia, isSchemaWithSubSupMark, isSchemaWithTextColor, isSchemaWithTables } from '@atlaskit/adf-schema/schema-jira';
|
|
2
3
|
import { Fragment } from 'prosemirror-model';
|
|
3
4
|
import { mapImageToEmoji } from './emojiHelper';
|
|
4
5
|
/**
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { Fragment, Node as PMNode } from 'prosemirror-model';
|
|
|
11
11
|
import parseHtml from './parse-html';
|
|
12
12
|
import fixDoc from './fix-doc';
|
|
13
13
|
import { bfsOrder, convert, ensureBlocks } from './utils';
|
|
14
|
-
import { isSchemaWithLists, isSchemaWithMentions, isSchemaWithEmojis, isSchemaWithCodeBlock, isSchemaWithBlockQuotes, isSchemaWithMedia, isSchemaWithTables } from '@atlaskit/adf-schema';
|
|
14
|
+
import { isSchemaWithLists, isSchemaWithMentions, isSchemaWithEmojis, isSchemaWithCodeBlock, isSchemaWithBlockQuotes, isSchemaWithMedia, isSchemaWithTables } from '@atlaskit/adf-schema/schema-jira';
|
|
15
15
|
export var JIRATransformer = /*#__PURE__*/function () {
|
|
16
16
|
function JIRATransformer(schema, customEncoders, mediaContextInfo) {
|
|
17
17
|
_classCallCheck(this, JIRATransformer);
|
package/dist/esm/schema.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { isSchemaWithLists, isSchemaWithMentions, isSchemaWithLinks, isSchemaWithAdvancedTextFormattingMarks, isSchemaWithSubSupMark, isSchemaWithCodeBlock, isSchemaWithBlockQuotes, isSchemaWithMedia, isSchemaWithTextColor, isSchemaWithTables } from '@atlaskit/adf-schema';
|
|
1
|
+
export { isSchemaWithLists, isSchemaWithMentions, isSchemaWithLinks, isSchemaWithAdvancedTextFormattingMarks, isSchemaWithSubSupMark, isSchemaWithCodeBlock, isSchemaWithBlockQuotes, isSchemaWithMedia, isSchemaWithTextColor, isSchemaWithTables } from '@atlaskit/adf-schema/schema-jira';
|
package/dist/esm/utils.js
CHANGED
|
@@ -4,7 +4,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
4
4
|
|
|
5
5
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
6
6
|
|
|
7
|
-
import {
|
|
7
|
+
import { normalizeHexColor } from '@atlaskit/adf-schema';
|
|
8
|
+
import { isSchemaWithLists, isSchemaWithMentions, isSchemaWithLinks, isSchemaWithAdvancedTextFormattingMarks, isSchemaWithCodeBlock, isSchemaWithBlockQuotes, isSchemaWithMedia, isSchemaWithSubSupMark, isSchemaWithTextColor, isSchemaWithTables } from '@atlaskit/adf-schema/schema-jira';
|
|
8
9
|
import { Fragment } from 'prosemirror-model';
|
|
9
10
|
import { mapImageToEmoji } from './emojiHelper';
|
|
10
11
|
/**
|
package/dist/esm/version.json
CHANGED
package/dist/types/schema.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { isSchemaWithLists, isSchemaWithMentions, isSchemaWithLinks, isSchemaWithAdvancedTextFormattingMarks, isSchemaWithSubSupMark, isSchemaWithCodeBlock, isSchemaWithBlockQuotes, isSchemaWithMedia, isSchemaWithTextColor, isSchemaWithTables, } from '@atlaskit/adf-schema';
|
|
1
|
+
export { isSchemaWithLists, isSchemaWithMentions, isSchemaWithLinks, isSchemaWithAdvancedTextFormattingMarks, isSchemaWithSubSupMark, isSchemaWithCodeBlock, isSchemaWithBlockQuotes, isSchemaWithMedia, isSchemaWithTextColor, isSchemaWithTables, } from '@atlaskit/adf-schema/schema-jira';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-jira-transformer",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.26",
|
|
4
4
|
"description": "Editor JIRA transformer's",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@atlaskit/adf-schema": "^
|
|
28
|
-
"@atlaskit/editor-common": "^
|
|
27
|
+
"@atlaskit/adf-schema": "^23.0.0",
|
|
28
|
+
"@atlaskit/editor-common": "^66.0.0",
|
|
29
29
|
"@babel/runtime": "^7.0.0",
|
|
30
30
|
"collapse-whitespace": "^1.1.6",
|
|
31
31
|
"prosemirror-model": "1.14.3"
|
|
@@ -36,15 +36,20 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@atlaskit/activity": "^1.0.1",
|
|
38
38
|
"@atlaskit/docs": "*",
|
|
39
|
-
"@atlaskit/editor-core": "^
|
|
39
|
+
"@atlaskit/editor-core": "^164.0.0",
|
|
40
40
|
"@atlaskit/editor-json-transformer": "^8.7.0",
|
|
41
|
-
"@atlaskit/editor-test-helpers": "^
|
|
41
|
+
"@atlaskit/editor-test-helpers": "^17.0.0",
|
|
42
42
|
"@atlaskit/theme": "^12.1.0",
|
|
43
43
|
"@atlaskit/util-data-test": "^17.2.0",
|
|
44
44
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
45
45
|
"@types/prosemirror-model": "^1.11.0",
|
|
46
46
|
"styled-components": "^3.2.6",
|
|
47
|
-
"typescript": "
|
|
47
|
+
"typescript": "4.2.4"
|
|
48
48
|
},
|
|
49
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
49
|
+
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1",
|
|
50
|
+
"techstack": {
|
|
51
|
+
"@repo/internal": {
|
|
52
|
+
"theming": "tokens"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
50
55
|
}
|