@atlaskit/editor-jira-transformer 8.5.2 → 8.5.3

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/docs/0-intro.tsx CHANGED
@@ -20,11 +20,11 @@ This package provides a transformation from ProseMirror Node → wikimarkup and
20
20
  serializer.parse(html);`}
21
21
 
22
22
  ${(
23
- <Example
24
- packageName="@atlaskit/editor-jira-transformer"
25
- Component={require('../examples/1-jira-html-input').default}
26
- title="Jira HTML Input"
27
- source={require('!!raw-loader!../examples/1-jira-html-input')}
28
- />
29
- )}
23
+ <Example
24
+ packageName="@atlaskit/editor-jira-transformer"
25
+ Component={require('../examples/1-jira-html-input').default}
26
+ title="Jira HTML Input"
27
+ source={require('!!raw-loader!../examples/1-jira-html-input')}
28
+ />
29
+ )}
30
30
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-jira-transformer",
3
- "version": "8.5.2",
3
+ "version": "8.5.3",
4
4
  "description": "Editor JIRA transformer's",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "@atlaskit/adf-schema": "^36.10.7",
45
- "@atlaskit/editor-common": "^81.0.0",
45
+ "@atlaskit/editor-common": "^82.0.0",
46
46
  "@atlaskit/editor-prosemirror": "4.0.1",
47
47
  "@babel/runtime": "^7.0.0",
48
48
  "collapse-whitespace": "^1.1.6"
@@ -52,17 +52,15 @@
52
52
  },
53
53
  "devDependencies": {
54
54
  "@atlaskit/activity": "^1.0.1",
55
- "@atlaskit/editor-core": "^193.23.0",
55
+ "@atlaskit/editor-core": "^193.24.0",
56
56
  "@atlaskit/editor-json-transformer": "^8.13.0",
57
57
  "@atlaskit/editor-test-helpers": "^18.23.0",
58
58
  "@atlaskit/theme": "^12.8.0",
59
59
  "@atlaskit/tokens": "1.49.1",
60
60
  "@atlaskit/util-data-test": "^17.9.0",
61
- "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
62
61
  "@emotion/react": "^11.7.1",
63
62
  "typescript": "~5.4.2"
64
63
  },
65
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1",
66
64
  "techstack": {
67
65
  "@repo/internal": {
68
66
  "design-tokens": [
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/editor-jira-transformer"
4
4
 
5
- > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using
6
+ > [API Extractor](https://api-extractor.com/).
6
7
  > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
8
 
8
9
  ### Table of contents
@@ -21,14 +22,14 @@ import { Transformer as Transformer_2 } from '@atlaskit/editor-common/types';
21
22
 
22
23
  // @public (undocumented)
23
24
  export interface ContextInfo {
24
- // (undocumented)
25
- baseUrl: string;
26
- // (undocumented)
27
- clientId: string;
28
- // (undocumented)
29
- collection: string;
30
- // (undocumented)
31
- token: string;
25
+ // (undocumented)
26
+ baseUrl: string;
27
+ // (undocumented)
28
+ clientId: string;
29
+ // (undocumented)
30
+ collection: string;
31
+ // (undocumented)
32
+ token: string;
32
33
  }
33
34
 
34
35
  // @public (undocumented)
@@ -36,29 +37,29 @@ export type CustomEncoder = (userId: string) => string;
36
37
 
37
38
  // @public (undocumented)
38
39
  export interface JIRACustomEncoders {
39
- // (undocumented)
40
- mention?: CustomEncoder;
40
+ // (undocumented)
41
+ mention?: CustomEncoder;
41
42
  }
42
43
 
43
44
  // @public (undocumented)
44
45
  export class JIRATransformer implements Transformer_2<string> {
45
- constructor(
46
- schema: Schema,
47
- customEncoders?: JIRACustomEncoders,
48
- mediaContextInfo?: MediaContextInfo,
49
- );
50
- // (undocumented)
51
- encode(node: Node_2): string;
52
- // (undocumented)
53
- parse(html: string): Node_2;
46
+ constructor(
47
+ schema: Schema,
48
+ customEncoders?: JIRACustomEncoders,
49
+ mediaContextInfo?: MediaContextInfo,
50
+ );
51
+ // (undocumented)
52
+ encode(node: Node_2): string;
53
+ // (undocumented)
54
+ parse(html: string): Node_2;
54
55
  }
55
56
 
56
57
  // @public (undocumented)
57
58
  export interface MediaContextInfo {
58
- // (undocumented)
59
- uploadContext?: ContextInfo;
60
- // (undocumented)
61
- viewContext?: ContextInfo;
59
+ // (undocumented)
60
+ uploadContext?: ContextInfo;
61
+ // (undocumented)
62
+ viewContext?: ContextInfo;
62
63
  }
63
64
 
64
65
  // (No @packageDocumentation comment for this package)
@@ -72,7 +73,7 @@ export interface MediaContextInfo {
72
73
 
73
74
  ```json
74
75
  {
75
- "react": "^16.8.0"
76
+ "react": "^16.8.0"
76
77
  }
77
78
  ```
78
79