@atlaskit/editor-wikimarkup-transformer 11.2.39 → 11.2.41

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,17 @@
1
1
  # @atlaskit/editor-wikimarkup-transformer
2
2
 
3
+ ## 11.2.41
4
+
5
+ ### Patch Changes
6
+
7
+ - [#77984](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77984) [`eb7139b3ec21`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/eb7139b3ec21) - Replace hardcoded values with spacing tokens
8
+
9
+ ## 11.2.40
10
+
11
+ ### Patch Changes
12
+
13
+ - [#73858](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/73858) [`925ea89ab300`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/925ea89ab300) - ED-21501 Add support for lists in blockquote in wiki->adf conversion
14
+
3
15
  ## 11.2.39
4
16
 
5
17
  ### Patch Changes
@@ -61,9 +61,11 @@ function sanitize(nodes, schema) {
61
61
  var n = _step.value;
62
62
  switch (n.type.name) {
63
63
  case 'paragraph':
64
+ case 'bulletList':
65
+ case 'orderedList':
64
66
  {
65
67
  /**
66
- * blockquote is happy with paragraph
68
+ * blockquote is happy with paragraph and list
67
69
  */
68
70
  contentBuffer.push(n);
69
71
  break;
@@ -47,9 +47,11 @@ function sanitize(nodes, schema) {
47
47
  for (const n of nodes) {
48
48
  switch (n.type.name) {
49
49
  case 'paragraph':
50
+ case 'bulletList':
51
+ case 'orderedList':
50
52
  {
51
53
  /**
52
- * blockquote is happy with paragraph
54
+ * blockquote is happy with paragraph and list
53
55
  */
54
56
  contentBuffer.push(n);
55
57
  break;
@@ -54,9 +54,11 @@ function sanitize(nodes, schema) {
54
54
  var n = _step.value;
55
55
  switch (n.type.name) {
56
56
  case 'paragraph':
57
+ case 'bulletList':
58
+ case 'orderedList':
57
59
  {
58
60
  /**
59
- * blockquote is happy with paragraph
61
+ * blockquote is happy with paragraph and list
60
62
  */
61
63
  contentBuffer.push(n);
62
64
  break;
@@ -1,6 +1,6 @@
1
- import { Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { Token, TokenParser } from '.';
3
- import { Context } from '../../interfaces';
1
+ import type { Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Token, TokenParser } from '.';
3
+ import type { Context } from '../../interfaces';
4
4
  export declare const quoteMacro: TokenParser;
5
5
  export declare const rawContentProcessor: (_rawAttrs: string, rawContent: string, length: number, schema: Schema, context: Context) => Token;
6
6
  export type Writeable<T> = {
@@ -1,6 +1,6 @@
1
- import { Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { Token, TokenParser } from '.';
3
- import { Context } from '../../interfaces';
1
+ import type { Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Token, TokenParser } from '.';
3
+ import type { Context } from '../../interfaces';
4
4
  export declare const quoteMacro: TokenParser;
5
5
  export declare const rawContentProcessor: (_rawAttrs: string, rawContent: string, length: number, schema: Schema, context: Context) => Token;
6
6
  export type Writeable<T> = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-wikimarkup-transformer",
3
- "version": "11.2.39",
3
+ "version": "11.2.41",
4
4
  "description": "Wiki markup transformer for JIRA and Confluence",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -40,9 +40,9 @@
40
40
  },
41
41
  "devDependencies": {
42
42
  "@atlaskit/activity": "^1.0.1",
43
- "@atlaskit/editor-core": "^191.7.0",
43
+ "@atlaskit/editor-core": "^192.4.0",
44
44
  "@atlaskit/editor-test-helpers": "^18.18.0",
45
- "@atlaskit/tokens": "^1.35.0",
45
+ "@atlaskit/tokens": "^1.38.0",
46
46
  "@atlaskit/util-data-test": "^17.9.0",
47
47
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
48
48
  "@emotion/react": "^11.7.1",