@atlaskit/renderer 108.0.0 → 108.0.1

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 (96) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/actions/package.json +2 -2
  3. package/consts/package.json +2 -2
  4. package/dist/cjs/ui/Renderer/index.js +1 -1
  5. package/dist/cjs/version.json +1 -1
  6. package/dist/es2019/ui/Renderer/index.js +1 -1
  7. package/dist/es2019/version.json +1 -1
  8. package/dist/esm/ui/Renderer/index.js +1 -1
  9. package/dist/esm/version.json +1 -1
  10. package/dist/types/actions/index.d.ts +4 -4
  11. package/dist/types/analytics/enums.d.ts +1 -1
  12. package/dist/types/analytics/events.d.ts +29 -29
  13. package/dist/types/analytics/unsupported-content.d.ts +2 -2
  14. package/dist/types/i18n/cs.d.ts +6 -6
  15. package/dist/types/i18n/da.d.ts +6 -6
  16. package/dist/types/i18n/de.d.ts +6 -6
  17. package/dist/types/i18n/en.d.ts +6 -6
  18. package/dist/types/i18n/en_GB.d.ts +6 -6
  19. package/dist/types/i18n/en_ZZ.d.ts +6 -6
  20. package/dist/types/i18n/es.d.ts +6 -6
  21. package/dist/types/i18n/et.d.ts +1 -1
  22. package/dist/types/i18n/fi.d.ts +6 -6
  23. package/dist/types/i18n/fr.d.ts +6 -6
  24. package/dist/types/i18n/hu.d.ts +6 -6
  25. package/dist/types/i18n/it.d.ts +6 -6
  26. package/dist/types/i18n/ja.d.ts +6 -6
  27. package/dist/types/i18n/ko.d.ts +6 -6
  28. package/dist/types/i18n/nb.d.ts +6 -6
  29. package/dist/types/i18n/nl.d.ts +6 -6
  30. package/dist/types/i18n/pl.d.ts +6 -6
  31. package/dist/types/i18n/pt_BR.d.ts +6 -6
  32. package/dist/types/i18n/pt_PT.d.ts +1 -1
  33. package/dist/types/i18n/ru.d.ts +6 -6
  34. package/dist/types/i18n/sk.d.ts +1 -1
  35. package/dist/types/i18n/sv.d.ts +6 -6
  36. package/dist/types/i18n/th.d.ts +6 -6
  37. package/dist/types/i18n/tr.d.ts +6 -6
  38. package/dist/types/i18n/uk.d.ts +6 -6
  39. package/dist/types/i18n/vi.d.ts +6 -6
  40. package/dist/types/i18n/zh.d.ts +6 -6
  41. package/dist/types/i18n/zh_TW.d.ts +6 -6
  42. package/dist/types/react/hooks/use-observed-width.d.ts +2 -2
  43. package/dist/types/react/nodes/codeBlock/components/codeBlockCopyButton.d.ts +1 -1
  44. package/dist/types/react/nodes/codeBlock/components/codeBlockWrapButton.d.ts +1 -1
  45. package/dist/types/react/nodes/extension.d.ts +3 -3
  46. package/dist/types/react/nodes/fallback.d.ts +1 -1
  47. package/dist/types/react/nodes/heading-anchor.d.ts +2 -2
  48. package/dist/types/react/nodes/heading.d.ts +1 -1
  49. package/dist/types/react/nodes/index.d.ts +1 -1
  50. package/dist/types/react/nodes/media.d.ts +1 -1
  51. package/dist/types/react/nodes/mediaInline.d.ts +2 -2
  52. package/dist/types/react/nodes/table/sticky.d.ts +2 -2
  53. package/dist/types/react/nodes/table/table.d.ts +1 -1
  54. package/dist/types/react/nodes/table/types.d.ts +1 -1
  55. package/dist/types/react/nodes/table.d.ts +2 -2
  56. package/dist/types/react/nodes/tableCell.d.ts +2 -2
  57. package/dist/types/react/nodes/tableRow.d.ts +2 -2
  58. package/dist/types/react/nodes/text-wrapper.d.ts +1 -1
  59. package/dist/types/react/types.d.ts +2 -2
  60. package/dist/types/react/utils/getCardClickHandler.d.ts +1 -1
  61. package/dist/types/react/utils/performance/RenderTracking.d.ts +4 -4
  62. package/dist/types/render-document.d.ts +2 -2
  63. package/dist/types/renderer-context.d.ts +1 -1
  64. package/dist/types/text/nodes/index.d.ts +1 -1
  65. package/dist/types/types/mediaOptions.d.ts +1 -1
  66. package/dist/types/ui/Expand.d.ts +1 -1
  67. package/dist/types/ui/ExtensionRenderer.d.ts +2 -2
  68. package/dist/types/ui/MediaCard.d.ts +2 -2
  69. package/dist/types/ui/Renderer/style.d.ts +1 -1
  70. package/dist/types/ui/Renderer/types.d.ts +6 -6
  71. package/dist/types/ui/RendererActionsContext/index.d.ts +1 -1
  72. package/dist/types/ui/TaskItemsFormatContext/TaskItemsFormatContext.d.ts +3 -3
  73. package/dist/types/ui/active-header-id-provider.d.ts +1 -1
  74. package/dist/types/ui/annotations/context.d.ts +4 -4
  75. package/dist/types/ui/annotations/draft/component.d.ts +2 -2
  76. package/dist/types/ui/annotations/draft/text.d.ts +1 -1
  77. package/dist/types/ui/annotations/element/index.d.ts +1 -1
  78. package/dist/types/ui/annotations/element/mark.d.ts +1 -1
  79. package/dist/types/ui/annotations/hooks/use-events.d.ts +3 -3
  80. package/dist/types/ui/annotations/hooks/use-inline-comments-filter.d.ts +1 -1
  81. package/dist/types/ui/annotations/hooks/use-load-annotations.d.ts +1 -1
  82. package/dist/types/ui/annotations/hooks/user-selection.d.ts +1 -1
  83. package/dist/types/ui/annotations/selection/mounter.d.ts +1 -1
  84. package/dist/types/ui/annotations/selection/range-validator.d.ts +1 -1
  85. package/dist/types/ui/annotations/selection/wrapper.d.ts +1 -1
  86. package/dist/types/ui/annotations/types.d.ts +3 -3
  87. package/dist/types/ui/annotations/view/index.d.ts +1 -1
  88. package/dist/types/utils.d.ts +2 -2
  89. package/messages/package.json +2 -2
  90. package/package.json +16 -8
  91. package/render-document/package.json +2 -2
  92. package/renderer-context/package.json +2 -2
  93. package/serializer/package.json +2 -2
  94. package/text-serializer/package.json +2 -2
  95. package/use-feature-flags/package.json +2 -2
  96. package/utils/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 108.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
