@atlaskit/editor-core 193.24.0 → 193.24.15

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 (116) hide show
  1. package/.eslintrc.js +37 -37
  2. package/CHANGELOG.md +17424 -17539
  3. package/architecture/0001-record-architecture-decisions.md +6 -3
  4. package/architecture/0002-deep-equality-check-for-getsharedstate.md +9 -8
  5. package/architecture/0003-explicit-plugin-dependencies.md +47 -18
  6. package/codemods/140.0.0-rc-kraken-fix-type-errors.ts +1 -3
  7. package/codemods/145.0.0-deprecate-props.ts +1 -3
  8. package/codemods/172.0.0-transform-smartlinks-prop.ts +1 -3
  9. package/codemods/175.0.0-rename-unsafe-allowUndoRedoButton-prop.ts +1 -1
  10. package/codemods/180.1.0-update-to-editor-migration-component.ts +1 -3
  11. package/codemods/__tests__/next-remove-allow-more-text-colors-prop.ts +29 -31
  12. package/codemods/__tests__/remove-config-panel-width-prop.ts +29 -31
  13. package/codemods/__tests__/rename-editor-to-editor-migration-component.ts +43 -45
  14. package/codemods/__tests__/rename-smartlinks-prop.ts +57 -59
  15. package/codemods/__tests__/rename-unsafe-allowUndoRedoButtons-prop.ts +43 -43
  16. package/codemods/__tests__/rename-unsafe-cards-prop.ts +43 -45
  17. package/codemods/migrates/next-remove-allow-more-text-colors-prop.ts +41 -45
  18. package/codemods/migrates/remove-config-panel-width-prop.ts +20 -29
  19. package/codemods/migrates/rename-editor-to-editor-migration-component.ts +20 -24
  20. package/codemods/migrates/rename-smartlinks-prop.ts +30 -38
  21. package/codemods/migrates/rename-unsafe-allowUndoRedoButtons-prop.ts +4 -5
  22. package/codemods/migrates/rename-unsafe-cards-prop.ts +1 -4
  23. package/codemods/utils.ts +62 -72
  24. package/dist/cjs/ui/Appearance/Comment/Toolbar.js +3 -3
  25. package/dist/cjs/ui/AppearanceComponents/Mobile.js +5 -5
  26. package/dist/cjs/ui/ContentStyles/ai-panels.js +1 -1
  27. package/dist/cjs/ui/ContentStyles/code-block.js +2 -2
  28. package/dist/cjs/ui/ContentStyles/date.js +1 -1
  29. package/dist/cjs/ui/ContentStyles/expand.js +1 -1
  30. package/dist/cjs/ui/ContentStyles/extension.js +2 -2
  31. package/dist/cjs/ui/ContentStyles/index.js +6 -6
  32. package/dist/cjs/ui/ContentStyles/layout.js +1 -1
  33. package/dist/cjs/ui/ContentStyles/media.js +1 -1
  34. package/dist/cjs/ui/ContentStyles/panel.js +1 -1
  35. package/dist/cjs/ui/ContentStyles/status.js +1 -1
  36. package/dist/cjs/ui/ContentStyles/tasks-and-decisions.js +1 -1
  37. package/dist/cjs/utils/extensions.js +5 -5
  38. package/dist/cjs/version-wrapper.js +1 -1
  39. package/dist/es2019/ui/Appearance/Comment/Toolbar.js +40 -40
  40. package/dist/es2019/ui/AppearanceComponents/Mobile.js +5 -5
  41. package/dist/es2019/ui/ContentStyles/ai-panels.js +80 -80
  42. package/dist/es2019/ui/ContentStyles/code-block.js +58 -58
  43. package/dist/es2019/ui/ContentStyles/date.js +19 -19
  44. package/dist/es2019/ui/ContentStyles/expand.js +98 -98
  45. package/dist/es2019/ui/ContentStyles/extension.js +154 -159
  46. package/dist/es2019/ui/ContentStyles/index.js +139 -144
  47. package/dist/es2019/ui/ContentStyles/layout.js +125 -125
  48. package/dist/es2019/ui/ContentStyles/media.js +179 -178
  49. package/dist/es2019/ui/ContentStyles/panel.js +29 -30
  50. package/dist/es2019/ui/ContentStyles/status.js +30 -32
  51. package/dist/es2019/ui/ContentStyles/tasks-and-decisions.js +18 -19
  52. package/dist/es2019/utils/extensions.js +5 -5
  53. package/dist/es2019/version-wrapper.js +1 -1
  54. package/dist/esm/ui/Appearance/Comment/Toolbar.js +3 -3
  55. package/dist/esm/ui/AppearanceComponents/Mobile.js +5 -5
  56. package/dist/esm/ui/ContentStyles/ai-panels.js +1 -1
  57. package/dist/esm/ui/ContentStyles/code-block.js +2 -2
  58. package/dist/esm/ui/ContentStyles/date.js +1 -1
  59. package/dist/esm/ui/ContentStyles/expand.js +1 -1
  60. package/dist/esm/ui/ContentStyles/extension.js +2 -2
  61. package/dist/esm/ui/ContentStyles/index.js +6 -6
  62. package/dist/esm/ui/ContentStyles/layout.js +1 -1
  63. package/dist/esm/ui/ContentStyles/media.js +1 -1
  64. package/dist/esm/ui/ContentStyles/panel.js +1 -1
  65. package/dist/esm/ui/ContentStyles/status.js +1 -1
  66. package/dist/esm/ui/ContentStyles/tasks-and-decisions.js +1 -1
  67. package/dist/esm/utils/extensions.js +5 -5
  68. package/dist/esm/version-wrapper.js +1 -1
  69. package/dist/types/composable-editor/editor.d.ts +1 -1
  70. package/dist/types/composable-editor/hooks/useProviders.d.ts +1 -1
  71. package/dist/types/create-editor/create-preset.d.ts +137 -11
  72. package/dist/types/create-editor/sort-by-order.d.ts +1 -1
  73. package/dist/types/event-dispatcher/index.d.ts +2 -2
  74. package/dist/types/index.d.ts +2 -2
  75. package/dist/types/presets/default.d.ts +122 -10
  76. package/dist/types/presets/universal.d.ts +137 -11
  77. package/dist/types/presets/useUniversalPreset.d.ts +137 -11
  78. package/dist/types/test-utils.d.ts +1 -1
  79. package/dist/types/types/browser.d.ts +1 -1
  80. package/dist/types/types/editor-plugin.d.ts +1 -1
  81. package/dist/types/types/empty-state-handler.d.ts +1 -1
  82. package/dist/types/types/feature-flags.d.ts +1 -1
  83. package/dist/types/types/index.d.ts +3 -3
  84. package/dist/types/types/pm-config.d.ts +1 -1
  85. package/dist/types/types/ui-components.d.ts +1 -1
  86. package/dist/types/ui/Addon/ClickAreaBlock/index.d.ts +1 -1
  87. package/dist/types/ui/Toolbar/types.d.ts +1 -1
  88. package/dist/types/utils/action.d.ts +1 -4
  89. package/dist/types/utils/performance/plugin-performance-report.d.ts +1 -1
  90. package/dist/types/utils/slice.d.ts +1 -1
  91. package/dist/types-ts4.5/composable-editor/editor.d.ts +1 -1
  92. package/dist/types-ts4.5/composable-editor/hooks/useProviders.d.ts +1 -1
  93. package/dist/types-ts4.5/create-editor/create-preset.d.ts +155 -11
  94. package/dist/types-ts4.5/create-editor/sort-by-order.d.ts +1 -1
  95. package/dist/types-ts4.5/event-dispatcher/index.d.ts +2 -2
  96. package/dist/types-ts4.5/index.d.ts +2 -2
  97. package/dist/types-ts4.5/presets/default.d.ts +138 -10
  98. package/dist/types-ts4.5/presets/universal.d.ts +155 -11
  99. package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +155 -11
  100. package/dist/types-ts4.5/test-utils.d.ts +1 -1
  101. package/dist/types-ts4.5/types/browser.d.ts +1 -1
  102. package/dist/types-ts4.5/types/editor-plugin.d.ts +1 -1
  103. package/dist/types-ts4.5/types/empty-state-handler.d.ts +1 -1
  104. package/dist/types-ts4.5/types/feature-flags.d.ts +1 -1
  105. package/dist/types-ts4.5/types/index.d.ts +3 -3
  106. package/dist/types-ts4.5/types/pm-config.d.ts +1 -1
  107. package/dist/types-ts4.5/types/ui-components.d.ts +1 -1
  108. package/dist/types-ts4.5/ui/Addon/ClickAreaBlock/index.d.ts +1 -1
  109. package/dist/types-ts4.5/ui/Toolbar/types.d.ts +1 -1
  110. package/dist/types-ts4.5/utils/performance/plugin-performance-report.d.ts +1 -1
  111. package/dist/types-ts4.5/utils/slice.d.ts +1 -1
  112. package/docs/0-intro.tsx +13 -19
  113. package/docs/1-legacy-editor.tsx +13 -19
  114. package/docs/4-annotations.tsx +222 -223
  115. package/package.json +28 -20
  116. package/report.api.md +448 -473
