@atlaskit/editor-plugin-expand 7.4.16 → 7.4.17
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 +8 -0
- package/dist/cjs/legacyExpand/toolbar.js +2 -2
- package/dist/cjs/singlePlayerExpand/toolbar.js +2 -2
- package/dist/es2019/legacyExpand/toolbar.js +1 -1
- package/dist/es2019/singlePlayerExpand/toolbar.js +1 -1
- package/dist/esm/legacyExpand/toolbar.js +1 -1
- package/dist/esm/singlePlayerExpand/toolbar.js +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-expand
|
|
2
2
|
|
|
3
|
+
## 7.4.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`90abe9b926a6f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/90abe9b926a6f) -
|
|
8
|
+
Icon entrypoint migration
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 7.4.16
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.getToolbarConfig = void 0;
|
|
8
8
|
var _messages = _interopRequireDefault(require("@atlaskit/editor-common/messages"));
|
|
9
|
-
var
|
|
9
|
+
var _delete = _interopRequireDefault(require("@atlaskit/icon/core/delete"));
|
|
10
10
|
var _commands = require("./commands");
|
|
11
11
|
var _pluginFactory = require("./pm-plugins/plugin-factory");
|
|
12
12
|
var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(api) {
|
|
@@ -46,7 +46,7 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(api)
|
|
|
46
46
|
type: 'button',
|
|
47
47
|
appearance: 'danger',
|
|
48
48
|
focusEditoronEnter: true,
|
|
49
|
-
icon:
|
|
49
|
+
icon: _delete.default,
|
|
50
50
|
onClick: (0, _commands.deleteExpand)(editorAnalyticsAPI),
|
|
51
51
|
onMouseEnter: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration([nestedExpand, expand], true),
|
|
52
52
|
onMouseLeave: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration([nestedExpand, expand], false),
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.getToolbarConfig = void 0;
|
|
8
8
|
var _messages = _interopRequireDefault(require("@atlaskit/editor-common/messages"));
|
|
9
9
|
var _utils = require("@atlaskit/editor-prosemirror/utils");
|
|
10
|
-
var
|
|
10
|
+
var _delete = _interopRequireDefault(require("@atlaskit/icon/core/delete"));
|
|
11
11
|
var _commands = require("./commands");
|
|
12
12
|
var _utils2 = require("./utils");
|
|
13
13
|
var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(api) {
|
|
@@ -47,7 +47,7 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(api)
|
|
|
47
47
|
type: 'button',
|
|
48
48
|
appearance: 'danger',
|
|
49
49
|
focusEditoronEnter: true,
|
|
50
|
-
icon:
|
|
50
|
+
icon: _delete.default,
|
|
51
51
|
onClick: (0, _commands.deleteExpand)(editorAnalyticsAPI),
|
|
52
52
|
onMouseEnter: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration([nestedExpand, expand], true),
|
|
53
53
|
onMouseLeave: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration([nestedExpand, expand], false),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import commonMessages from '@atlaskit/editor-common/messages';
|
|
2
|
-
import DeleteIcon from '@atlaskit/icon/core/
|
|
2
|
+
import DeleteIcon from '@atlaskit/icon/core/delete';
|
|
3
3
|
import { deleteExpand } from './commands';
|
|
4
4
|
import { getPluginState } from './pm-plugins/plugin-factory';
|
|
5
5
|
export const getToolbarConfig = api => (state, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import commonMessages from '@atlaskit/editor-common/messages';
|
|
2
2
|
import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
|
|
3
|
-
import DeleteIcon from '@atlaskit/icon/core/
|
|
3
|
+
import DeleteIcon from '@atlaskit/icon/core/delete';
|
|
4
4
|
import { deleteExpand } from './commands';
|
|
5
5
|
import { findParentExpandNode } from './utils';
|
|
6
6
|
export const getToolbarConfig = api => (state, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import commonMessages from '@atlaskit/editor-common/messages';
|
|
2
|
-
import DeleteIcon from '@atlaskit/icon/core/
|
|
2
|
+
import DeleteIcon from '@atlaskit/icon/core/delete';
|
|
3
3
|
import { deleteExpand } from './commands';
|
|
4
4
|
import { getPluginState } from './pm-plugins/plugin-factory';
|
|
5
5
|
export var getToolbarConfig = function getToolbarConfig(api) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import commonMessages from '@atlaskit/editor-common/messages';
|
|
2
2
|
import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
|
|
3
|
-
import DeleteIcon from '@atlaskit/icon/core/
|
|
3
|
+
import DeleteIcon from '@atlaskit/icon/core/delete';
|
|
4
4
|
import { deleteExpand } from './commands';
|
|
5
5
|
import { findParentExpandNode } from './utils';
|
|
6
6
|
export var getToolbarConfig = function getToolbarConfig(api) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-expand",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.17",
|
|
4
4
|
"description": "Expand plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,27 +29,27 @@
|
|
|
29
29
|
],
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@atlaskit/adf-schema": "^51.5.
|
|
32
|
+
"@atlaskit/adf-schema": "^51.5.0",
|
|
33
33
|
"@atlaskit/browser-apis": "^0.0.1",
|
|
34
|
-
"@atlaskit/button": "^23.
|
|
34
|
+
"@atlaskit/button": "^23.7.0",
|
|
35
35
|
"@atlaskit/editor-plugin-analytics": "^6.2.0",
|
|
36
|
-
"@atlaskit/editor-plugin-block-menu": "^5.
|
|
36
|
+
"@atlaskit/editor-plugin-block-menu": "^5.2.0",
|
|
37
37
|
"@atlaskit/editor-plugin-decorations": "^6.1.0",
|
|
38
38
|
"@atlaskit/editor-plugin-editor-disabled": "^6.1.0",
|
|
39
39
|
"@atlaskit/editor-plugin-editor-viewmode": "^8.0.0",
|
|
40
|
-
"@atlaskit/editor-plugin-local-id": "^4.
|
|
40
|
+
"@atlaskit/editor-plugin-local-id": "^4.3.0",
|
|
41
41
|
"@atlaskit/editor-plugin-selection": "^6.1.0",
|
|
42
42
|
"@atlaskit/editor-plugin-selection-marker": "^6.2.0",
|
|
43
|
-
"@atlaskit/editor-prosemirror": "7.
|
|
43
|
+
"@atlaskit/editor-prosemirror": "^7.2.0",
|
|
44
44
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
45
45
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
46
46
|
"@atlaskit/editor-toolbar": "^0.18.0",
|
|
47
|
-
"@atlaskit/icon": "^29.
|
|
47
|
+
"@atlaskit/icon": "^29.1.0",
|
|
48
48
|
"@atlaskit/icon-lab": "^5.12.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
50
50
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
51
|
-
"@atlaskit/tmp-editor-statsig": "^15.
|
|
52
|
-
"@atlaskit/tokens": "^8.
|
|
51
|
+
"@atlaskit/tmp-editor-statsig": "^15.12.0",
|
|
52
|
+
"@atlaskit/tokens": "^8.5.0",
|
|
53
53
|
"@atlaskit/tooltip": "^20.11.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
55
55
|
"@emotion/react": "^11.7.1",
|
|
@@ -57,13 +57,13 @@
|
|
|
57
57
|
"w3c-keyname": "^2.1.8"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
|
-
"@atlaskit/editor-common": "^110.
|
|
60
|
+
"@atlaskit/editor-common": "^110.44.0",
|
|
61
61
|
"react": "^18.2.0",
|
|
62
62
|
"react-dom": "^18.2.0",
|
|
63
63
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@testing-library/react": "^
|
|
66
|
+
"@testing-library/react": "^16.3.0",
|
|
67
67
|
"react-test-renderer": "^18.2.0"
|
|
68
68
|
},
|
|
69
69
|
"techstack": {
|