@atlaskit/editor-plugin-help-dialog 7.0.1 → 7.1.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 +18 -0
- package/dist/cjs/ui/index.js +1 -2
- package/dist/es2019/ui/index.js +1 -2
- package/dist/esm/ui/index.js +1 -2
- package/package.json +9 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-help-dialog
|
|
2
2
|
|
|
3
|
+
## 7.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 7.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`15350cca3c907`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/15350cca3c907) -
|
|
14
|
+
[https://hello.jira.atlassian.cloud/browse/EDITOR-4334](EDITOR-4334) - clean up
|
|
15
|
+
platform_editor_fix_help_modal_header
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 7.0.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/cjs/ui/index.js
CHANGED
|
@@ -12,7 +12,6 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
12
12
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
13
13
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
14
14
|
var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
|
|
15
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
15
|
var _commands = require("../pm-plugins/commands");
|
|
17
16
|
var _formatting = require("./formatting");
|
|
18
17
|
var _Modal = _interopRequireDefault(require("./Modal"));
|
|
@@ -62,7 +61,7 @@ var HelpDialog = function HelpDialog(_ref) {
|
|
|
62
61
|
};
|
|
63
62
|
}, [handleEsc]);
|
|
64
63
|
var formatting = (0, _formatting.getSupportedFormatting)(editorView.state.schema, intl, imageEnabled, quickInsertEnabled, aiEnabled);
|
|
65
|
-
var label =
|
|
64
|
+
var label = intl.formatMessage(_messages.helpDialogMessages.editorHelp);
|
|
66
65
|
return (0, _react2.jsx)(_modalDialog.ModalTransition, null, isVisible ? (0, _react2.jsx)(_modalDialog.default, {
|
|
67
66
|
label: label,
|
|
68
67
|
width: "large",
|
package/dist/es2019/ui/index.js
CHANGED
|
@@ -10,7 +10,6 @@ import { injectIntl } from 'react-intl-next';
|
|
|
10
10
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
11
11
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
12
12
|
import AkModalDialog, { ModalTransition } from '@atlaskit/modal-dialog';
|
|
13
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
13
|
import { closeHelpCommand } from '../pm-plugins/commands';
|
|
15
14
|
import { getSupportedFormatting } from './formatting';
|
|
16
15
|
import Modal from './Modal';
|
|
@@ -58,7 +57,7 @@ const HelpDialog = ({
|
|
|
58
57
|
};
|
|
59
58
|
}, [handleEsc]);
|
|
60
59
|
const formatting = getSupportedFormatting(editorView.state.schema, intl, imageEnabled, quickInsertEnabled, aiEnabled);
|
|
61
|
-
const label =
|
|
60
|
+
const label = intl.formatMessage(messages.editorHelp);
|
|
62
61
|
return jsx(ModalTransition, null, isVisible ? jsx(AkModalDialog, {
|
|
63
62
|
label: label,
|
|
64
63
|
width: "large",
|
package/dist/esm/ui/index.js
CHANGED
|
@@ -10,7 +10,6 @@ import { injectIntl } from 'react-intl-next';
|
|
|
10
10
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
11
11
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
12
12
|
import AkModalDialog, { ModalTransition } from '@atlaskit/modal-dialog';
|
|
13
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
13
|
import { closeHelpCommand } from '../pm-plugins/commands';
|
|
15
14
|
import { getSupportedFormatting } from './formatting';
|
|
16
15
|
import Modal from './Modal';
|
|
@@ -52,7 +51,7 @@ var HelpDialog = function HelpDialog(_ref) {
|
|
|
52
51
|
};
|
|
53
52
|
}, [handleEsc]);
|
|
54
53
|
var formatting = getSupportedFormatting(editorView.state.schema, intl, imageEnabled, quickInsertEnabled, aiEnabled);
|
|
55
|
-
var label =
|
|
54
|
+
var label = intl.formatMessage(messages.editorHelp);
|
|
56
55
|
return jsx(ModalTransition, null, isVisible ? jsx(AkModalDialog, {
|
|
57
56
|
label: label,
|
|
58
57
|
width: "large",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-help-dialog",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"description": "Help Dialog plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,18 +30,18 @@
|
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/editor-plugin-analytics": "^7.0.0",
|
|
33
|
-
"@atlaskit/editor-plugin-quick-insert": "^7.
|
|
33
|
+
"@atlaskit/editor-plugin-quick-insert": "^7.1.0",
|
|
34
34
|
"@atlaskit/editor-prosemirror": "^7.2.0",
|
|
35
35
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
36
36
|
"@atlaskit/heading": "^5.2.0",
|
|
37
|
-
"@atlaskit/icon": "^29.
|
|
38
|
-
"@atlaskit/modal-dialog": "^14.
|
|
37
|
+
"@atlaskit/icon": "^29.4.0",
|
|
38
|
+
"@atlaskit/modal-dialog": "^14.10.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
|
-
"@atlaskit/primitives": "^17.
|
|
40
|
+
"@atlaskit/primitives": "^17.1.0",
|
|
41
41
|
"@atlaskit/theme": "^21.0.0",
|
|
42
|
-
"@atlaskit/tmp-editor-statsig": "^16.
|
|
43
|
-
"@atlaskit/tokens": "^
|
|
44
|
-
"@atlaskit/tooltip": "^20.
|
|
42
|
+
"@atlaskit/tmp-editor-statsig": "^16.23.0",
|
|
43
|
+
"@atlaskit/tokens": "^10.0.0",
|
|
44
|
+
"@atlaskit/tooltip": "^20.14.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"@emotion/react": "^11.7.1",
|
|
47
47
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@testing-library/react": "^16.3.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@atlaskit/editor-common": "^111.
|
|
54
|
+
"@atlaskit/editor-common": "^111.8.0",
|
|
55
55
|
"react": "^18.2.0"
|
|
56
56
|
},
|
|
57
57
|
"techstack": {
|
|
@@ -90,9 +90,6 @@
|
|
|
90
90
|
"platform-feature-flags": {
|
|
91
91
|
"platform_editor_fix_help_dialog_color_contrast": {
|
|
92
92
|
"type": "boolean"
|
|
93
|
-
},
|
|
94
|
-
"platform_editor_fix_help_modal_header": {
|
|
95
|
-
"type": "boolean"
|
|
96
93
|
}
|
|
97
94
|
}
|
|
98
95
|
}
|