@@ -9,223 +9,222 @@ import { token } from '@atlaskit/tokens';
9
9
  import { Editor } from '../src';
10
10
 
11
11
  const initialExample = {
12
- version: 1,
13
- type: 'doc',
14
- content: [
15
- {
16
- type: 'paragraph',
17
- content: [
18
- {
19
- type: 'text',
20
- text: 'For Q1, our main ',
21
- },
22
- {
23
- type: 'text',
24
- text: 'areas of focus are:',
25
- marks: [
26
- {
27
- type: 'annotation',
28
- attrs: {
29
- id: 'b81e1de8-9df7-4210-861d-89e13512ce33',
30
- annotationType: 'inlineComment',
31
- },
32
- },
33
- ],
34
- },
35
- ],
36
- },
37
- {
38
- type: 'bulletList',
39
- content: [
40
- {
41
- type: 'listItem',
42
- content: [
43
- {
44
- type: 'paragraph',
45
- content: [
46
- {
47
- type: 'text',
48
- text: 'Performance',
49
- marks: [
50
- {
51
- type: 'strong',
52
- },
53
- {
54
- type: 'annotation',
55
- attrs: {
56
- id: '5551fe04-3517-4821-8330-b7c506a43bd5',
57
- annotationType: 'inlineComment',
58
- },
59
- },
60
- ],
61
- },
62
- {
63
- type: 'text',
64
- text: ': Instrument key performance metrics and improve typing speed in the editor.',
65
- marks: [
66
- {
67
- type: 'annotation',
68
- attrs: {
69
- id: '5551fe04-3517-4821-8330-b7c506a43bd5',
70
- annotationType: 'inlineComment',
71
- },
72
- },
73
- ],
74
- },
75
- ],
76
- },
77
- ],
78
- },
79
- {
80
- type: 'listItem',
81
- content: [
82
- {
83
- type: 'paragraph',
84
- content: [
85
- {
86
- type: 'text',
87
- text: 'Insertion & nesting logic:',
88
- marks: [
89
- {
90
- type: 'strong',
91
- },
92
- ],
93
- },
94
- {
95
- type: 'text',
96
- text: ' Remove invisible barriers by enabling more content to be placed ',
97
- },
98
- {
99
- type: 'text',
100
- text: 'inside each other.',
101
- marks: [
102
- {
103
- type: 'annotation',
104
- attrs: {
105
- id: '42497172-2e64-4aa6-b8b1-5a37270ee1f9',
106
- annotationType: 'inlineComment',
107
- },
108
- },
109
- ],
110
- },
111
- {
112
- type: 'text',
113
- text: ' E.g. allow users to paste an image inside a panel.',
114
- },
115
- ],
116
- },
117
- ],
118
- },
119
- ],
120
- },
121
- ],
12
+ version: 1,
13
+ type: 'doc',
14
+ content: [
15
+ {
16
+ type: 'paragraph',
17
+ content: [
18
+ {
19
+ type: 'text',
20
+ text: 'For Q1, our main ',
21
+ },
22
+ {
23
+ type: 'text',
24
+ text: 'areas of focus are:',
25
+ marks: [
26
+ {
27
+ type: 'annotation',
28
+ attrs: {
29
+ id: 'b81e1de8-9df7-4210-861d-89e13512ce33',
30
+ annotationType: 'inlineComment',
31
+ },
32
+ },
33
+ ],
34
+ },
35
+ ],
36
+ },
37
+ {
38
+ type: 'bulletList',
39
+ content: [
40
+ {
41
+ type: 'listItem',
42
+ content: [
43
+ {
44
+ type: 'paragraph',
45
+ content: [
46
+ {
47
+ type: 'text',
48
+ text: 'Performance',
49
+ marks: [
50
+ {
51
+ type: 'strong',
52
+ },
53
+ {
54
+ type: 'annotation',
55
+ attrs: {
56
+ id: '5551fe04-3517-4821-8330-b7c506a43bd5',
57
+ annotationType: 'inlineComment',
58
+ },
59
+ },
60
+ ],
61
+ },
62
+ {
63
+ type: 'text',
64
+ text: ': Instrument key performance metrics and improve typing speed in the editor.',
65
+ marks: [
66
+ {
67
+ type: 'annotation',
68
+ attrs: {
69
+ id: '5551fe04-3517-4821-8330-b7c506a43bd5',
70
+ annotationType: 'inlineComment',
71
+ },
72
+ },
73
+ ],
74
+ },
75
+ ],
76
+ },
77
+ ],
78
+ },
79
+ {
80
+ type: 'listItem',
81
+ content: [
82
+ {
83
+ type: 'paragraph',
84
+ content: [
85
+ {
86
+ type: 'text',
87
+ text: 'Insertion & nesting logic:',
88
+ marks: [
89
+ {
90
+ type: 'strong',
91
+ },
92
+ ],
93
+ },
94
+ {
95
+ type: 'text',
96
+ text: ' Remove invisible barriers by enabling more content to be placed ',
97
+ },
98
+ {
99
+ type: 'text',
100
+ text: 'inside each other.',
101
+ marks: [
102
+ {
103
+ type: 'annotation',
104
+ attrs: {
105
+ id: '42497172-2e64-4aa6-b8b1-5a37270ee1f9',
106
+ annotationType: 'inlineComment',
107
+ },
108
+ },
109
+ ],
110
+ },
111
+ {
112
+ type: 'text',
113
+ text: ' E.g. allow users to paste an image inside a panel.',
114
+ },
115
+ ],
116
+ },
117
+ ],
118
+ },
119
+ ],
120
+ },
121
+ ],
122
122
  };
