@atlaskit/editor-plugin-help-dialog 6.0.11 → 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,19 @@
|
|
|
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
|
+
|
|
11
|
+
## 6.0.12
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 6.0.11
|
|
4
18
|
|
|
5
19
|
### 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
|
/**
|
|
@@ -26,7 +25,7 @@ var toolbarFocusStyles = (0, _react.css)({
|
|
|
26
25
|
// Hence we manually force it
|
|
27
26
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
|
|
28
27
|
'button:focus:not(:focus-visible)': {
|
|
29
|
-
outline: "2px solid ".concat("var(--ds-border-focused, #
|
|
28
|
+
outline: "2px solid ".concat("var(--ds-border-focused, #4688EC)"),
|
|
30
29
|
outlineOffset: "var(--ds-space-025, 2px)"
|
|
31
30
|
}
|
|
32
31
|
});
|
|
@@ -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",
|
package/dist/cjs/ui/styles.js
CHANGED
|
@@ -49,7 +49,7 @@ var footer = exports.footer = (0, _react.css)({
|
|
|
49
49
|
var footerNew = exports.footerNew = (0, _react.css)({
|
|
50
50
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
51
51
|
zIndex: _editorSharedStyles.akEditorUnitZIndex,
|
|
52
|
-
color: "var(--ds-text-subtle, #
|
|
52
|
+
color: "var(--ds-text-subtle, #505258)",
|
|
53
53
|
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
54
54
|
padding: "var(--ds-space-300, 24px)",
|
|
55
55
|
textAlign: 'right',
|
|
@@ -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({
|
|
@@ -18,7 +17,7 @@ const toolbarFocusStyles = css({
|
|
|
18
17
|
// Hence we manually force it
|
|
19
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
|
|
20
19
|
'button:focus:not(:focus-visible)': {
|
|
21
|
-
outline: `2px solid ${"var(--ds-border-focused, #
|
|
20
|
+
outline: `2px solid ${"var(--ds-border-focused, #4688EC)"}`,
|
|
22
21
|
outlineOffset: "var(--ds-space-025, 2px)"
|
|
23
22
|
}
|
|
24
23
|
});
|
|
@@ -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",
|
package/dist/es2019/ui/styles.js
CHANGED
|
@@ -39,7 +39,7 @@ export const footer = css({
|
|
|
39
39
|
export const footerNew = css({
|
|
40
40
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
41
41
|
zIndex: akEditorUnitZIndex,
|
|
42
|
-
color: "var(--ds-text-subtle, #
|
|
42
|
+
color: "var(--ds-text-subtle, #505258)",
|
|
43
43
|
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
44
44
|
padding: "var(--ds-space-300, 24px)",
|
|
45
45
|
textAlign: 'right',
|
|
@@ -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({
|
|
@@ -18,7 +17,7 @@ var toolbarFocusStyles = css({
|
|
|
18
17
|
// Hence we manually force it
|
|
19
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
|
|
20
19
|
'button:focus:not(:focus-visible)': {
|
|
21
|
-
outline: "2px solid ".concat("var(--ds-border-focused, #
|
|
20
|
+
outline: "2px solid ".concat("var(--ds-border-focused, #4688EC)"),
|
|
22
21
|
outlineOffset: "var(--ds-space-025, 2px)"
|
|
23
22
|
}
|
|
24
23
|
});
|
|
@@ -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/dist/esm/ui/styles.js
CHANGED
|
@@ -39,7 +39,7 @@ export var footer = css({
|
|
|
39
39
|
export var footerNew = css({
|
|
40
40
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
41
41
|
zIndex: akEditorUnitZIndex,
|
|
42
|
-
color: "var(--ds-text-subtle, #
|
|
42
|
+
color: "var(--ds-text-subtle, #505258)",
|
|
43
43
|
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
44
44
|
padding: "var(--ds-space-300, 24px)",
|
|
45
45
|
textAlign: 'right',
|
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
|
-
"@atlaskit/icon": "^
|
|
38
|
-
"@atlaskit/modal-dialog": "^14.
|
|
37
|
+
"@atlaskit/icon": "^29.0.0",
|
|
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
|
}
|