@atlaskit/editor-plugin-help-dialog 6.0.3 → 6.0.4
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.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`663926469ec70`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/663926469ec70) -
|
|
8
|
+
Switch to use fg() to check feature gate platform_editor_update_modal_close_button
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 6.0.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -12,7 +12,7 @@ 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
|
|
15
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
16
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
17
17
|
var _styles = require("./styles");
|
|
18
18
|
/**
|
|
@@ -42,7 +42,7 @@ var ModalHeader = (0, _reactIntlNext.injectIntl)(function (_ref) {
|
|
|
42
42
|
}, (0, _react.jsx)(_reactIntlNext.FormattedMessage
|
|
43
43
|
// Ignored via go/ees005
|
|
44
44
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
45
|
-
, _messages.helpDialogMessages.editorHelp)), onClose && (0,
|
|
45
|
+
, _messages.helpDialogMessages.editorHelp)), onClose && (0, _platformFeatureFlags.fg)('platform_editor_update_modal_close_button') ? (0, _react.jsx)("div", {
|
|
46
46
|
css: toolbarFocusStyles
|
|
47
47
|
}, (0, _react.jsx)(_tooltip.default, {
|
|
48
48
|
content: formatMessage(_messages.helpDialogMessages.closeHelpDialog),
|
|
@@ -10,7 +10,7 @@ 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 {
|
|
13
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
14
|
import Tooltip from '@atlaskit/tooltip';
|
|
15
15
|
import { header, toolbarButton } from './styles';
|
|
16
16
|
const toolbarFocusStyles = css({
|
|
@@ -37,7 +37,7 @@ const ModalHeader = injectIntl(({
|
|
|
37
37
|
}, jsx(FormattedMessage
|
|
38
38
|
// Ignored via go/ees005
|
|
39
39
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
40
|
-
, messages.editorHelp)), onClose &&
|
|
40
|
+
, messages.editorHelp)), onClose && fg('platform_editor_update_modal_close_button') ? jsx("div", {
|
|
41
41
|
css: toolbarFocusStyles
|
|
42
42
|
}, jsx(Tooltip, {
|
|
43
43
|
content: formatMessage(messages.closeHelpDialog),
|
|
@@ -10,7 +10,7 @@ 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 {
|
|
13
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
14
|
import Tooltip from '@atlaskit/tooltip';
|
|
15
15
|
import { header, toolbarButton } from './styles';
|
|
16
16
|
var toolbarFocusStyles = css({
|
|
@@ -34,7 +34,7 @@ var ModalHeader = injectIntl(function (_ref) {
|
|
|
34
34
|
}, jsx(FormattedMessage
|
|
35
35
|
// Ignored via go/ees005
|
|
36
36
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
37
|
-
, messages.editorHelp)), onClose &&
|
|
37
|
+
, messages.editorHelp)), onClose && fg('platform_editor_update_modal_close_button') ? jsx("div", {
|
|
38
38
|
css: toolbarFocusStyles
|
|
39
39
|
}, jsx(Tooltip, {
|
|
40
40
|
content: formatMessage(messages.closeHelpDialog),
|
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.4",
|
|
4
4
|
"description": "Help Dialog plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
35
35
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
36
36
|
"@atlaskit/heading": "^5.2.0",
|
|
37
|
-
"@atlaskit/icon": "^28.
|
|
37
|
+
"@atlaskit/icon": "^28.5.0",
|
|
38
38
|
"@atlaskit/modal-dialog": "^14.4.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
40
|
"@atlaskit/primitives": "^14.15.0",
|
|
41
41
|
"@atlaskit/theme": "^21.0.0",
|
|
42
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
42
|
+
"@atlaskit/tmp-editor-statsig": "^13.5.0",
|
|
43
43
|
"@atlaskit/tokens": "^6.4.0",
|
|
44
44
|
"@atlaskit/tooltip": "^20.5.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
@@ -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.7.0",
|
|
55
55
|
"react": "^18.2.0"
|
|
56
56
|
},
|
|
57
57
|
"techstack": {
|
|
@@ -93,6 +93,9 @@
|
|
|
93
93
|
},
|
|
94
94
|
"platform_editor_fix_help_dialog_color_contrast": {
|
|
95
95
|
"type": "boolean"
|
|
96
|
+
},
|
|
97
|
+
"platform_editor_update_modal_close_button": {
|
|
98
|
+
"type": "boolean"
|
|
96
99
|
}
|
|
97
100
|
}
|
|
98
101
|
}
|