123
123
 
124
124
  const nestedExample = {
125
- version: 1,
126
- type: 'doc',
127
- content: [
128
- {
129
- type: 'paragraph',
130
- content: [
131
- {
132
- type: 'text',
133
- marks: [
134
- {
135
- type: 'annotation',
136
- attrs: {
137
- id: 'c7052cd7-5119-4837-85ce-45ba5207764c',
138
- annotationType: 'inlineComment',
139
- },
140
- },
141
- ],
142
- text: 'This is a paragraph with a outer comment ',
143
- },
144
- {
145
- type: 'text',
146
- marks: [
147
- {
148
- type: 'annotation',
149
- attrs: {
150
- id: 'a5ee9b09-f302-4fa6-89cb-d5703cb6ccdd',
151
- annotationType: 'inlineComment',
152
- },
153
- },
154
- {
155
- type: 'annotation',
156
- attrs: {
157
- id: 'c7052cd7-5119-4837-85ce-45ba5207764c',
158
- annotationType: 'inlineComment',
159
- },
160
- },
161
- ],
162
- text: 'that also contains a nested comment',
163
- },
164
- {
165
- type: 'text',
166
- text: ', where the nested comment has two annotation marks applied.',
167
- },
168
- ],
169
- },
170
- ],
125
+ version: 1,
126
+ type: 'doc',
127
+ content: [
128
+ {
129
+ type: 'paragraph',
130
+ content: [
131
+ {
132
+ type: 'text',
133
+ marks: [
134
+ {
135
+ type: 'annotation',
136
+ attrs: {
137
+ id: 'c7052cd7-5119-4837-85ce-45ba5207764c',
138
+ annotationType: 'inlineComment',
139
+ },
140
+ },
141
+ ],
142
+ text: 'This is a paragraph with a outer comment ',
143
+ },
144
+ {
145
+ type: 'text',
146
+ marks: [
147
+ {
148
+ type: 'annotation',
149
+ attrs: {
150
+ id: 'a5ee9b09-f302-4fa6-89cb-d5703cb6ccdd',
151
+ annotationType: 'inlineComment',
152
+ },
153
+ },
154
+ {
155
+ type: 'annotation',
156
+ attrs: {
157
+ id: 'c7052cd7-5119-4837-85ce-45ba5207764c',
158
+ annotationType: 'inlineComment',
159
+ },
160
+ },
161
+ ],
162
+ text: 'that also contains a nested comment',
163
+ },
164
+ {
165
+ type: 'text',
166
+ text: ', where the nested comment has two annotation marks applied.',
167
+ },
168
+ ],
169
+ },
170
+ ],
171
171
  };
