@atlaskit/editor-plugin-table 9.5.7 → 9.5.8
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 +10 -0
- package/dist/cjs/ui/toolbar.js +1 -0
- package/dist/es2019/ui/toolbar.js +1 -0
- package/dist/esm/ui/toolbar.js +1 -0
- package/package.json +6 -6
- package/src/ui/toolbar.tsx +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 9.5.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#115259](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/115259)
|
|
8
|
+
[`a3150808f308a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a3150808f308a) -
|
|
9
|
+
Add new forceStaticToolbar config option to floating toolbar and add it to panel and table. Add
|
|
10
|
+
new contextual toolbar plugin which controls expand and collapse logic for toolbar options.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 9.5.7
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/cjs/ui/toolbar.js
CHANGED
|
@@ -434,6 +434,7 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(getE
|
|
|
434
434
|
},
|
|
435
435
|
zIndex: _editorSharedStyles.akEditorFloatingPanelZIndex + 1,
|
|
436
436
|
// Place the context menu slightly above the others
|
|
437
|
+
forceStaticToolbar: true,
|
|
437
438
|
items: [menu, separator(menu.hidden)].concat((0, _toConsumableArray2.default)(alignmentMenu), [separator(alignmentMenu.length === 0)], (0, _toConsumableArray2.default)(cellItems), (0, _toConsumableArray2.default)(columnSettingsItems), colorPicker, [{
|
|
438
439
|
type: 'extensions-placeholder',
|
|
439
440
|
separator: 'end'
|
|
@@ -406,6 +406,7 @@ export const getToolbarConfig = (getEditorContainerWidth, api, editorAnalyticsAP
|
|
|
406
406
|
},
|
|
407
407
|
zIndex: akEditorFloatingPanelZIndex + 1,
|
|
408
408
|
// Place the context menu slightly above the others
|
|
409
|
+
forceStaticToolbar: true,
|
|
409
410
|
items: [menu, separator(menu.hidden), ...alignmentMenu, separator(alignmentMenu.length === 0), ...cellItems, ...columnSettingsItems, ...colorPicker, {
|
|
410
411
|
type: 'extensions-placeholder',
|
|
411
412
|
separator: 'end'
|
package/dist/esm/ui/toolbar.js
CHANGED
|
@@ -426,6 +426,7 @@ export var getToolbarConfig = function getToolbarConfig(getEditorContainerWidth,
|
|
|
426
426
|
},
|
|
427
427
|
zIndex: akEditorFloatingPanelZIndex + 1,
|
|
428
428
|
// Place the context menu slightly above the others
|
|
429
|
+
forceStaticToolbar: true,
|
|
429
430
|
items: [menu, separator(menu.hidden)].concat(_toConsumableArray(alignmentMenu), [separator(alignmentMenu.length === 0)], _toConsumableArray(cellItems), _toConsumableArray(columnSettingsItems), colorPicker, [{
|
|
430
431
|
type: 'extensions-placeholder',
|
|
431
432
|
separator: 'end'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "9.5.
|
|
3
|
+
"version": "9.5.8",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@atlaskit/adf-schema": "^47.2.1",
|
|
31
31
|
"@atlaskit/button": "^20.5.0",
|
|
32
32
|
"@atlaskit/custom-steps": "^0.10.0",
|
|
33
|
-
"@atlaskit/editor-common": "^99.
|
|
33
|
+
"@atlaskit/editor-common": "^99.18.0",
|
|
34
34
|
"@atlaskit/editor-palette": "1.7.0",
|
|
35
35
|
"@atlaskit/editor-plugin-accessibility-utils": "^1.4.0",
|
|
36
36
|
"@atlaskit/editor-plugin-analytics": "^1.12.0",
|
|
@@ -43,18 +43,18 @@
|
|
|
43
43
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
44
44
|
"@atlaskit/editor-shared-styles": "^3.3.0",
|
|
45
45
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
46
|
-
"@atlaskit/icon": "^23.
|
|
46
|
+
"@atlaskit/icon": "^23.10.0",
|
|
47
47
|
"@atlaskit/menu": "^2.14.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
49
49
|
"@atlaskit/pragmatic-drag-and-drop": "^1.5.0",
|
|
50
50
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
|
|
51
51
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.0",
|
|
52
|
-
"@atlaskit/primitives": "^13.
|
|
52
|
+
"@atlaskit/primitives": "^13.6.0",
|
|
53
53
|
"@atlaskit/theme": "^16.0.0",
|
|
54
54
|
"@atlaskit/tmp-editor-statsig": "^2.47.0",
|
|
55
|
-
"@atlaskit/toggle": "^14.
|
|
55
|
+
"@atlaskit/toggle": "^14.2.0",
|
|
56
56
|
"@atlaskit/tokens": "^3.3.0",
|
|
57
|
-
"@atlaskit/tooltip": "^19.
|
|
57
|
+
"@atlaskit/tooltip": "^19.2.0",
|
|
58
58
|
"@babel/runtime": "^7.0.0",
|
|
59
59
|
"@emotion/react": "^11.7.1",
|
|
60
60
|
"classnames": "^2.2.5",
|
package/src/ui/toolbar.tsx
CHANGED
|
@@ -602,6 +602,7 @@ export const getToolbarConfig =
|
|
|
602
602
|
offset: [0, 18],
|
|
603
603
|
absoluteOffset: { top: -6 },
|
|
604
604
|
zIndex: akEditorFloatingPanelZIndex + 1, // Place the context menu slightly above the others
|
|
605
|
+
forceStaticToolbar: true,
|
|
605
606
|
items: [
|
|
606
607
|
menu,
|
|
607
608
|
separator(menu.hidden),
|