@atlaskit/editor-wikimarkup-transformer 11.20.9 → 11.20.11

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.
Files changed (195) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/encoder/nodes/listItem.js +1 -0
  3. package/dist/cjs/parser/utils/attrs.js +1 -0
  4. package/dist/es2019/encoder/nodes/listItem.js +1 -0
  5. package/dist/es2019/encoder/nodes/text.js +3 -1
  6. package/dist/es2019/parser/tokenize/heading.js +0 -1
  7. package/dist/es2019/parser/utils/attrs.js +1 -0
  8. package/dist/esm/encoder/nodes/listItem.js +1 -0
  9. package/dist/esm/parser/tokenize/heading.js +0 -1
  10. package/dist/esm/parser/utils/attrs.js +1 -0
  11. package/dist/types/encoder/index.d.ts +2 -2
  12. package/dist/types/encoder/marks/code.d.ts +1 -1
  13. package/dist/types/encoder/marks/color.d.ts +1 -1
  14. package/dist/types/encoder/marks/em.d.ts +1 -1
  15. package/dist/types/encoder/marks/link.d.ts +1 -1
  16. package/dist/types/encoder/marks/strike.d.ts +1 -1
  17. package/dist/types/encoder/marks/strong.d.ts +1 -1
  18. package/dist/types/encoder/marks/subsup.d.ts +1 -1
  19. package/dist/types/encoder/marks/underline.d.ts +1 -1
  20. package/dist/types/encoder/nodes/block-card.d.ts +1 -1
  21. package/dist/types/encoder/nodes/blockquote.d.ts +1 -1
  22. package/dist/types/encoder/nodes/bodied-sync-block.d.ts +1 -1
  23. package/dist/types/encoder/nodes/bullet-list.d.ts +1 -1
  24. package/dist/types/encoder/nodes/caption.d.ts +1 -1
  25. package/dist/types/encoder/nodes/code-block.d.ts +1 -1
  26. package/dist/types/encoder/nodes/date.d.ts +1 -1
  27. package/dist/types/encoder/nodes/decisionItem.d.ts +2 -2
  28. package/dist/types/encoder/nodes/decisionList.d.ts +1 -1
  29. package/dist/types/encoder/nodes/doc.d.ts +1 -1
  30. package/dist/types/encoder/nodes/embed-card.d.ts +1 -1
  31. package/dist/types/encoder/nodes/emoji.d.ts +1 -1
  32. package/dist/types/encoder/nodes/expand.d.ts +1 -1
  33. package/dist/types/encoder/nodes/hard-break.d.ts +1 -1
  34. package/dist/types/encoder/nodes/heading.d.ts +1 -1
  35. package/dist/types/encoder/nodes/inline-card.d.ts +1 -1
  36. package/dist/types/encoder/nodes/inlines.d.ts +1 -1
  37. package/dist/types/encoder/nodes/listItem.d.ts +2 -2
  38. package/dist/types/encoder/nodes/media-group.d.ts +1 -1
  39. package/dist/types/encoder/nodes/media-inline.d.ts +1 -1
  40. package/dist/types/encoder/nodes/media.d.ts +1 -1
  41. package/dist/types/encoder/nodes/mention.d.ts +1 -1
  42. package/dist/types/encoder/nodes/ordered-list.d.ts +1 -1
  43. package/dist/types/encoder/nodes/panel.d.ts +1 -1
  44. package/dist/types/encoder/nodes/paragraph.d.ts +1 -1
  45. package/dist/types/encoder/nodes/rule.d.ts +1 -1
  46. package/dist/types/encoder/nodes/status.d.ts +1 -1
  47. package/dist/types/encoder/nodes/table.d.ts +1 -1
  48. package/dist/types/encoder/nodes/taskItem.d.ts +2 -2
  49. package/dist/types/encoder/nodes/taskList.d.ts +1 -1
  50. package/dist/types/encoder/nodes/text.d.ts +1 -1
  51. package/dist/types/encoder/nodes/unknown.d.ts +1 -1
  52. package/dist/types/index.d.ts +2 -2
  53. package/dist/types/interfaces.d.ts +1 -1
  54. package/dist/types/parser/abstract-tree.d.ts +2 -2
  55. package/dist/types/parser/builder/list-builder.d.ts +2 -2
  56. package/dist/types/parser/builder/table-builder.d.ts +2 -2
  57. package/dist/types/parser/nodes/mediaGroup.d.ts +2 -2
  58. package/dist/types/parser/nodes/mediaSingle.d.ts +2 -2
  59. package/dist/types/parser/nodes/paragraph.d.ts +1 -1
  60. package/dist/types/parser/nodes/rule.d.ts +1 -1
  61. package/dist/types/parser/nodes/text.d.ts +1 -1
  62. package/dist/types/parser/text.d.ts +2 -2
  63. package/dist/types/parser/tokenize/adf-macro.d.ts +1 -1
  64. package/dist/types/parser/tokenize/anchor-macro.d.ts +1 -1
  65. package/dist/types/parser/tokenize/blockquote.d.ts +1 -1
  66. package/dist/types/parser/tokenize/citation.d.ts +1 -1
  67. package/dist/types/parser/tokenize/code-macro.d.ts +1 -1
  68. package/dist/types/parser/tokenize/common-macro.d.ts +3 -3
  69. package/dist/types/parser/tokenize/dash-token-creator.d.ts +1 -1
  70. package/dist/types/parser/tokenize/deleted.d.ts +1 -1
  71. package/dist/types/parser/tokenize/double-dash-symbol.d.ts +1 -1
  72. package/dist/types/parser/tokenize/emoji.d.ts +1 -1
  73. package/dist/types/parser/tokenize/emphasis.d.ts +1 -1
  74. package/dist/types/parser/tokenize/file-link.d.ts +2 -2
  75. package/dist/types/parser/tokenize/force-line-break.d.ts +1 -1
  76. package/dist/types/parser/tokenize/hardbreak.d.ts +1 -1
  77. package/dist/types/parser/tokenize/heading.d.ts +1 -1
  78. package/dist/types/parser/tokenize/index.d.ts +2 -2
  79. package/dist/types/parser/tokenize/inserted.d.ts +1 -1
  80. package/dist/types/parser/tokenize/issue-key.d.ts +3 -3
  81. package/dist/types/parser/tokenize/link-text.d.ts +1 -1
  82. package/dist/types/parser/tokenize/links/attachment-link.d.ts +3 -3
  83. package/dist/types/parser/tokenize/links/issue-link.d.ts +3 -3
  84. package/dist/types/parser/tokenize/links/link-format.d.ts +1 -1
  85. package/dist/types/parser/tokenize/links/link-resolver.d.ts +4 -4
  86. package/dist/types/parser/tokenize/links/mention-link.d.ts +3 -3
  87. package/dist/types/parser/tokenize/links/url-link.d.ts +3 -3
  88. package/dist/types/parser/tokenize/list.d.ts +1 -1
  89. package/dist/types/parser/tokenize/media.d.ts +1 -1
  90. package/dist/types/parser/tokenize/monospace.d.ts +1 -1
  91. package/dist/types/parser/tokenize/noformat-macro.d.ts +1 -1
  92. package/dist/types/parser/tokenize/panel-macro.d.ts +1 -1
  93. package/dist/types/parser/tokenize/quadruple-dash-symbol.d.ts +1 -1
  94. package/dist/types/parser/tokenize/ruler.d.ts +1 -1
  95. package/dist/types/parser/tokenize/strong.d.ts +1 -1
  96. package/dist/types/parser/tokenize/subscript.d.ts +1 -1
  97. package/dist/types/parser/tokenize/superscript.d.ts +1 -1
  98. package/dist/types/parser/tokenize/triple-dash-symbol.d.ts +1 -1
  99. package/dist/types/parser/utils/escape.d.ts +1 -1
  100. package/dist/types/parser/utils/normalize.d.ts +1 -1
  101. package/dist/types/parser/utils/text.d.ts +1 -1
  102. package/dist/types/parser/utils/title.d.ts +1 -1
  103. package/dist/types-ts4.5/encoder/index.d.ts +2 -2
  104. package/dist/types-ts4.5/encoder/marks/code.d.ts +1 -1
  105. package/dist/types-ts4.5/encoder/marks/color.d.ts +1 -1
  106. package/dist/types-ts4.5/encoder/marks/em.d.ts +1 -1
  107. package/dist/types-ts4.5/encoder/marks/link.d.ts +1 -1
  108. package/dist/types-ts4.5/encoder/marks/strike.d.ts +1 -1
  109. package/dist/types-ts4.5/encoder/marks/strong.d.ts +1 -1
  110. package/dist/types-ts4.5/encoder/marks/subsup.d.ts +1 -1
  111. package/dist/types-ts4.5/encoder/marks/underline.d.ts +1 -1
  112. package/dist/types-ts4.5/encoder/nodes/block-card.d.ts +1 -1
  113. package/dist/types-ts4.5/encoder/nodes/blockquote.d.ts +1 -1
  114. package/dist/types-ts4.5/encoder/nodes/bodied-sync-block.d.ts +1 -1
  115. package/dist/types-ts4.5/encoder/nodes/bullet-list.d.ts +1 -1
  116. package/dist/types-ts4.5/encoder/nodes/caption.d.ts +1 -1
  117. package/dist/types-ts4.5/encoder/nodes/code-block.d.ts +1 -1
  118. package/dist/types-ts4.5/encoder/nodes/date.d.ts +1 -1
  119. package/dist/types-ts4.5/encoder/nodes/decisionItem.d.ts +2 -2
  120. package/dist/types-ts4.5/encoder/nodes/decisionList.d.ts +1 -1
  121. package/dist/types-ts4.5/encoder/nodes/doc.d.ts +1 -1
  122. package/dist/types-ts4.5/encoder/nodes/embed-card.d.ts +1 -1
  123. package/dist/types-ts4.5/encoder/nodes/emoji.d.ts +1 -1
  124. package/dist/types-ts4.5/encoder/nodes/expand.d.ts +1 -1
  125. package/dist/types-ts4.5/encoder/nodes/hard-break.d.ts +1 -1
  126. package/dist/types-ts4.5/encoder/nodes/heading.d.ts +1 -1
  127. package/dist/types-ts4.5/encoder/nodes/inline-card.d.ts +1 -1
  128. package/dist/types-ts4.5/encoder/nodes/inlines.d.ts +1 -1
  129. package/dist/types-ts4.5/encoder/nodes/listItem.d.ts +2 -2
  130. package/dist/types-ts4.5/encoder/nodes/media-group.d.ts +1 -1
  131. package/dist/types-ts4.5/encoder/nodes/media-inline.d.ts +1 -1
  132. package/dist/types-ts4.5/encoder/nodes/media.d.ts +1 -1
  133. package/dist/types-ts4.5/encoder/nodes/mention.d.ts +1 -1
  134. package/dist/types-ts4.5/encoder/nodes/ordered-list.d.ts +1 -1
  135. package/dist/types-ts4.5/encoder/nodes/panel.d.ts +1 -1
  136. package/dist/types-ts4.5/encoder/nodes/paragraph.d.ts +1 -1
  137. package/dist/types-ts4.5/encoder/nodes/rule.d.ts +1 -1
  138. package/dist/types-ts4.5/encoder/nodes/status.d.ts +1 -1
  139. package/dist/types-ts4.5/encoder/nodes/table.d.ts +1 -1
  140. package/dist/types-ts4.5/encoder/nodes/taskItem.d.ts +2 -2
  141. package/dist/types-ts4.5/encoder/nodes/taskList.d.ts +1 -1
  142. package/dist/types-ts4.5/encoder/nodes/text.d.ts +1 -1
  143. package/dist/types-ts4.5/encoder/nodes/unknown.d.ts +1 -1
  144. package/dist/types-ts4.5/index.d.ts +2 -2
  145. package/dist/types-ts4.5/interfaces.d.ts +1 -1
  146. package/dist/types-ts4.5/parser/abstract-tree.d.ts +2 -2
  147. package/dist/types-ts4.5/parser/builder/list-builder.d.ts +2 -2
  148. package/dist/types-ts4.5/parser/builder/table-builder.d.ts +2 -2
  149. package/dist/types-ts4.5/parser/nodes/mediaGroup.d.ts +2 -2
  150. package/dist/types-ts4.5/parser/nodes/mediaSingle.d.ts +2 -2
  151. package/dist/types-ts4.5/parser/nodes/paragraph.d.ts +1 -1
  152. package/dist/types-ts4.5/parser/nodes/rule.d.ts +1 -1
  153. package/dist/types-ts4.5/parser/nodes/text.d.ts +1 -1
  154. package/dist/types-ts4.5/parser/text.d.ts +2 -2
  155. package/dist/types-ts4.5/parser/tokenize/adf-macro.d.ts +1 -1
  156. package/dist/types-ts4.5/parser/tokenize/anchor-macro.d.ts +1 -1
  157. package/dist/types-ts4.5/parser/tokenize/blockquote.d.ts +1 -1
  158. package/dist/types-ts4.5/parser/tokenize/citation.d.ts +1 -1
  159. package/dist/types-ts4.5/parser/tokenize/code-macro.d.ts +1 -1
  160. package/dist/types-ts4.5/parser/tokenize/common-macro.d.ts +3 -3
  161. package/dist/types-ts4.5/parser/tokenize/dash-token-creator.d.ts +1 -1
  162. package/dist/types-ts4.5/parser/tokenize/deleted.d.ts +1 -1
  163. package/dist/types-ts4.5/parser/tokenize/double-dash-symbol.d.ts +1 -1
  164. package/dist/types-ts4.5/parser/tokenize/emoji.d.ts +1 -1
  165. package/dist/types-ts4.5/parser/tokenize/emphasis.d.ts +1 -1
  166. package/dist/types-ts4.5/parser/tokenize/file-link.d.ts +2 -2
  167. package/dist/types-ts4.5/parser/tokenize/force-line-break.d.ts +1 -1
  168. package/dist/types-ts4.5/parser/tokenize/hardbreak.d.ts +1 -1
  169. package/dist/types-ts4.5/parser/tokenize/heading.d.ts +1 -1
  170. package/dist/types-ts4.5/parser/tokenize/index.d.ts +2 -2
  171. package/dist/types-ts4.5/parser/tokenize/inserted.d.ts +1 -1
  172. package/dist/types-ts4.5/parser/tokenize/issue-key.d.ts +3 -3
  173. package/dist/types-ts4.5/parser/tokenize/link-text.d.ts +1 -1
  174. package/dist/types-ts4.5/parser/tokenize/links/attachment-link.d.ts +3 -3
  175. package/dist/types-ts4.5/parser/tokenize/links/issue-link.d.ts +3 -3
  176. package/dist/types-ts4.5/parser/tokenize/links/link-format.d.ts +1 -1
  177. package/dist/types-ts4.5/parser/tokenize/links/link-resolver.d.ts +4 -4
  178. package/dist/types-ts4.5/parser/tokenize/links/mention-link.d.ts +3 -3
  179. package/dist/types-ts4.5/parser/tokenize/links/url-link.d.ts +3 -3
  180. package/dist/types-ts4.5/parser/tokenize/list.d.ts +1 -1
  181. package/dist/types-ts4.5/parser/tokenize/media.d.ts +1 -1
  182. package/dist/types-ts4.5/parser/tokenize/monospace.d.ts +1 -1
  183. package/dist/types-ts4.5/parser/tokenize/noformat-macro.d.ts +1 -1
  184. package/dist/types-ts4.5/parser/tokenize/panel-macro.d.ts +1 -1
  185. package/dist/types-ts4.5/parser/tokenize/quadruple-dash-symbol.d.ts +1 -1
  186. package/dist/types-ts4.5/parser/tokenize/ruler.d.ts +1 -1
  187. package/dist/types-ts4.5/parser/tokenize/strong.d.ts +1 -1
  188. package/dist/types-ts4.5/parser/tokenize/subscript.d.ts +1 -1
  189. package/dist/types-ts4.5/parser/tokenize/superscript.d.ts +1 -1
  190. package/dist/types-ts4.5/parser/tokenize/triple-dash-symbol.d.ts +1 -1
  191. package/dist/types-ts4.5/parser/utils/escape.d.ts +1 -1
  192. package/dist/types-ts4.5/parser/utils/normalize.d.ts +1 -1
  193. package/dist/types-ts4.5/parser/utils/text.d.ts +1 -1
  194. package/dist/types-ts4.5/parser/utils/title.d.ts +1 -1
  195. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/editor-wikimarkup-transformer