172
172
 
173
- const inlineCommentEditor = (
174
- adf: Object,
175
- onChange?: (editorView: EditorView) => void,
176
- ) => <Editor appearance="chromeless" defaultValue={adf} onChange={onChange} />;
173
+ const inlineCommentEditor = (adf: Object, onChange?: (editorView: EditorView) => void) => (
174
+ <Editor appearance="chromeless" defaultValue={adf} onChange={onChange} />
175
+ );
177
176
 
178
177
  class SplitExample extends React.Component<{ initialAdf: object }> {
179
- state = {
180
- adf: this.props.initialAdf,
181
- };
182
-
183
- onChange = (view: EditorView) => {
184
- this.setState({ adf: view.state.doc.toJSON() });
185
- };
186
-
187
- render() {
188
- const { adf } = this.state;
189
- return (
190
- <div
191
- style={{
192
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
193
- display: 'flex',
194
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
195
- maxHeight: '400px',
196
- }}
197
- >
198
- <div
199
- style={{
200
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
201
- margin: token('space.100', '8px'),
202
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
203
- padding: token('space.100', '8px'),
204
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
205
- backgroundColor: N20,
206
- border: `1px solid ${N30}`,
207
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
208
- flex: 1,
209
- }}
210
- >
211
- {inlineCommentEditor(nestedExample, this.onChange)}
212
- </div>
213
- <div
214
- style={{
215
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
216
- flex: 2,
217
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
218
- overflow: 'auto',
219
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
220
- margin: token('space.100', '8px'),
221
- }}
222
- >
223
- <p>Paragraph node's content:</p>
224
- {code`${JSON.stringify((adf as any).content[0].content, null, 2)}`}
225
- </div>
226
- </div>
227
- );
228
- }
178
+ state = {
179
+ adf: this.props.initialAdf,
180
+ };
181
+
182
+ onChange = (view: EditorView) => {
183
+ this.setState({ adf: view.state.doc.toJSON() });
184
+ };
185
+
186
+ render() {
187
+ const { adf } = this.state;
188
+ return (
189
+ <div
190
+ style={{
191
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
192
+ display: 'flex',
193
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
194
+ maxHeight: '400px',
195
+ }}
196
+ >
197
+ <div
198
+ style={{
199
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
200
+ margin: token('space.100', '8px'),
201
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
202
+ padding: token('space.100', '8px'),
203
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
204
+ backgroundColor: N20,
205
+ border: `1px solid ${N30}`,
206
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
207
+ flex: 1,
208
+ }}
209
+ >
210
+ {inlineCommentEditor(nestedExample, this.onChange)}
211
+ </div>
212
+ <div
213
+ style={{
214
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
215
+ flex: 2,
216
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
217
+ overflow: 'auto',
218
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
219
+ margin: token('space.100', '8px'),
220
+ }}
221
+ >
222
+ <p>Paragraph node's content:</p>
223
+ {code`${JSON.stringify((adf as any).content[0].content, null, 2)}`}
224
+ </div>
225
+ </div>
226
+ );
227
+ }
229
228
  }
