@atlaskit/editor-common 112.22.0 → 113.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.
- package/CHANGELOG.md +51 -0
- package/dist/cjs/analytics/types/table-events.js +2 -0
- package/dist/cjs/messages/help-dialog.js +25 -0
- package/dist/cjs/messages/table.js +5 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/node-width/index.js +2 -2
- package/dist/cjs/react-node-view/getInlineNodeViewProducer.js +2 -1
- package/dist/cjs/styles/shared/table.js +2 -1
- package/dist/cjs/transforms/index.js +6 -0
- package/dist/cjs/transforms/list-transforms.js +34 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/utils/browser.js +8 -97
- package/dist/cjs/utils/index.js +0 -7
- package/dist/es2019/analytics/types/table-events.js +2 -0
- package/dist/es2019/messages/help-dialog.js +25 -0
- package/dist/es2019/messages/table.js +5 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/node-width/index.js +1 -1
- package/dist/es2019/react-node-view/getInlineNodeViewProducer.js +3 -2
- package/dist/es2019/styles/shared/table.js +2 -1
- package/dist/es2019/transforms/index.js +1 -1
- package/dist/es2019/transforms/list-transforms.js +34 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/utils/browser.js +0 -89
- package/dist/es2019/utils/index.js +0 -8
- package/dist/esm/analytics/types/table-events.js +2 -0
- package/dist/esm/messages/help-dialog.js +25 -0
- package/dist/esm/messages/table.js +5 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/node-width/index.js +1 -1
- package/dist/esm/react-node-view/getInlineNodeViewProducer.js +3 -2
- package/dist/esm/styles/shared/table.js +2 -1
- package/dist/esm/transforms/index.js +1 -1
- package/dist/esm/transforms/list-transforms.js +33 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/utils/browser.js +7 -96
- package/dist/esm/utils/index.js +0 -8
- package/dist/types/analytics/types/table-events.d.ts +17 -2
- package/dist/types/messages/help-dialog.d.ts +25 -0
- package/dist/types/messages/table.d.ts +152 -147
- package/dist/types/node-width/index.d.ts +1 -0
- package/dist/types/styles/shared/table.d.ts +1 -0
- package/dist/types/transforms/index.d.ts +1 -1
- package/dist/types/transforms/list-transforms.d.ts +9 -1
- package/dist/types/utils/browser.d.ts +0 -10
- package/dist/types/utils/index.d.ts +0 -8
- package/dist/types-ts4.5/analytics/types/table-events.d.ts +17 -2
- package/dist/types-ts4.5/messages/help-dialog.d.ts +25 -0
- package/dist/types-ts4.5/messages/table.d.ts +152 -147
- package/dist/types-ts4.5/node-width/index.d.ts +1 -0
- package/dist/types-ts4.5/styles/shared/table.d.ts +1 -0
- package/dist/types-ts4.5/transforms/index.d.ts +1 -1
- package/dist/types-ts4.5/transforms/list-transforms.d.ts +9 -1
- package/dist/types-ts4.5/utils/browser.d.ts +0 -10
- package/dist/types-ts4.5/utils/index.d.ts +0 -8
- package/package.json +11 -11
|
@@ -1,372 +1,377 @@
|
|
|
1
1
|
export declare const messages: {
|
|
2
|
-
|
|
3
|
-
id: string;
|
|
2
|
+
addColumnLeft: {
|
|
4
3
|
defaultMessage: string;
|
|
5
4
|
description: string;
|
|
6
|
-
};
|
|
7
|
-
tableOptions: {
|
|
8
5
|
id: string;
|
|
6
|
+
};
|
|
7
|
+
addColumnRight: {
|
|
9
8
|
defaultMessage: string;
|
|
10
9
|
description: string;
|
|
11
|
-
};
|
|
12
|
-
tableSizeIncreaseScreenReaderInformation: {
|
|
13
10
|
id: string;
|
|
11
|
+
};
|
|
12
|
+
addRowAbove: {
|
|
14
13
|
defaultMessage: string;
|
|
15
14
|
description: string;
|
|
16
|
-
};
|
|
17
|
-
tableSizeDecreaseScreenReaderInformation: {
|
|
18
15
|
id: string;
|
|
16
|
+
};
|
|
17
|
+
addRowBelow: {
|
|
19
18
|
defaultMessage: string;
|
|
20
19
|
description: string;
|
|
21
|
-
};
|
|
22
|
-
headerRow: {
|
|
23
20
|
id: string;
|
|
21
|
+
};
|
|
22
|
+
adjustColumns: {
|
|
24
23
|
defaultMessage: string;
|
|
25
24
|
description: string;
|
|
26
|
-
};
|
|
27
|
-
headerColumn: {
|
|
28
25
|
id: string;
|
|
26
|
+
};
|
|
27
|
+
alignTableCenter: {
|
|
29
28
|
defaultMessage: string;
|
|
30
29
|
description: string;
|
|
31
|
-
};
|
|
32
|
-
numberedColumn: {
|
|
33
30
|
id: string;
|
|
31
|
+
};
|
|
32
|
+
alignTableLeft: {
|
|
34
33
|
defaultMessage: string;
|
|
35
34
|
description: string;
|
|
36
|
-
};
|
|
37
|
-
collapseTable: {
|
|
38
35
|
id: string;
|
|
36
|
+
};
|
|
37
|
+
backgroundColor: {
|
|
39
38
|
defaultMessage: string;
|
|
40
39
|
description: string;
|
|
41
|
-
};
|
|
42
|
-
resizeTable: {
|
|
43
40
|
id: string;
|
|
41
|
+
};
|
|
42
|
+
canNotSortTable: {
|
|
44
43
|
defaultMessage: string;
|
|
45
44
|
description: string;
|
|
46
|
-
};
|
|
47
|
-
insertColumn: {
|
|
48
45
|
id: string;
|
|
46
|
+
};
|
|
47
|
+
cellBackground: {
|
|
49
48
|
defaultMessage: string;
|
|
50
49
|
description: string;
|
|
51
|
-
};
|
|
52
|
-
addColumnLeft: {
|
|
53
50
|
id: string;
|
|
51
|
+
};
|
|
52
|
+
cellOptions: {
|
|
54
53
|
defaultMessage: string;
|
|
55
54
|
description: string;
|
|
56
|
-
};
|
|
57
|
-
addColumnRight: {
|
|
58
55
|
id: string;
|
|
56
|
+
};
|
|
57
|
+
changedColumnWidth: {
|
|
59
58
|
defaultMessage: string;
|
|
60
59
|
description: string;
|
|
61
|
-
};
|
|
62
|
-
insertColumnDrag: {
|
|
63
60
|
id: string;
|
|
61
|
+
};
|
|
62
|
+
clearCells: {
|
|
64
63
|
defaultMessage: string;
|
|
65
64
|
description: string;
|
|
66
|
-
};
|
|
67
|
-
removeColumns: {
|
|
68
65
|
id: string;
|
|
66
|
+
};
|
|
67
|
+
collapseTable: {
|
|
69
68
|
defaultMessage: string;
|
|
70
69
|
description: string;
|
|
71
|
-
};
|
|
72
|
-
insertRow: {
|
|
73
70
|
id: string;
|
|
71
|
+
};
|
|
72
|
+
columnDragHandle: {
|
|
74
73
|
defaultMessage: string;
|
|
75
74
|
description: string;
|
|
76
|
-
};
|
|
77
|
-
addRowAbove: {
|
|
78
75
|
id: string;
|
|
76
|
+
};
|
|
77
|
+
columnMovedLeft: {
|
|
79
78
|
defaultMessage: string;
|
|
80
79
|
description: string;
|
|
81
|
-
};
|
|
82
|
-
addRowBelow: {
|
|
83
80
|
id: string;
|
|
81
|
+
};
|
|
82
|
+
columnMovedRight: {
|
|
84
83
|
defaultMessage: string;
|
|
85
84
|
description: string;
|
|
86
|
-
};
|
|
87
|
-
moveColumnLeft: {
|
|
88
85
|
id: string;
|
|
86
|
+
};
|
|
87
|
+
columnResizeLast: {
|
|
89
88
|
defaultMessage: string;
|
|
90
89
|
description: string;
|
|
91
|
-
};
|
|
92
|
-
moveColumnLeftHelpDialogLabel: {
|
|
93
90
|
id: string;
|
|
91
|
+
};
|
|
92
|
+
columnResizeOverflow: {
|
|
94
93
|
defaultMessage: string;
|
|
95
94
|
description: string;
|
|
96
|
-
};
|
|
97
|
-
moveColumnRight: {
|
|
98
95
|
id: string;
|
|
96
|
+
};
|
|
97
|
+
columnResizeStop: {
|
|
99
98
|
defaultMessage: string;
|
|
100
99
|
description: string;
|
|
101
|
-
};
|
|
102
|
-
moveColumnRightHelpDialogLabel: {
|
|
103
100
|
id: string;
|
|
101
|
+
};
|
|
102
|
+
columnsAreInserted: {
|
|
104
103
|
defaultMessage: string;
|
|
105
104
|
description: string;
|
|
106
|
-
};
|
|
107
|
-
moveRowUp: {
|
|
108
105
|
id: string;
|
|
106
|
+
};
|
|
107
|
+
columnsAreRemoved: {
|
|
109
108
|
defaultMessage: string;
|
|
110
109
|
description: string;
|
|
111
|
-
};
|
|
112
|
-
moveRowUpHelpDialogLabel: {
|
|
113
110
|
id: string;
|
|
111
|
+
};
|
|
112
|
+
columnSelected: {
|
|
114
113
|
defaultMessage: string;
|
|
115
114
|
description: string;
|
|
116
|
-
};
|
|
117
|
-
moveRowDown: {
|
|
118
115
|
id: string;
|
|
116
|
+
};
|
|
117
|
+
confirmDeleteLinkedModalMessage: {
|
|
119
118
|
defaultMessage: string;
|
|
120
119
|
description: string;
|
|
121
|
-
};
|
|
122
|
-
moveRowDownHelpDialogLabel: {
|
|
123
120
|
id: string;
|
|
121
|
+
};
|
|
122
|
+
confirmDeleteLinkedModalMessagePrefix: {
|
|
124
123
|
defaultMessage: string;
|
|
125
124
|
description: string;
|
|
126
|
-
};
|
|
127
|
-
insertRowDrag: {
|
|
128
125
|
id: string;
|
|
126
|
+
};
|
|
127
|
+
confirmDeleteLinkedModalOKButton: {
|
|
129
128
|
defaultMessage: string;
|
|
130
129
|
description: string;
|
|
131
|
-
};
|
|
132
|
-
removeRows: {
|
|
133
130
|
id: string;
|
|
131
|
+
};
|
|
132
|
+
confirmModalCheckboxLabel: {
|
|
134
133
|
defaultMessage: string;
|
|
135
134
|
description: string;
|
|
136
|
-
};
|
|
137
|
-
rowNumbers: {
|
|
138
135
|
id: string;
|
|
136
|
+
};
|
|
137
|
+
cornerControl: {
|
|
139
138
|
defaultMessage: string;
|
|
140
139
|
description: string;
|
|
141
|
-
};
|
|
142
|
-
numberedRows: {
|
|
143
140
|
id: string;
|
|
141
|
+
};
|
|
142
|
+
deleteElementTitle: {
|
|
144
143
|
defaultMessage: string;
|
|
145
144
|
description: string;
|
|
146
|
-
};
|
|
147
|
-
rowsAreInserted: {
|
|
148
145
|
id: string;
|
|
146
|
+
};
|
|
147
|
+
distributeColumns: {
|
|
149
148
|
defaultMessage: string;
|
|
150
149
|
description: string;
|
|
151
|
-
};
|
|
152
|
-
rowsAreRemoved: {
|
|
153
150
|
id: string;
|
|
151
|
+
};
|
|
152
|
+
dragHandleZone: {
|
|
154
153
|
defaultMessage: string;
|
|
155
154
|
description: string;
|
|
156
|
-
};
|
|
157
|
-
rowSelected: {
|
|
158
155
|
id: string;
|
|
156
|
+
};
|
|
157
|
+
fitToContent: {
|
|
159
158
|
defaultMessage: string;
|
|
160
159
|
description: string;
|
|
161
|
-
};
|
|
162
|
-
rowMovedUp: {
|
|
163
160
|
id: string;
|
|
161
|
+
};
|
|
162
|
+
focusedOtherResize: {
|
|
164
163
|
defaultMessage: string;
|
|
165
164
|
description: string;
|
|
166
|
-
};
|
|
167
|
-
rowMovedDown: {
|
|
168
165
|
id: string;
|
|
166
|
+
};
|
|
167
|
+
fullWidthLabel: {
|
|
169
168
|
defaultMessage: string;
|
|
170
169
|
description: string;
|
|
171
|
-
};
|
|
172
|
-
columnsAreInserted: {
|
|
173
170
|
id: string;
|
|
171
|
+
};
|
|
172
|
+
headerColumn: {
|
|
174
173
|
defaultMessage: string;
|
|
175
174
|
description: string;
|
|
176
|
-
};
|
|
177
|
-
columnsAreRemoved: {
|
|
178
175
|
id: string;
|
|
176
|
+
};
|
|
177
|
+
headerRow: {
|
|
179
178
|
defaultMessage: string;
|
|
180
179
|
description: string;
|
|
181
|
-
};
|
|
182
|
-
columnSelected: {
|
|
183
180
|
id: string;
|
|
181
|
+
};
|
|
182
|
+
insertColumn: {
|
|
184
183
|
defaultMessage: string;
|
|
185
184
|
description: string;
|
|
186
|
-
};
|
|
187
|
-
columnMovedLeft: {
|
|
188
185
|
id: string;
|
|
186
|
+
};
|
|
187
|
+
insertColumnDrag: {
|
|
189
188
|
defaultMessage: string;
|
|
190
189
|
description: string;
|
|
191
|
-
};
|
|
192
|
-
columnMovedRight: {
|
|
193
190
|
id: string;
|
|
191
|
+
};
|
|
192
|
+
insertRow: {
|
|
194
193
|
defaultMessage: string;
|
|
195
194
|
description: string;
|
|
196
|
-
};
|
|
197
|
-
cellOptions: {
|
|
198
195
|
id: string;
|
|
196
|
+
};
|
|
197
|
+
insertRowDrag: {
|
|
199
198
|
defaultMessage: string;
|
|
200
199
|
description: string;
|
|
201
|
-
};
|
|
202
|
-
confirmDeleteLinkedModalOKButton: {
|
|
203
200
|
id: string;
|
|
201
|
+
};
|
|
202
|
+
lockColumnWidths: {
|
|
204
203
|
defaultMessage: string;
|
|
205
204
|
description: string;
|
|
206
|
-
};
|
|
207
|
-
confirmDeleteLinkedModalMessage: {
|
|
208
205
|
id: string;
|
|
206
|
+
};
|
|
207
|
+
mergeCells: {
|
|
209
208
|
defaultMessage: string;
|
|
210
209
|
description: string;
|
|
211
|
-
};
|
|
212
|
-
confirmDeleteLinkedModalMessagePrefix: {
|
|
213
210
|
id: string;
|
|
211
|
+
};
|
|
212
|
+
moveColumnLeft: {
|
|
214
213
|
defaultMessage: string;
|
|
215
214
|
description: string;
|
|
216
|
-
};
|
|
217
|
-
confirmModalCheckboxLabel: {
|
|
218
215
|
id: string;
|
|
216
|
+
};
|
|
217
|
+
moveColumnLeftHelpDialogLabel: {
|
|
219
218
|
defaultMessage: string;
|
|
220
219
|
description: string;
|
|
221
|
-
};
|
|
222
|
-
deleteElementTitle: {
|
|
223
220
|
id: string;
|
|
221
|
+
};
|
|
222
|
+
moveColumnRight: {
|
|
224
223
|
defaultMessage: string;
|
|
225
224
|
description: string;
|
|
226
|
-
};
|
|
227
|
-
unnamedSource: {
|
|
228
225
|
id: string;
|
|
226
|
+
};
|
|
227
|
+
moveColumnRightHelpDialogLabel: {
|
|
229
228
|
defaultMessage: string;
|
|
230
229
|
description: string;
|
|
231
|
-
};
|
|
232
|
-
adjustColumns: {
|
|
233
230
|
id: string;
|
|
231
|
+
};
|
|
232
|
+
moveRowDown: {
|
|
234
233
|
defaultMessage: string;
|
|
235
234
|
description: string;
|
|
236
|
-
};
|
|
237
|
-
cornerControl: {
|
|
238
235
|
id: string;
|
|
236
|
+
};
|
|
237
|
+
moveRowDownHelpDialogLabel: {
|
|
239
238
|
defaultMessage: string;
|
|
240
239
|
description: string;
|
|
241
|
-
};
|
|
242
|
-
cellBackground: {
|
|
243
240
|
id: string;
|
|
241
|
+
};
|
|
242
|
+
moveRowUp: {
|
|
244
243
|
defaultMessage: string;
|
|
245
244
|
description: string;
|
|
246
|
-
};
|
|
247
|
-
backgroundColor: {
|
|
248
245
|
id: string;
|
|
246
|
+
};
|
|
247
|
+
moveRowUpHelpDialogLabel: {
|
|
249
248
|
defaultMessage: string;
|
|
250
249
|
description: string;
|
|
251
|
-
};
|
|
252
|
-
mergeCells: {
|
|
253
250
|
id: string;
|
|
251
|
+
};
|
|
252
|
+
numberedColumn: {
|
|
254
253
|
defaultMessage: string;
|
|
255
254
|
description: string;
|
|
256
|
-
};
|
|
257
|
-
splitCell: {
|
|
258
255
|
id: string;
|
|
256
|
+
};
|
|
257
|
+
numberedRows: {
|
|
259
258
|
defaultMessage: string;
|
|
260
259
|
description: string;
|
|
261
|
-
};
|
|
262
|
-
clearCells: {
|
|
263
260
|
id: string;
|
|
261
|
+
};
|
|
262
|
+
removeColumns: {
|
|
264
263
|
defaultMessage: string;
|
|
265
264
|
description: string;
|
|
266
|
-
};
|
|
267
|
-
sortColumnASC: {
|
|
268
265
|
id: string;
|
|
266
|
+
};
|
|
267
|
+
removeRows: {
|
|
269
268
|
defaultMessage: string;
|
|
270
269
|
description: string;
|
|
271
|
-
};
|
|
272
|
-
sortColumnDESC: {
|
|
273
270
|
id: string;
|
|
271
|
+
};
|
|
272
|
+
resizeTable: {
|
|
274
273
|
defaultMessage: string;
|
|
275
274
|
description: string;
|
|
276
|
-
};
|
|
277
|
-
sortColumnIncreasing: {
|
|
278
275
|
id: string;
|
|
276
|
+
};
|
|
277
|
+
rowControl: {
|
|
279
278
|
defaultMessage: string;
|
|
280
279
|
description: string;
|
|
281
|
-
};
|
|
282
|
-
sortColumnDecreasing: {
|
|
283
280
|
id: string;
|
|
281
|
+
};
|
|
282
|
+
rowDragHandle: {
|
|
284
283
|
defaultMessage: string;
|
|
285
284
|
description: string;
|
|
286
|
-
};
|
|
287
|
-
canNotSortTable: {
|
|
288
285
|
id: string;
|
|
286
|
+
};
|
|
287
|
+
rowMovedDown: {
|
|
289
288
|
defaultMessage: string;
|
|
290
289
|
description: string;
|
|
291
|
-
};
|
|
292
|
-
distributeColumns: {
|
|
293
290
|
id: string;
|
|
291
|
+
};
|
|
292
|
+
rowMovedUp: {
|
|
294
293
|
defaultMessage: string;
|
|
295
294
|
description: string;
|
|
296
|
-
};
|
|
297
|
-
lockColumnWidths: {
|
|
298
295
|
id: string;
|
|
296
|
+
};
|
|
297
|
+
rowNumbers: {
|
|
299
298
|
defaultMessage: string;
|
|
300
299
|
description: string;
|
|
301
|
-
};
|
|
302
|
-
rowControl: {
|
|
303
300
|
id: string;
|
|
301
|
+
};
|
|
302
|
+
rowsAreInserted: {
|
|
304
303
|
defaultMessage: string;
|
|
305
304
|
description: string;
|
|
306
|
-
};
|
|
307
|
-
rowDragHandle: {
|
|
308
305
|
id: string;
|
|
306
|
+
};
|
|
307
|
+
rowsAreRemoved: {
|
|
309
308
|
defaultMessage: string;
|
|
310
309
|
description: string;
|
|
311
|
-
};
|
|
312
|
-
dragHandleZone: {
|
|
313
310
|
id: string;
|
|
311
|
+
};
|
|
312
|
+
rowSelected: {
|
|
314
313
|
defaultMessage: string;
|
|
315
314
|
description: string;
|
|
316
|
-
};
|
|
317
|
-
columnDragHandle: {
|
|
318
315
|
id: string;
|
|
316
|
+
};
|
|
317
|
+
sortColumnASC: {
|
|
319
318
|
defaultMessage: string;
|
|
320
319
|
description: string;
|
|
321
|
-
};
|
|
322
|
-
fullWidthLabel: {
|
|
323
320
|
id: string;
|
|
321
|
+
};
|
|
322
|
+
sortColumnDecreasing: {
|
|
324
323
|
defaultMessage: string;
|
|
325
324
|
description: string;
|
|
326
|
-
};
|
|
327
|
-
startedColumnResize: {
|
|
328
325
|
id: string;
|
|
326
|
+
};
|
|
327
|
+
sortColumnDESC: {
|
|
329
328
|
defaultMessage: string;
|
|
330
329
|
description: string;
|
|
331
|
-
};
|
|
332
|
-
focusedOtherResize: {
|
|
333
330
|
id: string;
|
|
331
|
+
};
|
|
332
|
+
sortColumnIncreasing: {
|
|
334
333
|
defaultMessage: string;
|
|
335
334
|
description: string;
|
|
336
|
-
};
|
|
337
|
-
changedColumnWidth: {
|
|
338
335
|
id: string;
|
|
336
|
+
};
|
|
337
|
+
splitCell: {
|
|
339
338
|
defaultMessage: string;
|
|
340
339
|
description: string;
|
|
341
|
-
};
|
|
342
|
-
columnResizeStop: {
|
|
343
340
|
id: string;
|
|
341
|
+
};
|
|
342
|
+
startedColumnResize: {
|
|
344
343
|
defaultMessage: string;
|
|
345
344
|
description: string;
|
|
346
|
-
};
|
|
347
|
-
columnResizeOverflow: {
|
|
348
345
|
id: string;
|
|
346
|
+
};
|
|
347
|
+
tableAlignmentOptions: {
|
|
349
348
|
defaultMessage: string;
|
|
350
349
|
description: string;
|
|
351
|
-
};
|
|
352
|
-
columnResizeLast: {
|
|
353
350
|
id: string;
|
|
351
|
+
};
|
|
352
|
+
tableOptions: {
|
|
354
353
|
defaultMessage: string;
|
|
355
354
|
description: string;
|
|
356
|
-
};
|
|
357
|
-
tableAlignmentOptions: {
|
|
358
355
|
id: string;
|
|
356
|
+
};
|
|
357
|
+
tableScrollRegion: {
|
|
359
358
|
defaultMessage: string;
|
|
360
359
|
description: string;
|
|
361
|
-
};
|
|
362
|
-
alignTableCenter: {
|
|
363
360
|
id: string;
|
|
361
|
+
};
|
|
362
|
+
tableSizeDecreaseScreenReaderInformation: {
|
|
364
363
|
defaultMessage: string;
|
|
365
364
|
description: string;
|
|
365
|
+
id: string;
|
|
366
366
|
};
|
|
367
|
-
|
|
367
|
+
tableSizeIncreaseScreenReaderInformation: {
|
|
368
|
+
defaultMessage: string;
|
|
369
|
+
description: string;
|
|
368
370
|
id: string;
|
|
371
|
+
};
|
|
372
|
+
unnamedSource: {
|
|
369
373
|
defaultMessage: string;
|
|
370
374
|
description: string;
|
|
375
|
+
id: string;
|
|
371
376
|
};
|
|
372
377
|
};
|
|
@@ -11,5 +11,6 @@ export declare const layoutToWidth: {
|
|
|
11
11
|
* If current node selection is not nested will return undefined
|
|
12
12
|
*/
|
|
13
13
|
export declare const getParentNodeWidth: (pos: number | undefined, state: EditorState, containerWidth: EditorContainerWidth, isFullWidthModeEnabled?: boolean) => number | undefined;
|
|
14
|
+
export declare const getNestedParentNode: (tablePos: number, state: EditorState) => PMNode | null;
|
|
14
15
|
export declare const getTableContainerWidth: (node?: PMNode) => number;
|
|
15
16
|
export declare const getTableWidthWithNumberColumn: (node: PMNode, offset: number) => number;
|
|
@@ -35,6 +35,7 @@ export declare const TableSharedCssClassName: {
|
|
|
35
35
|
readonly TABLE_STICKY_SENTINEL_TOP: 'pm-table-sticky-sentinel-top';
|
|
36
36
|
readonly TABLE_STICKY_SHADOW: 'pm-table-sticky-shadow';
|
|
37
37
|
readonly TABLE_STICKY_WRAPPER: 'pm-table-sticky-wrapper';
|
|
38
|
+
readonly TABLE_VIEW_CONTENT_WRAP: 'tableView-content-wrap';
|
|
38
39
|
};
|
|
39
40
|
declare const tableSharedStyle: () => SerializedStyles;
|
|
40
41
|
export declare const calcTableWidth: (layout: TableLayout, containerWidth?: number, addControllerPadding?: boolean) => number | "inherit";
|
|
@@ -3,7 +3,7 @@ export { findExpand, transformSliceToRemoveOpenExpand, transformSliceToRemoveOpe
|
|
|
3
3
|
export { transformSliceToRemoveOpenBodiedExtension, transformSliceToRemoveOpenMultiBodiedExtension, transformSliceToRemoveLegacyContentMacro, transformSliceToRemoveMacroId, } from './extension';
|
|
4
4
|
export { transformSliceToJoinAdjacentCodeBlocks, transformSingleLineCodeBlockToCodeMark, findCodeBlock, } from './code-block';
|
|
5
5
|
export { transformSliceToDecisionList } from './decision-list';
|
|
6
|
-
export { createBlockTaskItem, transformListStructure, transformBetweenListTypes, transformListRecursively, transformToTaskList, transformTaskListToBlockNodes, getFormattedNode, } from './list-transforms';
|
|
6
|
+
export { createBlockTaskItem, transformListStructure, transformBetweenListTypes, transformListRecursively, transformToTaskList, transformTaskListToBlockNodes, getFormattedNode, transformSliceEnsureListItemParagraphFirst, } from './list-transforms';
|
|
7
7
|
export { isBulletOrOrderedList, isTaskList, getSupportedListTypesSet, convertBlockToInlineContent, } from './list-utils';
|
|
8
8
|
export { removeBreakoutFromRendererSyncBlockHTML } from './sync-block';
|
|
9
9
|
export type { TransformContext, TransformFunction } from './list-types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Mark, NodeType, Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import { Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
import { Fragment, Slice } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import type { Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
4
4
|
import type { TransformContext } from './list-types';
|
|
5
5
|
type TransformListRecursivelyProps = {
|
|
@@ -40,4 +40,12 @@ export declare const getFormattedNode: (tr: Transaction) => {
|
|
|
40
40
|
node: PMNode;
|
|
41
41
|
pos: number;
|
|
42
42
|
};
|
|
43
|
+
/**
|
|
44
|
+
* Ensures every `listItem` in a slice starts with a paragraph.
|
|
45
|
+
*
|
|
46
|
+
* @param slice - The slice to transform
|
|
47
|
+
* @param schema - The editor schema, used to create new paragraph nodes
|
|
48
|
+
* @returns A new slice with the transformation applied
|
|
49
|
+
*/
|
|
50
|
+
export declare const transformSliceEnsureListItemParagraphFirst: (slice: Slice, schema: Schema) => Slice;
|
|
43
51
|
export {};
|
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
import type { MemoizedFn } from 'memoize-one';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated
|
|
4
|
-
* This file is deprecated and will be removed in the next major release.
|
|
5
|
-
* Please use `getBrowserInfo` function to get the browser info on demand.
|
|
6
|
-
* Static `browser` info is no longer supported.
|
|
7
|
-
*/
|
|
8
|
-
declare const result: {
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
};
|
|
11
|
-
export { result as browser };
|
|
12
2
|
export declare const getBrowserInfo: MemoizedFn<() => {
|
|
13
3
|
[key: string]: any;
|
|
14
4
|
}>;
|
|
@@ -6,14 +6,6 @@ export { getAnnotationMarksForPos, canApplyAnnotationOnRange, containsAnyAnnotat
|
|
|
6
6
|
export { getExtensionLozengeData } from './macro';
|
|
7
7
|
export type { Params } from './macro';
|
|
8
8
|
export {
|
|
9
|
-
/**
|
|
10
|
-
* @private
|
|
11
|
-
* @deprecated
|
|
12
|
-
*
|
|
13
|
-
* Please use `@atlaskit/editor-common/browser` entry-point instead.
|
|
14
|
-
*/
|
|
15
|
-
browser, } from './browser';
|
|
16
|
-
export {
|
|
17
9
|
/**
|
|
18
10
|
* @private
|
|
19
11
|
* @deprecated
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "113.0.1",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/activity-provider": "^2.5.0",
|
|
33
|
-
"@atlaskit/adf-schema": "^52.
|
|
33
|
+
"@atlaskit/adf-schema": "^52.5.0",
|
|
34
34
|
"@atlaskit/adf-utils": "^19.27.0",
|
|
35
35
|
"@atlaskit/afm-i18n-platform-editor-editor-common": "2.18.0",
|
|
36
36
|
"@atlaskit/analytics-listeners": "^10.0.0",
|
|
@@ -51,26 +51,26 @@
|
|
|
51
51
|
"@atlaskit/editor-toolbar": "^0.20.0",
|
|
52
52
|
"@atlaskit/editor-toolbar-model": "^0.4.0",
|
|
53
53
|
"@atlaskit/emoji": "^70.0.0",
|
|
54
|
-
"@atlaskit/icon": "^34.
|
|
54
|
+
"@atlaskit/icon": "^34.2.0",
|
|
55
55
|
"@atlaskit/icon-object": "^7.5.0",
|
|
56
56
|
"@atlaskit/link": "^3.4.0",
|
|
57
57
|
"@atlaskit/link-datasource": "^5.0.0",
|
|
58
58
|
"@atlaskit/link-picker": "^5.0.0",
|
|
59
|
-
"@atlaskit/media-card": "^
|
|
59
|
+
"@atlaskit/media-card": "^80.0.0",
|
|
60
60
|
"@atlaskit/media-client": "^36.0.0",
|
|
61
61
|
"@atlaskit/media-client-react": "^5.0.0",
|
|
62
62
|
"@atlaskit/media-common": "^13.0.0",
|
|
63
63
|
"@atlaskit/media-file-preview": "^0.16.0",
|
|
64
|
-
"@atlaskit/media-picker": "^
|
|
65
|
-
"@atlaskit/media-ui": "^
|
|
66
|
-
"@atlaskit/media-viewer": "^
|
|
64
|
+
"@atlaskit/media-picker": "^71.0.0",
|
|
65
|
+
"@atlaskit/media-ui": "^29.0.0",
|
|
66
|
+
"@atlaskit/media-viewer": "^53.0.0",
|
|
67
67
|
"@atlaskit/mention": "^25.0.0",
|
|
68
|
-
"@atlaskit/menu": "^8.
|
|
69
|
-
"@atlaskit/onboarding": "^14.
|
|
68
|
+
"@atlaskit/menu": "^8.5.0",
|
|
69
|
+
"@atlaskit/onboarding": "^14.6.0",
|
|
70
70
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
71
71
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
72
72
|
"@atlaskit/primitives": "^19.0.0",
|
|
73
|
-
"@atlaskit/profilecard": "^
|
|
73
|
+
"@atlaskit/profilecard": "^25.0.0",
|
|
74
74
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
75
75
|
"@atlaskit/react-ufo": "^5.14.0",
|
|
76
76
|
"@atlaskit/section-message": "^8.12.0",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@atlaskit/spinner": "^19.1.0",
|
|
80
80
|
"@atlaskit/task-decision": "^20.0.0",
|
|
81
81
|
"@atlaskit/textfield": "^8.3.0",
|
|
82
|
-
"@atlaskit/tmp-editor-statsig": "^62.
|
|
82
|
+
"@atlaskit/tmp-editor-statsig": "^62.4.0",
|
|
83
83
|
"@atlaskit/tokens": "^13.0.0",
|
|
84
84
|
"@atlaskit/tooltip": "^21.1.0",
|
|
85
85
|
"@atlaskit/width-detector": "^5.1.0",
|