@atlaskit/editor-plugin-table 7.28.10 → 7.28.11
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 +9 -0
- package/dist/cjs/ui/FloatingContextualMenu/ContextualMenu.js +3 -3
- package/dist/es2019/ui/FloatingContextualMenu/ContextualMenu.js +3 -3
- package/dist/esm/ui/FloatingContextualMenu/ContextualMenu.js +3 -3
- package/package.json +2 -5
- package/src/ui/FloatingContextualMenu/ContextualMenu.tsx +3 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 7.28.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#151050](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/151050)
|
|
8
|
+
[`1081477a1c33d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1081477a1c33d) -
|
|
9
|
+
[ED-24446] This change cleans up the feature gate for the table cell options hotkeys announcement
|
|
10
|
+
fix.
|
|
11
|
+
|
|
3
12
|
## 7.28.10
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -255,7 +255,7 @@ var ContextualMenu = exports.ContextualMenu = /*#__PURE__*/function (_Component)
|
|
|
255
255
|
label: formatMessage(_messages.tableMessages.addColumnRight),
|
|
256
256
|
LEGACY_fallbackIcon: _icons.AddColRightIcon
|
|
257
257
|
})) : undefined,
|
|
258
|
-
'aria-label': (0,
|
|
258
|
+
'aria-label': (0, _keymaps.tooltip)(_keymaps.addColumnAfter, String(content))
|
|
259
259
|
};
|
|
260
260
|
});
|
|
261
261
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "createInsertRowItem", function () {
|
|
@@ -282,7 +282,7 @@ var ContextualMenu = exports.ContextualMenu = /*#__PURE__*/function (_Component)
|
|
|
282
282
|
label: formatMessage(_messages.tableMessages.addRowBelow),
|
|
283
283
|
LEGACY_fallbackIcon: _icons.AddRowBelowIcon
|
|
284
284
|
})) : undefined,
|
|
285
|
-
'aria-label': (0,
|
|
285
|
+
'aria-label': (0, _keymaps.tooltip)(_keymaps.addRowAfter, String(content))
|
|
286
286
|
};
|
|
287
287
|
});
|
|
288
288
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "createClearCellsItem", function () {
|
|
@@ -320,7 +320,7 @@ var ContextualMenu = exports.ContextualMenu = /*#__PURE__*/function (_Component)
|
|
|
320
320
|
}),
|
|
321
321
|
LEGACY_fallbackIcon: _crossCircle.default
|
|
322
322
|
})) : undefined,
|
|
323
|
-
'aria-label': (0,
|
|
323
|
+
'aria-label': (0, _keymaps.tooltip)(_keymaps.backspace, String(content))
|
|
324
324
|
};
|
|
325
325
|
});
|
|
326
326
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "createDeleteColumnItem", function () {
|
|
@@ -248,7 +248,7 @@ export class ContextualMenu extends Component {
|
|
|
248
248
|
label: formatMessage(messages.addColumnRight),
|
|
249
249
|
LEGACY_fallbackIcon: AddColRightIcon
|
|
250
250
|
})) : undefined,
|
|
251
|
-
'aria-label':
|
|
251
|
+
'aria-label': tooltip(addColumnAfter, String(content))
|
|
252
252
|
};
|
|
253
253
|
});
|
|
254
254
|
_defineProperty(this, "createInsertRowItem", () => {
|
|
@@ -279,7 +279,7 @@ export class ContextualMenu extends Component {
|
|
|
279
279
|
label: formatMessage(messages.addRowBelow),
|
|
280
280
|
LEGACY_fallbackIcon: AddRowBelowIcon
|
|
281
281
|
})) : undefined,
|
|
282
|
-
'aria-label':
|
|
282
|
+
'aria-label': tooltip(addRowAfter, String(content))
|
|
283
283
|
};
|
|
284
284
|
});
|
|
285
285
|
_defineProperty(this, "createClearCellsItem", () => {
|
|
@@ -323,7 +323,7 @@ export class ContextualMenu extends Component {
|
|
|
323
323
|
}),
|
|
324
324
|
LEGACY_fallbackIcon: CrossCircleIcon
|
|
325
325
|
})) : undefined,
|
|
326
|
-
'aria-label':
|
|
326
|
+
'aria-label': tooltip(backspace, String(content))
|
|
327
327
|
};
|
|
328
328
|
});
|
|
329
329
|
_defineProperty(this, "createDeleteColumnItem", () => {
|
|
@@ -248,7 +248,7 @@ export var ContextualMenu = /*#__PURE__*/function (_Component) {
|
|
|
248
248
|
label: formatMessage(messages.addColumnRight),
|
|
249
249
|
LEGACY_fallbackIcon: AddColRightIcon
|
|
250
250
|
})) : undefined,
|
|
251
|
-
'aria-label':
|
|
251
|
+
'aria-label': tooltip(addColumnAfter, String(content))
|
|
252
252
|
};
|
|
253
253
|
});
|
|
254
254
|
_defineProperty(_assertThisInitialized(_this), "createInsertRowItem", function () {
|
|
@@ -275,7 +275,7 @@ export var ContextualMenu = /*#__PURE__*/function (_Component) {
|
|
|
275
275
|
label: formatMessage(messages.addRowBelow),
|
|
276
276
|
LEGACY_fallbackIcon: AddRowBelowIcon
|
|
277
277
|
})) : undefined,
|
|
278
|
-
'aria-label':
|
|
278
|
+
'aria-label': tooltip(addRowAfter, String(content))
|
|
279
279
|
};
|
|
280
280
|
});
|
|
281
281
|
_defineProperty(_assertThisInitialized(_this), "createClearCellsItem", function () {
|
|
@@ -313,7 +313,7 @@ export var ContextualMenu = /*#__PURE__*/function (_Component) {
|
|
|
313
313
|
}),
|
|
314
314
|
LEGACY_fallbackIcon: CrossCircleIcon
|
|
315
315
|
})) : undefined,
|
|
316
|
-
'aria-label':
|
|
316
|
+
'aria-label': tooltip(backspace, String(content))
|
|
317
317
|
};
|
|
318
318
|
});
|
|
319
319
|
_defineProperty(_assertThisInitialized(_this), "createDeleteColumnItem", function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "7.28.
|
|
3
|
+
"version": "7.28.11",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/icon": "^22.22.0",
|
|
47
47
|
"@atlaskit/menu": "^2.12.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
49
|
-
"@atlaskit/pragmatic-drag-and-drop": "^1.
|
|
49
|
+
"@atlaskit/pragmatic-drag-and-drop": "^1.4.0",
|
|
50
50
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^1.4.0",
|
|
51
51
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.0",
|
|
52
52
|
"@atlaskit/primitives": "^12.2.0",
|
|
@@ -112,9 +112,6 @@
|
|
|
112
112
|
"platform_editor_a11y_table_context_menu": {
|
|
113
113
|
"type": "boolean"
|
|
114
114
|
},
|
|
115
|
-
"platform_editor_announce_cell_options_hotkeys": {
|
|
116
|
-
"type": "boolean"
|
|
117
|
-
},
|
|
118
115
|
"platform_editor_breakout_use_css": {
|
|
119
116
|
"type": "boolean"
|
|
120
117
|
},
|
|
@@ -417,9 +417,7 @@ export class ContextualMenu extends Component<Props & WrappedComponentProps, Sta
|
|
|
417
417
|
/>
|
|
418
418
|
</Box>
|
|
419
419
|
) : undefined,
|
|
420
|
-
'aria-label':
|
|
421
|
-
? tooltip(addColumnAfter, String(content))
|
|
422
|
-
: undefined,
|
|
420
|
+
'aria-label': tooltip(addColumnAfter, String(content)),
|
|
423
421
|
} as MenuItem;
|
|
424
422
|
};
|
|
425
423
|
|
|
@@ -446,9 +444,7 @@ export class ContextualMenu extends Component<Props & WrappedComponentProps, Sta
|
|
|
446
444
|
/>
|
|
447
445
|
</Box>
|
|
448
446
|
) : undefined,
|
|
449
|
-
'aria-label':
|
|
450
|
-
? tooltip(addRowAfter, String(content))
|
|
451
|
-
: undefined,
|
|
447
|
+
'aria-label': tooltip(addRowAfter, String(content)),
|
|
452
448
|
} as MenuItem;
|
|
453
449
|
};
|
|
454
450
|
|
|
@@ -484,9 +480,7 @@ export class ContextualMenu extends Component<Props & WrappedComponentProps, Sta
|
|
|
484
480
|
/>
|
|
485
481
|
</Box>
|
|
486
482
|
) : undefined,
|
|
487
|
-
'aria-label':
|
|
488
|
-
? tooltip(backspace, String(content))
|
|
489
|
-
: undefined,
|
|
483
|
+
'aria-label': tooltip(backspace, String(content)),
|
|
490
484
|
} as MenuItem;
|
|
491
485
|
};
|
|
492
486
|
|