8
+ - Updated dependencies
9
+
3
10
  ## 108.0.0
4
11
 
5
12
  ### Minor Changes
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/actions.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/actions.d.ts"
11
+ "../dist/types-ts4.5/actions.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/consts.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/consts.d.ts"
11
+ "../dist/types-ts4.5/consts.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -55,7 +55,7 @@ exports.NORMAL_SEVERITY_THRESHOLD = NORMAL_SEVERITY_THRESHOLD;
55
55
  var DEGRADED_SEVERITY_THRESHOLD = 3000;
56
56
  exports.DEGRADED_SEVERITY_THRESHOLD = DEGRADED_SEVERITY_THRESHOLD;
57
57
  var packageName = "@atlaskit/renderer";
58
- var packageVersion = "108.0.0";
58
+ var packageVersion = "108.0.1";
59
59
  var Renderer = /*#__PURE__*/function (_PureComponent) {
60
60
  (0, _inherits2.default)(Renderer, _PureComponent);
61
61
  var _super = _createSuper(Renderer);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "108.0.0",
3
+ "version": "108.0.1",
4
4
  "sideEffects": false
5
5
  }
@@ -35,7 +35,7 @@ import { RenderTracking } from '../../react/utils/performance/RenderTracking';
35
35
  export const NORMAL_SEVERITY_THRESHOLD = 2000;
36
36
  export const DEGRADED_SEVERITY_THRESHOLD = 3000;
37
37
  const packageName = "@atlaskit/renderer";