2
2
 
3
+ ## 11.20.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [`e974c7d2d3aef`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e974c7d2d3aef) -
8
+ Mechanical type-import autofix for editor-wikimarkup-transformer.
9
+
10
+ ## 11.20.10
11
+
12
+ ### Patch Changes
13
+
14
+ - [`0f4a08b633f6e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0f4a08b633f6e) -
15
+ Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
16
+ - Updated dependencies
17
+
3
18
  ## 11.20.9
4
19
 
5
20
  ### Patch Changes
@@ -30,6 +30,7 @@ var listItem = exports.listItem = function listItem(node, prefix, context) {
30
30
  result.push("".concat(prefix, " ").concat(contentBuffer.join('\n')));
31
31
  contentBuffer = [];
32
32
  }
33
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
33
34
  var nestedList = (0, _.encode)(n, context).split('\n').map(function (line) {
34
35
  if (['#', '*'].indexOf(line.substr(0, 1)) !== -1) {
35
36
  return "".concat(prefix).concat(line);
@@ -14,6 +14,7 @@ function parseAttrs(str) {
14
14
  }
15
15
  var attributesStr = str.split(sep);
16
16
  attributesStr.forEach(function (attributeStr) {
17
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
17
18
  var _attributeStr$split = attributeStr.split('='),
18
19
  _attributeStr$split2 = (0, _toArray2.default)(_attributeStr$split),
19
20
  key = _attributeStr$split2[0],
@@ -24,6 +24,7 @@ export const listItem = (node, prefix, context) => {
24
24
  result.push(`${prefix} ${contentBuffer.join('\n')}`);
25
25
  contentBuffer = [];
26
26
  }
27
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
27
28
  const nestedList = encode(n, context).split('\n').map(line => {
28
29
  if (['#', '*'].indexOf(line.substr(0, 1)) !== -1) {
29
30
  return `${prefix}${line}`;
@@ -42,7 +42,9 @@ const isEscapeNeeded = (node, parent) => {
42
42
  * ADFEXP-131: Improved logic for escaping metacharacters "[" and "!"
43
43
  */
44
44
  function escapingWikiFormatter(text) {
45
- const pattern = [MENTION_ESCAPE_PATTERN, ...macroKeywordTokenMap.map(macro => `(${macro.regex.source.replace('^', '')})`)].join('|');
45
+ const pattern = [MENTION_ESCAPE_PATTERN,
46
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
47
+ ...macroKeywordTokenMap.map(macro => `(${macro.regex.source.replace('^', '')})`)].join('|');
46
48
  return text
47
49
  // Ignored via go/ees005
48
50
  // eslint-disable-next-line require-unicode-regexp
@@ -1,6 +1,5 @@
1
1
  import { parseString } from '../text';
2
2
  import { TokenType } from './';
3
-
4
3
  // h1. HEADING
5
4
  // Ignored via go/ees005
6
5
  // eslint-disable-next-line require-unicode-regexp
@@ -5,6 +5,7 @@ export function parseAttrs(str, sep = '|') {
5
5
  }
6
6
  const attributesStr = str.split(sep);
7
7
  attributesStr.forEach(attributeStr => {
8
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
8
9
  const [key, ...value] = attributeStr.split('=');
9
10
  // take only first value of the same keys
10
11
  if (!output[key]) {
@@ -24,6 +24,7 @@ export var listItem = function listItem(node, prefix, context) {
24
24
  result.push("".concat(prefix, " ").concat(contentBuffer.join('\n')));
25
25
  contentBuffer = [];
26
26
  }
27
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
27
28
  var nestedList = encode(n, context).split('\n').map(function (line) {
28
29
  if (['#', '*'].indexOf(line.substr(0, 1)) !== -1) {
29
30
  return "".concat(prefix).concat(line);
@@ -1,6 +1,5 @@
1
1
  import { parseString } from '../text';
2
2
  import { TokenType } from './';
3
-
4
3
  // h1. HEADING
5
4
  // Ignored via go/ees005
6
5
  // eslint-disable-next-line require-unicode-regexp
@@ -7,6 +7,7 @@ export function parseAttrs(str) {
7
7
  }
8
8
  var attributesStr = str.split(sep);
9
9
  attributesStr.forEach(function (attributeStr) {
10
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
10
11
  var _attributeStr$split = attributeStr.split('='),
11
12
  _attributeStr$split2 = _toArray(_attributeStr$split),
12
13
  key = _attributeStr$split2[0],
@@ -1,5 +1,5 @@
1
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
- import { type Context } from '../interfaces';
1
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Context } from '../interfaces';
3
3
  export type MarkEncoder = (text: string, attrs: any) => string;
4
4
  export type NodeEncoder = (node: PMNode, opts?: NodeEncoderOpts) => string;
5
5
  export type NodeEncoderOpts = {
@@ -1,2 +1,2 @@
1
- import { type MarkEncoder } from '..';
1
+ import type { MarkEncoder } from '..';
2
2
  export declare const code: MarkEncoder;
@@ -1,2 +1,2 @@
1
- import { type MarkEncoder } from '..';
1
+ import type { MarkEncoder } from '..';
2
2
  export declare const textColor: MarkEncoder;
@@ -1,2 +1,2 @@
1
- import { type MarkEncoder } from '..';
1
+ import type { MarkEncoder } from '..';
2
2
  export declare const em: MarkEncoder;
@@ -1,2 +1,2 @@
1
- import { type MarkEncoder } from '..';
1
+ import type { MarkEncoder } from '..';
2
2
  export declare const link: MarkEncoder;
@@ -1,2 +1,2 @@
1
- import { type MarkEncoder } from '..';
1
+ import type { MarkEncoder } from '..';
2
2
  export declare const strike: MarkEncoder;
@@ -1,4 +1,4 @@
1
- import { type MarkEncoder } from '..';
1
+ import type { MarkEncoder } from '..';
2
2
  /**
3
3
  * For text that has leading and ending space. We don't want to
4
4
  * convert it to `*strong *. Instead, we need it to be `*strong* `
@@ -1,2 +1,2 @@
1
- import { type MarkEncoder } from '..';
1
+ import type { MarkEncoder } from '..';
2
2
  export declare const subsup: MarkEncoder;
@@ -1,2 +1,2 @@
1
- import { type MarkEncoder } from '..';
1
+ import type { MarkEncoder } from '..';
2
2
  export declare const underline: MarkEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const blockCard: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const blockquote: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const bodiedSyncBlock: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const bulletList: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const caption: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const codeBlock: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const date: NodeEncoder;
@@ -1,3 +1,3 @@
1
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
- import { type NodeEncoderOpts } from '..';
1
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
+ import type { NodeEncoderOpts } from '..';
3
3
  export declare const decisionItem: (node: PMNode, { context }?: NodeEncoderOpts) => string;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const decisionList: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '../';
1
+ import type { NodeEncoder } from '../';
2
2
  export declare const doc: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const embedCard: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const emoji: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const expand: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const hardBreak: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const heading: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const inlineCard: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const inlines: NodeEncoder;
@@ -1,3 +1,3 @@
1
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
- import { type Context } from '../../interfaces';
1
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Context } from '../../interfaces';
3
3
  export declare const listItem: (node: PMNode, prefix: string, context?: Context) => string;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const mediaGroup: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const mediaInline: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const media: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const mention: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const orderedList: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const panel: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const paragraph: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const rule: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const status: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const table: NodeEncoder;
