@atlaskit/editor-plugin-help-dialog 6.0.12 → 6.0.13
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
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-help-dialog
|
|
2
2
|
|
|
3
|
+
## 6.0.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`24092f8832d34`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/24092f8832d34) -
|
|
8
|
+
[EDITOR-3321] Clean up platform_editor_update_modal_close_button
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 6.0.12
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -12,7 +12,6 @@ var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
|
12
12
|
var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
13
13
|
var _cross = _interopRequireDefault(require("@atlaskit/icon/core/migration/cross"));
|
|
14
14
|
var _modalDialog = require("@atlaskit/modal-dialog");
|
|
15
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
15
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
17
16
|
var _styles = require("./styles");
|
|
18
17
|
/**
|
|
@@ -42,7 +41,7 @@ var ModalHeader = (0, _reactIntlNext.injectIntl)(function (_ref) {
|
|
|
42
41
|
}, (0, _react.jsx)(_reactIntlNext.FormattedMessage
|
|
43
42
|
// Ignored via go/ees005
|
|
44
43
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
45
|
-
, _messages.helpDialogMessages.editorHelp)), onClose
|
|
44
|
+
, _messages.helpDialogMessages.editorHelp)), onClose ? (0, _react.jsx)("div", {
|
|
46
45
|
css: toolbarFocusStyles
|
|
47
46
|
}, (0, _react.jsx)(_tooltip.default, {
|
|
48
47
|
content: formatMessage(_messages.helpDialogMessages.closeHelpDialog),
|
|
@@ -50,9 +49,7 @@ var ModalHeader = (0, _reactIntlNext.injectIntl)(function (_ref) {
|
|
|
50
49
|
}, (0, _react.jsx)(_modalDialog.CloseButton, {
|
|
51
50
|
onClick: onClose,
|
|
52
51
|
label: formatMessage(_messages.helpDialogMessages.closeHelpDialog)
|
|
53
|
-
}))) : (0, _react.jsx)("div", null, (0, _react.jsx)(_uiMenu.ToolbarButton
|
|
54
|
-
// @ts-expect-error modal onClose handler requires second parameter of UIAnalyticsEvent, which we don't want to pass
|
|
55
|
-
, {
|
|
52
|
+
}))) : (0, _react.jsx)("div", null, (0, _react.jsx)(_uiMenu.ToolbarButton, {
|
|
56
53
|
onClick: onClose,
|
|
57
54
|
title: formatMessage(_messages.helpDialogMessages.closeHelpDialog),
|
|
58
55
|
spacing: "compact",
|
|
@@ -10,7 +10,6 @@ import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
|
10
10
|
import Heading from '@atlaskit/heading';
|
|
11
11
|
import CrossIcon from '@atlaskit/icon/core/migration/cross';
|
|
12
12
|
import { CloseButton } from '@atlaskit/modal-dialog';
|
|
13
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
13
|
import Tooltip from '@atlaskit/tooltip';
|
|
15
14
|
import { header, toolbarButton } from './styles';
|
|
16
15
|
const toolbarFocusStyles = css({
|
|
@@ -37,7 +36,7 @@ const ModalHeader = injectIntl(({
|
|
|
37
36
|
}, jsx(FormattedMessage
|
|
38
37
|
// Ignored via go/ees005
|
|
39
38
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
40
|
-
, messages.editorHelp)), onClose
|
|
39
|
+
, messages.editorHelp)), onClose ? jsx("div", {
|
|
41
40
|
css: toolbarFocusStyles
|
|
42
41
|
}, jsx(Tooltip, {
|
|
43
42
|
content: formatMessage(messages.closeHelpDialog),
|
|
@@ -45,9 +44,7 @@ const ModalHeader = injectIntl(({
|
|
|
45
44
|
}, jsx(CloseButton, {
|
|
46
45
|
onClick: onClose,
|
|
47
46
|
label: formatMessage(messages.closeHelpDialog)
|
|
48
|
-
}))) : jsx("div", null, jsx(ToolbarButton
|
|
49
|
-
// @ts-expect-error modal onClose handler requires second parameter of UIAnalyticsEvent, which we don't want to pass
|
|
50
|
-
, {
|
|
47
|
+
}))) : jsx("div", null, jsx(ToolbarButton, {
|
|
51
48
|
onClick: onClose,
|
|
52
49
|
title: formatMessage(messages.closeHelpDialog),
|
|
53
50
|
spacing: "compact",
|
|
@@ -10,7 +10,6 @@ import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
|
10
10
|
import Heading from '@atlaskit/heading';
|
|
11
11
|
import CrossIcon from '@atlaskit/icon/core/migration/cross';
|
|
12
12
|
import { CloseButton } from '@atlaskit/modal-dialog';
|
|
13
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
13
|
import Tooltip from '@atlaskit/tooltip';
|
|
15
14
|
import { header, toolbarButton } from './styles';
|
|
16
15
|
var toolbarFocusStyles = css({
|
|
@@ -34,7 +33,7 @@ var ModalHeader = injectIntl(function (_ref) {
|
|
|
34
33
|
}, jsx(FormattedMessage
|
|
35
34
|
// Ignored via go/ees005
|
|
36
35
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
37
|
-
, messages.editorHelp)), onClose
|
|
36
|
+
, messages.editorHelp)), onClose ? jsx("div", {
|
|
38
37
|
css: toolbarFocusStyles
|
|
39
38
|
}, jsx(Tooltip, {
|
|
40
39
|
content: formatMessage(messages.closeHelpDialog),
|
|
@@ -42,9 +41,7 @@ var ModalHeader = injectIntl(function (_ref) {
|
|
|
42
41
|
}, jsx(CloseButton, {
|
|
43
42
|
onClick: onClose,
|
|
44
43
|
label: formatMessage(messages.closeHelpDialog)
|
|
45
|
-
}))) : jsx("div", null, jsx(ToolbarButton
|
|
46
|
-
// @ts-expect-error modal onClose handler requires second parameter of UIAnalyticsEvent, which we don't want to pass
|
|
47
|
-
, {
|
|
44
|
+
}))) : jsx("div", null, jsx(ToolbarButton, {
|
|
48
45
|
onClick: onClose,
|
|
49
46
|
title: formatMessage(messages.closeHelpDialog),
|
|
50
47
|
spacing: "compact",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-help-dialog",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.13",
|
|
4
4
|
"description": "Help Dialog plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,16 +32,16 @@
|
|
|
32
32
|
"@atlaskit/editor-plugin-analytics": "^6.2.0",
|
|
33
33
|
"@atlaskit/editor-plugin-quick-insert": "^6.0.0",
|
|
34
34
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
35
|
-
"@atlaskit/editor-shared-styles": "^3.
|
|
35
|
+
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
36
36
|
"@atlaskit/heading": "^5.2.0",
|
|
37
37
|
"@atlaskit/icon": "^29.0.0",
|
|
38
|
-
"@atlaskit/modal-dialog": "^14.
|
|
38
|
+
"@atlaskit/modal-dialog": "^14.7.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
|
-
"@atlaskit/primitives": "^16.
|
|
40
|
+
"@atlaskit/primitives": "^16.2.0",
|
|
41
41
|
"@atlaskit/theme": "^21.0.0",
|
|
42
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
43
|
-
"@atlaskit/tokens": "^8.
|
|
44
|
-
"@atlaskit/tooltip": "^20.
|
|
42
|
+
"@atlaskit/tmp-editor-statsig": "^13.42.0",
|
|
43
|
+
"@atlaskit/tokens": "^8.2.0",
|
|
44
|
+
"@atlaskit/tooltip": "^20.10.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": "^13.4.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@atlaskit/editor-common": "^110.
|
|
54
|
+
"@atlaskit/editor-common": "^110.34.0",
|
|
55
55
|
"react": "^18.2.0"
|
|
56
56
|
},
|
|
57
57
|
"techstack": {
|
|
@@ -91,9 +91,6 @@
|
|
|
91
91
|
"platform_editor_fix_help_dialog_color_contrast": {
|
|
92
92
|
"type": "boolean"
|
|
93
93
|
},
|
|
94
|
-
"platform_editor_update_modal_close_button": {
|
|
95
|
-
"type": "boolean"
|
|
96
|
-
},
|
|
97
94
|
"platform_editor_fix_help_modal_header": {
|
|
98
95
|
"type": "boolean"
|
|
99
96
|
}
|