@atlaskit/editor-plugin-help-dialog 3.0.3 → 3.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 +17 -0
- package/dist/cjs/ui/ModalHeader.js +2 -2
- package/dist/cjs/ui/formatting.js +2 -0
- package/dist/cjs/ui/utils.js +2 -0
- package/dist/es2019/ui/ModalHeader.js +2 -2
- package/dist/es2019/ui/formatting.js +1 -0
- package/dist/es2019/ui/utils.js +1 -0
- package/dist/esm/ui/ModalHeader.js +2 -2
- package/dist/esm/ui/formatting.js +1 -0
- package/dist/esm/ui/utils.js +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-help-dialog
|
|
2
2
|
|
|
3
|
+
## 3.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#188952](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/188952)
|
|
8
|
+
[`1a88e6e2601ae`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1a88e6e2601ae) -
|
|
9
|
+
Migrated usage of renamed/deprecated icons
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 3.1.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#189314](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/189314)
|
|
17
|
+
[`22c6251496010`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/22c6251496010) -
|
|
18
|
+
Exported missing types that were already being inferred from existing exports
|
|
19
|
+
|
|
3
20
|
## 3.0.3
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -10,7 +10,7 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
10
10
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
11
11
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
12
12
|
var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
13
|
-
var
|
|
13
|
+
var _cross = _interopRequireDefault(require("@atlaskit/icon/core/migration/cross"));
|
|
14
14
|
var _styles = require("./styles");
|
|
15
15
|
/**
|
|
16
16
|
* @jsxRuntime classic
|
|
@@ -36,7 +36,7 @@ var ModalHeader = (0, _reactIntlNext.injectIntl)(function (_ref) {
|
|
|
36
36
|
onClick: onClose,
|
|
37
37
|
title: formatMessage(_messages.helpDialogMessages.closeHelpDialog),
|
|
38
38
|
spacing: "compact",
|
|
39
|
-
iconBefore: (0, _react.jsx)(
|
|
39
|
+
iconBefore: (0, _react.jsx)(_cross.default, {
|
|
40
40
|
label: formatMessage(_messages.helpDialogMessages.closeHelpDialog),
|
|
41
41
|
color: "currentColor",
|
|
42
42
|
spacing: "spacious"
|
|
@@ -21,6 +21,8 @@ var _styles = require("./styles");
|
|
|
21
21
|
*/
|
|
22
22
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
23
23
|
|
|
24
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
25
|
+
|
|
24
26
|
var codeSm = (0, _primitives.xcss)({
|
|
25
27
|
backgroundColor: 'color.background.neutral',
|
|
26
28
|
borderRadius: 'border.radius',
|
package/dist/cjs/ui/utils.js
CHANGED
|
@@ -14,6 +14,8 @@ var _styles = require("./styles");
|
|
|
14
14
|
*/
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
16
|
|
|
17
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
18
|
+
|
|
17
19
|
var codeLg = (0, _primitives.xcss)({
|
|
18
20
|
borderRadius: 'border.radius',
|
|
19
21
|
display: 'inline-block',
|
|
@@ -8,7 +8,7 @@ import { FormattedMessage, injectIntl } from 'react-intl-next';
|
|
|
8
8
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
9
9
|
import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
10
10
|
import Heading from '@atlaskit/heading';
|
|
11
|
-
import
|
|
11
|
+
import CrossIcon from '@atlaskit/icon/core/migration/cross';
|
|
12
12
|
import { header, toolbarButton } from './styles';
|
|
13
13
|
const ModalHeader = injectIntl(({
|
|
14
14
|
intl: {
|
|
@@ -31,7 +31,7 @@ const ModalHeader = injectIntl(({
|
|
|
31
31
|
onClick: onClose,
|
|
32
32
|
title: formatMessage(messages.closeHelpDialog),
|
|
33
33
|
spacing: "compact",
|
|
34
|
-
iconBefore: jsx(
|
|
34
|
+
iconBefore: jsx(CrossIcon, {
|
|
35
35
|
label: formatMessage(messages.closeHelpDialog),
|
|
36
36
|
color: "currentColor",
|
|
37
37
|
spacing: "spacious"
|
|
@@ -9,6 +9,7 @@ import { browser } from '@atlaskit/editor-common/browser';
|
|
|
9
9
|
import { addInlineComment, addLink, alignCenter, alignLeft, alignRight, askAIQuickInsert, clearFormatting, decreaseMediaSize, focusTableResizer, focusToContextMenuTrigger, increaseMediaSize, insertRule, navToEditorToolbar, navToFloatingToolbar, pastePlainText, redo, redoAlt, setNormalText, toggleBlockQuote, toggleBold, toggleBulletList, toggleCode, toggleHeading1, toggleHeading2, toggleHeading3, toggleHeading4, toggleHeading5, toggleHeading6, toggleHighlightPalette, toggleItalic, toggleOrderedList, toggleStrikethrough, toggleSubscript, toggleSuperscript, toggleTaskItemCheckbox, toggleUnderline, undo } from '@atlaskit/editor-common/keymaps';
|
|
10
10
|
import { alignmentMessages, annotationMessages, blockTypeMessages, listMessages, helpDialogMessages as messages, toolbarInsertBlockMessages, toolbarMessages, undoRedoMessages } from '@atlaskit/editor-common/messages';
|
|
11
11
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
12
13
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
13
14
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
14
15
|
import { shortcutsArray } from './styles';
|
package/dist/es2019/ui/utils.js
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
7
|
import { browser } from '@atlaskit/editor-common/browser';
|
|
8
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
8
9
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
9
10
|
import { componentFromKeymapWrapperStyles } from './styles';
|
|
10
11
|
const codeLg = xcss({
|
|
@@ -8,7 +8,7 @@ import { FormattedMessage, injectIntl } from 'react-intl-next';
|
|
|
8
8
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
9
9
|
import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
10
10
|
import Heading from '@atlaskit/heading';
|
|
11
|
-
import
|
|
11
|
+
import CrossIcon from '@atlaskit/icon/core/migration/cross';
|
|
12
12
|
import { header, toolbarButton } from './styles';
|
|
13
13
|
var ModalHeader = injectIntl(function (_ref) {
|
|
14
14
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -28,7 +28,7 @@ var ModalHeader = injectIntl(function (_ref) {
|
|
|
28
28
|
onClick: onClose,
|
|
29
29
|
title: formatMessage(messages.closeHelpDialog),
|
|
30
30
|
spacing: "compact",
|
|
31
|
-
iconBefore: jsx(
|
|
31
|
+
iconBefore: jsx(CrossIcon, {
|
|
32
32
|
label: formatMessage(messages.closeHelpDialog),
|
|
33
33
|
color: "currentColor",
|
|
34
34
|
spacing: "spacious"
|
|
@@ -10,6 +10,7 @@ import { browser } from '@atlaskit/editor-common/browser';
|
|
|
10
10
|
import { addInlineComment, addLink, alignCenter, alignLeft, alignRight, askAIQuickInsert, clearFormatting, decreaseMediaSize, focusTableResizer, focusToContextMenuTrigger, increaseMediaSize, insertRule, navToEditorToolbar, navToFloatingToolbar, pastePlainText, redo, redoAlt, setNormalText, toggleBlockQuote, toggleBold, toggleBulletList, toggleCode, toggleHeading1, toggleHeading2, toggleHeading3, toggleHeading4, toggleHeading5, toggleHeading6, toggleHighlightPalette, toggleItalic, toggleOrderedList, toggleStrikethrough, toggleSubscript, toggleSuperscript, toggleTaskItemCheckbox, toggleUnderline, undo } from '@atlaskit/editor-common/keymaps';
|
|
11
11
|
import { alignmentMessages, annotationMessages, blockTypeMessages, listMessages, helpDialogMessages as messages, toolbarInsertBlockMessages, toolbarMessages, undoRedoMessages } from '@atlaskit/editor-common/messages';
|
|
12
12
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
13
14
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
14
15
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
15
16
|
import { shortcutsArray } from './styles';
|
package/dist/esm/ui/utils.js
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
7
|
import { browser } from '@atlaskit/editor-common/browser';
|
|
8
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
8
9
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
9
10
|
import { componentFromKeymapWrapperStyles } from './styles';
|
|
10
11
|
var codeLg = xcss({
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { HelpDialogPlugin, HelpDialogSharedState, HelpDialogPluginOptions, } from './helpDialogPluginType';
|
|
1
|
+
export type { HelpDialogPlugin, HelpDialogSharedState, HelpDialogPluginOptions, HelpDialogDependencies, } from './helpDialogPluginType';
|
|
2
2
|
export { helpDialogPlugin } from './helpDialogPlugin';
|
|
3
3
|
export {
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { HelpDialogPlugin, HelpDialogSharedState, HelpDialogPluginOptions, } from './helpDialogPluginType';
|
|
1
|
+
export type { HelpDialogPlugin, HelpDialogSharedState, HelpDialogPluginOptions, HelpDialogDependencies, } from './helpDialogPluginType';
|
|
2
2
|
export { helpDialogPlugin } from './helpDialogPlugin';
|
|
3
3
|
export {
|
|
4
4
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-help-dialog",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "Help Dialog plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"@atlaskit/editor-plugin-analytics": "^3.0.0",
|
|
36
36
|
"@atlaskit/editor-plugin-quick-insert": "^3.0.0",
|
|
37
37
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
38
|
-
"@atlaskit/editor-shared-styles": "^3.
|
|
38
|
+
"@atlaskit/editor-shared-styles": "^3.5.0",
|
|
39
39
|
"@atlaskit/heading": "^5.2.0",
|
|
40
|
-
"@atlaskit/icon": "^27.
|
|
41
|
-
"@atlaskit/modal-dialog": "^14.
|
|
40
|
+
"@atlaskit/icon": "^27.5.0",
|
|
41
|
+
"@atlaskit/modal-dialog": "^14.3.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
43
43
|
"@atlaskit/primitives": "^14.10.0",
|
|
44
44
|
"@atlaskit/theme": "^19.0.0",
|
|
45
|
-
"@atlaskit/tmp-editor-statsig": "^9.
|
|
46
|
-
"@atlaskit/tokens": "^5.
|
|
45
|
+
"@atlaskit/tmp-editor-statsig": "^9.9.0",
|
|
46
|
+
"@atlaskit/tokens": "^5.6.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"@emotion/react": "^11.7.1",
|
|
49
49
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@testing-library/react": "^13.4.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@atlaskit/editor-common": "^107.
|
|
56
|
+
"@atlaskit/editor-common": "^107.9.0",
|
|
57
57
|
"react": "^18.2.0"
|
|
58
58
|
},
|
|
59
59
|
"techstack": {
|