@@ -1,3 +1,3 @@
1
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
- import { type NodeEncoderOpts } from '..';
1
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
+ import type { NodeEncoderOpts } from '..';
3
3
  export declare const taskItem: (node: PMNode, nestedLevel: number, { context }?: NodeEncoderOpts) => string;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const taskList: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const text: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const unknown: NodeEncoder;
@@ -1,5 +1,5 @@
1
- import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { type Context } from './interfaces';
1
+ import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Context } from './interfaces';
3
3
  interface Transformer<T> {
4
4
  encode: (node: PMNode) => T;
5
5
  parse: (content: T) => PMNode;
@@ -1,4 +1,4 @@
1
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
2
  export interface AddArgs {
3
3
  content: PMNode[];
4
4
  style: string | null;
@@ -1,5 +1,5 @@
1
- import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { type Context } from '../interfaces';
1
+ import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Context } from '../interfaces';
3
3
  export default class AbstractTree {
4
4
  private schema;
5
5
  private wikiMarkup;
@@ -1,5 +1,5 @@
1
- import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { type AddArgs, type ListType } from '../../interfaces';
1
+ import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { AddArgs, ListType } from '../../interfaces';
3
3
  /**
4
4
  * Return the type of a list from the bullets
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { type AddCellArgs, type Builder } from '../../interfaces';
1
+ import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { AddCellArgs, Builder } from '../../interfaces';
3
3
  export declare class TableBuilder implements Builder {
4
4
  private schema;
5
5
  private root;
@@ -1,3 +1,3 @@
1
- import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { type Context } from '../../interfaces';
1
+ import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Context } from '../../interfaces';
3
3
  export default function getMediaGroupNodeView(schema: Schema, filename: string, context?: Context): PMNode;
@@ -1,5 +1,5 @@
1
- import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { type Context } from '../../interfaces';
1
+ import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Context } from '../../interfaces';
3
3
  export default function getMediaSingleNodeView(schema: Schema, filename: string, attrs: {
4
4
  [key: string]: string;
5
5
  }, context?: Context): PMNode;
@@ -1,4 +1,4 @@
1
- import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
2
  export declare function createEmptyParagraphNode(schema: Schema): PMNode;
3
3
  /**
4
4
  * Create paragraphs from inline nodes. Function will return
@@ -1,3 +1,3 @@
1
- import { type Node as PMNode, type NodeType, type Schema } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Node as PMNode, NodeType, Schema } from '@atlaskit/editor-prosemirror/model';
2
2
  export default function getRuleNodeView(schema: Schema, containerNodeType: NodeType | null): PMNode;
3
3
  export declare function createRuleNode(schema: Schema): PMNode[];
@@ -1,2 +1,2 @@
1
- import { type Mark as PMMark, type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Mark as PMMark, Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
2
  export declare function createTextNode(input: string, schema: Schema, marks?: PMMark[]): PMNode[];
@@ -1,6 +1,6 @@
1
- import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
2
  import { TokenType } from './tokenize';
3
- import { type Context } from '../interfaces';
3
+ import type { Context } from '../interfaces';
4
4
  export declare function parseString({ input, schema, ignoreTokenTypes, context, includeLeadingSpace, }: {
5
5
  context: Context;
6
6
  ignoreTokenTypes: TokenType[];
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from '.';
1
+ import type { TokenParser } from '.';
2
2
  export declare const adfMacro: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from '.';
1
+ import type { TokenParser } from '.';
2
2
  export declare const anchorMacro: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const blockquote: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const citation: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from '.';
1
+ import type { TokenParser } from '.';
2
2
  export declare const codeMacro: TokenParser;
@@ -1,6 +1,6 @@
1
- import { type Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { type Token } from './';
3
- import { type Context } from '../../interfaces';
1
+ import type { Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Token } from './';
3
+ import type { Context } from '../../interfaces';
4
4
  export interface MacroOption {
5
5
  context: Context;
6
6
  keyword: string;
@@ -1,2 +1,2 @@
1
- import { type TextToken, type TokenParser } from './';
1
+ import type { TextToken, TokenParser } from './';
2
2
  export declare const createDashTokenParser: (token: TextToken, fallback: TextToken) => TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const deleted: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const doubleDashSymbol: TokenParser;
@@ -1,4 +1,4 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const emoji: TokenParser;
3
3
  interface AdfEmojiItems {
4
4
  [key: string]: {
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const emphasis: TokenParser;
@@ -1,3 +1,3 @@
1
- import { type Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { type Token } from './';
1
+ import type { Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Token } from './';
3
3
  export declare function fileLink(input: string, position: number, schema: Schema): Token;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const forceLineBreak: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const hardbreak: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const heading: TokenParser;
@@ -1,5 +1,5 @@
1
- import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { type Context } from '../../interfaces';
1
+ import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Context } from '../../interfaces';
3
3
  export declare enum TokenType {
4
4
  ADF_MACRO = "ADF_MACRO",// {adf}
5
5
  ANCHOR_MACRO = "ANCHOR_MACRO",// {anchor}
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const inserted: TokenParser;
@@ -1,6 +1,6 @@
1
- import { type Schema, type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
- import { type TokenParser } from './';
3
- import { type Context, type ConversionMap } from '../../interfaces';
1
+ import type { Schema, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
+ import type { TokenParser } from './';
3
+ import type { Context, ConversionMap } from '../../interfaces';
4
4
  /**
5
5
  * Inline Card From Text (ICFT).
6
6
  *
@@ -1,3 +1,3 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const LINK_TEXT_REGEXP: RegExp;
3
3
  export declare const linkText: TokenParser;
@@ -1,4 +1,4 @@
1
- import { type ContentLink } from './link-parser';
2
- import { type Schema, type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
- import { type Context } from '../../../interfaces';
1
+ import type { ContentLink } from './link-parser';
2
+ import type { Schema, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
+ import type { Context } from '../../../interfaces';
4
4
  export declare function attachmentLinkResolver(link: ContentLink, schema: Schema, context: Context): PMNode[] | undefined;
@@ -1,4 +1,4 @@
1
- import { type ContentLink } from './link-parser';
2
- import { type Schema, type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
- import { type Context } from '../../../interfaces';
1
+ import type { ContentLink } from './link-parser';
2
+ import type { Schema, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
+ import type { Context } from '../../../interfaces';
4
4
  export declare function issueLinkResolver(link: ContentLink, schema: Schema, context: Context): PMNode[] | undefined;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from '../';
1
+ import type { TokenParser } from '../';
2
2
  export declare const linkFormat: TokenParser;
@@ -1,5 +1,5 @@
1
- import { type ContentLink } from './link-parser';
2
- import { type Token } from '../index';
3
- import { type Context } from '../../../interfaces';
4
- import { type Schema } from '@atlaskit/editor-prosemirror/model';
1
+ import type { ContentLink } from './link-parser';
2
+ import type { Token } from '../index';
3
+ import type { Context } from '../../../interfaces';
4
+ import type { Schema } from '@atlaskit/editor-prosemirror/model';
5
5
  export declare function resolveLink(link: ContentLink, schema: Schema, context: Context): Token | undefined;
@@ -1,4 +1,4 @@
1
- import { type ContentLink } from './link-parser';
2
- import { type Schema, type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
- import { type Context } from '../../../interfaces';
1
+ import type { ContentLink } from './link-parser';
2
+ import type { Schema, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
+ import type { Context } from '../../../interfaces';
4
4
  export declare function mentionLinkResolver(link: ContentLink, schema: Schema, context: Context): PMNode[] | undefined;