38
- const packageVersion = "108.0.0";
38
+ const packageVersion = "108.0.1";
39
39
  export class Renderer extends PureComponent {
40
40
  constructor(props) {
41
41
  super(props);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "108.0.0",
3
+ "version": "108.0.1",
4
4
  "sideEffects": false
5
5
  }
@@ -45,7 +45,7 @@ import { RenderTracking } from '../../react/utils/performance/RenderTracking';
45
45
  export var NORMAL_SEVERITY_THRESHOLD = 2000;
46
46
  export var DEGRADED_SEVERITY_THRESHOLD = 3000;
47
47
  var packageName = "@atlaskit/renderer";
48
- var packageVersion = "108.0.0";
48
+ var packageVersion = "108.0.1";
49
49
  export var Renderer = /*#__PURE__*/function (_PureComponent) {
50
50
  _inherits(Renderer, _PureComponent);
51
51
  var _super = _createSuper(Renderer);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "108.0.0",
3
+ "version": "108.0.1",
4
4
  "sideEffects": false
5
5
  }
@@ -5,15 +5,15 @@ import { AnnotationTypes } from '@atlaskit/adf-schema';
5
5
  import { Node, Schema, Mark } from 'prosemirror-model';
6
6
  import { Step, RemoveMarkStep } from 'prosemirror-transform';
7
7
  import { AnalyticsEventPayload } from '../analytics/events';
8
- declare type ActionResult = {
8
+ type ActionResult = {
9
9
  step: Step;
10
10
  doc: JSONDocNode;
11
11
  } | false;
12
- declare type Position = {
12
+ type Position = {
13
13
  from: number;
14
14
  to: number;
15
15
  };
16
- declare type Annotation = {
16
+ type Annotation = {
17
17
  annotationId: string;
18
18
  annotationType: AnnotationTypes;
19
19
  };
@@ -22,7 +22,7 @@ export interface RendererActionsOptions {
22
22
  deleteAnnotation: (annotationId: string, annotationType: 'inlineComment') => ActionResult;
23
23
  isValidAnnotationRange: (range: Range) => boolean;
24
24
  }
25
- export declare type ApplyAnnotation = (pos: Position, annotation: Annotation) => AnnotationActionResult;
25
+ export type ApplyAnnotation = (pos: Position, annotation: Annotation) => AnnotationActionResult;
26
26
  export interface AnnotationsRendererActionsOptions {
27
27
  isValidAnnotationPosition: (pos: Position) => boolean;
28
28
  applyAnnotation: ApplyAnnotation;
@@ -49,7 +49,7 @@ export declare enum ACTION_SUBJECT_ID {
49
49
  CODEBLOCK_COPY = "codeBlockCopy",
50
50
  CODEBLOCK_WRAP = "codeBlockWrap"
51
51
  }
52
- export declare type AEP<Action, ActionSubject, ActionSubjectID, Attributes, EventType> = {
52
+ export type AEP<Action, ActionSubject, ActionSubjectID, Attributes, EventType> = {
53
53
  action: Action;
54
54
  actionSubject: ActionSubject;
55
55
  actionSubjectId?: ActionSubjectID;
@@ -12,10 +12,10 @@ export declare enum MODE {
12
12
  RENDERER = "renderer",
13
13
  EDITOR = "editor"
14
14
  }
15
- declare type RendererStartAEP = AEP<ACTION.STARTED, ACTION_SUBJECT.RENDERER, undefined, {
15
+ type RendererStartAEP = AEP<ACTION.STARTED, ACTION_SUBJECT.RENDERER, undefined, {
16
16
  platform: PLATFORM.WEB;
17
17
  }, EVENT_TYPE.UI>;
18
- declare type RendererRenderedAEP = AEP<ACTION.RENDERED, ACTION_SUBJECT.RENDERER, undefined, {
18
+ type RendererRenderedAEP = AEP<ACTION.RENDERED, ACTION_SUBJECT.RENDERER, undefined, {
19
19
  platform: PLATFORM.WEB;
20
20
  duration: number;
21
21
  distortedDuration: boolean;
@@ -23,12 +23,12 @@ declare type RendererRenderedAEP = AEP<ACTION.RENDERED, ACTION_SUBJECT.RENDERER,
23
23
  nodes: Record<string, number>;
24
24
  severity?: SEVERITY;
25
25
  }, EVENT_TYPE.OPERATIONAL>;
26
- declare type RendererReRenderedAEP<Props> = AEP<ACTION.RE_RENDERED, ACTION_SUBJECT.RENDERER, undefined, {
26
+ type RendererReRenderedAEP<Props> = AEP<ACTION.RE_RENDERED, ACTION_SUBJECT.RENDERER, undefined, {
27
27
  propsDifference: PropsDifference<Props> | ShallowPropsDifference<Props>;
28
28
  count: number;
29
29
  componentId?: string;
30
30
  }, EVENT_TYPE.OPERATIONAL>;
31
- export declare type ComponentCrashErrorAEP = OperationalAEP<ACTION.CRASHED, ACTION_SUBJECT.RENDERER, ACTION_SUBJECT_ID, {
31
+ export type ComponentCrashErrorAEP = OperationalAEP<ACTION.CRASHED, ACTION_SUBJECT.RENDERER, ACTION_SUBJECT_ID, {
32
32
  platform: PLATFORM.WEB;
33
33
  errorMessage?: string;
34
34
  errorStack?: string;
@@ -37,11 +37,11 @@ export declare type ComponentCrashErrorAEP = OperationalAEP<ACTION.CRASHED, ACTI
37
37
  }, {
38
38
  errorStack?: string;
39
39
  }>;
40
- declare type InvalidProsemirrorDocumentErrorAEP = AEP<ACTION.INVALID_PROSEMIRROR_DOCUMENT, ACTION_SUBJECT.RENDERER, ACTION_SUBJECT_ID, {
40
+ type InvalidProsemirrorDocumentErrorAEP = AEP<ACTION.INVALID_PROSEMIRROR_DOCUMENT, ACTION_SUBJECT.RENDERER, ACTION_SUBJECT_ID, {
41
41
  platform: PLATFORM.WEB;
42
42
  errorStack?: string;
43
43
  }, EVENT_TYPE.OPERATIONAL>;
44
- declare type RendererUnsupportedContentLevelsTrackingSucceeded = AEP<ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED, ACTION_SUBJECT.RENDERER, undefined, {
44
+ type RendererUnsupportedContentLevelsTrackingSucceeded = AEP<ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED, ACTION_SUBJECT.RENDERER, undefined, {
45
45
  appearance?: string;
46
46
  platform: PLATFORM.WEB;
47
47
  unsupportedContentLevelSeverity: UNSUPPORTED_CONTENT_LEVEL_SEVERITY;
@@ -49,70 +49,70 @@ declare type RendererUnsupportedContentLevelsTrackingSucceeded = AEP<ACTION.UNSU
49
49
  unsupportedNodesCount: number;
50
50
  supportedNodesCount: number;
51
51
  }, EVENT_TYPE.OPERATIONAL>;
52
- declare type RendererUnsupportedContentLevelsTrackingErrored = AEP<ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_ERRORED, ACTION_SUBJECT.RENDERER, undefined, {
52
+ type RendererUnsupportedContentLevelsTrackingErrored = AEP<ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_ERRORED, ACTION_SUBJECT.RENDERER, undefined, {
53
53
  platform: PLATFORM.WEB;
54
54
  error: string;
55
55
  }, EVENT_TYPE.OPERATIONAL>;
56
- declare type RendererSelectAllCaughtAEP = AEP<ACTION.SELECT_ALL_CAUGHT, ACTION_SUBJECT.RENDERER, undefined, {
56
+ type RendererSelectAllCaughtAEP = AEP<ACTION.SELECT_ALL_CAUGHT, ACTION_SUBJECT.RENDERER, undefined, {
57
57
  platform: PLATFORM.WEB;
58
58
  }, EVENT_TYPE.TRACK>;
59
- declare type RendererSelectAllEscapedAEP = AEP<ACTION.SELECT_ALL_ESCAPED, ACTION_SUBJECT.RENDERER, undefined, {
59
+ type RendererSelectAllEscapedAEP = AEP<ACTION.SELECT_ALL_ESCAPED, ACTION_SUBJECT.RENDERER, undefined, {
60
60
  platform: PLATFORM.WEB;
61
61
  }, EVENT_TYPE.TRACK>;
62
- declare type UIAEP<Action, ActionSubject, ActionSubjectID, Attributes> = AEP<Action, ActionSubject, ActionSubjectID, Attributes, EVENT_TYPE.UI>;
63
- declare type ButtonAEP<ActionSubjectID, Attributes> = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BUTTON, ActionSubjectID, Attributes>;
64
- declare type AnchorLinkAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJECT.ANCHOR_LINK, undefined, {
62
+ type UIAEP<Action, ActionSubject, ActionSubjectID, Attributes> = AEP<Action, ActionSubject, ActionSubjectID, Attributes, EVENT_TYPE.UI>;
63
+ type ButtonAEP<ActionSubjectID, Attributes> = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BUTTON, ActionSubjectID, Attributes>;
64
+ type AnchorLinkAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJECT.ANCHOR_LINK, undefined, {
65
65
  platform: PLATFORM.WEB;
66
66
  mode: MODE.RENDERER;
67
67
  }>;
68
- declare type CodeBlockCopyAEP = ButtonAEP<ACTION_SUBJECT_ID.CODEBLOCK_COPY, undefined>;
69
- declare type CodeBlockWrapAEP = ButtonAEP<ACTION_SUBJECT_ID.CODEBLOCK_WRAP, {
68
+ type CodeBlockCopyAEP = ButtonAEP<ACTION_SUBJECT_ID.CODEBLOCK_COPY, undefined>;
69
+ type CodeBlockWrapAEP = ButtonAEP<ACTION_SUBJECT_ID.CODEBLOCK_WRAP, {
70
70
  wrapped: boolean;
71
71
  }>;
72
- declare type HeadingAnchorLinkButtonAEP = ButtonAEP<ACTION_SUBJECT_ID.HEADING_ANCHOR_LINK, undefined>;
73
- declare type TableSortColumnNotAllowedAEP = AEP<ACTION.SORT_COLUMN_NOT_ALLOWED, ACTION_SUBJECT.TABLE, undefined, {
72
+ type HeadingAnchorLinkButtonAEP = ButtonAEP<ACTION_SUBJECT_ID.HEADING_ANCHOR_LINK, undefined>;
73
+ type TableSortColumnNotAllowedAEP = AEP<ACTION.SORT_COLUMN_NOT_ALLOWED, ACTION_SUBJECT.TABLE, undefined, {
74
74
  platform: PLATFORM.WEB;
75
75
  mode: MODE.RENDERER;
76
76
  }, EVENT_TYPE.TRACK>;
77
- declare type TableSortColumnAEP = AEP<ACTION.SORT_COLUMN, ACTION_SUBJECT.TABLE, undefined, {
77
+ type TableSortColumnAEP = AEP<ACTION.SORT_COLUMN, ACTION_SUBJECT.TABLE, undefined, {
78
78
  platform: PLATFORM.WEB;
79
79
  mode: MODE.RENDERER;
80
80
  sortOrder: SortOrder;
81
81
  columnIndex: number;
82
82
  }, EVENT_TYPE.TRACK>;
83
- declare type VisitLinkAEP = AEP<ACTION.VISITED, ACTION_SUBJECT.LINK, undefined, {
83
+ type VisitLinkAEP = AEP<ACTION.VISITED, ACTION_SUBJECT.LINK, undefined, {
84
84
  platform: PLATFORM.WEB;
85
85
  mode: MODE.RENDERER;
86
86
  }, EVENT_TYPE.TRACK>;
87
- declare type VisitMediaLinkAEP = AEP<ACTION.VISITED, ACTION_SUBJECT.MEDIA, ACTION_SUBJECT_ID.LINK, {
87
+ type VisitMediaLinkAEP = AEP<ACTION.VISITED, ACTION_SUBJECT.MEDIA, ACTION_SUBJECT_ID.LINK, {
88
88
  platform: PLATFORM.WEB;
89
89
  mode: MODE.RENDERER;
90
90
  }, EVENT_TYPE.TRACK>;
91
- declare type ExpandAEP = AEP<ACTION.TOGGLE_EXPAND, ACTION_SUBJECT.EXPAND | ACTION_SUBJECT.NESTED_EXPAND, undefined, {
91
+ type ExpandAEP = AEP<ACTION.TOGGLE_EXPAND, ACTION_SUBJECT.EXPAND | ACTION_SUBJECT.NESTED_EXPAND, undefined, {
92
92
  platform: PLATFORM.WEB;
93
93
  mode: MODE.RENDERER;
94
94
  expanded: boolean;
95
95
  }, EVENT_TYPE.TRACK>;
96
- export declare type AnnotationActionType = ACTION.INSERTED | ACTION.CLOSED | ACTION.EDITED | ACTION.DELETED | ACTION.OPENED | ACTION.RESOLVED | ACTION.VIEWED | ACTION.CREATE_NOT_ALLOWED;
97
- export declare type AnnotationAEPAttributes = AnnotationDraftAEPAttributes | AnnotationResolvedAEPAttributes;
98
- export declare type AnnotationDraftAEPAttributes = {
96
+ export type AnnotationActionType = ACTION.INSERTED | ACTION.CLOSED | ACTION.EDITED | ACTION.DELETED | ACTION.OPENED | ACTION.RESOLVED | ACTION.VIEWED | ACTION.CREATE_NOT_ALLOWED;
97
+ export type AnnotationAEPAttributes = AnnotationDraftAEPAttributes | AnnotationResolvedAEPAttributes;
98
+ export type AnnotationDraftAEPAttributes = {
99
99
  overlap?: number;
100
100
  };
101
- export declare type AnnotationResolvedAEPAttributes = {
101
+ export type AnnotationResolvedAEPAttributes = {
102
102
  method?: RESOLVE_METHOD;
103
103
  };
104
- export declare type AnnotationDeleteAEP = AEP<AnnotationActionType, ACTION_SUBJECT.ANNOTATION, ACTION_SUBJECT_ID, undefined, EVENT_TYPE.TRACK>;
104
+ export type AnnotationDeleteAEP = AEP<AnnotationActionType, ACTION_SUBJECT.ANNOTATION, ACTION_SUBJECT_ID, undefined, EVENT_TYPE.TRACK>;
105
105
  export declare enum RESOLVE_METHOD {
106
106
  COMPONENT = "component",
107
107
  CONSUMER = "consumer",
108
108
  ORPHANED = "orphaned"
109
109
  }
110
- export declare type AnnotationAEP = AEP<AnnotationActionType, ACTION_SUBJECT.ANNOTATION, ACTION_SUBJECT_ID.INLINE_COMMENT, AnnotationAEPAttributes, undefined>;
111
- declare type MediaLnkTransformedAEP = AEP<ACTION.MEDIA_LINK_TRANSFORMED, ACTION_SUBJECT.RENDERER, undefined, undefined, EVENT_TYPE.OPERATIONAL>;
112
- declare type RendererTTIAEP = AEP<ACTION.RENDERER_TTI, ACTION_SUBJECT.RENDERER, undefined, {
110
+ export type AnnotationAEP = AEP<AnnotationActionType, ACTION_SUBJECT.ANNOTATION, ACTION_SUBJECT_ID.INLINE_COMMENT, AnnotationAEPAttributes, undefined>;
111
+ type MediaLnkTransformedAEP = AEP<ACTION.MEDIA_LINK_TRANSFORMED, ACTION_SUBJECT.RENDERER, undefined, undefined, EVENT_TYPE.OPERATIONAL>;
112
+ type RendererTTIAEP = AEP<ACTION.RENDERER_TTI, ACTION_SUBJECT.RENDERER, undefined, {
113
113
  tti: number;
114
114
  ttiFromInvocation: number;
115
115
  canceled: boolean;
116
116
  }, EVENT_TYPE.OPERATIONAL>;
117
- export declare type AnalyticsEventPayload<T = void> = RendererStartAEP | RendererRenderedAEP | RendererReRenderedAEP<T> | ComponentCrashErrorAEP | RendererUnsupportedContentLevelsTrackingSucceeded | RendererUnsupportedContentLevelsTrackingErrored | RendererSelectAllCaughtAEP | RendererSelectAllEscapedAEP | CodeBlockCopyAEP | CodeBlockWrapAEP | HeadingAnchorLinkButtonAEP | AnchorLinkAEP | TableSortColumnNotAllowedAEP | TableSortColumnAEP | VisitLinkAEP | VisitMediaLinkAEP | ExpandAEP | UnsupportedContentPayload | UnsupportedContentTooltipPayload | AnnotationAEP | AnnotationDeleteAEP | MediaLnkTransformedAEP | InvalidProsemirrorDocumentErrorAEP | RendererTTIAEP;
117
+ export type AnalyticsEventPayload<T = void> = RendererStartAEP | RendererRenderedAEP | RendererReRenderedAEP<T> | ComponentCrashErrorAEP | RendererUnsupportedContentLevelsTrackingSucceeded | RendererUnsupportedContentLevelsTrackingErrored | RendererSelectAllCaughtAEP | RendererSelectAllEscapedAEP | CodeBlockCopyAEP | CodeBlockWrapAEP | HeadingAnchorLinkButtonAEP | AnchorLinkAEP | TableSortColumnNotAllowedAEP | TableSortColumnAEP | VisitLinkAEP | VisitMediaLinkAEP | ExpandAEP | UnsupportedContentPayload | UnsupportedContentTooltipPayload | AnnotationAEP | AnnotationDeleteAEP | MediaLnkTransformedAEP | InvalidProsemirrorDocumentErrorAEP | RendererTTIAEP;
118
118
  export {};
@@ -1,7 +1,7 @@
1
1
  import type { UnsupportedContentLevelsTracking } from '@atlaskit/editor-common/utils';
2
2
  import { AnalyticsEventPayload } from './events';
3
- declare type DispatchAnalyticsEvent = (event: AnalyticsEventPayload) => void;
4
- declare type DocumentData = {
3
+ type DispatchAnalyticsEvent = (event: AnalyticsEventPayload) => void;
4
+ type DocumentData = {
5
5
  rendererId: string;
6
6
  doc: any;
7
7
  appearance?: string;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.headingLink.ascOrderLabel': string;
3
9
  'fabric.editor.headingLink.ascSortingLabel': string;
@@ -11,10 +17,4 @@ declare const _default: {
11
17
  'fabric.editor.headingLink.noOrderLabel': string;
12
18
  'fabric.editor.headingLink.noneSortingLabel': string;
13
19
  };
14
- /**
15
- * NOTE:
16
- *
17
- * This file is automatically generated by Traduki 2.0.
18
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
19
- */
20
20
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.headingLink.ascOrderLabel': string;
3
9
  'fabric.editor.headingLink.ascSortingLabel': string;
@@ -11,10 +17,4 @@ declare const _default: {
11
17
  'fabric.editor.headingLink.noOrderLabel': string;
12
18
  'fabric.editor.headingLink.noneSortingLabel': string;
13
19
  };
14
- /**
15
- * NOTE:
16
- *
17
- * This file is automatically generated by Traduki 2.0.
18
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
19
- */
20
20
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.headingLink.ascOrderLabel': string;
3
9
  'fabric.editor.headingLink.ascSortingLabel': string;
@@ -11,10 +17,4 @@ declare const _default: {
11
17
  'fabric.editor.headingLink.noOrderLabel': string;
12
18
  'fabric.editor.headingLink.noneSortingLabel': string;
13
19
  };
14
- /**
15
- * NOTE:
16
- *
17
- * This file is automatically generated by Traduki 2.0.
18
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
19
- */
20
20
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.headingLink.ascOrderLabel': string;
3
9
  'fabric.editor.headingLink.ascSortingLabel': string;
@@ -11,10 +17,4 @@ declare const _default: {
11
17
  'fabric.editor.headingLink.noOrderLabel': string;
12
18
  'fabric.editor.headingLink.noneSortingLabel': string;
13
19
  };
14
- /**
15
- * NOTE:
16
- *
17
- * This file is automatically generated by Traduki 2.0.
18
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
19
- */
20
20
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.headingLink.ascOrderLabel': string;
3
9
  'fabric.editor.headingLink.ascSortingLabel': string;
@@ -11,10 +17,4 @@ declare const _default: {
11
17
  'fabric.editor.headingLink.noOrderLabel': string;
12
18
  'fabric.editor.headingLink.noneSortingLabel': string;
13
19
  };
14
- /**
15
- * NOTE:
16
- *
17
- * This file is automatically generated by Traduki 2.0.
18
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
19
- */
20
20
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.headingLink.ascOrderLabel': string;
3
9
  'fabric.editor.headingLink.ascSortingLabel': string;
@@ -11,10 +17,4 @@ declare const _default: {
11
17
  'fabric.editor.headingLink.noOrderLabel': string;
12
18
  'fabric.editor.headingLink.noneSortingLabel': string;
13
19
  };
14
- /**
15
- * NOTE:
16
- *
17
- * This file is automatically generated by Traduki 2.0.
18
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
19
- */
20
20
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.headingLink.ascOrderLabel': string;
3
9
  'fabric.editor.headingLink.ascSortingLabel': string;
@@ -11,10 +17,4 @@ declare const _default: {
11
17
  'fabric.editor.headingLink.noOrderLabel': string;
12
18
  'fabric.editor.headingLink.noneSortingLabel': string;
13
19
  };
14
- /**
15
- * NOTE:
16
- *
17
- * This file is automatically generated by Traduki 2.0.
18
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
19
- */
20
20
  export default _default;
@@ -1,8 +1,8 @@
1
- declare const _default: {};
2
1
  /**
3
2
  * NOTE:
4
3
  *
5
4
  * This file is automatically generated by i18n-tools.
6
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
6
  */
7
+ declare const _default: {};
8
8
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.headingLink.ascOrderLabel': string;
3
9
  'fabric.editor.headingLink.ascSortingLabel': string;
@@ -11,10 +17,4 @@ declare const _default: {
11
17
  'fabric.editor.headingLink.noOrderLabel': string;
12
18
  'fabric.editor.headingLink.noneSortingLabel': string;
13
19
  };
14
- /**
15
- * NOTE:
16
- *
17
- * This file is automatically generated by Traduki 2.0.
18
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
19
- */
20
20
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.headingLink.ascOrderLabel': string;
3
9
  'fabric.editor.headingLink.ascSortingLabel': string;
@@ -11,10 +17,4 @@ declare const _default: {
11
17
  'fabric.editor.headingLink.noOrderLabel': string;
12
18
  'fabric.editor.headingLink.noneSortingLabel': string;
13
19
  };
14
- /**
15
- * NOTE:
16
- *
17
- * This file is automatically generated by Traduki 2.0.
18
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
19
- */
20
20
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.headingLink.ascOrderLabel': string;
3
9
  'fabric.editor.headingLink.ascSortingLabel': string;
@@ -11,10 +17,4 @@ declare const _default: {
11
17
  'fabric.editor.headingLink.noOrderLabel': string;
12
18
  'fabric.editor.headingLink.noneSortingLabel': string;
13
19
  };
14
- /**
15
- * NOTE:
16
- *
17
- * This file is automatically generated by Traduki 2.0.
18
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
19
- */
20
20
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.headingLink.ascOrderLabel': string;
3
9
  'fabric.editor.headingLink.ascSortingLabel': string;
@@ -11,10 +17,4 @@ declare const _default: {
11
17
  'fabric.editor.headingLink.noOrderLabel': string;
12
18
  'fabric.editor.headingLink.noneSortingLabel': string;
13
19
  };
14
- /**
15
- * NOTE:
16
- *
17
- * This file is automatically generated by Traduki 2.0.
18
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
19
- */
20
20
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.headingLink.ascOrderLabel': string;
3
9
  'fabric.editor.headingLink.ascSortingLabel': string;
@@ -11,10 +17,4 @@ declare const _default: {
11
17
  'fabric.editor.headingLink.noOrderLabel': string;
12
18
  'fabric.editor.headingLink.noneSortingLabel': string;
13
19
  };
14
- /**
15
- * NOTE:
16
- *
17
- * This file is automatically generated by Traduki 2.0.
18
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
19
- */
20
20
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.headingLink.ascOrderLabel': string;
3
9
  'fabric.editor.headingLink.ascSortingLabel': string;
@@ -11,10 +17,4 @@ declare const _default: {
11
17
  'fabric.editor.headingLink.noOrderLabel': string;
12
18
  'fabric.editor.headingLink.noneSortingLabel': string;
13
19
  };
14
- /**
15
- * NOTE:
16
- *
17
- * This file is automatically generated by Traduki 2.0.
18
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
19
- */
20
20
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.headingLink.ascOrderLabel': string;
3
9
  'fabric.editor.headingLink.ascSortingLabel': string;
@@ -11,10 +17,4 @@ declare const _default: {
11
17
  'fabric.editor.headingLink.noOrderLabel': string;
12
18
  'fabric.editor.headingLink.noneSortingLabel': string;
13
19
  };
14
- /**
15
- * NOTE:
16
- *
17
- * This file is automatically generated by Traduki 2.0.
18
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
19
- */
20
20
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.headingLink.ascOrderLabel': string;
3
9
  'fabric.editor.headingLink.ascSortingLabel': string;
@@ -11,10 +17,4 @@ declare const _default: {
11
17
  'fabric.editor.headingLink.noOrderLabel': string;
12
18
  'fabric.editor.headingLink.noneSortingLabel': string;
13
19
  };
14
- /**
15
- * NOTE:
16
- *
17
- * This file is automatically generated by Traduki 2.0.
18
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
19
- */
20
20
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.headingLink.ascOrderLabel': string;
3
9
  'fabric.editor.headingLink.ascSortingLabel': string;
@@ -11,10 +17,4 @@ declare const _default: {
11
17
  'fabric.editor.headingLink.noOrderLabel': string;
12
18
  'fabric.editor.headingLink.noneSortingLabel': string;
13
19
  };
14
- /**
15
- * NOTE:
16
- *
17
- * This file is automatically generated by Traduki 2.0.
18
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
19
- */
20
20
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.editor.headingLink.ascOrderLabel': string;
3
9
  'fabric.editor.headingLink.ascSortingLabel': string;
@@ -11,10 +17,4 @@ declare const _default: {
11
17
  'fabric.editor.headingLink.noOrderLabel': string;
12
18
  'fabric.editor.headingLink.noneSortingLabel': string;
13
19
  };
14
- /**
15
- * NOTE:
16
- *
17
- * This file is automatically generated by Traduki 2.0.
18
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
19
- */
20
20
  export default _default;