230
229
 
231
230
  export default md`
@@ -242,19 +241,19 @@ Currently, there is only the \`inlineComment\` type of annotation. In the future
242
241
  These denote a comment thread about the given text, and are denoted by a yellow highlight. This is commonly seen within Confluence after selecting some text in View mode.
243
242
 
244
243
  ${(
245
- <div
246
- style={{
247
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
248
- margin: token('space.100', '8px'),
249
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
250
- padding: token('space.100', '8px'),
251
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
252
- backgroundColor: N20,
253
- border: `1px solid ${N30}`,
254
- }}
255
- >
256
- {inlineCommentEditor(initialExample)}
257
- </div>
244
+ <div
245
+ style={{
246
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
247
+ margin: token('space.100', '8px'),
248
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
249
+ padding: token('space.100', '8px'),
250
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
251
+ backgroundColor: N20,
252
+ border: `1px solid ${N30}`,
253
+ }}
254
+ >
255
+ {inlineCommentEditor(initialExample)}
256
+ </div>
258
257
  )}
259
258
 
260
259
  ### Example ADF
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "193.24.0",
3
+ "version": "193.24.15",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -45,7 +45,7 @@
45
45
  "@atlaskit/analytics-next": "^9.3.0",
46
46
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
47
47
  "@atlaskit/button": "^17.17.0",
48
- "@atlaskit/editor-common": "^81.1.0",
48
+ "@atlaskit/editor-common": "^81.2.0",
49
49
  "@atlaskit/editor-json-transformer": "^8.13.0",
50
50
  "@atlaskit/editor-plugins": "^2.7.0",
51
51
  "@atlaskit/editor-prosemirror": "4.0.1",
@@ -82,15 +82,16 @@
82
82
  "react-intl-next": "npm:react-intl@^5.18.1"
83
83
  },
84
84
  "devDependencies": {
85
+ "@af/editor-examples-helpers": "0.0.0",
85
86
  "@af/editor-libra": "*",
86
87
  "@af/visual-regression": "*",
87
88
  "@atlaskit/adf-utils": "^19.2.0",
88
89
  "@atlaskit/analytics-listeners": "^8.9.1",
89
- "@atlaskit/checkbox": "^13.3.0",
90
+ "@atlaskit/checkbox": "^13.4.0",
90
91
  "@atlaskit/collab-provider": "9.29.2",
91
92
  "@atlaskit/dropdown-menu": "^12.10.0",
92
- "@atlaskit/editor-plugin-annotation": "1.9.3",
93
- "@atlaskit/editor-plugin-card": "^1.14.0",
93
+ "@atlaskit/editor-plugin-annotation": "1.9.4",
94
+ "@atlaskit/editor-plugin-card": "^1.15.0",
94
95
  "@atlaskit/editor-plugin-editor-viewmode": "^1.1.0",
95
96
  "@atlaskit/editor-plugin-list": "^3.3.0",
96
97
  "@atlaskit/editor-plugin-paste": "^1.2.0",
@@ -103,18 +104,17 @@
103
104
  "@atlaskit/media-integration-test-helpers": "^3.0.0",
104
105
  "@atlaskit/media-test-helpers": "^33.0.27",
105
106
  "@atlaskit/modal-dialog": "^12.13.0",
106
- "@atlaskit/primitives": "^6.3.0",
107
- "@atlaskit/renderer": "^109.29.0",
107
+ "@atlaskit/primitives": "^6.4.0",
108
+ "@atlaskit/renderer": "^109.31.0",
108
109
  "@atlaskit/select": "^17.10.0",
109
- "@atlaskit/smart-card": "^27.2.0",
110
+ "@atlaskit/smart-card": "^27.4.0",
110
111
  "@atlaskit/synchrony-test-helpers": "^2.4.0",
111
112
  "@atlaskit/toggle": "^13.1.0",
112
113
  "@atlaskit/util-data-test": "^17.9.0",
113
114
  "@atlaskit/visual-regression": "*",
114
115
  "@atlassian/adf-schema-json": "^1.14.0",
115
- "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
116
- "@atlassian/link-picker-plugins": "^24.1.0",
117
- "@atlassian/search-provider": "2.4.69",
116
+ "@atlassian/link-picker-plugins": "^24.3.0",
117
+ "@atlassian/search-provider": "2.4.74",
118
118
  "@atlassian/ufo": "^0.2.0",
119
119
  "@emotion/jest": "^11.8.0",
120
120
  "@storybook/addon-knobs": "^5.3.18",
@@ -123,21 +123,18 @@
123
123
  "@testing-library/user-event": "^14.4.3",
124
124
  "@types/diff": "^5.0.2",
125
125
  "@types/is-number": "^7.0.0",
126
- "clipboard-polyfill": "4.0.1",
127
126
  "diff": "^4.0.1",
128
127
  "enzyme": "^3.10.0",
129
128
  "fetch-mock": "^8.0.0",
130
129
  "jscodeshift": "^0.13.0",
131
130
  "lz-string": "^1.4.4",
132
131
  "mockdate": "^3.0.5",
133
- "prosemirror-dev-tools": "^4.0.0",
134
132
  "raf-stub": "^2.0.1",
135
133
  "react": "^16.8.0",
136
134
  "react-intl-next": "npm:react-intl@^5.18.1",
137
135
  "rison": "^0.1.1",
138
136
  "typescript": "~5.4.2",
139
- "url-search-params": "^0.10.0",
140
- "worker-plugin": "^4.0.2"
137
+ "url-search-params": "^0.10.0"
141
138
  },
142
139
  "techstack": {
143
140
  "@atlassian/frontend": {
@@ -158,8 +155,11 @@
158
155
  ]
159
156
  }
160
157
  },
161
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1",
162
158
  "platform-feature-flags": {
159
+ "platform.linking-platform.enable-datasource-edit-dropdown-toolbar": {
160
+ "type": "boolean",
161
+ "referenceOnly": "true"
162
+ },
163
163
  "platform.linking-platform.prevent-suspicious-linkification": {
164
164
  "type": "boolean",
165
165
  "referenceOnly": "true"
@@ -207,10 +207,6 @@
207
207
  "type": "boolean",
208
208
  "referenceOnly": "true"
209
209
  },
210
- "platform.design-system-team.editor-new-button_jjjdo": {
211
- "type": "boolean",
212
- "referenceOnly": "true"
213
- },
214
210
  "platform.media-experience.cardv2_7zann": {
215
211
  "type": "boolean",
216
212
  "referenceOnly": "true"
@@ -306,6 +302,10 @@
306
302
  "type": "boolean",
307
303
  "referenceOnly": "true"
308
304
  },
305
+ "platform.editor.table.use-increased-scaling-percent": {
306
+ "type": "boolean",
307
+ "referenceOnly": "true"
308
+ },
309
309
  "platform.editor.table-width-diff-in-renderer_x5s3z": {
310
310
  "type": "boolean",
311
311
  "referenceOnly": "true"
@@ -352,6 +352,14 @@
352
352
  "platform.editor.mentions-in-editor-popup-on-click": {
353
353
  "type": "boolean",
354
354
  "referenceOnly": "true"
355
+ },
356
+ "platform.editor.table.editor-num-col-style-changes": {
357
+ "type": "boolean",
358
+ "referenceOnly": "true"
359
+ },
360
+ "platform.editor.simplify-inline-cards-in-code-blocks_jw6t1": {
361
+ "type": "boolean",
362
+ "referenceOnly": "true"
355
363
  }
356
364
  },
357
365
  "stricter": {